1 2012-09-28 Roland McGrath <roland@hack.frob.com>
3 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4 (elfobjdir): Move out of conditionals.
6 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8 (__nss_lookup_function): Conditionalize label remove_from_tree on
9 [!DO_STATIC_NSS || SHARED], matching its only use.
11 2012-09-28 David S. Miller <davem@davemloft.net>
13 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20 when HWCAP_SPARC_CRYPTO is present.
22 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29 * stdio-common/vfprintf.c (process_string_arg): Revert
32 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
34 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36 * stdio-common/tst-sprintf.c: Include <locale.h>
37 (main): Test sprintf's handling of incomplete multibyte
40 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
42 * elf/dl-runtime.c (VERSYMIDX): Removed.
43 * elf/dl-version.c (VERSYMIDX): Likewise.
44 * elf/do-rel.h (VERSYMIDX): Likewise.
46 * elf/dynamic-link.h (VERSYMIDX): Likewise.
47 * elf/rtld.c (VALIDX): Likewise.
49 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
50 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
51 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
52 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
56 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
58 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
63 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
65 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66 addresses are in the same scope as 192.0.2/24.
67 * posix/gai.conf: Document new scope table defaults.
69 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
73 for ftell. Compute offsets from write pointers instead.
74 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
79 * libio/Makefile (tests): New test case tst-fseek.
80 * libio/tst-fseek.c: New test case to verify that fseek/ftell
81 combination works in wide mode.
82 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
83 state when the external buffer state changes.
85 2012-09-27 David S. Miller <davem@davemloft.net>
88 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
89 pass reloc->r_addend in as the 'high' argument to
90 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
92 * sysdeps/sparc/fpu/libm-test-ulps: Update.
94 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
96 * rt/tst-aio2.c: Include <pthread.h>.
97 * rt/tst-aio3.c: Likewise.
99 2012-09-27 Steve Ellcey <sellcey@mips.com>
101 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
103 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
105 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
106 contents on [SHARED].
108 2012-09-26 Marek Polacek <polacek@redhat.com>
112 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
113 for C++ and GCC <4.3 as well as for non GCC compilers.
115 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
119 2012-09-25 Roland McGrath <roland@hack.frob.com>
121 * Makefile.in (all, install): Declare with .PHONY.
122 Reported by Michael Hope <michael.hope@linaro.org>.
124 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
126 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
127 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
129 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
131 (sydep_routines): Add the new and the internal functions.
132 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
133 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
135 (GLIBC_2.17): Add the new function.
136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
137 (GLIBC_2.17): Likewise.
138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
139 (GLIBC_2.17): Likewise.
140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
141 (GLIBC_2.17): Likewise.
142 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
144 2012-09-25 Alan Modra <amodra@gmail.com>
146 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
147 Add release barrier before setting once_control to say
148 initialisation is done. Add hints on lwarx. Use macro in
150 (clear_once_control): Add release barrier.
152 2012-09-25 Joseph Myers <joseph@codesourcery.com>
155 * math/s_clog.c (__clog): Handle more values close to |z| = 1
157 * math/s_clog10.c (__clog10): Likewise.
158 * math/s_clog10f.c (__clog10f): Likewise.
159 * math/s_clog10l.c (__clog10l): Likewise.
160 * math/s_clogf.c (__clogf): Likewise.
161 * math/s_clogl.c (__clogl): Likewise.
162 * math/Makefile (libm-calls): Add x2y2m1.
163 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
164 (__x2y2m1): Likewise.
165 (__x2y2m1l): Likewise.
166 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
167 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
168 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
169 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
170 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
171 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
172 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
173 * sysdeps/i386/fpu/libm-test-ulps: Update.
174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
177 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
178 int as type of variable DEPTH.
179 (glob): Use size_t instead of int as type of variables NEWCOUNT
182 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
184 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
186 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
187 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
188 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
189 macros for using routine as __sincosf_ia32.
190 Use macro for function declaration and weak_alias.
191 * sysdeps/i386/fpu/libm-test-ulps: Update.
193 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
196 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
198 * math/s_cexpf.c (__cexpf): Likewise.
199 * math/s_csinf.c (__csinf): Likewise.
200 * math/s_csinhf.c (__csinhf): Likewise.
201 * math/s_ctanf.c (__ctanf): Likewise.
202 * math/s_ctanhf.c (__ctanhf): Likewise.
203 * math/s_ccosh.c (__ccoshf): Likewise.
204 * math/s_cexp.c (__cexpl): Likewise.
205 * math/s_csin.c (__csin): Likewise.
206 * math/s_csinh.c (__csinh): Likewise.
207 * math/s_ctan.c (__ctan): Likewise.
208 * math/s_ctanh.c (ctanh): Likewise.
209 * math/s_ccoshl.c (__ccoshl): Likewise.
210 * math/s_cexpl.c (__cexpl): Likewise.
211 * math/s_csinl.c (__csinl): Likewise.
212 * math/s_csinhl.c (__csinhl): Likewise.
213 * math/s_ctanl.c (__ctanl): Likewise.
214 * math/s_ctanhl.c (__ctanhl): Likewise.
216 2012-09-25 Joseph Myers <joseph@codesourcery.com>
218 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
219 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
220 (_IO_off_t): Define to __off_t, not _G_off_t.
221 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
222 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
223 (_IO_wint_t): Define to wint_t, not _G_wint_t.
224 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
225 type of __dummy and __dummy2 fields.
226 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
227 (_G_ssize_t): Likewise.
228 (_G_off_t): Likewise.
229 (_G_pid_t): Likewise.
230 (_G_uid_t): Likewise.
231 (_G_wchar_t): Likewise.
232 (_G_wint_t): Likewise.
233 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
234 (_G_ssize_t): Likewise.
235 (_G_off_t): Likewise.
236 (_G_pid_t): Likewise.
237 (_G_uid_t): Likewise.
238 (_G_wchar_t): Likewise.
239 (_G_wint_t): Likewise.
240 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
241 (_G_ssize_t): Likewise.
242 (_G_off_t): Likewise.
243 (_G_pid_t): Likewise.
244 (_G_uid_t): Likewise.
245 (_G_wchar_t): Likewise.
246 (_G_wint_t): Likewise.
248 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
250 * malloc/arena.c: Include malloc-sysdep.h.
251 (shrink_heap): Use check_may_shrink_heap to decide if madvise
252 is sufficient to shrink the heap or an unmap is needed.
253 * sysdeps/generic/malloc-sysdep.h: New file. Define
254 new function check_may_shrink_heap.
255 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
256 new function check_may_shrink_heap.
258 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
260 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
263 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
265 * catgets/test-gencat.sh: Add "set -e".
266 * elf/tst-pathopt.sh: Likewise.
267 * grp/tst_fgetgrent.sh: Likewise.
268 * iconvdata/run-iconv-test.sh: Likewise.
269 * intl/tst-gettext.sh: Likewise.
270 * intl/tst-gettext2.sh: Likewise.
271 * intl/tst-gettext4.sh: Likewise.
272 * intl/tst-gettext6.sh: Likewise.
273 * intl/tst-translit.sh: Likewise.
274 * io/ftwtest-sh: Likewise.
275 * libio/test-freopen.sh: Likewise.
276 * malloc/tst-mtrace.sh: Likewise.
277 * posix/globtest.sh: Likewise.
278 * posix/tst-getconf.sh: Likewise.
279 * posix/wordexp-tst.sh: Likewise.
280 * stdio-common/tst-printf.sh: Likewise.
281 * stdio-common/tst-unbputc.sh: Likewise.
282 * stdlib/tst-fmtmsg.sh: Likewise.
283 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
284 * catgets/Makefile: Do not specify -e option when running
285 testsuite shell scripts.
286 * elf/Makefile: Likewise.
287 * grp/Makefile: Likewise.
288 * iconvdata/Makefile: Likewise.
289 * intl/Makefile: Likewise.
290 * io/Makefile: Likewise.
291 * libio/Makefile: Likewise.
292 * malloc/Makefile: Likewise.
293 * posix/Makefile: Likewise.
294 * stdio-common/Makefile: Likewise.
295 * stdlib/Makefile: Likewise.
296 * sysdeps/x86_64/Makefile: Likewise.
298 * io/ftwtest-sh: Add copyright header.
299 * posix/globtest.sh: Likewise.
300 * posix/tst-getconf.sh: Likewise.
301 * posix/wordexp-tst.sh: Likewise.
302 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
304 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
307 * Makeconfig (+link): Defined as $(+link-static) if
308 $(build-shared) isn't yes.
309 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
311 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
313 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
316 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
317 new chunk size with MALLOC_ALIGN_MASK.
319 2012-09-24 Joseph Myers <joseph@codesourcery.com>
322 * stdio-common/printf_fphex.c: Include <stdbool.h> and
324 (__printf_fphex): Determine rounding using get_rounding_mode and
326 * stdio-common/tst-printf-round.c (struct hex_test): New
328 (hex_tests): New variable.
329 (test_hex_in_one_mode): New function.
330 (do_test): Also run tests for hex float output.
332 2012-09-21 Joseph Myers <joseph@codesourcery.com>
334 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
335 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
336 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
337 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
338 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
339 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
340 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
341 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
343 2012-09-20 Joseph Myers <joseph@codesourcery.com>
345 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
346 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
347 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
348 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
350 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
353 * elf/rtld.c (dl_main): Limit the check for self loading to normal
355 * elf/tst-rtld-load-self.sh: New test.
356 * elf/Makefile: Run it.
358 2012-09-18 Joseph Myers <joseph@codesourcery.com>
360 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
361 (tst-writev-ENV): Remove.
362 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
364 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
366 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
368 2012-09-17 Joseph Myers <joseph@codesourcery.com>
370 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
372 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
374 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
375 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
376 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
379 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
382 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
383 * config.make.in (have-cpp-asm-debuginfo): Removed.
384 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
385 * configure: Regenerated.
387 2012-09-14 Joseph Myers <joseph@codesourcery.com>
390 * stdio-common/printf_fp.c: Include <stdbool.h> and
392 (___printf_fp): Determine rounding using get_rounding_mode and
394 * stdio-common/tst-printf-round.c: New file.
395 * stdio-common/Makefile (tests): Add tst-printf-round.
396 (link-libm): New variable.
397 ($(objpfx)tst-printf-round): Depend in $(link-libm).
399 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
402 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
403 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
405 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
408 2012-09-13 Joseph Myers <joseph@codesourcery.com>
410 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
411 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
412 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
413 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
415 2012-09-12 Joseph Myers <joseph@codesourcery.com>
418 * include/rounding-mode.h: New file.
419 * sysdeps/generic/get-rounding-mode.h: Likewise.
420 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
421 * stdlib/strtod_l.c: Include <rounding-mode.h>.
422 (MAX_VALUE): New macro.
423 (MIN_VALUE): Likewise.
424 (overflow_value): New function.
425 (underflow_value): Likewise.
426 (round_and_return): Use overflow_value and underflow_value to
427 determine return values in overflow and underflow cases. Use
428 round_away to determine rounding depending on rounding mode.
429 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
430 determine return values in overflow and underflow cases.
431 * stdlib/tst-strtod-round.c: Include <fenv.h>.
432 (struct test_results): New structure.
433 (struct test): Use struct test_results to store expected results
434 for all rounding modes.
435 (TEST): Include expected results for all rounding modes.
436 (test_in_one_mode): New function.
437 (do_test): Use test_in_one_mode to compute and check results.
438 Check results for all rounding modes.
439 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
442 2012-12-09 Allan McRae <allan@archlinux.org>
444 * sysdeps/i386/fpu/libm-test-ulps: Update
446 2012-09-11 Joseph Myers <joseph@codesourcery.com>
448 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
449 (_G_int32_t): Likewise.
450 (_G_uint16_t): Likewise.
451 (_G_uint32_t): Likewise.
452 (_G_HAVE_BOOL): Likewise.
453 (_G_HAVE_ATEXIT): Likewise.
454 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
455 (_G_HAVE_IO_FILE_OPEN): Likewise.
456 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
457 (_G_int32_t): Likewise.
458 (_G_uint16_t): Likewise.
459 (_G_uint32_t): Likewise.
460 (_G_HAVE_BOOL): Likewise.
461 (_G_HAVE_ATEXIT): Likewise.
462 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
463 (_G_HAVE_IO_FILE_OPEN): Likewise.
464 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
465 (_G_int32_t): Likewise.
466 (_G_uint16_t): Likewise.
467 (_G_uint32_t): Likewise.
468 (_G_HAVE_BOOL): Likewise.
469 (_G_HAVE_ATEXIT): Likewise.
470 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
471 (_G_HAVE_IO_FILE_OPEN): Likewise.
473 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
475 * csu/libc-tls.c: Update copyright years.
477 2012-09-10 Joseph Myers <joseph@codesourcery.com>
479 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
480 [!_G_USING_THUNKS]: Remove conditional code.
481 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
482 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
484 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
485 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
486 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
487 (_G_VTABLE_LABEL_PREFIX): Likewise.
488 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
489 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
490 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
491 (_G_VTABLE_LABEL_PREFIX): Likewise.
492 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
493 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
494 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
495 (_G_VTABLE_LABEL_PREFIX): Likewise.
496 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
498 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
500 * libio/Makefile: Include ../Makeconfig before tests.
501 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
502 only if $(build-shared) is yes.
504 * iconv/gconv_db.c: Update copyright years.
506 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
508 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
509 unwind info if defined PIC. Fix special cases description.
510 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
512 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
514 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
516 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
518 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
520 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
523 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
524 (LDLIBS-tst-chk4): This.
525 (LDFLAGS-tst-chk5): Renamed to ...
526 (LDLIBS-tst-chk5): This.
527 (LDFLAGS-tst-chk6): Renamed to ...
528 (LDLIBS-tst-chk6): This.
529 (LDFLAGS-tst-lfschk4): Renamed to ...
530 (LDLIBS-tst-lfschk4): This.
531 (LDFLAGS-tst-lfschk5): Renamed to ...
532 (LDLIBS-tst-lfschk5): This.
533 (LDFLAGS-tst-lfschk6): Renamed to ...
534 (LDLIBS-tst-lfschk6): This.
536 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
537 on $(common-objpfx)soversions.mk.
539 2012-09-07 Joseph Myers <joseph@codesourcery.com>
542 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
545 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
547 * malloc/arena.c (arena_get_retry): New function that gets
548 another arena for the caller to try its request on.
549 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
550 current arena cannot fulfill the request.
551 (__libc_memalign): Likewise.
552 (__libc_memalign): Likewise.
553 (__libc_pvalloc): Likewise.
554 (__libc_calloc): Likewise.
556 2012-09-05 John Tobey <john.tobey@gmail.com>
559 * manual/arith.texi (Operations on Complex): Fix description
562 2012-09-06 Joseph Myers <joseph@codesourcery.com>
565 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
569 * manual/memory.texi (Memory): Make order of menu items match
572 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
574 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
575 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
576 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
578 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
580 * csu/libc-tls.c (static_dtv): Renamed to ...
581 (_dl_static_dtv): This. Make it global.
582 (_dl_initial_dtv): Removed.
583 (__libc_setup_tls): Updated.
584 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
585 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
588 2012-09-06 Petr Machata <pmachata@redhat.com>
590 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
591 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
592 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
593 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
595 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
598 * csu/libc-tls.c (_dl_initial_dtv): New variable.
599 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
602 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
605 * Makeconfig (link-static-before-libc): Replace $(+prector)
607 (link-static-after-libc): Replace $(+postctor) with
609 (link-bounded): Replace $(+prector)/$(+postctor) with
610 $(+prectorT)/$(+postctorT).
611 (+prectorT): New macro.
612 (+postctorT): Likewise.
614 2012-09-06 Joseph Myers <joseph@codesourcery.com>
616 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
617 (round_str): Handle values above the maximum for IBM long double
619 * stdlib/tst-strtod-round.c (tests): Regenerated.
621 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
623 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
625 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
626 zarch_nohighgprs around the zarch optimized routines.
627 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
628 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
629 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
632 2012-09-05 David S. Miller <davem@davemloft.net>
634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
636 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
637 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
638 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
639 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
642 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
644 * malloc/arena.c: Fold copyright years.
645 * malloc/mcheck.c, malloc/memusage.c: Likewise.
647 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
649 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
651 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
653 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
655 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
657 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
658 change internal state upon failure.
660 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
662 * malloc/mcheck.c (mcheck_check_all): Fix typo.
663 * malloc/memusage.c (mmap): Likewise.
664 (mmap64, mremap): Likewise. Adjust name in comment.
666 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
668 * libio/fileops.c: Fix typos in comments.
669 * libio/oldfileops.c: Likewise.
670 * libio/wfileops.c: Likewise.
672 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
675 * malloc/Makefile (tests): Add tst-malloc-usable test case.
676 (tst-malloc-usable-ENV): Set environment for test case.
677 * malloc/hooks.c (malloc_check_get_size): New function to get
679 * malloc/malloc.c (musable): Use malloc_check_get_size.
680 * malloc/tst-malloc-usable.c: New test case.
682 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
684 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
686 2012-09-05 Allan McRae <allan@archlinux.org>
689 * configure.in (CXX_SYSINCLUDES): Use compiler output to
690 determine header location.
691 * configure: Regenerated.
693 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
695 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
697 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
698 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
702 2012-09-04 David S. Miller <davem@davemloft.net>
704 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
705 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
706 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
708 2012-09-04 Florian Weimer <fweimer@redhat.com>
710 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
713 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
715 2012-09-04 Joseph Myers <joseph@codesourcery.com>
718 * libio/iogetdelim.c: Include <limits.h>.
719 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
720 + len + 1 would overflow.
722 2012-09-03 Andreas Jaeger <aj@suse.de>
724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
725 * sysdeps/i386/fpu/libm-test-ulps: Update.
727 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
729 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
730 Add s_sinf-sse2, s_conf-sse2.
732 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
733 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
734 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
735 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
737 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
738 for using routine as __sinf_ia32.
739 Use macro for function declaration and weak_alias.
740 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
741 for using routine as __cosf_ia32.
742 Use macro for function declaration and weak_alias.
744 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
745 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
747 * sysdeps/x86_64/fpu/s_sinf.S: New file.
748 * sysdeps/x86_64/fpu/s_cosf.S: New file.
749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
751 * math/libm-test.inc (cos_test): Add more test cases.
752 (sin_test): Likewise.
753 (sincos_test): Likewise.
755 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
757 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
758 (IFUNC_RESOLVE): Make pointers to the specialized implementations
760 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
762 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
765 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
766 first element of the GOT.
767 (elf_machine_load_address): Return the difference between
768 the runtime address of _DYNAMIC and elf_machine_dynamic ().
770 2012-09-01 Allan McRae <allan@archlinux.org>
773 * configure.in (AWK): Require gawk version 3.0 or later.
774 * configure: Regenerated.
776 2012-09-01 Joseph Myers <joseph@codesourcery.com>
778 * sysdeps/unix/sysv/linux/kernel-features.h
779 (__ASSUME_POSIX_CPU_TIMERS): Remove.
780 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
781 [__NR_clock_getres]: Make code unconditional.
782 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
783 (clock_getcpuclockid): Remove code left unreachable by removal of
785 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
787 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
788 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
789 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
790 Make code unconditional.
791 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
792 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
793 * sysdeps/unix/sysv/linux/clock_settime.c
794 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
796 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
797 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
799 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
802 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
803 scripts/test-installation.pl.
805 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
806 and $ld_so_version if it is set.
808 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
811 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
812 failure if reading from procfs failed.
813 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
815 2012-08-27 Joseph Myers <joseph@codesourcery.com>
817 * sysdeps/unix/sysv/linux/kernel-features.h
818 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
819 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
820 Remove conditional code.
821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
822 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
823 Remove conditional code.
824 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
825 * sysdeps/unix/sysv/linux/i386/fxstat.c
826 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
827 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
828 * sysdeps/unix/sysv/linux/i386/fxstatat.c
829 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
830 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
831 * sysdeps/unix/sysv/linux/i386/lxstat.c
832 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
833 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
834 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
835 Remove conditional code.
836 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
837 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
838 Remove conditional code.
839 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
840 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
842 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
844 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
845 Remove conditional code.
846 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
847 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
850 2012-08-27 Mike Frysinger <vapier@gentoo.org>
853 * NEWS: Add fixed bug number.
855 2012-08-27 Joseph Myers <joseph@codesourcery.com>
858 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
859 underflowing exponent in case of negative sign.
860 * stdlib/tst-strtod-round-data: Add more tests.
861 * stdlib/tst-strtod-round.c (tests): Regenerated.
864 * stdlib/strtod_l.c (NDIG): Remove.
866 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
867 smallest representable value.
868 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
869 lie within an exact representation of 1/2 ulp of the result.
870 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
872 (TENS_P9_IDX): Define unconditionally.
873 (TENS_P9_SIZE): Likewise.
874 (TENS_P10_IDX): Likewise.
875 (TENS_P10_SIZE): Likewise.
876 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
877 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
878 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
879 entries for 10^2^13 and 10^2^14.
880 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
881 (TENS_P13_IDX): Define.
882 (TENS_P13_SIZE): Likewise.
883 (TENS_P14_IDX): Likewise.
884 (TENS_P14_SIZE): Likewise.
885 (_fpioconst_pow10): Change array size to
886 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
888 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
889 1024]: Add entries for 10^2^13 and 10^2^14.
890 [LAST_POW10 > _LAST_POW10]: Remove #error.
891 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
892 (_fpioconst_pow10): Change array size to
893 FPIOCONST_POW10_ARRAY_SIZE.
894 * stdlib/gen-fpioconst.c: New file.
895 * stdlib/gen-tst-strtod-round.c: Likewise.
896 * stdlib/tst-strtod-round-data: Likewise.
897 * stdlib/tst-strtod-round.c: Likewise.
898 * stdlib/Makefile (tests): Add tst-strtod-round.
901 * stdlib/strtod_l.c: Include <stdint.h>.
902 (NDEBUG): Do not define.
903 (round_and_return): Change EXPONENT parameter to type intmax_t.
904 Rearrange calculations to avoid internal overflow possibilities.
905 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
906 Rearrange calculations to avoid internal overflow possibilities.
907 Assert that number fits inside MPNSIZE limbs.
908 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
909 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
910 calculations and add assertions to avoid internal overflow
911 possibilities. Add casts to avoid signed/unsigned operations.
912 * stdlib/tst-strtod-overflow.c: New file.
913 * stdlib/Makefile (tests): Add tst-strtod-overflow.
915 2012-08-25 Marek Polacek <polacek@redhat.com>
917 * time/time.h: Fix some typos in comments.
919 2012-08-23 Roland McGrath <roland@hack.frob.com>
921 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
922 * posix/tst-rfc3484-2.c: Likewise.
923 * posix/tst-rfc3484-3.c: Likewise.
925 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
927 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
928 (EF_ARM_ABI_FLOAT_HARD): Likewise.
930 2012-08-23 Joseph Myers <joseph@codesourcery.com>
932 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
933 #include of fxstatat64.c.
935 2012-08-22 Roland McGrath <roland@hack.frob.com>
937 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
938 * shadow/getspent_r.c: Likewise.
939 * shadow/getspnam.c: Likewise.
940 * shadow/getspnam_r.c: Likewise.
941 * gshadow/getsgent.c: Likewise.
942 * gshadow/getsgent_r.c: Likewise.
943 * gshadow/getsgnam.c: Likewise.
944 * gshadow/getsgnam_r.c: Likewise.
945 * inet/getnetbyad.c: Likewise.
946 * inet/getnetbyad_r.c: Likewise.
947 * inet/getnetbynm.c: Likewise.
948 * inet/getnetbynm_r.c: Likewise.
949 * inet/getnetent.c: Likewise.
950 * inet/getnetent_r.c: Likewise.
951 * inet/getproto.c: Likewise.
952 * inet/getproto_r.c: Likewise.
953 * inet/getprtent.c: Likewise.
954 * inet/getprtent_r.c: Likewise.
955 * inet/getprtname.c: Likewise.
956 * inet/getprtname_r.c: Likewise.
957 * inet/getrpcbyname.c: Likewise.
958 * inet/getrpcbyname_r.c: Likewise.
959 * inet/getrpcbynumber.c: Likewise.
960 * inet/getrpcbynumber_r.c: Likewise.
961 * inet/getrpcent.c: Likewise.
962 * inet/getrpcent_r.c: Likewise.
963 * inet/getaliasent.c: Likewise.
964 * inet/getaliasent_r.c: Likewise.
965 * inet/getaliasname.c: Likewise.
966 * inet/getaliasname_r.c: Likewise.
967 * nscd/getgrgid_r.c: Likewise.
968 * nscd/getgrnam_r.c: Likewise.
969 * nscd/gethstbyad_r.c: Likewise.
970 * nscd/gethstbynm3_r.c: Likewise.
971 * nscd/getpwnam_r.c: Likewise.
972 * nscd/getpwuid_r.c: Likewise.
973 * nscd/getsrvbynm_r.c: Likewise.
974 * nscd/getsrvbypt_r.c: Likewise.
975 * nscd/gai.c: Likewise.
977 * configure.in (build_nscd): New substituted variable, set
978 by --disable-build-nscd and defaults to $use_nscd.
979 * configure: Regenerated.
980 * config.make.in (build-nscd): New substituted variable.
981 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
982 Change conditional to require [$(build-nscd) = yes] as well.
983 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
986 * configure.in (use_nscd): New substituted variable, set by
987 --disable-nscd. If enabled, define USE_NSCD.
988 * configure: Regenerated.
989 * config.h.in: Add USE_NSCD.
990 * config.make.in (use-nscd): New substituted variable.
991 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
992 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
993 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
994 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
995 (CFLAGS-getgrnam_r.c): Likewise.
996 (CFLAGS-initgroups.c): Likewise.
997 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
998 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1000 * inet/getnetgrent_r.c
1001 (nscd_setnetgrent): New function, broken out of ...
1002 (setnetgrent): ... here. Call it.
1003 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1004 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1005 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1006 * nscd/Makefile (routines, aux): Move definitions after include of
1007 Makeconfig. Conditionalize on [$(use-nscd) != no].
1008 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1009 Conditionalize on [USE_NSCD].
1010 (is_nscd, nscd_init_cb): Likewise.
1011 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1012 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1013 * nss/nss_db/db-init.c: Likewise.
1014 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1016 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1017 (make_request): Use it.
1018 (cache_valid_p): New function.
1019 (__check_pf): Use it.
1020 * NEWS: Add item for --disable-nscd.
1022 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1024 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1025 to support sed >= 4.2.1-20-ga9bf076.
1026 * configure: Regenerated.
1028 2012-08-22 Roland McGrath <roland@hack.frob.com>
1030 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1031 Conditionalize whole body on [IREL].
1033 2012-08-22 Jeff Law <law@redhat.com>
1036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1037 if the family is PF_UNSPEC.
1039 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1041 * Makerules (lib-version): Rename from V.
1042 (install-lib-nosubdir): Change V to lib-version.
1044 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1047 * powerpc32/power6/wcschr.c: New file.
1048 * powerpc32/power6/wcscpy.c: New file.
1049 * powerpc32/power6/wcsrchr.c: New file.
1050 * powerpc64/power6/wcschr.c: New file.
1051 * powerpc64/power6/wcscpy.c: New file.
1052 * powerpc64/power6/wcsrchr.c: New file.
1054 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1056 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1057 (two_way_short_needle): Use it.
1058 * string/strstr.c (AVAILABLE1_USES_J): Define.
1059 * string/strcasestr.c: Likewise.
1061 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1063 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1066 * NEWS: Add an entry.
1067 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1068 define their defaults.
1069 (two_way_short_needle): Detect end-of-string on-the-fly.
1070 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1071 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1072 * string/bug-strcasestr1.c: New test.
1073 * string/Makefile: Run it.
1075 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1078 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1079 the first character.
1081 2012-08-21 Roland McGrath <roland@hack.frob.com>
1083 * csu/elf-init.c (__libc_csu_irel): Function removed.
1084 * csu/libc-start.c (apply_irel): New function.
1085 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1087 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1089 * sysdeps/unix/sysv/linux/kernel-features.h
1090 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1091 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1092 <kernel-features.h>.
1093 [__NR_fadvise64_64]: Make code unconditional.
1094 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1095 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1096 !__NR_fadvise64_64)]: Likewise.
1097 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1098 !__NR_fadvise64_64))]: Likewise.
1099 [__NR_fadvise64]: Make code unconditional.
1100 [!__NR_fadvise64]: Remove conditional code.
1101 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1102 <kernel-features.h>.
1103 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1105 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1108 not include <kernel-features.h>.
1109 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1111 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1113 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1114 include <kernel-features.h>.
1115 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1117 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1120 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1122 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1123 slight instruction rearrangements per scrollpipe analysis.
1124 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1126 2012-08-20 Roland McGrath <roland@hack.frob.com>
1128 * manual/syslog.texi (syslog; vsyslog, closelog):
1129 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1130 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1132 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1133 DSOCAPS to match condition on defining it.
1135 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1137 * sysdeps/unix/sysv/linux/kernel-features.h
1138 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1140 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1141 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1143 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1144 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1146 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1147 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1149 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1150 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1152 * sysdeps/unix/sysv/linux/kernel-features.h
1153 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1154 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1156 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1157 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1158 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1159 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1160 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1161 Make code unconditional.
1162 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1163 (__mmap64) [!__NR_mmap2]: Likewise.
1164 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1165 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1166 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1167 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1168 [__NR_mmap2]: Make code unconditional.
1169 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1170 (__mmap64) [!__NR_mmap2]: Likewise.
1172 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1174 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1176 2012-08-18 Andreas Jaeger <aj@suse.de>
1178 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1180 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1182 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1183 * include/unistd.h (__have_sock_cloexec): Likewise.
1184 (__have_pipe2): Likewise.
1185 (__have_dup3): Likewise.
1187 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1190 * include/unistd.h (__have_pipe2): Change define into an extern int.
1191 (__have_dup3): Likewise.
1192 * socket/have_sock_cloexec.c: Include fcntl.h.
1193 (__have_pipe2): New variable.
1194 (__have_dup3): Likewise.
1196 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1198 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1200 2012-08-17 Marek Polacek <polacek@redhat.com>
1202 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1203 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1205 2012-08-17 Roland McGrath <roland@hack.frob.com>
1207 * configure.in: Add AC_SUBST for sysheaders.
1208 * configure: Regenerated.
1209 * config.make.in (sysheaders): New substituted variable.
1211 * sysdeps/unix/mkfifo.c: Moved ...
1212 * sysdeps/posix/mkfifo.c: ... here.
1213 * sysdeps/unix/mkfifoat.c: Moved ...
1214 * sysdeps/posix/mkfifoat.c: ... here.
1216 * sysdeps/unix/utime.c: Moved ...
1217 * sysdeps/posix/utime.c: ... here.
1219 * sysdeps/unix/time.c: Moved ...
1220 * sysdeps/posix/time.c: ... here.
1221 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1222 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1224 * sysdeps/unix/nice.c: Moved ...
1225 * sysdeps/posix/nice.c: ... here.
1227 * sysdeps/unix/alarm.c: Moved ...
1228 * sysdeps/posix/alarm.c: ... here.
1230 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1232 2012-08-17 Jeff Law <law@redhat.com>
1234 * intl/Makefile (codeset_mo): New variable.
1235 ($(codeset_mo)): New target.
1236 (tst-codeset.out): Depend on that. Remove explicit rule.
1237 (tst-gettext3.out, tst-gettext5.out): Likewise.
1238 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1239 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1240 * intl/tst-codeset.sh: Remove.
1241 * intl/tst-gettext3.sh: Likewise.
1242 * intl/tst-gettext5.sh: Likewise.
1244 2012-08-17 Roland McGrath <roland@hack.frob.com>
1246 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1247 * sysdeps/unix/syscalls.list: ... here.
1249 * sysdeps/posix/getaddrinfo.c
1250 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1251 (gaiconf_init, gaiconf_reload): Use them.
1253 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1254 Define using time_t rather than struct timespec.
1256 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1257 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1259 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1261 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1262 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1265 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1266 __libc_cleanup_push argument.
1268 * bits/param.h: New file.
1269 * misc/sys/param.h: New file.
1270 * include/sys/param.h: New file.
1271 * misc/Makefile (headers): Add bits/param.h.
1272 * sysdeps/generic/sys/param.h: File removed.
1273 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1274 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1275 * sysdeps/mach/hurd/bits/param.h: New file.
1276 * sysdeps/mach/hurd/sys/param.h: New file.
1278 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1281 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1283 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1284 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1287 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1288 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1289 rather than -D_IO_MTSAFE_IO conditionally.
1290 * stdio-common/Makefile (CPPFLAGS): Likewise.
1291 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1292 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1293 Use $(libio-mtsafe).
1294 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1296 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1297 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1298 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1299 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1300 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1301 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1302 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1303 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1304 (CFLAGS-fread_u_chk.c): Likewise.
1305 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1306 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1307 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1308 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1309 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1310 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1311 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1312 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1313 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1315 * libio/Makefile: Test [$(libc-reentrant) = yes]
1316 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1319 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1320 * sysdeps/pthread/configure: File removed.
1321 * sysdeps/pthread/Makeconfig: New file.
1322 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1323 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1325 2012-08-16 Gary Benson <gbenson@redhat.com>
1327 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1328 unmapping the first object in a namespace.
1330 2012-08-16 Roland McGrath <roland@hack.frob.com>
1332 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1333 (__internal_setnetgrent): ... this. Add internal_function to
1334 definition. Add libc_hidden_def.
1335 (setnetgrent): Update caller.
1336 (internal_endnetgrent): Renamed to ...
1337 (__internal_endnetgrent): ... this. Add internal_function to
1338 definition. Add libc_hidden_def.
1339 (endnetgrent): Update caller.
1340 (internal_getnetgrent_r): Renamed to ...
1341 (__internal_getnetgrent_r): ... this. Add internal_function to
1342 definition. Add libc_hidden_def.
1343 (__getnetgrent_r): Update caller.
1344 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1346 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1348 * stdlib/longlong.h: Update from GCC.
1350 2012-08-16 Roland McGrath <roland@hack.frob.com>
1352 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1353 on _QL, which is set by umul_ppmm but never used.
1354 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1355 variables, which are set by GMP macros but never used.
1356 * stdio-common/_itowa.c (_itowa): Likewise.
1357 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1358 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1360 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1362 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1363 struct La_sh_regs is not constant.
1364 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1365 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1366 and struct La_sparc64_regs are not constant.
1368 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1370 * sysdeps/unix/sysv/linux/kernel-features.h
1371 (__ASSUME_POSIX_TIMERS): Remove.
1372 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1373 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1374 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1375 Make code unconditional.
1376 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1377 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1378 Make code unconditional.
1379 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1380 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1381 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1382 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1383 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1384 Make code unconditional.
1385 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1386 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1387 (__libc_missing_posix_timers): Remove.
1389 2012-08-15 Roland McGrath <roland@hack.frob.com>
1391 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1392 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1394 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1396 * elf/dl-sym.c: Include <stdlib.h>.
1398 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1399 constants, which avoids warnings in 32-bit builds.
1401 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1402 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1404 * misc/lseek.c: File moved to ...
1405 * io/lseek.c: ... here.
1407 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1409 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1410 shifting LEN more than 31 bits at once.
1412 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1415 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1416 segmentation fault for a case of two empty input strings.
1417 * string/test-strncasecmp.c (check1): Renamed to...
1419 (bz14195): Add new testcase for two empty input strings and N > 0.
1420 (test_main): Call new testcase, adapt for renamed function.
1422 2012-08-15 Andreas Jaeger <aj@suse.de>
1425 * crypt/md5test2.c: New test, based on test supplied by Serge
1426 Belyshev <belyshev@depni.sinp.msu.ru>.
1427 * crypt/Makefile (xtests): Add md5test-giant..
1428 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1430 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1433 * crypt/md5.c (md5_process_block): Don't assume the buffer
1434 length is less than 2**32.
1435 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1436 length is less than 2**64.
1438 2012-08-15 Roland McGrath <roland@hack.frob.com>
1440 * string/str-two-way.h: Include <sys/param.h>.
1441 (MAX): Macro removed.
1443 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1444 Move #define and #undef of memmove to just before and after
1445 including <string.h>.
1447 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1448 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1449 and after including <string.h>. Move declarations of
1450 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1451 to before #include "string/memmove.c".
1453 * include/dirent.h: Declare __getdirentries.
1455 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1456 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1458 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1460 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1461 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1462 * sysdeps/i386/configure: Regenerated.
1463 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1464 STABS_CURRENT_FILE, and STABS_FUN.
1465 (END): Remove call to STABS_FUN_END.
1466 (STABS_CURRENT_FILE1): Delete.
1467 (STABS_CURRENT_FILE): Likewise.
1468 (STABS_FUN): Likewise.
1469 (STABS_FUN_END): Likewise.
1470 (STABS_FUN2): Likewise.
1471 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1472 * sysdeps/x86_64/configure: Regenerated.
1474 2012-08-14 Roland McGrath <roland@hack.frob.com>
1476 * elf/dl-open.c: Include <atomic.h>.
1477 * elf/dl-lookup.c: Likewise.
1479 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1481 * sysdeps/unix/sysv/linux/kernel-features.h
1482 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1483 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1485 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1487 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1488 condition on __ASSUME_CLONE_THREAD_FLAGS.
1490 2012-08-14 Andreas Jaeger <aj@suse.de>
1492 * sysdeps/i386/fpu/libm-test-ulps: Update.
1494 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1496 * include/atomic.h (atomic_exchange_and_add): Split into ...
1497 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1500 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1504 2012-08-13 Jeff Law <law@redhat.com>
1506 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1507 null byte in the output string.
1509 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1511 * sysdeps/unix/sysv/linux/kernel-features.h
1512 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1513 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1514 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1515 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1516 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1517 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1518 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1520 2012-08-09 Jeff Law <law@redhat.com>
1523 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1524 When avoid_arena is set, don't retry in the that arena. Pick the
1525 next one, whatever it might be.
1526 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1527 (arena_lock): Pass in new parameter to arena_get2.
1528 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1530 (__libc_malloc): Unify retrying after main arena failure with
1531 __libc_memalign version.
1532 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1534 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1537 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1538 to __redirect_strstr.
1539 (__strstr_sse42): Use typeof __redirect_strstr.
1540 (__strstr_ia32): Likewise.
1541 (__libc_strstr): New prototype.
1542 (strstr): Renamed to ...
1543 (__libc_strstr): This.
1544 (strstr): New strong alias of __libc_strstr.
1545 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1546 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1549 (__libc_time): New prototype.
1550 (time_ifunc): Replace time with __libc_time.
1551 (time): New strong alias and hidden definition of __libc_time.
1552 (__GI_time): Remove strong alias.
1553 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1555 (memmove): Redefined to __redirect_memmove.
1556 (__memmove_sse2): Use typeof __redirect_memmove.
1557 (__memmove_ssse3): Likewise.
1558 (__memmove_ssse3_back): Likewise.
1559 (__libc_memmove): New prototype.
1560 (memmove): Renamed to ...
1561 (__libc_memmove): This.
1562 (memmove): New strong alias of __libc_memmove.
1564 2012-08-08 Mark Salter <msalter@redhat.com>
1567 (R_MN10300_TLS_GD): Define.
1568 (R_MN10300_TLS_LD): Likewise.
1569 (R_MN10300_TLS_LDO): Likewise.
1570 (R_MN10300_TLS_GOTIE): Likewise.
1571 (R_MN10300_TLS_IE): Likewise.
1572 (R_MN10300_TLS_LE): Likewise.
1573 (R_MN10300_TLS_DTPMOD): Likewise.
1574 (R_MN10300_TLS_DTPOFF): Likewise.
1575 (R_MN10300_TLS_TPOFF): Likewise.
1576 (R_MN10300_SYM_DIFF): Likewise.
1577 (R_MN10300_ALIGN): Likewise.
1578 (R_MN10300_NUM): Update.
1580 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1582 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1585 2012-08-08 Roland McGrath <roland@hack.frob.com>
1587 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1589 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1590 sysdeps/unix -> sysdeps/posix move.
1591 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1593 2012-08-07 Allan McRae <allan@archlinux.org>
1596 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1597 (SUNOS_CPP): Likewise.
1598 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1600 (open_input): Call CPP using execvp.
1602 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1604 * sysdeps/unix/sysv/linux/kernel-features.h
1605 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1606 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1607 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1608 (__ASSUME_WAITID_SYSCALL): Likewise.
1609 * sysdeps/unix/sysv/linux/dl-execstack.c
1610 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1612 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1614 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1615 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1616 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1618 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1620 [__ASSUME_WAITID_SYSCALL]: Likewise.
1621 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1623 2012-08-07 Roland McGrath <roland@hack.frob.com>
1625 * sysdeps/unix/closedir.c: Renamed to ...
1626 * sysdeps/posix/closedir.c: ... here.
1627 * sysdeps/unix/dirfd.c: Renamed to ...
1628 * sysdeps/posix/dirfd.c: ... here.
1629 * sysdeps/unix/dirstream.h: Renamed to ...
1630 * sysdeps/posix/dirstream.h: ... here.
1631 * sysdeps/unix/fdopendir.c: Renamed to ...
1632 * sysdeps/posix/fdopendir.c: ... here.
1633 * sysdeps/unix/opendir.c: Renamed to ...
1634 * sysdeps/posix/opendir.c: ... here.
1635 * sysdeps/unix/readdir.c: Renamed to ...
1636 * sysdeps/posix/readdir.c: ... here.
1637 * sysdeps/unix/readdir_r.c: Renamed to ...
1638 * sysdeps/posix/readdir_r.c: ... here.
1639 * sysdeps/unix/rewinddir.c: Renamed to ...
1640 * sysdeps/posix/rewinddir.c: ... here.
1641 * sysdeps/unix/seekdir.c: Renamed to ...
1642 * sysdeps/posix/seekdir.c: ... here.
1643 * sysdeps/unix/telldir.c: Renamed to ...
1644 * sysdeps/posix/telldir.c: ... here.
1645 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1646 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1647 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1648 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1650 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1651 * bits/fcntl.h: ... here.
1653 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1655 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1656 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1657 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1658 (struct flock): Move l_start, l_len to the beginning.
1659 Use __pid_t for l_pid.
1660 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1661 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1662 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1663 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1664 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1665 [__USE_LARGEFILE64] (struct flock64): New type.
1666 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1668 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1669 * bits/dirent.h: ... here.
1671 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1672 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1674 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1676 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1677 Change from 2.6.0 to 2.6.16.
1678 * sysdeps/unix/sysv/linux/configure: Regenerated.
1679 * sysdeps/unix/sysv/linux/kernel-features.h
1680 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1681 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1683 (__ASSUME_UTIMES): Likewise.
1684 (__ASSUME_CLONE_STOPPED): Remove.
1685 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1686 architectures, not kernel version.
1687 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1688 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1689 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1690 (__ASSUME_WAITID_SYSCALL): Likewise.
1691 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1692 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1693 * README: State 2.6.16 as minimum Linux kernel version. Do not
1694 refer to older versions.
1696 2012-08-06 Roland McGrath <roland@hack.frob.com>
1698 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1699 Define alphasort64 as an alias.
1700 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1701 Define versionsort64 as an alias.
1702 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1703 Define scandir64 as an alias.
1704 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1705 Define scandirat64 as an alias.
1706 * dirent/alphasort64.c (alphasort64):
1707 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1708 * dirent/versionsort64.c: Likewise.
1709 * dirent/scandir64.c: Likewise.
1710 * dirent/scandirat64.c: Likewise.
1711 * sysdeps/wordsize-64/alphasort.c: File removed.
1712 * sysdeps/wordsize-64/alphasort64.c: File removed.
1713 * sysdeps/wordsize-64/scandir.c: File removed.
1714 * sysdeps/wordsize-64/scandir64.c: File removed.
1715 * sysdeps/wordsize-64/scandirat.c: File removed.
1716 * sysdeps/wordsize-64/scandirat64.c: File removed.
1717 * sysdeps/wordsize-64/versionsort.c: File removed.
1718 * sysdeps/wordsize-64/versionsort64.c: File removed.
1719 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1720 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1721 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1722 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1723 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1724 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1725 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1726 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1728 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1729 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1730 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1731 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1732 [defined __arch64__ || defined __sparcv9]
1733 (__INO_T_MATCHES_INO64_T): New macro.
1734 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1735 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1736 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1737 * sysdeps/unix/sysv/linux/bits/dirent.h
1738 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1739 (_DIRENT_MATCHES_DIRENT64): New macro.
1741 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1742 Define lockf64 as an alias.
1743 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1744 Define fseeko64 as an alias.
1745 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1746 Define ftello64 as an alias.
1747 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1748 Define _IO_fgetpos64 and fgetpos64 as aliases.
1749 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1750 Define _IO_fsetpos64 and fsetpos64 as aliases.
1751 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1752 Conditionalize body on this.
1753 * libio/fseeko64.c: Likewise.
1754 * libio/ftello64.c: Likewise.
1755 * libio/iofgetpos64.c: Likewise.
1756 * libio/iofsetpos64.c: Likewise.
1757 * sysdeps/wordsize-64/lockf.c: File removed.
1758 * sysdeps/wordsize-64/lockf64.c: File removed.
1759 * sysdeps/wordsize-64/fseeko.c: File removed.
1760 * sysdeps/wordsize-64/fseeko64.c: File removed.
1761 * sysdeps/wordsize-64/ftello.c: File removed.
1762 * sysdeps/wordsize-64/ftello64.c: File removed.
1763 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1764 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1765 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1766 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1767 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1768 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1769 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1771 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1773 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1774 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1775 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1776 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1778 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1779 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1780 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1781 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1782 [defined __arch64__ || defined __sparcv9]
1783 (__OFF_T_MATCHES_OFF64_T): New macro.
1784 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1785 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1787 (__OFF_T_MATCHES_OFF64_T): New macro.
1789 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1791 * stdlib/secure-getenv.c (__secure_getenv): Replace
1792 GLIBC_2_16 with GLIBC_2_17.
1794 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1796 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1797 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1799 2012-08-03 David S. Miller <davem@davemloft.net>
1801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1803 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1805 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1807 (__ASSUME_CORRECT_SI_PID): Likewise.
1808 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1809 (__ASSUME_TMPFS_NAME): Likewise.
1810 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1811 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1812 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1813 (HAVE_AUX_SECURE): Make definition unconditional.
1814 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1815 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1817 2012-08-03 Roland McGrath <roland@hack.frob.com>
1819 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1820 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1821 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1822 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1823 __eloop_threshold instead of SYMLOOP_MAX.
1825 * sysdeps/generic/eloop-threshold.h: New file.
1826 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1828 * elf/chroot_canon.c (chroot_canon): Likewise.
1830 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1833 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1834 Change to 2.6.0 everywhere.
1835 * sysdeps/unix/sysv/linux/configure: Regenerated.
1836 * sysdeps/unix/sysv/linux/kernel-features.h
1837 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1838 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1840 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1841 (__ASSUME_FUTEX_REQUEUE): Remove.
1842 (__ASSUME_STATFS64): Define unconditionally.
1843 (__ASSUME_AT_SECURE): Likewise.
1844 (__ASSUME_CORRECT_SI_PID): Likewise.
1845 (__ASSUME_TGKILL): Define without depending on kernel version for
1847 (__ASSUME_UTIMES): Likewise.
1848 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1850 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1851 (__ASSUME_TMPFS_NAME): Likewise.
1852 * README: Update reference to Linux kernel versions.
1854 2012-08-02 Marek Polacek <polacek@redhat.com>
1857 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1858 libc_cv_asm_type_prefix with %.
1859 * configure: Regenerated.
1860 * include/libc-symbols.h: Remove comment about
1861 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1862 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1863 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1864 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1865 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1866 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1867 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1868 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1869 * elf/tst-unique2mod1.c: Likewise.
1870 * elf/tst-unique1mod2.c: Likewise.
1871 * elf/tst-unique1mod1.c: Likewise.
1872 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1873 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1874 Replace ASM_TYPE_DIRECTIVE with .type.
1875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1876 * sysdeps/i386/sysdep.h: Likewise.
1877 * sysdeps/x86_64/sysdep.h: Likewise.
1878 * sysdeps/sh/sysdep.h: Likewise.
1879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1880 Do not define ASM_TYPE_DIRECTIVE.
1881 * sysdeps/powerpc/sysdep.h: Likewise.
1882 * sysdeps/powerpc/powerpc32/sysdep.h:
1883 Replace ASM_TYPE_DIRECTIVE with .type.
1884 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1885 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1886 * sysdeps/i386/fpu/e_powf.S: Likewise.
1887 * sysdeps/i386/fpu/e_expl.S: Likewise.
1888 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1889 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1890 * sysdeps/i386/fpu/e_pow.S: Likewise.
1891 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1892 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1893 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1894 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1895 * sysdeps/i386/fpu/e_log2.S: Likewise.
1896 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1897 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1898 * sysdeps/i386/fpu/e_powl.S: Likewise.
1899 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1900 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1901 * sysdeps/i386/fpu/e_logl.S: Likewise.
1902 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1903 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1904 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1905 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1906 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1907 * sysdeps/i386/fpu/e_log.S: Likewise.
1908 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1909 * sysdeps/i386/fpu/e_logf.S: Likewise.
1910 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1911 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1912 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1913 * sysdeps/i386/fpu/e_log10.S: Likewise.
1914 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1915 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1916 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1917 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1918 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1919 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1920 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1921 * sysdeps/i386/i686/strtok.S: Likewise.
1922 * sysdeps/i386/i386-mcount.S: Likewise.
1923 * sysdeps/i386/strtok.S: Likewise.
1924 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1925 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1926 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1927 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1928 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1929 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1930 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1931 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1932 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1933 * sysdeps/x86_64/_mcount.S: Likewise.
1934 * sysdeps/x86_64/strtok.S: Likewise.
1935 * sysdeps/sh/_mcount.S: Likewise.
1937 2012-08-01 Roland McGrath <roland@hack.frob.com>
1939 * libio/iofopen.c: Include <fcntl.h>.
1940 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1941 (_IO_fopen64, fopen64): Define as aliases.
1942 * libio/iofopen64.c: Include <fcntl.h>.
1943 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1944 Conditionalize body on this.
1945 * sysdeps/wordsize-64/iofopen.c: File removed.
1946 * sysdeps/wordsize-64/iofopen64.c: File removed.
1948 2012-08-01 Marek Polacek <polacek@redhat.com>
1950 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1951 Use dlfcn directly instead of a variable.
1952 (binfmt-subdir): Do not define.
1955 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1957 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1958 Remove all definitions.
1959 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1960 <kernel-features.h>.
1961 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1962 (miss_F_GETOWN_EX): Remove all definitions.
1963 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1965 [!__ASSUME_FCNTL64]: Remove conditional code.
1966 [__ASSUME_FCNTL64]: Make code unconditional.
1967 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1968 <kernel-features.h>.
1969 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1970 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1971 (lockf64) [__NR_fcntl64]: Make code unconditional.
1972 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1974 * sysdeps/unix/sysv/linux/kernel-features.h
1975 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1976 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1977 Make code unconditional.
1978 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1979 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1981 [__NR_vfork]: Make code unconditional.
1982 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1983 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1985 [__NR_vfork]: Make code unconditional.
1986 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1987 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1989 2012-08-01 Roland McGrath <roland@hack.frob.com>
1991 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1992 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1994 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1995 Define mkstemp64 as an alias.
1996 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1997 Define mkstemps64 as an alias.
1998 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1999 Define mkostemp64 as an alias.
2000 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2001 Define mkostemps64 as an alias.
2002 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2003 Conditionalize body on this.
2004 * misc/mkostemp64.c: Likewise.
2005 * misc/mkostemps64.c: Likewise.
2006 * misc/mkstemps64.c: Likewise.
2007 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2008 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2009 * sysdeps/wordsize-64/mkostemp.c: File removed.
2010 * sysdeps/wordsize-64/mkstemp.c: File removed.
2011 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2012 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2013 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2014 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2017 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2018 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2019 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2020 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2022 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2023 compat_symbol macros from <shlib-compat.h> rather than the underlying
2024 default_symbol_version and symbol_version macros, so that DEFAULT
2025 lines in shlib-versions are respected.
2026 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2028 2012-08-01 Florian Weimer <fweimer@redhat.com>
2030 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2031 Declare with warn_unused_result.
2032 (setgid, setregid, setegid, setresgid): Likewise.
2033 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2035 * WUR-REPORT: Remove set*id functions.
2037 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2039 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2041 2012-07-31 Roland McGrath <roland@hack.frob.com>
2043 * include/sys/socket.h (__libc_accept, __libc_accept4):
2044 Add attribute_hidden.
2045 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2047 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2049 * inet/getnetgrent_r.c (setup): Likewise.
2051 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2053 2012-07-31 David S. Miller <davem@davemloft.net>
2055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2057 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2060 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2061 value between 1.0 and 2.0 and smaller part has absolute value less
2063 * math/s_clog10.c (__clog10): Likewise.
2064 * math/s_clog10f.c (__clog10f): Likewise.
2065 * math/s_clog10l.c (__clog10l): Likewise.
2066 * math/s_clogf.c (__clogf): Likewise.
2067 * math/s_clogl.c (__clogl): Likewise.
2068 * math/libm-test.inc (clog_test): Add more tests.
2069 (clog10_test): Likewise.
2070 * sysdeps/i386/fpu/libm-test-ulps: Update.
2071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2073 2012-07-31 Florian Weimer <fweimer@redhat.com>
2075 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2076 Exit with zero in case no suitable GID is found, and write a
2077 message to standard error.
2079 2012-07-30 Roland McGrath <roland@hack.frob.com>
2081 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2083 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2084 (MAXPATHLEN): Removed.
2085 (NOGROUP, NODEV): New macros.
2086 (setbit, clrbit, isset, isclr): New macros.
2087 (howmany, roundup, powerof2): New macros.
2088 (DEV_BSIZE): New macro.
2090 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2091 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2093 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2094 definition on [!__NO_LONG_DOUBLE_MATH].
2096 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2097 PTR_MANGLE and PTR_DEMANGLE.
2099 * socket/accept4.c (accept4): Rename to __libc_accept4.
2100 Define accept4 as a weak alias.
2102 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2103 on [_DIRENT_HAVE_D_TYPE].
2104 * io/ftw.c (ftw_dir): Likewise.
2106 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2108 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2110 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2111 Use the BSD numbers rather than the arbitrary ones we had.
2112 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2113 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2114 (SIGXCPU, SIGXFSZ): New macros.
2117 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2118 initializer on [_LIBC_REENTRANT].
2120 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2121 definitions inside [_POSIX_MAPPED_FILES].
2123 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2125 * dirent/opendir.c: Include <fcntl.h>.
2127 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2128 (__libc_getspecific): Likewise.
2129 (__libc_key_create): Likewise.
2131 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2132 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2133 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2134 (tmpfile64): Define as alias.
2135 * sysdeps/wordsize-64/tmpfile.c: File removed.
2136 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2137 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2138 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2140 * stdio-common/vfscanf.c: Include <stdbool.h>.
2141 * nss/makedb.c: Likewise.
2142 * stdio-common/_i18n_number.h: Likewise.
2143 * argp/argp-help.c: Likewise.
2144 * posix/wordexp.c: Likewise.
2145 * sysdeps/posix/spawni.c: Likewise.
2146 * nss/nss_files/files-initgroups.c: Likewise.
2147 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2148 * nss/nss_files/files-initgroups.c: Likewise.
2149 * nss/nss_db/db-netgrp.c: Likewise.
2150 * nss/nss_db/db-initgroups.c: Likewise.
2151 * io/fchmodat.c: Include <sys/stat.h>.
2153 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2154 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2156 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2159 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2160 Add multiple inclusion protection.
2162 2012-07-27 David S. Miller <davem@davemloft.net>
2164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2166 2012-07-27 Gary Benson <gbenson@redhat.com>
2169 * elf/rtld.c: Include <stap-probe.h>.
2170 (dl_main): Added static probes "init_start" and "init_complete".
2171 * elf/dl-load.c: Include <stap-probe.h>.
2172 (lose): Take new parameter "nsid".
2173 Added static probe "map_failed".
2174 (_dl_map_object_from_fd): Pass namespace id to lose.
2175 Added static probe "map_start".
2176 (open_verify): Pass namespace id to lose.
2177 * elf/dl-open.c: Include <stap-probe.h>.
2178 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2179 and "reloc_complete".
2180 * elf/dl-close.c: Include <stap-probe.h>.
2181 (_dl_close_worker): Added static probes "unmap_start" and
2183 * elf/rtld-debugger-interface.txt: New file documenting the above.
2185 2012-07-26 Roland McGrath <roland@hack.frob.com>
2187 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2188 rather than a string variable.
2189 * sunrpc/rpc_main.c (h_output): Likewise.
2190 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2192 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2194 * inet/check_native.c: New file.
2196 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2199 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2200 if larger part has absolute value 1.0.
2201 * math/s_clog10.c (__clog10): Likewise.
2202 * math/s_clog10f.c (__clog10f): Likewise.
2203 * math/s_clog10l.c (__clog10l): Likewise.
2204 * math/s_clogf.c (__clogf): Likewise.
2205 * math/s_clogl.c (__clogl): Likewise.
2206 * math/libm-test.inc (clog_test): Add more tests.
2207 (clog10_test): Likewise.
2208 * sysdeps/i386/fpu/libm-test-ulps: Update.
2209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2211 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2212 (pltexit): Likewise.
2213 (La_regs): Likewise.
2214 (La_retval): Likewise.
2215 (int_retval): Likewise.
2216 Update #error for removed macros to refer only to definitions in
2218 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2220 (pltexit): Likewise.
2221 (La_regs): Likewise.
2222 (La_retval): Likewise.
2223 (int_retval): Likewise.
2224 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2226 (pltexit): Likewise.
2227 (La_regs): Likewise.
2228 (La_retval): Likewise.
2229 (int_retval): Likewise.
2230 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2232 (pltexit): Likewise.
2233 (La_regs): Likewise.
2234 (La_retval): Likewise.
2235 (int_retval): Likewise.
2236 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2238 (pltexit): Likewise.
2239 (La_regs): Likewise.
2240 (La_retval): Likewise.
2241 (int_retval): Likewise.
2242 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2244 (pltexit): Likewise.
2245 (La_regs): Likewise.
2246 (La_retval): Likewise.
2247 (int_retval): Likewise.
2248 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2250 (pltexit): Likewise.
2251 (La_regs): Likewise.
2252 (La_retval): Likewise.
2253 (int_retval): Likewise.
2254 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2255 macro definitions in tst-audit.h.
2256 * sysdeps/i386/tst-audit.h: New file.
2257 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2258 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2259 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2260 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2261 * sysdeps/sh/tst-audit.h: Likewise.
2262 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2263 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2264 * sysdeps/x86_64/tst-audit.h: Likewise.
2266 2012-07-26 Andreas Jaeger <aj@suse.de>
2268 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2271 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2272 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2273 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2275 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2276 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2277 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2279 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2282 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2284 (si_call_addr, si_syscall, si_arch): Define new macro.
2285 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2287 (si_call_addr, si_syscall, si_arch): Define new marcro.
2288 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2290 (si_call_addr, si_syscall, si_arch): Define new macro.
2291 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2293 (si_call_addr, si_syscall, si_arch): Define new macro.
2295 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2298 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2299 Change to 2.4.21 where previously 2.4.1.
2300 * sysdeps/unix/sysv/linux/configure: Regenerated.
2301 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2302 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2303 Linux kernel version.
2304 (__ASSUME_STD_AUXV): Remove.
2305 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2307 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2308 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2309 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2310 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2311 (__ASSUME_NETLINK_SUPPORT): Likewise.
2312 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2313 (__no_netlink_support): Remove conditional definition.
2314 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2316 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2317 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2318 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2319 (if_nameindex_ioctl): Remove.
2320 (if_nameindex_netlink): Do not handle __no_netlink_support.
2321 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2323 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2324 Remove conditional code.
2325 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2327 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2329 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2330 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2331 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2333 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2334 [!__ASSUME_STD_AUXV]: Remove conditional code.
2335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2336 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2337 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2339 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2340 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2342 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2344 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2345 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2347 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2349 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2352 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2355 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2357 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2359 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2361 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2364 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2366 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2369 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2371 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2373 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2375 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2378 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2380 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2382 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2384 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2387 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2389 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2390 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2391 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2392 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2393 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2394 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2395 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2396 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2397 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2398 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2399 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2400 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2401 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2402 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2403 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2404 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2405 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2406 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2407 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2409 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2410 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2411 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2413 2012-07-25 Florian Weimer <fweimer@redhat.com>
2415 * Versions.def: Add GLIBC_2.17.
2416 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2417 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2418 Introduce __libc_secure_getenv.
2419 * stdlib/Versions (2.17): Add secure_getenv
2420 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2421 * stdlib/secure-getenv.c: Rename __secure_getenv to
2422 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2423 symbol __secure_getenv for GLIBC_2.0.
2424 * stdlib/tst-secure-getenv.c: New.
2425 * stdlib/Makefile (tests): Add testcase.
2426 * manual/startup.texi (Environment Access): Document
2428 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2429 __libc_secure_getenv.
2430 * inet/ruserpass.c (ruserpass): Likewise.
2431 * malloc/mtrace.c (mtrace): Likewise.
2432 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2433 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2434 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2435 * sysdeps/posix/tempname.c: Likewise. Evaluate
2437 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2438 __secure_getenv to __libc_secure_getenv.
2439 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2446 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2452 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2454 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2455 (struct La_i86_retval): Likewise.
2456 (struct La_x86_64_regs): Likewise.
2457 (struct La_x86_64_retval): Likewise.
2458 (struct La_x32_regs): Likewise.
2459 (struct La_x32_retval): Likewise.
2460 (struct La_ppc32_regs): Likewise.
2461 (struct La_ppc32_retval): Likewise.
2462 (struct La_ppc64_regs): Likewise.
2463 (struct La_ppc64_retval): Likewise.
2464 (struct La_sh_regs): Likewise.
2465 (struct La_sh_retval): Likewise.
2466 (struct La_s390_32_regs): Likewise.
2467 (struct La_s390_32_retval): Likewise.
2468 (struct La_s390_64_regs): Likewise.
2469 (struct La_s390_64_retval): Likewise.
2470 (struct La_sparc32_regs): Likewise.
2471 (struct La_sparc32_retval): Likewise.
2472 (struct La_sparc64_regs): Likewise.
2473 (struct La_sparc64_retval): Likewise.
2474 (struct audit_ifaces): Remove architecture-specific pltenter and
2476 * sysdeps/i386/ldsodefs.h: New file.
2477 * sysdeps/powerpc/ldsodefs.h: Likewise.
2478 * sysdeps/s390/ldsodefs.h: Likewise.
2479 * sysdeps/sh/ldsodefs.h: Likewise.
2480 * sysdeps/sparc/ldsodefs.h: Likewise.
2481 * sysdeps/x86_64/ldsodefs.h: Likewise.
2483 2012-07-25 Marek Polacek <polacek@redhat.com>
2486 * math/libm-test.inc (yn_test): Add another test.
2487 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2488 to ERANGE when the result is +-Inf.
2489 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2490 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2491 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2492 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2494 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2496 * conform/data/time.h-data (NULL): Use macro-constant. Require
2498 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2500 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2502 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2504 * configure.in <sysdeps resolving>: Correct printing
2506 * configure: Regenerate.
2508 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2510 * math/w_ilogb.c: Include <limits.h>.
2511 * math/w_ilogbl.c: Likewise.
2513 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2515 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2516 va_copy. Document allowing for unavailable va_copy only as
2517 pre-C99 compatibility.
2518 * manual/string.texi (Copying and Concatenation): Use va_copy
2519 instead of __va_copy in concat example.
2521 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2523 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2524 (__sendto): Use create_address_port. Initialize APORT and deallocate
2527 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2528 with O_NOLINK passed to __file_name_lookup.
2530 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2531 with O_NOLINK passed to __file_name_lookup.
2533 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2534 negative N or less than NGIDS.
2536 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2537 type to string_t. Set ERANGE as errno and return it if NAME is not big
2538 enough. Use memcpy instead of strncpy.
2540 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2542 * elf/Makefile (check-data): Remove.
2543 (localplt.data): New vpath directive.
2544 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2545 instead of $(check-data).
2546 * scripts/data/localplt-generic.data: Move to ...
2547 * sysdeps/generic/localplt.data: ... here.
2548 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2549 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2550 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2553 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2556 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2559 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2562 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2565 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2569 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2571 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2572 PPC32 and PPC64 files.
2573 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2574 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2576 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2578 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2579 __makecontext_ret to ...
2580 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2581 ... here and call exit if uc_link is NULL. New file.
2582 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2583 __makecontext_ret.S.
2584 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2585 __makecontext_ret to ...
2586 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2587 ... here and call exit if uc_link is NULL. New file.
2588 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2589 __makecontext_ret.S.
2591 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2593 * elf/elf.h (R_390_IRELATIVE): New definition.
2594 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2595 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2596 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2597 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2598 (elf_machine_lazy_rel): Likewise.
2599 * sysdeps/s390/dl-irel.h: New file.
2600 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2601 * sysdeps/s390/s390-64/memset.S: New asm code.
2602 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2603 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2604 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2605 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2606 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2607 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2608 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2609 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2610 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2611 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2612 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2613 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2614 * sysdeps/s390/s390-32/memset.S: New asm code.
2615 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2617 2012-07-17 Marek Polacek <polacek@redhat.com>
2620 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2621 * sysdeps/s390/s390-64/configure.in: Likewise.
2622 * sysdeps/sparc/configure.in: Likewise.
2623 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2624 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2625 * sysdeps/i386/configure.in: Likewise.
2626 * sysdeps/x86_64/configure.in: Likewise.
2627 * sysdeps/sh/configure.in: Likewise.
2628 * sysdeps/s390/s390-32/configure: Regenerated.
2629 * sysdeps/s390/s390-64/configure: Likewise.
2630 * sysdeps/x86_64/configure: Likewise.
2631 * sysdeps/sh/configure: Likewise.
2632 * sysdeps/powerpc/powerpc64/configure: Likewise.
2633 * sysdeps/powerpc/powerpc32/configure: Likewise.
2634 * sysdeps/sparc/configure: Likwise.
2635 * sysdeps/i386/configure: Likewise.
2637 * elf/dl-open.c: Comment fixes.
2639 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2641 * Makefile [CXX] (check-data): Remove.
2642 [CXX] (c++-types.data): New vpath directive.
2643 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2644 vpath. Do not allow for C++ type data being missing.
2645 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2646 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2647 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2648 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2649 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2650 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2651 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2654 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2657 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2660 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2663 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2666 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2669 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2672 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2675 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2676 definitions to architecture-specific files.
2680 * sysdeps/i386/tls-macros.h: New file.
2681 * sysdeps/powerpc/tls-macros.h: Likewise.
2682 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2683 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2684 * sysdeps/sh/tls-macros.h: Likewise.
2685 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2686 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2687 * sysdeps/x86_64/tls-macros.h: Likewise.
2689 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2691 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2692 zero value for regular exit case.
2694 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2695 (__start_context): Preserve zero value for regular exit case.
2697 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2698 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2700 * manual/setjmp.texi (setcontext): Clarify normal process
2701 termination when uc_link is the null pointer.
2702 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2705 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2707 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2708 preprocessor. Test for each exception mask separately.
2710 2012-07-16 Andreas Jaeger <aj@suse.de>
2712 * po/ru.po: Update from translation team.
2714 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2716 * conform/data/string.h-data (NULL): Use macro-constant. Require
2718 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2719 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2720 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2721 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2722 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2724 2012-07-13 Andreas Jaeger <aj@suse.de>
2726 * po/fr.po: Update from translation team.
2728 2012-07-12 Marek Polacek <polacek@redhat.com>
2731 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2732 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2735 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2738 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2739 Change to 2.4.1 where previously 2.4.0.
2740 * sysdeps/unix/sysv/linux/configure: Regenerated.
2741 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2742 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2744 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2745 (__ASSUME_AT_CLKTCK): Remove.
2746 (__ASSUME_AT_PAGESIZE): Likewise.
2747 (__ASSUME_AT_XID): Likewise.
2748 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2749 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2750 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2752 (HAVE_AUX_PAGESIZE): Likewise.
2753 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2754 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2755 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2757 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2761 the temporary buffer used to invoke __gethostbyname2_r,
2762 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2763 host_data / struct gaih_addrtuple.
2764 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2765 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2766 header file nss/nsswitch.h.
2767 * nss/nsswitch.h (global scope): Add definition of implementation
2768 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2769 resolv/nss_dns/dns-host.c).
2771 2012-07-11 Andreas Jaeger <aj@suse.de>
2773 * po/fr.po: Update from translation team.
2775 * po/sv.po: Update from translation team
2776 * po/fr.po: Another update from translation team.
2778 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2780 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2781 for subnormals or multiply small sinh result by itself.
2782 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2785 2012-07-11 David S. Miller <davem@davemloft.net>
2787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2789 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2792 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2793 (INTERNAL_MARK): Shift it here.
2795 2012-07-10 Marek Polacek <polacek@redhat.com>
2798 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2799 libc_cv_asm_global_directive with .globl.
2800 * configure: Regenerated.
2801 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2803 * sysdeps/i386/configure: Regenerated.
2804 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2806 * sysdeps/x86_64/configure: Regenerated.
2807 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2808 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2809 * elf/tst-unique2mod2.c: Likewise.
2810 * elf/tst-unique2mod1.c: Likewise.
2811 * elf/tst-unique1mod2.c: Likewise.
2812 * elf/tst-unique1mod1.c: Likewise.
2813 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2814 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2815 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2816 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2817 * sysdeps/mach/sysdep.h: Likewise.
2818 * sysdeps/i386/sysdep.h: Likewise.
2819 * sysdeps/i386/i386-mcount.S: Likewise.
2820 * sysdeps/x86_64/_mcount.S: Likewise.
2821 * sysdeps/x86_64/sysdep.h: Likewise.
2822 * sysdeps/sh/_mcount.S: Likewise.
2823 * sysdeps/sh/sysdep.h: Likewise.
2824 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2825 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2826 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2827 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2828 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2829 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2830 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2831 * locale/localeinfo.h: Likewise.
2832 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2833 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2835 2012-07-09 Roland McGrath <roland@hack.frob.com>
2838 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2840 * manual/message.texi (The Uniforum approach): Likewise.
2841 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2842 (glibc iconv Implementation): Likewise.
2844 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2847 * math/s_clog.c (__clog): Avoid scaling a value down where that
2848 could result in underflow.
2849 * math/s_clog10.c (__clog10): Likewise.
2850 * math/s_clog10f.c (__clog10f): Likewise.
2851 * math/s_clog10l.c (__clog10l): Likewise.
2852 * math/s_clogf.c (__clogf): Likewise.
2853 * math/s_clogl.c (__clogl): Likewise.
2854 * math/libm-test.inc (clog_test): Add more tests.
2855 (clog10_test): Likewise.
2856 * sysdeps/i386/fpu/libm-test-ulps: Update.
2857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2859 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2862 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2863 by 7 not 8 to examine high bit of fractional part.
2866 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2867 for call to __mcount_internal.
2868 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2869 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2870 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2872 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2875 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2876 approximation for values within 0x1p-13f of an odd multiple of
2878 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2879 exception. Add more tests.
2880 * sysdeps/i386/fpu/libm-test-ulps: Update.
2883 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2884 inputs and return -1 for them. Do not check for +Inf in case not
2886 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2887 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2888 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2889 and return -1 for them. Do not check for +Inf in case not
2891 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2893 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2894 and return -1 for them. Do not check for +Inf in case not
2896 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2898 * sysdeps/i386/fpu/libm-test-ulps: Update.
2899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2901 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2903 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2905 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2909 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2910 could result in spurious underflow. Scale down values above
2911 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2912 * math/s_csqrtf.c (__csqrtf): Likewise.
2913 * math/s_csqrtl.c (__csqrtl): Likewise.
2914 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2916 * sysdeps/i386/fpu/libm-test-ulps: Update.
2917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2919 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2921 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2923 * catgets/xopen-msg.awk: New file.
2924 * catgets/xopen-msg.sed: Removed.
2926 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2928 * intl/po2test.awk: New file.
2929 * intl/po2test.sed: Removed.
2931 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2934 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2935 or multiply small sinh result by itself.
2936 * math/s_ctanf.c (__ctanf): Likewise.
2937 * math/s_ctanh.c (__ctanh): Likewise.
2938 * math/s_ctanhf.c (__ctanhf): Likewise.
2939 * math/s_ctanhl.c (__ctanhl): Likewise.
2940 * math/s_ctanl.c (__ctanl): Likewise.
2941 * math/libm-test.inc (ctan_test_tonearest): New function.
2942 (ctan_test_towardzero): Likewise.
2943 (ctan_test_downward): Likewise.
2944 (ctan_test_upward): Likewise.
2945 (ctanh_test_tonearest): Likewise.
2946 (ctanh_test_towardzero): Likewise.
2947 (ctanh_test_downward): Likewise.
2948 (ctanh_test_upward): Likewise.
2949 (main): Call these new functions.
2950 * sysdeps/i386/fpu/libm-test-ulps: Update.
2951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2953 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2955 * .gitignore: Delete /ports entry.
2957 2012-07-03 Andreas Jaeger <aj@suse.de>
2959 * po/bg.po: Update from translation team.
2960 * po/cs.po: Likewise.
2961 * po/de.po: Likewise.
2962 * po/hr.po: Likewise.
2963 * po/nl.pl: Likewise.
2964 * po/pl.po: Likewise.
2965 * po/vi.po: Likewise.
2967 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2969 * Makeconfig [!+link] (+link-before-libc): New variable.
2970 [!+link] (+link-after-libc): Likewise.
2971 [!+link] (+link-tests): Likewise.
2972 [!+link] (+link): Define in terms of $(+link-before-libc) and
2973 $(+link-after-libc).
2974 [!+link-static] (+link-static-before-libc): New variable.
2975 [!+link-static] (+link-static-after-libc): Likewise.
2976 [!+link-static] (+link-static-tests): Likewise.
2977 [!+link-static] (+link-static): Define in terms of
2978 $(+link-static-before-libc) and $(+link-static-after-libc).
2979 [build-shared] (link-libc-before-gnulib): New variable.
2980 [build-shared] (link-libc-tests): Likewise.
2981 [build-shared] (link-libc): Define in terms of
2982 $(link-libc-before-gnulib).
2983 [!build-shared] (link-libc-tests): New variable.
2984 (link-libc-static-tests): New variable.
2985 [!gnulib] (gnulib-arch): New variable.
2986 [!gnulib] (gnulib-tests): Likewise.
2987 [!gnulib] (static-gnulib-arch): Likewise.
2988 [!gnulib] (static-gnulib-tests): Likewise.
2989 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2990 Define with "=" instead of ":=".
2991 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2992 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2993 * Rules (binaries-all-notests): New variable.
2994 (binaries-all-tests): Likewise.
2995 (binaries-static-notests): Likewise.
2996 (binaries-static-tests): Likewise.
2997 (binaries-all): Define using $(binaries-all-notests) and
2998 $(binaries-all-tests).
2999 (binaries-static): Define using $(binaries-static-notests) and
3000 $(binaries-static-tests).
3001 (binaries-shared-tests): New variable.
3002 (binaries-shared-notests): Likewise.
3003 (binaries-shared): Remove variable.
3004 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3005 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3006 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3007 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3008 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3009 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3010 * elf/Makefile (sln-modules): New variable.
3011 (extra-objs): Add $(sln-modules:=.o).
3012 (ldconfig-modules): Add static-stubs.
3013 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3014 * elf/static-stubs.c: New file.
3017 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3018 by 7 not 8 to examine high bit of fractional part. Use volatile
3019 variables when splitting into final array of floats if
3020 __FLT_EVAL_METHOD__ != 0.
3021 * math/libm-test.inc (cos_test): Add another test.
3022 (sin_test): Likewise.
3023 * sysdeps/i386/fpu/libm-test-ulps: Update.
3026 * math/libm-test.inc (cosh_test): Add more tests.
3028 * version.h (RELEASE): Set to "development".
3029 (VERSION): Set to "2.16.90".
3031 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3033 * NEWS: Update copyright. Remove last-updated date.
3034 Mention math library bug fixes and timezone data changes.
3035 * README: Mention GNU/Hurd, x32, and HPPA support status.
3037 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3039 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3041 2012-06-27 Andreas Jaeger <aj@suse.de>
3043 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3045 2012-06-25 Andreas Jaeger <aj@suse.de>
3047 * sysdeps/s390/fpu/libm-test-ulps: Update.
3049 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3050 Thomas Schwinge <thomas@codesourcery.com>
3052 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3053 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3054 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3057 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3059 * sysdeps/mach/start.c: Remove file.
3060 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3061 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3062 * sysdeps/sh/init-first.c: Likewise.
3064 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3065 registers for frame unwinding purposes, add CFI directives.
3066 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3067 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3068 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3071 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3072 __fortify_fail returning.
3073 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3075 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3076 sysdeps/sh/____longjmp_chk.S.
3077 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3078 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3079 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3080 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3082 * sysdeps/sh/abort-instr.h: New file.
3083 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3084 process in case exit returns.
3086 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3087 initialize the GOT register before use.
3089 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3090 calculation of ARGC > 4.
3092 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3093 meaningful names to some local labels.
3095 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3096 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3098 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3099 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3100 (__arch_compare_and_exchange_val_16_acq): Likewise.
3101 (__arch_compare_and_exchange_val_32_acq): Likewise.
3102 (atomic_exchange_and_add): Fix gUSA sequence.
3103 (atomic_add): Likewise.
3104 (atomic_add_negative): Likewise.
3105 (atomic_add_zero): Likewise.
3106 (atomic_bit_test_set): Likewise.
3108 2012-06-22 Andreas Schwab <schwab@redhat.com>
3111 * include/link.h (struct link_map): Add l_free_initfini.
3112 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3114 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3115 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3116 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3119 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3121 * configure.in: Use AC_LANG_SOURCE.
3122 * configure: Regenerate.
3124 2012-06-22 Roland McGrath <roland@hack.frob.com>
3126 * configure.in (libc_cv_localstatedir): New substituted variable.
3127 * configure: Regenerated.
3128 * config.make.in (localstatedir): New variable, substituted from
3129 libc_cv_localstatedir.
3130 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3131 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3132 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3133 * sysdeps/gnu/configure: Regenerated.
3135 2012-06-21 Jeff Law <law@redhat.com>
3138 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3139 free. Simplify list management for _LIBC case.
3141 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3144 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3145 Clear sign bit of 64-bit integer value before comparing against
3148 * sysdeps/mach/configure: Regenerated.
3150 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3153 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3155 2012-06-21 Jeff Law <law@redhat.com>
3158 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3159 uint16_t for elements in the "seen" array to avoid char overflows.
3160 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3161 * elf/dl-open.c (dl_open_worker): Likewise.
3163 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3165 * scripts/list-sources.sh: Scan PORTS for translations.
3166 * po/libc.pot: Regenerated.
3168 2012-06-21 Andreas Jaeger <aj@suse.de>
3171 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3173 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3174 * bits/byteswap-16.h (__bswap_16): Likewise.
3175 * bits/byteswap.h (__bswap_constant_16): Likewise.
3177 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3180 * sysdeps/i386/fpu_control.h: Removed.
3181 * sysdeps/x86_64/fpu_control.h: Moved to ...
3182 * sysdeps/x86/fpu_control.h: Here.
3184 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3185 (_FPU_SETCW): Likewise.
3187 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3190 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3191 * sysdeps/x86/fpu/bits/mathinline.h: This.
3192 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3196 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3197 functions if __x86_64__ is defined.
3199 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3201 * string/endian.h: Add !__ASSEMBLER__ condition for including
3202 conversion interfaces.
3204 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3207 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3208 of ABS(x) in calculating zero to negative powers other than odd
3210 * math/libm-test.inc (pow_test): Add more tests.
3212 2012-06-15 Andreas Jaeger <aj@suse.de>
3214 * manual/contrib.texi (Contributors): Update entry of Liubov
3215 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3218 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3220 * string/string.h: Add __wur to GNU version of strerror_r.
3222 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3225 * string/Makefile (tests): Add tst-strtok_r.
3226 * string/tst-strtok_r.c: New file.
3227 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3228 RAX_LP/RDX_LP on SAVE_PTR.
3230 2012-06-14 Roland McGrath <roland@hack.frob.com>
3232 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3234 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3236 * libm_test.inc (csqrt_test): Allow more spurious underflow
3238 (j0_test): Likewise.
3239 (j1_test): Likewise.
3240 (y0_test): Likewise.
3241 (y1_test): Likewise.
3243 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3245 * po/Makefile (libc.pot): Use UTF-8 charset.
3247 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3250 Suppress sign-conversion warning from FD_SET.
3251 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3252 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3253 not unsigned long int.
3254 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3256 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3260 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3261 __extern_always_inline instead of __extern_inline.
3262 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3263 (__signbit): Likewise.
3264 (__signbitl): Support C++ namespace.
3265 (lrintf): New inline function.
3267 (llrintf): Likewise.
3279 (nearbyint): Likewise.
3280 (nearbyintf): Likewise.
3282 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3284 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3285 non-default versions.
3287 2012-06-11 Roland McGrath <roland@hack.frob.com>
3290 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3292 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3294 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3295 (FE_UPWARD, FE_DOWNWARD): Don't define.
3296 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3297 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3299 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3301 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3302 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3304 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3306 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3307 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3308 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3309 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3311 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3314 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3315 * sysdeps/i386/fpu/Implies: New file.
3316 * sysdeps/x86_64/fpu/Implies: Likewise.
3317 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3318 * sysdeps/x86/fpu/bits/fenv.h: This.
3320 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3323 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3326 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3327 character 0xffff that matches the last element of the
3330 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3332 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3335 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3337 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3338 values higher than 25.6283.
3340 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3342 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3343 subnormal exponent extraction and add some __builtin_expect.
3344 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3345 Fix for subnormal mantissa calculation.
3347 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3349 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3350 cpu2 is -1 and errno is not ENOSYS.
3352 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3355 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3356 * sysdeps/x86/bits/string.h: This.
3357 * sysdeps/x86_64/bits/string.h: Removed.
3359 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3360 if not compiling for x86-64, but compiling for >= i486.
3362 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3363 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3365 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3366 New macro from Linux kernel 3.4.0.
3367 (FP_XSTATE_MAGIC2): Likewise.
3368 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3369 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3370 (struct _fpx_sw_bytes): New struct.
3371 (struct _xsave_hdr): Likewise.
3372 (struct _ymmh_state): Likewise.
3373 (struct _xstate): Likewise.
3375 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3376 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3377 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3378 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3379 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3380 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3382 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3383 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3384 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3385 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3386 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3387 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3389 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3392 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3393 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3394 (sysdep_headers): Include sys/platform/ppc.h.
3395 * sysdeps/powerpc/test-gettimebase.c: Test for
3396 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3397 * manual/Makefile (appendices): Include platform.texi.
3398 * manual/contrib.texi (Contributors): Update @node pointers.
3399 * manual/maint.texi (Maintenance): Likewise.
3400 (Platform): New node.
3401 * manual/platform.texi: New file. Document the new features.
3403 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3404 Jakub Jelinek <jakub@redhat.com>
3407 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3408 where __builtin_expect is unavailable.
3410 2012-06-03 David S. Miller <davem@davemloft.net>
3412 * stdlib/longlong.h: Updated from GCC.
3414 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3417 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3418 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3421 (GLIBC_2.16): Likewise.
3423 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3425 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3427 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3430 (default-abi): New variable.
3431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3432 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3434 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3436 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3438 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3441 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3442 definition. Document in comment.
3444 2012-06-01 David S. Miller <davem@davemloft.net>
3446 * stdlib/longlong.h: Updated from GCC.
3448 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3451 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3452 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3453 sys/debugreg.h sys/io.h here.
3454 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3455 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3457 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3458 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3459 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3460 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3461 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3462 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3464 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3465 Define only if __x86_64__ is defined.
3467 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3470 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3471 Use int64_t for variable i.
3472 * math/libm-test.inc (fmod_test): Add more tests.
3474 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3475 z computation is not scheduled after fetestexcept.
3476 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3477 Use math_force_eval instead of asm to ensure calculation scheduled
3478 before exception test.
3479 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3480 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3482 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3485 computation is not scheduled after fetestexcept.
3487 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3490 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3491 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3493 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3495 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3496 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3498 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3501 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3503 (__WCHAR_MIN): Support __WORDSIZE == 64.
3504 (__WCHAR_MAX): Likewise.
3506 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3507 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3510 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3511 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3514 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3515 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3517 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3518 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3520 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3521 Defined to 1 if __x86_64__ isn't defined.
3522 (_STAT_VER_LINUX_OLD): New.
3523 (st_atime): Remove duplicate.
3524 (st_mtime): Likewise.
3525 (st_ctime): Likewise.
3527 2012-05-31 David S. Miller <davem@davemloft.net>
3529 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3532 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3534 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3538 * elf/dl-reloc.c: Include <_itoa.h>.
3539 (_dl_reloc_bad_type): Remove use of INTUSE.
3540 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3541 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3542 * stdio-common/psiginfo.c (psiginfo): Likewise.
3543 * stdio-common/psignal.c (psignal): Likewise.
3544 * string/strsignal.c (strsignal): Likewise.
3545 * include/signal.h (_sys_siglist): Declare hidden proto.
3546 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3547 INTVARDEF with libc_hidden_data_def.
3548 * stdio-common/itoa-udigits.c: Likewise.
3549 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3550 (_itoa_lower_digits_internal): Remove declaration.
3551 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3552 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3553 (_sys_sigabbrev_internal): Remove aliases.
3554 (_sys_siglist): Define hidden alias.
3556 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3561 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3564 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3565 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3567 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3568 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3569 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3570 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3571 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3572 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3574 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3575 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3576 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3578 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3586 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3587 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3588 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3590 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3591 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3592 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3593 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3594 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3595 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3597 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3598 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3600 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3601 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3603 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3604 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3605 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3607 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3608 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3610 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3612 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3613 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3614 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3616 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3618 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3620 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3622 * math/math.h (M_El): Use two more decimal places.
3623 (M_LOG2El): Likewise.
3624 (M_LOG10El): Likewise.
3626 (M_LN10l): Likewise.
3628 (M_PI_2l): Likewise.
3629 (M_PI_4l): Likewise.
3630 (M_1_PIl): Likewise.
3631 (M_2_PIl): Likewise.
3632 (M_2_SQRTPIl): Likewise.
3633 (M_SQRT2l): Likewise.
3634 (M_SQRT1_2l): Likewise.
3636 2012-05-31 David S. Miller <davem@davemloft.net>
3638 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3639 values between float registers.
3640 * sysdeps/sparc/sparc64/memset.S: Likewise.
3641 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3643 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3645 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3646 -D_FORTIFY_SOURCE=1.
3647 (CPPFLAGS-tst-longjmp_chk.c): Define.
3648 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3649 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3650 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3651 CFLAGS-tst-wchar-h.c.
3653 2012-05-31 Marek Polacek <polacek@redhat.com>
3656 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3657 __endmntent_internal): Remove declaration.
3658 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3659 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3660 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3662 2012-05-30 David S. Miller <davem@davemloft.net>
3664 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3665 (___Q_simulate_exceptions): Use real FP ops rather than writing
3667 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3670 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3673 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3674 * sysdeps/x86/bits/xtitypes.h: This.
3676 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3677 * sysdeps/x86/bits/wordsize.h: This.
3679 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3680 * sysdeps/x86/bits/huge_vall.h: This.
3682 * sysdeps/i386/bits/select.h: Removed.
3683 * sysdeps/x86_64/bits/select.h: Renamed to ...
3684 * sysdeps/x86/bits/select.h: This.
3686 * sysdeps/i386/bits/setjmp.h: Removed.
3687 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3688 * sysdeps/x86/bits/setjmp.h: This.
3690 * sysdeps/i386/bits/mathdef.h: Removed.
3691 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3692 * sysdeps/x86/bits/mathdef.h: This.
3694 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3697 * include/sys/socket.h (__connect_internal)
3698 (__libc_sa_len_internal): Remove declaration.
3699 (__connect, __libc_sa_len): Declare hidden_proto.
3700 (SA_LEN): Remove use of INTUSE.
3701 * socket/connect.c: Add libc_hidden_def.
3702 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3703 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3704 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3706 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3707 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3708 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3709 of adding _internal alias.
3711 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3714 * sysdeps/i386/bits/link.h: Removed.
3715 * sysdeps/i386/bits/linkmap.h: Likewise.
3716 * sysdeps/x86_64/bits/link.h: Renamed to ...
3717 * sysdeps/x86/bits/link.h: This.
3718 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3719 * sysdeps/x86/bits/linkmap.h: This.
3721 * sysdeps/i386/bits/endian.h: Removed.
3722 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3723 * sysdeps/x86/bits/endian.h: This.
3725 * sysdeps/i386/bits/byteswap.h: Removed.
3726 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3727 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3728 * sysdeps/x86/bits/byteswap.h: This.
3729 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3730 * sysdeps/x86/bits/byteswap-16.h: This.
3731 * sysdeps/i386/Implies: Add x86.
3732 * sysdeps/x86_64/Implies: Likewise.
3734 2012-05-30 David S. Miller <davem@davemloft.net>
3736 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3737 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3738 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3739 (FP_TRAPPING_EXCEPTIONS): Define.
3740 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3741 (FP_TRAPPING_EXCEPTIONS): Define.
3742 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3743 subnormals only when inexact has been signalled or underflow
3744 exceptions are enabled.
3745 (_FP_PACK_CANONICAL): Likewise.
3747 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3750 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3751 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3753 2012-05-30 Richard Henderson <rth@twiddle.net>
3755 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3756 with #ifndef NOT_IN_libc.
3758 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3759 marked to avoid plt entry.
3761 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3764 * Makeconfig (default-abi): New macro.
3765 (abi-includes): Likewise.
3766 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3767 $(abi-$(default-abi)-lib-soname) for soname if defined.
3768 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3770 * Makefile (installed-stubs): Likewise.
3771 * include/stubs-biarch.h: Removed.
3772 * scripts/lib-names.awk: Only handle one library at a time.
3773 * scripts/soversions.awk: Remove WORDSIZE support.
3774 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3776 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3778 (syscall-list-default-condition): Likewise.
3779 (syscall-list-default-condition): Likewise.
3780 (syscall-list-includes): Likewise.
3781 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3782 syscall-list-* with abi-*. Handle undefined abi-variants.
3783 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3784 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3785 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3786 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3787 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3788 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3790 (syscall-list-32-options): Likewise.
3791 (syscall-list-32-condition): Likewise.
3792 (syscall-list-64-options): Likewise.
3793 (syscall-list-64-condition): Likewise.
3794 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3796 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3799 (abi-64-ld-soname): New macro.
3800 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3801 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3804 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3805 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3807 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3809 * sysdeps/unix/sysv/linux/kernel-features.h
3810 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3811 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3812 include <kernel-features.h>.
3813 [!__NR_ftruncate64]: Remove conditional code.
3814 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3815 [__NR_ftruncate64]: Make code unconditional.
3816 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3817 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3818 include <kernel-features.h>.
3819 [!__NR_ftruncate64]: Remove conditional code.
3820 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3821 [__NR_ftruncate64]: Make code unconditional.
3822 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3824 include <kernel-features.h>.
3825 [!__NR_ftruncate64]: Remove conditional code.
3826 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3827 [__NR_ftruncate64]: Make code unconditional.
3828 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3830 include <kernel-features.h>.
3831 [!__NR_ftruncate64]: Remove conditional code.
3832 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3833 [__NR_ftruncate64]: Make code unconditional.
3834 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3836 * configure.in (libc_cv_fpie): Weaken to a compile test using
3838 * configure: Regenerated.
3840 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3855 2012-05-27 David S. Miller <davem@davemloft.net>
3857 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3859 (__Q_simulate_exceptions): Return void. Change to simulate
3860 exceptions by writing into the %fsr.
3861 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3862 (__Qp_handle_exceptions): Likewise.
3864 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3865 __Qp_handle_exceptions.
3866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3867 __Qp_handle_exceptions.
3868 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3869 as unused and give dummy FP_RND_NEAREST initializer.
3870 (FP_INHIBIT_RESULTS): Define.
3871 (___Q_simulate_exceptions): Update declaration.
3872 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3874 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3875 as unused and give dummy FP_RND_NEAREST initializer.
3876 (__Qp_handle_exceptions): Update declaration.
3877 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3880 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3882 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3883 the temporary FPU control word.
3884 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3885 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3886 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3887 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3888 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3889 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3890 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3891 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3892 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3893 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3894 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3896 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3898 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3901 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3903 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3904 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3905 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3906 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3908 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3909 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3912 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3914 * po/h.po: Update from translation team.
3916 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3918 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3920 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3921 handling of denormals.
3922 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3923 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3924 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3925 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3926 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3927 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3928 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3931 2012-05-26 Marek Polacek <polacek@redhat.com>
3934 * math/libm-test.inc (fma_test): Don't always expect underflow
3937 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3940 * elf/tst-execstack.c: Include stackinfo.h.
3941 (do_test): Adjust test case to ensure that pthread_getattr_np
3942 behaviour remains the same after marking stack executable.
3944 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3946 * sysdeps/unix/sysv/linux/kernel-features.h
3947 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3948 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3950 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3951 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3952 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3954 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3955 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3957 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3959 * configure.in: Define the default includes to being none.
3960 * configure: Regenerated.
3962 2012-05-25 Roland McGrath <roland@hack.frob.com>
3964 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3965 * sysdeps/x86_64/setjmp.S: Likewise.
3966 * sysdeps/i386/bsd-setjmp.S: Likewise.
3967 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3968 * sysdeps/i386/setjmp.S: Likewise.
3969 * sysdeps/i386/__longjmp.S: Likewise.
3970 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3971 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3973 * include/stap-probe.h: New file.
3974 * configure.in: Handle --enable-systemtap.
3975 * configure: Regenerated.
3976 * config.h.in (USE_STAP_PROBE): New #undef.
3977 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3978 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3979 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3981 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3984 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3985 to 2.4.0 where earlier.
3986 * sysdeps/unix/sysv/linux/configure: Regenerated.
3987 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3988 <kernel-features.h>.
3989 [__ASSUME_32BITUIDS]: Make code unconditional.
3990 [!__ASSUME_32BITUIDS]: Remove conditional code.
3991 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3992 <kernel-features.h>.
3993 [__ASSUME_32BITUIDS]: Make code unconditional.
3994 [!__ASSUME_32BITUIDS]: Remove conditional code.
3995 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3996 [__ASSUME_32BITUIDS]: Make code unconditional.
3997 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3998 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3999 <kernel-features.h>.
4000 [__ASSUME_32BITUIDS]: Make code unconditional.
4001 [!__ASSUME_32BITUIDS]: Remove conditional code.
4002 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4003 <kernel-features.h>.
4004 [__ASSUME_32BITUIDS]: Make code unconditional.
4005 [!__ASSUME_32BITUIDS]: Remove conditional code.
4006 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4007 <kernel-features.h>.
4008 [__ASSUME_32BITUIDS]: Make code unconditional.
4009 [!__ASSUME_32BITUIDS]: Remove conditional code.
4010 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4011 <kernel-features.h>.
4012 [__ASSUME_32BITUIDS]: Make code unconditional.
4013 [!__ASSUME_32BITUIDS]: Remove conditional code.
4014 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4015 <kernel-features.h>.
4016 [__ASSUME_32BITUIDS]: Make code unconditional.
4017 [!__ASSUME_32BITUIDS]: Remove conditional code.
4018 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4019 <kernel-features.h>.
4020 [__ASSUME_32BITUIDS]: Make code unconditional.
4021 [!__ASSUME_32BITUIDS]: Remove conditional code.
4022 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4023 <kernel-features.h>.
4024 [__ASSUME_32BITUIDS]: Make code unconditional.
4025 [!__ASSUME_32BITUIDS]: Remove conditional code.
4026 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4027 <kernel-features.h>.
4028 [__ASSUME_32BITUIDS]: Make code unconditional.
4029 [!__ASSUME_32BITUIDS]: Remove conditional code.
4030 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4031 <kernel-features.h>.
4032 [__ASSUME_32BITUIDS]: Make code unconditional.
4033 [!__ASSUME_32BITUIDS]: Remove conditional code.
4034 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4035 <kernel-features.h>.
4036 [__ASSUME_32BITUIDS]: Make code unconditional.
4037 [!__ASSUME_32BITUIDS]: Remove conditional code.
4038 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4039 <kernel-features.h>.
4040 [__NR_setresgid] (__setresgid): Do not declare.
4041 [__ASSUME_32BITUIDS]: Make code unconditional.
4042 [!__ASSUME_32BITUIDS]: Remove conditional code.
4043 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4044 <kernel-features.h>.
4045 [__NR_setresuid] (__setresuid): Do not declare.
4046 [__ASSUME_32BITUIDS]: Make code unconditional.
4047 [!__ASSUME_32BITUIDS]: Remove conditional code.
4048 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4049 <kernel-features.h>.
4050 [__ASSUME_32BITUIDS]: Make code unconditional.
4051 [!__ASSUME_32BITUIDS]: Remove conditional code.
4052 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4053 <kernel-features.h>.
4054 [__ASSUME_32BITUIDS]: Make code unconditional.
4055 [!__ASSUME_32BITUIDS]: Remove conditional code.
4056 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4057 <kernel-features.h>.
4058 [__ASSUME_32BITUIDS]: Make code unconditional.
4059 [!__ASSUME_32BITUIDS]: Remove conditional code.
4060 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4061 <kernel-features.h>.
4062 [__ASSUME_32BITUIDS]: Make code unconditional.
4063 [!__ASSUME_32BITUIDS]: Remove conditional code.
4064 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4065 <kernel-features.h>.
4066 [__ASSUME_32BITUIDS]: Make code unconditional.
4067 [!__ASSUME_32BITUIDS]: Remove conditional code.
4068 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4069 <kernel-features.h>.
4070 [__ASSUME_32BITUIDS]: Make code unconditional.
4071 [!__ASSUME_32BITUIDS]: Remove conditional code.
4072 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4073 <kernel-features.h>.
4074 [__ASSUME_32BITUIDS]: Make code unconditional.
4075 [!__ASSUME_32BITUIDS]: Remove conditional code.
4076 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4077 <kernel-features.h>.
4078 [__ASSUME_32BITUIDS]: Make code unconditional.
4079 [!__ASSUME_32BITUIDS]: Remove conditional code.
4080 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4081 <kernel-features.h>.
4082 [__ASSUME_32BITUIDS]: Make code unconditional.
4083 [!__ASSUME_32BITUIDS]: Remove conditional code.
4084 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4085 <kernel-features.h>.
4086 [__ASSUME_32BITUIDS]: Make code unconditional.
4087 [!__ASSUME_32BITUIDS]: Remove conditional code.
4088 * sysdeps/unix/sysv/linux/kernel-features.h
4089 (__ASSUME_SETRESUID_SYSCALL): Remove.
4090 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4091 (__ASSUME_32BITUIDS): Likewise.
4092 (__ASSUME_LDT_WORKS): Likewise.
4093 (__ASSUME_O_DIRECTORY): Likewise.
4094 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4095 architecture but not kernel version.
4096 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4097 (__ASSUME_MMAP2_SYSCALL): Likewise.
4098 (__ASSUME_STAT64_SYSCALL): Likewise.
4099 (__ASSUME_IPC64): Likewise.
4100 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4101 <kernel-features.h>.
4102 [__ASSUME_32BITUIDS]: Make code unconditional.
4103 [!__ASSUME_32BITUIDS]: Remove conditional code.
4104 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4105 <kernel-features.h>.
4106 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4107 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4108 132096]: Remove conditional code.
4109 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4110 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4111 <kernel-features.h>.
4112 [__ASSUME_32BITUIDS]: Make code unconditional.
4113 [!__ASSUME_32BITUIDS]: Remove conditional code.
4114 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4115 <kernel-features.h>.
4116 [__ASSUME_32BITUIDS]: Make code unconditional.
4117 [!__ASSUME_32BITUIDS]: Remove conditional code.
4118 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4119 <kernel-features.h>.
4120 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4122 (__setresgid): Do not declare.
4123 [__ASSUME_32BITUIDS]: Make code unconditional.
4124 [!__ASSUME_32BITUIDS]: Remove conditional code.
4125 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4126 <kernel-features.h>.
4127 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4129 (__setresuid): Do not declare.
4130 [__ASSUME_32BITUIDS]: Make code unconditional.
4131 [!__ASSUME_32BITUIDS]: Remove conditional code.
4132 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4133 <kernel-features.h>.
4134 [__ASSUME_32BITUIDS]: Make code unconditional.
4135 [!__ASSUME_32BITUIDS]: Remove conditional code.
4136 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4137 <kernel-features.h>.
4138 [__ASSUME_32BITUIDS]: Make code unconditional.
4139 [!__ASSUME_32BITUIDS]: Remove conditional code.
4141 2012-05-25 Richard Henderson <rth@twiddle.net>
4143 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4144 dl_hwcap to ifunc resolver.
4145 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4147 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4148 dl_hwcap to ifunc resolver.
4149 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4151 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4154 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4155 for |x| <= 2**-26, not 2**-57.
4156 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4159 2012-05-24 Jeff Law <law@redhat.com>
4161 * stdio-common/Makefile (tests): Add bug25.
4162 * stdio-common/bug25.c: New test.
4164 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4167 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4168 multiple of MALLOC_ALIGNMENT in size.
4169 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4171 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4173 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4175 (FILENAME_MAX): Use macro-int-constant.
4176 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4177 (_IOFBF): Use macro-int-constant.
4180 (SEEK_CUR): Likewise.
4181 (SEEK_END): Likewise.
4182 (SEEK_SET): Likewise.
4183 (TMP_MAX): Likewise.
4184 (EOF): Use macro-int-constant. Require < 0.
4185 (NULL): Use macro-constant. Require == 0.
4186 (stdin): Require type to be FILE *.
4189 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4191 (EXIT_SUCCESS): Likewise.
4192 (NULL): Use macro-constant. Require == 0.
4193 (RAND_MAX): Use macro-int-constant.
4194 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4195 [C99-based standards] (strtof): Require function.
4196 [C99-based standards] (strtold): Likewise.
4197 [C99-based standards] (strtoll): Likewise.
4198 [C99-based standards] (strtoull): Likewise.
4199 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4200 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4201 [ISO || ISO99 || ISO11] (math.h): Likewise.
4202 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4203 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4206 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4209 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4210 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4211 * intl/dgettext.c (DCGETTEXT): Likewise.
4212 * intl/gettext.c (DCGETTEXT): Likewise.
4213 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4214 * posix/regex_internal.h (gettext): Likewise.
4215 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4217 * include/argz.h (__argz_count_internal)
4218 (__argz_stringify_internal): Remove declaration.
4219 (__argz_count, __argz_stringify): Declare hidden proto.
4220 * intl/dcgettext.c: Remove use of INTDEF.
4221 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4222 * string/argz-stringify.c: Likewise.
4223 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4224 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4225 Declare hidden proto.
4226 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4227 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4228 Declare hidden proto.
4229 * include/stdio.h (__asprintf_internal): Don't declare.
4230 (__asprintf): Don't define as macro. Declare hidden proto.
4231 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4232 (__fsetlocking): Declare hidden proto.
4233 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4234 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4236 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4237 (_IO_setlinebuf): Remove use of INTUSE.
4238 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4239 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4240 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4242 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4243 (_IO_do_flush): Remove use of INTUSE.
4244 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4245 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4246 (_IO_adjust_column, _IO_least_wmarker)
4247 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4248 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4249 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4250 (_IO_default_doallocate, _IO_wdefault_doallocate)
4251 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4252 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4253 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4254 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4255 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4256 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4257 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4258 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4259 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4260 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4261 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4262 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4263 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4265 (_IO_flush_all_internal, _IO_adjust_column_internal)
4266 (_IO_default_uflow_internal, _IO_default_finish_internal)
4267 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4268 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4269 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4270 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4271 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4272 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4273 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4274 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4275 (_IO_file_close_internal, _IO_file_close_it_internal)
4276 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4277 (_IO_file_init_internal, _IO_file_attach_internal)
4278 (_IO_file_fopen_internal, _IO_file_read_internal)
4279 (_IO_file_sync_internal, _IO_file_seek_internal)
4280 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4281 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4282 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4283 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4284 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4285 (_IO_list_all_internal, _IO_link_in_internal)
4286 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4287 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4288 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4289 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4290 (_IO_do_write_internal, _IO_padn_internal)
4291 (_IO_getline_info_internal, _IO_getline_internal)
4292 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4293 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4294 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4295 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4296 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4297 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4298 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4299 with libc_hidden_ver, remove use of INTUSE.
4300 * libio/genops.c: Likewise.
4301 * libio/freopen.c: Likewise.
4302 * libio/freopen64.c: Likewise.
4303 * libio/iofclose.c: Likewise.
4304 * libio/iofdopen.c: Likewise.
4305 * libio/iofflush.c: Likewise.
4306 * libio/iofflush_u.c: Likewise.
4307 * libio/iofgets.c: Likewise.
4308 * libio/iofgets_u.c: Likewise.
4309 * libio/iofopen.c: Likewise.
4310 * libio/iofopncook.c: Likewise.
4311 * libio/iofread.c: Likewise.
4312 * libio/iofread_u.c: Likewise.
4313 * libio/ioftell.c: Likewise.
4314 * libio/iofwrite.c: Likewise.
4315 * libio/iogetline.c: Likewise.
4316 * libio/iogets.c: Likewise.
4317 * libio/iogetwline.c: Likewise.
4318 * libio/iopadn.c: Likewise.
4319 * libio/iopopen.c: Likewise.
4320 * libio/ioseekoff.c: Likewise.
4321 * libio/ioseekpos.c: Likewise.
4322 * libio/iosetbuffer.c: Likewise.
4323 * libio/iosetvbuf.c: Likewise.
4324 * libio/ioungetc.c: Likewise.
4325 * libio/ioungetwc.c: Likewise.
4326 * libio/iovdprintf.c: Likewise.
4327 * libio/iovsprintf.c: Likewise.
4328 * libio/iovsscanf.c: Likewise.
4329 * libio/memstream.c: Likewise.
4330 * libio/obprintf.c: Likewise.
4331 * libio/oldfileops.c: Likewise.
4332 * libio/oldiofclose.c: Likewise.
4333 * libio/oldiofdopen.c: Likewise.
4334 * libio/oldiofopen.c: Likewise.
4335 * libio/oldiopopen.c: Likewise.
4336 * libio/oldstdfiles.c: Likewise.
4337 * libio/putc.c: Likewise.
4338 * libio/setbuf.c: Likewise.
4339 * libio/setlinebuf.c: Likewise.
4340 * libio/stdfiles.c: Likewise.
4341 * libio/strops.c: Likewise.
4342 * libio/vasprintf.c: Likewise.
4343 * libio/vscanf.c: Likewise.
4344 * libio/vsnprintf.c: Likewise.
4345 * libio/vswprintf.c: Likewise.
4346 * libio/wfiledoalloc.c: Likewise.
4347 * libio/wfileops.c: Likewise.
4348 * libio/wgenops.c: Likewise.
4349 * libio/wmemstream.c: Likewise.
4350 * libio/wstrops.c: Likewise.
4351 * libio/__fpurge.c: Likewise.
4352 * libio/__fsetlocking.c: Likewise.
4353 * assert/assert.c: Likewise.
4354 * debug/fgets_chk.c: Likewise.
4355 * debug/fgets_u_chk.c: Likewise.
4356 * debug/fread_chk.c: Likewise.
4357 * debug/fread_u_chk.c: Likewise.
4358 * debug/gets_chk.c: Likewise.
4359 * debug/obprintf_chk.c: Likewise.
4360 * debug/vasprintf_chk.c: Likewise.
4361 * debug/vdprintf_chk.c: Likewise.
4362 * debug/vsnprintf_chk.c: Likewise.
4363 * debug/vsprintf_chk.c: Likewise.
4364 * malloc/mtrace.c: Likewise.
4365 * misc/error.c: Likewise.
4366 * misc/syslog.c: Likewise.
4367 * stdio-common/asprintf.c: Likewise.
4368 * stdio-common/fxprintf.c: Likewise.
4369 * stdio-common/getw.c: Likewise.
4370 * stdio-common/isoc99_fscanf.c: Likewise.
4371 * stdio-common/isoc99_scanf.c: Likewise.
4372 * stdio-common/isoc99_vfscanf.c: Likewise.
4373 * stdio-common/isoc99_vscanf.c: Likewise.
4374 * stdio-common/isoc99_vsscanf.c: Likewise.
4375 * stdio-common/printf-prs.c: Likewise.
4376 * stdio-common/printf_fp.c: Likewise.
4377 * stdio-common/printf_fphex.c: Likewise.
4378 * stdio-common/printf_size.c: Likewise.
4379 * stdio-common/putw.c: Likewise.
4380 * stdio-common/scanf.c: Likewise.
4381 * stdio-common/sprintf.c: Likewise.
4382 * stdio-common/tmpfile.c: Likewise.
4383 * stdio-common/vfprintf.c: Likewise.
4384 * stdio-common/vfscanf.c: Likewise.
4385 * stdlib/strfmon_l.c: Likewise.
4386 * sunrpc/openchild.c: Likewise.
4387 * sunrpc/xdr_stdio.c: Likewise.
4388 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4389 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4391 2012-05-24 Roland McGrath <roland@hack.frob.com>
4393 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4395 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4396 in the third column, to generate for the shared library an IFUNC
4397 that uses _dl_vdso_vsym.
4398 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4399 * Makeconfig (object-suffixes-noshared): New variable.
4401 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4402 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4403 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4404 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4407 * include/sys/time.h (__gettimeofday): Remove macro.
4408 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4409 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4411 (__gettimeofday): Add libc_hidden_def.
4412 (gettimeofday): Add libc_hidden_weak.
4413 * sysdeps/mach/gettimeofday.c: Likewise.
4414 * sysdeps/posix/gettimeofday.c: Likewise.
4415 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4416 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4417 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4418 (__gettimeofday_internal): Remove strong_alias.
4419 (__gettimeofday): Add libc_hidden_def.
4420 (gettimeofday): Add libc_hidden_weak.
4421 * sysdeps/unix/syscalls.list (gettimeofday):
4422 Remove __gettimeofday_internal alias.
4424 2012-05-24 Daniel Jacobowitz <drow@false.org>
4425 H.J. Lu <hongjiu.lu@intel.com>
4428 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4429 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4430 (largebin_index_32_big): New.
4431 (largebin_index): Use it for 16-byte alignment.
4432 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4433 correction with front_misalign.
4435 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4463 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4464 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4466 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4470 * math/libm-test.inc (exp_test): Add test from bug 14036.
4471 (pow_test): Add test from bug 10846.
4473 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4475 (special_function): Do not include flags in test name.
4476 (parse_args): Likewise.
4477 * sysdeps/i386/fpu/libm-test-ulps: Update.
4478 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4479 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4480 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4483 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4485 * math/libm-test.inc ("Philosophy"): Update comment about
4487 (UNDERFLOW_EXCEPTION): New macro.
4488 (UNDERFLOW_EXCEPTION_OK): Likewise.
4489 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4490 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4491 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4492 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4493 (INVALID_EXCEPTION_OK): Update value.
4494 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4495 (OVERFLOW_EXCEPTION_OK): Likewise.
4496 (IGNORE_ZERO_INF_SIGN): Likewise.
4497 (test_exceptions): Handle underflow exceptions.
4498 (acos_test): Update for underflow exception expectations.
4499 (cexp_test): Likewise.
4500 (clog_test): Likewise.
4501 (clog10_test): Likewise.
4502 (csqrt_test): Likewise.
4503 (ctan_test): Likewise.
4504 (ctanh_test): Likewise.
4505 (exp_test): Likewise.
4506 (exp10_test): Likewise.
4507 (exp2_test): Likewise.
4508 (expm1_test): Likewise.
4509 (fma_test): Likewise.
4510 (j0_test): Likewise.
4511 (jn_test): Likewise.
4512 (nexttoward_test): Likewise.
4513 (pow_test): Likewise.
4514 (scalbn_test): Likewise.
4515 (scalbln_test): Likewise.
4516 (tan_test): Likewise.
4517 (y1_test): Likewise.
4518 * sysdeps/i386/fpu/libm-test-ulps: Update.
4519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4521 2012-05-23 David S. Miller <davem@davemloft.net>
4523 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4524 (__libc_sigaction): Remove unused local variables.
4526 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4528 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4530 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4532 mktime: avoid signed integer overflow
4533 * time/mktime.c (__mktime_internal): Do not mishandle the case
4534 where diff == INT_MIN.
4536 mktime: simplify computation of average
4537 * time/mktime.c (ranged_convert): Use new time_t_avg function
4538 instead of rolling our own (probably-slower) code.
4540 mktime: do not assume signed right shift propagates sign bit
4541 * time/mktime.c (isdst_differ): New static function.
4542 (__mktime_internal): No need to normalize tm_isdst now.
4543 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4546 mktime: merge another wrapv change from gnulib
4547 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4548 from some compilers.
4550 mktime: remove incorrect attempt at unusual arithmetics
4551 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4552 The code didn't really work on such machines anyway.
4553 (TYPE_MINIMUM): Assume two's complement.
4554 (twos_complement_arithmetic): Verify that long_int and time_t
4555 are two's complement (or unsigned, in the latter case).
4557 mktime: check signed shifts on long_int and time_t, too
4558 * time/mktime.c (SHR): Check that shifts work as desired
4559 on the types long_int and time_t too, as SHR is used on
4562 mktime: do not assume 'long' is wide enough
4563 * time/mktime.c (verify): Move decl up.
4564 (long_int): New type.
4565 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4566 to remove assumption in the code that 'long' is wide enough to
4567 store year values. This assumption is not true on x32 and on
4568 some non-glibc platforms.
4570 mktime: merge wrapv change from gnulib
4571 * time/mktime.c (WRAPV): New macro.
4572 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4573 (guess_time_tm, __mktime_internal): Do not assume that signed
4574 integer overflow wraps around; modern compilers generate code
4575 where this assumption is no longer valid.
4577 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4579 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4580 Replace "jmp L(pseudo_end)" with "ret".
4581 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4584 2012-05-23 Andreas Jaeger <aj@suse.de>
4586 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4587 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4589 2012-05-23 Andreas Jaeger <aj@suse.de>
4590 Maximilian Attems <max@stro.at>
4592 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4595 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4597 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4598 code so that pseudo_end is just ret and the stack pointer is
4599 correct also for static library in error case.
4601 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4603 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4604 move to syscalls.list.
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4610 * manual/install.texi (Running make install): Do not mention Linux
4611 kernel version for which pt_chown is not needed.
4612 (Linux): Do not mention problems with nscd with 2.0 kernels.
4613 * INSTALL: Regenerated.
4615 2012-05-23 Andreas Jaeger <aj@suse.de>
4617 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4618 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4620 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4621 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4622 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4623 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4624 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4625 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4626 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4627 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4628 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4629 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4630 * sysdeps/unix/sysv/linux/bits/in.h
4631 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4633 2012-05-22 Roland McGrath <roland@hack.frob.com>
4635 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4636 (PREPARE_VERSION): Just use assert instead, it will be elided
4637 under [NDEBUG] anyway.
4639 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4641 * sysdeps/unix/sysv/linux/Makefile: Include
4642 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4643 (sysdep_routines): Remove sysctl.
4644 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4645 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4646 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4647 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4648 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4650 2012-05-22 Andreas Jaeger <aj@suse.de>
4652 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4653 that pseudo_end is just ret and the stack pointer is correct also
4654 for static library in error case.
4656 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4659 * nss/nsswitch.c (defconfig_entries): New variable.
4660 (__nss_database_lookup): Don't leak defconfig entries.
4661 (nss_parse_service_list): Don't leak on error paths.
4662 (free_database_entries): New function.
4663 (free_defconfig): New function.
4664 (free_mem): Move common code to free_database_entries.
4666 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4668 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4670 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4672 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4673 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4676 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4677 (INTERNAL_SYSCALL_TYPES): Likewise.
4678 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4679 (LOAD_REGS_TYPES_[1-6]): Likewise.
4680 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4681 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4683 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4685 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4686 copysignl for GLIBC_2_0.
4687 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4688 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4689 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4690 logbl for GLIBC_2_0.
4691 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4692 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4694 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4696 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4697 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4699 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4702 * time/mktime.c: Update copyright years.
4704 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4706 mktime: merge comment-quoting-style change from gnulib
4707 * time/mktime.c: Quote 'like this' in comments.
4708 The GNU coding standards suggest that we no longer quote `like this',
4709 as "`" and "'" are typically rendered asymmetrically nowadays.
4710 The typical gnulib style is to quote 'like this' when quoting
4711 code, and "like this" when quoting English.
4713 * time/mktime.c (compile-command): Add "-I.".
4715 mktime: merge mktime-internal.h change from gnulib
4716 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4718 mktime: merge time_r change from gnulib
4719 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4721 mktime: merge DEBUG change from gnulib
4722 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4723 case system <time.h> has a #define.
4725 mktime: merge <sys/types.h> change from gnulib
4726 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4727 since <time.t> is now guaranteed to define time_t.
4729 mktime: merge HAVE_CONFIG_H change from gnulib
4730 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4732 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4737 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4739 (struct rusage): Use anonymous union to pad each field to
4742 2012-05-21 David S. Miller <davem@davemloft.net>
4744 * Makefules (o-iterator): Remove .s cases.
4745 (compile-command.s): Delete.
4746 (COMPILE.s): Delete.
4747 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4749 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4751 * configure.in (libc_cv_predef_stack_protector): Only consider
4752 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4753 * configure: Regenerated.
4755 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4757 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4758 New macro. Use R*LP on int and pointer.
4759 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4760 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4761 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4762 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4764 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4765 [__WORDSIZE_TIME64_COMPAT32] instead of
4766 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4767 (struct utmp): Likewise.
4768 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4769 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4771 (__WORDSIZE_TIME64_COMPAT32): This.
4772 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4773 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4774 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4775 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4776 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4777 (__WORDSIZE_TIME64_COMPAT32): New macro.
4779 2012-05-21 Andreas Jaeger <aj@suse.de>
4781 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4782 only if [SHARED]. Add prototype for __wcschr_ia32.
4784 2012-05-21 Roland McGrath <roland@hack.frob.com>
4786 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4787 of %rbp unmolested in the jmp_buf while mangling the low bits.
4788 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4789 unmolested high bits of %rbp while demangling the low bits.
4790 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4792 2012-05-21 Andreas Jaeger <aj@suse.de>
4794 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4795 * sunrpc/svc_simple.c: Use it for registerrpc.
4796 * sunrpc/xcrypt.c: Use it for passwd2des.
4798 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4800 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4802 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4803 Don't define if [__SYSCALL_WORDSIZE != 32].
4804 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4807 2012-05-21 Bruno Haible <bruno@clisp.org>
4808 Andreas Jaeger <aj@suse.de>
4810 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4811 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4812 inptr and inend for must_buffer_ch.
4813 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4814 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4815 * stdio-common/Makefile (tests): Remove bug15.
4816 (bug15-ENV): Remove macro.
4817 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4820 2012-05-19 Andreas Jaeger <aj@suse.de>
4821 Roland McGrath <roland@hack.frob.com>
4823 * manual/contrib.texi: Completely rewritten. It contains now an
4824 alphabetical list of contributors and their contributions.
4826 2012-05-21 Richard Henderson <rth@twiddle.net>
4828 * misc/getauxval.c (__getauxval): Use unsigned long int.
4829 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4830 (getauxval): Use unsigned long int.
4832 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4834 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4836 2012-05-21 Roland McGrath <roland@hack.frob.com>
4838 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4839 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4840 __alignof__ (long double).
4842 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4846 2012-05-20 Richard Henderson <rth@twiddle.net>
4848 * misc/getauxval.c: New file.
4849 * misc/sys/auxv.h: New file.
4850 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4851 (routines): Add getauxval.
4852 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4853 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4854 * elf/dl-sysdep.c (_dl_auxv): Remove.
4855 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4856 * elf/dl-support.c (_dl_auxv): New variable.
4857 (_dl_aux_init): Initialize it.
4858 * manual/startup.texi (Auxiliary Vector): New node.
4859 * sysdeps/generic/bits/hwcap.h: New file.
4860 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4861 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4862 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4863 * sysdeps/sparc/sysdep.h: ... here. Include it.
4864 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4865 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4871 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4877 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4881 2012-05-19 David S. Miller <davem@davemloft.net>
4883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4885 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4888 * math/s_ccosh.c: Include <float.h>
4889 (__ccosh): Avoid internal overflow calculating sinh and cosh
4890 values before multiplying by sin and cos values.
4891 * math/s_ccoshf.c: Likewise.
4892 * math/s_ccoshl.c: Likewise.
4893 * math/s_csin.c: Likewise.
4894 * math/s_csinf.c: Likewise.
4895 * math/s_csinl.c: Likewise.
4896 * math/s_csinh.c: Likewise.
4897 * math/s_csinhf.c: Likewise.
4898 * math/s_csinhl.c: Likewise.
4899 * math/libm-test.inc (ccos_test): Add more tests.
4900 (ccosh_test): Likewise.
4901 (csin_test): Likewise.
4902 (csinh_test): Likewise.
4903 * sysdeps/i386/fpu/libm-test-ulps: Update.
4904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4906 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4908 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4909 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4911 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4913 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4915 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4916 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4917 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4918 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4919 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4920 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4921 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4922 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4923 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4924 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4925 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4926 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4927 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4928 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4929 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4930 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4931 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4932 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4933 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4934 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4935 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4936 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4937 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4938 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4939 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4940 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4941 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4942 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4943 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4944 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4945 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4947 2012-05-18 Andreas Jaeger <aj@suse.de>
4949 * csu/.gitignore: Delete.
4951 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4953 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4954 (timex): Use __syscall_slong_t.
4956 2012-05-18 Andreas Jaeger <aj@suse.de>
4957 Carlos O'Donell <carlos_odonell@mentor.com>
4959 * manual/install.texi (Configuring and compiling): Update
4960 description about files modified in the source directory.
4961 * INSTALL: Regenerated.
4963 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4965 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4966 value. Use "or" to set return value to -1.
4967 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4968 negate return value.
4970 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4972 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4973 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4974 failure if the compiler has Graphite support disabled.
4975 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4977 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4978 CFLAGS-memmove.c): Likewise.
4979 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4982 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4984 * sysdeps/x86_64/x32/_itoa.h: New file.
4986 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4987 getdents system call only if kernel and user dirents have the
4988 same d_ino and d_off.
4990 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4991 LLONG_MAX != LONG_MAX.
4992 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4993 (_fitoa_word): Likewise.
4995 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4997 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4998 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4999 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5001 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5002 include <bits/wordsize.h>. Check __x86_64__ instead of
5004 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5005 if __x86_64__ is defined. Use anonymous union on fpstate.
5007 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5010 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5012 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5013 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5014 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5015 Refer to _rtld_local_ro instead of _rtld_global_ro.
5016 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5018 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5020 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5022 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5023 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5024 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5026 * sysdeps/powerpc/powerpc32/dl-machine.c
5027 (__elf_machine_runtime_setup) [PROF]: Don't reference
5030 2012-05-18 Andreas Jaeger <aj@suse.de>
5032 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5033 function only available for GCCs before 3.4 since GCC 3.4
5034 introduced a builtin.
5036 (llrintf): Likewise.
5044 (nearbyint): Likewise.
5045 (nearbyintf): Likewise.
5051 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5053 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5054 on both fields and cast pointer to __syscall_ulong_t.
5056 * bits/types.h (__fsword_t): New type.
5057 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5058 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5059 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5060 (__FSWORD_T_TYPE): Likewise.
5061 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5062 (__FSWORD_T_TYPE): Likewise.
5063 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5064 (__FSWORD_T_TYPE): Likewise.
5065 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5066 (__FSWORD_T_TYPE): Likewise.
5067 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5068 __SWORD_TYPE with __fsword_t.
5069 (statfs64): Likewise.
5071 2012-05-17 David S. Miller <davem@davemloft.net>
5073 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5075 2012-05-17 Andreas Jaeger <aj@suse.de>
5077 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5080 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5082 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5084 2012-05-17 Andreas Jaeger <aj@suse.de>
5086 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5089 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5091 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5093 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5095 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5096 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5098 2012-05-17 Andreas Jaeger <aj@suse.de>
5099 Carlos O'Donell <carlos_odonell@mentor.com>
5102 * sysdeps/x86_64/multiarch/init-arch.h
5103 (bit_YMM_Usable): Rename to...
5104 (bit_AVX_Usable): ... this.
5105 (bit_FMA4_Usable): New macro.
5106 (bit_XMM_state): New macro.
5107 (bit_YMM_state): New macro.
5108 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5109 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5110 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5111 (CPUID_OSXSAVE): New macro.
5112 (CPUID_AVX): New macro.
5113 (CPUID_FMA4): New macro.
5114 (index_YMM_Usable): Rename to...
5115 (index_AVX_Usable): ... this.
5116 (HAS_AVX): Use HAS_ARCH_FEATURE.
5117 (HAS_FMA4): Likewise.
5118 (HAS_YMM_USABLE): Remove.
5119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5120 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5122 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5123 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5124 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5125 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5126 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5128 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5130 * math/libm-test.c: Support platforms without multiple rounding modes.
5131 * math/bug-nextafter.c: Support platforms without FP exceptions.
5132 * math/bug-nexttoward.c: Likewise.
5133 * math/test-fenv.c: Likewise.
5134 * math/test-misc.c: Likewise.
5135 * stdlib/bug-getcontext.c: Likewise.
5137 2012-05-17 Andreas Jaeger <aj@suse.de>
5139 * manual/examples/search.c (critter_cmp): Change signature to
5141 * manual/string.texi (Collation Functions): Likewise.
5143 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5145 * bits/types.h: Fold copyright years.
5146 * bits/typesizes.h: Likewise.
5147 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5148 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5149 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5150 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5151 * time/time.h: Likewise.
5153 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5156 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5157 in instead of returning them. Return void.
5158 (__libc_mallinfo): Accumulate over all arenas.
5159 (__malloc_stats): Adjust for change in int_mallinfo interface.
5161 2012-05-16 Roland McGrath <roland@hack.frob.com>
5164 * configure.in (NM): Add AC_CHECK_TOOL for it.
5165 (libc_extra_cflags): New substituted variable.
5166 Check for -fstack-protector being used implicitly.
5167 * configure: Regenerated.
5168 * config.make.in (config-extra-cflags): New variable,
5169 gets @libc_extra_cflags@.
5170 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5173 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5174 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5175 * configure: Regenerated.
5176 * config.make.in (CPPUNDEFS): New substituted variable.
5177 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5178 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5179 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5181 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5183 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5184 (mq_attr): Use __syscall_slong_t.
5186 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5188 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5189 Check __x86_64__ instead of __WORDSIZE.
5190 (_STAT_VER_LINUX): Likewise.
5191 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5192 __syscall_ulong_t and __syscall_slong_t.
5195 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5197 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5199 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5201 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5203 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5205 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5208 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5209 include <bits/wordsize.h>. Check __x86_64__ instead of
5211 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5213 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5215 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5216 include <bits/wordsize.h>. Check __x86_64__ instead of
5218 (user_regs_struct): Use "__extension__ unsigned long long"
5219 instead of "unsigned long" if __x86_64__ is defined.
5220 (user): Likewise. Pad after pointer field if __ILP32__ is
5223 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5225 * configure.in (makeinfo): Require version 4.5 or later. Allow
5227 * configure: Regenerated.
5228 * manual/install.texi (texinfo): Increase version requirement to
5230 * INSTALL: Regenerated.
5232 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5234 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5236 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5238 * sysdeps/x86_64/x32/ffs.c: New file.
5240 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5242 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5243 defined. Use __syscall_ulong_t.
5244 (shminfo): Use __syscall_ulong_t.
5245 (shm_info): Likewise.
5247 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5250 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5252 (msgqnum_t): Use __syscall_ulong_t.
5253 (msglen_t): Likewise.
5254 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5257 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5258 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5260 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5262 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5263 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5265 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5268 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5269 include <bits/wordsize.h>. Check __x86_64__ instead of
5272 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5273 "unsigned long long int" if __x86_64__ is defined.
5274 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5276 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5277 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5278 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5280 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5282 (GET_PC): Cast to uintptr_t first.
5283 (GET_FRAME): Likewise.
5284 (GET_STACK): Likewise.
5286 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5287 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5288 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5289 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5290 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5291 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5292 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5293 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5294 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5295 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5296 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5297 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5298 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5299 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5300 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5301 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5302 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5303 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5304 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5305 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5306 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5307 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5308 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5309 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5310 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5311 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5312 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5313 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5314 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5316 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5318 * Makerules (+depfiles): Also collect depfiles from .oS in
5320 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5321 .oS, $(libnldbl-routines)).
5323 * Makerules (native-compile-mkdep-flags): Define.
5324 * sunrpc/Makefile (extra-objs): Add $(addprefix
5325 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5326 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5327 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5328 calling $(make-target-directory).
5330 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5332 * bits/types.h (__snseconds_t): Removed.
5333 * time/time.h (struct timespec): Replace __snseconds_t with
5335 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5336 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5338 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5339 (__SNSECONDS_T_TYPE): Likewise.
5340 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5341 (__SNSECONDS_T_TYPE): Likewise.
5342 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5343 (__SNSECONDS_T_TYPE): Likewise.
5345 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5347 * sysdeps/mach/hurd/bits/typesizes.h
5348 (__SYSCALL_SLONG_TYPE): New macro.
5349 (__SYSCALL_ULONG_TYPE): Likewise.
5351 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5353 * bits/types.h (__syscall_slong_t): New type.
5354 (__syscall_ulong_t): Likewise.
5356 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5357 (__SYSCALL_ULONG_TYPE): Likewise.
5358 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5359 (__SYSCALL_SLONG_TYPE): Likewise.
5360 (__SYSCALL_ULONG_TYPE): Likewise.
5361 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5362 (__SYSCALL_SLONG_TYPE): Likewise.
5363 (__SYSCALL_ULONG_TYPE): Likewise.
5364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5365 (__SYSCALL_SLONG_TYPE): Likewise.
5366 (__SYSCALL_ULONG_TYPE): Likewise.
5368 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5370 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5371 Add sigaltstack-offsets.sym.
5372 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5373 <sigaltstack-offsets.h>.
5374 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5375 longjmp_msg pointer.
5376 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5377 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5379 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5381 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5383 * elf/stackguard-macros.h: Remove file.
5384 * sysdeps/generic/stackguard-macros.h: New file.
5385 * sysdeps/i386/stackguard-macros.h: Likewise.
5386 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5387 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5388 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5389 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5390 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5391 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5392 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5393 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5394 <elf/stackguard-macros.h>.
5397 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5398 __aligned__ in attribute.
5399 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5400 (gregset_t): Likewise.
5402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5404 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5405 * sysdeps/x86_64/64/Implies-after: Here. New file.
5406 * sysdeps/x86_64/x32/Implies-after: New file.
5408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5410 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5411 and access return value for _dl_profile_fixup. Use R10_LP to
5414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5416 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5420 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5421 * sysdeps/x86_64/x32/sysdep.h: New file.
5423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5425 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5426 * sysdeps/x86_64/setjmp.S: Likewise.
5428 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5430 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5431 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5432 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5433 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5434 remove unused global constant.
5436 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5438 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5439 include of <not-cancel.h>.
5441 2012-05-15 Roland McGrath <roland@hack.frob.com>
5443 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5445 2012-05-15 Jeff Law <law@redhat.com>
5446 Andreas Jaeger <aj@suse.de>
5449 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5451 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5452 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5453 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5454 code changing __hst_map_handle.map.
5456 2012-05-15 Roland McGrath <roland@hack.frob.com>
5458 * configure.in (sysnames): Look for Implies-before and Implies-after
5460 * configure: Regenerated.
5462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5464 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5465 8-byte data alignment with LP_SIZE alignment.
5467 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5469 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5474 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5476 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5478 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5479 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5480 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5482 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5486 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5487 (stackinfo_sub_sp): Likewise.
5489 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5491 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5496 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5499 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5501 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5504 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5506 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5508 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5510 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5511 into R11_LP and load __x86_64_shared_cache_size_half into
5514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5516 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5519 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5521 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5523 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5525 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5527 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5528 powerpc32/power7/fpu/s_logb.c via #include.
5529 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5530 powerpc32/power7/fpu/s_logbf.c via #include.
5531 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5532 powerpc32/power7/fpu/s_logbl.c via #include.
5534 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5536 * README.libm: Remove file.
5538 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5540 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5541 count for x32. Use R*_LP and omit operand-size suffix.
5543 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5545 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5546 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5547 * sysdeps/x86_64/x32/shlib-versions: New file.
5549 2012-05-14 Roland McGrath <roland@hack.frob.com>
5551 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5552 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5553 Use _dl_fatal_printf instead.
5555 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5557 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5558 set if not set by the user. Do not allow for being unset.
5559 * sysdeps/unix/sysv/linux/configure: Regenerated.
5561 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5563 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5564 the `q' suffix from lea and replace .quad with ASM_ADDR.
5566 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5568 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5569 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5571 (PTR_DEMANGLE): Likewise.
5573 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5575 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5577 (ASM_ADDR): Likewise.
5595 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5597 * sysdeps/x86_64/x32/dl-machine.h: New file.
5599 2012-05-14 Andreas Jaeger <aj@suse.de>
5601 * manual/Makefile (subdir): Remove export of subdir.
5602 (all): Remove target.
5603 (.PHONY): Remove all from list.
5604 (mkinstalldirs): Remove.
5605 (.PHONY): Remove installdirs from list.
5606 ($(inst_infodir)/libc.info): Use make-target-directory.
5607 (installdirs): Remove.
5609 (glibc-targets): Remove.
5612 ($(objpfx)stubs ../po/manual.pot): Remove.
5613 ($(objpfx)stamp%): Remove.
5614 (make-target-directory): Remove.
5615 (subdir_install): Remove.
5623 * manual/.gitignore: Remove, it's not needed anymore.
5624 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5626 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5628 (texis): Renamed to $(objpfx)texis.
5629 (texis-path): New, contains path to generated files.
5630 (chapters.%): Use texis-path for complete path, add extra argument
5632 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5633 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5634 (summary,texi, stamp-summary): Use complete path of
5635 files. Generate files in build dir.
5636 (dir-add.texi): Build in build dir.
5637 (libm-err.texi,stamp-libm-err): Likewise.
5638 (version.texi, stamp-version): Likewise.
5639 (.%c.texi): Likewise.
5640 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5641 (mostlyclean): Remove target.
5642 (realclean): Remove target.
5643 (generated): Add new variable with contents from mostlyclean and
5644 realclean, remove entries duplicated in common-mostlyclean, add
5645 stamp-libm-err and stamp-version.
5646 (generated-dirs): Add libc directory.
5647 ($(inst_infodir)/libc.info): Install files from build dir.
5649 * manual/install.texi (Configuring and compiling): Adjust since
5650 the info files are not part of the tar ball anymore.
5652 2012-05-14 Andreas Jaeger <aj@suse.de>
5654 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5657 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5660 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5661 to 2.2.0 where earlier.
5662 * sysdeps/unix/sysv/linux/configure: Regenerated.
5663 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5664 Remove conditional code.
5665 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5666 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5667 Remove conditional code.
5668 [!__NR_lchown]: Likewise.
5669 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5670 [__NR_lchown]: Likewise.
5671 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5672 comment referencing __ASSUME_LCHOWN_SYSCALL.
5673 * sysdeps/unix/sysv/linux/i386/sigaction.c
5674 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5675 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5676 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5677 Remove conditional code.
5678 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5679 (__protocol_available): Remove #if 0 code.
5680 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5682 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5683 * sysdeps/unix/sysv/linux/kernel-features.h
5684 (__ASSUME_GETCWD_SYSCALL): Don't define.
5685 (__ASSUME_REALTIME_SIGNALS): Likewise.
5686 (__ASSUME_PREAD_SYSCALL): Likewise.
5687 (__ASSUME_PWRITE_SYSCALL): Likewise.
5688 (__ASSUME_POLL_SYSCALL): Likewise.
5689 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5690 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5692 (__ASSUME_SIOCGIFNAME): Don't define.
5693 (__ASSUME_MSG_NOSIGNAL): Likewise.
5694 (__ASSUME_SENDFILE): Define unconditionally.
5695 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5696 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5698 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5699 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5700 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5701 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5702 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5703 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5704 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5706 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5707 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5709 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5710 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5712 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5713 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5715 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5716 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5718 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5719 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5721 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5722 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5724 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5725 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5727 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5728 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5729 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5730 Remove conditional code.
5731 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5732 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5733 Remove conditional code.
5734 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5735 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5736 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5737 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5738 Remove conditional code.
5739 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5740 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5741 Remove conditional code.
5742 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5743 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5744 Remove conditional code.
5745 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5746 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5747 Remove conditional code.
5748 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5749 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5750 Remove conditional code.
5751 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5752 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5753 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5754 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5755 * sysdeps/unix/sysv/linux/sigaction.c
5756 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5757 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5758 * sysdeps/unix/sysv/linux/sigpending.c
5759 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5760 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5761 * sysdeps/unix/sysv/linux/sigprocmask.c
5762 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5763 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5764 * sysdeps/unix/sysv/linux/sigsuspend.c
5765 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5766 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5767 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5768 (__libc_missing_rt_sigs): Remove.
5769 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5770 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5771 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5772 Remove conditional code.
5773 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5774 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5776 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5777 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5778 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5779 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5781 2012-05-14 Andreas Jaeger <aj@suse.de>
5783 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5784 it's not used in glibc.
5785 (__coshm1): Likewise.
5786 (__acosh1p): Likewise.
5789 * manual/string.texi (Copying and Concatenation): Add missing
5790 variable in concat example.
5791 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5793 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5796 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5797 __builtin_clzl with __builtin_clzll.
5799 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5802 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5805 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5807 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5808 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5809 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5810 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5812 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5814 * NEWS: Update ia64 info.
5816 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5818 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5821 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5823 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5824 * sysdeps/unix/syscalls.list (dup3): Likewise.
5825 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5826 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5828 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5830 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5831 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5833 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5835 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5837 (TLS_IE): Use mov/add instead of movq/addq to load thread
5839 (TLS_GD_PREFIX): New.
5842 2012-05-11 David S. Miller <davem@davemloft.net>
5844 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5845 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5846 (_FPU_SETCW): Likewise.
5848 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5850 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5853 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5856 * iconvdata/gb18030.c: Update tables.
5857 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5858 characters specially.
5859 (BODY for TO_LOOP): Add encoding of missing ranges.
5861 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5864 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5865 * sysdeps/mach/hurd/dup3.c: Likewise.
5866 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5867 * sysdeps/powerpc/memmove.c:: Likewise.
5869 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5871 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5872 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5874 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5876 * elf/elf.h (R_X86_64_RELATIVE64): New.
5877 (R_X86_64_NUM): Updated.
5878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5879 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5880 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5881 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5882 tst-quad1pie tst-quad2pie
5883 (modules-names): Add tst-quadmod1 tst-quadmod2.
5884 ($(objpfx)tst-quad1): New dependency.
5885 ($(objpfx)tst-quad2): Likewise.
5886 ($(objpfx)tst-quad1pie): Likewise.
5887 ($(objpfx)tst-quad2pie): Likewise.
5888 * sysdeps/x86_64/tst-quad1.c: New file.
5889 * sysdeps/x86_64/tst-quad1pie.c: New file.
5890 * sysdeps/x86_64/tst-quad2.c: Likewise.
5891 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5892 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5893 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5894 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5895 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5897 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5899 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5900 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5901 * streams/stropts.h (t_scalar_t): Define type.
5903 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5904 (_PATH_PRESERVE): Set to "/var/lib".
5905 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5907 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5910 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5911 if __dir_mkfile succeeded.
5913 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5914 checking for _hurd_dtablesize. Unlock it right after having
5915 finished _hurd_dtable allocation.
5917 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5919 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5920 * sysdeps/mach/hurd/configure: Regenerated.
5921 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5922 special-casing to...
5923 * sysdeps/gnu/configure.in: ... this new file.
5924 * sysdeps/unix/sysv/linux/configure: Regenerated.
5925 * sysdeps/gnu/configure: New generated file.
5927 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5928 for Linux: use nsec instead of usec, as well as:
5929 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5930 members of type struct timespec.
5931 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5933 (struct stat64): Likewise.
5934 (_STATBUF_ST_NSEC): New macro.
5935 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5937 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5938 __strtoul_internal rather than strtoul.
5940 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5942 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5945 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5947 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5948 which preserves existing values.
5949 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5951 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5953 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5954 TIMEOUT values. Return EINVAL for NFDS values either negative or
5955 greater than FD_SETSIZE.
5957 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5959 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5960 allocated, call __vm_protect to finish enabling the existing space, and
5961 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5962 allocate the remainder.
5964 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5966 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5967 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5969 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5971 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5972 sysdeps/mach/hurd/readlink.c.
5974 * posix/tst-sysconf.c (posix_options): Only use
5975 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5976 _POSIX_SYNCHRONIZED_IO when they are defined
5977 * sysdeps/mach/hurd/bits/posix_opt.h:
5978 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5979 (_XOPEN_REALTIME): Undefine macro.
5980 (_XOPEN_REALTIME_THREADS): Undefine macro.
5981 (_XOPEN_SHM): Undefine macro.
5982 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5984 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5986 (_POSIX_ASYNC_IO): Undefine macro.
5987 (_POSIX_PRIORITIZED_IO): Undefine macro.
5988 (_POSIX_SPIN_LOCKS): Define macro to -1.
5990 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5991 SA_NODEFER, SA_RESETHAND.
5992 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5993 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5996 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5998 * elf/Makefile (pldd-modules): Define unconditionally.
6000 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6002 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6004 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6006 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6007 Return ENOENT when name is empty.
6008 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6010 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6012 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6014 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6016 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6018 Fix mlock in all cases except non-readable pages.
6019 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6020 instead of VM_PROT_ALL as parameter to __vm_wire function.
6022 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6023 (__mkdir): When path is `/', just fail with EEXIST.
6024 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6026 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6028 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6029 <sys/uio.h> (for writev).
6030 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6031 and <sys/param.h> (for MIN).
6033 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6035 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6036 REQUESTED_TIME. Properly set the remaining time and return EINTR
6039 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6041 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6042 Depend on against $(link-rpcuserlibs).
6044 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6046 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6047 (__libc_stack_end): Do not use attribute_relro.
6048 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6049 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6050 to libthread-provided value.
6051 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6054 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6057 * bits/libc-lock.h (__libc_once_get): New macro.
6058 * sysdeps/mach/bits/libc-lock.h: Likewise.
6059 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6060 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6061 instead of using implementation details.
6063 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6064 * libio/freopen.c: Likewise.
6065 * libio/freopen64.c: Likewise.
6066 * misc/syslog.c: Likewise.
6067 * nscd/connections.c: Likewise.
6068 * nscd/netgroupcache.c: Likewise.
6069 * sysdeps/posix/getcwd.c: Likewise.
6071 2012-05-10 Roland McGrath <roland@hack.frob.com>
6073 * math/w_ilogbf.c: Add #include <limits.h>.
6075 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6077 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6078 path instead of returning without unlocking.
6080 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6081 immediate-write ioctls.
6082 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6084 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6086 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6087 __builtin_frame_address instead of making assumptions about the
6088 location of the return address relative to DATA. Force early load of
6090 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6091 __builtin_frame_address.
6094 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6095 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6096 implement dup3 and do some further code clean-ups.
6097 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6098 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6100 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6102 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6104 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6105 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6106 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6107 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6108 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6111 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6112 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6113 when handler == SIG_ERR, not when handler != SIG_ERR.
6115 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6117 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6118 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6121 accept4 for GNU Hurd.
6122 * include/sys/socket.h (__libc_accept4): New prototype.
6123 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6124 to implement __libc_accept4.
6125 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6127 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6129 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6130 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6131 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6134 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6136 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6138 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6140 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6141 assertion on O_CLOEXEC flag.
6142 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6143 * hurd/intern-fd.c: Likewise.
6144 * hurd/port2fd.c: Likewise.
6146 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6149 * bits/in.h (IPV6_PKTINFO): Define new macro.
6150 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6152 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6157 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6158 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6159 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6160 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6161 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6162 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6163 * math/libm-test.inc (logb_test) : Additional logb tests.
6165 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6166 Andreas Jaeger <aj@suse.de>
6168 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6169 * configure: Regenerated.
6170 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6171 * config.make.in (link-obsolete-rpc): New substituted variable.
6172 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6173 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6174 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6175 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6176 so that libc.a contains the symbols.
6177 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6178 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6179 * sunrpc/auth_none.c: Likewise.
6180 * sunrpc/auth_unix.c: Likewise.
6181 * sunrpc/authdes_prot.c: Likewise.
6182 * sunrpc/authuxprot.c: Likewise.
6183 * sunrpc/clnt_gen.c: Likewise.
6184 * sunrpc/clnt_perr.c: Likewise.
6185 * sunrpc/clnt_raw.c: Likewise.
6186 * sunrpc/clnt_simp.c: Likewise.
6187 * sunrpc/clnt_tcp.c: Likewise.
6188 * sunrpc/clnt_udp.c: Likewise.
6189 * sunrpc/clnt_unix.c: Likewise.
6190 * sunrpc/des_crypt.c: Likewise.
6191 * sunrpc/des_soft.c: Likewise.
6192 * sunrpc/get_myaddr.c: Likewise.
6193 * sunrpc/key_call.c: Likewise.
6194 * sunrpc/key_prot.c: Likewise.
6195 * sunrpc/netname.c: Likewise.
6196 * sunrpc/pm_getmaps.c: Likewise.
6197 * sunrpc/pm_getport.c: Likewise.
6198 * sunrpc/pmap_clnt.c: Likewise.
6199 * sunrpc/pmap_prot.c: Likewise.
6200 * sunrpc/pmap_prot2.c: Likewise.
6201 * sunrpc/pmap_rmt.c: Likewise.
6202 * sunrpc/publickey.c: Likewise.
6203 * sunrpc/rpc_cmsg.c: Likewise.
6204 * sunrpc/rpc_common.c: Likewise.
6205 * sunrpc/rpc_dtable.c: Likewise.
6206 * sunrpc/rpc_prot.c: Likewise.
6207 * sunrpc/rpc_thread.c: Likewise.
6208 * sunrpc/rtime.c: Likewise.
6209 * sunrpc/svc.c: Likewise.
6210 * sunrpc/svc_auth.c: Likewise.
6211 * sunrpc/svc_raw.c: Likewise.
6212 * sunrpc/svc_run.c: Likewise.
6213 * sunrpc/svc_tcp.c: Likewise.
6214 * sunrpc/svc_udp.c: Likewise.
6215 * sunrpc/svc_unix.c: Likewise.
6216 * sunrpc/svcauth_des.c: Likewise.
6217 * sunrpc/xcrypt.c: Likewise.
6218 * sunrpc/xdr.c: Likewise.
6219 * sunrpc/xdr_array.c: Likewise.
6220 * sunrpc/xdr_float.c: Likewise.
6221 * sunrpc/xdr_intXX_t.c: Likewise.
6222 * sunrpc/xdr_mem.c: Likewise.
6223 * sunrpc/xdr_rec.c: Likewise.
6224 * sunrpc/xdr_ref.c: Likewise.
6225 * sunrpc/xdr_sizeof.c: Likewise.
6226 * sunrpc/xdr_stdio.c: Likewise.
6228 2012-05-10 Roland McGrath <roland@hack.frob.com>
6230 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6231 change. Update copyright years.
6233 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6235 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6237 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6238 Joseph Myers <joseph@codesourcery.com>
6239 Paul Pluzhnikov <ppluzhnikov@google.com>
6242 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6244 [cross-compiling] (extra-libs): Likewise.
6245 [cross-compiling] (extra-libs-others): Likewise.
6246 [cross-compiling] (librpcsvc-routines): Likewise.
6247 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6248 [cross-compiling] (omit-deps): Likewise.
6249 (sunrpc-CPPFLAGS): New variable.
6250 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6251 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6252 (cross-rpcgen-objs): New variable.
6253 (extra-objs): Append $(cross-rpcgen-objs).
6254 ($(cross-rpcgen-objs)): New rule.
6255 ($(objpfx)cross-rpcgen): Likewise.
6256 (rpcgen-cmd): Define to use $(built-program-file). Expand
6258 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6259 ($(objpfx)x%.stmp): Likewise.
6260 * sunrpc/proto.h [IS_IN_build] (_): Define.
6261 [IS_IN_build] (_libc_intl_domainname): Likewise.
6263 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6265 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6266 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6267 and R_X86_64_TPOFF64.
6269 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6271 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6272 sysdeps/unix/sysv/syscalls.list.
6275 * sysdeps/unix/sysv/syscalls.list: Remove file.
6277 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6280 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6281 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6282 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6283 (__LC_IDENTIFICATION): Make these macros useful in #if
6284 expressions, as required by C99.
6286 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6288 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6289 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6292 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6294 * stdlib/longlong.h: Updated from GCC.
6296 2012-05-09 Andreas Jaeger <aj@suse.de>
6298 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6299 default is first entry.
6300 (run_mode): Set type.
6301 (main): Remove informal message about syslog.
6302 (options): Fix typo.
6305 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6308 (llrintf): Likewise.
6312 (nearbyint): Likewise.
6313 (nearbyintf): Likewise.
6315 2012-05-09 Andreas Jaeger <aj@suse.de>
6316 Pedro Alves <palves@redhat.com>
6318 * nscd/nscd.c (run_mode): Use enum.
6319 (main): Cleanup coding style issue.
6321 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6322 Andreas Jaeger <aj@suse.de>
6324 * nscd/nscd.c (go_background): Replaced with...
6325 (run_mode): ... this.
6326 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6327 (options): Add -F --foreground.
6328 (main): Implement it.
6329 (parse_opt): Parse it.
6331 2012-05-09 Andreas Jaeger <aj@suse.de>
6334 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6335 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6336 -Wconversion warning.
6337 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6340 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6342 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6344 (LC_ALL): Use macro-int-constant.
6345 (LC_COLLATE): Likewise.
6346 (LC_CTYPE): Likewise.
6347 (LC_MESSAGES): Likewise.
6348 (LC_MONETARY): Likewise.
6349 (LC_NUMERIC): Likewise.
6350 (LC_TIME): Likewise.
6351 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6352 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6353 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6354 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6356 [C99-based standards] (float_t): Expect type.
6357 [C99-based standards] (double_t): Expect type.
6358 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6360 [C99-based standards] (HUGE_VALL): Likewise.
6361 [C99-based standards] (INFINITY): Likewise.
6362 [C99-based standards] (NAN): Likewise.
6363 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6364 [C99-based standards] (FP_NAN): Likewise.
6365 [C99-based standards] (FP_NORMAL): Likewise.
6366 [C99-based standards] (FP_SUBNORMAL): Likewise.
6367 [C99-based standards] (FP_ZERO): Likewise.
6368 [C99-based standards] (FP_FAST_FMA): Use
6369 optional-macro-int-constant. Specify type. Require == 1.
6370 [C99-based standards] (FP_FAST_FMAF): Likewise.
6371 [C99-based standards] (FP_FAST_FMAL): Likewise.
6372 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6373 [C99-based standards] (FP_ILOGBNAN): Likewise.
6374 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6376 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6377 [C99-based standards] (math_errhandling): Specify type.
6378 [ISO99 || ISO11] (signgam): Do not allow.
6379 [non-C99-based standards] (copysignf): Do not allow.
6380 [non-C99-based standards] (exp2f): Likewise.
6381 [non-C99-based standards] (log2f): Likewise.
6382 [non-C99-based standards] (modff): Allow.
6383 [non-C99-based standards] (erff): Do not allow.
6384 [non-C99-based standards] (erfcf): Likewise.
6385 [non-C99-based standards] (gammaf): Likewise.
6386 [non-C99-based standards] (hypotf): Likewise.
6387 [non-C99-based standards] (j0f): Likewise.
6388 [non-C99-based standards] (j1f): Likewise.
6389 [non-C99-based standards] (jnf): Likewise.
6390 [non-C99-based standards] (lgammaf): Likewise.
6391 [non-C99-based standards] (tgammaf): Likewise.
6392 [non-C99-based standards] (y0f): Likewise.
6393 [non-C99-based standards] (y1f): Likewise.
6394 [non-C99-based standards] (ynf): Likewise.
6395 [non-C99-based standards] (isnanf): Likewise.
6396 [non-C99-based standards] (acoshf): Likewise.
6397 [non-C99-based standards] (asinhf): Likewise.
6398 [non-C99-based standards] (atanhf): Likewise.
6399 [non-C99-based standards] (cbrtf): Likewise.
6400 [non-C99-based standards] (expm1f): Likewise.
6401 [non-C99-based standards] (ilogbf): Likewise.
6402 [non-C99-based standards] (log1pf): Likewise.
6403 [non-C99-based standards] (logbf): Likewise.
6404 [non-C99-based standards] (nextafterf): Likewise.
6405 [non-C99-based standards] (remainderf): Likewise.
6406 [non-C99-based standards] (rintf): Likewise.
6407 [non-C99-based standards] (scalbf): Likewise.
6408 [non-C99-based standards] (copysignl): Likewise.
6409 [non-C99-based standards] (exp2l): Likewise.
6410 [non-C99-based standards] (log2l): Likewise.
6411 [non-C99-based standards] (modfl): Allow.
6412 [non-C99-based standards] (erfl): Do not allow.
6413 [non-C99-based standards] (erfcl): Likewise.
6414 [non-C99-based standards] (gammal): Likewise.
6415 [non-C99-based standards] (hypotl): Likewise.
6416 [non-C99-based standards] (j0l): Likewise.
6417 [non-C99-based standards] (j1l): Likewise.
6418 [non-C99-based standards] (jnl): Likewise.
6419 [non-C99-based standards] (lgammal): Likewise.
6420 [non-C99-based standards] (tgammal): Likewise.
6421 [non-C99-based standards] (y0l): Likewise.
6422 [non-C99-based standards] (y1l): Likewise.
6423 [non-C99-based standards] (ynl): Likewise.
6424 [non-C99-based standards] (isnanl): Likewise.
6425 [non-C99-based standards] (acoshl): Likewise.
6426 [non-C99-based standards] (asinhl): Likewise.
6427 [non-C99-based standards] (atanhl): Likewise.
6428 [non-C99-based standards] (cbrtl): Likewise.
6429 [non-C99-based standards] (expm1l): Likewise.
6430 [non-C99-based standards] (ilogbl): Likewise.
6431 [non-C99-based standards] (log1pl): Likewise.
6432 [non-C99-based standards] (logbl): Likewise.
6433 [non-C99-based standards] (nextafterl): Likewise.
6434 [non-C99-based standards] (remainderl): Likewise.
6435 [non-C99-based standards] (rintl): Likewise.
6436 [non-C99-based standards] (scalbl): Likewise.
6437 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6438 [non-C99-based standards] (FP_*): Do not allow.
6439 [C99-based standards] (FP_*): Change to
6440 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6441 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6443 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6444 (SIG_ERR): Likewise.
6445 [X/Open-based standards] (SIG_HOLD): Likewise.
6446 (SIG_IGN): Likewise.
6447 (SIGABRT): Use macro-int-constant. Specify type. Require
6452 (SIGSEGV): Likewise.
6454 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6455 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6456 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6457 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6458 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6459 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6460 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6461 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6462 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6463 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6464 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6465 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6466 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6467 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6468 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6469 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6470 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6471 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6472 [X/Open-based standards] (SIGTRAP): Likewise.
6473 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6474 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6475 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6476 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6477 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6480 2012-05-08 Ian Wienand <ianw@vmware.com>
6483 * time/tzset.c (__tzset_parse_tz): Update default rules for
6484 daylight time changes in the Energy Policy Act of 2005.
6486 2012-05-09 Andreas Jaeger <aj@suse.de>
6489 * elf/ldconfig.c (parse_conf): Change string to make clear that
6490 ldconfig only issued a warning if ld.so.conf does not exist.
6492 2012-05-08 David S. Miller <davem@davemloft.net>
6494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6495 movxtod instead of popping the value on the stack.
6497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6499 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6501 * config.h.in: Add HAVE_ARM_PCS_VFP.
6503 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6506 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6507 checking but the checks are disabled for any reason.
6509 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6511 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6512 and ELF64_R_TYPE with ELFW(R_TYPE).
6514 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6516 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6519 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6520 (settimeofday): Likewise.
6522 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6524 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6525 a struct th_u2 inside the union, and move tu_block/tu_code into
6526 a new th_u3 union of tu_block/tu_code inside of that. Move
6527 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6528 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6529 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6530 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6531 (th_stuff): Change to th_u1.tu_stuff.
6533 (th_msg): Change to th_u1.th_u2.tu_data.
6535 2012-05-07 David S. Miller <davem@davemloft.net>
6537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6540 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6541 (SETUP_PIC_REG): Use it.
6542 (SETUP_PIC_REG_LEAF): Use it.
6544 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6548 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6550 (EXPL_FINITE): Likewise.
6552 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6553 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6555 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6557 (EXPL_FINITE): Likewise.
6559 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6560 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6562 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6563 test of -max_value argument for long double.
6564 * sysdeps/i386/fpu/libm-test-ulps: Update.
6565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6567 2012-05-06 David S. Miller <davem@davemloft.net>
6569 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6570 quad soft-float symbols whose references which are compiler
6572 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6574 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6578 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6580 (EXPL_FINITE): Likewise.
6584 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6585 Adjust comments for base varying.
6586 (__expl_finite): Change alias to EXPL_FINITE.
6587 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6589 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6590 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6591 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6592 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6593 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6595 (EXPL_FINITE): Likewise.
6599 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6600 Adjust comments for base varying.
6601 (__expl_finite): Change alias to EXPL_FINITE.
6602 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6607 * math/libm-test.inc (check_float_internal): Correct ulp
6608 calculation for subnormal expected results.
6610 2012-05-06 Andreas Jaeger <aj@suse.de>
6612 * Makeconfig (+math-flags): New, set to -frounding-math.
6613 (+cflags): Add +math-flags so that all of glibc gets compiled with
6616 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6618 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6620 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6626 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6627 (__ieee754_expl): Allow for and saturate large arguments.
6628 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6629 (u_threshold): Likewise.
6630 (__exp): Call __ieee754_exp before checking for overflow and
6632 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6633 (u_threshold): Likewise.
6634 (__expf): Call __ieee754_expf before checking for overflow and
6636 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6637 (u_threshold): Likewise.
6638 (__expl): Call __ieee754_expl before checking for overflow and
6640 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6641 (__ieee754_expl): Allow for and saturate large arguments.
6642 * math/libm-test.inc (exp_test): Add another test. Do not allow
6643 missing overflow exception on overflow.
6644 (expm1_test): Do not allow missing overflow exception on overflow.
6646 * sysdeps/i386/fpu/e_expl.c: Move to ...
6647 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6648 rather than using inline asm.
6649 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6650 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6651 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6653 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6660 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6662 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6663 sysdeps/unix/common/syscalls.list.
6666 (ftruncate): Likewise.
6667 (getrusage): Likewise.
6668 (gettimeofday): Likewise.
6669 (setpgid): Likewise.
6670 (setregid): Likewise.
6671 (setreuid): Likewise.
6672 (sigaction): Likewise.
6673 (truncate): Likewise.
6674 (vhangup): Likewise.
6675 * sysdeps/unix/common/syscalls.list: Remove file.
6676 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6677 * sysdeps/unix/sysv/linux/Implies: Likewise.
6679 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6681 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6683 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6687 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6690 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6693 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6696 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6699 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6702 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6705 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6709 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6713 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6716 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6720 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6724 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6726 * sysdeps/unix/common/bits/dirent.h: Remove file.
6727 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6729 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6730 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6731 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6732 * sysdeps/unix/bsd/isatty.c: Likewise.
6733 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6734 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6735 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6737 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6740 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6741 long double comparison inaccuracies.
6742 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6745 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6747 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6748 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6750 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6753 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6754 nonzero digits before rounding a hex value.
6755 * stdlib/tst-strtod.c (tests): Add another test.
6757 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6759 * sysdeps/s390/fpu/libm-test-ulps: Update.
6761 2012-05-03 Andreas Jaeger <aj@suse.de>
6763 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6764 does not get optimized out.
6765 (malloc_opt_barrier): New.
6767 2012-05-03 Andreas Jaeger <aj@suse.de>
6768 Roland McGrath <roland@hack.frob.com>
6770 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6771 intermediate file deletion.
6772 (generated): Add .symlist files.
6774 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6777 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6778 Redirect under this condition.
6779 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6780 [__USE_GNU] (__dprintf_chk): Not under this condition.
6781 [__USE_GNU] (__vdprintf_chk): Likewise.
6782 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6783 under this condition.
6784 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6785 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6786 [__USE_XOPEN2K8] (vdprintf): Likewise.
6787 [__USE_GNU] (__dprintf_chk): Not under this condition.
6788 [__USE_GNU] (__vdprintf_chk): Likewise.
6789 [__USE_GNU] (dprintf): Likewise.
6790 [__USE_GNU] (vdprintf): Likewise.
6792 2012-05-03 Roland McGrath <roland@hack.frob.com>
6794 * elf/Makefile (common-generated): Set this instead of generated for
6795 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6796 $(all-built-dso)-derived lists.
6798 2012-05-03 Andreas Jaeger <aj@suse.de>
6800 * sysdeps/i386/fpu/libm-test-ulps: Update.
6804 * scripts/gen-FAQ.pl: Likewise.
6805 * manual/install.texi (Installation): Point to online location of
6807 * Makefile (files-for-dist): Remove FAQ.
6810 2012-05-02 Allan McRae <allan@archlinux.org>
6812 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6813 (LDFLAGS-reldepmod5.so): Likewise.
6814 (LDFLAGS-reldep6mod1.so): Likewise.
6815 (LDFLAGS-reldep6mod4.so): Likewise.
6816 (LDFLAGS-reldep8mod3.so): Likewise.
6817 (LDFLAGS-unload4mod1.so): Likewise.
6818 (LDFLAGS-unload4mod2.so): Likewise.
6819 (LDFLAGS-tst-initorder): Likewise.
6820 (LDFLAGS-tst-initordera2.so): Likewise.
6821 (LDFLAGS-tst-initordera3.so): Likewise.
6822 (LDFLAGS-tst-initordera4.so): Likewise.
6823 (LDFLAGS-tst-initorderb2.so): Likewise.
6824 (LDFLAGS-noload): Likewise.
6825 (LDFLAGS-next): Likewise.
6826 (LDFLAGS-order2mod1.so): Likewise.
6827 (LDFLAGS-order2mod2.so): Likewise.
6828 (LDFLAGS-tst-initorder2): Likewise.
6829 (LDFLAGS-tst-initorder2a.so): Likewise.
6830 (LDFLAGS-tst-initorder2b.so): Likewise.
6831 (LDFLAGS-tst-initorder2c.so): Likewise.
6832 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6834 2012-05-02 David S. Miller <davem@davemloft.net>
6836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6838 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6841 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6843 2012-05-02 Andreas Jaeger <aj@suse.de>
6845 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6846 since we manipulate rounding mode.
6847 (CPPFLAGS-test-idouble.c): Likewise.
6848 (CPPFLAGS-test-ifloat.c): Likewise.
6849 (CFLAGS-test-ldouble.c): Likewise.
6850 (CFLAGS-test-double.c): Likewise.
6851 (CFLAGS-test-float.c): Likewise.
6852 (CFLAGS-test-misc.c): Likewise.
6853 (CFLAGS-test-test-fenv.c): Likewise.
6855 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6859 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6860 comparisons to determine direction to adjust input.
6862 2012-05-01 Roland McGrath <roland@hack.frob.com>
6864 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6865 output to the target.
6867 * scripts/localplt.awk: New file.
6868 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6869 (check-localplt-CFLAGS): Variable removed.
6870 ($(all-built-dso:=.jmprel)): New static pattern rule.
6871 (generated): Add those targets.
6872 (localplt-built-dso): New variable.
6873 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6875 * elf/check-localplt.c: File removed.
6877 * scripts/check-execstack.awk: New file.
6878 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6879 (check-execstack-CFLAGS): Variable removed.
6880 ($(objpfx)check-execstack.h): Target removed.
6881 ($(objpfx)execstack-default): New target.
6882 (generated): Add that instead of check-execstack.h.
6883 ($(all-built-dso:=.phdr)): New static pattern rule.
6884 (generated): Add those targets.
6885 * elf/check-execstack.c: File removed.
6887 * scripts/check-textrel.awk: New file.
6888 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6889 (check-textrel-CFLAGS): Variable removed.
6890 (all-built-dso): Use := to define.o
6891 ($(all-built-dso:=.dyn)): New static pattern rule.
6892 (generated): Add those targets.
6893 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6894 * config.make.in (READELF): New substituted variable.
6895 * elf/check-textrel.c: File removed.
6897 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6899 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6901 * conform/data/ctype.h-data [C99-based standards] (isblank):
6903 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6904 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6905 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6906 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6907 Specify type. Require positive value.
6910 [ISO || POSIX] (EILSEQ): Do not expect.
6911 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6912 Specify type. Require positive value.
6913 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6914 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6915 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6916 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6917 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6918 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6919 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6920 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6921 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6922 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6923 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6924 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6925 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6926 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6927 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6928 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6929 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6930 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6931 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6932 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6933 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6934 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6935 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6936 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6937 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6938 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6939 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6940 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6941 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6942 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6943 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6944 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6945 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6946 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6947 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6948 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6949 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6950 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6951 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6952 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6953 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6954 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6955 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6956 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6957 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6958 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6959 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6960 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6961 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6962 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6963 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6964 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6965 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6966 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6967 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6968 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6969 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6970 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6971 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6972 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6973 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6974 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6975 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6976 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6977 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6978 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6979 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6980 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6981 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6982 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6983 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6984 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6985 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6986 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6987 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6988 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6989 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6991 (FLT_ROUNDS): Expect as macro, not constant.
6992 (FLT_MANT_DIG): Use macro-int-constant.
6993 (DBL_MANT_DIG): Likewise.
6994 (LDBL_MANT_DIG): Likewise.
6995 (FLT_DIG): Likewise.
6996 (DBL_DIG): Likewise.
6997 (LDBL_DIG): Likewise.
6998 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6999 (DBL_MIN_EXP): Likewise.
7000 (LDBL_MIN_EXP): Likewise.
7001 (FLT_MAX_EXP): Use macro-int-constant.
7002 (DBL_MAX_EXP): Likewise.
7003 (LDBL_MAX_EXP): Likewise.
7004 (FLT_MAX_10_EXP): Likewise.
7005 (DBL_MAX_10_EXP): Likewise.
7006 (LDBL_MAX_10_EXP): Likewise.
7007 (FLT_MAX): Use macro-constant.
7008 (DBL_MAX): Likewise.
7009 (LDBL_MAX): Likewise.
7010 (FLT_EPSILON): Use macro-constant. Give upper bound.
7011 (DBL_EPSILON): Likewise.
7012 (LDBL_EPSILON): Likewise.
7013 (FLT_MIN): Likewise.
7014 (DBL_MIN): Likewise.
7015 (LDBL_MIN): Likewise.
7016 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7017 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7018 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7019 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7020 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7021 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7022 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7023 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7024 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7025 [ISO11] (FLT_TRUE_MIN): Likewise.
7026 [ISO11] (LDBL_TRUE_MIN): Likewise.
7027 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7028 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7029 (SCHAR_MIN): Use macro-int-constant. Specify type.
7030 (SCHAR_MAX): Likewise.
7031 (UCHAR_MAX): Likewise.
7032 (CHAR_MIN): Likewise.
7033 (CHAR_MAX): Likewise.
7034 (MB_LEN_MAX): Use macro-int-constant.
7035 (SHRT_MIN): Use macro-int-constant. Specify type.
7036 (SHRT_MAX): Likewise.
7037 (USHRT_MAX): Likewise.
7038 (INT_MAX): Likewise.
7039 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7041 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7043 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7045 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7046 bound negative. Suffix upper bound with "L".
7047 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7049 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7051 [C99-based standards] (LLONG_MAX): Likewise.
7052 [C99-based standards] (ULLONG_MAX): Likewise.
7053 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7055 [ISO11] (max_align_t): Require type.
7056 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7058 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7059 from $CFLAGS, without defining away __attribute__ calls.
7060 (checknamespace): Use $CFLAGS_namespace.
7062 * conform/conformtest.pl (@keywords): Only include C99 keywords
7063 for standards based on C99 or C11.
7065 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7067 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7070 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7071 usability of symbols in #if.
7073 * conform/conformtest.pl: If macro or constant types start
7074 "promoted:", expect the symbol to be of the following type
7075 promoted by the integer promotions.
7077 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7078 in one place. Also handle "macro-constant".
7080 * conform/conformtest.pl: Only accept expected macro values with
7081 "==". Parse all "macro" lines in one place.
7082 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7084 * conform/conformtest.pl: Handle braced types on "constant" lines
7085 instead of handling "typed-constant".
7086 * conform/data/signal.h-data: Use "constant" instead of
7089 * conform/conformtest.pl: Handle "optional-" at start of lines in
7090 one place rather than duplicating several cases. Handle each
7091 format of "macro" line with initial "optional-".
7093 * conform/conformtest.pl: Only accept expected constant or
7094 optional-constant values with "==". Parse all "constant" lines in
7095 one place. Parse all "optional-constant" lines in one place.
7096 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7097 * conform/data/fmtmsg.h-data: Likewise.
7098 * conform/data/netinet/in.h-data: Likewise.
7099 * conform/data/tar.h-data: Likewise.
7100 * conform/data/limits.h-data: Use "==" form on "constant" and
7101 "optional-constant" lines.
7103 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7104 Use -std=c99 for XOPEN2K.
7105 (@knownproblems): Remove.
7106 (newtoken): Don't check %isknown.
7108 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7109 Do not expect macro.
7110 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7111 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7112 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7113 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7114 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7115 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7116 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7117 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7118 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7119 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7120 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7121 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7122 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7123 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7124 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7125 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7126 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7127 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7128 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7129 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7130 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7131 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7132 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7133 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7134 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7135 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7136 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7137 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7138 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7139 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7140 [XPG3] (acosh): Likewise.
7141 [XPG3] (asinh): Likewise.
7142 [XPG3] (atanh): Likewise.
7143 [XPG3] (cbrt): Likewise.
7144 [XPG3] (expm1): Likewise.
7145 [XPG3] (ilogb): Likewise.
7146 [XPG3] (log1p): Likewise.
7147 [XPG3] (logb): Likewise.
7148 [XPG3] (nextafter): Likewise.
7149 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7150 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7151 [XPG3] (remainder): Likewise.
7152 [XPG3] (rint): Likewise.
7153 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7154 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7155 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7156 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7157 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7158 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7159 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7160 [UNIX98 || XOPEN2K] (scalb): Expect.
7161 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7162 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7163 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7164 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7165 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7166 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7167 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7168 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7169 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7170 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7171 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7172 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7173 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7174 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7175 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7176 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7177 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7178 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7179 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7180 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7181 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7182 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7183 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7184 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7185 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7186 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7187 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7188 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7189 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7190 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7191 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7192 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7193 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7194 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7195 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7196 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7197 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7198 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7199 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7200 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7201 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7202 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7203 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7204 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7205 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7206 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7207 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7208 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7209 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7210 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7211 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7212 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7213 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7214 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7215 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7216 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7217 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7218 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7219 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7220 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7221 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7222 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7223 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7224 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7225 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7226 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7227 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7228 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7229 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7230 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7231 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7232 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7233 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7234 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7235 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7236 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7237 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7238 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7239 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7240 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7241 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7242 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7243 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7244 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7245 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7246 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7247 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7248 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7249 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7250 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7251 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7252 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7253 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7254 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7255 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7256 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7257 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7258 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7259 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7260 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7261 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7262 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7263 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7264 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7265 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7266 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7267 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7268 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7269 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7270 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7271 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7272 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7273 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7274 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7275 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7276 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7277 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7278 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7279 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7280 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7281 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7282 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7283 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7284 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7285 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7286 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7287 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7288 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7289 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7290 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7291 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7292 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7293 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7294 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7295 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7296 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7297 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7299 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7300 _XOPEN_SOURCE_EXTENDED for XPG4.
7302 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7304 * Makeconfig (localtime): Remove variable.
7305 (inst_localtime-file): Likewise.
7307 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7328 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7332 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7333 comparisons to determine direction to adjust input.
7334 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7335 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7336 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7338 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7340 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7342 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7343 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7345 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7347 * math/libm-test.inc (nexttoward_test): Add more tests.
7349 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7352 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7353 in version GLIBC_2.1, not GLIBC_2.0.
7354 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7357 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7360 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7362 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7363 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7364 * math/libm-test.inc (acos_test): Add more tests.
7365 (asin_test): Likewise.
7366 * sysdeps/i386/fpu/libm-test-ulps: Update.
7367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7370 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7372 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7373 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7374 * math/libm-test.inc (acos_test_tonearest): New function.
7375 (acos_test_towardzero): Likewise.
7376 (acos_test_downward): Likewise.
7377 (acos_test_upward): Likewise.
7378 (asin_test_tonearest): Likewise.
7379 (asin_test_towardzero): Likewise.
7380 (asin_test_downward): Likewise.
7381 (asin_test_upward): Likewise.
7382 (main): Call the new functions.
7383 * sysdeps/i386/fpu/libm-test-ulps: Update.
7384 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7388 * math/e_exp10.c: Include <float.h>.
7389 (__ieee754_exp10): Handle underflow here rather than multiplying
7390 large negative argument by M_LN10.
7391 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7393 * math/e_exp10l.c: Include <float.h>.
7394 (__ieee754_exp10l): Handle underflow here rather than multiplying
7395 large negative argument by M_LN10l.
7396 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7397 spurious overflow exception on underflow.
7399 2012-04-29 Marek Polacek <polacek@redhat.com>
7401 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7402 (__fortify_function): New macro.
7403 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7404 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7405 __extern_always_inline.
7406 * libio/bits/stdio2.h: Likewise.
7407 * libio/bits/stdio.h: Likewise.
7408 * string/string.h: Likewise.
7409 * string/bits/string3.h: Likewise.
7410 * include/stdio.h: Likewise.
7411 * stdlib/bits/stdlib.h: Likewise.
7412 * stdlib/stdlib.h: Likewise.
7413 * rt/bits/mqueue2.h: Likewise.
7414 * rt/mqueue.h: Likewise.
7415 * posix/bits/unistd.h: Likewise.
7416 * posix/unistd.h: Likewise.
7417 * io/bits/poll2.h: Likewise.
7418 * io/bits/fcntl2.h: Likewise.
7419 * io/fcntl.h: Likewise.
7420 * io/sys/poll.h: Likewise.
7421 * misc/bits/syslog.h: Likewise.
7422 * misc/bits/syslog-ldbl.h: Likewise.
7423 * misc/sys/syslog.h: Likewise.
7424 * socket/bits/socket2.h: Likewise.
7425 * socket/sys/socket.h: Likewise.
7426 * debug/tst-chk1.c: Likewise.
7427 * wcsmbs/bits/wchar2.h: Likewise.
7428 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7429 * wcsmbs/wchar.h: Likewise.
7431 2012-04-29 Andreas Jaeger <aj@suse.de>
7433 * Makerules (tests): Remove enable-check-abi protection.
7434 (check-abi-warn): Remove.
7435 (check-abi-%): Remove check-abi-warn usage.
7437 * configure.in: Remove check-abi configure option.
7438 * configure: Regenerated.
7439 * config.make.in (enable-check-abi): Remove.
7441 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7444 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7445 double functions to double *_finite functions.
7448 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7449 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7451 * stdio-common/Makefile (tests): Add tst-sprintf3.
7452 * stdio-common/tst-sprintf3.c: New file.
7454 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7455 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7457 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7459 * conform/conformtest.pl: Remove duplicate typed-constant
7462 2012-04-28 David S. Miller <davem@davemloft.net>
7464 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7465 (check-abi-%): Remove AWK script prerequisite and explicit
7467 (check-abi): Rewrite to just diff the symlist with the abilist.
7468 (config-tls, config-abi-config): Delete, no longer used.
7469 (update-abi-%): Remove AWK script and explicit abilist directory.
7470 (update-abi): Rewrite to simply compare and conditionally copy the
7471 symlist and the sysdep abilist file. Remove update-abi-config
7473 * abilist/ld.abilist: Remove.
7474 * abilist/libBrokenLocale.abilist: Remove.
7475 * abilist/libanl.abilist: Remove.
7476 * abilist/libcrypt.abilist: Remove.
7477 * abilist/libdl.abilist: Remove.
7478 * abilist/librt.abilist: Remove.
7479 * abilist/libthread_db.abilist: Remove.
7480 * abilist/libutil.abilist: Remove.
7481 * scripts/extract-abilist.awk: Remove.
7482 * scripts/merge-abilist.awk: Remove.
7483 * sysdeps/generic/libcidn.abilist: New file.
7484 * sysdeps/generic/libnss_compat.abilist: New file.
7485 * sysdeps/generic/libnss_db.abilist: New file.
7486 * sysdeps/generic/libnss_dns.abilist: New file.
7487 * sysdeps/generic/libnss_files.abilist: New file.
7488 * sysdeps/generic/libnss_hesiod.abilist: New file.
7489 * sysdeps/generic/libnss_nis.abilist: New file.
7490 * sysdeps/generic/libnss_nisplus.abilist: New file.
7491 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7492 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7493 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7495 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7496 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7497 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7498 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7499 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7500 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7501 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7502 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7503 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7505 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7506 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7507 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7508 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7510 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7511 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7512 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7513 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7514 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7515 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7517 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7518 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7519 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7521 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7522 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7524 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7526 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7528 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7530 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7532 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7534 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7536 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7538 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7540 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7542 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7544 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7624 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7625 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7626 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7628 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7629 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7630 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7631 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7632 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7633 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7634 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7635 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7636 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7637 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7689 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7691 * conform/conformtest.pl: Fix typo in handling typed-constant from
7694 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7696 * README: Cut down references to pre-2.6 Linux kernels and
7697 Linuxthreads. Update lists of configurations in libc and ports
7698 and sort alphabetically. Say "or newer" with Linux kernel version
7701 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7703 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7706 * math/libm-test.inc (logb_test_downward): New test to expose
7707 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7710 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7713 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7715 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7716 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7718 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7720 * sysdeps/unix/i386/brk.S: Remove file.
7721 * sysdeps/unix/i386/dl-brk.S: Likewise.
7722 * sysdeps/unix/i386/pipe.S: Likewise.
7723 * sysdeps/unix/i386/sigreturn.S: Likewise.
7724 * sysdeps/unix/i386/syscall.S: Likewise.
7725 * sysdeps/unix/i386/vfork.S: Likewise.
7726 * sysdeps/unix/i386/wait.S: Likewise.
7728 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7729 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7731 * configure.in (arm*-none*): Do not allow without
7732 --enable-hacker-mode.
7733 (netbsd*): Remove case setting base_os.
7734 (386bsd*): Likewise.
7735 (freebsd*): Likewise.
7739 (ultrix*): Likewise.
7740 (newsos*): Likewise.
7750 (solaris[2-9]*): Likewise.
7752 * configure: Regenerated.
7754 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7757 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7758 overflow or cancellation in calculating denominator.
7759 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7760 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7761 down expression to avoid unexpected rounding in newer GCCs.
7762 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7764 2012-04-26 David S. Miller <davem@davemloft.net>
7766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7767 long-double compat symbols.
7768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7782 2012-04-25 David S. Miller <davem@davemloft.net>
7784 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7785 HWCAP_* values only after the memory barriers have been defined.
7786 (atomic_full_barrier): Define.
7787 (atomic_read_barrier): Define.
7788 (atomic_write_barrier): Define.
7790 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7792 * shlib-versions: Add libgcc_s version information.
7793 * sysdeps/generic/libgcc_s.h: Remove.
7794 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7796 * sysdeps/gnu/unwind-resume.c: Likewise.
7797 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7799 2012-04-25 David S. Miller <davem@davemloft.net>
7801 * sysdeps/unix/sparc/brk.S: Delete.
7802 * sysdeps/unix/sparc/dl-brk.S: Delete.
7803 * sysdeps/unix/sparc/pipe.S: Delete.
7804 * sysdeps/unix/sparc/sysdep.S: Delete.
7805 * sysdeps/unix/sparc/sysdep.h: Delete.
7806 * sysdeps/unix/sparc/vfork.S: Delete.
7807 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7808 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7809 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7810 ret_ERRVAL, r0, r1, MOVE): Define.
7811 (JUMPTARGET): Remove.
7812 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7813 sysdeps/unix/sparc/sysdep.h
7814 (ENTRY, END): Remove.
7815 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7817 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7819 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7820 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7823 * timezone/README: Update upstream location and email address for
7825 * timezone/zdump.c: Update from tzcode 2012b.
7826 * timezone/zic.c: Likewise.
7828 * configure.in (libc_cv_as_needed): Remove test.
7829 * configure: Regenerated.
7830 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7831 conditional definition.
7832 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7833 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7834 * config.make.in (have-as-needed): Remove variable.
7836 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7837 Paul Pluzhnikov <ppluzhnikov@google.com>
7839 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7842 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7844 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7845 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7846 * sysdeps/sh/strlen.S: Likewise.
7848 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7850 * sysdeps/unix/fork.S: Remove file.
7851 * sysdeps/unix/i386/fork.S: Likewise.
7852 * sysdeps/unix/sparc/fork.S: Likewise.
7854 * sysdeps/unix/system.c: Remove file.
7855 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7857 * sysdeps/unix/getegid.S: Remove file.
7858 * sysdeps/unix/geteuid.S: Likewise.
7860 2012-04-24 Roland McGrath <roland@hack.frob.com>
7862 * scripts/check-localplt.awk: New file.
7863 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7865 * scripts/data/localplt-generic.data: Add a comment.
7867 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7868 NODE when __dir_mkfile failed.
7869 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7870 Reported by Ludovic Courtès <ludo@gnu.org>.
7872 2012-04-24 Andreas Jaeger <aj@suse.de>
7874 * Makerules (common-clean): Also remove gen-as-const-headers
7877 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7879 * Makerules (native-compile): Do not change working directory for
7880 build. Use $(OUTPUT_OPTION) in command.
7881 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7883 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7886 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7887 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7888 * math/libm-test.inc (floor_test): Add more tests.
7889 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7891 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7893 * sysdeps/unix/getdents.c: Remove file.
7894 * sysdeps/unix/sysv/getdents.c: Likewise.
7895 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7897 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7898 sysdeps/unix/mman/syscalls.list.
7900 (mprotect): Likewise.
7903 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7904 * sysdeps/unix/mman/syscalls.list: Remove.
7905 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7907 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7908 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7909 * configure: Regenerated.
7910 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7912 * config.make.in (libgcc_s_suffix): Remove variable.
7914 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7916 * sysdeps/unix/sysv/gethostname.c: Move to ...
7917 * sysdeps/posix/gethostname.c: ... here.
7919 * sysdeps/unix/execve.S: Remove file.
7921 * sysdeps/unix/_exit.S: Remove file.
7923 2012-04-23 Andreas Jaeger <aj@suse.de>
7926 * manual/Makefile: Remove make dist support, there's no
7927 need for a stand-alone documentation tar ball.
7928 (TEXI2DVI): Define always, it's not in Makeconfig.
7932 (glibc-doc-$(edition).tar): Removed
7936 (ETAGS): Remove, it's in Makeconfig.
7937 (move-if-change): Remove, it's in Makeconfig.
7939 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7942 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7943 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7944 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7945 (strtod_l, strtof_l, strtold_l): Remove __wur.
7946 It is not necessarily an error to ignore strtol's return value.
7947 One can reliably look at the stored endptr to decide whether
7948 the number had valid syntax.
7950 2012-04-21 Andreas Jaeger <aj@suse.de>
7953 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7955 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7957 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7958 * sysdeps/unix/sysv/Versions: Remove file.
7960 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7965 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7968 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7969 version from __vm86.
7971 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7973 * sysdeps/unix/common/lxstat.c: Remove file.
7974 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7976 * sysdeps/unix/sysv/Makefile: Remove file.
7978 * sysdeps/unix/sysv/direct.h: Remove file.
7980 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7981 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7982 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7983 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7984 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7985 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7986 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7988 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7990 * sysdeps/unix/xmknod.c: Remove file.
7991 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7993 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7995 * sysdeps/unix/sysv/i386/time.S: Remove file.
7997 * sysdeps/unix/fxstat.c: Remove file.
7998 * sysdeps/unix/xstat.c: Likewise.
7999 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8001 * sysdeps/unix/sysv/sigaction.c: Remove file.
8003 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8004 (sysdep_headers): Remove variable.
8005 [termio.h not in sysdep_headers] (generated): Likewise.
8006 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8007 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8008 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8009 * sysdeps/unix/sysv/tcflow.c: Likewise.
8010 * sysdeps/unix/sysv/tcflush.c: Likewise.
8011 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8012 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8013 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8014 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8015 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8017 * sysdeps/unix/siglist.c: Remove file.
8019 * sysdeps/unix/getppid.S: Remove file.
8021 * sysdeps/unix/mkdir.c: Remove file.
8022 * sysdeps/unix/rmdir.c: Likewise.
8024 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8026 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8028 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8029 errlist-compat value.
8031 2012-04-18 David S. Miller <davem@davemloft.net>
8033 * sysdeps/generic/memcopy.h (reg_char): Delete.
8034 * debug/strcat_chk.c: Use char, not reg_char.
8035 * debug/strcpy_chk.c: Likewise.
8036 * debug/strncat_chk.c: Likewise.
8037 * debug/strncpy_chk.c: Likewise.
8038 * string/memchr.c: Likewise.
8039 * string/memrchr.c: Likewise.
8040 * string/rawmemchr.c: Likewise.
8041 * string/strcat.c: Likewise.
8042 * string/strchr.c: Likewise.
8043 * string/strchrnul.c: Likewise.
8044 * string/strcmp.c: Likewise.
8045 * string/strcpy.c: Likewise.
8046 * string/strncat.c: Likewise.
8047 * string/strncmp.c: Likewise.
8048 * string/strncpy.c: Likewise.
8050 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8052 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8053 __builtin_memcopy is called when src and dest ranges are known to not
8056 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8058 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8059 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8060 fwd_align_merge macro call.
8061 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8062 bwd_align_merge macro call.
8063 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8065 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8067 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8068 bwd_align_merge macros.
8069 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8070 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8071 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8073 2012-04-18 David S. Miller <davem@davemloft.net>
8075 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8077 2012-04-18 Andreas Jaeger <aj@suse.de>
8080 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8081 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8082 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8084 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8085 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8086 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8088 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8089 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8090 Adjust for changed ldbl-128 files.
8092 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8093 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8094 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8096 2012-04-17 David S. Miller <davem@davemloft.net>
8098 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8100 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8102 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8103 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8104 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8105 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8106 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8107 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8109 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8112 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8113 * math/libm-test.inc: Add ilogb errno and exception tests.
8114 * math/w_ilogb.c: New file: ilogb wrapper.
8115 * math/w_ilogbf.c: New file: ilogbf wrapper.
8116 * math/w_ilogbl.c: New file: ilogbl wrapper.
8117 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8118 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8119 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8120 exception being thrown with 0.0 as argument.
8121 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8122 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8123 exception being thrown with 0.0 as argument.
8124 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8125 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8126 exception being thrown with 0.0 as argument.
8127 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8128 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8129 exception being thrown with 0.0 as argument.
8130 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8131 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8132 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8133 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8134 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8135 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8136 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8137 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8138 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8140 2012-04-17 Petr Baudis <pasky@ucw.cz>
8142 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8145 2012-04-16 Marek Polacek <polacek@redhat.com>
8147 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8149 2012-04-16 Marek Polacek <polacek@redhat.com>
8151 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8152 operands of fdivp instruction.
8154 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8156 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8157 * elf/tst-auditmod3b.c: Likewise.
8158 * elf/tst-auditmod4b.c: Likewise.
8159 * elf/tst-auditmod5b.c: Likewise.
8160 * elf/tst-auditmod6b.c: Likewise.
8161 * elf/tst-auditmod6c.c: Likewise.
8162 * elf/tst-auditmod7b.c: Likewise.
8163 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8164 * sysdeps/x86_64/preconfigure.in: Likewise.
8165 * sysdeps/x86_64/preconfigure: Regenerated.
8167 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8169 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8172 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8174 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8175 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8177 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8180 * locale/iso-639.def: Fix gl language name. Spotted by
8183 2012-04-12 Roland McGrath <roland@hack.frob.com>
8186 * libio/libio.h (__io_write_fn): Update comment.
8188 2012-04-12 Petr Baudis <pasky@ucw.cz>
8191 * stdio.texi (Hook Functions): The user provided writer function
8192 is not allowed to return -1.
8194 2012-04-11 David S. Miller <davem@davemloft.net>
8196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8198 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8200 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8201 Add a leading slash to rtkaio.
8203 2012-04-11 Jim Meyering <meyering@redhat.com>
8206 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8207 It is not necessarily an error to ignore fwrite's return
8208 value. One can reliably use ferror to test for errors after
8211 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8213 * bits/types.h (__snseconds_t): New type.
8214 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8216 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8217 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8218 (__SNSECONDS_T_TYPE): Likewise.
8219 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8220 (__SNSECONDS_T_TYPE): Likewise.
8221 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8222 (__SNSECONDS_T_TYPE): Likewise.
8224 2012-04-10 Andreas Jaeger <aj@suse.de>
8227 * manual/time.texi (Processor Time): Return type of times is
8228 elapsed real time since an arbitrary point in the past.
8229 (CPU Time): Move CLK_TCK from here...
8230 (Processor Time): ...to here. Correct description.
8231 * manual/conf.texi (Constants for Sysconf): Correct description of
8234 2012-04-10 David S. Miller <davem@davemloft.net>
8237 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8238 where the is a gap between DT_REL(A) and DT_JMPREL.
8240 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8242 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8243 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8244 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8246 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8248 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8249 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8250 (dl_main): Handle --inhibit-cache.
8251 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8253 * elf/dl-load.c (_dl_map_object): Use it.
8254 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8256 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8259 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8260 (__ieee754_powl): Saturate large exponents rather than testing for
8261 overflow of y*log2(x).
8262 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8263 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8267 * math/s_ctan.c: Include <float.h>.
8268 (__ctan): Avoid internal overflow or cancellation in calculating
8270 * math/s_ctanf.c: Likewise.
8271 * math/s_ctanl.c: Likewise.
8272 * math/s_ctanh.c: Likewise.
8273 * math/s_ctanhf.c: Likewise.
8274 * math/s_ctanhl.c: Likewise.
8275 * math/libm-test.inc (ctan_test): Add more tests.
8276 (ctanh_test): Likewise.
8277 * sysdeps/i386/fpu/libm-test-ulps: Update.
8278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8280 2012-04-09 Andreas Jaeger <aj@suse.de>
8283 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8284 is an optional BSD extension.
8287 * manual/stdio.texi (Opening Streams): Document additional fopen
8290 2012-04-09 Roland McGrath <roland@hack.frob.com>
8292 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8293 %eax without telling the compiler.
8295 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8298 * manual/install.texi: Use sourceware.org.
8300 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8303 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8304 (__ieee754_pow): Generate overflow and underflow using huge*huge
8305 and tiny*tiny rather than just returning constant infinity or zero
8306 for large exponents.
8307 * math/libm-test.inc (pow_test): Require overflow exceptions for
8308 applicable cases of large exponents.
8311 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8312 (__ieee754_pow): Use iterative multiplication algorithm only for
8313 integer exponents with absolute value below 1024. Check for odd
8314 integer exponents when using algorithm for real exponents.
8315 * math/libm-test.inc (pow_test): Add more tests.
8316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8318 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8321 * math/libm-test.inc (exp_test): Do not allow overflow exception
8324 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8327 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8328 instead of __kernel_standard_f.
8330 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8332 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8333 * sysdeps/x86_64/memset_chk.S: Likewise.
8335 2012-04-08 Andreas Jaeger <aj@suse.de>
8338 * manual/startup.texi (Environment Access): Describe return value
8339 for putenv and setenv.
8342 * manual/filesys.texi (Directory Entries): Add description for
8346 * manual/filesys.texi (Directory Entries): Clarify that it's file
8347 system not operating system in the description of DT_UNKNOWN.
8350 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8352 2012-04-08 Stephen Compall <s11@member.fsf.org>
8355 * manual/llio.texi (Opening and Closing Files): Add cross
8356 reference to explain mode argument.
8358 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8360 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8361 * sysdeps/x86_64/memset_chk.S: Likewise.
8363 2012-04-07 David S. Miller <davem@davemloft.net>
8365 * elf/elf.h (R_SPARC_WDISP10): Define.
8366 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8368 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8369 R_SPARC_SIZE64 and R_SPARC_H34.
8371 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8373 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8374 conditions and remove no longer applicable assertion.
8376 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8378 * bits/byteswap.h: Include <features.h>.
8379 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8380 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8382 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8384 * bits/byteswap.h (__bswap_16): Removed.
8385 Include <bits/byteswap-16.h> to get __bswap_16.
8386 * sysdeps/i386/bits/byteswap.h: Likewise.
8387 * sysdeps/s390/bits/byteswap.h: Likewise.
8388 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8389 * bits/byteswap-16.h: New file.
8390 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8391 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8392 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8393 * string/Makefile (headers): Add bits/byteswap-16.h.
8395 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8398 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8400 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8401 * nss/tst-nss-static.c: New.
8403 2012-04-06 Robert Millan <rmh@gnu.org>
8406 * manual/llio.texi (File Position Primitive): lseek
8407 refers to WHENCE when it really means OFFSET.
8409 2012-04-06 Andreas Jaeger <aj@suse.de>
8411 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8412 strncmp declarations.
8414 * abilist/libc.abilist: Add __poll and __ppoll.
8416 2012-04-05 David S. Miller <davem@davemloft.net>
8418 * scripts/check-local-headers.sh: Accept a host triplet in the
8419 path matched by the exclude regexp.
8421 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8423 * sysdeps/powerpc/powerpc32/dl-machine.h
8424 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8425 * sysdeps/s390/s390-32/dl-machine.h
8426 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8427 * sysdeps/sparc/sparc32/dl-machine.h
8428 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8429 * sysdeps/sparc/sparc64/dl-machine.h
8430 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8432 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8434 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8435 undefined symbol errors.
8437 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8440 2012-04-05 Michael Matz <matz@suse.de>
8443 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8445 2012-04-05 Andreas Jaeger <aj@suse.de>
8448 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8451 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8453 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8454 which ROUND is no valid rounding mode.
8456 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8458 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8460 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8462 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8464 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8465 an exception using FPU order intentionally.
8467 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8469 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8470 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8471 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8472 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8474 2012-04-05 Simon Josefsson <simon@josefsson.org>
8477 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8478 EINVAL when BUFLEN is too smal.
8480 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8483 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8484 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8486 2012-04-03 Andreas Jaeger <aj@suse.de>
8489 * manual/setjmp.texi (System V contexts): Fix sentence.
8492 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8493 New macro for this case.
8494 [!__GNUC__] (__bswap_64): New inline function for this case.
8495 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8496 * bits/byteswap.h: Likewise.
8497 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8498 ull, guard with __GLIBC_HAVE_LONG_LONG.
8500 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8501 __GLIBC_HAVE_LONG_LONG.
8503 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8504 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8506 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8509 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8510 inptr and inend, rather than using last_ch.
8512 2012-04-02 David S. Miller <davem@davemloft.net>
8514 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8515 * stdio-common/printf-parse.h (read_int): Change return type to
8516 'int', return -1 on INT_MAX overflow.
8517 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8518 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8519 overflows INT_MAX. Check for overflow of in-format-string precision
8520 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8521 SIZE_MAX not INT_MAX for integer overflow test.
8522 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8523 skip the construct in the format string but do not record anything.
8524 * stdio-common/bug22.c: Adjust to test both width/prevision
8525 INT_MAX overflow as well as total length INT_MAX overflow. Check
8526 explicitly for proper errno values.
8528 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8530 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8532 * string/test-strcmp.c [! WIDE]: Likewise.
8533 * time/tst-mktime2.c: Likewise for INT_MAX.
8534 * string/test-string.h: #include <sys/param.h> for MIN.
8536 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8537 * sysdeps/i386/init-first.c (init): Likewise.
8538 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8539 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8540 * sysdeps/sh/init-first.c (init): Likewise.
8542 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8544 * po/ru.po: Update from translation team.
8545 * po/vi.po: Likewise.
8547 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8549 * resolv/nss_dns/dns-host.c: Merge copyright years.
8551 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8553 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8554 Optimize memcpy with prefetch if
8555 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8556 src, dst pointers have unequal 16 byte alignments.
8558 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8561 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8562 from a CNAME entry and return the minimum ttl for the query.
8563 (gaih_getanswer_slice): Likewise.
8565 2012-03-30 Jeff Law <law@redhat.com>
8567 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8569 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8570 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8572 * resolv/nss_dns/dns-host.c: Update copyright year.
8574 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8576 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8577 requests to save a system call. Fix check that all bytes are sent.
8579 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8580 comments for sendmmsg.
8582 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8585 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8586 with only 1 character between 0x0041 and 0x01b0.
8587 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8588 * wcsmbs/tst-mbsnrtowcs.c: New file.
8590 2012-03-29 David S. Miller <davem@davemloft.net>
8592 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8593 small copies by hand.
8595 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8598 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8599 _nss_compat_initgroups_dyn): Fall back to malloc/free
8600 for large group memberships.
8602 2012-03-28 David S. Miller <davem@davemloft.net>
8604 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8605 that branches into memcpy.
8606 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8607 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8608 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8609 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8610 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8612 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8614 * sysdeps/sparc/mempcpy.S: New file.
8616 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8617 the IFUNC routine in the libc case.
8618 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8620 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8621 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8622 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8623 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8624 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8625 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8626 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8627 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8629 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8630 loop to 256 bytes instead of 64 bytes and fix test signedness.
8632 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8633 * sysdeps/sparc/sparc32/Makefile: rather than here...
8634 * sysdeps/sparc/sparc64/Makefile: and here.
8636 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8638 * malloc/mallocbug.c: Avoid warnings about unused variables.
8640 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8643 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8644 in the right place. Discard and retry query if response is
8645 larger than input buffer size.
8647 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8652 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8653 x for large integer exponent.
8654 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8655 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8656 sign of result as needed afterwards.
8657 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8658 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8659 result for underflowing pow the same as for overflow.
8660 (__kernel_standard_l): Handle powl overflow and underflow here
8661 rather than calling __kernel_standard.
8662 * math/libm-test.inc (pow_test): Add more tests.
8677 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8678 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8679 (__kernel_standard_l): New function.
8680 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8682 * math/w_acosl.c (__acosl): Likewise.
8683 * math/w_asinl.c (__asinl): Likewise.
8684 * math/w_atan2l.c (__atan2l): Likewise.
8685 * math/w_atanhl.c (__atanhl): Likewise.
8686 * math/w_coshl.c (__coshl): Likewise.
8687 * math/w_exp10l.c (__exp10l): Likewise.
8688 * math/w_exp2l.c (__exp2l): Likewise.
8689 * math/w_fmodl.c (__fmodl): Likewise.
8690 * math/w_hypotl.c (__hypotl): Likewise.
8691 * math/w_j0l.c (__j0l, __y0l): Likewise.
8692 * math/w_j1l.c (__j1l, __y1l): Likewise.
8693 * math/w_jnl.c (__jnl, __ynl): Likewise.
8694 * math/w_lgammal.c (__lgammal): Likewise.
8695 * math/w_log10l.c (__log10l): Likewise.
8696 * math/w_log2l.c (__log2l): Likewise.
8697 * math/w_logl.c (__logl): Likewise.
8698 * math/w_powl.c (__powl): Likewise.
8699 * math/w_remainderl.c (__remainderl): Likewise.
8700 * math/w_scalbl.c (sysv_scalbl): Likewise.
8701 * math/w_sinhl.c (__sinhl): Likewise.
8702 * math/w_sqrtl.c (__sqrtl): Likewise.
8703 * math/w_tgammal.c (__tgammal): Likewise.
8704 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8705 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8706 * math/libm-test.inc (acos_test): Add more tests.
8707 (acosh_test): Likewise.
8708 (asin_test): Likewise.
8709 (atanh_test): Likewise.
8710 (exp_test): Likewise.
8711 (exp10_test): Likewise.
8712 (exp2_test): Likewise.
8713 (expm1_test): Likewise.
8714 (lgamma_test): Likewise.
8715 (log_test): Likewise.
8716 (log10_test): Likewise.
8717 (log1p_test): Likewise.
8718 (log2_test): Likewise.
8719 (pow_test): Do not allow some spurious overflow exceptions.
8720 (sqrt_test): Add more tests.
8721 (tgamma_test): Likewise.
8722 (y0_test): Likewise.
8723 (y1_test): Likewise.
8724 (yn_test): Likewise.
8726 2012-03-27 Anton Blanchard <anton@samba.org>
8728 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8730 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8731 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8732 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8734 2012-03-27 David S. Miller <davem@davemloft.net>
8736 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8738 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8741 2012-03-27 Andreas Jaeger <aj@suse.de>
8743 * sysdeps/x86_64/elf/configure.in: Moved to ...
8744 * sysdeps/x86_64/configure.in: ... here.
8745 * sysdeps/x86_64/elf/start.S: Moved to ...
8746 * sysdeps/x86_64/start.S: ... here.
8747 * sysdeps/x86_64/elf/configure: Delete.
8749 * sysdeps/x86_64/configure.in: Merge contents from
8750 sysdeps/i386/configure.in (without i686 check).
8752 * sysdeps/i386/elf/Versions: Merge into ...
8753 * sysdeps/i386/Versions: ... this.
8754 * sysdeps/i386/elf/Versions: Delete file.
8755 * sysdeps/i386/elf/start.S: Moved to ...
8756 * sysdeps/i386/start.S: ...here.
8757 * sysdeps/i386/elf/configure.in: Merge into...
8758 * sysdeps/i386/configure.in: ...here.
8759 * sysdeps/i386/elf/configure.in: Delete file.
8760 * sysdeps/i386/elf/configure: Delete file.
8762 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8763 * debug/backtracesyms.c: ... here.
8764 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8765 * debug/backtracesymsfd.c: ... here.
8766 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8767 * sysdeps/generic/ifunc-sel.h: ... here.
8769 * sysdeps/unix/i386/start.c: Delete file.
8770 * sysdeps/unix/sparc/start.c: Delete file.
8771 * sysdeps/unix/start.c: Delete file.
8773 * sysdeps/sh/elf/configure.in: Moved to ...
8774 * sysdeps/sh/configure.in: ... here.
8775 * sysdeps/sh/elf/start.S: Moved to ...
8776 * sysdeps/sh/start.S: ... here.
8777 * sysdeps/sh/elf/configure: Delete file.
8779 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8780 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8781 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8782 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8783 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8784 * sysdeps/powerpc/powerpc64/start.S: here.
8785 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8786 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8787 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8788 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8789 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8791 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8792 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8793 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8794 * sysdeps/powerpc/powerpc32/start.S: ... here.
8795 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8796 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8797 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8799 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8800 * sysdeps/powerpc/ifunc-sel.h: ... here.
8801 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8802 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8804 * sysdeps/sparc/elf/configure.in: Moved to ...
8805 * sysdeps/sparc/configure.in: ... here.
8806 * sysdeps/sparc/elf/configure: Delete file.
8807 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8808 * sysdeps/sparc/sparc32/start.S: ... here.
8809 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8810 * sysdeps/sparc/sparc64/start.S: ... here.
8811 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8812 * sysdeps/sparc/sparc32/Makefile: ... this.
8813 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8814 * sysdeps/sparc/sparc64/Makefile: ... this.
8816 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8817 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8818 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8819 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8820 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8821 * sysdeps/s390/s390-32/setjmp.S: ... here.
8822 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8823 * sysdeps/s390/s390-32/configure.in: ... here.
8824 * sysdeps/s390/s390-32/elf/configure: Delete file.
8825 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8826 * sysdeps/s390/s390-32/start.S: ... here.
8828 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8829 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8830 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8831 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8832 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8833 * sysdeps/s390/s390-64/setjmp.S: ... here.
8834 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8835 * sysdeps/s390/s390-64/configure.in: ... here
8836 * sysdeps/s390/s390-64/elf/configure: Delete file.
8837 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8838 * sysdeps/s390/s390-64/start.S: ... here.
8839 * sysdeps/s390/s390-64/elf/configure: Delete.
8841 * configure.in: Remove support for elf directories in sysdeps.
8843 * configure: Regenerated.
8844 * sysdeps/i386/configure: Regenerated.
8845 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8846 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8847 * sysdeps/s390/s390-32/configure: Regenerated.
8848 * sysdeps/s390/s390-64/configure: Regenerated.
8849 * sysdeps/sh/configure: Regenerated.
8850 * sysdeps/sparc/configure: Regenerated.
8851 * sysdeps/x86_64/configure: Regenerated.
8853 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8857 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8858 denormal result into account.
8860 2012-03-25 Roland McGrath <roland@hack.frob.com>
8862 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8863 Reported by Allan McRae <allan@archlinux.org>.
8865 2012-03-23 Jeff Law <law@redhat.com>
8867 * nss/getnssent.c (__nss_getent): Fix typo.
8869 2012-03-23 David S. Miller <davem@davemloft.net>
8871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8873 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8875 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8876 to pad to uint64_t for each field.
8877 (dl_tls_index): Replace unsigned long with uint64_t.
8879 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8880 Paul Pluzhnikov <ppluzhnikov@google.com>
8883 * grp/Makefile (otherlibs): Don't set it.
8884 * inet/Makefile (otherlibs): Likewise.
8885 * login/Makefile (otherlibs): Likewise.
8886 * nscd/Makefile (otherlibs): Likewise.
8887 * posix/Makefile (otherlibs): Likewise.
8888 * pwd/Makefile (otherlibs): Likewise.
8889 * rt/Makefile (otherlibs): Likewise.
8890 * sunrpc/Makefile (otherlibs): Likewise.
8891 * nss/Makefile (otherlibs): Likewise.
8892 Add libnss_files to routines and static-only-routines.
8893 ($(objpfx)getent): Remove rule.
8894 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8895 static-only-routines.
8897 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8900 * math/s_cexp.c: Include <float.h>.
8901 (__cexp): Handle exp result overflowing not necessarily
8902 overflowing both real and imaginary parts of result.
8903 * math/s_cexpf.c: Likewise.
8904 * math/s_cexpl.c: Likewise.
8905 * math/libm-test.inc (cexp_test): Add more tests.
8906 * sysdeps/i386/fpu/libm-test-ulps: Update.
8907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8909 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8911 * include/link.h (ELFW): New macro.
8912 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8913 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8915 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8917 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8920 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8922 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8924 (struct La_x32_retval): Likewise.
8926 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8928 * sysdeps/x86_64/preconfigure.in: New file.
8929 * sysdeps/x86_64/preconfigure: New generated file.
8931 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8934 * math/e_exp2l.c: Include <float.h>.
8935 (__ieee754_exp2l): Handle overflow and underflow cases
8936 separately. Only pass fractional part of argument to
8938 * math/libm-test.inc (exp2_test): Add more tests.
8940 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8941 negating x to take absolute value.
8942 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8944 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8945 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8947 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8948 computing low part if x was negated.
8949 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8951 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8953 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8955 (pltexit): Cast int_retval to ptrdiff_t.
8956 * elf/tst-auditmod3b.c: Likewise.
8957 * elf/tst-auditmod4b.c: Likewise.
8958 * elf/tst-auditmod5b.c: Likewise.
8959 * elf/tst-auditmod6b.c: Likewise.
8960 * elf/tst-auditmod6c.c: Likewise.
8961 * elf/tst-auditmod7b.c: Likewise.
8963 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8964 and x32_gnu_pltexit.
8966 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8968 (La_x32_regs): New macro.
8969 (La_x32_retval): Likewise.
8970 (la_x32_gnu_pltenter): New function prototype.
8971 (la_x32_gnu_pltexit): Likewise.
8973 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8975 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8980 * configure.in (libc_cv_cc_nofma): Check for option to disable
8981 generation of FMA instructions.
8982 * configure: Regenerate.
8983 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8984 * sysdeps/ieee754/dbl-64/Makefile: New file.
8985 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8986 Remove brandred-fma4.
8987 (CFLAGS-brandred-fma4.c): Remove.
8988 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8989 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8991 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8994 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8996 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8997 LLONG_MAX != LONG_MAX.
8998 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8999 (_fitoa_word): Likewise.
9000 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9001 LLONG_MAX != LONG_MAX.
9002 * stdio-common/_itowa.h: Include <_itoa.h>.
9003 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9004 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9005 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9006 only if not defined.
9007 (_ITOA_WORD_TYPE): Likewise.
9008 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9009 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9011 2012-03-21 David S. Miller <davem@davemloft.net>
9013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9015 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9017 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9018 of x86_64 when setting libc_cv_slibdir, libdir and
9020 * sysdeps/unix/sysv/linux/configure: Regenerated.
9022 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9024 * manual/lang.texi (Old Varargs): Remove section.
9025 (How Variadic): Update menu.
9026 (va_start): Do not mention varargs.h.
9028 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9029 Joseph Myers <joseph@codesourcery.com>
9031 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9033 * configure: Regenerated.
9035 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9037 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9038 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9041 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9044 * Makefile (files-for-dist): Remove NOTES.
9045 (NOTES): Remove rule.
9046 * README: Don't refer to NOTES.
9047 * manual/creature.texi: Don't include macros.texi.
9048 * manual/intro.texi (creature.texi): Remove comment referring to
9051 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9052 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9053 * configure: Regenerated.
9054 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9056 (libc_cv_as_i686): Likewise.
9057 (libc_cv_cc_avx): Likewise.
9058 (libc_cv_cc_sse2avx): Likewise.
9059 (libc_cv_cc_fma4): Likewise.
9060 (libc_cv_cc_novzeroupper): Likewise.
9061 * sysdeps/i386/configure: Regenerated.
9064 * sysdeps/i386/fpu/s_cexp.S: Remove.
9065 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9066 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9067 * math/libm-test.inc (cexp_test): Add more tests.
9068 * sysdeps/i386/fpu/libm-test-ulps: Update.
9069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9071 2012-03-21 Allan McRae <allan@archlinux.org>
9073 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9075 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9078 * math/w_exp2.c: Do not include <float.h>.
9079 (o_threshold, u_threshold): Remove.
9080 (__exp2): Calculate result before checking finiteness and calling
9082 * math/w_exp2f.c: Likewise.
9083 * math/w_exp2l.c: Likewise.
9084 * math/libm-test.inc (exp2_test): Require overflow exception for
9088 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9089 range of signed 64-bit integers before using fistpll. Remove
9090 checks for whether integers fit in mantissa bits.
9091 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9092 the range of signed 32-bit integers before using fistpl. Remove
9093 checks for whether integers fit in mantissa bits.
9094 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9095 (__ieee754_powl): Test for y outside the range of signed 64-bit
9096 integers before using fistpll. Reduce 64-bit values to 63-bit
9098 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9099 divide-by-zero is raised for zero to large negative powers.
9100 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9101 (__ieee754_powl): Test for y outside the range of signed 64-bit
9102 integers before using fistpll. Reduce 64-bit values to 63-bit
9104 * math/libm-test.inc (pow_test): Add more tests.
9106 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9108 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9109 <stdio-common/_itoa.h>.
9110 * debug/segfault.c: Likewise.
9111 * elf/dl-cache.c: Likewise.
9112 * elf/dl-minimal.c: Likewise.
9113 * elf/dl-misc.c: Likewise.
9114 * elf/dl-sysdep.c: Likewise.
9115 * elf/dl-version.c: Likewise.
9116 * elf/rtld.c: Likewise.
9117 * hurd/hurdsock.c: Likewise.
9118 * hurd/lookup-retry.c: Likewise.
9119 * malloc/malloc.c: Likewise.
9120 * malloc/mtrace.c: Likewise.
9121 * nscd/nscd_getgr_r.c: Likewise.
9122 * nscd/nscd_getpw_r.c: Likewise.
9123 * nscd/nscd_getserv_r.c: Likewise.
9124 * posix/getopt_init.c: Likewise.
9125 * posix/wordexp.c: Likewise.
9126 * stdio-common/_itoa.c: Likewise.
9127 * stdio-common/printf_fphex.c: Likewise.
9128 * stdio-common/vfprintf.c: Likewise.
9129 * string/_strerror.c: Likewise.
9130 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9131 * sysdeps/i386/i686/hp-timing.h: Likewise.
9132 * sysdeps/mach/_strerror.c: Likewise.
9133 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9134 * sysdeps/mach/hurd/sethostid.c: Likewise.
9135 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9136 * sysdeps/mach/xpg-strerror.c: Likewise.
9137 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9138 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9139 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9140 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9141 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9142 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9143 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9144 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9145 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9146 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9147 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9148 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9149 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9150 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9151 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9152 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9153 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9154 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9155 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9156 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9157 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9159 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9161 * stdio-common/_itoa.h: Moved to ...
9162 * sysdeps/generic/_itoa.h: Here.
9164 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9166 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9167 instead of "_itoa.h" and "_itowa.h".
9168 * stdio-common/vfprintf.: Likewise.
9170 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9172 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9174 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9175 (__signbit): Likwise.
9179 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9181 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9184 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9186 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9187 OVERFLOW_EXCEPTION_OK.
9188 * math/libm-test.inc ("Philosophy"): Update comment about
9190 (OVERFLOW_EXCEPTION): Define.
9191 (OVERFLOW_EXCEPTION_OK): Likewise.
9192 (INVALID_EXCEPTION_OK): Renumber.
9193 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9194 (IGNORE_ZERO_INF_SIGN): Likewise.
9195 (test_exceptions): Handle FE_OVERFLOW.
9196 (exp10_test): Expect overflow exceptions.
9197 (exp2_test): Likewise.
9198 (expm1_test): Likewise.
9199 (nextafter_test): Likewise.
9200 (pow_test): Likewise.
9201 (scalbn_test): Likewise.
9202 (scalbln_test): Likewise.
9204 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9206 * sysdeps/x86_64/bits/atomic.h
9207 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9209 (atomic_exchange_acq): Likewise.
9210 (__arch_exchange_and_add_body): Likewise.
9211 (__arch_add_body): Likewise.
9212 (atomic_add_negative): Likewise.
9213 (atomic_add_zero): Likewise.
9215 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9217 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9218 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9220 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9222 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9223 Check __x86_64__ instead of __WORDSIZE.
9225 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9227 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9229 2012-03-19 David S. Miller <davem@davemloft.net>
9231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9233 * sysdeps/sparc/fpu/fenv_private.h: New file.
9234 * sysdeps/sparc/fpu/math_private.h: Use it.
9235 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9237 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9238 (libc_feholdexcept_setroundl): Remove.
9239 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9241 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9242 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9244 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9246 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9247 int64_t instead of long int.
9248 (INSERT_WORDS64): Likwise.
9250 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9252 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9253 _Unwind_GetCFA return to _Unwind_Ptr first.
9255 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9258 * math/s_clog.c: Include <float.h>.
9259 (__clog): Scale large or subnormal inputs.
9260 * math/s_clogf.c: Likewise.
9261 * math/s_clogl.c: Likewise.
9262 * math/s_clog10.c: Include <float.h>.
9263 (M_LOG10_2): Define.
9264 (__clog10): Scale large or subnormal inputs.
9265 * math/s_clog10f.c: Likewise.
9266 * math/s_clog10l.c: Likewise.
9267 * math/libm-test.inc (clog_test): Add more tests.
9268 (clog10_test): Likewise.
9269 * sysdeps/i386/fpu/libm-test-ulps: Update.
9270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9273 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9275 * math/libm-test.inc (atan2_test): Add another test.
9277 * Makerules (common-objdir-compile): Remove.
9278 * sysdeps/unix/Makefile (config-generated): Do not add
9279 $(unix-generated) to variable.
9280 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9281 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9283 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9285 [generic bits/local_lim.h] (before-compile): Do not append to
9287 [generic bits/local_lim.h] (common-generated): Likewise.
9288 [generic sys/param.h] (before-compile): Do not append to variable.
9289 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9290 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9291 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9292 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9294 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9295 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9296 [generic sys/param.h] ($(addprefix
9297 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9298 [generic sys/param.h] (common-generated): Do not append to
9300 [generic sys/param.h] (sysdep_headers): Likewise.
9301 [generic bits/errno.h] (before-compile): Do not append to
9303 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9305 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9306 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9307 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9308 [generic bits/errno.h] (common-generated): Do not append to
9310 [generic bits/ioctls.h] (before-compile): Do not append to
9312 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9314 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9315 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9316 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9318 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9319 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9320 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9321 [generic bits/ioctls.h] (common-generated): Do not append to
9323 [generic sys/syscall.h] (syscall.h): Remove variable.
9324 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9326 [generic sys/syscall.h] (before-compile): Do not append to
9328 [generic sys/syscall.h] (common-generated): Likewise.
9329 * sysdeps/unix/errnos-tmpl.c: Remove file.
9330 * sysdeps/unix/errnos.awk: Likewise.
9331 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9332 * sysdeps/unix/ioctls.awk: Likewise.
9333 * sysdeps/unix/mk-local_lim.c: Likewise.
9334 * sysdeps/unix/snarf-ioctls: Likewise.
9336 2012-03-19 Richard Henderson <rth@twiddle.net>
9338 * sysdeps/i386/fpu/fenv_private.h: New file.
9339 * sysdeps/i386/fpu/math_private.h: Use it.
9340 (math_opt_barrier, math_force_eval): Remove.
9341 (libc_feholdexcept_setround_53bit): Remove.
9342 (libc_feupdateenv_53bit): Remove.
9343 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9344 (math_opt_barrier, math_force_eval): Remove.
9345 (libc_feholdexcept): Remove.
9346 (libc_feholdexcept_setround): Remove.
9347 (libc_fetestexcept, libc_fesetenv): Remove.
9348 (libc_feupdateenv_test): Remove.
9349 (libc_feupdateenv, libc_feholdsetround): Remove.
9350 (libc_feresetround): Remove.
9352 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9353 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9355 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9356 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9357 (libc_feupdateenv_testl): New.
9358 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9359 (libc_feupdateenv_testf): New.
9360 (libc_feupdateenv): Use libc_feupdateenv_test.
9361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9362 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9364 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9365 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9366 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9367 (libc_feresetround_noex): New.
9368 (libc_feresetround_noexf): New.
9369 (libc_feresetround_noexl): New.
9370 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9371 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9372 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9373 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9375 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9376 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9378 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9379 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9380 SET_RESTORE_ROUND_NOEX.
9381 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9382 SET_RESTORE_ROUND_NOEXF.
9383 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9384 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9385 (libc_feholdsetroundf): New.
9386 (libc_feresetround, libc_feresetroundf): New.
9388 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9389 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9390 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9392 * sysdeps/generic/math_private.h: Include <fenv.h>.
9393 (default_libc_feholdexcept): New.
9394 (default_libc_feholdexcept_setround): New.
9395 (default_libc_fesetenv, default_libc_feupdateenv): New.
9396 (libc_feholdexcept): Only define if undefined.
9397 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9398 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9399 (libc_feholdexcept_setroundl): Likewise.
9400 (libc_feholdexcept_setround_53bit): Likewise.
9401 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9402 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9403 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9404 (libc_feupdateenv_53bit): Likewise.
9405 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9406 (libc_feholdexcept): Convert from macro to inline function.
9407 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9408 (libc_fesetenv, libc_feupdateenv): Likewise.
9410 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9411 not previously defined.
9412 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9413 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9414 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9415 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9416 * sysdeps/ieee754/flt-32/math_private.h: New file.
9417 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9418 math_private.h below SET_FLOAT_WORD.
9419 (__isnan, __isinf_ns, __finite): Remove.
9420 (__isnanf, __isinf_nsf, __finitef): Remove.
9422 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9426 2012-03-17 David S. Miller <davem@davemloft.net>
9429 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9432 2012-03-16 David S. Miller <davem@davemloft.net>
9434 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9438 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9440 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9441 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9442 sysdep_routines when subdir is sysvipc.
9443 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9446 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9448 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9450 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9453 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9455 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9456 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9457 (__lround): Renamed to ...
9458 (__llround): This. Replace long int with long long int.
9459 Define lround functions as aliases of llround functions.
9460 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9462 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9464 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9465 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9466 adresses to uintptr_t. Replace "long int" and "unsigned long
9467 int" with "greg_t" on va_arg.
9469 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9471 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9472 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9474 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9475 Move e_machine check before EI_CLASS check. Handle x32
9476 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9477 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9478 SKIP_EM_IA_64 and include
9479 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9481 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9482 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9483 (add_system_dir): New macro.
9485 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9486 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9488 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9499 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9501 * math/w_j0f.c (j0f): Likewise.
9503 * math/w_j0l.c (__j0l): Likewise.
9505 * math/w_j1.c (j1): Likewise.
9507 * math/w_j1f.c (j1f): Likewise.
9509 * math/w_j1l.c (__j1l): Likewise.
9511 * math/w_jn.c (jn): Likewise.
9513 * math/w_jnf.c (jnf): Likewise.
9515 * math/w_jnl.c (__jnl): Likewise.
9517 * math/libm-test.inc (j0_test): Add more tests.
9518 (j1_test): Likewise.
9519 (jn_test): Likewise. Add trailing semicolon to existing test.
9520 (y0_test): Likewise.
9521 (y1_test): Likewise.
9522 * sysdeps/i386/fpu/libm-test-ulps: Update.
9523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9527 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9528 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9529 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9530 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9531 (__tanl): Set errno for infinite argument.
9532 * sysdeps/i386/fpu/mptan.c: Remove.
9533 * sysdeps/i386/fpu/s_tan.S: Likewise.
9534 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9535 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9536 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9537 * math/libm-test.inc (tan_test): Add more tests and enable more
9538 tests for double and long double.
9539 * sysdeps/i386/fpu/libm-test-ulps: Update.
9540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9542 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9544 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9545 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9547 2012-03-16 Roland McGrath <roland@hack.frob.com>
9549 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9550 * configure.in: Use it for both main tree and add-ons.
9551 * configure: Regenerated.
9553 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9555 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9557 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9559 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9563 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9564 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9565 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9566 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9569 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9570 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9572 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9573 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9574 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9575 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9576 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9577 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9578 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9579 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9580 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9581 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9582 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9583 * math/libm-test.inc (cos_test): Add more tests and enable more
9584 tests for long double.
9585 (sin_test): Likewise.
9586 (sincos_test): Likewise.
9587 * sysdeps/i386/fpu/libm-test-ulps: Update.
9588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9590 2012-03-16 David S. Miller <davem@davemloft.net>
9592 * sysdeps/sparc/fpu/math_private.h: New file.
9594 2012-03-15 David S. Miller <davem@davemloft.net>
9596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9606 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9610 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9611 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9613 * sysdeps/sparc/sparc-ifunc.h: New file.
9614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9638 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9640 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9641 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9642 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9643 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9648 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9649 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9652 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9653 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9654 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9655 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9656 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9659 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9661 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9665 2012-03-15 Andreas Jaeger <aj@suse.de>
9668 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9669 ieee754/flt-32 implementation for sin, cos and sincos.
9670 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9671 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9672 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9673 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9674 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9675 ieee754/flt-32 implementation for tan.
9677 * math/libm-test.inc (cos_test): Enable some large input tests for
9679 (sin_test): Likewise.
9680 (sincos_test): Likewise.
9681 (tan_test): Add tests for large input.
9683 * sysdeps/i386/fpu/libm-test-ulps: Update.
9685 2012-03-15 Andreas Jaeger <aj@suse.de>
9688 * math/libm-test.inc (cos_test): Add more test cases.
9689 (sin_test): Likewise.
9690 (sincos_test): Likewise.
9692 2012-03-15 Andreas Jaeger <aj@suse.de>
9695 * math/libm-test.inc (cos_test): Add a test case for large input
9697 (sin_test): Likewise.
9698 (sincos_test): Likewise.
9700 2012-03-15 Andreas Jaeger <aj@suse.de>,
9701 Joseph Myers <joseph@codesourcery.com>
9704 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9705 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9706 * sysdeps/i386/fpu/branred.c: Likewise.
9707 * sysdeps/i386/fpu/dosincos.c: Likewise.
9708 * sysdeps/i386/fpu/mpa.c: Likewise.
9709 * sysdeps/i386/fpu/s_cos.S: Likewise.
9710 * sysdeps/i386/fpu/s_sin.S: Likewise.
9711 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9712 * sysdeps/i386/fpu/sincos32.c: Likewise.
9714 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9716 (libc_feupdateenv_53bit): Define.
9717 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9719 (libc_feupdateenv_53bit): Define.
9721 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9722 53 bit (without extend i386 double precision).
9724 * math/libm-test.inc (sincos_test): Add tests for large input.
9728 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9730 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9734 2012-03-15 David S. Miller <davem@davemloft.net>
9736 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9737 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9738 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9739 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9763 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9764 fmin/fmax sysdep routines.
9765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9767 2012-03-14 David S. Miller <davem@davemloft.net>
9769 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9773 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9774 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9775 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9776 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9777 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9789 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9790 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9791 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9792 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9793 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9794 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9795 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9796 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9797 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9841 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9846 * sysdeps/sparc/configure.in: New file.
9847 * sysdeps/sparc/configure: Generate.
9848 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9849 * configure: Regenerate.
9850 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9851 * config.make.in (have-as-vis3): New.
9852 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9853 available use -Av9d instead of -Av9a.
9854 * sysdeps/sparc/sparc64/Makefile: Likewise.
9855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9864 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9865 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9866 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9867 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9868 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9870 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9871 fzeros/fnegs to load 0x80000000 into a float register instead of
9873 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9875 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9879 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9880 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9881 ($(inst_includedir)/bits/syscall.h): Remove rule.
9882 ($(objpfx)bits/syscall.d): Include instead of
9883 $(objpfx)syscall-list.d.
9884 (generated): Change syscall-list.h and syscall-list.d to
9885 bits/syscall.h and bits/syscall.d.
9887 2012-03-14 Roland McGrath <roland@hack.frob.com>
9890 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9892 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9895 * math/s_csqrt.c: Include <float.h>.
9896 (__csqrt): Scale large or subnormal inputs.
9897 * math/s_csqrtf.c: Likewise.
9898 * math/s_csqrtl.c: Likewise.
9899 * math/libm-test.inc (csqrt_test): Add more tests.
9900 * sysdeps/i386/fpu/libm-test-ulps: Update.
9901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9904 * math/libm-test.inc (hypot_test): Add more tests.
9906 2012-03-13 David S. Miller <davem@davemloft.net>
9909 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9910 double-precision for the calculation instead of scaling.
9912 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9914 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9915 manipulate bits before adding and subtracting TWO52[sx].
9916 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9917 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9919 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9921 2012-03-13 David S. Miller <davem@davemloft.net>
9923 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9924 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9925 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9926 rtld-global-offsets.h
9927 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9929 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9932 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9934 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9935 'err' in the ifdef scope in which it is actually used.
9937 * nss/nss_db/db-init.c: Include string.h
9939 2012-03-12 David S. Miller <davem@davemloft.net>
9941 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9942 masking out of the most significant byte of random value used.
9943 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9944 Fix coding style in previous change.
9946 * sysdeps/unix/sysv/linux/kernel-features.h
9947 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9948 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9950 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9953 2012-03-11 David S. Miller <davem@davemloft.net>
9955 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9956 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9957 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9958 for 'resultvar' otherwise things get truncated on 64-bit.
9960 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9961 Fix masking out of the most significant byte of random value used.
9963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9965 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9969 2012-03-09 David S. Miller <davem@davemloft.net>
9971 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9972 variables with appropriate CPP guards.
9973 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9974 frame pointer, not the stack pointer. Correct layout comments. Fix test
9975 on resulting framesize and the management of the outregs buffer for pltexit.
9976 Preserve floating point return values across _dl_call_pltexit call.
9977 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9978 framesize and the management of the outregs buffer for pltexit.
9979 Preserve floating point return values across _dl_call_pltexit
9981 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9982 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9983 (print_exit): Fix format string for return register value.
9985 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9987 * sunrpc/Makefile (others): Add rpcgen.
9988 ($(objpfx)rpcgen): Remove special build rule and dependency on
9990 * sunrpc/rpcgen.c: New file.
9992 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9995 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9996 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9997 * sysdeps/i386/crti.S: Likewise.
9998 * sysdeps/i386/crtn.S: Likewise.
9999 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10000 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10001 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10002 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10003 * sysdeps/sh/crti.S: Likewise.
10004 * sysdeps/sh/crtn.S: Likewise.
10005 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10008 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10010 * locale/programs/locfile-kw.gperf: Likewise.
10011 * locale/programs/charmap-kw.h: Regenerated.
10012 * locale/programs/locfile-kw.h: Likewise.
10015 * intl/plural.y: Replace FSF snail mail address with URL.
10016 * intl/plural.c: Regenerated.
10018 2012-03-09 Richard Henderson <rth@twiddle.net>
10020 * include/math_private.h: Remove file.
10021 * math/math_private.h: Move file ...
10022 * sysdeps/generic/math_private.h: ... here.
10024 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10025 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10026 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10028 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10029 and <math_private.h>.
10030 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10031 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10032 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10033 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10034 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10035 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10036 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10037 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10038 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10039 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10040 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10041 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10042 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10043 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10044 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10045 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10048 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10049 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10050 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10051 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10052 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10054 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10055 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10056 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10057 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10058 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10059 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10060 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10061 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10062 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10063 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10064 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10065 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10069 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10070 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10071 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10072 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10073 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10074 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10097 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10110 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10111 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10112 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10118 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10119 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10120 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10121 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10122 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10123 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10124 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10125 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10126 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10127 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10128 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10129 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10130 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10131 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10132 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10133 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10134 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10135 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10136 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10137 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10138 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10139 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10140 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10141 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10142 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10143 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10144 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10145 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10146 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10147 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10148 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10149 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10150 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10151 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10152 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10153 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10154 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10155 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10156 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10157 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10158 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10159 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10160 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10161 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10162 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10163 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10164 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10165 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10166 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10167 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10168 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10169 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10170 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10171 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10172 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10173 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10174 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10175 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10176 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10177 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10178 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10179 * sysdeps/ieee754/k_standard.c: Likewise.
10180 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10181 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10182 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10183 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10184 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10185 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10186 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10187 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10188 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10189 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10190 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10191 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10192 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10193 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10194 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10195 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10196 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10197 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10198 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10199 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10200 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10201 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10202 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10203 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10204 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10205 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10206 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10207 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10208 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10209 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10210 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10211 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10213 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10214 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10215 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10216 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10217 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10218 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10222 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10223 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10232 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10295 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10299 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10300 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10302 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10307 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10312 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10315 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10319 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10320 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10321 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10322 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10323 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10324 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10326 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10327 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10328 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10329 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10330 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10331 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10332 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10333 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10334 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10335 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10336 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10337 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10338 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10339 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10340 * sysdeps/ieee754/s_lib_version.c: Likewise.
10341 * sysdeps/ieee754/s_matherr.c: Likewise.
10342 * sysdeps/ieee754/s_signgam.c: Likewise.
10343 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10344 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10345 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10346 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10347 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10348 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10349 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10350 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10351 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10352 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10353 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10354 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10355 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10356 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10357 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10358 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10359 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10360 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10361 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10362 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10363 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10365 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10367 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10368 * sunrpc/rpc_main.c: Likewise.
10369 * sunrpc/rpc_svcout.c: Likewise.
10371 2012-03-09 David S. Miller <davem@davemloft.net>
10373 * include/math_private.h: New file.
10375 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10377 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10378 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10379 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10380 from <bits/socket_type.h>.
10381 (enum __socket_type): Don't define here.
10382 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10384 bits/socket_type.h.
10387 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10388 checking __USE_GNU.
10390 * Makerules ($(inst_includedir)/%.h): New rule.
10391 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10392 (install-others): Remove variable setting.
10393 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10395 2012-03-08 Richard Henderson <rth@twiddle.net>
10397 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10398 from macro to inline function; merge with the
10399 !__LIBC_INTERNAL_MATH_INLINES version.
10400 (__ieee754_sqrtf): Likewise.
10402 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10403 to inline function.
10404 (__rintf, __floor, __floorf): Likewise.
10406 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10407 macro to inline function.
10408 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10410 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10411 not <math/math_private.h>.
10413 2012-03-08 David S. Miller <davem@davemloft.net>
10415 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10417 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10419 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10421 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10423 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10424 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10426 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10428 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10429 be defined individually, they must be defined as a block. Define
10430 S for printing a string instead of hidint the different by using a
10431 macro for adding the 'l'.
10432 * stdio-common/tst-fphex-wide.c: Adjust.
10434 2012-03-07 Marek Polacek <polacek@redhat.com>
10436 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10438 2012-03-08 Marek Polacek <polacek@redhat.com>
10441 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10442 * stdio-common/tst-fphex.c: Define a few macros to make the
10443 test reusable. Use them.
10444 * stdio-common/tst-fphex-wide.c: New file.
10446 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10449 * manual/macros.texi (gnusystems): New macro.
10450 (nongnusystems): Likewise.
10451 (gnulinuxhurdsystems): Likewise.
10452 (gnuhurdsystems): Likewise..
10453 (gnulinuxsystems): Likewise.
10454 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10455 variants of the GNU system, not "GNU system".
10456 * manual/conf.texi: Likewise.
10457 * manual/errno.texi: Likewise. Update example of errno macro
10459 * manual/filesys.texi: Likewise.
10460 (getumask): Document as specific to GNU/Hurd.
10461 * manual/install.texi: Likewise. Reword some references to
10463 * manual/intro.texi: Likewise.
10464 * manual/io.texi: Likewise.
10465 (File Name Portability): Detail which constraints are inapplicable
10466 to all GNU systems and which are only inapplicable to GNU/Hurd.
10467 * manual/job.texi: Likewise.
10468 * manual/llio.texi: Likewise.
10469 (O_NOCTTY): Document as present on GNU/Linux.
10470 * manual/maint.texi: Likewise.
10471 * manual/memory.texi: Likewise.
10472 * manual/pattern.texi: Likewise.
10473 * manual/pipe.texi: Likewise.
10474 * manual/process.texi: Likewise.
10475 * manual/resource.texi: Likewise.
10476 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10478 * manual/setjmp.texi: Likewise.
10479 * manual/signal.texi: Likewise.
10480 * manual/startup.texi: Likewise.
10481 * manual/stdio.texi: Likewise.
10482 * manual/terminal.texi: Likewise.
10483 (ONLCR): Document as POSIX.
10484 (OXTABS): Document availability on GNU/Linux as XTABS.
10485 (ONOEOT): Document availability separately from other bits.
10486 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10487 * manual/time.texi: Likewise.
10488 * manual/users.texi: Likewise.
10489 * INSTALL: Regenerated.
10490 * sysdeps/gnu/errlist.c: Regenerated.
10492 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10493 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10494 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10496 * configure: Regenerated.
10498 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10500 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10501 default includes instead of AC_HEADER_CHECK.
10502 * sysdeps/i386/configure: Regenerated.
10505 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10506 * math/s_cacoshf.c (__cacoshf): Likewise.
10507 * math/s_cacoshl.c (__cacoshl): Likewise.
10508 * math/s_casinh.c (__casinh): Set signs of result from argument.
10509 * math/s_casinhf.c (__casinhf): Likewise.
10510 * math/s_casinhl.c (__casinhl): Likewise.
10511 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10512 (casinh_test): Add more tests.
10513 * sysdeps/i386/fpu/libm-test-ulps: Update.
10514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10516 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10518 * po/zh_TW.po: Update from translation team.
10520 * login/Makefile (distribute): Remove variable.
10521 * catgets/Makefile: Likewise.
10522 * mach/Makefile: Likewise.
10523 * malloc/Makefile: Likewise.
10524 * misc/Makefile: Likewise.
10525 * iconv/Makefile: Likewise.
10526 * nscd/Makefile: Likewise.
10527 * hurd/Makefile: Likewise.
10528 * manual/Makefile: Likewise.
10529 * locale/Makefile: Likewise.
10530 * intl/Makefile: Likewise.
10531 * conform/Makefile: Likewise.
10532 * nss/Makefile: Likewise.
10533 * time/Makefile: Likewise.
10534 * soft-fp/Makefile: Likewise.
10535 * dirent/Makefile: Likewise.
10536 * gmon/Makefile: Likewise.
10537 * po/Makefile: Likewise.
10538 * rt/Makefile: Likewise.
10539 * socket/Makefile: Likewise.
10540 * math/Makefile: Likewise.
10541 * signal/Makefile: Likewise.
10542 * debug/Makefile: Likewise.
10543 * elf/Makefile: Likewise.
10544 * timezone/Makefile: Likewise.
10545 * stdlib/Makefile: Likewise.
10546 * iconvdata/Makefile: Likewise.
10547 * sunrpc/Makefile: Likewise.
10548 * io/Makefile: Likewise.
10549 * argp/Makefile: Likewise.
10550 * inet/Makefile: Likewise.
10551 * hesiod/Makefile: Likewise.
10552 * grp/Makefile: Likewise.
10553 * csu/Makefile: Likewise.
10554 * wctype/Makefile: Likewise.
10555 * crypt/Makefile: Likewise.
10556 * libio/Makefile: Likewise.
10557 * string/Makefile: Likewise.
10558 * nis/Makefile: Likewise.
10559 * resolv/Makefile: Likewise.
10560 * stdio-common/Makefile: Likewise.
10561 * wcsmbs/Makefile: Likewise.
10562 * dlfcn/Makefile: Likewise.
10563 * posix/Makefile: Likewise.
10566 * timezone/Makefile: Don't install timezone files, just the programs
10569 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10571 * nss/databases.def: Add missing gshadow entry.
10573 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10575 2012-03-06 Marek Polacek <polacek@redhat.com>
10578 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10579 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10580 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10581 * stdio-common/tst-long-dbl-fphex.c: New file.
10583 2012-03-06 David S. Miller <davem@davemloft.net>
10585 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10586 (set_obp_int): New function.
10587 (get_obp_int): New function.
10588 (__get_clockfreq_via_dev_openprom): Likewise.
10589 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10590 Avoid unused variable warnings on 'val' and use builtin_expect.
10591 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10593 (INLINE_CLONE_SYSCALL): Likewise.
10595 2012-03-05 David S. Miller <davem@davemloft.net>
10597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10599 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10603 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10604 only for |x| >= 40.
10605 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10607 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10609 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10610 Replace gettimeofday with __vdso_gettimeofday.
10612 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10613 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10614 __vdso_clock_gettime and __vdso_getcpu.
10616 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10617 time with __vdso_time.
10619 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10621 * manual/lang.texi (size_t): Note types to which size_t may be
10622 equivalent with the GNU C Library, but do not describe when
10623 differences between them are significant.
10625 2012-03-05 Andreas Jaeger <aj@suse.de>
10627 * sysdeps/i386/fpu/libm-test-ulps: Update.
10629 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10632 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10633 (__ieee754_pow): Save and restore rounding mode and use
10634 round-to-nearest for main computations.
10635 * math/libm-test.inc (pow_test_tonearest): New function.
10636 (pow_test_towardzero): Likewise.
10637 (pow_test_downward): Likewise.
10638 (pow_test_upward): Likewise.
10639 (main): Call the new functions.
10640 * sysdeps/i386/fpu/libm-test-ulps: Update.
10641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10644 * math/libm-test.inc (cosh_test_tonearest): New function.
10645 (cosh_test_towardzero): Likewise.
10646 (cosh_test_downward): Likewise.
10647 (cosh_test_upward): Likewise.
10648 (sinh_test_tonearest): Likewise.
10649 (sinh_test_towardzero): Likewise.
10650 (sinh_test_downward): Likewise.
10651 (sinh_test_upward): Likewise.
10652 (main): Call the new functions.
10653 * sysdeps/i386/fpu/libm-test-ulps: Update.
10654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10656 2012-03-05 Tom de Vries <tom@codesourcery.com>
10658 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10659 default stack guard is set in last bytes.
10660 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10662 2012-03-05 Kees Cook <keescook@chromium.org>
10664 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10667 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10668 possibly allocate from heap instead of stack.
10669 * stdio-common/bug-vfprintf-nargs.c: New file.
10670 * stdio-common/Makefile (tests): Add nargs overflow test.
10672 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10676 2012-03-03 Marek Polacek <polacek@redhat.com>
10678 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10679 * math/math_private.h: Likewise.
10680 * stdlib/tst-strtod.c: Likewise.
10681 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10682 * sysdeps/x86_64/bits/atomic.h: Likewise.
10684 2012-03-02 David S. Miller <davem@davemloft.net>
10686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10690 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10691 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10692 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10693 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10695 2012-03-02 Roland McGrath <roland@hack.frob.com>
10698 * manual/examples/README: New file, says the example source files
10699 can be used under GPL>=2.
10700 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10701 line containing just "*/".
10702 * manual/examples/add.c: Add copyright header (GPL>=2).
10703 * manual/examples/argp-ex1.c: Likewise.
10704 * manual/examples/argp-ex2.c: Likewise.
10705 * manual/examples/argp-ex3.c: Likewise.
10706 * manual/examples/argp-ex4.c: Likewise.
10707 * manual/examples/atexit.c: Likewise.
10708 * manual/examples/db.c: Likewise.
10709 * manual/examples/dir.c: Likewise.
10710 * manual/examples/dir2.c: Likewise.
10711 * manual/examples/execinfo.c: Likewise.
10712 * manual/examples/filecli.c: Likewise.
10713 * manual/examples/filesrv.c: Likewise.
10714 * manual/examples/fmtmsgexpl.c: Likewise.
10715 * manual/examples/genpass.c: Likewise.
10716 * manual/examples/inetcli.c: Likewise.
10717 * manual/examples/inetsrv.c: Likewise.
10718 * manual/examples/isockad.c: Likewise.
10719 * manual/examples/longopt.c: Likewise.
10720 * manual/examples/memopen.c: Likewise.
10721 * manual/examples/memstrm.c: Likewise.
10722 * manual/examples/mkfsock.c: Likewise.
10723 * manual/examples/mkisock.c: Likewise.
10724 * manual/examples/mygetpass.c: Likewise.
10725 * manual/examples/pipe.c: Likewise.
10726 * manual/examples/popen.c: Likewise.
10727 * manual/examples/rprintf.c: Likewise.
10728 * manual/examples/search.c: Likewise.
10729 * manual/examples/select.c: Likewise.
10730 * manual/examples/setjmp.c: Likewise.
10731 * manual/examples/sigh1.c: Likewise.
10732 * manual/examples/sigusr.c: Likewise.
10733 * manual/examples/stpcpy.c: Likewise.
10734 * manual/examples/strdupa.c: Likewise.
10735 * manual/examples/strftim.c: Likewise.
10736 * manual/examples/strncat.c: Likewise.
10737 * manual/examples/subopt.c: Likewise.
10738 * manual/examples/swapcontext.c: Likewise.
10739 * manual/examples/termios.c: Likewise.
10740 * manual/examples/testopt.c: Likewise.
10741 * manual/examples/testpass.c: Likewise.
10742 * manual/examples/timeval_subtract.c: Likewise.
10745 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10747 * manual/timeval_subtract.c.texi: ... here, new file.
10749 2012-03-02 David S. Miller <davem@davemloft.net>
10751 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10753 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10756 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10757 (__sin): Save and restore rounding mode and use round-to-nearest
10758 for all computations.
10759 (__cos): Save and restore rounding mode and use round-to-nearest
10760 for all computations.
10761 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10763 (tan): Save and restore rounding mode and use round-to-nearest for
10765 * math/libm-test.inc (cos_test_tonearest): New function.
10766 (cos_test_towardzero): Likewise.
10767 (cos_test_downward): Likewise.
10768 (cos_test_upward): Likewise.
10769 (sin_test_tonearest): Likewise.
10770 (sin_test_towardzero): Likewise.
10771 (sin_test_downward): Likewise.
10772 (sin_test_upward): Likewise.
10773 (tan_test_tonearest): Likewise.
10774 (tan_test_towardzero): Likewise.
10775 (tan_test_downward): Likewise.
10776 (tan_test_upward): Likewise.
10777 (main): Call the new functions.
10778 * sysdeps/i386/fpu/libm-test-ulps: Update.
10779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10782 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10783 small n, then large n, before computing and testing k+n.
10784 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10785 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10787 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10789 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10790 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10791 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10792 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10793 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10794 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10795 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10796 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10797 * math/libm-test.inc (scalbn_test): Add more tests.
10798 (scalbln_test): Likewise.
10800 * manual/filesys.texi (mode_t): Describe constraints on size and
10801 signedness, not exact equivalence to a particular type.
10803 (ino64_t): Likewise.
10805 (nlink_t): Likewise.
10806 (blkcnt_t): Likewise.
10807 (blkcnt64_t): Likewise.
10808 * manual/llio.texi (off_t): Likewise.
10811 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10812 (__ieee754_exp): Save and restore rounding mode and use
10813 round-to-nearest for all computations.
10814 * math/libm-test.inc (exp_test_tonearest): New function.
10815 (exp_test_towardzero): Likewise.
10816 (exp_test_downward): Likewise.
10817 (exp_test_upward): Likewise.
10818 (main): Call the new functions.
10819 * sysdeps/i386/fpu/libm-test-ulps: Update.
10820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10822 2012-03-01 Chris Demetriou <cgd@google.com>
10824 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10825 have predictable order.
10827 2012-03-01 David S. Miller <davem@davemloft.net>
10829 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10831 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10832 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10833 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10834 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10836 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10837 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10838 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10840 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10841 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10842 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10843 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10844 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10848 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10849 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10850 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10852 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10853 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10854 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10855 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10856 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10857 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10858 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10859 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10860 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10861 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10862 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10863 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10864 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10865 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10866 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10867 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10868 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10869 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10870 * sysdeps/sparc/elf/configure: Regenerated.
10872 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10874 * configure.in (AS, LD): Require binutils 2.20 or later.
10875 * configure: Regenerated.
10876 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10877 as required minimum version.
10878 * INSTALL: Regenerated.
10882 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10883 before squaring exponent.
10884 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10885 bottom long double and 27 bits of top long double before squaring
10887 * math/libm-test.inc (erfc_test): Add more tests.
10888 * sysdeps/i386/fpu/libm-test-ulps: Update.
10889 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10892 2012-03-01 Kai Tietz <ktietz@redhat.com>
10894 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10895 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10896 containing bit-fields.
10897 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10898 * soft-fp/single.h (_FP_UNION_S): Likewise.
10899 * soft-fp/double.h (_FP_UNION_D): Likewise.
10901 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10904 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10905 not include ../strcmp.S.
10906 [USE_AS_STRNCASECMP_L]: Likewise.
10907 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10908 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10909 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10910 (__strncasecmp_l_ia32): Define as alias to
10911 __strncasecmp_l_nonascii.
10914 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10915 * sysdeps/i386/fpu/libm-test-ulps: Update.
10916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10918 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10921 2012-02-29 Jeff Law <law@redhat.com>
10923 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10924 out of bounds read.
10926 2012-02-29 Marek Polacek <polacek@redhat.com>
10929 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10930 * elf/Makefile: Add rules to run tst-unused-dep.out.
10932 2012-02-28 David S. Miller <davem@davemloft.net>
10934 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10935 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10936 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10937 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10938 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10939 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10941 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10943 * math/libm-test.inc (llround_test): Move one test from
10944 lround_test. Use TEST_f_L in moved test.
10945 (lround_test): Move misplaced test to llround_test. Add testcase
10948 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10950 * sysdeps/x86_64/fpu/e_expf.S: New file.
10951 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10953 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10956 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10957 of remain_len that may cause incomplete multi-byte character and
10959 * posix/bug-regex33.c: New file.
10960 * posix/Makefile (tests): Add bug-regex33.
10962 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10964 * manual/macros.texi: New file.
10965 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10966 * manual/libc.texinfo: Include macros.texi.
10967 * manual/creatute.texi: Likewise.
10968 * manual/install.texi: Likewise.
10969 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10970 @glibcadj{} in references to the GNU C Library.
10971 * manual/charset.texi: Likewise.
10972 * manual/conf.texi: Likewise.
10973 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10974 when not using those macros.
10975 * manual/creature.texi: Likewise.
10976 * manual/crypt.texi: Likewise.
10977 * manual/errno.texi: Likewise.
10978 * manual/filesys.texi: Likewise.
10979 * manual/header.texi: Likewise.
10980 * manual/install.texi: Likewise.
10981 * manual/intro.texi: Likewise.
10982 * manual/io.texi: Likewise.
10983 * manual/job.texi: Likewise.
10984 * manual/lang.texi: Likewise.
10985 * manual/libc.texiinfo: Likewise.
10986 * manual/llio.texi: Likewise.
10987 * manual/locale.texi: Likewise.
10988 * manual/maint.texi: Likewise.
10989 * manual/math.texi: Likewise.
10990 * manual/memory.texi: Likewise.
10991 * manual/message.texi: Likewise.
10992 * manual/nss.texi: Likewise.
10993 * manual/pattern.texi: Likewise.
10994 * manual/process.texi: Likewise.
10995 * manual/resource.texi: Likewise.
10996 * manual/search.texi: Likewise.
10997 * manual/setjmp.texi: Likewise.
10998 * manual/signal.texi: Likewise.
10999 * manual/socket.texi: Likewise.
11000 * manual/startup.texi: Likewise.
11001 * manual/stdio.texi: Likewise.
11002 * manual/string.texi: Likewise.
11003 * manual/sysinfo.texi: Likewise.
11004 * manual/syslog.texi: Likewise.
11005 * manual/terminal.texi: Likewise.
11006 * manual/time.texi: Likewise.
11007 * manual/users.texi: Likewise.
11008 * INSTALL: Regenerated.
11009 * NOTES: Regenerated.
11010 * sysdeps/gnu/errlist.c: Regenerated.
11012 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11014 * include/dirent.h: Include <dirstream.h> before
11017 2012-02-28 David S. Miller <davem@davemloft.net>
11019 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11020 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11021 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11022 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11024 2012-02-27 David S. Miller <davem@davemloft.net>
11026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11028 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11029 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11032 frame pointer instead of stack pointer relative arg slot.
11033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11034 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11035 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11037 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11040 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11042 2012-02-27 David S. Miller <davem@davemloft.net>
11044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11048 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11049 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11050 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11051 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11053 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11055 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11056 later. Allow versions 5-9.
11057 * configure: Regenerated.
11058 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11059 required minimum version and 4.6 as recommended version. Do not
11060 mention bugs in GCC 2.7 and 2.8.
11061 * INSTALL: Regenerated.
11063 2012-02-27 David S. Miller <davem@davemloft.net>
11065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11069 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11070 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11071 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11072 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11074 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11075 manipulate bits before adding and subtracting TWO112[sx].
11076 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11078 2012-02-27 Roland McGrath <roland@hack.frob.com>
11081 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11082 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11083 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11084 being in POSIX, because they are in 1003.1-2008.
11086 * rt/tst-aio.c: Include <fcntl.h>.
11087 * rt/tst-aio7.c: Likewise.
11088 * rt/tst-aio64.c: Likewise.
11090 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11092 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11094 * manual/install.texi (--with-headers): Describe headers as
11095 interface headers, not private headers.
11096 (Specific advice for GNU/Linux systems): Describe use of headers
11097 from "make headers_install", not private headers from older
11099 * INSTALL: Regenerated.
11100 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11102 * sysdeps/unix/sysv/linux/configure: Regenerated.
11104 * manual/llio.texi (fclean): Remove documentation.
11106 * manual/Makefile (libc-texi-generated): New variable. Include
11108 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11109 $(libc-texi-generated), not duplicated list of files.
11110 (version.texi, stamp-version): New rules.
11111 (realclean): Remove $(libc-texi-generated), not individual files
11112 from that list. Do not remove dir-add.texinfo.
11113 * manual/libc.texinfo: Comment out uses of edition numbers and
11114 references to printed manual. Remove last-updated dates.
11115 (EDITION): Comment out.
11117 (VERSION, UPDATED): Remove.
11118 (version.texi): Include.
11120 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11122 * sysdeps/posix/spawni.c: Include <signal.h>.
11123 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11124 * sysdeps/pthread/aio_fsync.c: Likewise.
11126 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11128 * conform/Makefile (tests): Run only when not cross-compiling and
11129 when fast-check is not defined.
11131 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11132 * conform/data/limits.h-data: Fixes for POSIX2008.
11133 * conform/run-conformtest.sh: Run all tests.
11134 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11136 * include/bits/dlfcn.h: Likewise.
11137 * include/langinfo.h: Likewise.
11138 * include/monetary.h: Likewise.
11139 * include/sys/poll.h: Likewise.
11141 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11143 * posix/spawn.h: Define __need_sigset_t.
11144 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11145 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11146 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11147 to get sigevent_t only.
11148 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11149 only for __USE_GNU.
11150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11151 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11152 process_vm_writev only for __USE_GNU.
11153 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11155 * conform/Makefile: For now ignore errors from run-conformtest.
11156 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11157 POSIX to avoid namespace pollution. Don't prepend headers.
11158 * conform/data/aio.h-data: Fixes for POSIX testing.
11159 * conform/data/fcntl.h-data: Likewise.
11160 * conform/data/glob.h-data: Likewise.
11161 * conform/data/grp.h-data: Likewise.
11162 * conform/data/pthread.h-data: Likewise.
11163 * conform/data/pwd.h-data: Likewise.
11164 * conform/data/signal.h-data: Likewise.
11165 * conform/data/spawn.h-data: Likewise.
11166 * conform/data/stdio.h-data: Likewise.
11167 * conform/data/stdlib.h-data: Likewise.
11168 * conform/data/stropts.h-data: Likewise.
11169 * conform/data/sys/mman.h-data: Likewise.
11170 * conform/data/sys/stat.h-data: Likewise.
11171 * conform/data/sys/types.h-data: Likewise.
11172 * conform/data/sys/wait.h-data: Likewise.
11173 * conform/data/time.h-data: Likewise.
11174 * conform/data/unistd.h-data: Likewise.
11175 * conform/data/utime.h-data: Likewise.
11177 * io/sys/stat.h: fchmod was always in POSIX.
11178 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11179 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11180 * rt/aio.h: Define __need_timespec before including <time.h>.
11181 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11182 struct. Add forward declaration of pthread_attr_t and use it in
11184 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11185 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11186 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11187 always remove CLK_TCK definition.
11189 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11191 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11193 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11195 * conform/run-conformtest.sh: New file.
11196 * conform/Makefile: Run run-conformtest for tests.
11197 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11200 * conform/data/uchar.h-data: New file.
11201 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11202 * conform/data/arpa/inet.h-data: Likewise.
11203 * conform/data/assert.h-data: Likewise.
11204 * conform/data/complex.h-data: Likewise.
11205 * conform/data/cpio.h-data: Likewise.
11206 * conform/data/ctype.h-data: Likewise.
11207 * conform/data/dirent.h-data: Likewise.
11208 * conform/data/dlfcn.h-data: Likewise.
11209 * conform/data/errno.h-data: Likewise.
11210 * conform/data/fcntl.h-data: Likewise.
11211 * conform/data/float.h-data: Likewise.
11212 * conform/data/fmtmsg.h-data: Likewise.
11213 * conform/data/fnmatch.h-data: Likewise.
11214 * conform/data/ftw.h-data: Likewise.
11215 * conform/data/glob.h-data: Likewise.
11216 * conform/data/grp.h-data: Likewise.
11217 * conform/data/iconv.h-data: Likewise.
11218 * conform/data/inttypes.h-data: Likewise.
11219 * conform/data/langinfo.h-data: Likewise.
11220 * conform/data/libgen.h-data: Likewise.
11221 * conform/data/limits.h-data: Likewise.
11222 * conform/data/locale.h-data: Likewise.
11223 * conform/data/math.h-data: Likewise.
11224 * conform/data/monetary.h-data: Likewise.
11225 * conform/data/mqueue.h-data: Likewise.
11226 * conform/data/ndbm.h-data: Likewise.
11227 * conform/data/net/if.h-data: Likewise.
11228 * conform/data/netdb.h-data: Likewise.
11229 * conform/data/netinet/in.h-data: Likewise.
11230 * conform/data/nl_types.h-data: Likewise.
11231 * conform/data/poll.h-data: Likewise.
11232 * conform/data/pthread.h-data: Likewise.
11233 * conform/data/pwd.h-data: Likewise.
11234 * conform/data/regex.h-data: Likewise.
11235 * conform/data/sched.h-data: Likewise.
11236 * conform/data/search.h-data: Likewise.
11237 * conform/data/semaphore.h-data: Likewise.
11238 * conform/data/setjmp.h-data: Likewise.
11239 * conform/data/signal.h-data: Likewise.
11240 * conform/data/spawn.h-data: Likewise.
11241 * conform/data/stdarg.h-data: Likewise.
11242 * conform/data/stdio.h-data: Likewise.
11243 * conform/data/stdlib.h-data: Likewise.
11244 * conform/data/string.h-data: Likewise.
11245 * conform/data/strings.h-data: Likewise.
11246 * conform/data/stropts.h-data: Likewise.
11247 * conform/data/sys/ipc.h-data: Likewise.
11248 * conform/data/sys/mman.h-data: Likewise.
11249 * conform/data/sys/msg.h-data: Likewise.
11250 * conform/data/sys/resource.h-data: Likewise.
11251 * conform/data/sys/select.h-data: Likewise.
11252 * conform/data/sys/sem.h-data: Likewise.
11253 * conform/data/sys/shm.h-data: Likewise.
11254 * conform/data/sys/socket.h-data: Likewise.
11255 * conform/data/sys/stat.h-data: Likewise.
11256 * conform/data/sys/statvfs.h-data: Likewise.
11257 * conform/data/sys/time.h-data: Likewise.
11258 * conform/data/sys/timeb.h-data: Likewise.
11259 * conform/data/sys/times.h-data: Likewise.
11260 * conform/data/sys/types.h-data: Likewise.
11261 * conform/data/sys/uio.h-data: Likewise.
11262 * conform/data/sys/un.h-data: Likewise.
11263 * conform/data/sys/utsname.h-data: Likewise.
11264 * conform/data/sys/wait.h-data: Likewise.
11265 * conform/data/syslog.h-data: Likewise.
11266 * conform/data/tar.h-data: Likewise.
11267 * conform/data/termios.h-data: Likewise.
11268 * conform/data/utime.h-data: Likewise.
11269 * conform/data/utmpx.h-data: Likewise.
11270 * conform/data/varargs.h-data: Likewise.
11271 * conform/data/wchar.h-data: Likewise.
11272 * conform/data/wctype.h-data: Likewise.
11273 * conform/data/wordexp.h-data: Likewise.
11275 * include/stropts.h: New file.
11276 * include/uchar.h: New file.
11277 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11278 * include/assert.h: Likewise.
11279 * include/ctype.h: Likewise.
11280 * include/dirent.h: Likewise.
11281 * include/dlfcn.h: Likewise.
11282 * include/fcntl.h: Likewise.
11283 * include/fnmatch.h: Likewise.
11284 * include/glob.h: Likewise.
11285 * include/grp.h: Likewise.
11286 * include/libio.h: Likewise.
11287 * include/locale.h: Likewise.
11288 * include/math.h: Likewise.
11289 * include/net/if.h: Likewise.
11290 * include/netdb.h: Likewise.
11291 * include/netinet/in.h: Likewise.
11292 * include/pthread.h: Likewise.
11293 * include/pwd.h: Likewise.
11294 * include/regex.h: Likewise.
11295 * include/sched.h: Likewise.
11296 * include/search.h: Likewise.
11297 * include/setjmp.h: Likewise.
11298 * include/signal.h: Likewise.
11299 * include/stdio.h: Likewise.
11300 * include/stdlib.h: Likewise.
11301 * include/string.h: Likewise.
11302 * include/sys/cdefs.h: Likewise.
11303 * include/sys/mman.h: Likewise.
11304 * include/sys/msg.h: Likewise.
11305 * include/sys/resource.h: Likewise.
11306 * include/sys/select.h: Likewise.
11307 * include/sys/socket.h: Likewise.
11308 * include/sys/stat.h: Likewise.
11309 * include/sys/statvfs.h: Likewise.
11310 * include/sys/time.h: Likewise.
11311 * include/sys/times.h: Likewise.
11312 * include/sys/uio.h: Likewise.
11313 * include/sys/utsname.h: Likewise.
11314 * include/sys/wait.h: Likewise.
11315 * include/termios.h: Likewise.
11316 * include/time.h: Likewise.
11317 * include/ulimit.h: Likewise.
11318 * include/unistd.h: Likewise.
11319 * include/utime.h: Likewise.
11320 * include/wchar.h: Likewise.
11321 * include/wctype.h: Likewise.
11322 * include/wordexp.h: Likewise.
11324 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11326 * time/time.h: TIME_UTC must be a macro.
11327 Make timespec_get available for ISO C11 only as well.
11329 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11331 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11332 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11334 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11336 * configure.in: Use -o not -a in test for unsupported multi-arch.
11338 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11340 * manual/texinfo.tex: Update to version 2012-01-19.16.
11342 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11344 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11346 2012-02-24 Roland McGrath <roland@hack.frob.com>
11349 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11350 * manual/fdl-1.3.texi: New file.
11351 * manual/fdl-1.1.texi: File removed.
11354 * manual/libc.texinfo (FDL_VERSION): New @set.
11355 Use it for mention of FDL in cover text.
11356 (Documentation License): Use it in @include file name.
11358 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11359 Roland McGrath <roland@hack.frob.com>
11362 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11363 not LONG_LONG_MAX and LONG_LONG_MIN.
11364 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11365 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11367 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11369 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11373 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11374 manipulate bits before adding and subtracting TWO23[sx].
11375 * math/libm-test.inc (nearbyint_test): Add more tests.
11377 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11380 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11381 bits before adding and subtracting TWO23[sx].
11382 * math/libm-test.inc (rint_test): Add more tests.
11383 (rint_test_tonearest): Likewise.
11384 (rint_test_towardzero): Likewise.
11385 (rint_test_downward): Likewise.
11386 (rint_test_upward: Likewise.
11388 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11391 * include/stdc-predef.h: New file. Extracted from features.h.
11392 * include/features.h: Include stdc-predef.h.
11393 * Makefile (headers): Add stdc-predef.h.
11394 * CONFORMANCE (Compiler limitations): Update.
11396 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11398 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11400 2012-02-21 David S. Miller <davem@davemloft.net>
11402 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11403 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11405 2012-02-20 David S. Miller <davem@davemloft.net>
11407 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11408 using a normal save/restore sequence, rather than allocating a
11409 dummy stack frame just to store a frame pointer and restore.
11410 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11412 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11414 * manual/install.texi: Fix stray word in line-wrapped comment.
11416 2012-02-20 David S. Miller <davem@davemloft.net>
11418 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11419 both binutils and gcc support GOTDATA.
11421 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11422 "rd %pc" in the PIC register setup sequences.
11424 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11425 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11426 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11427 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11428 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11429 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11430 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11431 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11432 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11433 (SYSCALL_ERROR_HANDLER): Likewise.
11434 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11435 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11436 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11437 (SYSCALL_ERROR_HANDLER): Likewise.
11439 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11440 (HAVE_GCC_GOTDATA): New.
11441 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11442 relocation support in both binutils and gcc.
11443 * sysdeps/sparc/elf/configure: Regenerate.
11445 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11446 * sysdeps/sparc/sparc32/elf/configure: Delete.
11447 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11448 * sysdeps/sparc/sparc64/elf/configure: Delete.
11449 * sysdeps/sparc/elf/configure.in: New file.
11450 * sysdeps/sparc/elf/configure: Generate.
11452 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11453 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11454 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11455 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11456 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11458 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11460 * manual/install.texi: Do not mention specific glibc version
11462 * manual/libc.texinfo (VERSION, UPDATED): Update.
11463 (@copying): Use @copyright{} and range of years.
11465 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11468 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11469 [crti.S not in sysdirs] (generated): Do not append.
11470 [crti.S not in sysdirs] (omit-deps): Likewise.
11471 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11472 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11473 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11474 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11475 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11477 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11478 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11479 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11480 * csu/defs.awk: Remove file.
11481 * sysdeps/generic/initfini.c: Likewise.
11482 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11484 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11487 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11489 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11490 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11491 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11492 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11493 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11494 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11496 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11497 (__EPOLL_PACKED): Define to empty if not defined by
11499 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11503 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11505 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11506 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11507 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11508 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11510 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11511 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11514 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11516 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11518 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11519 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11520 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11523 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11525 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11526 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11528 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11530 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11531 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11533 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11535 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11538 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11540 * math/w_acos.c: Use non-signaling floating-point comparisons.
11541 * math/w_acosf.c: Likewise.
11542 * math/w_acosh.c: Likewise.
11543 * math/w_acoshf.c: Likewise.
11544 * math/w_acoshl.c: Likewise.
11545 * math/w_acosl.c: Likewise.
11546 * math/w_asin.c: Likewise.
11547 * math/w_asinf.c: Likewise.
11548 * math/w_asinl.c: Likewise.
11549 * math/w_atanh.c: Likewise.
11550 * math/w_atanhf.c: Likewise.
11551 * math/w_atanhl.c: Likewise.
11552 * math/w_exp2.c: Likewise.
11553 * math/w_exp2f.c: Likewise.
11554 * math/w_exp2l.c: Likewise.
11555 * math/w_j0.c: Likewise.
11556 * math/w_j0f.c: Likewise.
11557 * math/w_j0l.c: Likewise.
11558 * math/w_j1.c: Likewise.
11559 * math/w_j1f.c: Likewise.
11560 * math/w_j1l.c: Likewise.
11561 * math/w_jn.c: Likewise.
11562 * math/w_jnf.c: Likewise.
11563 * math/w_log.c: Likewise.
11564 * math/w_log10.c: Likewise.
11565 * math/w_log10f.c: Likewise.
11566 * math/w_log10l.c: Likewise.
11567 * math/w_log2.c: Likewise.
11568 * math/w_log2f.c: Likewise.
11569 * math/w_log2l.c: Likewise.
11570 * math/w_logf.c: Likewise.
11571 * math/w_logl.c: Likewise.
11572 * math/w_sqrt.c: Likewise.
11573 * math/w_sqrtf.c: Likewise.
11574 * math/w_sqrtl.c: Likewise.
11575 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11576 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11577 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11578 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11579 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11581 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11584 * manual/string.texi (strnlen): Use correct parameter name in
11585 equivalent expression.
11587 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11590 * manual/users.texi (seteuid): Consistently use neweuid for
11593 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11596 * manual/nss.texi (Services in the NSS configuration): Correct
11597 list of services in example configuration file.
11599 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11602 * manual/arith.texi: Remove statements about negative zero
11603 behaving identically to zero.
11605 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11608 * manual/install.texi: Do not document upgrading from libc5.
11610 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11613 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11615 2012-02-18 David S. Miller <davem@davemloft.net>
11617 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11618 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11619 %o7 across the call.
11620 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11623 SETUP_PIC_REG_LEAF.
11624 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11625 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11626 * sysdeps/sparc/crtn.S: Likewise.
11628 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11630 * aout/Makefile: Remove.
11632 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11635 * manual/examples/argp-ex1.c (main): Format definition in GNU
11637 * manual/examples/argp-ex2.c (main): Likewise.
11638 * manual/examples/argp-ex3.c (main): Likewise.
11639 * manual/examples/argp-ex4.c (main): Likewise.
11640 * manual/examples/longopt.c (main): Use new-style prototype
11642 * manual/examples/strncat.c (main): Specify return type and use
11643 (void) for arguments.
11644 * manual/examples/subopt.c (main): Use char **argv argument.
11646 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11649 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11652 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11655 * manual/string.texi (strchr): Change when strchrnul is
11658 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11661 * manual/locale.texi (setlocale): Document LOCPATH.
11663 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11666 * manual/process.texi (execle): Move @dots{} before last argument.
11668 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11671 * manual/charset.texi (Generic Charset Conversion): Fix typo
11672 (LC_TYPE -> LC_CTYPE).
11674 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11677 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11678 (scalbnf): Likewise.
11679 (scalbnl): Likewise.
11680 (scalbln): Likewise.
11681 (scalblnf): Likewise.
11682 (scalblnl): Likewise.
11683 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11684 (vwarnx): Likewise.
11687 * manual/filesys.texi (telldir): Use braces around return type.
11688 * manual/llio.texi (mmap): Add space after comma.
11689 (mmap64): Likewise.
11690 * manual/math.texi (jn): Use @var{} on parameter names.
11696 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11698 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11700 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11701 (sched_get_priority_max): Likewise.
11702 * manual/signal.texi (sigvec): Add space after comma.
11703 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11705 (if_indextoname): Likewise.
11706 (if_freenameindex): Likewise.
11707 (sendto): Use ',' instead of '.' in prototype.
11708 * manual/startup.texi (syscall): Use @dots{} instead of literal
11710 * manual/stdio.texi (__fpending): Separate initial words of
11711 paragraph from @deftypefun line.
11712 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11714 (vsyslog): Use @var{} on parameter names.
11715 * manual/terminal.texi (stty): Use @var{} on parameter names.
11716 * manual/users.texi (getutmp): Use @var{} on parameter names.
11717 (getutmpx): Likewise.
11719 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11722 * manual/stdio.texi (fopen): Fix typos in description of
11725 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11728 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11729 get clock_id definition.
11731 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11734 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11735 (madvise): Cast every argument to void on its own.
11737 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11740 * manual/startup.texi (Exit Status): Fix typo.
11742 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11745 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11746 * manual/examples/argp-ex2.c: Likewise.
11747 * manual/examples/argp-ex3.c: Likewise.
11749 2012-02-16 Richard Henderson <rth@redhat.com>
11751 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11752 * sysdeps/s390/s390-32/initfini.c: Remove.
11753 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11754 * sysdeps/s390/s390-64/initfini.c: Remove.
11756 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11758 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11759 compiler output for sysdeps/generic/initfini.c.
11760 * sysdeps/sh/elf/initfini.c: Remove file.
11762 2012-02-16 David S. Miller <davem@davemloft.net>
11765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11767 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11768 * sysdeps/sparc/crti.S: New file.
11769 * sysdeps/sparc/crtn.S: New file.
11770 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11771 * sysdeps/sparc/sparc64/Makefile: Likewise.
11773 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11776 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11778 2012-02-15 Roland McGrath <roland@hack.frob.com>
11781 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11783 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11784 (write, read, close): Likewise.
11785 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11787 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11789 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11790 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11791 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11792 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11794 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11798 2012-02-14 Marek Polacek <polacek@redhat.com>
11800 * sysdeps/x86_64/crti.S: New file.
11801 * sysdeps/x86_64/crtn.S: New file.
11802 * sysdeps/x86_64/elf/initfini.c: Remove file.
11804 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11806 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11807 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11808 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11809 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11811 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11815 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11817 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11818 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11819 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11820 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11822 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11826 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11828 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11829 __feraiseexcept instead of feraiseexcept.
11831 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11832 nanosleep invocations.
11833 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11834 strings, and add error checking for a nanosleep invocations.
11836 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11838 Replace FSF snail mail address with URLs, as per GNU coding standards.
11839 Most of the snail mail addresses were wrong anyway, and omitting
11840 them makes the source code easier to maintain. Almost all of the
11841 changes are to license notices and to locale LC_IDENTIFICATION
11842 addresses, except for this one:
11843 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11844 not its snail mail address.
11846 2012-02-09 Richard Henderson <rth@twiddle.net>
11848 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11849 of kernel-features.h.
11851 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11853 2012-02-08 Marek Polacek <polacek@redhat.com>
11855 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11856 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11857 * sysdeps/gnu/_G_config.h: Likewise.
11858 * sysdeps/generic/_G_config.h: Likewise.
11860 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11862 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11866 * sysdeps/powerpc/powerpc32/crti.S: New file.
11867 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11868 * sysdeps/powerpc/powerpc64/crti.S: New file.
11869 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11871 * Makeconfig (have-initfini): Don't set.
11872 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11873 * configure.in (nopic_initfini): Don't substitute.
11874 * config.h.in (HAVE_INITFINI): Don't #undef.
11875 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11876 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11878 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11880 Support crti.S and crtn.S provided directly by architectures.
11881 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11882 [crti.S in sysdirs] (omit-deps): Likewise.
11883 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11884 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11885 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11886 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11887 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11888 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11889 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11890 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11891 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11892 compiler output for sysdeps/generic/initfini.c.
11893 * sysdeps/i386/elf/Makefile: Remove file.
11894 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11896 2012-02-07 Marek Polacek <polacek@redhat.com>
11898 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11899 * sysdeps/gnu/_G_config.h: Likewise.
11900 * sysdeps/mach/hurd/_G_config.h: Likewise.
11902 2012-02-07 Marek Polacek <polacek@redhat.com>
11904 * math/Makefile (tests): Add tst-CMPLX2.
11905 * math/tst-CMPLX2.c: New file.
11907 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11909 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11911 * math/libm-test.inc (jn_test): Add missing L suffix.
11913 2012-02-06 Marek Polacek <polacek@redhat.com>
11915 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11916 * sysdeps/i386/fpu/e_powf.S: Likewise.
11917 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11918 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11919 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11920 * sysdeps/i386/fpu/e_pow.S: Likewise.
11921 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11922 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11923 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11924 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11925 * sysdeps/i386/fpu/e_log2.S: Likewise.
11926 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11927 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11928 * sysdeps/i386/fpu/e_powl.S: Likewise.
11929 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11930 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11931 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11932 * sysdeps/i386/fpu/e_logl.S: Likewise.
11933 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11934 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11935 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11936 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11937 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11938 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11939 * sysdeps/i386/fpu/e_log.S: Likewise.
11940 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11941 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11942 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11943 * sysdeps/i386/fpu/e_logf.S: Likewise.
11944 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11945 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11946 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11947 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11948 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11949 * sysdeps/i386/fpu/e_log10.S: Likewise.
11950 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11951 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11952 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11953 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11954 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11955 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11956 * sysdeps/i386/asm-syntax.h: Likewise.
11957 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11958 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11959 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11960 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11961 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11962 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11963 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11964 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11965 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11966 * sysdeps/powerpc/sysdep.h: Likewise.
11967 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11968 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11970 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11973 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11975 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11977 * sysdeps/i386/sysdep.h: Include <features.h>.
11978 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11981 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11983 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11985 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11988 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11990 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11991 (SETUP_PIC_REG): Use GET_PC_THUNK.
11992 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11995 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11997 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11998 for non-PIC compilation.
11999 (SETUP_PIC_REG): Add .p2align directive.
12000 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12001 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12002 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12003 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12004 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12005 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12006 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12007 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12008 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12009 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12010 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12011 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12012 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12013 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12014 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12015 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12016 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12017 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12018 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12019 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12020 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12021 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12022 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12023 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12024 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12026 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12027 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12028 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12029 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12030 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12031 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12032 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12033 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12034 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12035 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12036 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12037 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12038 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12039 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12040 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12042 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12044 * math/tst-CMPLX.c: Include <stdio.h>.
12046 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12048 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12050 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12051 * sysdeps/sparc/bits/mathdef.h: Likewise.
12053 2012-01-31 Marek Polacek <polacek@redhat.com>
12055 * libio/libio.h: Don't define _PARAMS.
12056 * locale/programs/config.h: Don't define PARAMS.
12057 * stdlib/strtol_l.c: Likewise.
12058 (__strtol_l): Remove PARAMS from the prototype.
12060 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12062 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12063 names. Just use the correct names. Remove unnecessary wrapper
12065 * malloc/arena.c: Likewise.
12066 * malloc/hooks.c: Likewise.
12068 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12069 ARENA_TEST says not to. Simplify test for creation of a new arena.
12070 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12072 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12074 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12076 (update_get_addr): New function.
12077 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12078 GET_ADDR_MODULE parameter.
12080 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12082 * crypt/cert.c: Remove __STDC__ conditionals.
12083 * crypt/crypt-entry.c: Likewise.
12084 * crypt/crypt_util.c: Likewise.
12085 * libio/filedoalloc.c: Likewise.
12086 * libio/fileops.c: Likewise.
12087 * libio/genops.c: Likewise.
12088 * libio/iofclose.c: Likewise.
12089 * libio/iofdopen.c: Likewise.
12090 * libio/iofopen.c: Likewise.
12091 * libio/iofopen64.c: Likewise.
12092 * libio/iogetdelim.c: Likewise.
12093 * libio/iopopen.c: Likewise.
12094 * libio/obprintf.c: Likewise.
12095 * libio/oldfileops.c: Likewise.
12096 * libio/oldiofclose.c: Likewise.
12097 * libio/oldiofdopen.c: Likewise.
12098 * libio/oldiofopen.c: Likewise.
12099 * libio/oldiopopen.c: Likewise.
12100 * libio/wfiledoalloc.c: Likewise.
12101 * libio/wgenops.c: Likewise.
12102 * locale/programs/xmalloc.c: Likewise.
12103 * misc/syslog.c: Likewise.
12104 * stdio-common/xbug.c: Likewise.
12105 * string/memchr.c: Likewise.
12106 * string/memcmp.c: Likewise.
12107 * string/memrchr.c: Likewise.
12108 * string/rawmemchr.c: Likewise.
12109 * sysdeps/posix/getcwd.c: Likewise.
12110 * time/strftime_l.c: Likewise.
12112 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12114 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12115 * config.make.in (config-cflags-sse2avx): Define.
12116 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12119 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12121 * scripts/config.guess: Update from upstream config git repository.
12122 * scripts/config.sub: Likewise.
12124 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12126 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12128 (R_TILEPRO_*, R_TILEGX_*): New macros.
12130 * scripts/firstversions.awk: Fix bug in version range handling.
12132 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12134 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12136 * include/sys/epoll.h: New file.
12137 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12140 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12142 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12143 Avoid unnecessary __WORDSIZE == 64 test.
12144 (fmaxf): Use VEX format if possible.
12149 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12150 * math/math_private.h: Remove libc_fegetround* and
12152 * sysdeps/i386/configure.in: Check for -msse2avx.
12153 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12154 also if SSE2AVX is defined.
12155 Remove libc_fegetround* and libc_fesetround*.
12156 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12157 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12158 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12160 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12161 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12162 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12163 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12164 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12166 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12168 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12170 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12172 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12174 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12177 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12179 * Makeconfig (libm): Define.
12180 * elf/Makefile: Add rules to build and run tst-relsort1.
12181 * elf/tst-relsort1.c: New file.
12182 * elf/tst-relsort1mod1.c: New file.
12183 * elf/tst-relsort1mod2.c: New file.
12185 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12187 * math/s_ldexp.c: Remove __STDC__ conditionals.
12188 * math/s_ldexpf.c: Likewise.
12189 * math/s_ldexpl.c: Likewise.
12190 * math/s_nextafter.c: Likewise.
12191 * math/s_nexttowardf.c: Likewise.
12192 * math/s_significand.c: Likewise.
12193 * math/s_significandf.c: Likewise.
12194 * math/s_significandl.c: Likewise.
12195 * math/w_jnl.c: Likewise.
12196 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12197 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12198 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12199 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12200 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12201 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12202 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12203 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12204 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12205 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12206 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12207 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12208 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12209 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12210 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12211 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12212 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12213 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12214 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12215 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12216 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12217 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12218 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12219 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12220 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12221 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12222 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12223 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12224 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12225 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12226 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12227 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12228 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12229 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12230 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12231 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12232 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12233 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12234 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12235 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12236 * sysdeps/ieee754/k_standard.c: Likewise.
12237 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12238 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12239 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12240 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12241 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12242 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12243 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12244 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12245 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12246 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12247 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12248 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12249 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12250 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12251 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12252 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12253 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12254 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12255 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12256 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12257 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12258 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12259 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12260 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12263 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12264 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12265 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12266 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12268 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12269 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12272 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12275 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12276 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12277 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12285 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12288 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12290 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12295 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12296 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12298 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12299 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12300 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12301 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12303 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12305 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12307 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12308 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12309 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12311 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12312 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12316 * sysdeps/ieee754/s_matherr.c: Likewise.
12317 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12318 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12319 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12320 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12322 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12324 * crypt/md5.h: Remove __STDC__ conditionals.
12325 * libio/libioP.h: Likewise.
12326 * locale/programs/config.h: Likewise.
12327 * sysdeps/generic/sysdep.h: Likewise.
12328 * sysdeps/i386/asm-syntax.h: Likewise.
12329 * sysdeps/s390/asm-syntax.h: Likewise.
12330 * sysdeps/unix/sysdep.h: Likewise.
12331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12334 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12336 * libio/libio.h: Remove __STDC__ conditionals.
12337 * malloc/obstack.h: Likewise.
12338 * math/complex.h: Likewise.
12339 * math/math.h: Likewise.
12340 * sysdeps/generic/_G_config.h: Likewise.
12341 * sysdeps/gnu/_G_config.h: Likewise.
12342 * sysdeps/mach/hurd/_G_config.h: Likewise.
12343 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12344 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12345 * sysdeps/sparc/bits/mathdef.h: Likewise.
12347 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12350 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12351 Clean up HAS_* macros.
12352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12353 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12355 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12357 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12358 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12359 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12360 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12361 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12363 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12365 * elf/tst-unique3.cc (gets): Remove declaration.
12366 * elf/tst-unique3lib.cc (gets): Likewise.
12367 * elf/tst-unique3lib2.cc (gets): Likewise.
12368 * elf/tst-unique4.cc (gets): Likewise.
12370 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12372 * include/stdio.h: Add C++ protection. Add gets declarations and
12374 * debug/tst-chk1.c: Don't declare gets here.
12375 * stdio-common/tst-gets.c: Likewise.
12377 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12379 * posix/glob: Remove directory.
12381 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12383 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12385 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12387 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12388 of the non-standard EPFNOSUPPORT.
12390 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12392 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12393 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12394 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12396 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12398 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12400 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12402 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12404 * nscd/grpcache.c (cache_addgr): Likewise.
12405 * nscd/hstcache.c (cache_addhst): Likewise.
12406 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12407 * nscd/pwdcache.c (cache_addpw): Likewise.
12408 * nscd/servicescache.c (cache_addserv): Likewise.
12410 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12412 * malloc/malloc.c: Various cleanups.
12413 * malloc/hooks.c: Likewise.
12415 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12416 * stdlib/bug-fmtmsg1.c: New file.
12418 * stdlib/fmtmsg.c (init): Add missing unlock.
12419 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12421 2012-01-12 Marek Polacek <polacek@redhat.com>
12423 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12426 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12428 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12429 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12430 macro to ensure uniqueness of label name.
12431 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12432 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12434 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12436 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12438 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12439 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12440 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12443 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12445 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12447 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12448 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12449 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12451 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12453 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12454 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12455 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12456 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12458 * math/bits/math-finite.h: Add ldexp support.
12460 2012-01-10 Marek Polacek <polacek@redhat.com>
12462 * locale/programs/localedef.h (show_archive_content): Add noreturn
12465 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12467 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12469 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12471 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12473 * io/Makefile (headers): Add bits/poll2.h.
12475 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12478 typo #include statement.
12480 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12482 * include/sys/cdefs.h: Define __attribute_alloc_size.
12483 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12484 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12485 * elf/pldd.c: Likewise.
12486 * iconv/iconv_charmap.c: Likewise.
12487 * iconv/iconvconfig.c: Likewise.
12488 * iconv/strtab.c: Likewise.
12489 * locale/programs/locale.c: Likewise.
12490 * locale/programs/localedef.h: Likewise.
12491 * locale/programs/simple-hash.c: Likewise.
12492 * nscd/nscd.h: Likewise.
12493 * nss/makedb.c: Likewise.
12494 * sysdeps/generic/ldconfig.h: Likewise.
12495 * locale/programs/localedef.c: Remove xmalloc prototype.
12496 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12498 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12500 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12503 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12505 * math/Makefile (tests): Add tst-CMPLX.
12506 * math/tst-CMPLX.c: New file.
12508 * math/complex.h (CMPLXL): Fix typo.
12510 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12511 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12513 * debug/tst-chk1.c: Add poll and ppoll tests.
12514 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12515 * include/sys/poll.h: Add hidden proto for ppoll.
12516 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12517 * sysdeps/mach/hurd/ppoll.c: Likewise.
12518 * io/ppoll.c: Likewise.
12519 * debug/poll_chk.c: New file.
12520 * debug/ppoll_chk.c: New file.
12521 * include/bits/poll2.h: New file.
12522 * io/bits/poll2.h: New file.
12525 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12527 * configure.in: static is always set to yes. Remove.
12528 * config.make.in: Don't set build-static.
12529 * Makeconfig: Remove use of build-static.
12530 * dlfcn/Makefile: Likewise.
12531 * elf/Makefile: Likewise.
12532 * math/Makefile: Likewise.
12533 * misc/Makefile: Likewise.
12534 * nptl/Makefile: Likewise.
12535 * sysdeps/mach/hurd/Makefile: Likewise.
12537 * configure.in: PWD_P is not used anymore.
12538 * config.make.in: Remove PWD_P entry.
12540 * configure.in: Remove last remnants of RANLIB.
12541 No need to check for signed size_t anymore.
12542 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12544 Remove __builtin_expect test because we require at least gcc 3.4.
12545 * aclocal.m4: Likewise.
12547 * wcsmbs/mbrtoc16.c: Implement using towc function.
12548 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12549 * wcsmbs/wcsmbsload.c: Likewise.
12550 * iconv/gconv_simple.c: Likewise.
12551 * iconv/gconv_int.h: Likewise.
12552 * iconv/gconv_builtin.h: Likewise.
12553 * iconv/iconv_prog.c: Remove CHAR16 handling.
12555 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12557 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12559 * configure.in: Remove --with-elf and --enable-bounded options.
12560 Dont set base_machine for ia64. More non-ELF conditions removed.
12561 Remove testing and setting of leading underscore information.
12562 * config.make.in (build-bounded): Set to no.
12563 * config.h.in: Remove NO_UNDERSCORES entry.
12564 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12566 * csu/start.c: Remove !NO_UNDERSCORE code.
12567 * locale/localeinfo.h: Likewise.
12568 * sysdeps/generic/machine-gmon.h: Likewise.
12569 * sysdeps/generic/sysdep.h: Likewise.
12570 * sysdeps/i386/sysdep.h: Likewise.
12571 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12572 * sysdeps/mach/sysdep.h: Likewise.
12573 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12574 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12575 * sysdeps/sh/sysdep.h: Likewise.
12576 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12577 * sysdeps/unix/i386/sysdep.S: Likewise.
12578 * sysdeps/unix/sparc/start.c: Likewise.
12579 * sysdeps/unix/sparc/sysdep.S: Likewise.
12580 * sysdeps/unix/sparc/sysdep.h: Likewise.
12581 * sysdeps/unix/start.c: Likewise.
12582 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12583 * sysdeps/x86_64/sysdep.h: Likewise.
12585 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12588 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12590 * argp/argp-fmtstream.h: Use const instead __const.
12591 * argp/argp.h: Likewise.
12592 * assert/assert.h: Likewise.
12593 * bits/fenv.h: Likewise.
12594 * bits/sched.h: Likewise.
12595 * bits/sigset.h: Likewise.
12596 * bits/sigthread.h: Likewise.
12597 * catgets/nl_types.h: Likewise.
12598 * conform/data/pthread.h-data: Likewise.
12599 * crypt/crypt-private.h: Likewise.
12600 * crypt/crypt.h: Likewise.
12601 * crypt/crypt_util.c: Likewise.
12602 * ctype/ctype.h: Likewise.
12603 * debug/execinfo.h: Likewise.
12604 * debug/mbsnrtowcs_chk.c: Likewise.
12605 * debug/mbsrtowcs_chk.c: Likewise.
12606 * debug/wcsnrtombs_chk.c: Likewise.
12607 * debug/wcsrtombs_chk.c: Likewise.
12608 * debug/wcstombs_chk.c: Likewise.
12609 * dirent/dirent.h: Likewise.
12610 * dlfcn/dlfcn.h: Likewise.
12611 * elf/neededtest4.c: Likewise.
12612 * grp/grp.h: Likewise.
12613 * gshadow/gshadow.h: Likewise.
12614 * iconv/gconv.h: Likewise.
12615 * iconv/gconv_int.h: Likewise.
12616 * iconv/gconv_simple.c: Likewise.
12617 * iconv/iconv.h: Likewise.
12618 * iconv/loop.c: Likewise.
12619 * iconv/skeleton.c: Likewise.
12620 * include/aio.h: Likewise.
12621 * include/aliases.h: Likewise.
12622 * include/argz.h: Likewise.
12623 * include/arpa/inet.h: Likewise.
12624 * include/assert.h: Likewise.
12625 * include/dirent.h: Likewise.
12626 * include/dlfcn.h: Likewise.
12627 * include/execinfo.h: Likewise.
12628 * include/fcntl.h: Likewise.
12629 * include/fenv.h: Likewise.
12630 * include/glob.h: Likewise.
12631 * include/grp.h: Likewise.
12632 * include/libintl.h: Likewise.
12633 * include/mntent.h: Likewise.
12634 * include/netdb.h: Likewise.
12635 * include/pwd.h: Likewise.
12636 * include/rpc/netdb.h: Likewise.
12637 * include/sched.h: Likewise.
12638 * include/search.h: Likewise.
12639 * include/shadow.h: Likewise.
12640 * include/signal.h: Likewise.
12641 * include/stdio.h: Likewise.
12642 * include/stdlib.h: Likewise.
12643 * include/string.h: Likewise.
12644 * include/sys/socket.h: Likewise.
12645 * include/sys/stat.h: Likewise.
12646 * include/sys/statfs.h: Likewise.
12647 * include/sys/statvfs.h: Likewise.
12648 * include/sys/syslog.h: Likewise.
12649 * include/sys/time.h: Likewise.
12650 * include/sys/uio.h: Likewise.
12651 * include/time.h: Likewise.
12652 * include/unistd.h: Likewise.
12653 * include/utmp.h: Likewise.
12654 * include/wchar.h: Likewise.
12655 * include/wctype.h: Likewise.
12656 * inet/aliases.h: Likewise.
12657 * inet/arpa/inet.h: Likewise.
12658 * inet/netinet/ether.h: Likewise.
12659 * inet/netinet/in.h: Likewise.
12660 * intl/libintl.h: Likewise.
12661 * io/bits/fcntl2.h: Likewise.
12662 * io/fcntl.h: Likewise.
12663 * io/ftw.h: Likewise.
12664 * io/sys/poll.h: Likewise.
12665 * io/sys/stat.h: Likewise.
12666 * io/sys/statfs.h: Likewise.
12667 * io/sys/statvfs.h: Likewise.
12668 * io/utime.h: Likewise.
12669 * libio/bits/stdio.h: Likewise.
12670 * libio/bits/stdio2.h: Likewise.
12671 * libio/libio.h: Likewise.
12672 * libio/libioP.h: Likewise.
12673 * libio/stdio.h: Likewise.
12674 * locale/lc-ctype.c: Likewise.
12675 * locale/locale.h: Likewise.
12676 * login/utmp.h: Likewise.
12677 * malloc/arena.c: Likewise.
12678 * malloc/malloc.c: Likewise.
12679 * malloc/malloc.h: Likewise.
12680 * malloc/mcheck.c: Likewise.
12681 * malloc/mtrace.c: Likewise.
12682 * math/bits/mathcalls.h: Likewise.
12683 * math/fenv.h: Likewise.
12684 * math/math_private.h: Likewise.
12685 * misc/bits/error.h: Likewise.
12686 * misc/bits/syslog.h: Likewise.
12687 * misc/err.h: Likewise.
12688 * misc/error.h: Likewise.
12689 * misc/fstab.h: Likewise.
12690 * misc/mntent.h: Likewise.
12691 * misc/regexp.h: Likewise.
12692 * misc/search.h: Likewise.
12693 * misc/sgtty.h: Likewise.
12694 * misc/sys/mman.h: Likewise.
12695 * misc/sys/syslog.h: Likewise.
12696 * misc/sys/uio.h: Likewise.
12697 * misc/sys/xattr.h: Likewise.
12698 * misc/ttyent.h: Likewise.
12699 * nis/rpcsvc/ypclnt.h: Likewise.
12700 * nss/nss.h: Likewise.
12701 * posix/bits/unistd.h: Likewise.
12702 * posix/fnmatch.h: Likewise.
12703 * posix/glob.h: Likewise.
12704 * posix/sched.h: Likewise.
12705 * posix/spawn.h: Likewise.
12706 * posix/sys/wait.h: Likewise.
12707 * posix/unistd.h: Likewise.
12708 * posix/wordexp.h: Likewise.
12709 * pwd/pwd.h: Likewise.
12710 * resolv/netdb.h: Likewise.
12711 * resource/sys/resource.h: Likewise.
12712 * rt/aio.h: Likewise.
12713 * rt/bits/mqueue2.h: Likewise.
12714 * rt/mqueue.h: Likewise.
12715 * shadow/shadow.h: Likewise.
12716 * signal/signal.h: Likewise.
12717 * socket/send.c: Likewise.
12718 * socket/sendto.c: Likewise.
12719 * socket/sys/socket.h: Likewise.
12720 * stdio-common/printf.h: Likewise.
12721 * stdlib/bits/stdlib.h: Likewise.
12722 * stdlib/fmtmsg.h: Likewise.
12723 * stdlib/monetary.h: Likewise.
12724 * stdlib/stdlib.h: Likewise.
12725 * stdlib/ucontext.h: Likewise.
12726 * streams/stropts.h: Likewise.
12727 * string/argz.h: Likewise.
12728 * string/bits/string2.h: Likewise.
12729 * string/string.h: Likewise.
12730 * string/strings.h: Likewise.
12731 * sunrpc/rpc/auth.h: Likewise.
12732 * sunrpc/rpc/auth_des.h: Likewise.
12733 * sunrpc/rpc/clnt.h: Likewise.
12734 * sunrpc/rpc/netdb.h: Likewise.
12735 * sunrpc/rpc/pmap_clnt.h: Likewise.
12736 * sunrpc/rpc/xdr.h: Likewise.
12737 * sysdeps/generic/inttypes.h: Likewise.
12738 * sysdeps/generic/net/if.h: Likewise.
12739 * sysdeps/generic/sys/swap.h: Likewise.
12740 * sysdeps/gnu/net/if.h: Likewise.
12741 * sysdeps/gnu/utmpx.h: Likewise.
12742 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12743 * sysdeps/i386/i486/bits/string.h: Likewise.
12744 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12745 * sysdeps/s390/bits/string.h: Likewise.
12746 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12747 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12748 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12749 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12750 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12751 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12752 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12753 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12754 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12755 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12756 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12757 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12758 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12759 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12760 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12761 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12762 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12763 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12764 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12765 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12766 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12767 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12768 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12769 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12770 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12771 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12772 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12773 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12774 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12775 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12776 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12777 * sysvipc/sys/ipc.h: Likewise.
12778 * sysvipc/sys/msg.h: Likewise.
12779 * sysvipc/sys/sem.h: Likewise.
12780 * sysvipc/sys/shm.h: Likewise.
12781 * termios/termios.h: Likewise.
12782 * time/sys/time.h: Likewise.
12783 * time/time.h: Likewise.
12784 * wcsmbs/bits/wchar2.h: Likewise.
12785 * wcsmbs/uchar.h: Likewise.
12786 * wcsmbs/wchar.h: Likewise.
12787 * wctype/wctype.h: Likewise.
12790 * Makeconfig: Remove all but ELF support including AIX support.
12791 * Makerules: Likewise.
12792 * config.h.in: Likewise.
12793 * config.make.in: Likewise.
12794 * configure: Likewise.
12795 * configure.in: Likewise.
12796 * csu/Makefile: Likewise.
12797 * csu/version.c: Likewise.
12798 * debug/Makefile: Likewise.
12799 * dlfcn/Makefile: Likewise.
12800 * elf/Makefile: Likewise.
12801 * extra-lib.mk: Likewise.
12802 * iconv/Makefile: Likewise.
12803 * include/libc-symbols.h: Likewise.
12804 * include/shlib-compat.h: Likewise.
12805 * resolv/Makefile: Likewise.
12806 * resolv/res_libc.c: Likewise.
12807 * rt/Makefile: Likewise.
12808 * sysdeps/i386/asm-syntax.h: Likewise.
12809 * sysdeps/i386/sysdep.h: Likewise.
12810 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12811 * sysdeps/mach/sysdep.h: Likewise.
12812 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12813 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12814 * sysdeps/s390/asm-syntax.h: Likewise.
12815 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12816 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12817 * sysdeps/sh/sysdep.h: Likewise.
12818 * sysdeps/unix/sparc/sysdep.h: Likewise.
12819 * sysdeps/wordsize-32/divdi3.c: Likewise.
12820 * sysdeps/x86_64/sysdep.h: Likewise.
12822 * argp/Versions: Remove _argp_unlock_xxx.
12825 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12826 * abilist/libBrokenLocale.abilist: Likewise.
12827 * abilist/libanl.abilist: Likewise.
12828 * abilist/libc.abilist: Likewise.
12829 * abilist/libcrypt.abilist: Likewise.
12830 * abilist/libdl.abilist: Likewise.
12831 * abilist/libm.abilist: Likewise.
12832 * abilist/libnsl.abilist: Likewise.
12833 * abilist/libpthread.abilist: Likewise.
12834 * abilist/libresolv.abilist: Likewise.
12835 * abilist/librt.abilist: Likewise.
12836 * abilist/libthread_db.abilist: Likewise.
12837 * abilist/libutil.abilist: Likewise.
12838 * abilist/libnss_db.abilist: New file.
12840 * scripts/abilist.awk: Add support for indirect functions.
12842 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12844 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12846 * shlib-versions: Remove entries for ports architectures.
12848 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12850 * elf/stackguard-macros.h: Remove support for IA-64.
12851 * elf/tst-auditmod1.c: Likewise.
12852 * sysdeps/generic/ldsodefs.h: Likewise.
12854 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12855 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12859 * configure.in: Remove --enable-omitfp support.
12861 * config.make.in: Likewise.
12862 * Makeconfig: Likewise.
12863 * manual/install.texi: Likewise.
12865 In case anyone cares, the IA-64 architecture could move to ports.
12866 * sysdeps/ia64/*: Removed.
12867 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12868 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12871 * configure.in: Remove entries for unsupported architectures.
12874 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12875 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12877 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12878 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12879 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12880 fall back to using wcrtomb.
12881 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12882 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12884 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12885 * wcsmbs/tst-c16c32-1.c: New file.
12887 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12890 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12892 * elf/tst-unique3.cc: Add explicit declaration of gets.
12893 * elf/tst-unique3lib.cc: Likewise.
12894 * elf/tst-unique3lib2.cc: Likewise.
12895 * elf/tst-unique4.cc: Likewise.
12897 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12899 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12902 * assert/assert.h (static_assert): Don't define for C++.
12903 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12904 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12906 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12908 * iconv/loop.c (single loop): Fix assertion in storing of
12911 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12913 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12915 * posix/getconf.c: Update copyright year.
12916 * nss/getent.c: Likewise.
12917 * nss/makedb.c: Likewise.
12918 * iconv/iconvconfig.c: Likewise.
12919 * iconv/iconv_prog.c: Likewise.
12920 * elf/ldconfig.c: Likewise.
12921 * elf/pldd.c: Likewise.
12922 * elf/sotruss.ksh: Likewise.
12923 * catgets/gencat.c: Likewise.
12924 * csu/version.c: Likewise.
12925 * elf/ldd.bash.in: Likewise.
12926 * elf/sprof.c (print_version): Likewise.
12927 * locale/programs/locale.c: Likewise.
12928 * locale/programs/localedef.c: Likewise.
12929 * login/programs/pt_chown.c: Likewise.
12930 * nscd/nscd.c (print_version): Likewise.
12931 * debug/xtrace.sh: Likewise.
12932 * malloc/memusage.sh: Likewise.
12933 * malloc/mtrace.pl: Likewise.
12934 * debug/catchsegv.sh: Likewise.
12936 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12938 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12941 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12944 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12945 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12947 * iconv/gconv_int.h: Likewise.
12948 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12949 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12950 from libc for GLIBC_2.16.
12951 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12952 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12953 * wcsmbs/uchar.h: Really define mbstate_t.
12954 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12955 * wcsmbs/c16rtomb.c: New file.
12956 * wcsmbs/mbrtoc16.c: New file.
12957 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12958 for C/POSIX locale.
12959 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12960 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12962 * wcsmbs/wchar.h: Add missing __restrict.
12964 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12967 * time/Makefile (routines): Add timespec_get.
12968 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12969 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12970 timespec for ISO C11.
12971 * time/timespec_get.c: New file.
12972 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12973 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12976 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12977 * stdlib/stdlib.h: Declare aligned_alloc.
12978 * Versions.def: Add GLIBC_2.16 for libc.
12979 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12982 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12985 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12989 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12992 * assert/assert.h (static_assert): Define.
12994 * version.h: Update for 2.16 development version.
12997 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13000 * version.h (RELEASE): Bump for 2.15 release.
13001 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13003 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13004 Patch by Marek Polacek <mpolacek@redhat.com>.
13006 * bits/byteswap.h: Protect long long constants with __extension__.
13007 * sysdeps/i386/bits/byteswap.h: Likewise.
13008 * sysdeps/ia64/bits/byteswap.h: Likewise.
13009 * sysdeps/s390/bits/byteswap.h: Likewise.
13010 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13012 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13015 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13016 destination buffer.
13017 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13019 2011-12-23 Marek Polacek <polacek@redhat.com>
13021 * elf/dl-addr.c (determine_info): Add inline keyword.
13022 * elf/tst-auditmod4b.c (check_avx): Likewise.
13023 * elf/tst-auditmod6b.c (check_avx): Likewise.
13024 * elf/tst-auditmod6c.c (check_avx): Likewise.
13025 * elf/tst-auditmod7b.c (check_avx): Likewise.
13027 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13029 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13032 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13035 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13036 processing for last bytes.
13038 2011-08-06 Bruno Haible <bruno@clisp.org>
13041 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13042 U+0385, not to U+1FEE.
13045 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13046 entry for U+00A5 U+0301.
13048 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13051 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13052 buffer for the output is too small.
13054 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13058 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13059 SSE flags if possible.
13061 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13065 processing for last bytes.
13067 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13069 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13070 (syscall-list-default-options, syscall-list-default-condition)
13071 (syscall-list-includes): Define.
13072 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13073 list of ABIs and options and #if conditions for each ABI. Do not
13074 handle common syscalls between ABIs specially.
13075 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13077 (syscall-list-variants, syscall-list-32bit-options)
13078 (syscall-list-32bit-condition, syscall-list-64bit-options)
13079 (syscall-list-64bit-condition): Define.
13080 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13081 (syscall-list-variants, syscall-list-32bit-options)
13082 (syscall-list-32bit-condition, syscall-list-64bit-options)
13083 (syscall-list-64bit-condition): Define.
13084 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13086 (syscall-list-variants, syscall-list-32bit-options)
13087 (syscall-list-32bit-condition, syscall-list-64bit-options)
13088 (syscall-list-64bit-condition): Define.
13089 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13091 (syscall-list-variants, syscall-list-32bit-options)
13092 (syscall-list-32bit-condition, syscall-list-64bit-options)
13093 (syscall-list-64bit-condition): Define.
13095 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13097 * locale/iso-639.def: Add brx entry.
13100 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13101 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13103 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13104 __feraiseexcept_renamed.
13106 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13109 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13110 EPOLLET with unsigned values.
13111 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13112 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13114 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13115 to large cancellation.
13116 * math/s_cacoshf.c: Likewise.
13117 * math/s_cacoshl.c: Likewise.
13119 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13123 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13124 * math/s_cacoshf.c: Likewise.
13125 * math/s_cacoshl.c: Likewise.
13127 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13130 * iconv/gconv.h: Define __GCONV_SWAP.
13131 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13132 * iconvdata/utf-16.c: Likewise.
13133 * iconvdata/utf-32.c: Likewise.
13135 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13138 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13139 numerator after shifting it by one limb.
13141 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13143 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13144 under [__USE_EXTERN_INLINES].
13146 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13149 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13151 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13153 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13154 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13156 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13157 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13158 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13159 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13160 for strncasecmp/strncasecmp_l compilation.
13161 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13162 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13164 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13167 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13170 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13173 * time/tzfile.c (__tzfile_read): Check values from file header.
13175 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13177 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13178 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13179 * powerpc/powerpc32/dl-start.S: Likewise.
13180 * powerpc/powerpc32/elf/start.S: Likewise.
13181 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13182 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13183 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13184 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13185 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13186 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13187 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13188 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13189 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13190 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13191 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13192 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13193 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13194 * powerpc/powerpc32/memset.S: Likewise.
13195 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13196 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13197 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13198 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13199 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13200 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13201 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13202 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13203 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13204 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13205 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13206 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13207 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13209 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13211 * math/libm-test.inc: Added more nearbyint tests.
13212 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13213 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13214 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13215 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13217 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13219 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13222 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13224 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13225 Add wcscpy-ssse3 wcscpy-c.
13226 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13227 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13228 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13229 * sysdeps/x86_64/wcschr.S: New file.
13230 * sysdeps/x86_64/wcsrchr.S: New file.
13231 * string/test-strcmp.c: Remove checking of wcscmp function for
13233 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13234 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13235 wcsrchr-sse2 wcsrchr-c.
13236 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13237 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13238 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13239 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13240 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13241 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13242 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13243 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13244 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13245 * wcsmbc/wcschr.c (WCSCHR): New macro.
13247 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13249 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13250 * wcsmbs/test-wcsrchr.c: New file.
13251 * string/test-strrchr.c: Add wcsrchr support.
13253 * wcsmbs/test-wcscpy.c: New file.
13254 * string/test-strcpy.c: Add wcscpy support.
13257 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13259 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13262 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13265 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13267 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13269 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13270 Minor optimizations.
13272 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13273 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13274 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13276 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13278 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13279 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13280 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13281 for gcc to avoid warnings.
13282 * inet/Makefile (tests): Add tst-checks.
13283 * inet/tst-checks.c: New file.
13285 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13288 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13291 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13292 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13294 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13296 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13298 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13301 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13303 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13305 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13306 conditional on GCC version.
13307 (__arch_compare_and_exchange_val_8_acq)
13308 (__arch_compare_and_exchange_val_16_acq)
13309 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13310 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13311 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13313 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13315 * sysdeps/sh/backtrace.c: New file.
13317 2011-12-02 Andreas Schwab <schwab@redhat.com>
13319 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13322 2011-12-01 Andreas Schwab <schwab@redhat.com>
13324 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13325 falling back to utime.
13327 2011-11-30 Andreas Schwab <schwab@redhat.com>
13329 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13330 expectations for float.
13332 2011-11-29 Andreas Schwab <schwab@redhat.com>
13334 * locale/weight.h (findidx): Add parameter len.
13335 * locale/weightwc.h (findidx): Likewise.
13336 * posix/fnmatch_loop.c (FCT): Adjust caller.
13337 * posix/regcomp.c (build_equiv_class): Likewise.
13338 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13339 * posix/regexec.c (check_node_accept_bytes): Likewise.
13340 * string/strcoll_l.c (STRCOLL): Likewise.
13341 * string/strxfrm_l.c (STRXFRM): Likewise.
13343 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13345 * Makefile.in: Remove CVSOPT handling.
13346 * configure.in: Remove use of AC_REVISION.
13347 * iconvdata/Makefile (distribute): No need to filter out CVS.
13348 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13351 2011-11-16 Andreas Schwab <schwab@redhat.com>
13353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13354 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13355 [USE_AS_STRNCASECMP_L]: Likewise.
13356 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13357 NO_TLS_DIRECT_SEG_REFS.
13358 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13359 Fix argument offsets for non-PIC.
13360 [USE_AS_STRNCASECMP_L]: Likewise.
13361 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13362 NO_TLS_DIRECT_SEG_REFS.
13364 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13366 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13368 * locale/loadlocale.c (_nl_load_locale): Likewise.
13370 2011-11-15 Andreas Schwab <schwab@redhat.com>
13372 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13373 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13374 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13375 (SYSCALL_GETTIME): Set errno on error.
13377 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13378 count references to noai6ai_cached.
13380 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13382 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13384 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13385 FD_CLOEXEC for /proc/self/maps.
13387 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13388 FD_CLOEXEC for /proc/meminfo.
13390 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13393 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13394 FD_CLOEXEC for given file.
13396 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13398 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13399 FD_CLOEXEC for /etc/hosts.
13400 (_gethtent): Likewise.
13402 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13404 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13405 cancellation and set FD_CLOEXEC for /etc/netgroup.
13407 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13408 reading /etc/publickey.
13410 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13411 allow cancellation when reading /etc/group.
13413 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13415 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13417 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13418 when using data file.
13420 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13422 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13423 (write_nis_obj): Use "c" and "e" in fopen.
13425 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13427 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13429 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13431 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13433 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13436 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13438 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13440 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13442 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13443 file parsing and set FD_CLOEXEC.
13445 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13447 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13449 2011-11-14 Andreas Schwab <schwab@redhat.com>
13451 * malloc/arena.c (arena_get2): Don't call reused_arena when
13452 _int_new_arena failed.
13454 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13456 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13457 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13458 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13459 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13460 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13461 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13462 to compile strcasecmp and strncasecmp.
13463 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13464 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13466 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13468 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13470 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13471 locale-defines.sym to gen-as-const-headers.
13472 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13473 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13474 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13475 to compile strcasecmp and strncasecmp.
13476 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13477 strcasecmp_l and strncasecmp_l.
13478 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13479 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13480 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13481 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13482 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13483 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13484 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13485 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13486 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13487 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13488 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13490 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13492 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13493 result of SYSDEP_GETTIME_CPU to retval.
13494 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13495 parameter list to macro. Remove trailing semicolon. Adjust users.
13497 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13500 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13502 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13504 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13505 from unused variable.
13507 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13509 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13512 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13515 * sunrpc/rpc_prot.c (rejected): Fix case value.
13517 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13518 unsigned long long int to avoid warnings in shift.
13520 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13522 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13525 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13526 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13527 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13529 * nis/nis_table.c (nis_list): Use variable of correct type for
13530 result of __follow_path call.
13532 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13534 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13535 of math functions ceil, trunc, floor, round, and sqrt, when
13536 avaliable on the platform.
13537 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13539 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13540 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13541 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13543 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13545 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13546 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13548 2011-11-11 Roland McGrath <roland@hack.frob.com>
13550 * include/unistd.h: Fix __readlink return type.
13551 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13553 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13555 * stdlib/ucontext.h: Undo last change for makecontext.
13557 2011-11-11 Andreas Schwab <schwab@redhat.com>
13559 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13561 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13562 * setjmp/setjmp.h: Mark functions as non-leaf.
13563 * setjmp/bits/setjmp2.h: Likewise.
13564 * stdlib/ucontext.h: Likewise.
13566 2011-11-10 Andreas Schwab <schwab@redhat.com>
13568 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13569 (reused_arena): Don't check arena limit.
13570 (arena_get2): Atomically check arena limit.
13572 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13574 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13575 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13577 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13580 2011-11-07 Andreas Schwab <schwab@redhat.com>
13582 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13583 handler when locking.
13585 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13586 Fix size of allocated buffer.
13588 2011-11-04 Andreas Schwab <schwab@redhat.com>
13591 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13592 declarations for long double functions.
13593 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13595 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13597 2011-11-03 Andreas Schwab <schwab@redhat.com>
13599 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13602 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13605 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13607 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13609 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13611 * include/alloca.h (stackinfo_alloca_round): Define.
13612 (extend_alloca): Use it.
13613 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13614 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13617 * scripts/check-local-headers.sh: Ignore libaudit.h.
13619 * nscd/Makefile (extra-objs): Make recursively expanded.
13621 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13623 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13624 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13626 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13627 * posix/tst-rfc3484-2.c: Likewise.
13628 * posix/tst-rfc3484-3.c: Likewise.
13630 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13632 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13634 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13635 process_vm_writev from libc using GLIBC_2.15 version.
13637 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13639 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13641 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13644 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13647 * nss/getent.c (initgroups_keys): Show error message in case no group
13650 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13651 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13652 __bump_nl_timestamp.
13653 * nscd/connections (nscd_init): When host database is served open
13654 netlink socket and request notification about configuration changes.
13655 (main_loop_poll): Track netlink file descriptor and bump timestamp
13656 in case data becomes available.
13657 (main_loop_epoll): Likewise.
13658 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13659 (database_pers_head): Add extra_data fileds.
13660 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13661 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13662 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13664 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13665 in6ai data, call __free_in6ai.
13666 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13667 Add -DHAVE_NETLINK.
13668 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13669 interface information. Reuse previous data if netlink timestamp
13671 (__bump_nl_timestamp): New function.
13672 (__free_in6ai): New function.
13674 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13676 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13677 close_not_cancel_no_status here.
13678 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13680 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13683 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13686 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13687 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13688 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13690 2011-07-03 Andreas Jaeger <aj@suse.de>
13693 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13694 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13695 * math/libm-test.inc (sin_test): Add test case.
13697 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13700 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13701 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13703 * elf/chroot_canon.c (chroot_canon): Cleanups.
13705 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13708 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13709 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13711 * string/test-strchr.c: Make usable for strchrnul testing.
13712 * string/test-strchrnul.c: New file.
13713 * string/Makefile (strop-tests): Add strchrnul.
13715 * po/it.po: Update from translation team.
13716 * po/es.po: Likewise.
13718 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13720 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13721 the three constants needed as parameters. Drop the others.
13722 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13723 __m128i_strloadu_tolower.
13724 Create and initialize variable zero and use it in all the places
13725 where _mm_setzero_si128 was used.
13727 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13728 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13729 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13730 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13732 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13733 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13734 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13735 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13736 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13737 __mpranred, __mptan.
13738 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13739 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13740 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13741 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13742 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13743 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13744 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13745 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13746 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13748 2011-10-28 Andreas Schwab <schwab@redhat.com>
13750 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13751 redefine if SHARED.
13752 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13755 wide char related routines to wcsmbs subdir.
13757 2011-10-27 Andreas Schwab <schwab@redhat.com>
13760 * misc/sys/cdefs.h (__THROWNL): Define.
13761 * posix/unistd.h: Use __THREADNL instead of __THREAD
13762 for memory synchronization functions.
13764 2011-10-26 Roland McGrath <roland@hack.frob.com>
13767 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13769 * manual/stdio.texi (Obstack Streams): Node removed.
13771 2011-10-26 Andreas Schwab <schwab@redhat.com>
13773 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13774 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13775 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13777 * math/math_private.h (math_force_eval): Allow non-addressable
13779 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13781 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13783 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13784 file is not needed.
13786 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13787 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13788 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13789 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13790 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13791 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13792 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13793 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13795 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13796 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13797 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13798 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13799 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13800 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13801 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13802 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13803 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13804 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13805 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13806 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13807 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13808 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13809 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13810 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13811 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13812 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13813 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13815 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13816 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13818 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13819 place. Use VEX encoding when compiling for AVX.
13821 2011-10-25 Andreas Schwab <schwab@redhat.com>
13823 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13824 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13826 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13828 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13830 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13831 useless if() expression.
13832 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13833 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13834 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13835 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13836 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13837 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13838 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13839 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13840 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13841 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13842 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13843 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13844 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13845 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13846 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13847 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13848 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13849 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13850 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13852 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13854 2011-10-25 Andreas Schwab <schwab@redhat.com>
13856 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13858 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13860 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13862 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13863 .text section. Avoid duplicate constants.
13864 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13868 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13869 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13874 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13875 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13876 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13877 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13878 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13879 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13880 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13881 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13882 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13883 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13884 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13885 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13886 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13887 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13888 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13889 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13890 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13891 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13892 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13893 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13894 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13895 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13896 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13897 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13898 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13899 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13900 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13901 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13902 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13903 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13904 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13905 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13906 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13907 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13908 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13910 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13912 * sysdeps/x86_64/dla.h: Move to ...
13913 * sysdeps/x86_64/fpu/dla.h: ...here.
13914 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13915 situations. Use __builtin_fma only for gcc 4.6 and up.
13917 * config.make.in: Add have-mfma4 entry.
13918 * configure.in: Substitute libc_cv_cc_fma4.
13919 * math/Makefile (dbl-only-routines): Add sincostab.
13920 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13921 Use __sincostab not sincos.
13922 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13924 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13927 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13929 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13930 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13931 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13932 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13934 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13935 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13937 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13938 define aliases when function name is a macro.
13939 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13940 sysdeps/ieee754/dbl-64/sincos.tbl.
13941 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13942 fma4-enabled routines.
13943 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13944 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13945 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13946 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13947 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13948 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13949 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13950 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13951 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13952 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13953 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13954 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13955 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13956 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13957 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13958 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13959 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13960 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13961 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13962 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13963 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13964 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13965 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13966 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13967 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13968 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13969 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13970 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13971 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13972 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13974 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13976 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13977 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13978 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13979 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13980 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13981 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13982 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13983 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13985 2011-10-24 Andreas Schwab <schwab@redhat.com>
13987 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13989 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13991 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13993 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13995 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13997 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13998 Remove unused variable magic_bits.
13999 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14001 * string/strnlen.c: Define and use STRNLEN macro.
14002 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14003 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14004 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14005 * wcsmbs/wcslen.c: Define and use WCSLEN.
14006 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14007 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14008 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14009 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14010 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14011 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14012 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14014 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14017 strnlen-sse2-no-bsf.
14018 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14019 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14020 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14021 Add strnlen support.
14022 (USE_AS_STRNLEN): New macro.
14023 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14024 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14025 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14026 * sysdeps/x86_64/wcslen.S: New file.
14028 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14030 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14031 XMM-moves are used for copying on small sizes.
14033 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14035 * wcsmbs/Makefile (strop-tests): Add wcschr.
14036 * wcsmbs/test-wcschr.c: New file.
14037 * string/test-strchr.c: Update.
14038 Add wcschr support.
14041 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14043 * wcsmbs/Makefile (strop-tests): Add wcslen.
14044 * wcsmbs/test-wcslen.c: New file.
14045 * string/test-strlen.c: Update.
14046 Add wcslen support.
14049 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14051 * po/it.po: Update from translation team.
14053 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14055 * sysdeps/x86_64/wcscmp.S: Update.
14056 Fix wrong comparison semantics.
14057 wcscmp shall use signed comparison not unsigned.
14058 Don't use substraction to avoid overflow bug.
14059 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14060 * wcsmbc/wcscmp.c: Likewise.
14061 * string/test-strcmp.c: Likewise.
14062 Add new tests to check cases with negative values.
14064 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14066 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14067 * sysdeps/x86_64/dla.h: ...here. New file.
14068 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14069 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14071 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14073 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14074 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14075 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14076 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14078 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14080 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14081 __ynl_finite aliases.
14083 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14087 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14089 [DLA_FMA] (EMULV): Use DLA_FMA.
14090 [DLA_FMA] (MUL12): Use EMULV.
14091 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14092 that are not needed.
14093 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14094 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14095 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14096 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14097 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14098 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14099 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14101 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14103 * math/s_nan.c: Undef __nan.
14104 * math/s_nanf.c: Undef __nanf.
14105 * math/s_nanl.c: Undef __nanl.
14106 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14109 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14111 * math/s_catan.c: Add branch predictions.
14112 * math/s_catanf.c: Likewise.
14113 * math/s_catanh.c: Likewise.
14114 * math/s_catanhf.c: Likewise.
14115 * math/s_catanhl.c: Likewise.
14116 * math/s_catanl.c: Likewise.
14117 * math/s_cexp.c: Likewise.
14118 * math/s_cexpf.c: Likewise.
14119 * math/s_cexpl.c: Likewise.
14120 * math/s_clog.c: Likewise.
14121 * math/s_clog10.c: Likewise.
14122 * math/s_clog10f.c: Likewise.
14123 * math/s_clog10l.c: Likewise.
14124 * math/s_clogf.c: Likewise.
14125 * math/s_clogl.c: Likewise.
14126 * math/s_csqrt.c: Likewise.
14127 * math/s_csqrtf.c: Likewise.
14128 * math/s_csqrtl.c: Likewise.
14129 * math/s_ctanf.c: Likewise.
14130 * math/s_ctanh.c: Likewise.
14131 * math/s_ctanhf.c: Likewise.
14132 * math/s_ctanhl.c: Likewise.
14133 * math/s_ctanl.c: Likewise.
14135 * math/math_private.h: Define __nan, __nanf, __nanl.
14136 * math/s_cacosh.c: Include <math_private.h>.
14137 * math/s_cacoshl.c: Likewise.
14138 * math/s_casinh.c: Likewise.
14139 * math/s_casinhf.c: Likewise.
14140 * math/s_casinhl.c: Likewise.
14141 * math/s_ccos.c: Rely entire on ccosh.
14142 * math/s_ccosf.c: Rely entire on ccoshf.
14143 * math/s_ccosl.c: Rely entirely on ccoshl.
14144 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14145 Remove tests for FE_INVALID.
14146 * math/s_ccoshf.c: Likewise.
14147 * math/s_ccoshl.c: Likewise.
14148 * math/s_csin.c: Likewise.
14149 * math/s_csinf.c: Likewise.
14150 * math/s_csinh.c Likewise.
14151 * math/s_csinhf.c: Likewise.
14152 * math/s_csinhl.c: Likewise.
14153 * math/s_csinl.c: Likewise.
14154 * math/s_ctan.c: Likewise.
14155 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14156 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14157 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14159 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14162 compilation problems.
14164 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14167 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14169 * sysdeps/i386/configure.in: Test for -mfma4 option.
14170 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14171 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14172 COMMON_CPUID_INDEX_80000001.
14173 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14174 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14175 use it if FMA3 is not supported.
14176 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14178 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14179 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14181 2011-10-20 Andreas Schwab <schwab@redhat.com>
14184 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14185 it would create a cycle with a link time dependency.
14187 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14189 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14191 * string/Makefile (strop-tests): Add rawmemchr.
14192 * string/test-rawmemchr.c: New file.
14194 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14195 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14196 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14197 when compiling str{,n}casecmp and when AVX is available. Hook up
14198 new optimized code in initializers.
14200 2011-10-19 Andreas Schwab <schwab@redhat.com>
14202 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14203 __feraiseexcept instead of feraiseexcept.
14205 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14207 * math/math_private.h: Define defaults for libc_fetestexcept and
14209 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14210 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14211 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14212 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14213 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14214 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14215 libc_fetestexcept and libc_feupdateenv.
14217 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14218 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14219 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14220 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14221 libc_feholdexcept_setround.
14223 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14224 Add s_nearbyint-c and s_nearbyintf-c.
14225 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14226 nearbyintf inlines.
14227 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14228 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14229 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14230 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14232 * math/math_private.h: Define defaults for libc_fegetround,
14233 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14234 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14235 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14236 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14237 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14238 standard functions.
14239 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14240 Remove comments and hacks for old compiler versions.
14241 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14242 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14243 libc_feholdexceptl.
14245 2011-10-18 Andreas Schwab <schwab@redhat.com>
14247 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14248 (__feraiseexcept_renamed): Add __NTH.
14249 (feraiseexcept): Add __NTH. Rename local variables to fix
14250 namespace violations.
14252 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14254 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14256 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14258 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14259 recently added interfaces.
14260 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14262 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14263 about macro parameter expansion.
14265 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14266 __NO_MATH_INLINES is defined. Cleanups.
14268 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14269 and __floorf is target has SSE4.1.
14270 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14271 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14272 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14273 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14275 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14277 (floorf): Likewise.
14279 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14281 2011-10-17 Andreas Schwab <schwab@redhat.com>
14283 * misc/sys/cdefs.h: Fix last change.
14285 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14288 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14290 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14292 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14293 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14294 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14295 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14296 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14297 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14298 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14299 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14300 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14301 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14302 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14303 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14304 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14305 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14306 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14307 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14308 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14309 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14310 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14311 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14312 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14313 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14315 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14316 ceil, ceilf, floor, floorf.
14318 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14319 Perform IRELATIVE relocations last.
14321 * elf/do-rel.h: Add another parameter nrelative, replacing the
14322 local variable with the same name. Change name of the function
14323 to end in Rel or Rela (uppercase).
14324 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14325 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14326 elf_dynamic_do_##reloc function.
14328 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14330 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14331 is sufficient, at least on modern CPUs.
14333 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14335 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14336 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14338 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14340 * math/bits/math-finite.h: Add entries for exp.
14341 * math/e_expl.c: Add __*_finite alias.
14342 * sysdeps/i386/fpu/e_exp.S: Likewise.
14343 * sysdeps/i386/fpu/e_expf.S: Likewise.
14344 * sysdeps/i386/fpu/e_expl.c: Likewise.
14345 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14346 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14347 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14348 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14349 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14350 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14351 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14353 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14354 is sufficient, at least on modern CPUs.
14356 * ctype/ctype-info.c (__ctype_init): Define.
14357 * include/ctype.h (__ctype_init): Declare.
14358 (__ctype_b_loc): The variable is always initialized.
14359 (__ctype_toupper_loc): Likewise.
14360 (__ctype_tolower_loc): Likewise.
14361 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14362 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14364 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14366 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14368 * configure.in: Also look in $cxxmachine/include for C++ system
14371 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14373 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14374 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14375 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14376 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14377 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14378 (USE_AS_WMEMCMP): New macro.
14380 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14381 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14382 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14383 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14385 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14386 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14387 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14388 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14389 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14390 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14391 (USE_AS_WMEMCMP): New macro.
14392 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14393 * sysdeps/string/test-memcmp.c: Update.
14394 Fix simple_wmemcmp.
14396 * wcsmbs/wmemcmp.c: Update.
14397 (WMEMCMP): New macro.
14400 2011-10-12 Andreas Jaeger <aj@suse.de>
14403 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14405 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14407 * libio/iofwide.c (do_length): Avoid warning.
14409 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14411 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14413 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14415 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14416 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14417 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14418 * sysdeps/i386/i686/fpu/e_log.S: New file.
14419 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14420 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14422 * ctype/ctype.h: Add support for inlined isXXX functions when
14423 compiling C++ code.
14425 2011-10-14 Andreas Schwab <schwab@redhat.com>
14427 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14429 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14431 2011-10-13 Roland McGrath <roland@hack.frob.com>
14434 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14436 2011-10-13 Andreas Schwab <schwab@redhat.com>
14438 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14439 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14442 * sysdeps/x86_64/memrchr.S: Check for zero size.
14444 * string/stratcliff.c: Add memrchr tests.
14446 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14449 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14450 rawmemchr-sse2 rawmemchr-sse2-bsf.
14451 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14452 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14453 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14454 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14455 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14456 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14457 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14458 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14459 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14460 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14461 * string/memrchr.c (MEMRCHR): New macro.
14463 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14465 Add integration with gcc's -ffinite-math-only and optimize wrapper
14467 * Versions.def: Define GLIBC_2.15 version for libm.
14468 * math/Makefile (headers): Add bits/math-finite.h.
14469 * math/bits/math-finite.h: New file.
14470 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14471 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14472 * math/e_acoshl.c: Add __*_finite alias.
14473 * math/e_acosl.c: Likewise.
14474 * math/e_asinl.c: Likewise.
14475 * math/e_atan2l.c: Likewise.
14476 * math/e_atanhl.c: Likewise.
14477 * math/e_coshl.c: Likewise.
14478 * math/e_exp10.c: Likewise.
14479 * math/e_exp10f.c: Likewise.
14480 * math/e_exp10l.c: Likewise.
14481 * math/e_exp2l.c: Likewise.
14482 * math/e_fmodl.c: Likewise.
14483 * math/e_gammal_r.c: Likewise.
14484 * math/e_hypotl.c: Likewise.
14485 * math/e_j0l.c: Likewise.
14486 * math/e_j1l.c: Likewise.
14487 * math/e_jnl.c: Likewise.
14488 * math/e_lgammal_r.c: Likewise.
14489 * math/e_log10l.c: Likewise.
14490 * math/e_log2l.c: Likewise.
14491 * math/e_logl.c: Likewise.
14492 * math/e_powl.c: Likewise.
14493 * math/e_sinhl.c: Likewise.
14494 * math/e_sqrtl.c: Likewise.
14495 * math/e_scalb.c: Completely rewritten and optimized.
14496 * math/e_scalbf.c: Likewise.
14497 * math/e_scalbl.c: Likewise.
14498 * math/w_acos.c: Likewise.
14499 * math/w_acosf.c: Likewise.
14500 * math/w_acosl.c: Likewise.
14501 * math/w_acosh.c: Likewise.
14502 * math/w_acoshf.c: Likewise.
14503 * math/w_acoshl.c: Likewise.
14504 * math/w_asin.c: Likewise.
14505 * math/w_asinf.c: Likewise.
14506 * math/w_asinl.c: Likewise.
14507 * math/w_atan2.c: Likewise.
14508 * math/w_atan2f.c: Likewise.
14509 * math/w_atan2l.c: Likewise.
14510 * math/w_atanh.c: Likewise.
14511 * math/w_atanhf.c: Likewise.
14512 * math/w_atanhl.c: Likewise.
14513 * math/w_exp10.c: Likewise.
14514 * math/w_exp10f.c: Likewise.
14515 * math/w_exp10l.c: Likewise.
14516 * math/w_fmod.c: Likewise.
14517 * math/w_fmodf.c: Likewise.
14518 * math/w_fmodl.c: Likewise.
14519 * math/w_j0.c: Likewise.
14520 * math/w_j0f.c: Likewise.
14521 * math/w_j0l.c: Likewise.
14522 * math/w_j1.c: Likewise.
14523 * math/w_j1f.c: Likewise.
14524 * math/w_j1l.c: Likewise.
14525 * math/w_jn.c: Likewise.
14526 * math/w_jnf.c: Likewise.
14527 * math/w_log.c: Likewise.
14528 * math/w_logf.c: Likewise.
14529 * math/w_logl.c: Likewise.
14530 * math/w_log10.c: Likewise.
14531 * math/w_log10f.c: Likewise.
14532 * math/w_log10l.c: Likewise.
14533 * math/w_log2.c: Likewise.
14534 * math/w_log2f.c: Likewise.
14535 * math/w_log2l.c: Likewise.
14536 * math/w_pow.c: Likewise.
14537 * math/w_powf.c: Likewise.
14538 * math/w_powl.c: Likewise.
14539 * math/w_remainder.c: Likewise.
14540 * math/w_remainderf.c: Likewise.
14541 * math/w_remainderl.c: Likewise.
14542 * math/w_scalb.c: Likewise.
14543 * math/w_scalbf.c: Likewise.
14544 * math/w_scalbl.c: Likewise.
14545 * math/w_sqrt.c: Likewise.
14546 * math/w_sqrtf.c: Likewise.
14547 * math/w_sqrtl.c: Likewise.
14548 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14549 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14551 * math/math_private.h: Declare __kernel_standard_f.
14552 * math/w_cosh.c: Remove cruft and optimize a bit.
14553 * math/w_coshf.c: Likewise.
14554 * math/w_coshl.c: Likewise.
14555 * math/w_exp2.c: Likewise.
14556 * math/w_exp2f.c: Likewise.
14557 * math/w_exp2l.c: Likewise.
14558 * math/w_hypot.c: Likewise.
14559 * math/w_hypotf.c: Likewise.
14560 * math/w_hypotl.c: Likewise.
14561 * math/w_lgamma.c: Likewise.
14562 * math/w_lgamma_r.c: Likewise.
14563 * math/w_lgammaf.c: Likewise.
14564 * math/w_lgammaf_r.c: Likewise.
14565 * math/w_lgammal.c: Likewise.
14566 * math/w_lgammal_r.c: Likewise.
14567 * math/w_sinh.c: Likewise.
14568 * math/w_sinhf.c: Likewise.
14569 * math/w_sinhl.c: Likewise.
14570 * math/w_tgamma.c: Likewise.
14571 * math/w_tgammaf.c: Likewise.
14572 * math/w_tgammal.c: Likewise.
14573 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14574 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14575 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14576 Minor optimizations. Pretty printing. Remove cruft.
14577 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14578 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14579 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14580 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14581 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14582 * sysdeps/i386/fpu/e_asin.S: Likewise.
14583 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14584 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14585 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14586 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14587 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14588 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14589 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14590 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14591 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14592 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14593 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14594 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14595 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14596 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14597 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14598 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14599 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14600 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14601 * sysdeps/i386/fpu/e_log.S: Likewise.
14602 * sysdeps/i386/fpu/e_log10.S: Likewise.
14603 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14604 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14605 * sysdeps/i386/fpu/e_log2.S: Likewise.
14606 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14607 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14608 * sysdeps/i386/fpu/e_logf.S: Likewise.
14609 * sysdeps/i386/fpu/e_logl.S: Likewise.
14610 * sysdeps/i386/fpu/e_pow.S: Likewise.
14611 * sysdeps/i386/fpu/e_powf.S: Likewise.
14612 * sysdeps/i386/fpu/e_powl.S: Likewise.
14613 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14614 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14615 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14616 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14617 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14618 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14619 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14620 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14621 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14622 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14623 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14624 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14625 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14626 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14627 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14628 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14629 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14630 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14631 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14632 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14633 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14635 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14637 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14638 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14639 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14640 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14641 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14642 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14643 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14644 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14645 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14646 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14647 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14648 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14649 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14650 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14651 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14652 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14653 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14654 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14655 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14656 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14657 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14658 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14659 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14660 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14661 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14662 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14663 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14667 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14670 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14673 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14674 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14675 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14676 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14677 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14678 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14679 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14680 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14681 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14682 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14683 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14687 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14688 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14690 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14691 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14692 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14693 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14694 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14695 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14696 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14697 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14698 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14699 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14700 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14701 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14702 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14703 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14704 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14705 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14706 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14707 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14708 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14709 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14710 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14711 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14712 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14713 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14714 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14715 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14716 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14717 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14718 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14719 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14720 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14721 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14722 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14723 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14724 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14725 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14726 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14727 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14728 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14729 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14730 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14731 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14732 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14733 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14734 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14735 (__isnanf): Likewise.
14736 (__isinf_ns): Likewise.
14737 (__isinf_nsf): Likewise.
14738 (__finite): Likewise.
14739 (__finitef): Likewise.
14740 (__ieee754_sqrt): Define as macro.
14741 (__ieee754_sqrtf): Define as macro.
14742 (__ieee754_sqrtl): Define as macro.
14743 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14745 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14746 __FINITE_MATH_ONLY__ consistent.
14747 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14749 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14751 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14754 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14756 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14758 * po/ja.po: Update from translation team.
14760 2011-10-08 Roland McGrath <roland@hack.frob.com>
14762 * locale/programs/locarchive.c (prepare_address_space): New function.
14763 (create_archive, enlarge_archive, open_archive): Use it.
14765 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14766 inside [SHARED], where it is used.
14768 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14770 * nss/getent.c (netgroup_keys): Remove unused variable.
14771 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14773 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14775 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14776 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14777 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14778 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14779 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14780 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14781 * math/Makefile (libm-calls): Add s_isinf_ns.
14782 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14783 * math/multc3.c: Likewise.
14784 * math/s_casin.c: Likewise.
14785 * math/s_casinf.c: Likewise.
14786 * math/s_casinl.c: Likewise.
14787 * math/s_ccos.c: Likewise.
14788 * math/s_ccosf.c: Likewise.
14789 * math/s_ccosl.c: Likewise.
14790 * math/s_ctan.c: Likewise.
14791 * math/s_ctanf.c: Likewise.
14792 * math/s_ctanh.c: Likewise.
14793 * math/s_ctanhf.c: Likewise.
14794 * math/s_ctanhl.c: Likewise.
14795 * math/s_ctanl.c: Likewise.
14796 * math/w_fmod.c: Likewise.
14797 * math/w_fmodf.c: Likewise.
14798 * math/w_fmodl.c: Likewise.
14799 * math/w_remainder.c: Likewise.
14800 * math/w_remainderf.c: Likewise.
14801 * math/w_remainderl.c: Likewise.
14802 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14803 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14804 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14805 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14806 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14807 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14808 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14809 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14811 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14813 * stdio-common/printf_fphex.c: Likewise.
14814 * stdio-common/printf_size.c: Likewise.
14816 * math/e_exp10.c: Include math_private.h using <...> not "...".
14817 * math/e_exp10f.c: Likewise.
14818 * math/e_exp10l.c: Likewise.
14819 * math/e_exp2l.c: Likewise.
14820 * math/e_j0l.c: Likewise.
14821 * math/e_j1l.c: Likewise.
14822 * math/e_jnl.c: Likewise.
14823 * math/e_lgammal_r.c: Likewise.
14824 * math/e_rem_pio2l.c: Likewise.
14825 * math/e_scalb.c: Likewise.
14826 * math/e_scalbf.c: Likewise.
14827 * math/e_scalbl.c: Likewise.
14828 * math/k_cosl.c: Likewise.
14829 * math/k_sinl.c: Likewise.
14830 * math/k_tanl.c: Likewise.
14831 * math/s_cacoshf.c: Likewise.
14832 * math/s_catan.c: Likewise.
14833 * math/s_catanf.c: Likewise.
14834 * math/s_catanh.c: Likewise.
14835 * math/s_catanhf.c: Likewise.
14836 * math/s_catanhl.c: Likewise.
14837 * math/s_catanl.c: Likewise.
14838 * math/s_ccosh.c: Likewise.
14839 * math/s_ccoshf.c: Likewise.
14840 * math/s_ccoshl.c: Likewise.
14841 * math/s_cexp.c: Likewise.
14842 * math/s_cexpf.c: Likewise.
14843 * math/s_cexpl.c: Likewise.
14844 * math/s_clog.c: Likewise.
14845 * math/s_clog10.c: Likewise.
14846 * math/s_clog10f.c: Likewise.
14847 * math/s_clog10l.c: Likewise.
14848 * math/s_clogf.c: Likewise.
14849 * math/s_clogl.c: Likewise.
14850 * math/s_csin.c: Likewise.
14851 * math/s_csinf.c: Likewise.
14852 * math/s_csinh.c: Likewise.
14853 * math/s_csinhf.c: Likewise.
14854 * math/s_csinhl.c: Likewise.
14855 * math/s_csinl.c: Likewise.
14856 * math/s_csqrt.c: Likewise.
14857 * math/s_csqrtf.c: Likewise.
14858 * math/s_csqrtl.c: Likewise.
14859 * math/s_ctan.c: Likewise.
14860 * math/s_ctanf.c: Likewise.
14861 * math/s_ctanh.c: Likewise.
14862 * math/s_ctanhf.c: Likewise.
14863 * math/s_ctanhl.c: Likewise.
14864 * math/s_ctanl.c: Likewise.
14865 * math/s_ldexp.c: Likewise.
14866 * math/s_ldexpf.c: Likewise.
14867 * math/s_ldexpl.c: Likewise.
14868 * math/s_significand.c: Likewise.
14869 * math/s_significandf.c: Likewise.
14870 * math/s_significandl.c: Likewise.
14871 * math/w_acos.c: Likewise.
14872 * math/w_acosf.c: Likewise.
14873 * math/w_acosh.c: Likewise.
14874 * math/w_acoshf.c: Likewise.
14875 * math/w_acoshl.c: Likewise.
14876 * math/w_acosl.c: Likewise.
14877 * math/w_asin.c: Likewise.
14878 * math/w_asinf.c: Likewise.
14879 * math/w_asinl.c: Likewise.
14880 * math/w_atan2.c: Likewise.
14881 * math/w_atan2f.c: Likewise.
14882 * math/w_atan2l.c: Likewise.
14883 * math/w_atanh.c: Likewise.
14884 * math/w_atanhf.c: Likewise.
14885 * math/w_atanhl.c: Likewise.
14886 * math/w_cosh.c: Likewise.
14887 * math/w_coshf.c: Likewise.
14888 * math/w_coshl.c: Likewise.
14889 * math/w_dremf.c: Likewise.
14890 * math/w_exp10.c: Likewise.
14891 * math/w_exp10f.c: Likewise.
14892 * math/w_exp10l.c: Likewise.
14893 * math/w_exp2.c: Likewise.
14894 * math/w_exp2f.c: Likewise.
14895 * math/w_fmod.c: Likewise.
14896 * math/w_fmodf.c: Likewise.
14897 * math/w_fmodl.c: Likewise.
14898 * math/w_hypot.c: Likewise.
14899 * math/w_hypotf.c: Likewise.
14900 * math/w_hypotl.c: Likewise.
14901 * math/w_j0.c: Likewise.
14902 * math/w_j0f.c: Likewise.
14903 * math/w_j0l.c: Likewise.
14904 * math/w_j1.c: Likewise.
14905 * math/w_j1f.c: Likewise.
14906 * math/w_j1l.c: Likewise.
14907 * math/w_jn.c: Likewise.
14908 * math/w_jnf.c: Likewise.
14909 * math/w_jnl.c: Likewise.
14910 * math/w_lgamma.c: Likewise.
14911 * math/w_lgamma_r.c: Likewise.
14912 * math/w_lgammaf.c: Likewise.
14913 * math/w_lgammaf_r.c: Likewise.
14914 * math/w_lgammal.c: Likewise.
14915 * math/w_lgammal_r.c: Likewise.
14916 * math/w_log.c: Likewise.
14917 * math/w_log10.c: Likewise.
14918 * math/w_log10f.c: Likewise.
14919 * math/w_log10l.c: Likewise.
14920 * math/w_log2.c: Likewise.
14921 * math/w_log2f.c: Likewise.
14922 * math/w_log2l.c: Likewise.
14923 * math/w_logf.c: Likewise.
14924 * math/w_logl.c: Likewise.
14925 * math/w_pow.c: Likewise.
14926 * math/w_powf.c: Likewise.
14927 * math/w_powl.c: Likewise.
14928 * math/w_remainder.c: Likewise.
14929 * math/w_remainderf.c: Likewise.
14930 * math/w_remainderl.c: Likewise.
14931 * math/w_scalb.c: Likewise.
14932 * math/w_scalbf.c: Likewise.
14933 * math/w_scalbl.c: Likewise.
14934 * math/w_sinh.c: Likewise.
14935 * math/w_sinhf.c: Likewise.
14936 * math/w_sinhl.c: Likewise.
14937 * math/w_sqrt.c: Likewise.
14938 * math/w_sqrtf.c: Likewise.
14939 * math/w_sqrtl.c: Likewise.
14940 * math/w_tgamma.c: Likewise.
14941 * math/w_tgammaf.c: Likewise.
14942 * math/w_tgammal.c: Likewise.
14944 * po/ja.po: Update from translation team.
14946 2011-09-29 Andreas Jaeger <aj@suse.de>
14949 * sunrpc/netname.c (netname2host): Fix logic.
14953 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14955 * math/w_remainder.c (__remainder): Likewise.
14956 * math/w_remainderf.c (__remainderf): Likewise.
14957 * math/libm-test.inc (remainder_test): Add test cases.
14959 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14961 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14964 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14966 * string/test-memcmp.c: Avoid unncessary #defines.
14967 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14969 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14971 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14972 Use new sse2 version for core i3 - i7 as it's faster
14973 than sse42 version.
14974 (bit_Prefer_PMINUB_for_stringop): New.
14975 * sysdeps/x86_64/rawmemchr.S: Update.
14976 Replace with faster SSE2 version.
14977 * sysdeps/x86_64/memrchr.S: New file.
14978 * sysdeps/x86_64/memchr.S: Update.
14979 Replace with faster SSE2 version.
14981 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14983 * elf/dl-load.c (lose): Add cast to avoid warning.
14985 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14987 * po/ca.po: Update from translation team.
14989 * inet/getnetgrent_r.c: Hook up nscd.
14990 * nscd/Makefile (routines): Add nscd_netgroup.
14991 (nscd-modules): Add netgroupcache.
14992 (CFLAGS-netgroupcache.c): Define.
14993 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14994 (cache_search): Add const to second parameter.
14995 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14997 (dbs): Add netgrdb entry.
14998 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14999 (verify_persistent_db): Handle netgrdb.
15000 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15001 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15003 (netgroup_response_header): Define.
15004 (innetgroup_response_header): Define.
15005 (datahead): Add netgroup_response_header and innetgroup_response_header
15007 * nscd/nscd.conf: Add entries for netgroup cache.
15008 * nscd/nscd.h (dbtype): Add netgrdb.
15009 (_PATH_NSCD_NETGROUP_DB): Define.
15010 (netgroup_iov_disabled): Declare.
15011 (xmalloc, xcalloc, xrealloc): Move declarations here.
15012 (cache_search): Adjust prototype.
15013 Add netgroup-related prototypes.
15014 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15015 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15016 (__nscd_innetgr): Declare.
15017 * nscd/selinux.c (perms): Use access_vector_t as element type and
15018 add netgroup-related initializers.
15019 * nscd/netgroupcache.c: New file.
15020 * nscd/nscd_netgroup.c: New file.
15021 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15022 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15023 For four parameters use innetgr.
15024 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15025 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15026 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15027 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15029 * nscd/connections.c (register_traced_file): Don't register file
15030 for disabled databases.
15032 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15034 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15036 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15037 from tree and freeing node.
15039 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15041 * nss/nsswitch.c (__nss_database_lookup): Handle
15042 nss_parse_service_list out of memory case.
15044 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15046 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15047 out of memory case.
15049 2011-10-04 Andreas Schwab <schwab@redhat.com>
15051 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15052 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15054 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15055 elf_machine_rela, elf_machine_lazy_rel.
15056 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15057 (ELF_DYNAMIC_DO_REL): Likewise.
15058 (ELF_DYNAMIC_DO_RELA): Likewise.
15059 (ELF_DYNAMIC_RELOCATE): Likewise.
15060 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15061 to ELF_DYNAMIC_DO_REL.
15062 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15063 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15064 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15066 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15067 skip_ifunc, don't call ifunc function if non-zero.
15068 (elf_machine_rela): Likewise.
15069 (elf_machine_lazy_rel): Likewise.
15070 (elf_machine_lazy_rela): Likewise.
15071 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15072 (elf_machine_lazy_rel): Likewise.
15073 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15075 (elf_machine_lazy_rel): Likewise.
15076 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15078 (elf_machine_lazy_rel): Likewise.
15079 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15080 (elf_machine_lazy_rel): Likewise.
15081 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15082 (elf_machine_lazy_rel): Likewise.
15083 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15084 (elf_machine_lazy_rel): Likewise.
15085 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15086 (elf_machine_lazy_rel): Likewise.
15087 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15088 (elf_machine_lazy_rel): Likewise.
15089 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15090 (elf_machine_lazy_rel): Likewise.
15092 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15094 * nss/nss_files/files-init.c (_nss_files_init): Use static
15095 initialization for all the *_traced_file variables.
15097 2011-09-28 Andreas Schwab <schwab@redhat.com>
15099 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15101 2011-09-27 Roland McGrath <roland@hack.frob.com>
15104 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15106 2011-09-27 Andreas Schwab <schwab@redhat.com>
15108 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15109 Reread the line before reparsing it.
15111 2011-09-26 Andreas Schwab <schwab@redhat.com>
15113 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15115 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15116 Maxim Kuvyrkov <maxim@codesourcery.com>
15117 Joseph Myers <joseph@codesourcery.com>
15119 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15120 if needed for __stack_chk_guard.
15122 2011-09-19 Roland McGrath <roland@hack.frob.com>
15124 * sysdeps/posix/spawni.c (script_execute): Always define it.
15125 It will be optimized away if unused.
15126 (maybe_script_execute): New function.
15127 (__spawni): Call it.
15129 * Makerules: Don't include tls.make.
15130 (config-tls): Always set to thread.
15131 * tls.make.c: File removed.
15133 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15135 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15136 * config.make.in (CPPFLAGS-config): New substituted variable.
15138 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15140 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15143 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15144 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15146 2011-09-15 Roland McGrath <roland@hack.frob.com>
15148 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15149 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15150 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15151 (CALL_FAIL): Likewise.
15152 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15153 (CALL_FAIL): Macro removed.
15154 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15156 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15158 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15159 for __FINITE_MATH_ONLY__ == 1.
15161 2011-09-15 Andreas Schwab <schwab@redhat.com>
15163 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15164 __ieee754_sqrt instead of sqrt.
15165 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15166 __ieee754_sqrtf instead of sqrtf.
15167 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15168 __floorf instead of floorf.
15169 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15170 __floorf, __truncf instead of floorf, truncf.
15172 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15174 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15176 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15177 __extern_always_inline.
15178 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15181 2011-09-14 Andreas Schwab <schwab@redhat.com>
15183 * elf/rtld.c (dl_main): Also relocate in dependency order when
15184 doing symbol dependency testing.
15186 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15188 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15189 Always define `refsym'.
15191 2011-09-13 Andreas Schwab <schwab@redhat.com>
15193 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15194 (__FD_ELT): Renamed from __FDELT.
15195 * misc/bits/select2.h (__FD_ELT): Likewise.
15196 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15197 __FD_MASK instead of __FDELT, __FDMASK.
15198 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15200 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15203 * elf/Makefile (gen-ldd): Fix pattern.
15205 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15206 (init_tls): Likewise.
15208 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15210 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15212 2011-09-12 Andreas Schwab <schwab@redhat.com>
15214 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15215 `struct cmsghdr *' instead of `void *'.
15216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15219 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15221 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15223 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15224 ldd_rewrite_script.
15226 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15228 * configure.in: Remove --with-tls option.
15229 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15230 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15231 out in case it is missing.
15232 * sysdeps/ia64/elf/configure.in: Likewise.
15233 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15234 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15235 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15236 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15237 * sysdeps/sh/elf/configure.in: Likewise.
15238 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15239 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15240 * sysdeps/x86_64/elf/configure.in: Likewise.
15241 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15242 * sysdeps/mach/hurd/tls.h: Likewise.
15245 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15248 * configure.in: Fix use of AC_INIT.
15250 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15252 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15254 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15256 * malloc/hooks.c: Likewise.
15259 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15260 variables statically.
15261 (narenas): Initialize.
15262 (list_lock): Initialize.
15263 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15264 initializtion of main_arena and list_lock. Small cleanups.
15265 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15266 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15267 Add initializers to main_arena and mp_.
15268 (malloc_state): Remove pagesize member. Change all users to use
15271 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15272 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15273 is always initialized.
15275 * malloc/malloc.c: Removed unused configurations and dead code.
15276 * malloc/arena.c: Likewise.
15277 * malloc/hooks.c: Likewise.
15278 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15280 * include/tls.h: Removed. USE___THREAD must always be defined.
15281 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15282 * elf/dl-libc.c: Likewise.
15283 * elf/dl-tsd.c: Likewise.
15284 * include/errno.h: Likewise.
15285 * include/netdb.h: Likewise.
15286 * include/resolv.h: Likewise.
15287 * inet/herrno-loc.c: Likewise.
15288 * inet/herrno.c: Likewise.
15289 * malloc/arena.c: Likewise.
15290 * malloc/hooks.c: Likewise.
15291 * malloc/malloc.c: Likewise.
15292 * resolv/res-state.c: Likewise.
15293 * resolv/res_libc.c: Likewise.
15294 * sysdeps/i386/dl-machine.h: Likewise.
15295 * sysdeps/ia64/dl-machine.h: Likewise.
15296 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15297 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15298 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15299 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15300 * sysdeps/sh/dl-machine.h: Likewise.
15301 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15302 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15303 * sysdeps/unix/i386/sysdep.S: Likewise.
15304 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15305 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15306 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15307 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15308 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15309 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15310 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15311 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15313 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15314 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15315 * sysdeps/x86_64/dl-machine.h: Likewise.
15316 * tls.make.c: Likewise.
15318 * configure.in: Remove --with-__thread option. Make tests for
15319 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15320 tls_model attribute fail if no support is available. Remove
15322 * Makeconfig: Adjust for dropped configure option. All features are
15324 * Makerules: Likewise.
15325 * Versions.def: Likewise.
15326 * argp/argp-fmtstream.c: Likewise.
15327 * argp/argp-fmtstream.h: Likewise.
15328 * argp/argp-help.c: Likewise.
15329 * assert/assert.c: Likewise.
15330 * config.h.in: Likewise.
15331 * config.make.in: Likewise.
15332 * configure: Likewise.
15333 * configure.in: Likewise.
15334 * csu/Versions: Likewise.
15335 * csu/init.c: Likewise.
15336 * elf/tst-audit2.c: Likewise.
15337 * elf/tst-tls10.c: Likewise.
15338 * elf/tst-tls10.h: Likewise.
15339 * elf/tst-tls11.c: Likewise.
15340 * elf/tst-tls12.c: Likewise.
15341 * elf/tst-tls14.c: Likewise.
15342 * elf/tst-tlsmod11.c: Likewise.
15343 * elf/tst-tlsmod12.c: Likewise.
15344 * elf/tst-tlsmod13.c: Likewise.
15345 * elf/tst-tlsmod13a.c: Likewise.
15346 * elf/tst-tlsmod14a.c: Likewise.
15347 * elf/tst-tlsmod15b.c: Likewise.
15348 * elf/tst-tlsmod16a.c: Likewise.
15349 * elf/tst-tlsmod16b.c: Likewise.
15350 * elf/tst-tlsmod7.c: Likewise.
15351 * elf/tst-tlsmod8.c: Likewise.
15352 * elf/tst-tlsmod9.c: Likewise.
15353 * gmon/gmon.c: Likewise.
15354 * grp/fgetgrent_r.c: Likewise.
15355 * grp/putgrent.c: Likewise.
15356 * hurd/fopenport.c: Likewise.
15357 * include/libc-symbols.h: Likewise.
15358 * include/tls.h: Likewise.
15359 * intl/gettextP.h: Likewise.
15360 * intl/loadinfo.h: Likewise.
15361 * locale/global-locale.c: Likewise.
15362 * locale/localeinfo.h: Likewise.
15363 * mach/devstream.c: Likewise.
15364 * malloc/arena.c: Likewise.
15365 * malloc/set-freeres.c: Likewise.
15366 * misc/err.c: Likewise.
15367 * misc/getttyent.c: Likewise.
15368 * misc/mntent_r.c: Likewise.
15369 * posix/getopt.c: Likewise.
15370 * posix/wordexp.c: Likewise.
15371 * pwd/fgetpwent_r.c: Likewise.
15372 * resolv/Versions: Likewise.
15373 * resolv/res_hconf.c: Likewise.
15374 * shadow/fgetspent_r.c: Likewise.
15375 * shadow/putspent.c: Likewise.
15376 * stdio-common/printf_fphex.c: Likewise.
15377 * stdio-common/tmpfile.c: Likewise.
15378 * stdlib/abort.c: Likewise.
15379 * stdlib/fmtmsg.c: Likewise.
15380 * sunrpc/auth_unix.c: Likewise.
15381 * sunrpc/clnt_perr.c: Likewise.
15382 * sunrpc/clnt_tcp.c: Likewise.
15383 * sunrpc/clnt_udp.c: Likewise.
15384 * sunrpc/clnt_unix.c: Likewise.
15385 * sunrpc/openchild.c: Likewise.
15386 * sunrpc/svc_simple.c: Likewise.
15387 * sunrpc/svc_tcp.c: Likewise.
15388 * sunrpc/svc_udp.c: Likewise.
15389 * sunrpc/svc_unix.c: Likewise.
15390 * sunrpc/xdr.c: Likewise.
15391 * sunrpc/xdr_array.c: Likewise.
15392 * sunrpc/xdr_rec.c: Likewise.
15393 * sunrpc/xdr_ref.c: Likewise.
15394 * sunrpc/xdr_stdio.c: Likewise.
15396 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15398 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15400 2011-07-03 Andreas Jaeger <aj@suse.de>
15402 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15403 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15404 regenerate with gen-libm-tests.pl.
15406 2010-05-12 Petr Baudis <pasky@suse.cz>
15409 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15410 around j0() zero points by switching to j1().
15411 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15412 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15413 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15414 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15416 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15418 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15420 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15423 Patch in part by Pavel Roskin <proski@gnu.org>.
15426 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15428 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15429 Free memory block if necessary.
15432 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15433 be NULL. Don't lock in this case.
15435 2011-09-09 Roland McGrath <roland@hack.frob.com>
15437 * elf/elf.h (ELFOSABI_GNU): New macro.
15438 (ELFOSABI_LINUX): Define to that.
15440 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15442 * string/strncat.c (strncat): Undef the symbol in case it has been
15443 defined in bits/string.h.
15445 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15447 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15449 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15452 2011-08-17 Andreas Jaeger <aj@suse.de>
15454 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15456 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15457 Ian Lance Taylor <iant@google.com>
15459 * math/libm-test.inc (lround_test): New testcase.
15460 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15462 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15464 * Makefile: Remove support for automatic cvs check-ins.
15465 * Makerules: Likewise.
15466 * config.make.in: Likewise.
15467 * configure.in: Likewise.
15468 * intl/Makefile: Likewise.
15469 * locale/Makefile: Likewise.
15470 * po/Makefile: Likewise.
15471 * posix/Makefile: Likewise.
15472 * sysdeps/gnu/Makefile: Likewise.
15473 * sysdeps/mach/hurd/Makefile: Likewise.
15474 * sysdeps/sparc/sparc32/Makefile: Likewise.
15477 * posix/Makefile (bug-regex32-ENV): Define.
15478 Patch by John Stanley <jpsinthemix@verizon.net>.
15480 * misc/Makefile (headers): Add bits/select2.h.
15481 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15482 * misc/bits/select2.h: New file.
15483 * include/bits/select2.h: New file.
15484 * debug/Makefile (routines): Add fdelt_chk.
15485 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15486 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15488 * debug/fdelt_chk.c: New file.
15490 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15491 * wcsmbs/test-wmemcmp.c: Likewise.
15492 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15493 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15495 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15497 * string/Makefile (strop-tests): Add memcmp.
15498 * string/test-wmemcmp.c: New file.
15499 * string/test-memcmp.c: Add wmemcmp support.
15501 2011-09-08 Roland McGrath <roland@hack.frob.com>
15504 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15507 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15508 garbage value in a __mach_port_mod_refs call in the cases of the
15509 task-self and thread-self ports.
15511 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15513 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15515 2011-09-08 Andreas Schwab <schwab@redhat.com>
15517 * elf/dl-load.c (lose): Check for non-null L.
15519 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15521 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15523 * elf/dl-libc.c (dlerror_run): Pass back error code from
15527 * elf/dl-load.c (lose): Free l_origin if it is valid.
15529 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15531 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15532 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15533 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15534 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15535 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15536 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15538 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15540 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15541 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15542 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15543 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15544 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15545 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15546 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15547 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15548 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15549 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15551 2011-08-15 Alan Modra <amodra@gmail.com>
15554 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15555 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15556 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15557 ppc_mcount to static-only-routines.
15558 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15560 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15561 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15563 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15565 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15566 for finite and infinity parameters.
15568 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15571 and add nop instructions for throughput optimization.
15572 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15574 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15576 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15577 aligned copy for power7 with vector-scalar instructions.
15578 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15580 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15582 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15585 2011-09-07 Andreas Schwab <schwab@redhat.com>
15588 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15591 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15593 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15594 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15595 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15596 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15599 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15601 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15602 Forgot to demangle the pointer.
15604 * sysdeps/i386/sysdep.h: Define atom_text_section.
15605 * sysdeps/x86_64/sysdep.h: Likewise.
15606 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15607 section with atom_text_section.
15608 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15609 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15610 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15611 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15612 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15614 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15615 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15616 already be defined. Change to take two parameters and don't assign
15617 result to variable. Adjust all users.
15618 Define INTERNAL_GETTIME if not already defined.
15619 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15621 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15622 HAVE_CLOCK_GETTIME_VSYSCALL.
15623 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15625 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15626 gettimeofday vsyscall, just use time.
15628 2011-09-06 Andreas Schwab <schwab@redhat.com>
15630 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15633 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15635 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15637 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15639 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15640 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15641 syscall if possible.
15643 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15645 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15646 e_ident. Don't pass to find_mapsXX.
15647 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15649 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15652 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15653 * sysdeps/x86_64/multiarch/strchr.S: Update.
15654 Check bit_slow_BSF bit.
15655 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15656 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15657 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15659 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15662 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15664 (tryshell): Define.
15665 (__spawni): Change last parameter to be flag. Test
15666 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15667 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15668 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15669 * posix/spawni.c: Likewise.
15670 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15671 * posix/spawnp.c: Likewise. Change normal version to use
15672 SPAWN_XFLAGS_USE_PATH.
15673 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15674 SPAWN_XFLAGS_TRY_SHELL.
15677 * posix/glob.h: Remove gcc 1.x support.
15680 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15682 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15684 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15685 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15687 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15688 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15689 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15690 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15691 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15692 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15694 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15696 * sysdeps/x86_64/wcscmp.S: New file.
15698 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15699 wcscmp-c wcscmp-sse2
15700 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15701 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15702 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15703 * wcsmbs/wcscmp.c: Allow renaming.
15705 2011-09-05 David S. Miller <davem@davemloft.net>
15707 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15708 stack slot, rather than the struct return pointer slot.
15709 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15710 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15712 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15714 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15716 * po/ja.po: Update from translation team.
15719 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15720 kernel in 64-bit binaries.
15722 2011-09-01 David S. Miller <davem@davemloft.net>
15724 * elf/elf.h (HWCAP_SPARC_*): Move to..
15725 * sysdeps/sparc/sysdep.h: this new file and add new values.
15726 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15727 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15728 _DL_HWCAP_COUNT to 24.
15729 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15731 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15732 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15733 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15734 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15735 instead of magic constants.
15736 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15738 2011-08-31 David S. Miller <davem@davemloft.net>
15740 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15741 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15742 Reimplement to do errno handling inline.
15743 (SYSCALL_ERROR_HANDLER): New macro.
15744 (__SYSCALL_STRING): Do not do errno handling in asm.
15745 (__CLONE_SYSCALL_STRING): Delete.
15746 (__INTERNAL_SYSCALL_STRING): Delete.
15747 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15748 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15749 (PSEUDO): Reimplement to do errno handling inline.
15750 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15751 (SYSCALL_ERROR_HANDLER): New macro.
15752 (__SYSCALL_STRING): Do not do errno handling in asm.
15753 (__CLONE_SYSCALL_STRING): Delete.
15754 (__INTERNAL_SYSCALL_STRING): Delete.
15755 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15756 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15758 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15759 (inline_syscall*): Add 'err' argument.
15760 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15761 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15762 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15763 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15765 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15766 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15768 2011-08-30 Andreas Schwab <schwab@redhat.com>
15770 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15772 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15774 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15777 2011-08-24 David S. Miller <davem@davemloft.net>
15779 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15781 2011-08-24 Andreas Schwab <schwab@redhat.com>
15783 * elf/Makefile: Add rules to build and run unload8 test.
15784 * elf/unload8.c: New file.
15785 * elf/unload8mod1.c: New file.
15786 * elf/unload8mod1x.c: New file.
15787 * elf/unload8mod2.c: New file.
15788 * elf/unload8mod3.c: New file.
15790 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15793 2011-08-23 David S. Miller <davem@davemloft.net>
15795 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15796 subtract stack bias.
15797 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15798 %sp not %fp in calculations.
15799 (_JMPBUF_UNWINDS_ADJ): Likewise.
15801 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15802 (aio_suspend): Call it to force an exception region around the
15803 AIO_MISC_WAIT() invocation.
15805 2011-08-23 Andreas Schwab <schwab@redhat.com>
15807 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15810 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15812 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15814 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15815 and <dl-machine.h>.
15816 (Elf64_FuncDesc): Remove.
15818 2011-08-22 David S. Miller <davem@davemloft.net>
15820 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15821 sigaltstack check, add missing cfi directives.
15822 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15823 missing cfi directives, and sigaltstack handling.
15825 2011-08-16 Andreas Schwab <schwab@redhat.com>
15828 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15829 object is seen twice.
15830 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15832 * elf/Makefile (distribute): Add tst-initorder2.c.
15833 (tests): Add tst-initorder2.
15834 (modules-names): Add tst-initorder2a tst-initorder2b
15835 tst-initorder2c tst-initorder2d. Add rules to build them.
15836 ($(objpfx)tst-initorder2.out): New rule.
15837 * elf/tst-initorder2.c: New file.
15838 * elf/tst-initorder2.exp: New file.
15840 2011-08-22 Andreas Schwab <schwab@redhat.com>
15842 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15844 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15845 dependencies back to end of function.
15847 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15848 $(elfobjdir)/ld.so.
15850 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15852 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15853 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15854 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15855 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15856 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15857 of __vdso_gettimeofday.
15858 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15859 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15861 (_libc_vdso_platform_setup): Remove initialization of
15862 __vdso_gettimeofday and __vdso_time.
15864 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15866 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15867 and fgetc_unlocked.
15868 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15871 * elf/dl-open.c (add_to_global): Report additions to the global scope
15872 for LD_DEBUG=scopes.
15873 (dl_open_worker): Also print scope of newly loaded dependencies.
15874 (_dl_show_scope): Indicate if there is no scope.
15877 * stdio-common/Makefile (tests): Add bug24.
15878 * stdio-common/bug24.c: New file.
15880 2011-08-19 Andreas Jaeger <aj@suse.de>
15883 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15884 non-existant file when using close-on-exec mode.
15886 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15889 the very first instruction.
15891 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15892 the CFI state in the end.
15893 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15894 inclusion of dl-trampoline.h.
15895 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15897 2011-08-19 Andreas Schwab <schwab@redhat.com>
15899 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15900 expectations for long double.
15902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15903 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15905 2011-08-14 David S. Miller <davem@davemloft.net>
15907 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15908 artificual limit depends upon the system page size.
15910 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15912 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15913 * resolv/Makefile: Define CFLAGS-libresolv.
15915 2011-08-17 Andreas Schwab <schwab@redhat.com>
15917 * nss/makedb.c (compute_tables): Make variables used in nested
15920 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15922 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15923 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15924 if buffer was too small.
15926 * elf/pldd.c (main): Attach to all threads in the process.
15927 Rewrite /proc handling to use *at functions.
15929 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15931 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15932 specifies first scope to show.
15933 (dl_open_worker): Update callers. Move printing scope of new
15934 object to before the relocation.
15935 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15936 * sysdeps/generic/ldsodefs.h: Update declaration.
15938 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15939 string for the scope number.
15941 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15943 * nscd/servicescache.c (cache_addserv): Make sure written is always
15946 2011-08-14 Roland McGrath <roland@hack.frob.com>
15948 * sysdeps/i386/i486/bits/atomic.h
15949 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15950 statement expression, so as to suppress "set but not used" warning.
15951 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15953 * string/strncat.c (STRNCAT): Use prototype definition.
15955 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15956 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15958 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15959 (localedef-modules): Add localedef.
15960 (locale-modules): Add locale.
15962 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15963 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15964 to avoid a warning.
15966 2011-08-14 David S. Miller <davem@davemloft.net>
15968 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15969 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15971 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15973 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15974 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15975 * elf/rtld.c (dl_main): Set l_name of vDSO.
15976 Call _dl_show_scope when DL_DEBUG_SCOPES.
15977 (process_dl_debug): Recognize scopes flag and also set it for all.
15978 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15979 Declare _dl_show_scope.
15981 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15982 (do_dlopen): Pass caller_dlopen to dl_open.
15983 (__libc_dlopen_mode): Initialize caller_dlopen.
15985 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15986 of libc. Make tolower call locale-independent. Optimize a bit by
15987 using isdigit instead of isalnum.
15988 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15990 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15992 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15993 was a dependency or dynamically loaded.
15995 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15997 * intl/l10nflist.c: Allow architecture-specific pop function.
15998 * sysdeps/x86_64/l10nflist.c: New file.
16000 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16003 2011-08-10 Andreas Schwab <schwab@redhat.com>
16005 * include/dirent.h: Add libc_hidden_proto for scandirat and
16006 scandirat64. Don't declare __scandirat64.
16007 * dirent/scandirat.c: Add libc_hidden_def.
16008 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16009 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16011 2011-08-10 David S. Miller <davem@davemloft.net>
16013 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16015 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16016 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16017 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16019 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16021 * Versions.def [libc]: Add GLIBC_2.15.
16022 * dirent/Makefile (routines): Add scandirat and scandirat64.
16023 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16025 * dirent/dirent.h: Declare scandirat and scandirat64.
16026 * dirent/scandirat.c: New file.
16027 * dirent/scandirat64.c: New file.
16028 * sysdeps/wordsize-64/scandirat.c: New file.
16029 * sysdeps/wordsize-64/scandirat64.c: New file.
16030 * dirent/opendir.c: Define opendirat.
16031 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16033 * dirent/scandir64.c: Adjust for scandir.c change.
16034 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16035 __scandirat64, and __scandir_cancel_handler.
16036 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16037 additional parameter and use openat instead of open (outside of ld.so).
16038 Add new __opendir as wrapper around __opendirat.
16039 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16040 here without requiring old scandirat implementation.
16042 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16044 * dirent/scandir.c (cancel_handler): Renamed to
16045 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16046 defined. Adjust users.
16047 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16048 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16050 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16052 * string/test-string.h (IMPL): Use __STRING to expand name and then
16055 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16058 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16060 * string/Makefile: Update.
16061 (strop-tests): Append strncat.
16062 * string/test-wcscmp.c: New file.
16063 New comprehensive test for wcscmp.
16064 * string/test-strcmp.c: Update.
16065 (WIDE): New define.
16067 2011-07-22 Andreas Schwab <schwab@redhat.com>
16069 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16072 2011-07-26 Andreas Schwab <schwab@redhat.com>
16074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16075 encoding to ACE if AI_IDN.
16077 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16079 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16080 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16082 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16084 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16085 Fix overflow bug in strncat.
16086 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16088 * string/test-strncat.c: Update.
16089 Add new tests for checking overflow bugs.
16091 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16094 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16095 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16096 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16097 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16098 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16099 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16100 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16101 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16103 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16104 (USE_AS_STRCAT): Define.
16105 Add strcat and strncat support.
16106 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16108 2011-07-25 Andreas Schwab <schwab@redhat.com>
16110 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16111 __n bigger than INT_MAX+1.
16112 (__strncmp_g): Likewise.
16114 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16116 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16117 * libio/stido.h: Likewise.
16119 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16121 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16124 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16125 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16126 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16127 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16128 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16131 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16136 (_dl_x86_64_save_sse): Likewise.
16138 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16140 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16142 (_dl_x86_64_save_sse): Likewise.
16144 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16146 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16148 2011-07-21 Andreas Schwab <schwab@redhat.com>
16150 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16152 (_dl_x86_64_save_sse): Use correct AVX check.
16154 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16156 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16157 bug in strncpy/strncat.
16158 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16160 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16162 * string/tester.c (test_strcat): Add tests for different alignments
16163 of source and destination.
16164 (test_strncat): Likewise.
16166 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16169 * posix/glob.c (glob): Check passed in values before using them in
16170 expressions to avoid some overflows.
16171 (glob_in_dir): Likewise.
16174 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16175 check for AVX enablement so that we don't crash with old kernels and
16177 * elf/tst-audit4.c: Add same checks here.
16178 * elf/tst-audit6.c: Likewise.
16180 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16182 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16184 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16186 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16188 * po/cs.po: Update from translation team.
16189 * po/bg.po: Likewise.
16191 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16193 * misc/sys/cdefs.h: Add support for const attribute.
16194 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16195 to gnu_dev_{major,minor,makedev} functions.
16197 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16199 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16201 2011-07-20 Andreas Schwab <schwab@redhat.com>
16203 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16206 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16208 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16209 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16210 register in order to avoid conflicts with the soft frame pointer
16211 being held in r11 when necessary.
16212 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16213 (INTERNAL_VSYSCALL_NCS): Likewise.
16215 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16217 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16218 * elf/dl-fini.c (_dl_fini): Adjust caller.
16219 * elf/dl-close.c (_dl_close_worker): Likewise.
16220 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16222 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16224 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16225 "aux_cache->nlibs < 0".
16227 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16228 in the reload-count case.
16230 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16232 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16233 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16234 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16235 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16236 * sysdeps/x86_64/multiarch/strcat.S: New file.
16237 * sysdeps/x86_64/multiarch/strncat.S: New file.
16238 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16239 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16240 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16241 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16242 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16243 (USE_AS_STRCAT): Define.
16244 Add strcat and strncat support.
16245 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16246 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16247 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16248 * string/strncat.c: Update.
16249 (USE_AS_STRNCAT): Define.
16250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16251 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16253 * sysdeps/x86_64/multiarch/init-arch.h
16254 (bit_Prefer_PMINUB_for_stringop): New.
16255 (index_Prefer_PMINUB_for_stringop): Likewise.
16256 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16257 bit_Prefer_PMINUB_for_stringop.
16259 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16261 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16263 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16264 of casting of buffer.
16265 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16266 buffer32 and buffer64.
16267 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16268 writes instead of casting of buffer.
16269 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16271 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16274 2011-07-19 Andreas Schwab <schwab@redhat.com>
16276 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16278 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16280 * nscd/nscd.c (termination_handler): Don't do anything for a database
16281 if it has not yet been initialized.
16283 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16285 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16287 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16289 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16291 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16293 * po/nl.po: Update from translation team.
16294 * po/sv.po: Likewise.
16296 2011-07-16 Roland McGrath <roland@hack.frob.com>
16298 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16299 now disallowed by GCC.
16301 * configure.in (use-default-link): Default to yes if a test -shared
16302 link meets our qualifications.
16303 * configure: Regenerated.
16305 * config.make.in (output-format): New variable.
16306 * configure.in: Check for ld --print-output-format support.
16307 * configure: Regenerated.
16308 * Makerules ($(common-objpfx)format.lds)
16309 [$(output-format) != unknown]: Just use $(output-format),
16310 instead of the linker-script munging.
16312 2011-07-14 Roland McGrath <roland@hack.frob.com>
16314 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16315 of $(common-objpfx)shlib.lds.
16316 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16318 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16319 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16321 * configure.in (-z relro check): Adjust test code to add a large
16322 writable data section after it.
16323 * configure: Regenerated.
16325 2011-07-11 Roland McGrath <roland@hack.frob.com>
16327 * configure.in (-z relro check): Fix test code to make the variable
16329 * configure: Regenerated.
16331 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16333 * nscd/nscd.h (struct traced_file): Define.
16334 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16335 elements. Add traced_files.
16336 (inotify_fd): Declare.
16337 (register_traced_file): Declare.
16338 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16339 (inotify_fd): Export.
16340 (resolv_conf_descr): Remove.
16341 (nscd_init): Move inotify descriptor creation to main.
16342 Don't register files for notification here.
16343 (register_traced_file): New function.
16344 (invalidate_cache): Don't use reset_res to determine whether to call
16345 res_init, go through the list of registered files.
16346 (main_loop_poll): The inotify descriptors are now stored in the
16347 structures for the traced files.
16348 (main_loop_epoll): Likewise
16349 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16350 to __nss_disable_nscd.
16351 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16352 for a database anymore. Check the records for all the registered
16354 * nss/Makefile (libnss_files-routines): Add files-init.
16355 (libnss_db-routines): Add db-init.
16356 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16357 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16358 * nss/nss_db/db-init.c: New file.
16359 * nss/nss_files/files-init.c: New file.
16360 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16361 __nss_lookup_function.
16362 (__nss_lookup_function): Call nss_load_library.
16363 (nss_load_all_libraries): New function.
16364 (__nss_disable_nscd): Take parameter with callback function for files
16365 to register. Set is_nscd. Load all the DSOs for the NSS modules
16366 used for the cached services.
16367 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16368 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16369 options for features to all the files in nscd.
16371 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16373 2011-07-10 Roland McGrath <roland@hack.frob.com>
16375 * csu/elf-init.c (__libc_csu_init): Comment typo.
16377 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16379 * po/pl.po: Update from translation team.
16380 * po/ja.po: Likewise.
16381 * po/ru.po: Likewise.
16382 * po/ko.po: Likewise.
16383 * po/fr.po: Likewise.
16385 2011-07-09 Roland McGrath <roland@hack.frob.com>
16387 * configure.in (.ctors/.dtors header and trailer check):
16388 Use an empirical test on a built program.
16389 * configure: Regenerated.
16391 * configure.in (-z relro check): Use an empirical test on a built DSO.
16392 Detect, but do not require, on ia64.
16393 * configure: Regenerated.
16395 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16396 Update tests that use readelf to use $READELF instead.
16397 * configure: Regenerated.
16399 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16401 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16402 if the result is not used.
16404 2011-07-05 Andreas Jaeger <aj@suse.de>
16407 * stdlib/tst-strtod.c: Add testcase.
16409 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16411 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16412 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16413 The latter has a higher limit. Take additional parameter to pass to
16415 (__pathconf): Pass file to __statfs_link_max.
16416 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16418 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16422 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16423 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16425 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16426 (__statfs_filesize_max): Likewise.
16427 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16429 2011-07-05 Andreas Jaeger <aj@suse.de>
16431 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16433 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16435 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16437 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16440 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16442 * Makefile (strop-tests): Add strncat.
16443 * string/test-strncat.c: New file.
16445 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16447 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16449 2011-06-21 Andreas Jaeger <aj@suse.de>
16451 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16452 Copy rule from iconvdata/Makefile.
16454 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16457 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16458 but no long options are defined, just return 'W'.
16460 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16463 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16465 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16467 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16469 (innetgr): Likewise.
16471 2011-07-05 Roland McGrath <roland@hack.frob.com>
16473 * config.make.in (install_root): Default to $(DESTDIR).
16475 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16477 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16479 2011-07-02 Roland McGrath <roland@hack.frob.com>
16481 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16483 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16484 containing directory rather than embedding absolute directory names.
16486 * scripts/check-local-headers.sh: Rewritten using awk.
16487 Match by word, not by line. Print error messages for matches.
16488 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16490 * Makerules [shlib-lds-flags empty]:
16491 ($(common-objpfx)libc_pic.opts): New target.
16492 ($(common-objpfx)libc_pic.os.clean): New target.
16493 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16495 * config.make.in (OBJCOPY): New variable.
16496 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16497 * configure: Regenerated.
16499 * config.make.in (use-default-link): New variable.
16500 * configure.in (use_default_link): Grok --with-default-link to set it.
16501 * configure: Regenerated.
16502 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16503 (shlib-lds, shlib-lds-flags): Define to empty.
16505 * Makerules (shlib-lds): New variable.
16506 (shlib-lds-flags): New variable.
16507 (build-shlib, build-moduile, build-module-asneeded): Use it.
16508 ($(common-objpfx)libc.so): Use $(shlib-lds).
16509 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16510 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16512 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16513 DT_FLAGS/DT_FLAGS_1 with zero flags.
16515 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16516 linker script munging.
16518 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16520 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16522 * crypt/sha512.c (sha512_process_block): Perform total addition using
16523 128-bit if possible.
16524 (__sha512_finish_ctx): Likewise.
16525 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16527 * crypt/sha256.c (SWAP64): Define.
16528 (sha256_process_block): Perform total addition using 64-bit if
16530 (__sha256_finish_ctx): Likewise.
16532 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16534 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16535 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16536 * nscd/hstcache.c (cache_addhst): Likewise.
16537 * nscd/grpcache.c (cache_addgr): Likewise.
16538 * nscd/aicache.c (addhstaiX): Likewise
16539 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16541 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16543 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16544 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16545 * nscd/hstcache.c (cache_addhst): Likewise.
16546 * nscd/grpcache.c (cache_addgr): Likewise.
16547 * nscd/aicache.c (addhstaiX): Likewise
16549 2011-07-01 Andreas Schwab <schwab@redhat.com>
16551 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16552 domain only when needed.
16554 2011-06-30 Andreas Schwab <schwab@redhat.com>
16556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16557 is always restored.
16559 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16561 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16562 are re-adding the entry.
16563 * nscd/servicescache.c (cache_addserv): Likewise.
16565 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16567 * sysdeps/generic/dl-irel.h: fix protection against multiple
16569 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16571 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16574 * malloc/memusage.sh: Fix quoting in message.
16575 * debug/xtrace.sh: Likewise.
16577 * configure.in: Remove support for --experimental-malloc option, make
16579 * config.make.in: Likewise.
16580 * malloc/Makefile: Likewise.
16582 2011-06-27 Andreas Schwab <schwab@redhat.com>
16584 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16585 two-byte characters.
16587 2011-06-27 Roland McGrath <roland@hack.frob.com>
16589 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16590 AC_CACHE_CHECK invocation.
16591 * configure: Regenerated.
16593 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16595 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16598 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16599 bit from old_res_options.
16601 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16603 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16604 value type for setfct.
16606 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16608 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16609 __gettimeofday instead of gettimeofday.
16611 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16613 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16615 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16617 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16619 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16622 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16625 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16626 strcpy-sse2-unaligned strncpy-sse2-unaligned
16627 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16628 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16629 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16630 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16631 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16632 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16633 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16634 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16635 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16636 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16637 (STRCPY): Support SSE2 and SSSE3 versions.
16639 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16642 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16643 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16644 kernels which artificially limit size of requests.
16646 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16649 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16650 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16651 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16652 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16653 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16654 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16655 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16656 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16657 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16658 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16659 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16660 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16661 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16662 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16664 Enable unaligned load optimization for Intel Core i3, i5 and i7
16666 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16668 (index_Fast_Unaligned_Load): Define.
16669 (HAS_FAST_UNALIGNED_LOAD): Define.
16671 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16673 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16675 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16678 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16679 until it is clear that the information is realy needed.
16680 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16682 2011-06-22 Andreas Schwab <schwab@redhat.com>
16684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16686 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16688 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16689 /sys/devices/system/cpu/online if it is usable.
16691 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16692 reading the information from the /proc filesystem to once a second.
16694 2011-06-21 Andreas Jaeger <aj@suse.de>
16696 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16697 NULL after inclusion of kernel headers.
16699 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16701 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16702 calls to internal_setent.
16705 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16706 addresses using gethostbyname4_r ignore IPv4 addresses.
16708 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16709 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16711 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16713 2011-06-20 David S. Miller <davem@davemloft.net>
16715 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16717 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16719 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16720 (elf_irel): Use it.
16721 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16722 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16723 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16724 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16725 * sysdeps/x86_64/dl-irel.h: Likewise.
16727 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16728 * elf/dl-sym.c: Likewise.
16730 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16732 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16733 need to dereference resplen2.
16735 2011-06-14 Andreas Schwab <schwab@redhat.com>
16737 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16739 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16741 * Makeconfig: Define vardbdir and inst_vardbdir.
16742 * nss/Makefile: Add rules to install db-Makefile.
16744 * nss/nss_db/db-XXX.c: Cleanup.
16746 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16747 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16749 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16750 * nss/makedb.c: Implement -g option to specify that value strings
16751 are generated and should not be added to table iterated over for
16753 * nss/nss_db/db-initgroups.c: New file.
16755 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16758 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16759 (internal_getgrouplist): Adjust to name change.
16760 Update use_initgroups_entry if this is not the first call.
16761 * nss/databases.def: Add initgroups entry.
16763 * nss/makedb.c (compute_tables): Check result of multiple hash table
16764 sizes to minimize maximum chain length.
16766 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16768 * Versions.def: Add entry for libnss_db.
16769 * shlib-versions: Likewise.
16770 * nss/Makefile: Add rules to build libnss_db.
16771 * nss/Versions: Add libnss_db information. Organize libnss_files
16773 * nss/db-Makefile: Add gshadow support. Change rules for the new
16774 makedb progra. Some minor improvements to generate smaller files.
16775 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16777 * nss/makedb.c: ...here.
16778 Improve database format to be smaller and require less memory at
16780 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16782 * nss/nss_db/db-netgrp.c: Likewise.
16783 * nss/nss_db/db-open.c: Likewise.
16784 * nss/nss_files/flies-XXX.x: Adjust comments.
16785 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16786 * nss/nss_files/files-grp.c: Likewise.
16787 * nss/nss_files/files-hosts.c: Likewise.
16788 * nss/nss_files/files-network.c: Likewise.
16789 * nss/nss_files/files-proto.c: Likewise.
16790 * nss/nss_files/files-pwd.c: Likewise.
16791 * nss/nss_files/files-rpc.c: Likewise.
16792 * nss/nss_files/files-service.c: Likewise.
16793 * nss/nss_files/files-sgrp.c: Likewise.
16794 * nss/nss_files/files-spwd.c: Likewise.
16795 * nss/nss_db/db-alias.c: Removed.
16796 * nss/nss_db/dummy-db.h: Removed.
16798 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16800 * nss/makedb.c: Rewritten to not use database library.
16801 * nss/Makefile: Update to build new makedb program.
16803 2011-06-14 Andreas Jaeger <aj@suse.de>
16805 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16806 memset declaration.
16808 2011-06-10 Andreas Schwab <schwab@redhat.com>
16810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16813 2011-06-10 Roland McGrath <roland@hack.frob.com>
16815 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16816 * elf/Makefile ($(objpfx)ld.so): Likewise.
16818 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16819 Don't list ld.so twice in dependencies.
16821 * posix/bug-regex31.c: Include <stdlib.h>.
16823 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16825 * nis/nss_compat/compat-spwd.c
16826 (getspent_next_nss_netgr): Remove unused variable.
16827 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16829 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16830 nonmembers" output to use the right array.
16832 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16834 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16836 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16837 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16838 * catgets/gencat.c (read_input_file): Likewise.
16839 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16841 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16842 variable definition inside #if's controlling its use.
16844 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16846 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16848 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16850 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16853 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16855 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16856 * configure: Regenerated.
16858 * Makerules: Revert last change.
16859 * elf/Makefile: Likewise.
16861 2011-06-09 Roland McGrath <roland@hack.frob.com>
16863 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16864 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16865 (reloc-link): Likewise.
16867 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16869 * elf/Makefile: Add rules to build pldd.
16870 * elf/pldd.c: New file.
16871 * elf/pldd-xx.c: New file.
16873 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16875 * version.h: Update for 2.15 development version.
16877 2011-06-07 David S. Miller <davem@davemloft.net>
16879 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16882 elf_machine_lazy_rel): Likewise.
16883 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16884 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16885 elf_machine_lazy_rel): Likewise.
16886 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16887 dl_hwcap via passed in argument.
16888 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16891 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16893 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16895 2011-06-06 Roland McGrath <roland@hack.frob.com>
16898 * manual/fdl-1.1.texi: New file, verbatim from:
16899 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16900 * manual/lgpl-2.1.texi: New file, verbatim from:
16901 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16902 * manual/Makefile (licenses): New variable, list those new file names.
16904 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16906 * manual/fdl.texi: File removed.
16907 * manual/lesser.texi: File removed.
16908 * manual/libc.texinfo (Copying, Documentation License):
16909 Use new @include file names, put @appendix directive before @include.
16911 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16914 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16915 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16916 (mq_open): Add __NTH.
16918 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16920 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16921 Assume Intel Core i3/i5/i7 processor if AVX is available.
16923 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16925 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16928 2011-05-31 Andreas Schwab <schwab@redhat.com>
16930 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16931 memory. Use alloca_account. Fix memory leak when retrying.
16933 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16935 * version.h (RELEASE): Bump for 2.14 release.
16936 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16938 * config.make.in (RANLIB): Remove entry.
16940 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16942 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16943 (libc.pot): Work around missing support for .ksh extension in xgettext.
16946 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16947 if both request failed.
16948 (send_dg): In case of server errors clear resplen or *resplen2.
16951 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16952 when there are multiple maps.
16953 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16954 (_dl_fini): Remove test here.
16956 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16958 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16961 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16962 bit from old_res_options.
16963 (gaih_inet): Likewise.
16966 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16969 * resolv/res_init.c (res_setoptions): Make the code more compact.
16972 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16976 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16978 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16981 * malloc/malloc.h: Declare malloc hook variables as volatile.
16983 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16987 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16988 raise in the comment.
16989 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16990 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16991 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16993 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16996 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16997 grow the buffers more if it already has to be sufficient.
16998 (build_wcs_upper_buffer): Likewise.
16999 * posix/regexec.c (check_matching): Likewise.
17000 (clean_state_log_if_needed): Likewise.
17001 (extend_buffers): Don't enlarge buffers beyond size of the input
17003 Patches mostly by Emil Wojak <emil@wojak.eu>.
17004 * posix/bug-regex32.c: New file.
17005 * posix/Makefile (tests): Add bug-regex32.
17007 * locale/findlocale.c (_nl_find_locale): Return right away if
17008 _nl_explode_name failed.
17009 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17011 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17013 * debug/xtrace.sh: Unify messages.
17014 * malloc/memusage.sh: Likewise.
17017 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17018 time symbol from vDSO. Substitute with vsyscall if not available.
17019 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17022 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17023 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17024 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17025 Add sendmmsg and internal_sendmmsg.
17026 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17027 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17028 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17030 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17031 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17032 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17034 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17037 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17038 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17040 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17044 * iconvdata/Makefile (tests): Add bug-iconv9.
17045 * iconvdata/bug-iconv9.c: New file.
17047 2011-05-27 Andreas Schwab <schwab@redhat.com>
17050 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17052 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17054 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17055 (struct user_regs_struct): Change intcs field back to cs.
17057 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17059 * po/ja.po: Update from translation team.
17061 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17064 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17065 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17067 2011-05-20 Andreas Schwab <schwab@redhat.com>
17069 * stdlib/longlong.h: Update from GCC.
17071 2011-05-23 Andreas Schwab <schwab@redhat.com>
17073 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17075 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17076 Add parameter name.
17077 (__sysconf): Pass it down.
17079 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17082 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17084 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17085 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17086 add in in __libc_use_alloca calls. Adjust callers.
17087 (glob): Use malloc in some situations.
17089 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17090 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17093 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17095 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17096 and CLOCK_BOOTTIME_ALARM.
17099 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17102 * string/_strerror.c (__strerror_r): Print negative errors as signed
17106 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17107 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17108 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17110 * configure.in: Fix typo in redirection and correct removal of test
17111 files in two cases.
17114 * locale/setlocale.c (new_composite_name): Fix test to check for
17115 identical name of all categories.
17118 * libio/filedoalloc.c (local_isatty): New function.
17119 (_IO_file_doallocate): Use local_isatty.
17120 * stdio-common/perror.c (perror): In case a new stream is used
17121 forward the stream error.
17122 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17125 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17130 * include/alloca.h (extend_alloca_account): Define.
17133 * posix/regex.h: Fix comments with documentation of user-accessible
17134 fields after compilation and describe correct free'ing of pattern
17135 after re_compile_pattern.
17136 Patch by Reuben Thomas <rrt@sc3d.org>.
17138 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17140 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17141 and -mno-altivec to prevent the compiler from using Altivec and/or
17142 VSX instructions when the corresponding registers are not available.
17144 2011-05-19 Andreas Schwab <schwab@redhat.com>
17146 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17148 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17150 * libio/freopen.c (freopen): Use __dup2, not dup2.
17151 * libio/freopen64.c (freopen64): Likewise.
17153 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17156 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17157 * math/Makefile (tests): Add test-powl.
17158 (CFLAGS-test-powl.c): Define.
17159 * math/test-powl.c: New file.
17161 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17163 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17165 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17168 * iconvdata/gb18030.c: Update to GB18020-2005.
17170 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17172 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17173 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17174 Patch by Aharon Robbins <arnold@skeeve.com>.
17177 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17181 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17182 through underflows.
17185 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17186 point to strings before performing equality test for error_one_per_line
17190 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17193 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17194 (struct user_fpregs_struct): Avoid __uint*_t types.
17197 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17198 symbol info. Use it instead of calling _dl_addr locally.
17199 (lock_and_info): New function.
17200 (tr_freehook): Call lock_and_info and pass symbol info as additional
17201 parameter to tr_where.
17202 (tr_mallochook): Likewise.
17203 (tr_reallochook): Likewise.
17204 (tr_memalignhook): Likewise.
17206 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17207 used and couldn't be at all thread-safe.
17209 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17211 * libio/freopen.c (freopen): Don't close old file descriptor
17212 before the new one is opened. Instead dup the new file descriptor
17213 to the old one after the new stream is created.
17214 * libio/freopen64.c (freopen64): Likewise.
17215 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17216 * libio/fileops.c (_IO_new_file_close_it): Handle new
17217 _IO_FLAGS2_NOCLOSE flag.
17218 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17219 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17220 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17221 _IO_FLAGS2_NOCLOSE flag.
17222 * include/unistd.h: Add hidden_proto for dup3.
17223 Define __have_dup3.
17224 * io/dup3.c: Define hidden symbol.
17225 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17228 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17229 when an incomplete long option is used.
17230 * posix/tst-getopt_long1.c: New file.
17231 * posix/Makefile (tests): Add tst-getopt_long1.
17234 * scripts/config.guess: Update from autoconf-2.68.
17235 * scripts/config.sub: Likewise.
17238 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17240 (has_cpuclock): ...this. New function.
17241 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17242 macro here based on has_cpuclock code.
17245 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17246 First byte (not low byte) is now always NUL.
17247 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17249 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17250 Use non-cancelable interfaces.
17253 * locale/iso-639.def: Add entry for Sorani.
17256 * include/stdlib.h: Move include protection to the right place.
17257 Define abort_msg_s. Declare __abort_msg with it.
17258 * stdlib/abort.c (__abort_msg): Adjust type.
17259 * assert/assert.c (__assert_fail_base): New function. Majority
17260 of code from __assert_fail. Allocate memory for __abort_msg with
17262 (__assert_fail): Now call __assert_fail_base.
17263 * assert/assert-perr.c: Remove bulk of implementation. Use
17264 __assert_fail_base.
17265 * include/assert.hL Declare __assert_fail_base.
17266 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17268 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17270 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17274 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17275 until all modules are registered in the DTV.
17276 * elf/Makefile: Add rules to build and run tst-tls19.
17277 * elf/tst-tls19.c: New file.
17278 * elf/tst-tls19mod1.c: New file.
17279 * elf/tst-tls19mod2.c: New file.
17280 * elf/tst-tls19mod3.c: New file.
17281 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17284 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17288 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17289 two-byte sequence errors.
17290 * iconvdata/Makefile (tests): Add bug-iconv8.
17291 * iconvdata/bug-iconv8.c: New file.
17294 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17297 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17300 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17301 (dummy_getcfa): New function.
17302 (init): Get _Unwind_GetCFA address, use dummy if not found.
17303 (backtrace_helper): In recursion check, also check whether CFA changes.
17304 (__backtrace): Completely initialize arg.
17306 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17307 storing incomplete byte sequence in state object. Avoid testing for
17308 guaranteed too small input if we know there is enough data available.
17310 2011-05-11 Andreas Schwab <schwab@redhat.com>
17312 * Makeconfig (+link-pie): Indent.
17313 * Rules (binaries-pie): Define if $(have-fpie) and
17315 (binaries-shared): Also filter out $(binaries-pie).
17316 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17317 * nscd/Makefile (others-pie): Add nscd.
17318 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17319 ($(objpfx)nscd): Remove command override.
17320 * login/Makefile (others-pie): Add pt_chown.
17321 ($(objpfx)pt_chown): Remove command override.
17322 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17323 remove command overrides.
17325 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17327 * libio/tst_putwc.c: Fix error messages.
17330 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17331 currently writing and seek to current position when not.
17332 * libio/Makefile (tests): Add bug-fclose1.
17333 * libio/bug-fclose1.c: New file.
17335 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17338 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17339 don't set DF_1_NODELETE here.
17340 (do_lookup_x): When entering new entry test for copy relocation
17341 and if necessary set DF_1_NODELETE flag.
17342 * elf/tst-unique4.cc: New file.
17343 * elf/tst-unique4.h: New file.
17344 * elf/tst-unique4lib.cc: New file.
17345 * elf/Makefile: Add rules to build and run tst-unique4.
17346 Patch by Piotr Bury <pbury@goahead.com>.
17348 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17351 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17354 * misc/mntent_r.c (addmntent): Flush the stream after the output
17357 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17358 (is_trusted_path_normalize): Skip initial colon. Append slash
17359 to empty buffer. Duplicate is_trusted_path code but allow
17360 constructed patch to be prefix.
17361 (is_dst): Allow $ORIGIN followed by /.
17362 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17363 Correct testing of result of is_trusted_path_normalize
17364 (decompose_rpath): Fix warning.
17366 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17369 * grp/initgroups.c (internal_getgrouplist): When we found the service
17370 list through the initgroups entry in nsswitch.conf do not always
17371 continue on a successful lookup. Don't always use the
17372 __nss_group_database value if it is set.
17373 * nss/nsswitch.conf (initgroups): Change action for successful db
17374 lookup to continue for compatibility.
17376 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17379 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17381 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17383 * iconvdata/tst-tables.sh: Likewise.
17384 * iconvdata/cp770.c: New file.
17385 * iconvdata/cp771.c: New file.
17386 * iconvdata/cp772.c: New file.
17387 * iconvdata/cp773.c: New file.
17388 * iconvdata/cp774.c: New file.
17389 * iconvdata/testdata/CP770: New file.
17390 * iconvdata/testdata/CP770..UTF8: New file.
17391 * iconvdata/testdata/CP771: New file.
17392 * iconvdata/testdata/CP771..UTF8: New file.
17393 * iconvdata/testdata/CP772: New file.
17394 * iconvdata/testdata/CP772..UTF8: New file.
17395 * iconvdata/testdata/CP773: New file.
17396 * iconvdata/testdata/CP773..UTF8: New file.
17397 * iconvdata/testdata/CP774: New file.
17398 * iconvdata/testdata/CP774..UTF8: New file.
17400 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17402 * iconvdata/gen-8bit-gap.sh: Likewise.
17403 * iconvdata/gen-8bit.sh: Likewise.
17405 * locale/iso-639.def: Add ary entry.
17408 * locale/C-translit.h.in: Add U20A1 transliteration.
17411 * locale/iso-639.def: Add wae entry.
17412 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17415 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17419 * locale/C-translit.h.in: Add entry for U20B9.
17420 Patch by pravin.d.s@gmail.com.
17422 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17425 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17426 ENAMETOOLONG use generic getcwd.
17427 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17428 in rtld. Use *stat64.
17429 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17430 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17431 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17432 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17433 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17434 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17435 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17436 __fstatat64 macros.
17437 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17438 * dirent/rewinddir.c: Add libc_hidden_def.
17439 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17440 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17442 * include/dirent.h (__alloc_dir): Add flags parameter.
17443 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17444 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17446 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17447 from fdopendir if O_CLOEXEC is already set.
17449 2011-03-15 Alan Modra <amodra@gmail.com>
17451 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17452 l_tls_firstbyte_offset non-zero. Save padding offset in
17453 l_tls_firstbyte_offset for later use.
17454 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17455 freeing static tls block.
17457 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17459 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17460 where #ifdef was intended. The intent is to prevent ARG_MAX from
17461 being defined by the kernel headers.
17463 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17466 * resolv/resolv.h: Define RES_NOTLDQUERY.
17467 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17468 no-tld-query and set RES_NOTLDQUERY.
17469 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17470 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17471 modern BIND to search name as TLD unless forbidden.
17473 2011-05-07 Petr Baudis <pasky@suse.cz>
17474 Ulrich Drepper <drepper@gmail.com>
17477 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17478 (is_trusted_path): ...to here.
17479 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17480 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17481 using is_trusted_path_normalize() in setuid scripts.
17483 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17485 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17486 __BEGIN/__END_DECLS.
17488 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17490 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17491 NSS_STATUS_NOTFOUND if no record was found.
17493 2011-05-05 Andreas Schwab <schwab@redhat.com>
17495 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17496 (headers-not-in-tirpc): Remove rpc/netdb.h
17497 * resolv/netdb.h: Revert last change.
17499 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17501 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17502 circular dependency between libgcc.a and libc.a.
17504 2011-05-05 Andreas Schwab <schwab@redhat.com>
17506 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17507 * nis/Makefile: Don't install rpcsvc/*.
17508 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17509 instead of <rpc/types.h>.
17510 (MAXHOSTNAMELEN): Define.
17512 2011-05-03 Andreas Schwab <schwab@redhat.com>
17514 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17516 2011-04-28 Maciej Babinski <mbabinski@google.com>
17519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17520 gethostbyname4_r when IPv6 results are possible.
17522 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17525 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17526 _PC_PIPE_BUF handling.
17528 2011-04-30 Bruno Haible <bruno@clisp.org>
17531 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17532 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17534 * inet/getnameinfo.c (getnameinfo): Likewise.
17536 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17538 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17539 to groups setting in database lookup.
17540 * nss/nsswitch.conf: Add initgroups entry.
17542 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17545 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17547 Patch by Eric Blake <eblake@redhat.com>.
17549 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17551 * sunrpc/Makefile (need-export-routines): Add svc_run.
17552 (routines): Remove svc_run.
17553 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17554 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17555 * sunrpc/svc_run.c (svc_run): Likewise.
17556 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17558 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17560 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17561 problem in reallocation in last patch.
17563 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17565 * sunrpc/Makefile: Move inclusion of Rules.
17567 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17569 * nss/nss_files/files-initgroups.c: New file.
17570 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17571 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17572 _nss_files_initgroups_dyn.
17574 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17576 * elf/elf.h (R_ARM_IRELATIVE): Define.
17578 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17580 * po/ru.po: Update from translation team.
17582 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17584 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17587 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17590 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17591 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17592 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17593 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17594 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17596 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17598 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17600 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17601 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17602 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17604 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17607 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17609 * stdlib/bug-getcontext.c: New file.
17610 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17612 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17614 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17615 instructions into .machine "z9-109".
17616 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17617 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17619 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17621 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17622 between environment variables and auxiliary vector.
17624 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17626 * Makefile: Add rules to build linkobj/libc.so.
17627 * include/libc-symbols.h: Define libc_hidden_nolink.
17628 * include/rpc/auth.h: Mark functions which are to be hidden.
17629 * include/rpc/auth_des.h: Likewise.
17630 * include/rpc/auth_unix.h: Likewise.
17631 * include/rpc/clnt.h: Likewise.
17632 * include/rpc/des_crypt.h: Likewise.
17633 * include/rpc/key_prot.h: Likewise.
17634 * include/rpc/pmap_clnt.h: Likewise.
17635 * include/rpc/pmap_prot.h: Likewise.
17636 * include/rpc/pmap_rmt.h: Likewise.
17637 * include/rpc/rpc_msg.h: Likewise.
17638 * include/rpc/svc.h: Likewise.
17639 * include/rpc/svc_auth.h: Likewise.
17640 * include/rpc/xdr.h: Likewise.
17641 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17642 * nss/Makefile: Likewise.
17643 * sunrpc/Makefile: Don't install headers. Build library with normal
17644 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17645 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17646 for the compat linking library. Remove use of INTDEF/INTUSE.
17647 * sunrpc/auth_none.c: Likewise.
17648 * sunrpc/auth_unix.c: Likewise.
17649 * sunrpc/authdes_prot.c: Likewise.
17650 * sunrpc/authuxprot.c: Likewise.
17651 * sunrpc/clnt_gen.c: Likewise.
17652 * sunrpc/clnt_perr.c: Likewise.
17653 * sunrpc/clnt_raw.c: Likewise.
17654 * sunrpc/clnt_simp.c: Likewise.
17655 * sunrpc/clnt_tcp.c: Likewise.
17656 * sunrpc/clnt_udp.c: Likewise.
17657 * sunrpc/clnt_unix.c: Likewise.
17658 * sunrpc/des_crypt.c: Likewise.
17659 * sunrpc/des_soft.c: Likewise.
17660 * sunrpc/get_myaddr.c: Likewise.
17661 * sunrpc/key_call.c: Likewise.
17662 * sunrpc/key_prot.c: Likewise.
17663 * sunrpc/netname.c: Likewise.
17664 * sunrpc/pm_getmaps.c: Likewise.
17665 * sunrpc/pm_getport.c: Likewise.
17666 * sunrpc/pmap_clnt.c: Likewise.
17667 * sunrpc/pmap_prot.c: Likewise.
17668 * sunrpc/pmap_prot2.c: Likewise.
17669 * sunrpc/pmap_rmt.c: Likewise.
17670 * sunrpc/publickey.c: Likewise.
17671 * sunrpc/rpc_cmsg.c: Likewise.
17672 * sunrpc/rpc_common.c: Likewise.
17673 * sunrpc/rpc_dtable.c: Likewise.
17674 * sunrpc/rpc_prot.c: Likewise.
17675 * sunrpc/rpc_thread.c: Likewise.
17676 * sunrpc/rtime.c: Likewise.
17677 * sunrpc/svc.c: Likewise.
17678 * sunrpc/svc_auth.c: Likewise.
17679 * sunrpc/svc_authux.c: Likewise.
17680 * sunrpc/svc_raw.c: Likewise.
17681 * sunrpc/svc_run.c: Likewise.
17682 * sunrpc/svc_simple.c: Likewise.
17683 * sunrpc/svc_tcp.c: Likewise.
17684 * sunrpc/svc_udp.c: Likewise.
17685 * sunrpc/svc_unix.c: Likewise.
17686 * sunrpc/svcauth_des.c: Likewise.
17687 * sunrpc/xcrypt.c: Likewise.
17688 * sunrpc/xdr.c: Likewise.
17689 * sunrpc/xdr_array.c: Likewise.
17690 * sunrpc/xdr_float.c: Likewise.
17691 * sunrpc/xdr_intXX_t.c: Likewise.
17692 * sunrpc/xdr_mem.c: Likewise.
17693 * sunrpc/xdr_rec.c: Likewise.
17694 * sunrpc/xdr_ref.c: Likewise.
17695 * sunrpc/xdr_sizeof.c: Likewise.
17696 * sunrpc/xdr_stdio.c: Likewise.
17698 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17701 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17702 * sysdeps/ia64/dl-tls.h: Likewise.
17703 * sysdeps/powerpc/dl-tls.h: Likewise.
17704 * sysdeps/s390/dl-tls.h: Likewise.
17705 * sysdeps/sh/dl-tls.h: Likewise.
17706 * sysdeps/sparc/dl-tls.h: Likewise.
17707 * sysdeps/x86_64/dl-tls.h: Likewise.
17708 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17710 2011-03-14 Andreas Schwab <schwab@redhat.com>
17712 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17713 rpath element also skip the following colon.
17714 (expand_dynamic_string_token): Add is_path parameter and pass
17715 down to DL_DST_REQUIRED and _dl_dst_substitute.
17716 (decompose_rpath): Call expand_dynamic_string_token with
17717 non-zero is_path. Ignore empty rpaths.
17718 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17721 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17726 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17729 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17730 Patch by Filipe David Manana <fdmanana@apache.org>.
17732 2011-04-07 Andreas Schwab <schwab@redhat.com>
17734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17735 Maintain aligned stack.
17736 (CHECK_RSP): Remove unused macro.
17738 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17740 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17741 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17743 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17745 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17747 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17749 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17752 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17753 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17754 * sysdeps/x86_64/memmove.c: New file.
17755 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17756 (memcpy): Renamed to ...
17757 (__new_memcpy): This.
17758 (memcpy): Provide GLIBC_2_14 memcpy.
17759 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17760 (memcpy): Provide GLIBC_2_2_5 memcpy.
17762 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17765 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17767 2011-03-30 Andreas Schwab <schwab@redhat.com>
17769 * misc/syncfs.c: New file.
17770 * misc/Makefile (routines): Add syncfs.
17771 * posix/unistd.h: Declare syncfs.
17772 * sysdeps/unix/syscalls.list: Add syncfs.
17774 2011-04-01 Andreas Schwab <schwab@redhat.com>
17776 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17778 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17779 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17780 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17781 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17783 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17784 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17786 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17788 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17789 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17790 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17791 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17792 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17793 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17794 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17796 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17797 sync_file_range.c with -fexceptions.
17798 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17799 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17800 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17801 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17802 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17803 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17804 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17805 sync_file_range as cancellation point
17806 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17807 now a wrapper around __call_sync_file_range with cancellation handling.
17808 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17809 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17810 function name to __call_sync_file_range.
17811 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17812 Add call_sync_file_range.
17814 2011-04-01 Andreas Schwab <schwab@redhat.com>
17816 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17819 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17821 * iconv/iconv.h: Fix typo in comment.
17822 * io/fcntl.h: Likewise.
17823 * libio/stdio.h: Likewise.
17824 * posix/spawn.h: Likewise.
17825 * posix/unistd.h: Likewise.
17826 * stdlib/stdlib.h: Likewise.
17827 * time/time.h: Likewise.
17828 * wcsmbs/wchar.h: Likewise.
17830 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17831 open_by_handle): Add.
17832 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17833 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17834 Augment a few comments.
17835 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17836 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17837 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17839 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17840 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17843 * io/fcntl.h (AT_EMPTY_PATH): Define.
17845 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17847 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17848 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17849 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17851 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17852 * Versions.def: Add GLIBC_2.14.
17853 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17856 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17858 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17860 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17862 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17865 * string/test-strncmp.c (do_page_test): New function.
17866 (check2): Likewise.
17867 (test_main): Call check2.
17868 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17870 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17873 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17874 Handle cache information in CPU leaf 4.
17875 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17877 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17880 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17881 character representation.
17882 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17884 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17886 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17887 END(__isnan) to END(__isnanf) to match function entry point/label
17888 EALIGN(__isnanf,...).
17890 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17892 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17894 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17897 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17898 copy from the symbol referenced in the relocation to initialize the
17900 Patch by Piotr Bury <pbury@goahead.com>.
17901 * elf/Makefile: Add rules to build and tst-unique3.
17902 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17903 * elf/tst-unique3.cc: New file.
17904 * elf/tst-unique3.h: New file.
17905 * elf/tst-unique3lib.cc: New file.
17906 * elf/tst-unique3lib2.cc: New file.
17908 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17910 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17912 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17913 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17916 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17918 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17919 to-be-loaded object along a path to loader is ld.so.
17921 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17922 Ulrich Drepper <drepper@gmail.com>
17924 * sysdeps/x86_64/memset.S: After aligning destination, code
17925 branches to different locations depending on the value of
17926 misalignment, when multiarch is enabled. Fix this.
17928 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17930 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17931 Set _x86_64_preferred_memory_instruction for AMD processsors.
17932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17933 Set bit_Prefer_SSE_for_memop for AMD processors.
17935 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17937 * libio/fmemopen.c (fmemopen): Optimize a bit.
17939 2011-03-03 Andreas Schwab <schwab@redhat.com>
17941 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17943 2011-03-03 Roland McGrath <roland@redhat.com>
17945 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17947 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17949 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17950 __bzero_ultra1 instead of __memset_ultra1.
17952 2011-02-23 Andreas Schwab <schwab@redhat.com>
17953 Ulrich Drepper <drepper@gmail.com>
17956 * include/link.h (struct link_map): Add l_orig_initfini.
17957 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17958 returning unsuccessfully.
17959 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17960 close of a file loaded at startup, restore the original l_initfini
17962 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17963 list, store the pointer.
17964 * elf/Makefile ($(objpfx)noload-mem): New rule.
17965 (noload-ENV): Define.
17966 (tests): Add $(objpfx)noload-mem.
17967 * elf/noload.c: Include <memcheck.h>.
17968 (main): Call mtrace. Close all opened handles.
17970 2011-02-17 Andreas Schwab <schwab@redhat.com>
17973 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17974 dependencies are missing.
17976 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17978 Fix __if_freereq crash: Unlike the generic version which uses free,
17980 * sysdeps/mach/hurd/ifreq.h: New file.
17982 2011-01-27 Petr Baudis <pasky@suse.cz>
17983 Ulrich Drepper <drepper@gmail.com>
17986 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17987 to extend_alloca().
17988 * stdio-common/bug23.c: New file.
17989 * stdio-common/Makefile (tests): Add bug23.
17991 2010-09-28 Andreas Schwab <schwab@redhat.com>
17992 Ulrich Drepper <drepper@gmail.com>
17995 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17996 before performing relro protection. At old place add assertion
17997 to make sure nothing changed.
17999 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18000 Glauber de Oliveira Costa <glommer@gmail.com>
18002 * elf/elf.h: Add new ARM TLS relocs.
18004 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18007 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18009 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18011 * sysdeps/wordsize-64/tst-writev.c: New file.
18013 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18015 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18016 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18017 insns in _dl_start to prevent a TOC reference before relocs are
18020 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18023 * Makeconfig: Remove RANLIB definition.
18024 * Makerules: Don't use RANLIB.
18025 * aclocal.m4: Remove ranlib test.
18026 * configure.in: No need to check for ranlib.
18027 * elf/rtld-Rules: Don't use RANLIB.
18029 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18031 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18033 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18034 inclusion protection macro.
18036 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18037 SIGRTMIN and SIGRTMAX and print information in that case only when
18038 SIGRTMIN is defined.
18040 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18042 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18043 arginfo fn returning -1.
18045 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18046 and thousands string is zero terminated.
18048 2011-02-03 Andreas Schwab <schwab@redhat.com>
18050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18051 sysdeps/unix/sysv/linux/bits/socket.h.
18053 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18055 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18056 (__CPU_COUNT): Remove old macros.
18057 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18058 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18059 (__CPU_ALLOC, __CPU_FREE): Add macros.
18060 (__sched_cpualloc, __sched_cpufree): Add declarations.
18062 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18064 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18065 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18066 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18067 (readdhstai): Return value of addhstaiX call.
18068 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18069 (addgrbyX): Return value returned by cache_addgr.
18070 (readdgrbyname): Return value returned by addgrbyX.
18071 (readdgrbygid): Likewise.
18072 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18073 (addpwbyX): Return value returned by cache_addpw.
18074 (readdpwbyname): Return value returned by addhstbyX.
18075 (readdpwbyuid): Likewise.
18076 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18077 (addservbyX): Return value returned by cache_addserv.
18078 (readdservbyname): Return value returned by addservbyX:
18079 (readdservbyport): Likewise.
18080 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18081 (addhstbyX): Return value returned by cache_addhst.
18082 (readdhstbyname): Return value returned by addhstbyX.
18083 (readdhstbyaddr): Likewise.
18084 (readdhstbynamev6): Likewise.
18085 (readdhstbyaddrv6): Likewise.
18086 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18087 (readdinitgroups): Return value returned by addinitgroupsX.
18088 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18089 (prune_cache): Keep track of timeout value of re-added entries.
18090 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18091 * nscd/nscd.h: Adjust prototypes of readd* functions.
18093 2011-02-04 Roland McGrath <roland@redhat.com>
18095 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18096 (nis_stats): Likewise.
18097 * nis/nis_modify.c (nis_modify): Likewise.
18098 * nis/nis_remove.c (nis_remove): Likewise.
18099 * nis/nis_add.c (nis_add): Likewise.
18101 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18103 * posix/fnmatch_loop.c: Add some consts.
18105 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18107 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18110 * config.make.in (config-cflags-novzeroupper): Define.
18111 * configure.in: Substitute libc_cv_cc_novzeroupper.
18112 * elf/Makefile (AVX-CFLAGS): Define.
18113 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18114 (CFLAGS-tst-auditmod4a.c): Likewise.
18115 (CFLAGS-tst-auditmod4b.c): Likewise.
18116 (CFLAGS-tst-auditmod6b.c): Likewise.
18117 (CFLAGS-tst-auditmod6c.c): Likewise.
18118 (CFLAGS-tst-auditmod7b.c): Likewise.
18119 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18121 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18123 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18124 function to the callback.
18125 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18127 2011-02-02 Andreas Schwab <schwab@redhat.com>
18129 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18132 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18135 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18137 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18139 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18142 * elf/Makefile: Add rules to build and run new test.
18143 * elf/tst-initorder.c: New file.
18144 * elf/tst-initorder.exp: New file.
18145 * elf/tst-initordera1.c: New file.
18146 * elf/tst-initordera2.c: New file.
18147 * elf/tst-initordera3.c: New file.
18148 * elf/tst-initordera4.c: New file.
18149 * elf/tst-initorderb1.c: New file.
18150 * elf/tst-initorderb2.c: New file.
18151 * elf/tst-order-a1.c: New file.
18152 * elf/tst-order-a2.c: New file.
18153 * elf/tst-order-a3.c: New file.
18154 * elf/tst-order-a4.c: New file.
18155 * elf/tst-order-b1.c: New file.
18156 * elf/tst-order-b2.c: New file.
18157 * elf/tst-order-main.c: New file.
18158 New test case by George Gensure <werkt0@gmail.com>.
18160 2010-10-01 Andreas Schwab <schwab@redhat.com>
18162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18163 decoding ACE if AI_CANONIDN.
18165 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18167 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18169 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18171 * version.h (RELEASE): Bump for 2.13 release.
18172 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18174 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18176 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18178 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18179 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18180 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18181 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18182 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18183 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18185 * posix/getconf.c: Update copyright year.
18186 * catgets/gencat.c: Likewise.
18187 * csu/version.c: Likewise.
18188 * debug/catchsegv.sh: Likewise.
18189 * debug/xtrace.sh: Likewise.
18190 * elf/ldconfig.c: Likewise.
18191 * elf/ldd.bash.in: Likewise.
18192 * elf/sprof.c (print_version): Likewise.
18193 * iconv/iconv_prog.c: Likewise.
18194 * iconv/iconvconfig.c: Likewise.
18195 * locale/programs/locale.c: Likewise.
18196 * locale/programs/localedef.c: Likewise.
18197 * malloc/memusage.sh: Likewise.
18198 * malloc/mtrace.pl: Likewise.
18199 * nscd/nscd.c (print_version): Likewise.
18200 * nss/getent.c: Likewise.
18202 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18203 PF_CAIF, and PF_ALG.
18204 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18206 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18208 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18209 (modules-names): Use them.
18210 (ifunc-test-modules, ifunc-pie-tests): Define.
18211 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18212 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18213 (test-extras): Likewise.
18214 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18215 $(compile-command.c).
18216 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18217 (all-built-dso): Define.
18218 (check-textrel.out, check-execstack.out): Depend on it.
18220 * configure.in: Don't override --enable-multi-arch.
18222 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18225 * nscd/hstcache.c (tryagain): Define.
18226 (cache_addhst): Return tryagain not notfound for temporary errors.
18227 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18230 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18233 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18234 to make the syscall.
18235 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18238 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18239 and fall back to matching as normal character if the string ends before
18240 the matching ']' is found. This is what POSIX requires.
18241 * posix/testfnm.c: Adjust test result.
18242 * posix/globtest.sh: Adjust test result. Add new test.
18243 * posix/tst-fnmatch.input: Likewise.
18244 * posix/tst-fnmatch2.c: Add new test.
18246 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18248 * elf/Makefile (check-execstack): Revert last change. Depend on
18250 (check-execstack.h): New target.
18251 (generated): Add check-execstack.h.
18252 * elf/check-execstack.c: Include "check-execstack.h".
18253 (main): Revert last change.
18254 (handle_file): Return zero if GNU_STACK is absent and
18255 DEFAULT_STACK_PERMS doesn't include PF_X.
18257 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18259 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18260 in child fails because the descriptor is already closed.
18261 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18262 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18263 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18266 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18270 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18271 temporary buffer used to handle multi lookups locally.
18272 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18274 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18276 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18279 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18281 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18282 alignment for SSE2.
18284 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18287 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18288 characters. When rounding increased number of integer digits recompute
18290 * stdio-common/tst-grouping.c: New file.
18291 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18293 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18295 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18296 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18298 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18300 * bits/select.h: Likewise.
18302 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18304 * po/ja.po: Update from translation team.
18306 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18309 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18310 implementation just like for lxstat, fxstatat, et al.
18312 2010-12-27 Jim Meyering <meyering@redhat.com>
18315 * posix/regexec.c (build_trtable): Return failure indication upon
18316 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18318 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18321 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18322 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18323 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18324 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18327 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18330 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18331 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18333 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18335 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18336 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18337 script has SORT_BY_INIT_PRIORITY.
18338 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18339 NO_CTORS_DTORS_SECTIONS is defined.
18340 * elf/soinit.c: Likewise.
18341 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18342 NO_CTORS_DTORS_SECTIONS is defined.
18343 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18344 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18345 * sysdeps/sh/init-first.c: Likewise.
18346 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18348 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18350 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18351 always use the slow path.
18353 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18355 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18356 similar rule which adds the sysdep directories to the header search in
18357 order to pick up the correct platform stackinfo.h.
18358 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18359 perform test if it is, otherwise return successfully without testing.
18360 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18361 DEFAULT_STACK_PERMS define in stackinfo.h.
18362 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18363 defined in stackinfo.h.
18364 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18365 DEFAULT_STACK_PERMS defined in stackinfo.h.
18366 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18367 * sysdeps/ia64/stackinfo.h: Likewise.
18368 * sysdeps/s390/stackinfo.h: Likewise.
18369 * sysdeps/sh/stackinfo.h: Likewise.
18370 * sysdeps/sparc/stackinfo.h: Likewise.
18371 * sysdeps/x86_64/stackinfo.h: Likewise.
18372 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18373 PF_X for powerpc64. Retain PF_X for powerpc32.
18375 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18377 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18379 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18380 GETDENTS_64BIT_ALIGNED.
18382 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18384 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18386 2010-12-10 Andreas Schwab <schwab@redhat.com>
18388 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18391 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18392 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18394 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18395 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18397 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18400 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18403 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18405 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18407 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18409 * po/it.po: Update from translation team.
18411 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18413 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18416 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18418 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18420 2010-11-24 Andreas Schwab <schwab@redhat.com>
18422 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18424 (gaih_getanswer_slice): Likewise.
18426 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18430 2010-05-31 Petr Baudis <pasky@suse.cz>
18433 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18434 silently even in the chroot mode.
18436 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18438 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18439 last patch a bit. Pretty printing
18441 2010-05-31 Petr Baudis <pasky@suse.cz>
18444 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18445 initialization of skip_initgroups_dyn.
18447 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18449 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18450 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18452 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18454 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18456 2010-11-11 Andreas Schwab <schwab@redhat.com>
18458 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18459 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18460 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18461 ($(objpfx)tst-fnmatch-mem): New rule.
18462 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18463 * posix/tst-fnmatch.c (main): Call mtrace.
18465 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18468 Support Intel processor model 6 and model 0x2c.
18470 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18472 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18475 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18478 * string/test-strncasecmp.c (check_result): New function.
18479 (do_one_test): Use it.
18480 (check1): New function.
18481 (test_main): Use it.
18482 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18483 Support strcasecmp and strncasecmp.
18485 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18488 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18489 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18491 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18493 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18497 * sysdeps/x86_64/multiarch/bzero.S: New file.
18498 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18499 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18500 * sysdeps/x86_64/multiarch/memset.S: New file.
18501 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18503 Set bit_Prefer_SSE_for_memop for Intel processors.
18504 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18506 (index_Prefer_SSE_for_memop): Define.
18507 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18509 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18511 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18512 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18514 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18517 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18518 (__x86_64_raw_data_cache_size_half): Likewise.
18519 (__x86_64_raw_shared_cache_size): Likewise.
18520 (__x86_64_raw_shared_cache_size_half): Likewise.
18522 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18523 (__x86_64_raw_data_cache_size_half): Likewise.
18524 (__x86_64_raw_shared_cache_size): Likewise.
18525 (__x86_64_raw_shared_cache_size_half): Likewise.
18526 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18527 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18528 and __x86_64_raw_shared_cache_size_half. Round
18529 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18530 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18531 to multiple of 256 bytes.
18533 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18536 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18537 of inacessible symlinks. Verify result of symlink before returning it.
18538 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18539 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18541 2010-10-28 Erich Ritz <erichritz@gmail.com>
18543 * math/math.h (isinf): Fix typo in comment.
18545 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18547 * po/da.po: Update from translation team.
18549 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18551 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18552 is added to the list.
18554 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18555 Ulrich Drepper <drepper@gmail.com>
18557 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18558 the global list here. Move code to...
18559 (_dl_add_to_namespace_list): ...here. New function.
18560 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18561 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18562 * elf/dl-load.c (lose): Don't remove the element from the list.
18563 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18564 (_dl_map_object): Likewise.
18566 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18569 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18570 into all bytes of SSE register.
18571 Patch by Richard Li <richardpku@gmail.com>.
18573 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18576 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18579 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18581 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18582 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18583 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18584 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18589 2010-10-22 Andreas Schwab <schwab@redhat.com>
18591 * include/dlfcn.h (__RTLD_SECURE): Define.
18592 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18593 mode & __RTLD_SECURE instead.
18594 (open_path): Rename preloaded parameter to secure.
18595 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18596 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18597 * elf/dl-deps.c (openaux): Likewise.
18598 * elf/rtld.c (struct map_args): Remove is_preloaded.
18599 (map_doit): Don't use it.
18600 (dl_main): Likewise.
18601 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18602 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18604 2010-09-09 Andreas Schwab <schwab@redhat.com>
18606 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18607 (sysd-rules-targets): Remove duplicates.
18608 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18609 rtld-%.$o dependency.
18611 2010-10-18 Andreas Schwab <schwab@redhat.com>
18613 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18614 _dl_map_object do it.
18616 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18618 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18619 fast fma builtins, define the macros in the C99 standard.
18620 (FP_FAST_FMAF): Likewise.
18621 (FP_FAST_FMAL): Likewise.
18622 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18624 * bits/mathdef.h: Update copyright year.
18625 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18627 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18629 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18630 builtins, define the macros in the C99 standard.
18631 (FP_FAST_FMAF): Likewise.
18632 (FP_FAST_FMAL): Likewise.
18633 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18635 (FP_FAST_FMAF): Likewise.
18637 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18640 * math/libm-test.inc (fma_test): Some new testcases.
18641 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18642 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18643 y and infinite z. Do multiplication by C already in long double.
18644 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18646 y and infinite z. Do bitwise or of inexact bit into u.d.
18647 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18648 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18649 * sysdeps/i386/fpu/s_fma.S: Removed.
18650 * sysdeps/i386/fpu/s_fmal.S: Removed.
18652 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18655 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18656 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18657 computation is not scheduled after fetestexcept. Fix value
18658 of minimum denormal long double.
18660 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18663 * math/libm-test.inc (fma_test): Add some more tests.
18664 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18667 2010-10-15 Andreas Schwab <schwab@redhat.com>
18669 * scripts/data/localplt-s390-linux-gnu.data: New file.
18670 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18672 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18675 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18676 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18678 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18680 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18681 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18682 if one of x and y is very large and the other is subnormal.
18683 * sysdeps/s390/fpu/s_fmaf.c: New file.
18684 * sysdeps/s390/fpu/s_fma.c: New file.
18685 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18686 * sysdeps/powerpc/fpu/s_fma.S: New file.
18687 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18688 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18689 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18691 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18694 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18696 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18697 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18698 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18699 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18700 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18701 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18702 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18704 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18707 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18708 * posix/bug-regex31.input: Add test case.
18710 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18712 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18713 * posix/bug-regex31.input: New file.
18716 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18717 (parse_sub_exp): Fix last change, use postorder.
18719 * posix/bug-regex31.c: New file.
18720 * posix/Makefile: Add rules to build and run bug-regex31.
18722 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18725 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18728 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18729 to have entries in sys_siglist.
18732 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18735 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18738 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18739 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18740 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18741 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18742 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18743 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18744 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18745 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18746 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18747 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18748 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18749 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18750 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18751 * math/ftestexcept.c (fetestexcept): Likewise.
18752 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18753 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18754 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18755 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18756 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18757 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18758 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18760 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18763 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18766 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18768 * string/bug-strstr1.c: New file.
18769 * string/Makefile: Add rules to build and run bug-strstr1.
18771 2010-10-05 Eric Blake <eblake@redhat.com>
18774 * string/str-two-way.h (two_way_long_needle): Always clear memory
18775 when skipping input due to the shift table.
18777 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18780 * malloc/mcheck.c: Handle large requests.
18783 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18784 for strncmp and strncasecmp.
18785 * string/stratcliff.c: Add tests for strcmp and strncmp.
18786 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18788 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18790 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18793 2010-09-30 Andreas Jaeger <aj@suse.de>
18795 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18796 (CGROUP_SUPER_MAGIC): Define.
18797 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18798 Handle btrfs and cgroup file systems.
18799 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18802 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18804 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18805 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18807 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18810 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18811 trying to locate the ELF header.
18813 2010-09-27 Andreas Schwab <schwab@redhat.com>
18816 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18817 Mask out sign-bit copies when constructing f_fsid.
18819 2010-09-24 Petr Baudis <pasky@suse.cz>
18821 * debug/stack_chk_fail_local.c: Add missing licence exception.
18822 * debug/warning-nop.c: Likewise.
18824 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18826 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18827 implementing getdents64 using getdents syscall, set d_type if
18828 __ASSUME_GETDENTS32_D_TYPE.
18830 2010-09-16 Andreas Schwab <schwab@redhat.com>
18832 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18833 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18835 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18838 * posix/unistd.h: Undo change of feature selection for ftruncate from
18841 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18843 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18846 2010-09-20 Andreas Schwab <schwab@redhat.com>
18848 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18850 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18852 2010-09-14 Andreas Schwab <schwab@redhat.com>
18854 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18855 variables after CHECK_SP call.
18856 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18858 2010-09-13 Andreas Schwab <schwab@redhat.com>
18859 Ulrich Drepper <drepper@redhat.com>
18861 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18862 re-relocationg ld.so.
18863 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18864 _dl_init_paths call.
18865 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18868 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18870 * resolv/res_init.c (__res_vinit): Count the default server we added.
18872 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18873 Ulrich Drepper <drepper@redhat.com>
18876 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18877 (____longjmp_chk): Use %ebx for saving value across system call.
18880 2010-09-06 Andreas Schwab <schwab@redhat.com>
18882 * manual/Makefile: Don't mix pattern rules with normal rules.
18884 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18886 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18888 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18889 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18890 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18891 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18892 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18895 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18898 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18899 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18901 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18903 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18904 * sysdeps/x86_64/addmul_1.S: Likewise.
18905 * sysdeps/x86_64/lshift.S: Likewise.
18906 * sysdeps/x86_64/mul_1.S: Likewise.
18907 * sysdeps/x86_64/rshift.S: Likewise.
18908 * sysdeps/x86_64/sub_n.S: Likewise.
18909 * sysdeps/x86_64/submul_1.S: Likewise.
18911 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18913 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18914 Define __sched_param instead of SCHED_* and sched_param when
18915 <bits/sched.h> is included with __need_schedparam defined.
18916 * bits/sched.h [__need_schedparam]
18917 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18918 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18919 (__defined_schedparam): Define to 1.
18920 (__sched_param): New structure, identical to sched_param.
18921 (__need_schedparam): Undefine.
18923 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18925 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18926 (epoll_create1): Declare.
18928 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18930 2010-08-31 Andreas Schwab <schwab@redhat.com>
18933 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18934 shifting retval into place.
18936 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18938 * nis/rpcsvc/nis.h: Update copyright notice.
18939 * nis/rpcsvc/nis.x: Likewise.
18940 * nis/rpcsvc/nis_callback.h: Likewise.
18941 * nis/rpcsvc/nis_callback.x: Likewise.
18942 * nis/rpcsvc/nis_object.x: Likewise.
18943 * nis/rpcsvc/nis_tags.h: Likewise.
18944 * nis/rpcsvc/yp.h: Likewise.
18945 * nis/rpcsvc/yp.x: Likewise.
18946 * nis/rpcsvc/ypupd.h: Likewise.
18947 * nis/yp_xdr.c: Likewise.
18948 * nis/ypupdate_xdr.c: Likewise.
18950 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18951 mainly the body of pmap_getport. Add parameters to specify timeouts.
18952 (pmap_getport): Use __libc_rpc_getport.
18953 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18954 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18955 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18957 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18962 2010-08-27 Roland McGrath <roland@redhat.com>
18964 * sysdeps/i386/i686/multiarch/Makefile
18965 (CFLAGS-varshift.c): New variable.
18967 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18969 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18970 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18972 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18974 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18976 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18978 * sysdeps/x86_64/strlen.S: Unroll the loop.
18979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18980 strlen-sse2 strlen-sse2-bsf.
18981 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18982 __strlen_no_bsf if bit_Slow_BSF is set.
18983 (__strlen_sse42): Removed.
18984 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18985 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18987 2010-08-25 Roland McGrath <roland@redhat.com>
18989 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18990 * sysdeps/x86_64/multiarch/varshift.c: New file.
18991 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18992 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18993 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18994 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18996 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18999 strlen-sse2 strlen-sse2-bsf.
19000 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19001 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19002 (__strlen_sse2): Removed.
19003 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19004 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19006 bit_Slow_BSF for Atom.
19007 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19008 (index_Slow_BSF): Define.
19009 (HAS_SLOW_BSF): Define.
19011 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19014 * resolv/res_init.c (__res_vinit): When no server address at all
19015 is given default to loopback.
19017 2010-08-24 Roland McGrath <roland@redhat.com>
19019 * configure.in: Remove config-name.h generation.
19020 * configure: Regenerated.
19021 * config-name.in: File removed.
19022 * scripts/config-uname.sh: New file.
19023 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19024 ($(objdir)config-name.h): New target.
19026 * sunrpc/rpc_parse.h: Avoid nested comment.
19028 2010-08-24 Richard Henderson <rth@redhat.com>
19029 Ulrich Drepper <drepper@redhat.com>
19030 H.J. Lu <hongjiu.lu@intel.com>
19032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19034 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19035 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19036 _mm_alignr_epi8 with _mm_loadu_si128.
19037 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19038 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19039 (__m128i_shift_right): Removed.
19040 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19041 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19042 * sysdeps/x86_64/multiarch/varshift.h: New file.
19043 * sysdeps/x86_64/multiarch/varshift.S: New file.
19045 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19047 * configure.in: Move assembler checks to before sysdep dir checking.
19049 2010-08-20 Petr Baudis <pasky@suse.cz>
19051 * LICENSES: Sync the sunrpc license.
19053 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19055 * sunrpc/auth_des.c: Update copyright notice once again.
19056 * sunrpc/auth_none.c: Likewise.
19057 * sunrpc/auth_unix.c: Likewise.
19058 * sunrpc/authdes_prot.c: Likewise.
19059 * sunrpc/authuxprot.c: Likewise.
19060 * sunrpc/bindrsvprt.c: Likewise.
19061 * sunrpc/clnt_gen.c: Likewise.
19062 * sunrpc/clnt_perr.c: Likewise.
19063 * sunrpc/clnt_raw.c: Likewise.
19064 * sunrpc/clnt_simp.c: Likewise.
19065 * sunrpc/clnt_tcp.c: Likewise.
19066 * sunrpc/clnt_udp.c: Likewise.
19067 * sunrpc/clnt_unix.c: Likewise.
19068 * sunrpc/des_crypt.c: Likewise.
19069 * sunrpc/des_soft.c: Likewise.
19070 * sunrpc/get_myaddr.c: Likewise.
19071 * sunrpc/getrpcport.c: Likewise.
19072 * sunrpc/key_call.c: Likewise.
19073 * sunrpc/key_prot.c: Likewise.
19074 * sunrpc/openchild.c: Likewise.
19075 * sunrpc/pm_getmaps.c: Likewise.
19076 * sunrpc/pm_getport.c: Likewise.
19077 * sunrpc/pmap_clnt.c: Likewise.
19078 * sunrpc/pmap_prot.c: Likewise.
19079 * sunrpc/pmap_prot2.c: Likewise.
19080 * sunrpc/pmap_rmt.c: Likewise.
19081 * sunrpc/rpc/auth.h: Likewise.
19082 * sunrpc/rpc/auth_unix.h: Likewise.
19083 * sunrpc/rpc/clnt.h: Likewise.
19084 * sunrpc/rpc/des_crypt.h: Likewise.
19085 * sunrpc/rpc/key_prot.h: Likewise.
19086 * sunrpc/rpc/netdb.h: Likewise.
19087 * sunrpc/rpc/pmap_clnt.h: Likewise.
19088 * sunrpc/rpc/pmap_prot.h: Likewise.
19089 * sunrpc/rpc/pmap_rmt.h: Likewise.
19090 * sunrpc/rpc/rpc.h: Likewise.
19091 * sunrpc/rpc/rpc_des.h: Likewise.
19092 * sunrpc/rpc/rpc_msg.h: Likewise.
19093 * sunrpc/rpc/svc.h: Likewise.
19094 * sunrpc/rpc/svc_auth.h: Likewise.
19095 * sunrpc/rpc/types.h: Likewise.
19096 * sunrpc/rpc/xdr.h: Likewise.
19097 * sunrpc/rpc_clntout.c: Likewise.
19098 * sunrpc/rpc_cmsg.c: Likewise.
19099 * sunrpc/rpc_common.c: Likewise.
19100 * sunrpc/rpc_cout.c: Likewise.
19101 * sunrpc/rpc_dtable.c: Likewise.
19102 * sunrpc/rpc_hout.c: Likewise.
19103 * sunrpc/rpc_main.c: Likewise.
19104 * sunrpc/rpc_parse.c: Likewise.
19105 * sunrpc/rpc_parse.h: Likewise.
19106 * sunrpc/rpc_prot.c: Likewise.
19107 * sunrpc/rpc_sample.c: Likewise.
19108 * sunrpc/rpc_scan.c: Likewise.
19109 * sunrpc/rpc_scan.h: Likewise.
19110 * sunrpc/rpc_svcout.c: Likewise.
19111 * sunrpc/rpc_tblout.c: Likewise.
19112 * sunrpc/rpc_util.c: Likewise.
19113 * sunrpc/rpc_util.h: Likewise.
19114 * sunrpc/rpcinfo.c: Likewise.
19115 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19116 * sunrpc/rpcsvc/key_prot.x: Likewise.
19117 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19118 * sunrpc/rpcsvc/mount.x: Likewise.
19119 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19120 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19121 * sunrpc/rpcsvc/rex.x: Likewise.
19122 * sunrpc/rpcsvc/rstat.x: Likewise.
19123 * sunrpc/rpcsvc/rusers.x: Likewise.
19124 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19125 * sunrpc/rpcsvc/spray.x: Likewise.
19126 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19127 * sunrpc/rtime.c: Likewise.
19128 * sunrpc/svc.c: Likewise.
19129 * sunrpc/svc_auth.c: Likewise.
19130 * sunrpc/svc_authux.c: Likewise.
19131 * sunrpc/svc_raw.c: Likewise.
19132 * sunrpc/svc_run.c: Likewise.
19133 * sunrpc/svc_simple.c: Likewise.
19134 * sunrpc/svc_tcp.c: Likewise.
19135 * sunrpc/svc_udp.c: Likewise.
19136 * sunrpc/svc_unix.c: Likewise.
19137 * sunrpc/svcauth_des.c: Likewise.
19138 * sunrpc/xcrypt.c: Likewise.
19139 * sunrpc/xdr.c: Likewise.
19140 * sunrpc/xdr_array.c: Likewise.
19141 * sunrpc/xdr_float.c: Likewise.
19142 * sunrpc/xdr_mem.c: Likewise.
19143 * sunrpc/xdr_rec.c: Likewise.
19144 * sunrpc/xdr_ref.c: Likewise.
19145 * sunrpc/xdr_sizeof.c: Likewise.
19146 * sunrpc/xdr_stdio.c: Likewise.
19148 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19151 2010-08-19 Andreas Schwab <schwab@redhat.com>
19153 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19155 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19157 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19158 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19159 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19160 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19161 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19162 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19163 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19164 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19165 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19166 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19167 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19168 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19169 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19170 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19172 2010-07-26 Anton Blanchard <anton@samba.org>
19174 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19175 * malloc/arena.c (heap_trim): Likewise.
19177 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19179 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19181 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19182 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19184 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19186 * sysdeps/i386/elf/Makefile: New file.
19188 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19190 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19191 from fanotify_init.
19192 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19193 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19195 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19197 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19199 * sysdeps/multiarch/strcmp.S: Likewise.
19201 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19203 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19204 strncase_l-nonascii.
19205 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19206 Add strncase_l-ssse3.
19207 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19208 * sysdeps/x86_64/strcmp.S: Likewise.
19209 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19210 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19211 * sysdeps/x86_64/strncase.S: New file.
19212 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19213 * sysdeps/x86_64/strncase_l.S: New file.
19214 * string/Makefile (strop-tests): Add strncasecmp.
19215 * string/test-strncasecmp.c: New file.
19217 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19220 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19221 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19223 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19225 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19227 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19229 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19230 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19231 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19233 2010-05-01 Alan Modra <amodra@gmail.com>
19235 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19236 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19237 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19238 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19239 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19240 tidying. Don't tail-call __sigjmp_save for static lib.
19241 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19243 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19244 (CALL_MCOUNT): Add eh info, and nop after bl.
19245 (TAIL_CALL_SYSCALL_ERROR): New macro.
19246 (PSEUDO_RET): Use it.
19247 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19248 Correct save location of integer regs and cr.
19249 (_dl_profile_resolve): Correct cr save location. Delete nops
19250 after bl when SHARED. Reduce cfi size a little by better
19251 placement of cfi directives.
19252 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19253 make a stack frame. Instead use parm save area as a temp.
19254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19255 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19257 Don't make a stack frame for parent, use parm save area.
19258 Increase child stack frame to 112 bytes. Don't save unused reg,
19259 and adjust reg usage. Set up cfi on error recovery and
19260 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19262 (__makecontext): Add dummy nop after jump to exit.
19263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19264 Use correct parm save area and cr save, reduce stack frame.
19265 Correct cfi for possible PSEUDO_RET frame setup.
19266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19267 Branch to local label emitted by PSEUDO_RET rather than
19270 2010-08-12 Andreas Schwab <schwab@redhat.com>
19273 * locale/programs/locale.c (print_assignment): New function.
19274 (show_locale_vars): Use it.
19276 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19278 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19280 (struct statfs64): Likewise.
19281 (_STATFS_F_FLAGS): Define.
19282 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19283 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19284 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19285 (ST_VALID): Define locally.
19286 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19287 __statvfs_getflags, use the provided value.
19288 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19289 __ASSUME_STATFS_F_FLAGS.
19291 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19293 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19294 Add sys/fanotify.h.
19295 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19296 fanotify_mask for GLIBC_2.13.
19297 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19298 fanotify_init and fanotify_mark.
19299 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19300 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19302 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19304 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19305 prlimit64 for GLIBC_2.13.
19306 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19308 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19311 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19312 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19313 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19314 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19316 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19319 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19320 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19322 * nss/Makefile: Add rules to build and run tst-nss-test1.
19323 * shlib-versions: Add entry for libnss_test1.
19324 * nss/nss_test1.c: New file.
19325 * nss/tst-nss-test1.c: New file.
19327 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19328 (__nss_configure_lookup): Set appropriate entry in
19329 __nss_configure_lookup to true.
19330 * nss/nsswitch.h: Define enum with indeces of databases in
19331 databases and __nss_database_custom arrays. Declare
19332 __nss_database_custom.
19333 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19334 to avoid using nscd when custom rules are installed.
19335 * nss/getXXbyYY_r.c: Likewise.
19336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19338 * nss/nss_files/files-parse.c: Whitespace fixes.
19340 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19343 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19344 * posix/fnmatch_loop.c: Likewise.
19346 2010-07-17 Andi Kleen <ak@linux.intel.com>
19348 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19349 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19350 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19351 * Versions.def [GLIBC_2.13]: Add.
19353 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19355 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19356 Also fail if tpwd after pwuid call is NULL.
19358 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19360 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19361 when converting to ms.
19363 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19365 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19366 EOPNOTSUPP errors with ENOTTY.
19367 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19368 EOPNOTSUPP errors with ENOTTY.
19370 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19372 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19373 Add strcasecmp_l-ssse3.
19374 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19376 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19377 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19378 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19380 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19382 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19384 * string/Makefile (strop-tests): Add strcasecmp.
19385 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19386 strcasecmp_l-nonascii.
19387 (gen-as-const-headers): Add locale-defines.sym.
19388 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19389 * sysdeps/x86_64/strcasecmp.S: New file.
19390 * sysdeps/x86_64/strcasecmp_l.S: New file.
19391 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19392 * sysdeps/x86_64/locale-defines.sym: New file.
19393 * string/test-strcasecmp.c: New file.
19395 * string/test-strcasestr.c: Test both ends of the range of characters.
19396 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19398 2010-07-29 Roland McGrath <roland@redhat.com>
19401 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19403 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19405 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19408 2010-07-27 Andreas Schwab <schwab@redhat.com>
19410 * manual/memory.texi (Malloc Tunable Parameters): Document
19413 2010-07-26 Roland McGrath <roland@redhat.com>
19416 * configure.in (-fgnu89-inline check): Set and substitute
19417 gnu89_inline, not libc_cv_gnu89_inline.
19418 * configure: Regenerated.
19419 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19421 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19423 * string/test-strnlen.c: New file.
19424 * string/Makefile (strop-tests): Add strnlen.
19425 * string/tester.c (test_strnlen): Add a few more test cases.
19426 * string/tst-strlen.c: Better error reporting.
19428 * sysdeps/x86_64/strnlen.S: New file.
19430 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19432 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19433 lower-latency instructions.
19435 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19437 * string/test-strcasestr.c: New file.
19438 * string/test-strstr.c: New file.
19439 * string/Makefile (strop-tests): Add strstr and strcasestr.
19440 * string/str-two-way.h: Don't undefine MAX.
19441 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19443 2010-07-21 Andreas Schwab <schwab@redhat.com>
19445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19446 strcasestr-nonascii.
19447 (CFLAGS-strcasestr-nonascii.c): Define.
19448 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19449 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19450 Remove unused attribute.
19452 2010-07-20 Roland McGrath <roland@redhat.com>
19454 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19455 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19456 ld.so.cache was broken. With it, there is no way to disable dsocaps
19457 like LD_HWCAP_MASK can disable hwcaps.
19459 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19461 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19463 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19465 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19466 call in strcasestr.
19467 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19468 __strcasestr_sse42_nonascii.
19469 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19470 strcasestr-nonascii.c.
19471 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19473 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19475 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19476 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19477 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19478 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19480 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19482 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19485 2010-07-06 Andreas Schwab <schwab@redhat.com>
19488 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19491 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19493 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19494 _PC_PIPE_BUF using F_GETPIPE_SZ.
19496 2010-07-05 Roland McGrath <roland@redhat.com>
19498 * manual/arith.texi (Rounding Functions): Fix rint description
19499 implicit in round description.
19501 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19503 * elf/Makefile: Fix linking for a few tests to make recent linker
19506 2010-06-30 Andreas Schwab <schwab@redhat.com>
19508 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19509 $(common-objpfx)libc_nonshared.a.
19511 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19513 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19514 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19515 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19516 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19517 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19518 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19519 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19520 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19535 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19536 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19537 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19538 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19539 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19540 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19541 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19542 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19543 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19544 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19545 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19546 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19562 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19564 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19565 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19566 * string/memmove.c (memmove): Renamed to ...
19567 (MEMMOVE): ...this. Default to memmove.
19568 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19569 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19572 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19573 mempcpy-ssse3-back memmove-ssse3-back.
19574 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19575 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19576 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19577 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19578 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19579 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19580 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19581 * sysdeps/x86_64/multiarch/memmove.c: New file.
19582 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19583 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19584 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19585 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19586 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19587 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19589 (index_Fast_Copy_Backward): Define.
19590 (HAS_ARCH_FEATURE): Define.
19591 (HAS_FAST_REP_STRING): Define.
19592 (HAS_FAST_COPY_BACKWARD): Define.
19594 2010-06-21 Andreas Schwab <schwab@redhat.com>
19596 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19597 Restore proper fallback handling.
19599 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19602 * posix/group_member.c (__group_member): Correct checking loop.
19604 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19605 OOM in getpwuid_r correctly. Return error number when the caller
19606 should return, otherwise -1.
19607 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19608 call returning > 0 value.
19609 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19611 2010-06-07 Andreas Schwab <schwab@redhat.com>
19613 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19614 libc_nonshared.a from targets in modules-names.
19616 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19618 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19621 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19623 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19624 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19625 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19626 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19628 2010-06-02 Andreas Schwab <schwab@redhat.com>
19630 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19632 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19634 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19636 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19637 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19640 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19641 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19643 2010-06-14 Roland McGrath <roland@redhat.com>
19645 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19647 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19649 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19650 __REDIRECT followed by __THROW.
19651 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19652 * posix/getopt.h (getopt): Likewise.
19654 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19656 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19657 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19658 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19660 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19661 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19663 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19665 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19667 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19671 Properly check family and model.
19673 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19675 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19677 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19679 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19681 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19683 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19686 2010-05-19 Andreas Schwab <schwab@redhat.com>
19688 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19691 2010-05-21 Andreas Schwab <schwab@redhat.com>
19693 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19694 and internal_recvmmsg.
19695 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19696 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19697 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19698 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19700 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19701 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19702 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19704 2010-05-20 Andreas Schwab <schwab@redhat.com>
19706 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19708 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19710 POWER7 optimizations.
19711 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19712 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19714 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19716 * version.h: Update for 2.13 development version.
19718 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19720 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19721 exceptions. Return 0.
19723 2010-05-07 Roland McGrath <roland@redhat.com>
19725 * elf/ldconfig.c (main): Add a const.
19727 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19729 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19730 (args_options): Add no-idn option.
19731 (ahosts_keys_int): Add idn_flags to ai_flags.
19732 (parse_option): Handle 'i' option to clear idn_flags.
19734 * malloc/malloc.c (_int_free): Possible race in the most recently
19735 added check. Only act on the data if no current modification
19738 See ChangeLog.17 for earlier changes.