1 2012-09-28 Roland McGrath <roland@hack.frob.com>
3 * nss/nsswitch.c (nss_new_service): Conditionalize definition on
4 [!DO_STATIC_NSS || SHARED], matching its only caller.
6 2012-09-28 David S. Miller <davem@davemloft.net>
8 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17 when HWCAP_SPARC_CRYPTO is present.
19 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
21 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26 * stdio-common/vfprintf.c (process_string_arg): Revert
29 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33 * stdio-common/tst-sprintf.c: Include <locale.h>
34 (main): Test sprintf's handling of incomplete multibyte
37 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
39 * elf/dl-runtime.c (VERSYMIDX): Removed.
40 * elf/dl-version.c (VERSYMIDX): Likewise.
41 * elf/do-rel.h (VERSYMIDX): Likewise.
43 * elf/dynamic-link.h (VERSYMIDX): Likewise.
44 * elf/rtld.c (VALIDX): Likewise.
46 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
47 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
48 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
49 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
55 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
60 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
62 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
63 addresses are in the same scope as 192.0.2/24.
64 * posix/gai.conf: Document new scope table defaults.
66 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
70 for ftell. Compute offsets from write pointers instead.
71 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76 * libio/Makefile (tests): New test case tst-fseek.
77 * libio/tst-fseek.c: New test case to verify that fseek/ftell
78 combination works in wide mode.
79 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
80 state when the external buffer state changes.
82 2012-09-27 David S. Miller <davem@davemloft.net>
85 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
86 pass reloc->r_addend in as the 'high' argument to
87 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
89 * sysdeps/sparc/fpu/libm-test-ulps: Update.
91 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
93 * rt/tst-aio2.c: Include <pthread.h>.
94 * rt/tst-aio3.c: Likewise.
96 2012-09-27 Steve Ellcey <sellcey@mips.com>
98 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
100 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
102 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
103 contents on [SHARED].
105 2012-09-26 Marek Polacek <polacek@redhat.com>
109 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
110 for C++ and GCC <4.3 as well as for non GCC compilers.
112 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
116 2012-09-25 Roland McGrath <roland@hack.frob.com>
118 * Makefile.in (all, install): Declare with .PHONY.
119 Reported by Michael Hope <michael.hope@linaro.org>.
121 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
123 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
124 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
126 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
128 (sydep_routines): Add the new and the internal functions.
129 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
130 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
132 (GLIBC_2.17): Add the new function.
133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
134 (GLIBC_2.17): Likewise.
135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
136 (GLIBC_2.17): Likewise.
137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
138 (GLIBC_2.17): Likewise.
139 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
141 2012-09-25 Alan Modra <amodra@gmail.com>
143 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
144 Add release barrier before setting once_control to say
145 initialisation is done. Add hints on lwarx. Use macro in
147 (clear_once_control): Add release barrier.
149 2012-09-25 Joseph Myers <joseph@codesourcery.com>
152 * math/s_clog.c (__clog): Handle more values close to |z| = 1
154 * math/s_clog10.c (__clog10): Likewise.
155 * math/s_clog10f.c (__clog10f): Likewise.
156 * math/s_clog10l.c (__clog10l): Likewise.
157 * math/s_clogf.c (__clogf): Likewise.
158 * math/s_clogl.c (__clogl): Likewise.
159 * math/Makefile (libm-calls): Add x2y2m1.
160 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
161 (__x2y2m1): Likewise.
162 (__x2y2m1l): Likewise.
163 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
164 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
165 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
166 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
167 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
168 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
169 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
170 * sysdeps/i386/fpu/libm-test-ulps: Update.
171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
174 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
175 int as type of variable DEPTH.
176 (glob): Use size_t instead of int as type of variables NEWCOUNT
179 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
181 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
183 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
184 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
185 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
186 macros for using routine as __sincosf_ia32.
187 Use macro for function declaration and weak_alias.
188 * sysdeps/i386/fpu/libm-test-ulps: Update.
190 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
193 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
195 * math/s_cexpf.c (__cexpf): Likewise.
196 * math/s_csinf.c (__csinf): Likewise.
197 * math/s_csinhf.c (__csinhf): Likewise.
198 * math/s_ctanf.c (__ctanf): Likewise.
199 * math/s_ctanhf.c (__ctanhf): Likewise.
200 * math/s_ccosh.c (__ccoshf): Likewise.
201 * math/s_cexp.c (__cexpl): Likewise.
202 * math/s_csin.c (__csin): Likewise.
203 * math/s_csinh.c (__csinh): Likewise.
204 * math/s_ctan.c (__ctan): Likewise.
205 * math/s_ctanh.c (ctanh): Likewise.
206 * math/s_ccoshl.c (__ccoshl): Likewise.
207 * math/s_cexpl.c (__cexpl): Likewise.
208 * math/s_csinl.c (__csinl): Likewise.
209 * math/s_csinhl.c (__csinhl): Likewise.
210 * math/s_ctanl.c (__ctanl): Likewise.
211 * math/s_ctanhl.c (__ctanhl): Likewise.
213 2012-09-25 Joseph Myers <joseph@codesourcery.com>
215 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
216 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
217 (_IO_off_t): Define to __off_t, not _G_off_t.
218 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
219 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
220 (_IO_wint_t): Define to wint_t, not _G_wint_t.
221 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
222 type of __dummy and __dummy2 fields.
223 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
224 (_G_ssize_t): Likewise.
225 (_G_off_t): Likewise.
226 (_G_pid_t): Likewise.
227 (_G_uid_t): Likewise.
228 (_G_wchar_t): Likewise.
229 (_G_wint_t): Likewise.
230 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
231 (_G_ssize_t): Likewise.
232 (_G_off_t): Likewise.
233 (_G_pid_t): Likewise.
234 (_G_uid_t): Likewise.
235 (_G_wchar_t): Likewise.
236 (_G_wint_t): Likewise.
237 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
238 (_G_ssize_t): Likewise.
239 (_G_off_t): Likewise.
240 (_G_pid_t): Likewise.
241 (_G_uid_t): Likewise.
242 (_G_wchar_t): Likewise.
243 (_G_wint_t): Likewise.
245 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
247 * malloc/arena.c: Include malloc-sysdep.h.
248 (shrink_heap): Use check_may_shrink_heap to decide if madvise
249 is sufficient to shrink the heap or an unmap is needed.
250 * sysdeps/generic/malloc-sysdep.h: New file. Define
251 new function check_may_shrink_heap.
252 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
253 new function check_may_shrink_heap.
255 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
257 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
260 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
262 * catgets/test-gencat.sh: Add "set -e".
263 * elf/tst-pathopt.sh: Likewise.
264 * grp/tst_fgetgrent.sh: Likewise.
265 * iconvdata/run-iconv-test.sh: Likewise.
266 * intl/tst-gettext.sh: Likewise.
267 * intl/tst-gettext2.sh: Likewise.
268 * intl/tst-gettext4.sh: Likewise.
269 * intl/tst-gettext6.sh: Likewise.
270 * intl/tst-translit.sh: Likewise.
271 * io/ftwtest-sh: Likewise.
272 * libio/test-freopen.sh: Likewise.
273 * malloc/tst-mtrace.sh: Likewise.
274 * posix/globtest.sh: Likewise.
275 * posix/tst-getconf.sh: Likewise.
276 * posix/wordexp-tst.sh: Likewise.
277 * stdio-common/tst-printf.sh: Likewise.
278 * stdio-common/tst-unbputc.sh: Likewise.
279 * stdlib/tst-fmtmsg.sh: Likewise.
280 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
281 * catgets/Makefile: Do not specify -e option when running
282 testsuite shell scripts.
283 * elf/Makefile: Likewise.
284 * grp/Makefile: Likewise.
285 * iconvdata/Makefile: Likewise.
286 * intl/Makefile: Likewise.
287 * io/Makefile: Likewise.
288 * libio/Makefile: Likewise.
289 * malloc/Makefile: Likewise.
290 * posix/Makefile: Likewise.
291 * stdio-common/Makefile: Likewise.
292 * stdlib/Makefile: Likewise.
293 * sysdeps/x86_64/Makefile: Likewise.
295 * io/ftwtest-sh: Add copyright header.
296 * posix/globtest.sh: Likewise.
297 * posix/tst-getconf.sh: Likewise.
298 * posix/wordexp-tst.sh: Likewise.
299 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
301 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
304 * Makeconfig (+link): Defined as $(+link-static) if
305 $(build-shared) isn't yes.
306 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
308 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
310 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
313 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
314 new chunk size with MALLOC_ALIGN_MASK.
316 2012-09-24 Joseph Myers <joseph@codesourcery.com>
319 * stdio-common/printf_fphex.c: Include <stdbool.h> and
321 (__printf_fphex): Determine rounding using get_rounding_mode and
323 * stdio-common/tst-printf-round.c (struct hex_test): New
325 (hex_tests): New variable.
326 (test_hex_in_one_mode): New function.
327 (do_test): Also run tests for hex float output.
329 2012-09-21 Joseph Myers <joseph@codesourcery.com>
331 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
332 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
333 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
334 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
335 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
336 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
337 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
338 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
340 2012-09-20 Joseph Myers <joseph@codesourcery.com>
342 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
343 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
344 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
345 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
347 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
350 * elf/rtld.c (dl_main): Limit the check for self loading to normal
352 * elf/tst-rtld-load-self.sh: New test.
353 * elf/Makefile: Run it.
355 2012-09-18 Joseph Myers <joseph@codesourcery.com>
357 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
358 (tst-writev-ENV): Remove.
359 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
361 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
363 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
365 2012-09-17 Joseph Myers <joseph@codesourcery.com>
367 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
369 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
371 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
372 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
373 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
376 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
379 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
380 * config.make.in (have-cpp-asm-debuginfo): Removed.
381 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
382 * configure: Regenerated.
384 2012-09-14 Joseph Myers <joseph@codesourcery.com>
387 * stdio-common/printf_fp.c: Include <stdbool.h> and
389 (___printf_fp): Determine rounding using get_rounding_mode and
391 * stdio-common/tst-printf-round.c: New file.
392 * stdio-common/Makefile (tests): Add tst-printf-round.
393 (link-libm): New variable.
394 ($(objpfx)tst-printf-round): Depend in $(link-libm).
396 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
399 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
400 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
402 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
405 2012-09-13 Joseph Myers <joseph@codesourcery.com>
407 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
408 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
409 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
410 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
412 2012-09-12 Joseph Myers <joseph@codesourcery.com>
415 * include/rounding-mode.h: New file.
416 * sysdeps/generic/get-rounding-mode.h: Likewise.
417 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
418 * stdlib/strtod_l.c: Include <rounding-mode.h>.
419 (MAX_VALUE): New macro.
420 (MIN_VALUE): Likewise.
421 (overflow_value): New function.
422 (underflow_value): Likewise.
423 (round_and_return): Use overflow_value and underflow_value to
424 determine return values in overflow and underflow cases. Use
425 round_away to determine rounding depending on rounding mode.
426 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
427 determine return values in overflow and underflow cases.
428 * stdlib/tst-strtod-round.c: Include <fenv.h>.
429 (struct test_results): New structure.
430 (struct test): Use struct test_results to store expected results
431 for all rounding modes.
432 (TEST): Include expected results for all rounding modes.
433 (test_in_one_mode): New function.
434 (do_test): Use test_in_one_mode to compute and check results.
435 Check results for all rounding modes.
436 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
439 2012-12-09 Allan McRae <allan@archlinux.org>
441 * sysdeps/i386/fpu/libm-test-ulps: Update
443 2012-09-11 Joseph Myers <joseph@codesourcery.com>
445 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
446 (_G_int32_t): Likewise.
447 (_G_uint16_t): Likewise.
448 (_G_uint32_t): Likewise.
449 (_G_HAVE_BOOL): Likewise.
450 (_G_HAVE_ATEXIT): Likewise.
451 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
452 (_G_HAVE_IO_FILE_OPEN): Likewise.
453 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
454 (_G_int32_t): Likewise.
455 (_G_uint16_t): Likewise.
456 (_G_uint32_t): Likewise.
457 (_G_HAVE_BOOL): Likewise.
458 (_G_HAVE_ATEXIT): Likewise.
459 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
460 (_G_HAVE_IO_FILE_OPEN): Likewise.
461 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
462 (_G_int32_t): Likewise.
463 (_G_uint16_t): Likewise.
464 (_G_uint32_t): Likewise.
465 (_G_HAVE_BOOL): Likewise.
466 (_G_HAVE_ATEXIT): Likewise.
467 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
468 (_G_HAVE_IO_FILE_OPEN): Likewise.
470 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
472 * csu/libc-tls.c: Update copyright years.
474 2012-09-10 Joseph Myers <joseph@codesourcery.com>
476 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
477 [!_G_USING_THUNKS]: Remove conditional code.
478 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
479 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
481 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
482 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
483 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
484 (_G_VTABLE_LABEL_PREFIX): Likewise.
485 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
486 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
487 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
488 (_G_VTABLE_LABEL_PREFIX): Likewise.
489 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
490 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
491 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
492 (_G_VTABLE_LABEL_PREFIX): Likewise.
493 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
495 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
497 * libio/Makefile: Include ../Makeconfig before tests.
498 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
499 only if $(build-shared) is yes.
501 * iconv/gconv_db.c: Update copyright years.
503 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
505 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
506 unwind info if defined PIC. Fix special cases description.
507 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
509 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
511 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
513 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
515 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
517 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
520 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
521 (LDLIBS-tst-chk4): This.
522 (LDFLAGS-tst-chk5): Renamed to ...
523 (LDLIBS-tst-chk5): This.
524 (LDFLAGS-tst-chk6): Renamed to ...
525 (LDLIBS-tst-chk6): This.
526 (LDFLAGS-tst-lfschk4): Renamed to ...
527 (LDLIBS-tst-lfschk4): This.
528 (LDFLAGS-tst-lfschk5): Renamed to ...
529 (LDLIBS-tst-lfschk5): This.
530 (LDFLAGS-tst-lfschk6): Renamed to ...
531 (LDLIBS-tst-lfschk6): This.
533 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
534 on $(common-objpfx)soversions.mk.
536 2012-09-07 Joseph Myers <joseph@codesourcery.com>
539 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
542 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
544 * malloc/arena.c (arena_get_retry): New function that gets
545 another arena for the caller to try its request on.
546 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
547 current arena cannot fulfill the request.
548 (__libc_memalign): Likewise.
549 (__libc_memalign): Likewise.
550 (__libc_pvalloc): Likewise.
551 (__libc_calloc): Likewise.
553 2012-09-05 John Tobey <john.tobey@gmail.com>
556 * manual/arith.texi (Operations on Complex): Fix description
559 2012-09-06 Joseph Myers <joseph@codesourcery.com>
562 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
566 * manual/memory.texi (Memory): Make order of menu items match
569 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
571 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
572 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
573 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
575 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
577 * csu/libc-tls.c (static_dtv): Renamed to ...
578 (_dl_static_dtv): This. Make it global.
579 (_dl_initial_dtv): Removed.
580 (__libc_setup_tls): Updated.
581 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
582 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
585 2012-09-06 Petr Machata <pmachata@redhat.com>
587 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
588 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
589 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
590 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
592 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
595 * csu/libc-tls.c (_dl_initial_dtv): New variable.
596 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
599 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
602 * Makeconfig (link-static-before-libc): Replace $(+prector)
604 (link-static-after-libc): Replace $(+postctor) with
606 (link-bounded): Replace $(+prector)/$(+postctor) with
607 $(+prectorT)/$(+postctorT).
608 (+prectorT): New macro.
609 (+postctorT): Likewise.
611 2012-09-06 Joseph Myers <joseph@codesourcery.com>
613 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
614 (round_str): Handle values above the maximum for IBM long double
616 * stdlib/tst-strtod-round.c (tests): Regenerated.
618 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
620 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
622 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
623 zarch_nohighgprs around the zarch optimized routines.
624 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
625 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
626 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
629 2012-09-05 David S. Miller <davem@davemloft.net>
631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
633 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
634 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
635 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
636 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
639 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
641 * malloc/arena.c: Fold copyright years.
642 * malloc/mcheck.c, malloc/memusage.c: Likewise.
644 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
646 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
648 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
650 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
652 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
654 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
655 change internal state upon failure.
657 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
659 * malloc/mcheck.c (mcheck_check_all): Fix typo.
660 * malloc/memusage.c (mmap): Likewise.
661 (mmap64, mremap): Likewise. Adjust name in comment.
663 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
665 * libio/fileops.c: Fix typos in comments.
666 * libio/oldfileops.c: Likewise.
667 * libio/wfileops.c: Likewise.
669 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
672 * malloc/Makefile (tests): Add tst-malloc-usable test case.
673 (tst-malloc-usable-ENV): Set environment for test case.
674 * malloc/hooks.c (malloc_check_get_size): New function to get
676 * malloc/malloc.c (musable): Use malloc_check_get_size.
677 * malloc/tst-malloc-usable.c: New test case.
679 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
681 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
683 2012-09-05 Allan McRae <allan@archlinux.org>
686 * configure.in (CXX_SYSINCLUDES): Use compiler output to
687 determine header location.
688 * configure: Regenerated.
690 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
692 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
694 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
695 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
699 2012-09-04 David S. Miller <davem@davemloft.net>
701 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
702 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
703 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
705 2012-09-04 Florian Weimer <fweimer@redhat.com>
707 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
710 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
712 2012-09-04 Joseph Myers <joseph@codesourcery.com>
715 * libio/iogetdelim.c: Include <limits.h>.
716 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
717 + len + 1 would overflow.
719 2012-09-03 Andreas Jaeger <aj@suse.de>
721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
722 * sysdeps/i386/fpu/libm-test-ulps: Update.
724 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
726 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
727 Add s_sinf-sse2, s_conf-sse2.
729 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
730 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
731 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
732 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
734 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
735 for using routine as __sinf_ia32.
736 Use macro for function declaration and weak_alias.
737 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
738 for using routine as __cosf_ia32.
739 Use macro for function declaration and weak_alias.
741 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
742 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
744 * sysdeps/x86_64/fpu/s_sinf.S: New file.
745 * sysdeps/x86_64/fpu/s_cosf.S: New file.
746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
748 * math/libm-test.inc (cos_test): Add more test cases.
749 (sin_test): Likewise.
750 (sincos_test): Likewise.
752 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
754 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
755 (IFUNC_RESOLVE): Make pointers to the specialized implementations
757 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
759 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
762 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
763 first element of the GOT.
764 (elf_machine_load_address): Return the difference between
765 the runtime address of _DYNAMIC and elf_machine_dynamic ().
767 2012-09-01 Allan McRae <allan@archlinux.org>
770 * configure.in (AWK): Require gawk version 3.0 or later.
771 * configure: Regenerated.
773 2012-09-01 Joseph Myers <joseph@codesourcery.com>
775 * sysdeps/unix/sysv/linux/kernel-features.h
776 (__ASSUME_POSIX_CPU_TIMERS): Remove.
777 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
778 [__NR_clock_getres]: Make code unconditional.
779 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
780 (clock_getcpuclockid): Remove code left unreachable by removal of
782 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
784 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
785 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
786 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
787 Make code unconditional.
788 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
789 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
790 * sysdeps/unix/sysv/linux/clock_settime.c
791 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
793 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
794 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
796 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
799 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
800 scripts/test-installation.pl.
802 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
803 and $ld_so_version if it is set.
805 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
808 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
809 failure if reading from procfs failed.
810 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
812 2012-08-27 Joseph Myers <joseph@codesourcery.com>
814 * sysdeps/unix/sysv/linux/kernel-features.h
815 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
816 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
817 Remove conditional code.
818 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
819 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
820 Remove conditional code.
821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
822 * sysdeps/unix/sysv/linux/i386/fxstat.c
823 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
824 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
825 * sysdeps/unix/sysv/linux/i386/fxstatat.c
826 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
827 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
828 * sysdeps/unix/sysv/linux/i386/lxstat.c
829 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
830 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
831 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
832 Remove conditional code.
833 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
834 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
835 Remove conditional code.
836 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
837 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
839 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
841 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
842 Remove conditional code.
843 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
844 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
847 2012-08-27 Mike Frysinger <vapier@gentoo.org>
850 * NEWS: Add fixed bug number.
852 2012-08-27 Joseph Myers <joseph@codesourcery.com>
855 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
856 underflowing exponent in case of negative sign.
857 * stdlib/tst-strtod-round-data: Add more tests.
858 * stdlib/tst-strtod-round.c (tests): Regenerated.
861 * stdlib/strtod_l.c (NDIG): Remove.
863 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
864 smallest representable value.
865 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
866 lie within an exact representation of 1/2 ulp of the result.
867 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
869 (TENS_P9_IDX): Define unconditionally.
870 (TENS_P9_SIZE): Likewise.
871 (TENS_P10_IDX): Likewise.
872 (TENS_P10_SIZE): Likewise.
873 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
874 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
875 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
876 entries for 10^2^13 and 10^2^14.
877 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
878 (TENS_P13_IDX): Define.
879 (TENS_P13_SIZE): Likewise.
880 (TENS_P14_IDX): Likewise.
881 (TENS_P14_SIZE): Likewise.
882 (_fpioconst_pow10): Change array size to
883 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
885 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
886 1024]: Add entries for 10^2^13 and 10^2^14.
887 [LAST_POW10 > _LAST_POW10]: Remove #error.
888 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
889 (_fpioconst_pow10): Change array size to
890 FPIOCONST_POW10_ARRAY_SIZE.
891 * stdlib/gen-fpioconst.c: New file.
892 * stdlib/gen-tst-strtod-round.c: Likewise.
893 * stdlib/tst-strtod-round-data: Likewise.
894 * stdlib/tst-strtod-round.c: Likewise.
895 * stdlib/Makefile (tests): Add tst-strtod-round.
898 * stdlib/strtod_l.c: Include <stdint.h>.
899 (NDEBUG): Do not define.
900 (round_and_return): Change EXPONENT parameter to type intmax_t.
901 Rearrange calculations to avoid internal overflow possibilities.
902 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
903 Rearrange calculations to avoid internal overflow possibilities.
904 Assert that number fits inside MPNSIZE limbs.
905 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
906 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
907 calculations and add assertions to avoid internal overflow
908 possibilities. Add casts to avoid signed/unsigned operations.
909 * stdlib/tst-strtod-overflow.c: New file.
910 * stdlib/Makefile (tests): Add tst-strtod-overflow.
912 2012-08-25 Marek Polacek <polacek@redhat.com>
914 * time/time.h: Fix some typos in comments.
916 2012-08-23 Roland McGrath <roland@hack.frob.com>
918 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
919 * posix/tst-rfc3484-2.c: Likewise.
920 * posix/tst-rfc3484-3.c: Likewise.
922 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
924 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
925 (EF_ARM_ABI_FLOAT_HARD): Likewise.
927 2012-08-23 Joseph Myers <joseph@codesourcery.com>
929 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
930 #include of fxstatat64.c.
932 2012-08-22 Roland McGrath <roland@hack.frob.com>
934 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
935 * shadow/getspent_r.c: Likewise.
936 * shadow/getspnam.c: Likewise.
937 * shadow/getspnam_r.c: Likewise.
938 * gshadow/getsgent.c: Likewise.
939 * gshadow/getsgent_r.c: Likewise.
940 * gshadow/getsgnam.c: Likewise.
941 * gshadow/getsgnam_r.c: Likewise.
942 * inet/getnetbyad.c: Likewise.
943 * inet/getnetbyad_r.c: Likewise.
944 * inet/getnetbynm.c: Likewise.
945 * inet/getnetbynm_r.c: Likewise.
946 * inet/getnetent.c: Likewise.
947 * inet/getnetent_r.c: Likewise.
948 * inet/getproto.c: Likewise.
949 * inet/getproto_r.c: Likewise.
950 * inet/getprtent.c: Likewise.
951 * inet/getprtent_r.c: Likewise.
952 * inet/getprtname.c: Likewise.
953 * inet/getprtname_r.c: Likewise.
954 * inet/getrpcbyname.c: Likewise.
955 * inet/getrpcbyname_r.c: Likewise.
956 * inet/getrpcbynumber.c: Likewise.
957 * inet/getrpcbynumber_r.c: Likewise.
958 * inet/getrpcent.c: Likewise.
959 * inet/getrpcent_r.c: Likewise.
960 * inet/getaliasent.c: Likewise.
961 * inet/getaliasent_r.c: Likewise.
962 * inet/getaliasname.c: Likewise.
963 * inet/getaliasname_r.c: Likewise.
964 * nscd/getgrgid_r.c: Likewise.
965 * nscd/getgrnam_r.c: Likewise.
966 * nscd/gethstbyad_r.c: Likewise.
967 * nscd/gethstbynm3_r.c: Likewise.
968 * nscd/getpwnam_r.c: Likewise.
969 * nscd/getpwuid_r.c: Likewise.
970 * nscd/getsrvbynm_r.c: Likewise.
971 * nscd/getsrvbypt_r.c: Likewise.
972 * nscd/gai.c: Likewise.
974 * configure.in (build_nscd): New substituted variable, set
975 by --disable-build-nscd and defaults to $use_nscd.
976 * configure: Regenerated.
977 * config.make.in (build-nscd): New substituted variable.
978 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
979 Change conditional to require [$(build-nscd) = yes] as well.
980 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
983 * configure.in (use_nscd): New substituted variable, set by
984 --disable-nscd. If enabled, define USE_NSCD.
985 * configure: Regenerated.
986 * config.h.in: Add USE_NSCD.
987 * config.make.in (use-nscd): New substituted variable.
988 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
989 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
990 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
991 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
992 (CFLAGS-getgrnam_r.c): Likewise.
993 (CFLAGS-initgroups.c): Likewise.
994 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
995 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
997 * inet/getnetgrent_r.c
998 (nscd_setnetgrent): New function, broken out of ...
999 (setnetgrent): ... here. Call it.
1000 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1001 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1002 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1003 * nscd/Makefile (routines, aux): Move definitions after include of
1004 Makeconfig. Conditionalize on [$(use-nscd) != no].
1005 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1006 Conditionalize on [USE_NSCD].
1007 (is_nscd, nscd_init_cb): Likewise.
1008 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1009 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1010 * nss/nss_db/db-init.c: Likewise.
1011 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1013 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1014 (make_request): Use it.
1015 (cache_valid_p): New function.
1016 (__check_pf): Use it.
1017 * NEWS: Add item for --disable-nscd.
1019 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1021 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1022 to support sed >= 4.2.1-20-ga9bf076.
1023 * configure: Regenerated.
1025 2012-08-22 Roland McGrath <roland@hack.frob.com>
1027 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1028 Conditionalize whole body on [IREL].
1030 2012-08-22 Jeff Law <law@redhat.com>
1033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1034 if the family is PF_UNSPEC.
1036 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1038 * Makerules (lib-version): Rename from V.
1039 (install-lib-nosubdir): Change V to lib-version.
1041 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1044 * powerpc32/power6/wcschr.c: New file.
1045 * powerpc32/power6/wcscpy.c: New file.
1046 * powerpc32/power6/wcsrchr.c: New file.
1047 * powerpc64/power6/wcschr.c: New file.
1048 * powerpc64/power6/wcscpy.c: New file.
1049 * powerpc64/power6/wcsrchr.c: New file.
1051 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1053 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1054 (two_way_short_needle): Use it.
1055 * string/strstr.c (AVAILABLE1_USES_J): Define.
1056 * string/strcasestr.c: Likewise.
1058 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1060 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1063 * NEWS: Add an entry.
1064 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1065 define their defaults.
1066 (two_way_short_needle): Detect end-of-string on-the-fly.
1067 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1068 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1069 * string/bug-strcasestr1.c: New test.
1070 * string/Makefile: Run it.
1072 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1075 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1076 the first character.
1078 2012-08-21 Roland McGrath <roland@hack.frob.com>
1080 * csu/elf-init.c (__libc_csu_irel): Function removed.
1081 * csu/libc-start.c (apply_irel): New function.
1082 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1084 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1086 * sysdeps/unix/sysv/linux/kernel-features.h
1087 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1088 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1089 <kernel-features.h>.
1090 [__NR_fadvise64_64]: Make code unconditional.
1091 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1092 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1093 !__NR_fadvise64_64)]: Likewise.
1094 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1095 !__NR_fadvise64_64))]: Likewise.
1096 [__NR_fadvise64]: Make code unconditional.
1097 [!__NR_fadvise64]: Remove conditional code.
1098 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1099 <kernel-features.h>.
1100 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1102 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1105 not include <kernel-features.h>.
1106 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1108 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1110 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1111 include <kernel-features.h>.
1112 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1114 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1117 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1119 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1120 slight instruction rearrangements per scrollpipe analysis.
1121 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1123 2012-08-20 Roland McGrath <roland@hack.frob.com>
1125 * manual/syslog.texi (syslog; vsyslog, closelog):
1126 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1127 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1129 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1130 DSOCAPS to match condition on defining it.
1132 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1134 * sysdeps/unix/sysv/linux/kernel-features.h
1135 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1137 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1138 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1140 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1141 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1143 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1144 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1146 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1147 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1149 * sysdeps/unix/sysv/linux/kernel-features.h
1150 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1151 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1153 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1154 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1155 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1156 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1157 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1158 Make code unconditional.
1159 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1160 (__mmap64) [!__NR_mmap2]: Likewise.
1161 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1162 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1163 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1164 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1165 [__NR_mmap2]: Make code unconditional.
1166 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1167 (__mmap64) [!__NR_mmap2]: Likewise.
1169 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1171 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1173 2012-08-18 Andreas Jaeger <aj@suse.de>
1175 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1177 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1179 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1180 * include/unistd.h (__have_sock_cloexec): Likewise.
1181 (__have_pipe2): Likewise.
1182 (__have_dup3): Likewise.
1184 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1187 * include/unistd.h (__have_pipe2): Change define into an extern int.
1188 (__have_dup3): Likewise.
1189 * socket/have_sock_cloexec.c: Include fcntl.h.
1190 (__have_pipe2): New variable.
1191 (__have_dup3): Likewise.
1193 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1195 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1197 2012-08-17 Marek Polacek <polacek@redhat.com>
1199 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1200 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1202 2012-08-17 Roland McGrath <roland@hack.frob.com>
1204 * configure.in: Add AC_SUBST for sysheaders.
1205 * configure: Regenerated.
1206 * config.make.in (sysheaders): New substituted variable.
1208 * sysdeps/unix/mkfifo.c: Moved ...
1209 * sysdeps/posix/mkfifo.c: ... here.
1210 * sysdeps/unix/mkfifoat.c: Moved ...
1211 * sysdeps/posix/mkfifoat.c: ... here.
1213 * sysdeps/unix/utime.c: Moved ...
1214 * sysdeps/posix/utime.c: ... here.
1216 * sysdeps/unix/time.c: Moved ...
1217 * sysdeps/posix/time.c: ... here.
1218 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1219 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1221 * sysdeps/unix/nice.c: Moved ...
1222 * sysdeps/posix/nice.c: ... here.
1224 * sysdeps/unix/alarm.c: Moved ...
1225 * sysdeps/posix/alarm.c: ... here.
1227 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1229 2012-08-17 Jeff Law <law@redhat.com>
1231 * intl/Makefile (codeset_mo): New variable.
1232 ($(codeset_mo)): New target.
1233 (tst-codeset.out): Depend on that. Remove explicit rule.
1234 (tst-gettext3.out, tst-gettext5.out): Likewise.
1235 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1236 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1237 * intl/tst-codeset.sh: Remove.
1238 * intl/tst-gettext3.sh: Likewise.
1239 * intl/tst-gettext5.sh: Likewise.
1241 2012-08-17 Roland McGrath <roland@hack.frob.com>
1243 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1244 * sysdeps/unix/syscalls.list: ... here.
1246 * sysdeps/posix/getaddrinfo.c
1247 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1248 (gaiconf_init, gaiconf_reload): Use them.
1250 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1251 Define using time_t rather than struct timespec.
1253 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1254 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1256 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1258 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1259 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1262 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1263 __libc_cleanup_push argument.
1265 * bits/param.h: New file.
1266 * misc/sys/param.h: New file.
1267 * include/sys/param.h: New file.
1268 * misc/Makefile (headers): Add bits/param.h.
1269 * sysdeps/generic/sys/param.h: File removed.
1270 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1271 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1272 * sysdeps/mach/hurd/bits/param.h: New file.
1273 * sysdeps/mach/hurd/sys/param.h: New file.
1275 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1278 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1280 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1281 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1284 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1285 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1286 rather than -D_IO_MTSAFE_IO conditionally.
1287 * stdio-common/Makefile (CPPFLAGS): Likewise.
1288 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1289 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1290 Use $(libio-mtsafe).
1291 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1293 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1294 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1295 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1296 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1297 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1298 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1299 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1300 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1301 (CFLAGS-fread_u_chk.c): Likewise.
1302 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1303 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1304 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1305 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1306 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1307 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1308 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1309 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1310 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1312 * libio/Makefile: Test [$(libc-reentrant) = yes]
1313 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1316 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1317 * sysdeps/pthread/configure: File removed.
1318 * sysdeps/pthread/Makeconfig: New file.
1319 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1320 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1322 2012-08-16 Gary Benson <gbenson@redhat.com>
1324 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1325 unmapping the first object in a namespace.
1327 2012-08-16 Roland McGrath <roland@hack.frob.com>
1329 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1330 (__internal_setnetgrent): ... this. Add internal_function to
1331 definition. Add libc_hidden_def.
1332 (setnetgrent): Update caller.
1333 (internal_endnetgrent): Renamed to ...
1334 (__internal_endnetgrent): ... this. Add internal_function to
1335 definition. Add libc_hidden_def.
1336 (endnetgrent): Update caller.
1337 (internal_getnetgrent_r): Renamed to ...
1338 (__internal_getnetgrent_r): ... this. Add internal_function to
1339 definition. Add libc_hidden_def.
1340 (__getnetgrent_r): Update caller.
1341 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1343 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1345 * stdlib/longlong.h: Update from GCC.
1347 2012-08-16 Roland McGrath <roland@hack.frob.com>
1349 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1350 on _QL, which is set by umul_ppmm but never used.
1351 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1352 variables, which are set by GMP macros but never used.
1353 * stdio-common/_itowa.c (_itowa): Likewise.
1354 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1355 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1357 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1359 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1360 struct La_sh_regs is not constant.
1361 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1362 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1363 and struct La_sparc64_regs are not constant.
1365 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1367 * sysdeps/unix/sysv/linux/kernel-features.h
1368 (__ASSUME_POSIX_TIMERS): Remove.
1369 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1370 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1371 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1372 Make code unconditional.
1373 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1374 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1375 Make code unconditional.
1376 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1377 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1378 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1379 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1380 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1381 Make code unconditional.
1382 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1383 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1384 (__libc_missing_posix_timers): Remove.
1386 2012-08-15 Roland McGrath <roland@hack.frob.com>
1388 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1389 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1391 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1393 * elf/dl-sym.c: Include <stdlib.h>.
1395 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1396 constants, which avoids warnings in 32-bit builds.
1398 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1399 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1401 * misc/lseek.c: File moved to ...
1402 * io/lseek.c: ... here.
1404 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1406 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1407 shifting LEN more than 31 bits at once.
1409 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1412 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1413 segmentation fault for a case of two empty input strings.
1414 * string/test-strncasecmp.c (check1): Renamed to...
1416 (bz14195): Add new testcase for two empty input strings and N > 0.
1417 (test_main): Call new testcase, adapt for renamed function.
1419 2012-08-15 Andreas Jaeger <aj@suse.de>
1422 * crypt/md5test2.c: New test, based on test supplied by Serge
1423 Belyshev <belyshev@depni.sinp.msu.ru>.
1424 * crypt/Makefile (xtests): Add md5test-giant..
1425 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1427 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1430 * crypt/md5.c (md5_process_block): Don't assume the buffer
1431 length is less than 2**32.
1432 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1433 length is less than 2**64.
1435 2012-08-15 Roland McGrath <roland@hack.frob.com>
1437 * string/str-two-way.h: Include <sys/param.h>.
1438 (MAX): Macro removed.
1440 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1441 Move #define and #undef of memmove to just before and after
1442 including <string.h>.
1444 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1445 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1446 and after including <string.h>. Move declarations of
1447 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1448 to before #include "string/memmove.c".
1450 * include/dirent.h: Declare __getdirentries.
1452 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1453 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1455 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1457 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1458 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1459 * sysdeps/i386/configure: Regenerated.
1460 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1461 STABS_CURRENT_FILE, and STABS_FUN.
1462 (END): Remove call to STABS_FUN_END.
1463 (STABS_CURRENT_FILE1): Delete.
1464 (STABS_CURRENT_FILE): Likewise.
1465 (STABS_FUN): Likewise.
1466 (STABS_FUN_END): Likewise.
1467 (STABS_FUN2): Likewise.
1468 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1469 * sysdeps/x86_64/configure: Regenerated.
1471 2012-08-14 Roland McGrath <roland@hack.frob.com>
1473 * elf/dl-open.c: Include <atomic.h>.
1474 * elf/dl-lookup.c: Likewise.
1476 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1478 * sysdeps/unix/sysv/linux/kernel-features.h
1479 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1480 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1482 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1484 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1485 condition on __ASSUME_CLONE_THREAD_FLAGS.
1487 2012-08-14 Andreas Jaeger <aj@suse.de>
1489 * sysdeps/i386/fpu/libm-test-ulps: Update.
1491 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1493 * include/atomic.h (atomic_exchange_and_add): Split into ...
1494 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1497 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1501 2012-08-13 Jeff Law <law@redhat.com>
1503 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1504 null byte in the output string.
1506 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1508 * sysdeps/unix/sysv/linux/kernel-features.h
1509 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1510 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1511 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1512 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1513 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1514 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1515 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1517 2012-08-09 Jeff Law <law@redhat.com>
1520 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1521 When avoid_arena is set, don't retry in the that arena. Pick the
1522 next one, whatever it might be.
1523 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1524 (arena_lock): Pass in new parameter to arena_get2.
1525 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1527 (__libc_malloc): Unify retrying after main arena failure with
1528 __libc_memalign version.
1529 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1531 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1534 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1535 to __redirect_strstr.
1536 (__strstr_sse42): Use typeof __redirect_strstr.
1537 (__strstr_ia32): Likewise.
1538 (__libc_strstr): New prototype.
1539 (strstr): Renamed to ...
1540 (__libc_strstr): This.
1541 (strstr): New strong alias of __libc_strstr.
1542 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1543 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1546 (__libc_time): New prototype.
1547 (time_ifunc): Replace time with __libc_time.
1548 (time): New strong alias and hidden definition of __libc_time.
1549 (__GI_time): Remove strong alias.
1550 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1552 (memmove): Redefined to __redirect_memmove.
1553 (__memmove_sse2): Use typeof __redirect_memmove.
1554 (__memmove_ssse3): Likewise.
1555 (__memmove_ssse3_back): Likewise.
1556 (__libc_memmove): New prototype.
1557 (memmove): Renamed to ...
1558 (__libc_memmove): This.
1559 (memmove): New strong alias of __libc_memmove.
1561 2012-08-08 Mark Salter <msalter@redhat.com>
1564 (R_MN10300_TLS_GD): Define.
1565 (R_MN10300_TLS_LD): Likewise.
1566 (R_MN10300_TLS_LDO): Likewise.
1567 (R_MN10300_TLS_GOTIE): Likewise.
1568 (R_MN10300_TLS_IE): Likewise.
1569 (R_MN10300_TLS_LE): Likewise.
1570 (R_MN10300_TLS_DTPMOD): Likewise.
1571 (R_MN10300_TLS_DTPOFF): Likewise.
1572 (R_MN10300_TLS_TPOFF): Likewise.
1573 (R_MN10300_SYM_DIFF): Likewise.
1574 (R_MN10300_ALIGN): Likewise.
1575 (R_MN10300_NUM): Update.
1577 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1579 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1582 2012-08-08 Roland McGrath <roland@hack.frob.com>
1584 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1586 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1587 sysdeps/unix -> sysdeps/posix move.
1588 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1590 2012-08-07 Allan McRae <allan@archlinux.org>
1593 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1594 (SUNOS_CPP): Likewise.
1595 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1597 (open_input): Call CPP using execvp.
1599 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1601 * sysdeps/unix/sysv/linux/kernel-features.h
1602 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1603 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1604 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1605 (__ASSUME_WAITID_SYSCALL): Likewise.
1606 * sysdeps/unix/sysv/linux/dl-execstack.c
1607 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1609 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1611 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1612 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1613 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1615 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1617 [__ASSUME_WAITID_SYSCALL]: Likewise.
1618 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1620 2012-08-07 Roland McGrath <roland@hack.frob.com>
1622 * sysdeps/unix/closedir.c: Renamed to ...
1623 * sysdeps/posix/closedir.c: ... here.
1624 * sysdeps/unix/dirfd.c: Renamed to ...
1625 * sysdeps/posix/dirfd.c: ... here.
1626 * sysdeps/unix/dirstream.h: Renamed to ...
1627 * sysdeps/posix/dirstream.h: ... here.
1628 * sysdeps/unix/fdopendir.c: Renamed to ...
1629 * sysdeps/posix/fdopendir.c: ... here.
1630 * sysdeps/unix/opendir.c: Renamed to ...
1631 * sysdeps/posix/opendir.c: ... here.
1632 * sysdeps/unix/readdir.c: Renamed to ...
1633 * sysdeps/posix/readdir.c: ... here.
1634 * sysdeps/unix/readdir_r.c: Renamed to ...
1635 * sysdeps/posix/readdir_r.c: ... here.
1636 * sysdeps/unix/rewinddir.c: Renamed to ...
1637 * sysdeps/posix/rewinddir.c: ... here.
1638 * sysdeps/unix/seekdir.c: Renamed to ...
1639 * sysdeps/posix/seekdir.c: ... here.
1640 * sysdeps/unix/telldir.c: Renamed to ...
1641 * sysdeps/posix/telldir.c: ... here.
1642 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1643 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1644 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1645 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1647 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1648 * bits/fcntl.h: ... here.
1650 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1652 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1653 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1654 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1655 (struct flock): Move l_start, l_len to the beginning.
1656 Use __pid_t for l_pid.
1657 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1658 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1659 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1660 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1661 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1662 [__USE_LARGEFILE64] (struct flock64): New type.
1663 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1665 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1666 * bits/dirent.h: ... here.
1668 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1669 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1671 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1673 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1674 Change from 2.6.0 to 2.6.16.
1675 * sysdeps/unix/sysv/linux/configure: Regenerated.
1676 * sysdeps/unix/sysv/linux/kernel-features.h
1677 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1678 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1680 (__ASSUME_UTIMES): Likewise.
1681 (__ASSUME_CLONE_STOPPED): Remove.
1682 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1683 architectures, not kernel version.
1684 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1685 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1686 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1687 (__ASSUME_WAITID_SYSCALL): Likewise.
1688 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1689 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1690 * README: State 2.6.16 as minimum Linux kernel version. Do not
1691 refer to older versions.
1693 2012-08-06 Roland McGrath <roland@hack.frob.com>
1695 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1696 Define alphasort64 as an alias.
1697 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1698 Define versionsort64 as an alias.
1699 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1700 Define scandir64 as an alias.
1701 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1702 Define scandirat64 as an alias.
1703 * dirent/alphasort64.c (alphasort64):
1704 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1705 * dirent/versionsort64.c: Likewise.
1706 * dirent/scandir64.c: Likewise.
1707 * dirent/scandirat64.c: Likewise.
1708 * sysdeps/wordsize-64/alphasort.c: File removed.
1709 * sysdeps/wordsize-64/alphasort64.c: File removed.
1710 * sysdeps/wordsize-64/scandir.c: File removed.
1711 * sysdeps/wordsize-64/scandir64.c: File removed.
1712 * sysdeps/wordsize-64/scandirat.c: File removed.
1713 * sysdeps/wordsize-64/scandirat64.c: File removed.
1714 * sysdeps/wordsize-64/versionsort.c: File removed.
1715 * sysdeps/wordsize-64/versionsort64.c: File removed.
1716 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1717 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1718 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1719 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1720 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1721 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1722 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1723 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1725 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1726 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1727 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1728 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1729 [defined __arch64__ || defined __sparcv9]
1730 (__INO_T_MATCHES_INO64_T): New macro.
1731 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1732 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1733 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1734 * sysdeps/unix/sysv/linux/bits/dirent.h
1735 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1736 (_DIRENT_MATCHES_DIRENT64): New macro.
1738 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1739 Define lockf64 as an alias.
1740 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1741 Define fseeko64 as an alias.
1742 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1743 Define ftello64 as an alias.
1744 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1745 Define _IO_fgetpos64 and fgetpos64 as aliases.
1746 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1747 Define _IO_fsetpos64 and fsetpos64 as aliases.
1748 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1749 Conditionalize body on this.
1750 * libio/fseeko64.c: Likewise.
1751 * libio/ftello64.c: Likewise.
1752 * libio/iofgetpos64.c: Likewise.
1753 * libio/iofsetpos64.c: Likewise.
1754 * sysdeps/wordsize-64/lockf.c: File removed.
1755 * sysdeps/wordsize-64/lockf64.c: File removed.
1756 * sysdeps/wordsize-64/fseeko.c: File removed.
1757 * sysdeps/wordsize-64/fseeko64.c: File removed.
1758 * sysdeps/wordsize-64/ftello.c: File removed.
1759 * sysdeps/wordsize-64/ftello64.c: File removed.
1760 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1761 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1762 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1763 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1764 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1765 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1766 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1767 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1768 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1769 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1770 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1771 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1772 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1773 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1775 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1776 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1777 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1778 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1779 [defined __arch64__ || defined __sparcv9]
1780 (__OFF_T_MATCHES_OFF64_T): New macro.
1781 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1782 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1783 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1784 (__OFF_T_MATCHES_OFF64_T): New macro.
1786 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1788 * stdlib/secure-getenv.c (__secure_getenv): Replace
1789 GLIBC_2_16 with GLIBC_2_17.
1791 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1793 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1794 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1796 2012-08-03 David S. Miller <davem@davemloft.net>
1798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1800 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1802 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1804 (__ASSUME_CORRECT_SI_PID): Likewise.
1805 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1806 (__ASSUME_TMPFS_NAME): Likewise.
1807 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1808 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1809 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1810 (HAVE_AUX_SECURE): Make definition unconditional.
1811 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1812 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1814 2012-08-03 Roland McGrath <roland@hack.frob.com>
1816 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1817 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1818 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1819 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1820 __eloop_threshold instead of SYMLOOP_MAX.
1822 * sysdeps/generic/eloop-threshold.h: New file.
1823 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1825 * elf/chroot_canon.c (chroot_canon): Likewise.
1827 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1830 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1831 Change to 2.6.0 everywhere.
1832 * sysdeps/unix/sysv/linux/configure: Regenerated.
1833 * sysdeps/unix/sysv/linux/kernel-features.h
1834 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1835 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1837 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1838 (__ASSUME_FUTEX_REQUEUE): Remove.
1839 (__ASSUME_STATFS64): Define unconditionally.
1840 (__ASSUME_AT_SECURE): Likewise.
1841 (__ASSUME_CORRECT_SI_PID): Likewise.
1842 (__ASSUME_TGKILL): Define without depending on kernel version for
1844 (__ASSUME_UTIMES): Likewise.
1845 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1847 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1848 (__ASSUME_TMPFS_NAME): Likewise.
1849 * README: Update reference to Linux kernel versions.
1851 2012-08-02 Marek Polacek <polacek@redhat.com>
1854 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1855 libc_cv_asm_type_prefix with %.
1856 * configure: Regenerated.
1857 * include/libc-symbols.h: Remove comment about
1858 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1859 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1860 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1861 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1862 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1863 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1864 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1865 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1866 * elf/tst-unique2mod1.c: Likewise.
1867 * elf/tst-unique1mod2.c: Likewise.
1868 * elf/tst-unique1mod1.c: Likewise.
1869 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1870 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1871 Replace ASM_TYPE_DIRECTIVE with .type.
1872 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1873 * sysdeps/i386/sysdep.h: Likewise.
1874 * sysdeps/x86_64/sysdep.h: Likewise.
1875 * sysdeps/sh/sysdep.h: Likewise.
1876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1877 Do not define ASM_TYPE_DIRECTIVE.
1878 * sysdeps/powerpc/sysdep.h: Likewise.
1879 * sysdeps/powerpc/powerpc32/sysdep.h:
1880 Replace ASM_TYPE_DIRECTIVE with .type.
1881 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1882 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1883 * sysdeps/i386/fpu/e_powf.S: Likewise.
1884 * sysdeps/i386/fpu/e_expl.S: Likewise.
1885 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1886 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1887 * sysdeps/i386/fpu/e_pow.S: Likewise.
1888 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1889 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1890 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1891 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1892 * sysdeps/i386/fpu/e_log2.S: Likewise.
1893 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1894 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1895 * sysdeps/i386/fpu/e_powl.S: Likewise.
1896 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1897 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1898 * sysdeps/i386/fpu/e_logl.S: Likewise.
1899 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1900 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1901 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1902 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1903 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1904 * sysdeps/i386/fpu/e_log.S: Likewise.
1905 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1906 * sysdeps/i386/fpu/e_logf.S: Likewise.
1907 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1908 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1909 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1910 * sysdeps/i386/fpu/e_log10.S: Likewise.
1911 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1912 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1913 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1914 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1915 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1916 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1917 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1918 * sysdeps/i386/i686/strtok.S: Likewise.
1919 * sysdeps/i386/i386-mcount.S: Likewise.
1920 * sysdeps/i386/strtok.S: Likewise.
1921 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1922 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1923 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1924 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1925 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1926 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1927 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1928 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1929 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1930 * sysdeps/x86_64/_mcount.S: Likewise.
1931 * sysdeps/x86_64/strtok.S: Likewise.
1932 * sysdeps/sh/_mcount.S: Likewise.
1934 2012-08-01 Roland McGrath <roland@hack.frob.com>
1936 * libio/iofopen.c: Include <fcntl.h>.
1937 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1938 (_IO_fopen64, fopen64): Define as aliases.
1939 * libio/iofopen64.c: Include <fcntl.h>.
1940 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1941 Conditionalize body on this.
1942 * sysdeps/wordsize-64/iofopen.c: File removed.
1943 * sysdeps/wordsize-64/iofopen64.c: File removed.
1945 2012-08-01 Marek Polacek <polacek@redhat.com>
1947 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1948 Use dlfcn directly instead of a variable.
1949 (binfmt-subdir): Do not define.
1952 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1954 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1955 Remove all definitions.
1956 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1957 <kernel-features.h>.
1958 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1959 (miss_F_GETOWN_EX): Remove all definitions.
1960 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1962 [!__ASSUME_FCNTL64]: Remove conditional code.
1963 [__ASSUME_FCNTL64]: Make code unconditional.
1964 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1965 <kernel-features.h>.
1966 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1967 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1968 (lockf64) [__NR_fcntl64]: Make code unconditional.
1969 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1971 * sysdeps/unix/sysv/linux/kernel-features.h
1972 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1973 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1974 Make code unconditional.
1975 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1976 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1978 [__NR_vfork]: Make code unconditional.
1979 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1980 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1982 [__NR_vfork]: Make code unconditional.
1983 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1984 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1986 2012-08-01 Roland McGrath <roland@hack.frob.com>
1988 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1989 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1991 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1992 Define mkstemp64 as an alias.
1993 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1994 Define mkstemps64 as an alias.
1995 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1996 Define mkostemp64 as an alias.
1997 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1998 Define mkostemps64 as an alias.
1999 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2000 Conditionalize body on this.
2001 * misc/mkostemp64.c: Likewise.
2002 * misc/mkostemps64.c: Likewise.
2003 * misc/mkstemps64.c: Likewise.
2004 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2005 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2006 * sysdeps/wordsize-64/mkostemp.c: File removed.
2007 * sysdeps/wordsize-64/mkstemp.c: File removed.
2008 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2009 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2010 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2011 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2014 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2015 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2016 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2017 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2019 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2020 compat_symbol macros from <shlib-compat.h> rather than the underlying
2021 default_symbol_version and symbol_version macros, so that DEFAULT
2022 lines in shlib-versions are respected.
2023 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2025 2012-08-01 Florian Weimer <fweimer@redhat.com>
2027 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2028 Declare with warn_unused_result.
2029 (setgid, setregid, setegid, setresgid): Likewise.
2030 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2032 * WUR-REPORT: Remove set*id functions.
2034 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2036 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2038 2012-07-31 Roland McGrath <roland@hack.frob.com>
2040 * include/sys/socket.h (__libc_accept, __libc_accept4):
2041 Add attribute_hidden.
2042 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2044 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2046 * inet/getnetgrent_r.c (setup): Likewise.
2048 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2050 2012-07-31 David S. Miller <davem@davemloft.net>
2052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2054 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2057 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2058 value between 1.0 and 2.0 and smaller part has absolute value less
2060 * math/s_clog10.c (__clog10): Likewise.
2061 * math/s_clog10f.c (__clog10f): Likewise.
2062 * math/s_clog10l.c (__clog10l): Likewise.
2063 * math/s_clogf.c (__clogf): Likewise.
2064 * math/s_clogl.c (__clogl): Likewise.
2065 * math/libm-test.inc (clog_test): Add more tests.
2066 (clog10_test): Likewise.
2067 * sysdeps/i386/fpu/libm-test-ulps: Update.
2068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2070 2012-07-31 Florian Weimer <fweimer@redhat.com>
2072 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2073 Exit with zero in case no suitable GID is found, and write a
2074 message to standard error.
2076 2012-07-30 Roland McGrath <roland@hack.frob.com>
2078 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2080 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2081 (MAXPATHLEN): Removed.
2082 (NOGROUP, NODEV): New macros.
2083 (setbit, clrbit, isset, isclr): New macros.
2084 (howmany, roundup, powerof2): New macros.
2085 (DEV_BSIZE): New macro.
2087 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2088 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2090 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2091 definition on [!__NO_LONG_DOUBLE_MATH].
2093 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2094 PTR_MANGLE and PTR_DEMANGLE.
2096 * socket/accept4.c (accept4): Rename to __libc_accept4.
2097 Define accept4 as a weak alias.
2099 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2100 on [_DIRENT_HAVE_D_TYPE].
2101 * io/ftw.c (ftw_dir): Likewise.
2103 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2105 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2107 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2108 Use the BSD numbers rather than the arbitrary ones we had.
2109 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2110 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2111 (SIGXCPU, SIGXFSZ): New macros.
2114 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2115 initializer on [_LIBC_REENTRANT].
2117 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2118 definitions inside [_POSIX_MAPPED_FILES].
2120 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2122 * dirent/opendir.c: Include <fcntl.h>.
2124 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2125 (__libc_getspecific): Likewise.
2126 (__libc_key_create): Likewise.
2128 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2129 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2130 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2131 (tmpfile64): Define as alias.
2132 * sysdeps/wordsize-64/tmpfile.c: File removed.
2133 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2134 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2135 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2137 * stdio-common/vfscanf.c: Include <stdbool.h>.
2138 * nss/makedb.c: Likewise.
2139 * stdio-common/_i18n_number.h: Likewise.
2140 * argp/argp-help.c: Likewise.
2141 * posix/wordexp.c: Likewise.
2142 * sysdeps/posix/spawni.c: Likewise.
2143 * nss/nss_files/files-initgroups.c: Likewise.
2144 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2145 * nss/nss_files/files-initgroups.c: Likewise.
2146 * nss/nss_db/db-netgrp.c: Likewise.
2147 * nss/nss_db/db-initgroups.c: Likewise.
2148 * io/fchmodat.c: Include <sys/stat.h>.
2150 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2151 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2153 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2156 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2157 Add multiple inclusion protection.
2159 2012-07-27 David S. Miller <davem@davemloft.net>
2161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2163 2012-07-27 Gary Benson <gbenson@redhat.com>
2166 * elf/rtld.c: Include <stap-probe.h>.
2167 (dl_main): Added static probes "init_start" and "init_complete".
2168 * elf/dl-load.c: Include <stap-probe.h>.
2169 (lose): Take new parameter "nsid".
2170 Added static probe "map_failed".
2171 (_dl_map_object_from_fd): Pass namespace id to lose.
2172 Added static probe "map_start".
2173 (open_verify): Pass namespace id to lose.
2174 * elf/dl-open.c: Include <stap-probe.h>.
2175 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2176 and "reloc_complete".
2177 * elf/dl-close.c: Include <stap-probe.h>.
2178 (_dl_close_worker): Added static probes "unmap_start" and
2180 * elf/rtld-debugger-interface.txt: New file documenting the above.
2182 2012-07-26 Roland McGrath <roland@hack.frob.com>
2184 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2185 rather than a string variable.
2186 * sunrpc/rpc_main.c (h_output): Likewise.
2187 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2189 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2191 * inet/check_native.c: New file.
2193 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2196 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2197 if larger part has absolute value 1.0.
2198 * math/s_clog10.c (__clog10): Likewise.
2199 * math/s_clog10f.c (__clog10f): Likewise.
2200 * math/s_clog10l.c (__clog10l): Likewise.
2201 * math/s_clogf.c (__clogf): Likewise.
2202 * math/s_clogl.c (__clogl): Likewise.
2203 * math/libm-test.inc (clog_test): Add more tests.
2204 (clog10_test): Likewise.
2205 * sysdeps/i386/fpu/libm-test-ulps: Update.
2206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2208 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2209 (pltexit): Likewise.
2210 (La_regs): Likewise.
2211 (La_retval): Likewise.
2212 (int_retval): Likewise.
2213 Update #error for removed macros to refer only to definitions in
2215 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2217 (pltexit): Likewise.
2218 (La_regs): Likewise.
2219 (La_retval): Likewise.
2220 (int_retval): Likewise.
2221 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2223 (pltexit): Likewise.
2224 (La_regs): Likewise.
2225 (La_retval): Likewise.
2226 (int_retval): Likewise.
2227 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2229 (pltexit): Likewise.
2230 (La_regs): Likewise.
2231 (La_retval): Likewise.
2232 (int_retval): Likewise.
2233 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2235 (pltexit): Likewise.
2236 (La_regs): Likewise.
2237 (La_retval): Likewise.
2238 (int_retval): Likewise.
2239 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2241 (pltexit): Likewise.
2242 (La_regs): Likewise.
2243 (La_retval): Likewise.
2244 (int_retval): Likewise.
2245 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2247 (pltexit): Likewise.
2248 (La_regs): Likewise.
2249 (La_retval): Likewise.
2250 (int_retval): Likewise.
2251 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2252 macro definitions in tst-audit.h.
2253 * sysdeps/i386/tst-audit.h: New file.
2254 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2255 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2256 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2257 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2258 * sysdeps/sh/tst-audit.h: Likewise.
2259 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2260 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2261 * sysdeps/x86_64/tst-audit.h: Likewise.
2263 2012-07-26 Andreas Jaeger <aj@suse.de>
2265 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2268 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2269 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2270 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2272 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2273 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2274 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2276 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2279 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2281 (si_call_addr, si_syscall, si_arch): Define new macro.
2282 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2284 (si_call_addr, si_syscall, si_arch): Define new marcro.
2285 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2287 (si_call_addr, si_syscall, si_arch): Define new macro.
2288 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2290 (si_call_addr, si_syscall, si_arch): Define new macro.
2292 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2295 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2296 Change to 2.4.21 where previously 2.4.1.
2297 * sysdeps/unix/sysv/linux/configure: Regenerated.
2298 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2299 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2300 Linux kernel version.
2301 (__ASSUME_STD_AUXV): Remove.
2302 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2304 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2305 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2306 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2307 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2308 (__ASSUME_NETLINK_SUPPORT): Likewise.
2309 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2310 (__no_netlink_support): Remove conditional definition.
2311 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2313 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2314 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2315 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2316 (if_nameindex_ioctl): Remove.
2317 (if_nameindex_netlink): Do not handle __no_netlink_support.
2318 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2320 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2321 Remove conditional code.
2322 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2324 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2326 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2327 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2328 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2330 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2331 [!__ASSUME_STD_AUXV]: Remove conditional code.
2332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2333 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2334 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2336 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2337 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2339 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2341 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2342 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2344 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2346 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2349 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2352 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2354 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2356 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2358 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2361 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2363 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2366 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2368 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2370 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2372 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2375 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2377 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2379 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2381 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2384 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2386 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2387 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2388 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2389 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2390 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2391 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2392 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2393 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2394 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2395 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2396 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2397 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2398 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2399 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2400 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2401 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2402 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2403 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2404 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2406 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2407 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2408 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2410 2012-07-25 Florian Weimer <fweimer@redhat.com>
2412 * Versions.def: Add GLIBC_2.17.
2413 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2414 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2415 Introduce __libc_secure_getenv.
2416 * stdlib/Versions (2.17): Add secure_getenv
2417 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2418 * stdlib/secure-getenv.c: Rename __secure_getenv to
2419 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2420 symbol __secure_getenv for GLIBC_2.0.
2421 * stdlib/tst-secure-getenv.c: New.
2422 * stdlib/Makefile (tests): Add testcase.
2423 * manual/startup.texi (Environment Access): Document
2425 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2426 __libc_secure_getenv.
2427 * inet/ruserpass.c (ruserpass): Likewise.
2428 * malloc/mtrace.c (mtrace): Likewise.
2429 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2430 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2431 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2432 * sysdeps/posix/tempname.c: Likewise. Evaluate
2434 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2435 __secure_getenv to __libc_secure_getenv.
2436 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2443 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2449 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2451 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2452 (struct La_i86_retval): Likewise.
2453 (struct La_x86_64_regs): Likewise.
2454 (struct La_x86_64_retval): Likewise.
2455 (struct La_x32_regs): Likewise.
2456 (struct La_x32_retval): Likewise.
2457 (struct La_ppc32_regs): Likewise.
2458 (struct La_ppc32_retval): Likewise.
2459 (struct La_ppc64_regs): Likewise.
2460 (struct La_ppc64_retval): Likewise.
2461 (struct La_sh_regs): Likewise.
2462 (struct La_sh_retval): Likewise.
2463 (struct La_s390_32_regs): Likewise.
2464 (struct La_s390_32_retval): Likewise.
2465 (struct La_s390_64_regs): Likewise.
2466 (struct La_s390_64_retval): Likewise.
2467 (struct La_sparc32_regs): Likewise.
2468 (struct La_sparc32_retval): Likewise.
2469 (struct La_sparc64_regs): Likewise.
2470 (struct La_sparc64_retval): Likewise.
2471 (struct audit_ifaces): Remove architecture-specific pltenter and
2473 * sysdeps/i386/ldsodefs.h: New file.
2474 * sysdeps/powerpc/ldsodefs.h: Likewise.
2475 * sysdeps/s390/ldsodefs.h: Likewise.
2476 * sysdeps/sh/ldsodefs.h: Likewise.
2477 * sysdeps/sparc/ldsodefs.h: Likewise.
2478 * sysdeps/x86_64/ldsodefs.h: Likewise.
2480 2012-07-25 Marek Polacek <polacek@redhat.com>
2483 * math/libm-test.inc (yn_test): Add another test.
2484 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2485 to ERANGE when the result is +-Inf.
2486 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2487 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2488 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2489 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2491 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2493 * conform/data/time.h-data (NULL): Use macro-constant. Require
2495 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2497 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2499 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2501 * configure.in <sysdeps resolving>: Correct printing
2503 * configure: Regenerate.
2505 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2507 * math/w_ilogb.c: Include <limits.h>.
2508 * math/w_ilogbl.c: Likewise.
2510 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2512 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2513 va_copy. Document allowing for unavailable va_copy only as
2514 pre-C99 compatibility.
2515 * manual/string.texi (Copying and Concatenation): Use va_copy
2516 instead of __va_copy in concat example.
2518 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2520 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2521 (__sendto): Use create_address_port. Initialize APORT and deallocate
2524 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2525 with O_NOLINK passed to __file_name_lookup.
2527 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2528 with O_NOLINK passed to __file_name_lookup.
2530 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2531 negative N or less than NGIDS.
2533 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2534 type to string_t. Set ERANGE as errno and return it if NAME is not big
2535 enough. Use memcpy instead of strncpy.
2537 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2539 * elf/Makefile (check-data): Remove.
2540 (localplt.data): New vpath directive.
2541 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2542 instead of $(check-data).
2543 * scripts/data/localplt-generic.data: Move to ...
2544 * sysdeps/generic/localplt.data: ... here.
2545 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2546 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2547 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2550 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2553 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2556 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2559 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2562 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2566 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2568 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2569 PPC32 and PPC64 files.
2570 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2571 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2573 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2575 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2576 __makecontext_ret to ...
2577 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2578 ... here and call exit if uc_link is NULL. New file.
2579 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2580 __makecontext_ret.S.
2581 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2582 __makecontext_ret to ...
2583 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2584 ... here and call exit if uc_link is NULL. New file.
2585 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2586 __makecontext_ret.S.
2588 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2590 * elf/elf.h (R_390_IRELATIVE): New definition.
2591 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2592 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2593 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2594 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2595 (elf_machine_lazy_rel): Likewise.
2596 * sysdeps/s390/dl-irel.h: New file.
2597 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2598 * sysdeps/s390/s390-64/memset.S: New asm code.
2599 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2600 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2601 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2602 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2603 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2604 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2605 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2606 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2607 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2608 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2609 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2610 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2611 * sysdeps/s390/s390-32/memset.S: New asm code.
2612 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2614 2012-07-17 Marek Polacek <polacek@redhat.com>
2617 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2618 * sysdeps/s390/s390-64/configure.in: Likewise.
2619 * sysdeps/sparc/configure.in: Likewise.
2620 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2621 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2622 * sysdeps/i386/configure.in: Likewise.
2623 * sysdeps/x86_64/configure.in: Likewise.
2624 * sysdeps/sh/configure.in: Likewise.
2625 * sysdeps/s390/s390-32/configure: Regenerated.
2626 * sysdeps/s390/s390-64/configure: Likewise.
2627 * sysdeps/x86_64/configure: Likewise.
2628 * sysdeps/sh/configure: Likewise.
2629 * sysdeps/powerpc/powerpc64/configure: Likewise.
2630 * sysdeps/powerpc/powerpc32/configure: Likewise.
2631 * sysdeps/sparc/configure: Likwise.
2632 * sysdeps/i386/configure: Likewise.
2634 * elf/dl-open.c: Comment fixes.
2636 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2638 * Makefile [CXX] (check-data): Remove.
2639 [CXX] (c++-types.data): New vpath directive.
2640 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2641 vpath. Do not allow for C++ type data being missing.
2642 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2643 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2644 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2645 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2646 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2647 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2648 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2651 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2654 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2657 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2660 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2663 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2666 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2669 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2672 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2673 definitions to architecture-specific files.
2677 * sysdeps/i386/tls-macros.h: New file.
2678 * sysdeps/powerpc/tls-macros.h: Likewise.
2679 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2680 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2681 * sysdeps/sh/tls-macros.h: Likewise.
2682 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2683 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2684 * sysdeps/x86_64/tls-macros.h: Likewise.
2686 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2688 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2689 zero value for regular exit case.
2691 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2692 (__start_context): Preserve zero value for regular exit case.
2694 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2695 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2697 * manual/setjmp.texi (setcontext): Clarify normal process
2698 termination when uc_link is the null pointer.
2699 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2702 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2704 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2705 preprocessor. Test for each exception mask separately.
2707 2012-07-16 Andreas Jaeger <aj@suse.de>
2709 * po/ru.po: Update from translation team.
2711 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2713 * conform/data/string.h-data (NULL): Use macro-constant. Require
2715 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2716 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2717 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2718 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2719 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2721 2012-07-13 Andreas Jaeger <aj@suse.de>
2723 * po/fr.po: Update from translation team.
2725 2012-07-12 Marek Polacek <polacek@redhat.com>
2728 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2729 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2732 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2735 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2736 Change to 2.4.1 where previously 2.4.0.
2737 * sysdeps/unix/sysv/linux/configure: Regenerated.
2738 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2739 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2741 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2742 (__ASSUME_AT_CLKTCK): Remove.
2743 (__ASSUME_AT_PAGESIZE): Likewise.
2744 (__ASSUME_AT_XID): Likewise.
2745 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2746 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2747 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2749 (HAVE_AUX_PAGESIZE): Likewise.
2750 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2751 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2752 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2754 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2758 the temporary buffer used to invoke __gethostbyname2_r,
2759 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2760 host_data / struct gaih_addrtuple.
2761 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2762 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2763 header file nss/nsswitch.h.
2764 * nss/nsswitch.h (global scope): Add definition of implementation
2765 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2766 resolv/nss_dns/dns-host.c).
2768 2012-07-11 Andreas Jaeger <aj@suse.de>
2770 * po/fr.po: Update from translation team.
2772 * po/sv.po: Update from translation team
2773 * po/fr.po: Another update from translation team.
2775 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2777 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2778 for subnormals or multiply small sinh result by itself.
2779 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2782 2012-07-11 David S. Miller <davem@davemloft.net>
2784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2786 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2789 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2790 (INTERNAL_MARK): Shift it here.
2792 2012-07-10 Marek Polacek <polacek@redhat.com>
2795 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2796 libc_cv_asm_global_directive with .globl.
2797 * configure: Regenerated.
2798 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2800 * sysdeps/i386/configure: Regenerated.
2801 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2803 * sysdeps/x86_64/configure: Regenerated.
2804 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2805 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2806 * elf/tst-unique2mod2.c: Likewise.
2807 * elf/tst-unique2mod1.c: Likewise.
2808 * elf/tst-unique1mod2.c: Likewise.
2809 * elf/tst-unique1mod1.c: Likewise.
2810 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2811 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2812 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2813 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2814 * sysdeps/mach/sysdep.h: Likewise.
2815 * sysdeps/i386/sysdep.h: Likewise.
2816 * sysdeps/i386/i386-mcount.S: Likewise.
2817 * sysdeps/x86_64/_mcount.S: Likewise.
2818 * sysdeps/x86_64/sysdep.h: Likewise.
2819 * sysdeps/sh/_mcount.S: Likewise.
2820 * sysdeps/sh/sysdep.h: Likewise.
2821 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2822 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2823 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2824 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2825 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2826 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2827 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2828 * locale/localeinfo.h: Likewise.
2829 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2830 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2832 2012-07-09 Roland McGrath <roland@hack.frob.com>
2835 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2837 * manual/message.texi (The Uniforum approach): Likewise.
2838 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2839 (glibc iconv Implementation): Likewise.
2841 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2844 * math/s_clog.c (__clog): Avoid scaling a value down where that
2845 could result in underflow.
2846 * math/s_clog10.c (__clog10): Likewise.
2847 * math/s_clog10f.c (__clog10f): Likewise.
2848 * math/s_clog10l.c (__clog10l): Likewise.
2849 * math/s_clogf.c (__clogf): Likewise.
2850 * math/s_clogl.c (__clogl): Likewise.
2851 * math/libm-test.inc (clog_test): Add more tests.
2852 (clog10_test): Likewise.
2853 * sysdeps/i386/fpu/libm-test-ulps: Update.
2854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2856 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2859 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2860 by 7 not 8 to examine high bit of fractional part.
2863 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2864 for call to __mcount_internal.
2865 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2866 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2867 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2869 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2872 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2873 approximation for values within 0x1p-13f of an odd multiple of
2875 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2876 exception. Add more tests.
2877 * sysdeps/i386/fpu/libm-test-ulps: Update.
2880 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2881 inputs and return -1 for them. Do not check for +Inf in case not
2883 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2884 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2885 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2886 and return -1 for them. Do not check for +Inf in case not
2888 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2890 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2891 and return -1 for them. Do not check for +Inf in case not
2893 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2895 * sysdeps/i386/fpu/libm-test-ulps: Update.
2896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2898 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2900 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2902 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2906 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2907 could result in spurious underflow. Scale down values above
2908 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2909 * math/s_csqrtf.c (__csqrtf): Likewise.
2910 * math/s_csqrtl.c (__csqrtl): Likewise.
2911 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2913 * sysdeps/i386/fpu/libm-test-ulps: Update.
2914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2916 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2918 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2920 * catgets/xopen-msg.awk: New file.
2921 * catgets/xopen-msg.sed: Removed.
2923 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2925 * intl/po2test.awk: New file.
2926 * intl/po2test.sed: Removed.
2928 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2931 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2932 or multiply small sinh result by itself.
2933 * math/s_ctanf.c (__ctanf): Likewise.
2934 * math/s_ctanh.c (__ctanh): Likewise.
2935 * math/s_ctanhf.c (__ctanhf): Likewise.
2936 * math/s_ctanhl.c (__ctanhl): Likewise.
2937 * math/s_ctanl.c (__ctanl): Likewise.
2938 * math/libm-test.inc (ctan_test_tonearest): New function.
2939 (ctan_test_towardzero): Likewise.
2940 (ctan_test_downward): Likewise.
2941 (ctan_test_upward): Likewise.
2942 (ctanh_test_tonearest): Likewise.
2943 (ctanh_test_towardzero): Likewise.
2944 (ctanh_test_downward): Likewise.
2945 (ctanh_test_upward): Likewise.
2946 (main): Call these new functions.
2947 * sysdeps/i386/fpu/libm-test-ulps: Update.
2948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2950 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2952 * .gitignore: Delete /ports entry.
2954 2012-07-03 Andreas Jaeger <aj@suse.de>
2956 * po/bg.po: Update from translation team.
2957 * po/cs.po: Likewise.
2958 * po/de.po: Likewise.
2959 * po/hr.po: Likewise.
2960 * po/nl.pl: Likewise.
2961 * po/pl.po: Likewise.
2962 * po/vi.po: Likewise.
2964 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2966 * Makeconfig [!+link] (+link-before-libc): New variable.
2967 [!+link] (+link-after-libc): Likewise.
2968 [!+link] (+link-tests): Likewise.
2969 [!+link] (+link): Define in terms of $(+link-before-libc) and
2970 $(+link-after-libc).
2971 [!+link-static] (+link-static-before-libc): New variable.
2972 [!+link-static] (+link-static-after-libc): Likewise.
2973 [!+link-static] (+link-static-tests): Likewise.
2974 [!+link-static] (+link-static): Define in terms of
2975 $(+link-static-before-libc) and $(+link-static-after-libc).
2976 [build-shared] (link-libc-before-gnulib): New variable.
2977 [build-shared] (link-libc-tests): Likewise.
2978 [build-shared] (link-libc): Define in terms of
2979 $(link-libc-before-gnulib).
2980 [!build-shared] (link-libc-tests): New variable.
2981 (link-libc-static-tests): New variable.
2982 [!gnulib] (gnulib-arch): New variable.
2983 [!gnulib] (gnulib-tests): Likewise.
2984 [!gnulib] (static-gnulib-arch): Likewise.
2985 [!gnulib] (static-gnulib-tests): Likewise.
2986 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2987 Define with "=" instead of ":=".
2988 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2989 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2990 * Rules (binaries-all-notests): New variable.
2991 (binaries-all-tests): Likewise.
2992 (binaries-static-notests): Likewise.
2993 (binaries-static-tests): Likewise.
2994 (binaries-all): Define using $(binaries-all-notests) and
2995 $(binaries-all-tests).
2996 (binaries-static): Define using $(binaries-static-notests) and
2997 $(binaries-static-tests).
2998 (binaries-shared-tests): New variable.
2999 (binaries-shared-notests): Likewise.
3000 (binaries-shared): Remove variable.
3001 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3002 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3003 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3004 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3005 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3006 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3007 * elf/Makefile (sln-modules): New variable.
3008 (extra-objs): Add $(sln-modules:=.o).
3009 (ldconfig-modules): Add static-stubs.
3010 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3011 * elf/static-stubs.c: New file.
3014 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3015 by 7 not 8 to examine high bit of fractional part. Use volatile
3016 variables when splitting into final array of floats if
3017 __FLT_EVAL_METHOD__ != 0.
3018 * math/libm-test.inc (cos_test): Add another test.
3019 (sin_test): Likewise.
3020 * sysdeps/i386/fpu/libm-test-ulps: Update.
3023 * math/libm-test.inc (cosh_test): Add more tests.
3025 * version.h (RELEASE): Set to "development".
3026 (VERSION): Set to "2.16.90".
3028 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3030 * NEWS: Update copyright. Remove last-updated date.
3031 Mention math library bug fixes and timezone data changes.
3032 * README: Mention GNU/Hurd, x32, and HPPA support status.
3034 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3036 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3038 2012-06-27 Andreas Jaeger <aj@suse.de>
3040 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3042 2012-06-25 Andreas Jaeger <aj@suse.de>
3044 * sysdeps/s390/fpu/libm-test-ulps: Update.
3046 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3047 Thomas Schwinge <thomas@codesourcery.com>
3049 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3050 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3051 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3054 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3056 * sysdeps/mach/start.c: Remove file.
3057 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3058 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3059 * sysdeps/sh/init-first.c: Likewise.
3061 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3062 registers for frame unwinding purposes, add CFI directives.
3063 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3064 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3065 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3068 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3069 __fortify_fail returning.
3070 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3072 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3073 sysdeps/sh/____longjmp_chk.S.
3074 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3075 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3076 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3077 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3079 * sysdeps/sh/abort-instr.h: New file.
3080 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3081 process in case exit returns.
3083 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3084 initialize the GOT register before use.
3086 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3087 calculation of ARGC > 4.
3089 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3090 meaningful names to some local labels.
3092 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3093 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3095 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3096 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3097 (__arch_compare_and_exchange_val_16_acq): Likewise.
3098 (__arch_compare_and_exchange_val_32_acq): Likewise.
3099 (atomic_exchange_and_add): Fix gUSA sequence.
3100 (atomic_add): Likewise.
3101 (atomic_add_negative): Likewise.
3102 (atomic_add_zero): Likewise.
3103 (atomic_bit_test_set): Likewise.
3105 2012-06-22 Andreas Schwab <schwab@redhat.com>
3108 * include/link.h (struct link_map): Add l_free_initfini.
3109 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3111 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3112 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3113 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3116 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3118 * configure.in: Use AC_LANG_SOURCE.
3119 * configure: Regenerate.
3121 2012-06-22 Roland McGrath <roland@hack.frob.com>
3123 * configure.in (libc_cv_localstatedir): New substituted variable.
3124 * configure: Regenerated.
3125 * config.make.in (localstatedir): New variable, substituted from
3126 libc_cv_localstatedir.
3127 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3128 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3129 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3130 * sysdeps/gnu/configure: Regenerated.
3132 2012-06-21 Jeff Law <law@redhat.com>
3135 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3136 free. Simplify list management for _LIBC case.
3138 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3141 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3142 Clear sign bit of 64-bit integer value before comparing against
3145 * sysdeps/mach/configure: Regenerated.
3147 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3150 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3152 2012-06-21 Jeff Law <law@redhat.com>
3155 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3156 uint16_t for elements in the "seen" array to avoid char overflows.
3157 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3158 * elf/dl-open.c (dl_open_worker): Likewise.
3160 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3162 * scripts/list-sources.sh: Scan PORTS for translations.
3163 * po/libc.pot: Regenerated.
3165 2012-06-21 Andreas Jaeger <aj@suse.de>
3168 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3170 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3171 * bits/byteswap-16.h (__bswap_16): Likewise.
3172 * bits/byteswap.h (__bswap_constant_16): Likewise.
3174 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3177 * sysdeps/i386/fpu_control.h: Removed.
3178 * sysdeps/x86_64/fpu_control.h: Moved to ...
3179 * sysdeps/x86/fpu_control.h: Here.
3181 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3182 (_FPU_SETCW): Likewise.
3184 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3187 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3188 * sysdeps/x86/fpu/bits/mathinline.h: This.
3189 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3193 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3194 functions if __x86_64__ is defined.
3196 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3198 * string/endian.h: Add !__ASSEMBLER__ condition for including
3199 conversion interfaces.
3201 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3204 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3205 of ABS(x) in calculating zero to negative powers other than odd
3207 * math/libm-test.inc (pow_test): Add more tests.
3209 2012-06-15 Andreas Jaeger <aj@suse.de>
3211 * manual/contrib.texi (Contributors): Update entry of Liubov
3212 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3215 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3217 * string/string.h: Add __wur to GNU version of strerror_r.
3219 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3222 * string/Makefile (tests): Add tst-strtok_r.
3223 * string/tst-strtok_r.c: New file.
3224 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3225 RAX_LP/RDX_LP on SAVE_PTR.
3227 2012-06-14 Roland McGrath <roland@hack.frob.com>
3229 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3231 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3233 * libm_test.inc (csqrt_test): Allow more spurious underflow
3235 (j0_test): Likewise.
3236 (j1_test): Likewise.
3237 (y0_test): Likewise.
3238 (y1_test): Likewise.
3240 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3242 * po/Makefile (libc.pot): Use UTF-8 charset.
3244 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3247 Suppress sign-conversion warning from FD_SET.
3248 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3249 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3250 not unsigned long int.
3251 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3253 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3257 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3258 __extern_always_inline instead of __extern_inline.
3259 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3260 (__signbit): Likewise.
3261 (__signbitl): Support C++ namespace.
3262 (lrintf): New inline function.
3264 (llrintf): Likewise.
3276 (nearbyint): Likewise.
3277 (nearbyintf): Likewise.
3279 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3281 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3282 non-default versions.
3284 2012-06-11 Roland McGrath <roland@hack.frob.com>
3287 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3289 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3291 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3292 (FE_UPWARD, FE_DOWNWARD): Don't define.
3293 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3294 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3296 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3298 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3299 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3301 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3303 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3304 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3305 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3306 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3308 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3311 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3312 * sysdeps/i386/fpu/Implies: New file.
3313 * sysdeps/x86_64/fpu/Implies: Likewise.
3314 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3315 * sysdeps/x86/fpu/bits/fenv.h: This.
3317 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3320 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3323 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3324 character 0xffff that matches the last element of the
3327 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3329 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3332 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3334 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3335 values higher than 25.6283.
3337 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3339 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3340 subnormal exponent extraction and add some __builtin_expect.
3341 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3342 Fix for subnormal mantissa calculation.
3344 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3346 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3347 cpu2 is -1 and errno is not ENOSYS.
3349 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3352 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3353 * sysdeps/x86/bits/string.h: This.
3354 * sysdeps/x86_64/bits/string.h: Removed.
3356 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3357 if not compiling for x86-64, but compiling for >= i486.
3359 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3360 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3362 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3363 New macro from Linux kernel 3.4.0.
3364 (FP_XSTATE_MAGIC2): Likewise.
3365 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3366 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3367 (struct _fpx_sw_bytes): New struct.
3368 (struct _xsave_hdr): Likewise.
3369 (struct _ymmh_state): Likewise.
3370 (struct _xstate): Likewise.
3372 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3373 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3374 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3375 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3376 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3377 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3379 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3380 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3381 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3382 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3383 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3384 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3386 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3389 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3390 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3391 (sysdep_headers): Include sys/platform/ppc.h.
3392 * sysdeps/powerpc/test-gettimebase.c: Test for
3393 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3394 * manual/Makefile (appendices): Include platform.texi.
3395 * manual/contrib.texi (Contributors): Update @node pointers.
3396 * manual/maint.texi (Maintenance): Likewise.
3397 (Platform): New node.
3398 * manual/platform.texi: New file. Document the new features.
3400 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3401 Jakub Jelinek <jakub@redhat.com>
3404 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3405 where __builtin_expect is unavailable.
3407 2012-06-03 David S. Miller <davem@davemloft.net>
3409 * stdlib/longlong.h: Updated from GCC.
3411 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3414 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3415 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3418 (GLIBC_2.16): Likewise.
3420 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3422 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3424 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3427 (default-abi): New variable.
3428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3429 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3431 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3433 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3435 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3438 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3439 definition. Document in comment.
3441 2012-06-01 David S. Miller <davem@davemloft.net>
3443 * stdlib/longlong.h: Updated from GCC.
3445 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3448 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3449 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3450 sys/debugreg.h sys/io.h here.
3451 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3452 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3454 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3455 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3456 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3457 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3458 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3459 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3461 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3462 Define only if __x86_64__ is defined.
3464 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3467 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3468 Use int64_t for variable i.
3469 * math/libm-test.inc (fmod_test): Add more tests.
3471 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3472 z computation is not scheduled after fetestexcept.
3473 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3474 Use math_force_eval instead of asm to ensure calculation scheduled
3475 before exception test.
3476 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3477 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3479 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3482 computation is not scheduled after fetestexcept.
3484 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3487 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3488 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3490 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3492 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3493 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3495 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3498 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3500 (__WCHAR_MIN): Support __WORDSIZE == 64.
3501 (__WCHAR_MAX): Likewise.
3503 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3504 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3507 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3508 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3511 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3512 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3514 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3515 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3517 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3518 Defined to 1 if __x86_64__ isn't defined.
3519 (_STAT_VER_LINUX_OLD): New.
3520 (st_atime): Remove duplicate.
3521 (st_mtime): Likewise.
3522 (st_ctime): Likewise.
3524 2012-05-31 David S. Miller <davem@davemloft.net>
3526 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3529 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3531 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3535 * elf/dl-reloc.c: Include <_itoa.h>.
3536 (_dl_reloc_bad_type): Remove use of INTUSE.
3537 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3538 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3539 * stdio-common/psiginfo.c (psiginfo): Likewise.
3540 * stdio-common/psignal.c (psignal): Likewise.
3541 * string/strsignal.c (strsignal): Likewise.
3542 * include/signal.h (_sys_siglist): Declare hidden proto.
3543 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3544 INTVARDEF with libc_hidden_data_def.
3545 * stdio-common/itoa-udigits.c: Likewise.
3546 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3547 (_itoa_lower_digits_internal): Remove declaration.
3548 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3549 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3550 (_sys_sigabbrev_internal): Remove aliases.
3551 (_sys_siglist): Define hidden alias.
3553 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3558 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3561 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3562 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3564 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3565 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3566 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3567 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3568 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3569 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3571 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3572 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3573 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3575 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3583 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3584 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3585 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3587 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3588 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3589 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3590 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3591 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3592 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3594 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3595 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3597 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3598 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3600 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3601 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3602 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3604 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3605 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3607 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3609 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3610 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3611 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3613 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3615 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3617 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3619 * math/math.h (M_El): Use two more decimal places.
3620 (M_LOG2El): Likewise.
3621 (M_LOG10El): Likewise.
3623 (M_LN10l): Likewise.
3625 (M_PI_2l): Likewise.
3626 (M_PI_4l): Likewise.
3627 (M_1_PIl): Likewise.
3628 (M_2_PIl): Likewise.
3629 (M_2_SQRTPIl): Likewise.
3630 (M_SQRT2l): Likewise.
3631 (M_SQRT1_2l): Likewise.
3633 2012-05-31 David S. Miller <davem@davemloft.net>
3635 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3636 values between float registers.
3637 * sysdeps/sparc/sparc64/memset.S: Likewise.
3638 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3640 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3642 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3643 -D_FORTIFY_SOURCE=1.
3644 (CPPFLAGS-tst-longjmp_chk.c): Define.
3645 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3646 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3647 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3648 CFLAGS-tst-wchar-h.c.
3650 2012-05-31 Marek Polacek <polacek@redhat.com>
3653 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3654 __endmntent_internal): Remove declaration.
3655 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3656 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3657 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3659 2012-05-30 David S. Miller <davem@davemloft.net>
3661 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3662 (___Q_simulate_exceptions): Use real FP ops rather than writing
3664 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3667 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3670 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3671 * sysdeps/x86/bits/xtitypes.h: This.
3673 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3674 * sysdeps/x86/bits/wordsize.h: This.
3676 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3677 * sysdeps/x86/bits/huge_vall.h: This.
3679 * sysdeps/i386/bits/select.h: Removed.
3680 * sysdeps/x86_64/bits/select.h: Renamed to ...
3681 * sysdeps/x86/bits/select.h: This.
3683 * sysdeps/i386/bits/setjmp.h: Removed.
3684 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3685 * sysdeps/x86/bits/setjmp.h: This.
3687 * sysdeps/i386/bits/mathdef.h: Removed.
3688 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3689 * sysdeps/x86/bits/mathdef.h: This.
3691 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3694 * include/sys/socket.h (__connect_internal)
3695 (__libc_sa_len_internal): Remove declaration.
3696 (__connect, __libc_sa_len): Declare hidden_proto.
3697 (SA_LEN): Remove use of INTUSE.
3698 * socket/connect.c: Add libc_hidden_def.
3699 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3700 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3701 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3703 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3704 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3705 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3706 of adding _internal alias.
3708 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3711 * sysdeps/i386/bits/link.h: Removed.
3712 * sysdeps/i386/bits/linkmap.h: Likewise.
3713 * sysdeps/x86_64/bits/link.h: Renamed to ...
3714 * sysdeps/x86/bits/link.h: This.
3715 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3716 * sysdeps/x86/bits/linkmap.h: This.
3718 * sysdeps/i386/bits/endian.h: Removed.
3719 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3720 * sysdeps/x86/bits/endian.h: This.
3722 * sysdeps/i386/bits/byteswap.h: Removed.
3723 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3724 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3725 * sysdeps/x86/bits/byteswap.h: This.
3726 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3727 * sysdeps/x86/bits/byteswap-16.h: This.
3728 * sysdeps/i386/Implies: Add x86.
3729 * sysdeps/x86_64/Implies: Likewise.
3731 2012-05-30 David S. Miller <davem@davemloft.net>
3733 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3734 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3735 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3736 (FP_TRAPPING_EXCEPTIONS): Define.
3737 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3738 (FP_TRAPPING_EXCEPTIONS): Define.
3739 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3740 subnormals only when inexact has been signalled or underflow
3741 exceptions are enabled.
3742 (_FP_PACK_CANONICAL): Likewise.
3744 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3747 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3748 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3750 2012-05-30 Richard Henderson <rth@twiddle.net>
3752 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3753 with #ifndef NOT_IN_libc.
3755 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3756 marked to avoid plt entry.
3758 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3761 * Makeconfig (default-abi): New macro.
3762 (abi-includes): Likewise.
3763 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3764 $(abi-$(default-abi)-lib-soname) for soname if defined.
3765 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3767 * Makefile (installed-stubs): Likewise.
3768 * include/stubs-biarch.h: Removed.
3769 * scripts/lib-names.awk: Only handle one library at a time.
3770 * scripts/soversions.awk: Remove WORDSIZE support.
3771 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3773 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3775 (syscall-list-default-condition): Likewise.
3776 (syscall-list-default-condition): Likewise.
3777 (syscall-list-includes): Likewise.
3778 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3779 syscall-list-* with abi-*. Handle undefined abi-variants.
3780 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3781 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3782 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3783 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3784 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3785 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3787 (syscall-list-32-options): Likewise.
3788 (syscall-list-32-condition): Likewise.
3789 (syscall-list-64-options): Likewise.
3790 (syscall-list-64-condition): Likewise.
3791 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3793 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3796 (abi-64-ld-soname): New macro.
3797 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3798 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3801 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3802 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3804 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3806 * sysdeps/unix/sysv/linux/kernel-features.h
3807 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3808 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3809 include <kernel-features.h>.
3810 [!__NR_ftruncate64]: Remove conditional code.
3811 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3812 [__NR_ftruncate64]: Make code unconditional.
3813 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3814 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3815 include <kernel-features.h>.
3816 [!__NR_ftruncate64]: Remove conditional code.
3817 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3818 [__NR_ftruncate64]: Make code unconditional.
3819 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3821 include <kernel-features.h>.
3822 [!__NR_ftruncate64]: Remove conditional code.
3823 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3824 [__NR_ftruncate64]: Make code unconditional.
3825 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3827 include <kernel-features.h>.
3828 [!__NR_ftruncate64]: Remove conditional code.
3829 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3830 [__NR_ftruncate64]: Make code unconditional.
3831 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3833 * configure.in (libc_cv_fpie): Weaken to a compile test using
3835 * configure: Regenerated.
3837 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3852 2012-05-27 David S. Miller <davem@davemloft.net>
3854 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3856 (__Q_simulate_exceptions): Return void. Change to simulate
3857 exceptions by writing into the %fsr.
3858 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3859 (__Qp_handle_exceptions): Likewise.
3861 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3862 __Qp_handle_exceptions.
3863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3864 __Qp_handle_exceptions.
3865 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3866 as unused and give dummy FP_RND_NEAREST initializer.
3867 (FP_INHIBIT_RESULTS): Define.
3868 (___Q_simulate_exceptions): Update declaration.
3869 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3871 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3872 as unused and give dummy FP_RND_NEAREST initializer.
3873 (__Qp_handle_exceptions): Update declaration.
3874 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3877 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3879 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3880 the temporary FPU control word.
3881 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3882 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3883 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3884 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3885 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3886 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3887 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3888 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3889 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3890 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3891 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3893 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3895 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3898 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3900 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3901 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3902 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3903 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3905 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3906 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3909 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3911 * po/h.po: Update from translation team.
3913 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3915 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3917 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3918 handling of denormals.
3919 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3920 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3921 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3922 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3923 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3924 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3925 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3928 2012-05-26 Marek Polacek <polacek@redhat.com>
3931 * math/libm-test.inc (fma_test): Don't always expect underflow
3934 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3937 * elf/tst-execstack.c: Include stackinfo.h.
3938 (do_test): Adjust test case to ensure that pthread_getattr_np
3939 behaviour remains the same after marking stack executable.
3941 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3943 * sysdeps/unix/sysv/linux/kernel-features.h
3944 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3945 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3947 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3948 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3949 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3951 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3952 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3954 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3956 * configure.in: Define the default includes to being none.
3957 * configure: Regenerated.
3959 2012-05-25 Roland McGrath <roland@hack.frob.com>
3961 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3962 * sysdeps/x86_64/setjmp.S: Likewise.
3963 * sysdeps/i386/bsd-setjmp.S: Likewise.
3964 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3965 * sysdeps/i386/setjmp.S: Likewise.
3966 * sysdeps/i386/__longjmp.S: Likewise.
3967 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3968 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3970 * include/stap-probe.h: New file.
3971 * configure.in: Handle --enable-systemtap.
3972 * configure: Regenerated.
3973 * config.h.in (USE_STAP_PROBE): New #undef.
3974 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3975 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3976 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3978 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3981 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3982 to 2.4.0 where earlier.
3983 * sysdeps/unix/sysv/linux/configure: Regenerated.
3984 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3985 <kernel-features.h>.
3986 [__ASSUME_32BITUIDS]: Make code unconditional.
3987 [!__ASSUME_32BITUIDS]: Remove conditional code.
3988 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3989 <kernel-features.h>.
3990 [__ASSUME_32BITUIDS]: Make code unconditional.
3991 [!__ASSUME_32BITUIDS]: Remove conditional code.
3992 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3993 [__ASSUME_32BITUIDS]: Make code unconditional.
3994 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3995 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3996 <kernel-features.h>.
3997 [__ASSUME_32BITUIDS]: Make code unconditional.
3998 [!__ASSUME_32BITUIDS]: Remove conditional code.
3999 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4000 <kernel-features.h>.
4001 [__ASSUME_32BITUIDS]: Make code unconditional.
4002 [!__ASSUME_32BITUIDS]: Remove conditional code.
4003 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4004 <kernel-features.h>.
4005 [__ASSUME_32BITUIDS]: Make code unconditional.
4006 [!__ASSUME_32BITUIDS]: Remove conditional code.
4007 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4008 <kernel-features.h>.
4009 [__ASSUME_32BITUIDS]: Make code unconditional.
4010 [!__ASSUME_32BITUIDS]: Remove conditional code.
4011 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4012 <kernel-features.h>.
4013 [__ASSUME_32BITUIDS]: Make code unconditional.
4014 [!__ASSUME_32BITUIDS]: Remove conditional code.
4015 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4016 <kernel-features.h>.
4017 [__ASSUME_32BITUIDS]: Make code unconditional.
4018 [!__ASSUME_32BITUIDS]: Remove conditional code.
4019 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4020 <kernel-features.h>.
4021 [__ASSUME_32BITUIDS]: Make code unconditional.
4022 [!__ASSUME_32BITUIDS]: Remove conditional code.
4023 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4024 <kernel-features.h>.
4025 [__ASSUME_32BITUIDS]: Make code unconditional.
4026 [!__ASSUME_32BITUIDS]: Remove conditional code.
4027 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4028 <kernel-features.h>.
4029 [__ASSUME_32BITUIDS]: Make code unconditional.
4030 [!__ASSUME_32BITUIDS]: Remove conditional code.
4031 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4032 <kernel-features.h>.
4033 [__ASSUME_32BITUIDS]: Make code unconditional.
4034 [!__ASSUME_32BITUIDS]: Remove conditional code.
4035 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4036 <kernel-features.h>.
4037 [__NR_setresgid] (__setresgid): Do not declare.
4038 [__ASSUME_32BITUIDS]: Make code unconditional.
4039 [!__ASSUME_32BITUIDS]: Remove conditional code.
4040 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4041 <kernel-features.h>.
4042 [__NR_setresuid] (__setresuid): Do not declare.
4043 [__ASSUME_32BITUIDS]: Make code unconditional.
4044 [!__ASSUME_32BITUIDS]: Remove conditional code.
4045 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4046 <kernel-features.h>.
4047 [__ASSUME_32BITUIDS]: Make code unconditional.
4048 [!__ASSUME_32BITUIDS]: Remove conditional code.
4049 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4050 <kernel-features.h>.
4051 [__ASSUME_32BITUIDS]: Make code unconditional.
4052 [!__ASSUME_32BITUIDS]: Remove conditional code.
4053 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4054 <kernel-features.h>.
4055 [__ASSUME_32BITUIDS]: Make code unconditional.
4056 [!__ASSUME_32BITUIDS]: Remove conditional code.
4057 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4058 <kernel-features.h>.
4059 [__ASSUME_32BITUIDS]: Make code unconditional.
4060 [!__ASSUME_32BITUIDS]: Remove conditional code.
4061 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4062 <kernel-features.h>.
4063 [__ASSUME_32BITUIDS]: Make code unconditional.
4064 [!__ASSUME_32BITUIDS]: Remove conditional code.
4065 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4066 <kernel-features.h>.
4067 [__ASSUME_32BITUIDS]: Make code unconditional.
4068 [!__ASSUME_32BITUIDS]: Remove conditional code.
4069 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4070 <kernel-features.h>.
4071 [__ASSUME_32BITUIDS]: Make code unconditional.
4072 [!__ASSUME_32BITUIDS]: Remove conditional code.
4073 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4074 <kernel-features.h>.
4075 [__ASSUME_32BITUIDS]: Make code unconditional.
4076 [!__ASSUME_32BITUIDS]: Remove conditional code.
4077 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4078 <kernel-features.h>.
4079 [__ASSUME_32BITUIDS]: Make code unconditional.
4080 [!__ASSUME_32BITUIDS]: Remove conditional code.
4081 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4082 <kernel-features.h>.
4083 [__ASSUME_32BITUIDS]: Make code unconditional.
4084 [!__ASSUME_32BITUIDS]: Remove conditional code.
4085 * sysdeps/unix/sysv/linux/kernel-features.h
4086 (__ASSUME_SETRESUID_SYSCALL): Remove.
4087 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4088 (__ASSUME_32BITUIDS): Likewise.
4089 (__ASSUME_LDT_WORKS): Likewise.
4090 (__ASSUME_O_DIRECTORY): Likewise.
4091 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4092 architecture but not kernel version.
4093 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4094 (__ASSUME_MMAP2_SYSCALL): Likewise.
4095 (__ASSUME_STAT64_SYSCALL): Likewise.
4096 (__ASSUME_IPC64): Likewise.
4097 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4098 <kernel-features.h>.
4099 [__ASSUME_32BITUIDS]: Make code unconditional.
4100 [!__ASSUME_32BITUIDS]: Remove conditional code.
4101 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4102 <kernel-features.h>.
4103 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4104 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4105 132096]: Remove conditional code.
4106 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4107 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4108 <kernel-features.h>.
4109 [__ASSUME_32BITUIDS]: Make code unconditional.
4110 [!__ASSUME_32BITUIDS]: Remove conditional code.
4111 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4112 <kernel-features.h>.
4113 [__ASSUME_32BITUIDS]: Make code unconditional.
4114 [!__ASSUME_32BITUIDS]: Remove conditional code.
4115 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4116 <kernel-features.h>.
4117 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4119 (__setresgid): Do not declare.
4120 [__ASSUME_32BITUIDS]: Make code unconditional.
4121 [!__ASSUME_32BITUIDS]: Remove conditional code.
4122 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4123 <kernel-features.h>.
4124 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4126 (__setresuid): Do not declare.
4127 [__ASSUME_32BITUIDS]: Make code unconditional.
4128 [!__ASSUME_32BITUIDS]: Remove conditional code.
4129 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4130 <kernel-features.h>.
4131 [__ASSUME_32BITUIDS]: Make code unconditional.
4132 [!__ASSUME_32BITUIDS]: Remove conditional code.
4133 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4134 <kernel-features.h>.
4135 [__ASSUME_32BITUIDS]: Make code unconditional.
4136 [!__ASSUME_32BITUIDS]: Remove conditional code.
4138 2012-05-25 Richard Henderson <rth@twiddle.net>
4140 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4141 dl_hwcap to ifunc resolver.
4142 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4144 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4145 dl_hwcap to ifunc resolver.
4146 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4148 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4151 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4152 for |x| <= 2**-26, not 2**-57.
4153 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4156 2012-05-24 Jeff Law <law@redhat.com>
4158 * stdio-common/Makefile (tests): Add bug25.
4159 * stdio-common/bug25.c: New test.
4161 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4164 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4165 multiple of MALLOC_ALIGNMENT in size.
4166 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4168 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4170 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4172 (FILENAME_MAX): Use macro-int-constant.
4173 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4174 (_IOFBF): Use macro-int-constant.
4177 (SEEK_CUR): Likewise.
4178 (SEEK_END): Likewise.
4179 (SEEK_SET): Likewise.
4180 (TMP_MAX): Likewise.
4181 (EOF): Use macro-int-constant. Require < 0.
4182 (NULL): Use macro-constant. Require == 0.
4183 (stdin): Require type to be FILE *.
4186 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4188 (EXIT_SUCCESS): Likewise.
4189 (NULL): Use macro-constant. Require == 0.
4190 (RAND_MAX): Use macro-int-constant.
4191 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4192 [C99-based standards] (strtof): Require function.
4193 [C99-based standards] (strtold): Likewise.
4194 [C99-based standards] (strtoll): Likewise.
4195 [C99-based standards] (strtoull): Likewise.
4196 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4197 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4198 [ISO || ISO99 || ISO11] (math.h): Likewise.
4199 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4200 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4201 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4203 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4206 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4207 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4208 * intl/dgettext.c (DCGETTEXT): Likewise.
4209 * intl/gettext.c (DCGETTEXT): Likewise.
4210 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4211 * posix/regex_internal.h (gettext): Likewise.
4212 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4214 * include/argz.h (__argz_count_internal)
4215 (__argz_stringify_internal): Remove declaration.
4216 (__argz_count, __argz_stringify): Declare hidden proto.
4217 * intl/dcgettext.c: Remove use of INTDEF.
4218 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4219 * string/argz-stringify.c: Likewise.
4220 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4221 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4222 Declare hidden proto.
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/stdio.h (__asprintf_internal): Don't declare.
4227 (__asprintf): Don't define as macro. Declare hidden proto.
4228 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4229 (__fsetlocking): Declare hidden proto.
4230 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4231 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4233 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4234 (_IO_setlinebuf): Remove use of INTUSE.
4235 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4236 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4237 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4239 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4240 (_IO_do_flush): Remove use of INTUSE.
4241 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4242 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4243 (_IO_adjust_column, _IO_least_wmarker)
4244 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4245 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4246 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4247 (_IO_default_doallocate, _IO_wdefault_doallocate)
4248 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4249 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4250 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4251 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4252 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4253 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4254 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4255 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4256 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4257 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4258 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4259 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4260 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4262 (_IO_flush_all_internal, _IO_adjust_column_internal)
4263 (_IO_default_uflow_internal, _IO_default_finish_internal)
4264 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4265 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4266 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4267 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4268 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4269 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4270 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4271 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4272 (_IO_file_close_internal, _IO_file_close_it_internal)
4273 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4274 (_IO_file_init_internal, _IO_file_attach_internal)
4275 (_IO_file_fopen_internal, _IO_file_read_internal)
4276 (_IO_file_sync_internal, _IO_file_seek_internal)
4277 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4278 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4279 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4280 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4281 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4282 (_IO_list_all_internal, _IO_link_in_internal)
4283 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4284 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4285 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4286 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4287 (_IO_do_write_internal, _IO_padn_internal)
4288 (_IO_getline_info_internal, _IO_getline_internal)
4289 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4290 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4291 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4292 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4293 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4294 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4295 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4296 with libc_hidden_ver, remove use of INTUSE.
4297 * libio/genops.c: Likewise.
4298 * libio/freopen.c: Likewise.
4299 * libio/freopen64.c: Likewise.
4300 * libio/iofclose.c: Likewise.
4301 * libio/iofdopen.c: Likewise.
4302 * libio/iofflush.c: Likewise.
4303 * libio/iofflush_u.c: Likewise.
4304 * libio/iofgets.c: Likewise.
4305 * libio/iofgets_u.c: Likewise.
4306 * libio/iofopen.c: Likewise.
4307 * libio/iofopncook.c: Likewise.
4308 * libio/iofread.c: Likewise.
4309 * libio/iofread_u.c: Likewise.
4310 * libio/ioftell.c: Likewise.
4311 * libio/iofwrite.c: Likewise.
4312 * libio/iogetline.c: Likewise.
4313 * libio/iogets.c: Likewise.
4314 * libio/iogetwline.c: Likewise.
4315 * libio/iopadn.c: Likewise.
4316 * libio/iopopen.c: Likewise.
4317 * libio/ioseekoff.c: Likewise.
4318 * libio/ioseekpos.c: Likewise.
4319 * libio/iosetbuffer.c: Likewise.
4320 * libio/iosetvbuf.c: Likewise.
4321 * libio/ioungetc.c: Likewise.
4322 * libio/ioungetwc.c: Likewise.
4323 * libio/iovdprintf.c: Likewise.
4324 * libio/iovsprintf.c: Likewise.
4325 * libio/iovsscanf.c: Likewise.
4326 * libio/memstream.c: Likewise.
4327 * libio/obprintf.c: Likewise.
4328 * libio/oldfileops.c: Likewise.
4329 * libio/oldiofclose.c: Likewise.
4330 * libio/oldiofdopen.c: Likewise.
4331 * libio/oldiofopen.c: Likewise.
4332 * libio/oldiopopen.c: Likewise.
4333 * libio/oldstdfiles.c: Likewise.
4334 * libio/putc.c: Likewise.
4335 * libio/setbuf.c: Likewise.
4336 * libio/setlinebuf.c: Likewise.
4337 * libio/stdfiles.c: Likewise.
4338 * libio/strops.c: Likewise.
4339 * libio/vasprintf.c: Likewise.
4340 * libio/vscanf.c: Likewise.
4341 * libio/vsnprintf.c: Likewise.
4342 * libio/vswprintf.c: Likewise.
4343 * libio/wfiledoalloc.c: Likewise.
4344 * libio/wfileops.c: Likewise.
4345 * libio/wgenops.c: Likewise.
4346 * libio/wmemstream.c: Likewise.
4347 * libio/wstrops.c: Likewise.
4348 * libio/__fpurge.c: Likewise.
4349 * libio/__fsetlocking.c: Likewise.
4350 * assert/assert.c: Likewise.
4351 * debug/fgets_chk.c: Likewise.
4352 * debug/fgets_u_chk.c: Likewise.
4353 * debug/fread_chk.c: Likewise.
4354 * debug/fread_u_chk.c: Likewise.
4355 * debug/gets_chk.c: Likewise.
4356 * debug/obprintf_chk.c: Likewise.
4357 * debug/vasprintf_chk.c: Likewise.
4358 * debug/vdprintf_chk.c: Likewise.
4359 * debug/vsnprintf_chk.c: Likewise.
4360 * debug/vsprintf_chk.c: Likewise.
4361 * malloc/mtrace.c: Likewise.
4362 * misc/error.c: Likewise.
4363 * misc/syslog.c: Likewise.
4364 * stdio-common/asprintf.c: Likewise.
4365 * stdio-common/fxprintf.c: Likewise.
4366 * stdio-common/getw.c: Likewise.
4367 * stdio-common/isoc99_fscanf.c: Likewise.
4368 * stdio-common/isoc99_scanf.c: Likewise.
4369 * stdio-common/isoc99_vfscanf.c: Likewise.
4370 * stdio-common/isoc99_vscanf.c: Likewise.
4371 * stdio-common/isoc99_vsscanf.c: Likewise.
4372 * stdio-common/printf-prs.c: Likewise.
4373 * stdio-common/printf_fp.c: Likewise.
4374 * stdio-common/printf_fphex.c: Likewise.
4375 * stdio-common/printf_size.c: Likewise.
4376 * stdio-common/putw.c: Likewise.
4377 * stdio-common/scanf.c: Likewise.
4378 * stdio-common/sprintf.c: Likewise.
4379 * stdio-common/tmpfile.c: Likewise.
4380 * stdio-common/vfprintf.c: Likewise.
4381 * stdio-common/vfscanf.c: Likewise.
4382 * stdlib/strfmon_l.c: Likewise.
4383 * sunrpc/openchild.c: Likewise.
4384 * sunrpc/xdr_stdio.c: Likewise.
4385 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4386 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4388 2012-05-24 Roland McGrath <roland@hack.frob.com>
4390 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4392 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4393 in the third column, to generate for the shared library an IFUNC
4394 that uses _dl_vdso_vsym.
4395 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4396 * Makeconfig (object-suffixes-noshared): New variable.
4398 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4399 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4400 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4401 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4404 * include/sys/time.h (__gettimeofday): Remove macro.
4405 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4406 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4408 (__gettimeofday): Add libc_hidden_def.
4409 (gettimeofday): Add libc_hidden_weak.
4410 * sysdeps/mach/gettimeofday.c: Likewise.
4411 * sysdeps/posix/gettimeofday.c: Likewise.
4412 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4413 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4414 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4415 (__gettimeofday_internal): Remove strong_alias.
4416 (__gettimeofday): Add libc_hidden_def.
4417 (gettimeofday): Add libc_hidden_weak.
4418 * sysdeps/unix/syscalls.list (gettimeofday):
4419 Remove __gettimeofday_internal alias.
4421 2012-05-24 Daniel Jacobowitz <drow@false.org>
4422 H.J. Lu <hongjiu.lu@intel.com>
4425 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4426 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4427 (largebin_index_32_big): New.
4428 (largebin_index): Use it for 16-byte alignment.
4429 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4430 correction with front_misalign.
4432 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4460 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4461 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4463 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4467 * math/libm-test.inc (exp_test): Add test from bug 14036.
4468 (pow_test): Add test from bug 10846.
4470 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4472 (special_function): Do not include flags in test name.
4473 (parse_args): Likewise.
4474 * sysdeps/i386/fpu/libm-test-ulps: Update.
4475 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4476 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4477 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4480 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4482 * math/libm-test.inc ("Philosophy"): Update comment about
4484 (UNDERFLOW_EXCEPTION): New macro.
4485 (UNDERFLOW_EXCEPTION_OK): Likewise.
4486 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4487 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4488 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4489 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4490 (INVALID_EXCEPTION_OK): Update value.
4491 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4492 (OVERFLOW_EXCEPTION_OK): Likewise.
4493 (IGNORE_ZERO_INF_SIGN): Likewise.
4494 (test_exceptions): Handle underflow exceptions.
4495 (acos_test): Update for underflow exception expectations.
4496 (cexp_test): Likewise.
4497 (clog_test): Likewise.
4498 (clog10_test): Likewise.
4499 (csqrt_test): Likewise.
4500 (ctan_test): Likewise.
4501 (ctanh_test): Likewise.
4502 (exp_test): Likewise.
4503 (exp10_test): Likewise.
4504 (exp2_test): Likewise.
4505 (expm1_test): Likewise.
4506 (fma_test): Likewise.
4507 (j0_test): Likewise.
4508 (jn_test): Likewise.
4509 (nexttoward_test): Likewise.
4510 (pow_test): Likewise.
4511 (scalbn_test): Likewise.
4512 (scalbln_test): Likewise.
4513 (tan_test): Likewise.
4514 (y1_test): Likewise.
4515 * sysdeps/i386/fpu/libm-test-ulps: Update.
4516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4518 2012-05-23 David S. Miller <davem@davemloft.net>
4520 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4521 (__libc_sigaction): Remove unused local variables.
4523 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4525 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4527 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4529 mktime: avoid signed integer overflow
4530 * time/mktime.c (__mktime_internal): Do not mishandle the case
4531 where diff == INT_MIN.
4533 mktime: simplify computation of average
4534 * time/mktime.c (ranged_convert): Use new time_t_avg function
4535 instead of rolling our own (probably-slower) code.
4537 mktime: do not assume signed right shift propagates sign bit
4538 * time/mktime.c (isdst_differ): New static function.
4539 (__mktime_internal): No need to normalize tm_isdst now.
4540 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4543 mktime: merge another wrapv change from gnulib
4544 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4545 from some compilers.
4547 mktime: remove incorrect attempt at unusual arithmetics
4548 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4549 The code didn't really work on such machines anyway.
4550 (TYPE_MINIMUM): Assume two's complement.
4551 (twos_complement_arithmetic): Verify that long_int and time_t
4552 are two's complement (or unsigned, in the latter case).
4554 mktime: check signed shifts on long_int and time_t, too
4555 * time/mktime.c (SHR): Check that shifts work as desired
4556 on the types long_int and time_t too, as SHR is used on
4559 mktime: do not assume 'long' is wide enough
4560 * time/mktime.c (verify): Move decl up.
4561 (long_int): New type.
4562 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4563 to remove assumption in the code that 'long' is wide enough to
4564 store year values. This assumption is not true on x32 and on
4565 some non-glibc platforms.
4567 mktime: merge wrapv change from gnulib
4568 * time/mktime.c (WRAPV): New macro.
4569 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4570 (guess_time_tm, __mktime_internal): Do not assume that signed
4571 integer overflow wraps around; modern compilers generate code
4572 where this assumption is no longer valid.
4574 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4576 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4577 Replace "jmp L(pseudo_end)" with "ret".
4578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4581 2012-05-23 Andreas Jaeger <aj@suse.de>
4583 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4584 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4586 2012-05-23 Andreas Jaeger <aj@suse.de>
4587 Maximilian Attems <max@stro.at>
4589 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4592 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4594 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4595 code so that pseudo_end is just ret and the stack pointer is
4596 correct also for static library in error case.
4598 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4600 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4601 move to syscalls.list.
4602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4607 * manual/install.texi (Running make install): Do not mention Linux
4608 kernel version for which pt_chown is not needed.
4609 (Linux): Do not mention problems with nscd with 2.0 kernels.
4610 * INSTALL: Regenerated.
4612 2012-05-23 Andreas Jaeger <aj@suse.de>
4614 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4615 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4617 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4618 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4619 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4620 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4621 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4622 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4623 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4624 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4625 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4626 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4627 * sysdeps/unix/sysv/linux/bits/in.h
4628 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4630 2012-05-22 Roland McGrath <roland@hack.frob.com>
4632 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4633 (PREPARE_VERSION): Just use assert instead, it will be elided
4634 under [NDEBUG] anyway.
4636 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4638 * sysdeps/unix/sysv/linux/Makefile: Include
4639 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4640 (sysdep_routines): Remove sysctl.
4641 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4642 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4643 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4644 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4645 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4647 2012-05-22 Andreas Jaeger <aj@suse.de>
4649 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4650 that pseudo_end is just ret and the stack pointer is correct also
4651 for static library in error case.
4653 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4656 * nss/nsswitch.c (defconfig_entries): New variable.
4657 (__nss_database_lookup): Don't leak defconfig entries.
4658 (nss_parse_service_list): Don't leak on error paths.
4659 (free_database_entries): New function.
4660 (free_defconfig): New function.
4661 (free_mem): Move common code to free_database_entries.
4663 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4665 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4667 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4669 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4670 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4673 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4674 (INTERNAL_SYSCALL_TYPES): Likewise.
4675 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4676 (LOAD_REGS_TYPES_[1-6]): Likewise.
4677 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4678 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4680 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4682 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4683 copysignl for GLIBC_2_0.
4684 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4685 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4687 logbl for GLIBC_2_0.
4688 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4689 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4691 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4693 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4694 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4696 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4699 * time/mktime.c: Update copyright years.
4701 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4703 mktime: merge comment-quoting-style change from gnulib
4704 * time/mktime.c: Quote 'like this' in comments.
4705 The GNU coding standards suggest that we no longer quote `like this',
4706 as "`" and "'" are typically rendered asymmetrically nowadays.
4707 The typical gnulib style is to quote 'like this' when quoting
4708 code, and "like this" when quoting English.
4710 * time/mktime.c (compile-command): Add "-I.".
4712 mktime: merge mktime-internal.h change from gnulib
4713 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4715 mktime: merge time_r change from gnulib
4716 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4718 mktime: merge DEBUG change from gnulib
4719 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4720 case system <time.h> has a #define.
4722 mktime: merge <sys/types.h> change from gnulib
4723 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4724 since <time.t> is now guaranteed to define time_t.
4726 mktime: merge HAVE_CONFIG_H change from gnulib
4727 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4729 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4734 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4736 (struct rusage): Use anonymous union to pad each field to
4739 2012-05-21 David S. Miller <davem@davemloft.net>
4741 * Makefules (o-iterator): Remove .s cases.
4742 (compile-command.s): Delete.
4743 (COMPILE.s): Delete.
4744 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4746 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4748 * configure.in (libc_cv_predef_stack_protector): Only consider
4749 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4750 * configure: Regenerated.
4752 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4754 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4755 New macro. Use R*LP on int and pointer.
4756 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4757 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4758 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4759 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4761 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4762 [__WORDSIZE_TIME64_COMPAT32] instead of
4763 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4764 (struct utmp): Likewise.
4765 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4766 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4768 (__WORDSIZE_TIME64_COMPAT32): This.
4769 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4770 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4771 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4772 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4773 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4774 (__WORDSIZE_TIME64_COMPAT32): New macro.
4776 2012-05-21 Andreas Jaeger <aj@suse.de>
4778 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4779 only if [SHARED]. Add prototype for __wcschr_ia32.
4781 2012-05-21 Roland McGrath <roland@hack.frob.com>
4783 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4784 of %rbp unmolested in the jmp_buf while mangling the low bits.
4785 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4786 unmolested high bits of %rbp while demangling the low bits.
4787 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4789 2012-05-21 Andreas Jaeger <aj@suse.de>
4791 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4792 * sunrpc/svc_simple.c: Use it for registerrpc.
4793 * sunrpc/xcrypt.c: Use it for passwd2des.
4795 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4797 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4799 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4800 Don't define if [__SYSCALL_WORDSIZE != 32].
4801 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4804 2012-05-21 Bruno Haible <bruno@clisp.org>
4805 Andreas Jaeger <aj@suse.de>
4807 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4808 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4809 inptr and inend for must_buffer_ch.
4810 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4811 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4812 * stdio-common/Makefile (tests): Remove bug15.
4813 (bug15-ENV): Remove macro.
4814 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4817 2012-05-19 Andreas Jaeger <aj@suse.de>
4818 Roland McGrath <roland@hack.frob.com>
4820 * manual/contrib.texi: Completely rewritten. It contains now an
4821 alphabetical list of contributors and their contributions.
4823 2012-05-21 Richard Henderson <rth@twiddle.net>
4825 * misc/getauxval.c (__getauxval): Use unsigned long int.
4826 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4827 (getauxval): Use unsigned long int.
4829 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4831 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4833 2012-05-21 Roland McGrath <roland@hack.frob.com>
4835 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4836 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4837 __alignof__ (long double).
4839 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4843 2012-05-20 Richard Henderson <rth@twiddle.net>
4845 * misc/getauxval.c: New file.
4846 * misc/sys/auxv.h: New file.
4847 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4848 (routines): Add getauxval.
4849 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4850 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4851 * elf/dl-sysdep.c (_dl_auxv): Remove.
4852 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4853 * elf/dl-support.c (_dl_auxv): New variable.
4854 (_dl_aux_init): Initialize it.
4855 * manual/startup.texi (Auxiliary Vector): New node.
4856 * sysdeps/generic/bits/hwcap.h: New file.
4857 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4858 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4859 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4860 * sysdeps/sparc/sysdep.h: ... here. Include it.
4861 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4862 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4868 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4874 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4878 2012-05-19 David S. Miller <davem@davemloft.net>
4880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4882 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4885 * math/s_ccosh.c: Include <float.h>
4886 (__ccosh): Avoid internal overflow calculating sinh and cosh
4887 values before multiplying by sin and cos values.
4888 * math/s_ccoshf.c: Likewise.
4889 * math/s_ccoshl.c: Likewise.
4890 * math/s_csin.c: Likewise.
4891 * math/s_csinf.c: Likewise.
4892 * math/s_csinl.c: Likewise.
4893 * math/s_csinh.c: Likewise.
4894 * math/s_csinhf.c: Likewise.
4895 * math/s_csinhl.c: Likewise.
4896 * math/libm-test.inc (ccos_test): Add more tests.
4897 (ccosh_test): Likewise.
4898 (csin_test): Likewise.
4899 (csinh_test): Likewise.
4900 * sysdeps/i386/fpu/libm-test-ulps: Update.
4901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4903 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4905 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4906 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4908 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4910 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4912 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4913 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4914 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4915 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4916 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4917 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4918 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4919 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4920 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4921 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4922 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4923 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4924 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4925 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4926 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4927 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4928 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4929 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4930 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4931 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4932 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4933 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4934 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4935 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4936 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4937 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4938 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4939 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4940 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4941 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4942 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4944 2012-05-18 Andreas Jaeger <aj@suse.de>
4946 * csu/.gitignore: Delete.
4948 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4950 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4951 (timex): Use __syscall_slong_t.
4953 2012-05-18 Andreas Jaeger <aj@suse.de>
4954 Carlos O'Donell <carlos_odonell@mentor.com>
4956 * manual/install.texi (Configuring and compiling): Update
4957 description about files modified in the source directory.
4958 * INSTALL: Regenerated.
4960 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4962 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4963 value. Use "or" to set return value to -1.
4964 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4965 negate return value.
4967 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4969 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4970 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4971 failure if the compiler has Graphite support disabled.
4972 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4974 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4975 CFLAGS-memmove.c): Likewise.
4976 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4979 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4981 * sysdeps/x86_64/x32/_itoa.h: New file.
4983 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4984 getdents system call only if kernel and user dirents have the
4985 same d_ino and d_off.
4987 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4988 LLONG_MAX != LONG_MAX.
4989 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4990 (_fitoa_word): Likewise.
4992 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4994 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4995 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4996 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4998 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4999 include <bits/wordsize.h>. Check __x86_64__ instead of
5001 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5002 if __x86_64__ is defined. Use anonymous union on fpstate.
5004 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5007 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5009 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5010 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5011 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5012 Refer to _rtld_local_ro instead of _rtld_global_ro.
5013 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5015 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5017 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5019 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5020 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5021 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5023 * sysdeps/powerpc/powerpc32/dl-machine.c
5024 (__elf_machine_runtime_setup) [PROF]: Don't reference
5027 2012-05-18 Andreas Jaeger <aj@suse.de>
5029 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5030 function only available for GCCs before 3.4 since GCC 3.4
5031 introduced a builtin.
5033 (llrintf): Likewise.
5041 (nearbyint): Likewise.
5042 (nearbyintf): Likewise.
5048 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5050 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5051 on both fields and cast pointer to __syscall_ulong_t.
5053 * bits/types.h (__fsword_t): New type.
5054 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5055 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5056 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5057 (__FSWORD_T_TYPE): Likewise.
5058 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5059 (__FSWORD_T_TYPE): Likewise.
5060 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5061 (__FSWORD_T_TYPE): Likewise.
5062 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5063 (__FSWORD_T_TYPE): Likewise.
5064 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5065 __SWORD_TYPE with __fsword_t.
5066 (statfs64): Likewise.
5068 2012-05-17 David S. Miller <davem@davemloft.net>
5070 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5072 2012-05-17 Andreas Jaeger <aj@suse.de>
5074 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5077 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5079 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5081 2012-05-17 Andreas Jaeger <aj@suse.de>
5083 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5086 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5088 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5090 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5092 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5093 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5095 2012-05-17 Andreas Jaeger <aj@suse.de>
5096 Carlos O'Donell <carlos_odonell@mentor.com>
5099 * sysdeps/x86_64/multiarch/init-arch.h
5100 (bit_YMM_Usable): Rename to...
5101 (bit_AVX_Usable): ... this.
5102 (bit_FMA4_Usable): New macro.
5103 (bit_XMM_state): New macro.
5104 (bit_YMM_state): New macro.
5105 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5106 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5107 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5108 (CPUID_OSXSAVE): New macro.
5109 (CPUID_AVX): New macro.
5110 (CPUID_FMA4): New macro.
5111 (index_YMM_Usable): Rename to...
5112 (index_AVX_Usable): ... this.
5113 (HAS_AVX): Use HAS_ARCH_FEATURE.
5114 (HAS_FMA4): Likewise.
5115 (HAS_YMM_USABLE): Remove.
5116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5117 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5119 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5120 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5121 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5122 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5123 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5125 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5127 * math/libm-test.c: Support platforms without multiple rounding modes.
5128 * math/bug-nextafter.c: Support platforms without FP exceptions.
5129 * math/bug-nexttoward.c: Likewise.
5130 * math/test-fenv.c: Likewise.
5131 * math/test-misc.c: Likewise.
5132 * stdlib/bug-getcontext.c: Likewise.
5134 2012-05-17 Andreas Jaeger <aj@suse.de>
5136 * manual/examples/search.c (critter_cmp): Change signature to
5138 * manual/string.texi (Collation Functions): Likewise.
5140 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5142 * bits/types.h: Fold copyright years.
5143 * bits/typesizes.h: Likewise.
5144 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5145 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5147 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5148 * time/time.h: Likewise.
5150 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5153 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5154 in instead of returning them. Return void.
5155 (__libc_mallinfo): Accumulate over all arenas.
5156 (__malloc_stats): Adjust for change in int_mallinfo interface.
5158 2012-05-16 Roland McGrath <roland@hack.frob.com>
5161 * configure.in (NM): Add AC_CHECK_TOOL for it.
5162 (libc_extra_cflags): New substituted variable.
5163 Check for -fstack-protector being used implicitly.
5164 * configure: Regenerated.
5165 * config.make.in (config-extra-cflags): New variable,
5166 gets @libc_extra_cflags@.
5167 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5170 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5171 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5172 * configure: Regenerated.
5173 * config.make.in (CPPUNDEFS): New substituted variable.
5174 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5175 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5176 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5178 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5180 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5181 (mq_attr): Use __syscall_slong_t.
5183 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5185 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5186 Check __x86_64__ instead of __WORDSIZE.
5187 (_STAT_VER_LINUX): Likewise.
5188 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5189 __syscall_ulong_t and __syscall_slong_t.
5192 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5194 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5196 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5198 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5200 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5202 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5205 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5206 include <bits/wordsize.h>. Check __x86_64__ instead of
5208 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5210 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5212 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5213 include <bits/wordsize.h>. Check __x86_64__ instead of
5215 (user_regs_struct): Use "__extension__ unsigned long long"
5216 instead of "unsigned long" if __x86_64__ is defined.
5217 (user): Likewise. Pad after pointer field if __ILP32__ is
5220 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5222 * configure.in (makeinfo): Require version 4.5 or later. Allow
5224 * configure: Regenerated.
5225 * manual/install.texi (texinfo): Increase version requirement to
5227 * INSTALL: Regenerated.
5229 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5231 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5233 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5235 * sysdeps/x86_64/x32/ffs.c: New file.
5237 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5239 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5240 defined. Use __syscall_ulong_t.
5241 (shminfo): Use __syscall_ulong_t.
5242 (shm_info): Likewise.
5244 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5247 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5249 (msgqnum_t): Use __syscall_ulong_t.
5250 (msglen_t): Likewise.
5251 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5254 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5255 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5257 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5259 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5260 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5262 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5265 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5266 include <bits/wordsize.h>. Check __x86_64__ instead of
5269 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5270 "unsigned long long int" if __x86_64__ is defined.
5271 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5273 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5274 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5275 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5277 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5279 (GET_PC): Cast to uintptr_t first.
5280 (GET_FRAME): Likewise.
5281 (GET_STACK): Likewise.
5283 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5284 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5285 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5286 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5287 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5288 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5289 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5290 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5291 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5292 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5293 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5294 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5295 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5296 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5297 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5298 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5299 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5300 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5301 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5302 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5303 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5304 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5305 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5306 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5307 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5308 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5309 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5310 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5311 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5313 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5315 * Makerules (+depfiles): Also collect depfiles from .oS in
5317 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5318 .oS, $(libnldbl-routines)).
5320 * Makerules (native-compile-mkdep-flags): Define.
5321 * sunrpc/Makefile (extra-objs): Add $(addprefix
5322 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5323 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5324 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5325 calling $(make-target-directory).
5327 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5329 * bits/types.h (__snseconds_t): Removed.
5330 * time/time.h (struct timespec): Replace __snseconds_t with
5332 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5333 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5335 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5336 (__SNSECONDS_T_TYPE): Likewise.
5337 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5338 (__SNSECONDS_T_TYPE): Likewise.
5339 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5340 (__SNSECONDS_T_TYPE): Likewise.
5342 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5344 * sysdeps/mach/hurd/bits/typesizes.h
5345 (__SYSCALL_SLONG_TYPE): New macro.
5346 (__SYSCALL_ULONG_TYPE): Likewise.
5348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5350 * bits/types.h (__syscall_slong_t): New type.
5351 (__syscall_ulong_t): Likewise.
5353 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5354 (__SYSCALL_ULONG_TYPE): Likewise.
5355 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5356 (__SYSCALL_SLONG_TYPE): Likewise.
5357 (__SYSCALL_ULONG_TYPE): Likewise.
5358 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5359 (__SYSCALL_SLONG_TYPE): Likewise.
5360 (__SYSCALL_ULONG_TYPE): Likewise.
5361 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5362 (__SYSCALL_SLONG_TYPE): Likewise.
5363 (__SYSCALL_ULONG_TYPE): Likewise.
5365 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5367 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5368 Add sigaltstack-offsets.sym.
5369 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5370 <sigaltstack-offsets.h>.
5371 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5372 longjmp_msg pointer.
5373 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5374 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5376 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5378 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5380 * elf/stackguard-macros.h: Remove file.
5381 * sysdeps/generic/stackguard-macros.h: New file.
5382 * sysdeps/i386/stackguard-macros.h: Likewise.
5383 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5384 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5385 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5386 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5387 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5388 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5389 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5390 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5391 <elf/stackguard-macros.h>.
5394 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5395 __aligned__ in attribute.
5396 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5397 (gregset_t): Likewise.
5399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5401 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5402 * sysdeps/x86_64/64/Implies-after: Here. New file.
5403 * sysdeps/x86_64/x32/Implies-after: New file.
5405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5407 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5408 and access return value for _dl_profile_fixup. Use R10_LP to
5411 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5413 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5415 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5417 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5418 * sysdeps/x86_64/x32/sysdep.h: New file.
5420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5422 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5423 * sysdeps/x86_64/setjmp.S: Likewise.
5425 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5427 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5428 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5429 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5430 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5431 remove unused global constant.
5433 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5435 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5436 include of <not-cancel.h>.
5438 2012-05-15 Roland McGrath <roland@hack.frob.com>
5440 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5442 2012-05-15 Jeff Law <law@redhat.com>
5443 Andreas Jaeger <aj@suse.de>
5446 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5448 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5449 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5450 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5451 code changing __hst_map_handle.map.
5453 2012-05-15 Roland McGrath <roland@hack.frob.com>
5455 * configure.in (sysnames): Look for Implies-before and Implies-after
5457 * configure: Regenerated.
5459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5461 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5462 8-byte data alignment with LP_SIZE alignment.
5464 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5466 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5469 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5471 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5473 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5475 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5476 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5477 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5479 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5483 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5484 (stackinfo_sub_sp): Likewise.
5486 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5488 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5493 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5496 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5498 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5501 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5503 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5505 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5507 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5508 into R11_LP and load __x86_64_shared_cache_size_half into
5511 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5513 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5516 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5520 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5522 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5524 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5525 powerpc32/power7/fpu/s_logb.c via #include.
5526 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5527 powerpc32/power7/fpu/s_logbf.c via #include.
5528 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5529 powerpc32/power7/fpu/s_logbl.c via #include.
5531 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5533 * README.libm: Remove file.
5535 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5537 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5538 count for x32. Use R*_LP and omit operand-size suffix.
5540 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5542 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5543 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5544 * sysdeps/x86_64/x32/shlib-versions: New file.
5546 2012-05-14 Roland McGrath <roland@hack.frob.com>
5548 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5549 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5550 Use _dl_fatal_printf instead.
5552 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5554 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5555 set if not set by the user. Do not allow for being unset.
5556 * sysdeps/unix/sysv/linux/configure: Regenerated.
5558 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5560 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5561 the `q' suffix from lea and replace .quad with ASM_ADDR.
5563 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5566 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5568 (PTR_DEMANGLE): Likewise.
5570 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5572 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5574 (ASM_ADDR): Likewise.
5592 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5594 * sysdeps/x86_64/x32/dl-machine.h: New file.
5596 2012-05-14 Andreas Jaeger <aj@suse.de>
5598 * manual/Makefile (subdir): Remove export of subdir.
5599 (all): Remove target.
5600 (.PHONY): Remove all from list.
5601 (mkinstalldirs): Remove.
5602 (.PHONY): Remove installdirs from list.
5603 ($(inst_infodir)/libc.info): Use make-target-directory.
5604 (installdirs): Remove.
5606 (glibc-targets): Remove.
5609 ($(objpfx)stubs ../po/manual.pot): Remove.
5610 ($(objpfx)stamp%): Remove.
5611 (make-target-directory): Remove.
5612 (subdir_install): Remove.
5620 * manual/.gitignore: Remove, it's not needed anymore.
5621 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5623 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5625 (texis): Renamed to $(objpfx)texis.
5626 (texis-path): New, contains path to generated files.
5627 (chapters.%): Use texis-path for complete path, add extra argument
5629 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5630 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5631 (summary,texi, stamp-summary): Use complete path of
5632 files. Generate files in build dir.
5633 (dir-add.texi): Build in build dir.
5634 (libm-err.texi,stamp-libm-err): Likewise.
5635 (version.texi, stamp-version): Likewise.
5636 (.%c.texi): Likewise.
5637 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5638 (mostlyclean): Remove target.
5639 (realclean): Remove target.
5640 (generated): Add new variable with contents from mostlyclean and
5641 realclean, remove entries duplicated in common-mostlyclean, add
5642 stamp-libm-err and stamp-version.
5643 (generated-dirs): Add libc directory.
5644 ($(inst_infodir)/libc.info): Install files from build dir.
5646 * manual/install.texi (Configuring and compiling): Adjust since
5647 the info files are not part of the tar ball anymore.
5649 2012-05-14 Andreas Jaeger <aj@suse.de>
5651 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5654 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5657 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5658 to 2.2.0 where earlier.
5659 * sysdeps/unix/sysv/linux/configure: Regenerated.
5660 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5661 Remove conditional code.
5662 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5663 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5664 Remove conditional code.
5665 [!__NR_lchown]: Likewise.
5666 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5667 [__NR_lchown]: Likewise.
5668 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5669 comment referencing __ASSUME_LCHOWN_SYSCALL.
5670 * sysdeps/unix/sysv/linux/i386/sigaction.c
5671 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5672 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5673 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5674 Remove conditional code.
5675 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5676 (__protocol_available): Remove #if 0 code.
5677 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5679 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5680 * sysdeps/unix/sysv/linux/kernel-features.h
5681 (__ASSUME_GETCWD_SYSCALL): Don't define.
5682 (__ASSUME_REALTIME_SIGNALS): Likewise.
5683 (__ASSUME_PREAD_SYSCALL): Likewise.
5684 (__ASSUME_PWRITE_SYSCALL): Likewise.
5685 (__ASSUME_POLL_SYSCALL): Likewise.
5686 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5687 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5689 (__ASSUME_SIOCGIFNAME): Don't define.
5690 (__ASSUME_MSG_NOSIGNAL): Likewise.
5691 (__ASSUME_SENDFILE): Define unconditionally.
5692 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5693 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5695 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5696 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5697 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5698 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5699 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5700 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5701 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5703 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5704 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5706 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5707 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5709 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5710 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5712 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5713 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5715 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5716 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5718 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5719 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5721 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5722 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5724 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5725 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5726 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5727 Remove conditional code.
5728 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5729 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5730 Remove conditional code.
5731 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5732 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5733 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5734 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5735 Remove conditional code.
5736 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5737 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5738 Remove conditional code.
5739 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5740 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5741 Remove conditional code.
5742 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5743 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5744 Remove conditional code.
5745 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5746 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5747 Remove conditional code.
5748 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5749 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5750 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5751 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5752 * sysdeps/unix/sysv/linux/sigaction.c
5753 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5754 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5755 * sysdeps/unix/sysv/linux/sigpending.c
5756 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5757 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5758 * sysdeps/unix/sysv/linux/sigprocmask.c
5759 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5760 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5761 * sysdeps/unix/sysv/linux/sigsuspend.c
5762 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5763 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5764 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5765 (__libc_missing_rt_sigs): Remove.
5766 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5767 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5768 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5769 Remove conditional code.
5770 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5771 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5773 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5774 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5775 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5776 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5778 2012-05-14 Andreas Jaeger <aj@suse.de>
5780 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5781 it's not used in glibc.
5782 (__coshm1): Likewise.
5783 (__acosh1p): Likewise.
5786 * manual/string.texi (Copying and Concatenation): Add missing
5787 variable in concat example.
5788 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5790 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5793 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5794 __builtin_clzl with __builtin_clzll.
5796 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5799 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5802 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5804 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5805 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5806 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5807 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5809 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5811 * NEWS: Update ia64 info.
5813 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5815 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5818 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5820 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5821 * sysdeps/unix/syscalls.list (dup3): Likewise.
5822 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5823 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5825 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5827 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5828 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5830 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5832 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5834 (TLS_IE): Use mov/add instead of movq/addq to load thread
5836 (TLS_GD_PREFIX): New.
5839 2012-05-11 David S. Miller <davem@davemloft.net>
5841 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5842 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5843 (_FPU_SETCW): Likewise.
5845 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5847 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5850 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5853 * iconvdata/gb18030.c: Update tables.
5854 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5855 characters specially.
5856 (BODY for TO_LOOP): Add encoding of missing ranges.
5858 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5861 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5862 * sysdeps/mach/hurd/dup3.c: Likewise.
5863 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5864 * sysdeps/powerpc/memmove.c:: Likewise.
5866 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5868 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5869 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5871 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5873 * elf/elf.h (R_X86_64_RELATIVE64): New.
5874 (R_X86_64_NUM): Updated.
5875 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5876 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5877 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5878 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5879 tst-quad1pie tst-quad2pie
5880 (modules-names): Add tst-quadmod1 tst-quadmod2.
5881 ($(objpfx)tst-quad1): New dependency.
5882 ($(objpfx)tst-quad2): Likewise.
5883 ($(objpfx)tst-quad1pie): Likewise.
5884 ($(objpfx)tst-quad2pie): Likewise.
5885 * sysdeps/x86_64/tst-quad1.c: New file.
5886 * sysdeps/x86_64/tst-quad1pie.c: New file.
5887 * sysdeps/x86_64/tst-quad2.c: Likewise.
5888 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5889 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5890 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5891 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5892 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5894 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5896 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5897 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5898 * streams/stropts.h (t_scalar_t): Define type.
5900 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5901 (_PATH_PRESERVE): Set to "/var/lib".
5902 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5904 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5907 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5908 if __dir_mkfile succeeded.
5910 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5911 checking for _hurd_dtablesize. Unlock it right after having
5912 finished _hurd_dtable allocation.
5914 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5916 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5917 * sysdeps/mach/hurd/configure: Regenerated.
5918 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5919 special-casing to...
5920 * sysdeps/gnu/configure.in: ... this new file.
5921 * sysdeps/unix/sysv/linux/configure: Regenerated.
5922 * sysdeps/gnu/configure: New generated file.
5924 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5925 for Linux: use nsec instead of usec, as well as:
5926 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5927 members of type struct timespec.
5928 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5930 (struct stat64): Likewise.
5931 (_STATBUF_ST_NSEC): New macro.
5932 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5934 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5935 __strtoul_internal rather than strtoul.
5937 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5939 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5942 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5944 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5945 which preserves existing values.
5946 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5948 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5950 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5951 TIMEOUT values. Return EINVAL for NFDS values either negative or
5952 greater than FD_SETSIZE.
5954 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5956 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5957 allocated, call __vm_protect to finish enabling the existing space, and
5958 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5959 allocate the remainder.
5961 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5963 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5964 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5966 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5968 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5969 sysdeps/mach/hurd/readlink.c.
5971 * posix/tst-sysconf.c (posix_options): Only use
5972 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5973 _POSIX_SYNCHRONIZED_IO when they are defined
5974 * sysdeps/mach/hurd/bits/posix_opt.h:
5975 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5976 (_XOPEN_REALTIME): Undefine macro.
5977 (_XOPEN_REALTIME_THREADS): Undefine macro.
5978 (_XOPEN_SHM): Undefine macro.
5979 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5981 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5983 (_POSIX_ASYNC_IO): Undefine macro.
5984 (_POSIX_PRIORITIZED_IO): Undefine macro.
5985 (_POSIX_SPIN_LOCKS): Define macro to -1.
5987 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5988 SA_NODEFER, SA_RESETHAND.
5989 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5990 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5993 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5995 * elf/Makefile (pldd-modules): Define unconditionally.
5997 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5999 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6001 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6003 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6004 Return ENOENT when name is empty.
6005 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6007 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6009 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6011 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6013 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6015 Fix mlock in all cases except non-readable pages.
6016 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6017 instead of VM_PROT_ALL as parameter to __vm_wire function.
6019 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6020 (__mkdir): When path is `/', just fail with EEXIST.
6021 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6023 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6025 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6026 <sys/uio.h> (for writev).
6027 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6028 and <sys/param.h> (for MIN).
6030 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6032 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6033 REQUESTED_TIME. Properly set the remaining time and return EINTR
6036 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6038 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6039 Depend on against $(link-rpcuserlibs).
6041 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6043 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6044 (__libc_stack_end): Do not use attribute_relro.
6045 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6046 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6047 to libthread-provided value.
6048 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6051 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6054 * bits/libc-lock.h (__libc_once_get): New macro.
6055 * sysdeps/mach/bits/libc-lock.h: Likewise.
6056 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6057 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6058 instead of using implementation details.
6060 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6061 * libio/freopen.c: Likewise.
6062 * libio/freopen64.c: Likewise.
6063 * misc/syslog.c: Likewise.
6064 * nscd/connections.c: Likewise.
6065 * nscd/netgroupcache.c: Likewise.
6066 * sysdeps/posix/getcwd.c: Likewise.
6068 2012-05-10 Roland McGrath <roland@hack.frob.com>
6070 * math/w_ilogbf.c: Add #include <limits.h>.
6072 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6074 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6075 path instead of returning without unlocking.
6077 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6078 immediate-write ioctls.
6079 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6081 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6083 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6084 __builtin_frame_address instead of making assumptions about the
6085 location of the return address relative to DATA. Force early load of
6087 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6088 __builtin_frame_address.
6091 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6092 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6093 implement dup3 and do some further code clean-ups.
6094 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6095 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6097 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6099 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6101 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6102 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6103 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6104 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6105 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6108 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6109 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6110 when handler == SIG_ERR, not when handler != SIG_ERR.
6112 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6114 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6115 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6118 accept4 for GNU Hurd.
6119 * include/sys/socket.h (__libc_accept4): New prototype.
6120 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6121 to implement __libc_accept4.
6122 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6124 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6126 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6127 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6128 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6131 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6133 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6135 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6137 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6138 assertion on O_CLOEXEC flag.
6139 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6140 * hurd/intern-fd.c: Likewise.
6141 * hurd/port2fd.c: Likewise.
6143 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6146 * bits/in.h (IPV6_PKTINFO): Define new macro.
6147 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6149 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6154 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6156 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6157 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6158 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6159 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6160 * math/libm-test.inc (logb_test) : Additional logb tests.
6162 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6163 Andreas Jaeger <aj@suse.de>
6165 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6166 * configure: Regenerated.
6167 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6168 * config.make.in (link-obsolete-rpc): New substituted variable.
6169 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6170 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6171 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6172 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6173 so that libc.a contains the symbols.
6174 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6175 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6176 * sunrpc/auth_none.c: Likewise.
6177 * sunrpc/auth_unix.c: Likewise.
6178 * sunrpc/authdes_prot.c: Likewise.
6179 * sunrpc/authuxprot.c: Likewise.
6180 * sunrpc/clnt_gen.c: Likewise.
6181 * sunrpc/clnt_perr.c: Likewise.
6182 * sunrpc/clnt_raw.c: Likewise.
6183 * sunrpc/clnt_simp.c: Likewise.
6184 * sunrpc/clnt_tcp.c: Likewise.
6185 * sunrpc/clnt_udp.c: Likewise.
6186 * sunrpc/clnt_unix.c: Likewise.
6187 * sunrpc/des_crypt.c: Likewise.
6188 * sunrpc/des_soft.c: Likewise.
6189 * sunrpc/get_myaddr.c: Likewise.
6190 * sunrpc/key_call.c: Likewise.
6191 * sunrpc/key_prot.c: Likewise.
6192 * sunrpc/netname.c: Likewise.
6193 * sunrpc/pm_getmaps.c: Likewise.
6194 * sunrpc/pm_getport.c: Likewise.
6195 * sunrpc/pmap_clnt.c: Likewise.
6196 * sunrpc/pmap_prot.c: Likewise.
6197 * sunrpc/pmap_prot2.c: Likewise.
6198 * sunrpc/pmap_rmt.c: Likewise.
6199 * sunrpc/publickey.c: Likewise.
6200 * sunrpc/rpc_cmsg.c: Likewise.
6201 * sunrpc/rpc_common.c: Likewise.
6202 * sunrpc/rpc_dtable.c: Likewise.
6203 * sunrpc/rpc_prot.c: Likewise.
6204 * sunrpc/rpc_thread.c: Likewise.
6205 * sunrpc/rtime.c: Likewise.
6206 * sunrpc/svc.c: Likewise.
6207 * sunrpc/svc_auth.c: Likewise.
6208 * sunrpc/svc_raw.c: Likewise.
6209 * sunrpc/svc_run.c: Likewise.
6210 * sunrpc/svc_tcp.c: Likewise.
6211 * sunrpc/svc_udp.c: Likewise.
6212 * sunrpc/svc_unix.c: Likewise.
6213 * sunrpc/svcauth_des.c: Likewise.
6214 * sunrpc/xcrypt.c: Likewise.
6215 * sunrpc/xdr.c: Likewise.
6216 * sunrpc/xdr_array.c: Likewise.
6217 * sunrpc/xdr_float.c: Likewise.
6218 * sunrpc/xdr_intXX_t.c: Likewise.
6219 * sunrpc/xdr_mem.c: Likewise.
6220 * sunrpc/xdr_rec.c: Likewise.
6221 * sunrpc/xdr_ref.c: Likewise.
6222 * sunrpc/xdr_sizeof.c: Likewise.
6223 * sunrpc/xdr_stdio.c: Likewise.
6225 2012-05-10 Roland McGrath <roland@hack.frob.com>
6227 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6228 change. Update copyright years.
6230 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6232 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6234 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6235 Joseph Myers <joseph@codesourcery.com>
6236 Paul Pluzhnikov <ppluzhnikov@google.com>
6239 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6241 [cross-compiling] (extra-libs): Likewise.
6242 [cross-compiling] (extra-libs-others): Likewise.
6243 [cross-compiling] (librpcsvc-routines): Likewise.
6244 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6245 [cross-compiling] (omit-deps): Likewise.
6246 (sunrpc-CPPFLAGS): New variable.
6247 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6248 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6249 (cross-rpcgen-objs): New variable.
6250 (extra-objs): Append $(cross-rpcgen-objs).
6251 ($(cross-rpcgen-objs)): New rule.
6252 ($(objpfx)cross-rpcgen): Likewise.
6253 (rpcgen-cmd): Define to use $(built-program-file). Expand
6255 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6256 ($(objpfx)x%.stmp): Likewise.
6257 * sunrpc/proto.h [IS_IN_build] (_): Define.
6258 [IS_IN_build] (_libc_intl_domainname): Likewise.
6260 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6262 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6263 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6264 and R_X86_64_TPOFF64.
6266 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6268 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6269 sysdeps/unix/sysv/syscalls.list.
6272 * sysdeps/unix/sysv/syscalls.list: Remove file.
6274 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6277 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6278 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6279 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6280 (__LC_IDENTIFICATION): Make these macros useful in #if
6281 expressions, as required by C99.
6283 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6285 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6286 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6289 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6291 * stdlib/longlong.h: Updated from GCC.
6293 2012-05-09 Andreas Jaeger <aj@suse.de>
6295 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6296 default is first entry.
6297 (run_mode): Set type.
6298 (main): Remove informal message about syslog.
6299 (options): Fix typo.
6302 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6305 (llrintf): Likewise.
6309 (nearbyint): Likewise.
6310 (nearbyintf): Likewise.
6312 2012-05-09 Andreas Jaeger <aj@suse.de>
6313 Pedro Alves <palves@redhat.com>
6315 * nscd/nscd.c (run_mode): Use enum.
6316 (main): Cleanup coding style issue.
6318 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6319 Andreas Jaeger <aj@suse.de>
6321 * nscd/nscd.c (go_background): Replaced with...
6322 (run_mode): ... this.
6323 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6324 (options): Add -F --foreground.
6325 (main): Implement it.
6326 (parse_opt): Parse it.
6328 2012-05-09 Andreas Jaeger <aj@suse.de>
6331 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6332 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6333 -Wconversion warning.
6334 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6337 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6339 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6341 (LC_ALL): Use macro-int-constant.
6342 (LC_COLLATE): Likewise.
6343 (LC_CTYPE): Likewise.
6344 (LC_MESSAGES): Likewise.
6345 (LC_MONETARY): Likewise.
6346 (LC_NUMERIC): Likewise.
6347 (LC_TIME): Likewise.
6348 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6349 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6350 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6351 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6353 [C99-based standards] (float_t): Expect type.
6354 [C99-based standards] (double_t): Expect type.
6355 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6357 [C99-based standards] (HUGE_VALL): Likewise.
6358 [C99-based standards] (INFINITY): Likewise.
6359 [C99-based standards] (NAN): Likewise.
6360 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6361 [C99-based standards] (FP_NAN): Likewise.
6362 [C99-based standards] (FP_NORMAL): Likewise.
6363 [C99-based standards] (FP_SUBNORMAL): Likewise.
6364 [C99-based standards] (FP_ZERO): Likewise.
6365 [C99-based standards] (FP_FAST_FMA): Use
6366 optional-macro-int-constant. Specify type. Require == 1.
6367 [C99-based standards] (FP_FAST_FMAF): Likewise.
6368 [C99-based standards] (FP_FAST_FMAL): Likewise.
6369 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6370 [C99-based standards] (FP_ILOGBNAN): Likewise.
6371 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6373 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6374 [C99-based standards] (math_errhandling): Specify type.
6375 [ISO99 || ISO11] (signgam): Do not allow.
6376 [non-C99-based standards] (copysignf): Do not allow.
6377 [non-C99-based standards] (exp2f): Likewise.
6378 [non-C99-based standards] (log2f): Likewise.
6379 [non-C99-based standards] (modff): Allow.
6380 [non-C99-based standards] (erff): Do not allow.
6381 [non-C99-based standards] (erfcf): Likewise.
6382 [non-C99-based standards] (gammaf): Likewise.
6383 [non-C99-based standards] (hypotf): Likewise.
6384 [non-C99-based standards] (j0f): Likewise.
6385 [non-C99-based standards] (j1f): Likewise.
6386 [non-C99-based standards] (jnf): Likewise.
6387 [non-C99-based standards] (lgammaf): Likewise.
6388 [non-C99-based standards] (tgammaf): Likewise.
6389 [non-C99-based standards] (y0f): Likewise.
6390 [non-C99-based standards] (y1f): Likewise.
6391 [non-C99-based standards] (ynf): Likewise.
6392 [non-C99-based standards] (isnanf): Likewise.
6393 [non-C99-based standards] (acoshf): Likewise.
6394 [non-C99-based standards] (asinhf): Likewise.
6395 [non-C99-based standards] (atanhf): Likewise.
6396 [non-C99-based standards] (cbrtf): Likewise.
6397 [non-C99-based standards] (expm1f): Likewise.
6398 [non-C99-based standards] (ilogbf): Likewise.
6399 [non-C99-based standards] (log1pf): Likewise.
6400 [non-C99-based standards] (logbf): Likewise.
6401 [non-C99-based standards] (nextafterf): Likewise.
6402 [non-C99-based standards] (remainderf): Likewise.
6403 [non-C99-based standards] (rintf): Likewise.
6404 [non-C99-based standards] (scalbf): Likewise.
6405 [non-C99-based standards] (copysignl): Likewise.
6406 [non-C99-based standards] (exp2l): Likewise.
6407 [non-C99-based standards] (log2l): Likewise.
6408 [non-C99-based standards] (modfl): Allow.
6409 [non-C99-based standards] (erfl): Do not allow.
6410 [non-C99-based standards] (erfcl): Likewise.
6411 [non-C99-based standards] (gammal): Likewise.
6412 [non-C99-based standards] (hypotl): Likewise.
6413 [non-C99-based standards] (j0l): Likewise.
6414 [non-C99-based standards] (j1l): Likewise.
6415 [non-C99-based standards] (jnl): Likewise.
6416 [non-C99-based standards] (lgammal): Likewise.
6417 [non-C99-based standards] (tgammal): Likewise.
6418 [non-C99-based standards] (y0l): Likewise.
6419 [non-C99-based standards] (y1l): Likewise.
6420 [non-C99-based standards] (ynl): Likewise.
6421 [non-C99-based standards] (isnanl): Likewise.
6422 [non-C99-based standards] (acoshl): Likewise.
6423 [non-C99-based standards] (asinhl): Likewise.
6424 [non-C99-based standards] (atanhl): Likewise.
6425 [non-C99-based standards] (cbrtl): Likewise.
6426 [non-C99-based standards] (expm1l): Likewise.
6427 [non-C99-based standards] (ilogbl): Likewise.
6428 [non-C99-based standards] (log1pl): Likewise.
6429 [non-C99-based standards] (logbl): Likewise.
6430 [non-C99-based standards] (nextafterl): Likewise.
6431 [non-C99-based standards] (remainderl): Likewise.
6432 [non-C99-based standards] (rintl): Likewise.
6433 [non-C99-based standards] (scalbl): Likewise.
6434 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6435 [non-C99-based standards] (FP_*): Do not allow.
6436 [C99-based standards] (FP_*): Change to
6437 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6438 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6440 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6441 (SIG_ERR): Likewise.
6442 [X/Open-based standards] (SIG_HOLD): Likewise.
6443 (SIG_IGN): Likewise.
6444 (SIGABRT): Use macro-int-constant. Specify type. Require
6449 (SIGSEGV): Likewise.
6451 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6452 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6453 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6454 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6455 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6456 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6457 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6458 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6459 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6460 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6461 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6462 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6463 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6464 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6465 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6466 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6467 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6468 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6469 [X/Open-based standards] (SIGTRAP): Likewise.
6470 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6471 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6472 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6473 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6474 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6477 2012-05-08 Ian Wienand <ianw@vmware.com>
6480 * time/tzset.c (__tzset_parse_tz): Update default rules for
6481 daylight time changes in the Energy Policy Act of 2005.
6483 2012-05-09 Andreas Jaeger <aj@suse.de>
6486 * elf/ldconfig.c (parse_conf): Change string to make clear that
6487 ldconfig only issued a warning if ld.so.conf does not exist.
6489 2012-05-08 David S. Miller <davem@davemloft.net>
6491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6492 movxtod instead of popping the value on the stack.
6494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6496 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6498 * config.h.in: Add HAVE_ARM_PCS_VFP.
6500 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6503 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6504 checking but the checks are disabled for any reason.
6506 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6508 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6509 and ELF64_R_TYPE with ELFW(R_TYPE).
6511 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6513 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6516 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6517 (settimeofday): Likewise.
6519 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6521 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6522 a struct th_u2 inside the union, and move tu_block/tu_code into
6523 a new th_u3 union of tu_block/tu_code inside of that. Move
6524 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6525 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6526 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6527 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6528 (th_stuff): Change to th_u1.tu_stuff.
6530 (th_msg): Change to th_u1.th_u2.tu_data.
6532 2012-05-07 David S. Miller <davem@davemloft.net>
6534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6537 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6538 (SETUP_PIC_REG): Use it.
6539 (SETUP_PIC_REG_LEAF): Use it.
6541 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6545 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6547 (EXPL_FINITE): Likewise.
6549 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6550 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6552 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6554 (EXPL_FINITE): Likewise.
6556 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6557 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6559 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6560 test of -max_value argument for long double.
6561 * sysdeps/i386/fpu/libm-test-ulps: Update.
6562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6564 2012-05-06 David S. Miller <davem@davemloft.net>
6566 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6567 quad soft-float symbols whose references which are compiler
6569 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6571 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6575 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6577 (EXPL_FINITE): Likewise.
6581 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6582 Adjust comments for base varying.
6583 (__expl_finite): Change alias to EXPL_FINITE.
6584 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6586 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6587 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6588 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6589 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6590 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6592 (EXPL_FINITE): Likewise.
6596 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6597 Adjust comments for base varying.
6598 (__expl_finite): Change alias to EXPL_FINITE.
6599 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6604 * math/libm-test.inc (check_float_internal): Correct ulp
6605 calculation for subnormal expected results.
6607 2012-05-06 Andreas Jaeger <aj@suse.de>
6609 * Makeconfig (+math-flags): New, set to -frounding-math.
6610 (+cflags): Add +math-flags so that all of glibc gets compiled with
6613 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6615 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6617 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6623 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6624 (__ieee754_expl): Allow for and saturate large arguments.
6625 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6626 (u_threshold): Likewise.
6627 (__exp): Call __ieee754_exp before checking for overflow and
6629 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6630 (u_threshold): Likewise.
6631 (__expf): Call __ieee754_expf before checking for overflow and
6633 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6634 (u_threshold): Likewise.
6635 (__expl): Call __ieee754_expl before checking for overflow and
6637 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6638 (__ieee754_expl): Allow for and saturate large arguments.
6639 * math/libm-test.inc (exp_test): Add another test. Do not allow
6640 missing overflow exception on overflow.
6641 (expm1_test): Do not allow missing overflow exception on overflow.
6643 * sysdeps/i386/fpu/e_expl.c: Move to ...
6644 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6645 rather than using inline asm.
6646 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6647 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6648 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6650 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6657 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6659 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6660 sysdeps/unix/common/syscalls.list.
6663 (ftruncate): Likewise.
6664 (getrusage): Likewise.
6665 (gettimeofday): Likewise.
6666 (setpgid): Likewise.
6667 (setregid): Likewise.
6668 (setreuid): Likewise.
6669 (sigaction): Likewise.
6670 (truncate): Likewise.
6671 (vhangup): Likewise.
6672 * sysdeps/unix/common/syscalls.list: Remove file.
6673 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6674 * sysdeps/unix/sysv/linux/Implies: Likewise.
6676 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6678 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6680 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6684 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6687 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6690 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6693 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6696 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6699 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6702 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6706 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6710 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6713 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6717 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6721 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6723 * sysdeps/unix/common/bits/dirent.h: Remove file.
6724 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6726 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6727 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6728 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6729 * sysdeps/unix/bsd/isatty.c: Likewise.
6730 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6731 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6732 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6734 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6737 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6738 long double comparison inaccuracies.
6739 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6742 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6744 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6745 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6747 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6750 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6751 nonzero digits before rounding a hex value.
6752 * stdlib/tst-strtod.c (tests): Add another test.
6754 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6756 * sysdeps/s390/fpu/libm-test-ulps: Update.
6758 2012-05-03 Andreas Jaeger <aj@suse.de>
6760 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6761 does not get optimized out.
6762 (malloc_opt_barrier): New.
6764 2012-05-03 Andreas Jaeger <aj@suse.de>
6765 Roland McGrath <roland@hack.frob.com>
6767 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6768 intermediate file deletion.
6769 (generated): Add .symlist files.
6771 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6774 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6775 Redirect under this condition.
6776 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6777 [__USE_GNU] (__dprintf_chk): Not under this condition.
6778 [__USE_GNU] (__vdprintf_chk): Likewise.
6779 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6780 under this condition.
6781 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6782 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6783 [__USE_XOPEN2K8] (vdprintf): Likewise.
6784 [__USE_GNU] (__dprintf_chk): Not under this condition.
6785 [__USE_GNU] (__vdprintf_chk): Likewise.
6786 [__USE_GNU] (dprintf): Likewise.
6787 [__USE_GNU] (vdprintf): Likewise.
6789 2012-05-03 Roland McGrath <roland@hack.frob.com>
6791 * elf/Makefile (common-generated): Set this instead of generated for
6792 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6793 $(all-built-dso)-derived lists.
6795 2012-05-03 Andreas Jaeger <aj@suse.de>
6797 * sysdeps/i386/fpu/libm-test-ulps: Update.
6801 * scripts/gen-FAQ.pl: Likewise.
6802 * manual/install.texi (Installation): Point to online location of
6804 * Makefile (files-for-dist): Remove FAQ.
6807 2012-05-02 Allan McRae <allan@archlinux.org>
6809 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6810 (LDFLAGS-reldepmod5.so): Likewise.
6811 (LDFLAGS-reldep6mod1.so): Likewise.
6812 (LDFLAGS-reldep6mod4.so): Likewise.
6813 (LDFLAGS-reldep8mod3.so): Likewise.
6814 (LDFLAGS-unload4mod1.so): Likewise.
6815 (LDFLAGS-unload4mod2.so): Likewise.
6816 (LDFLAGS-tst-initorder): Likewise.
6817 (LDFLAGS-tst-initordera2.so): Likewise.
6818 (LDFLAGS-tst-initordera3.so): Likewise.
6819 (LDFLAGS-tst-initordera4.so): Likewise.
6820 (LDFLAGS-tst-initorderb2.so): Likewise.
6821 (LDFLAGS-noload): Likewise.
6822 (LDFLAGS-next): Likewise.
6823 (LDFLAGS-order2mod1.so): Likewise.
6824 (LDFLAGS-order2mod2.so): Likewise.
6825 (LDFLAGS-tst-initorder2): Likewise.
6826 (LDFLAGS-tst-initorder2a.so): Likewise.
6827 (LDFLAGS-tst-initorder2b.so): Likewise.
6828 (LDFLAGS-tst-initorder2c.so): Likewise.
6829 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6831 2012-05-02 David S. Miller <davem@davemloft.net>
6833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6835 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6838 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6840 2012-05-02 Andreas Jaeger <aj@suse.de>
6842 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6843 since we manipulate rounding mode.
6844 (CPPFLAGS-test-idouble.c): Likewise.
6845 (CPPFLAGS-test-ifloat.c): Likewise.
6846 (CFLAGS-test-ldouble.c): Likewise.
6847 (CFLAGS-test-double.c): Likewise.
6848 (CFLAGS-test-float.c): Likewise.
6849 (CFLAGS-test-misc.c): Likewise.
6850 (CFLAGS-test-test-fenv.c): Likewise.
6852 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6856 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6857 comparisons to determine direction to adjust input.
6859 2012-05-01 Roland McGrath <roland@hack.frob.com>
6861 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6862 output to the target.
6864 * scripts/localplt.awk: New file.
6865 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6866 (check-localplt-CFLAGS): Variable removed.
6867 ($(all-built-dso:=.jmprel)): New static pattern rule.
6868 (generated): Add those targets.
6869 (localplt-built-dso): New variable.
6870 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6872 * elf/check-localplt.c: File removed.
6874 * scripts/check-execstack.awk: New file.
6875 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6876 (check-execstack-CFLAGS): Variable removed.
6877 ($(objpfx)check-execstack.h): Target removed.
6878 ($(objpfx)execstack-default): New target.
6879 (generated): Add that instead of check-execstack.h.
6880 ($(all-built-dso:=.phdr)): New static pattern rule.
6881 (generated): Add those targets.
6882 * elf/check-execstack.c: File removed.
6884 * scripts/check-textrel.awk: New file.
6885 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6886 (check-textrel-CFLAGS): Variable removed.
6887 (all-built-dso): Use := to define.o
6888 ($(all-built-dso:=.dyn)): New static pattern rule.
6889 (generated): Add those targets.
6890 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6891 * config.make.in (READELF): New substituted variable.
6892 * elf/check-textrel.c: File removed.
6894 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6896 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6898 * conform/data/ctype.h-data [C99-based standards] (isblank):
6900 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6901 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6902 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6903 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6904 Specify type. Require positive value.
6907 [ISO || POSIX] (EILSEQ): Do not expect.
6908 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6909 Specify type. Require positive value.
6910 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6911 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6912 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6913 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6914 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6915 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6916 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6917 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6918 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6919 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6920 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6921 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6922 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6923 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6924 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6925 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6926 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6927 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6928 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6929 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6930 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6931 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6932 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6933 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6934 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6935 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6936 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6937 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6938 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6939 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6940 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6941 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6942 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6943 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6944 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6945 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6946 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6947 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6948 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6949 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6950 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6951 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6952 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6953 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6954 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6955 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6956 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6957 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6958 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6959 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6960 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6961 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6962 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6963 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6964 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6965 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6966 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6967 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6968 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6969 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6970 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6971 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6972 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6973 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6974 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6975 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6976 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6977 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6978 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6979 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6980 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6981 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6982 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6983 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6984 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6985 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6986 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6988 (FLT_ROUNDS): Expect as macro, not constant.
6989 (FLT_MANT_DIG): Use macro-int-constant.
6990 (DBL_MANT_DIG): Likewise.
6991 (LDBL_MANT_DIG): Likewise.
6992 (FLT_DIG): Likewise.
6993 (DBL_DIG): Likewise.
6994 (LDBL_DIG): Likewise.
6995 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6996 (DBL_MIN_EXP): Likewise.
6997 (LDBL_MIN_EXP): Likewise.
6998 (FLT_MAX_EXP): Use macro-int-constant.
6999 (DBL_MAX_EXP): Likewise.
7000 (LDBL_MAX_EXP): Likewise.
7001 (FLT_MAX_10_EXP): Likewise.
7002 (DBL_MAX_10_EXP): Likewise.
7003 (LDBL_MAX_10_EXP): Likewise.
7004 (FLT_MAX): Use macro-constant.
7005 (DBL_MAX): Likewise.
7006 (LDBL_MAX): Likewise.
7007 (FLT_EPSILON): Use macro-constant. Give upper bound.
7008 (DBL_EPSILON): Likewise.
7009 (LDBL_EPSILON): Likewise.
7010 (FLT_MIN): Likewise.
7011 (DBL_MIN): Likewise.
7012 (LDBL_MIN): Likewise.
7013 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7014 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7015 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7016 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7017 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7018 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7019 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7020 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7021 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7022 [ISO11] (FLT_TRUE_MIN): Likewise.
7023 [ISO11] (LDBL_TRUE_MIN): Likewise.
7024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7025 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7026 (SCHAR_MIN): Use macro-int-constant. Specify type.
7027 (SCHAR_MAX): Likewise.
7028 (UCHAR_MAX): Likewise.
7029 (CHAR_MIN): Likewise.
7030 (CHAR_MAX): Likewise.
7031 (MB_LEN_MAX): Use macro-int-constant.
7032 (SHRT_MIN): Use macro-int-constant. Specify type.
7033 (SHRT_MAX): Likewise.
7034 (USHRT_MAX): Likewise.
7035 (INT_MAX): Likewise.
7036 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7038 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7040 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7042 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7043 bound negative. Suffix upper bound with "L".
7044 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7046 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7048 [C99-based standards] (LLONG_MAX): Likewise.
7049 [C99-based standards] (ULLONG_MAX): Likewise.
7050 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7052 [ISO11] (max_align_t): Require type.
7053 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7055 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7056 from $CFLAGS, without defining away __attribute__ calls.
7057 (checknamespace): Use $CFLAGS_namespace.
7059 * conform/conformtest.pl (@keywords): Only include C99 keywords
7060 for standards based on C99 or C11.
7062 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7064 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7067 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7068 usability of symbols in #if.
7070 * conform/conformtest.pl: If macro or constant types start
7071 "promoted:", expect the symbol to be of the following type
7072 promoted by the integer promotions.
7074 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7075 in one place. Also handle "macro-constant".
7077 * conform/conformtest.pl: Only accept expected macro values with
7078 "==". Parse all "macro" lines in one place.
7079 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7081 * conform/conformtest.pl: Handle braced types on "constant" lines
7082 instead of handling "typed-constant".
7083 * conform/data/signal.h-data: Use "constant" instead of
7086 * conform/conformtest.pl: Handle "optional-" at start of lines in
7087 one place rather than duplicating several cases. Handle each
7088 format of "macro" line with initial "optional-".
7090 * conform/conformtest.pl: Only accept expected constant or
7091 optional-constant values with "==". Parse all "constant" lines in
7092 one place. Parse all "optional-constant" lines in one place.
7093 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7094 * conform/data/fmtmsg.h-data: Likewise.
7095 * conform/data/netinet/in.h-data: Likewise.
7096 * conform/data/tar.h-data: Likewise.
7097 * conform/data/limits.h-data: Use "==" form on "constant" and
7098 "optional-constant" lines.
7100 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7101 Use -std=c99 for XOPEN2K.
7102 (@knownproblems): Remove.
7103 (newtoken): Don't check %isknown.
7105 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7106 Do not expect macro.
7107 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7108 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7109 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7110 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7111 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7112 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7113 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7114 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7115 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7116 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7117 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7118 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7119 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7120 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7121 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7122 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7123 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7124 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7125 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7126 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7127 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7128 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7129 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7130 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7131 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7132 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7133 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7134 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7135 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7136 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7137 [XPG3] (acosh): Likewise.
7138 [XPG3] (asinh): Likewise.
7139 [XPG3] (atanh): Likewise.
7140 [XPG3] (cbrt): Likewise.
7141 [XPG3] (expm1): Likewise.
7142 [XPG3] (ilogb): Likewise.
7143 [XPG3] (log1p): Likewise.
7144 [XPG3] (logb): Likewise.
7145 [XPG3] (nextafter): Likewise.
7146 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7147 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7148 [XPG3] (remainder): Likewise.
7149 [XPG3] (rint): Likewise.
7150 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7151 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7152 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7153 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7154 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7155 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7156 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7157 [UNIX98 || XOPEN2K] (scalb): Expect.
7158 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7159 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7160 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7161 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7162 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7163 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7164 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7165 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7166 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7167 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7168 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7169 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7170 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7171 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7172 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7173 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7174 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7175 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7176 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7177 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7178 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7179 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7180 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7181 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7182 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7183 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7184 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7185 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7186 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7187 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7188 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7189 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7190 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7191 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7192 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7193 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7194 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7195 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7196 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7197 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7198 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7199 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7200 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7201 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7202 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7203 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7204 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7205 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7206 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7207 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7208 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7209 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7210 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7211 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7212 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7213 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7214 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7215 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7216 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7217 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7218 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7219 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7220 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7221 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7222 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7223 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7224 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7225 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7226 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7227 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7228 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7229 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7230 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7231 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7232 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7233 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7234 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7235 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7236 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7237 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7238 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7239 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7240 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7241 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7242 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7243 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7244 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7245 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7246 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7247 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7248 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7249 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7250 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7251 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7252 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7253 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7254 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7255 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7256 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7257 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7258 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7259 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7260 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7261 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7262 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7263 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7264 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7265 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7266 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7267 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7268 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7269 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7270 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7271 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7272 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7273 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7274 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7275 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7276 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7277 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7278 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7279 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7280 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7281 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7282 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7283 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7284 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7285 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7286 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7287 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7288 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7289 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7290 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7291 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7292 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7293 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7294 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7296 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7297 _XOPEN_SOURCE_EXTENDED for XPG4.
7299 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7301 * Makeconfig (localtime): Remove variable.
7302 (inst_localtime-file): Likewise.
7304 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7325 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7329 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7330 comparisons to determine direction to adjust input.
7331 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7332 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7333 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7335 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7337 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7339 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7340 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7342 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7344 * math/libm-test.inc (nexttoward_test): Add more tests.
7346 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7349 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7350 in version GLIBC_2.1, not GLIBC_2.0.
7351 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7354 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7357 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7359 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7360 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7361 * math/libm-test.inc (acos_test): Add more tests.
7362 (asin_test): Likewise.
7363 * sysdeps/i386/fpu/libm-test-ulps: Update.
7364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7367 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7369 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7370 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7371 * math/libm-test.inc (acos_test_tonearest): New function.
7372 (acos_test_towardzero): Likewise.
7373 (acos_test_downward): Likewise.
7374 (acos_test_upward): Likewise.
7375 (asin_test_tonearest): Likewise.
7376 (asin_test_towardzero): Likewise.
7377 (asin_test_downward): Likewise.
7378 (asin_test_upward): Likewise.
7379 (main): Call the new functions.
7380 * sysdeps/i386/fpu/libm-test-ulps: Update.
7381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7385 * math/e_exp10.c: Include <float.h>.
7386 (__ieee754_exp10): Handle underflow here rather than multiplying
7387 large negative argument by M_LN10.
7388 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7390 * math/e_exp10l.c: Include <float.h>.
7391 (__ieee754_exp10l): Handle underflow here rather than multiplying
7392 large negative argument by M_LN10l.
7393 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7394 spurious overflow exception on underflow.
7396 2012-04-29 Marek Polacek <polacek@redhat.com>
7398 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7399 (__fortify_function): New macro.
7400 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7401 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7402 __extern_always_inline.
7403 * libio/bits/stdio2.h: Likewise.
7404 * libio/bits/stdio.h: Likewise.
7405 * string/string.h: Likewise.
7406 * string/bits/string3.h: Likewise.
7407 * include/stdio.h: Likewise.
7408 * stdlib/bits/stdlib.h: Likewise.
7409 * stdlib/stdlib.h: Likewise.
7410 * rt/bits/mqueue2.h: Likewise.
7411 * rt/mqueue.h: Likewise.
7412 * posix/bits/unistd.h: Likewise.
7413 * posix/unistd.h: Likewise.
7414 * io/bits/poll2.h: Likewise.
7415 * io/bits/fcntl2.h: Likewise.
7416 * io/fcntl.h: Likewise.
7417 * io/sys/poll.h: Likewise.
7418 * misc/bits/syslog.h: Likewise.
7419 * misc/bits/syslog-ldbl.h: Likewise.
7420 * misc/sys/syslog.h: Likewise.
7421 * socket/bits/socket2.h: Likewise.
7422 * socket/sys/socket.h: Likewise.
7423 * debug/tst-chk1.c: Likewise.
7424 * wcsmbs/bits/wchar2.h: Likewise.
7425 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7426 * wcsmbs/wchar.h: Likewise.
7428 2012-04-29 Andreas Jaeger <aj@suse.de>
7430 * Makerules (tests): Remove enable-check-abi protection.
7431 (check-abi-warn): Remove.
7432 (check-abi-%): Remove check-abi-warn usage.
7434 * configure.in: Remove check-abi configure option.
7435 * configure: Regenerated.
7436 * config.make.in (enable-check-abi): Remove.
7438 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7441 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7442 double functions to double *_finite functions.
7445 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7446 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7448 * stdio-common/Makefile (tests): Add tst-sprintf3.
7449 * stdio-common/tst-sprintf3.c: New file.
7451 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7452 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7454 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7456 * conform/conformtest.pl: Remove duplicate typed-constant
7459 2012-04-28 David S. Miller <davem@davemloft.net>
7461 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7462 (check-abi-%): Remove AWK script prerequisite and explicit
7464 (check-abi): Rewrite to just diff the symlist with the abilist.
7465 (config-tls, config-abi-config): Delete, no longer used.
7466 (update-abi-%): Remove AWK script and explicit abilist directory.
7467 (update-abi): Rewrite to simply compare and conditionally copy the
7468 symlist and the sysdep abilist file. Remove update-abi-config
7470 * abilist/ld.abilist: Remove.
7471 * abilist/libBrokenLocale.abilist: Remove.
7472 * abilist/libanl.abilist: Remove.
7473 * abilist/libcrypt.abilist: Remove.
7474 * abilist/libdl.abilist: Remove.
7475 * abilist/librt.abilist: Remove.
7476 * abilist/libthread_db.abilist: Remove.
7477 * abilist/libutil.abilist: Remove.
7478 * scripts/extract-abilist.awk: Remove.
7479 * scripts/merge-abilist.awk: Remove.
7480 * sysdeps/generic/libcidn.abilist: New file.
7481 * sysdeps/generic/libnss_compat.abilist: New file.
7482 * sysdeps/generic/libnss_db.abilist: New file.
7483 * sysdeps/generic/libnss_dns.abilist: New file.
7484 * sysdeps/generic/libnss_files.abilist: New file.
7485 * sysdeps/generic/libnss_hesiod.abilist: New file.
7486 * sysdeps/generic/libnss_nis.abilist: New file.
7487 * sysdeps/generic/libnss_nisplus.abilist: New file.
7488 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7489 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7490 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7492 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7493 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7494 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7495 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7496 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7497 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7498 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7499 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7500 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7502 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7503 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7504 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7505 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7507 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7508 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7509 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7510 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7511 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7512 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7514 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7515 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7516 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7518 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7621 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7622 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7623 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7625 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7626 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7627 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7628 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7629 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7630 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7631 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7632 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7633 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7634 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7686 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7688 * conform/conformtest.pl: Fix typo in handling typed-constant from
7691 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7693 * README: Cut down references to pre-2.6 Linux kernels and
7694 Linuxthreads. Update lists of configurations in libc and ports
7695 and sort alphabetically. Say "or newer" with Linux kernel version
7698 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7700 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7703 * math/libm-test.inc (logb_test_downward): New test to expose
7704 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7707 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7710 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7712 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7713 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7715 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7717 * sysdeps/unix/i386/brk.S: Remove file.
7718 * sysdeps/unix/i386/dl-brk.S: Likewise.
7719 * sysdeps/unix/i386/pipe.S: Likewise.
7720 * sysdeps/unix/i386/sigreturn.S: Likewise.
7721 * sysdeps/unix/i386/syscall.S: Likewise.
7722 * sysdeps/unix/i386/vfork.S: Likewise.
7723 * sysdeps/unix/i386/wait.S: Likewise.
7725 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7726 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7728 * configure.in (arm*-none*): Do not allow without
7729 --enable-hacker-mode.
7730 (netbsd*): Remove case setting base_os.
7731 (386bsd*): Likewise.
7732 (freebsd*): Likewise.
7736 (ultrix*): Likewise.
7737 (newsos*): Likewise.
7747 (solaris[2-9]*): Likewise.
7749 * configure: Regenerated.
7751 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7754 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7755 overflow or cancellation in calculating denominator.
7756 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7757 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7758 down expression to avoid unexpected rounding in newer GCCs.
7759 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7761 2012-04-26 David S. Miller <davem@davemloft.net>
7763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7764 long-double compat symbols.
7765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7779 2012-04-25 David S. Miller <davem@davemloft.net>
7781 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7782 HWCAP_* values only after the memory barriers have been defined.
7783 (atomic_full_barrier): Define.
7784 (atomic_read_barrier): Define.
7785 (atomic_write_barrier): Define.
7787 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7789 * shlib-versions: Add libgcc_s version information.
7790 * sysdeps/generic/libgcc_s.h: Remove.
7791 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7793 * sysdeps/gnu/unwind-resume.c: Likewise.
7794 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7796 2012-04-25 David S. Miller <davem@davemloft.net>
7798 * sysdeps/unix/sparc/brk.S: Delete.
7799 * sysdeps/unix/sparc/dl-brk.S: Delete.
7800 * sysdeps/unix/sparc/pipe.S: Delete.
7801 * sysdeps/unix/sparc/sysdep.S: Delete.
7802 * sysdeps/unix/sparc/sysdep.h: Delete.
7803 * sysdeps/unix/sparc/vfork.S: Delete.
7804 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7805 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7806 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7807 ret_ERRVAL, r0, r1, MOVE): Define.
7808 (JUMPTARGET): Remove.
7809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7810 sysdeps/unix/sparc/sysdep.h
7811 (ENTRY, END): Remove.
7812 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7814 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7816 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7817 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7820 * timezone/README: Update upstream location and email address for
7822 * timezone/zdump.c: Update from tzcode 2012b.
7823 * timezone/zic.c: Likewise.
7825 * configure.in (libc_cv_as_needed): Remove test.
7826 * configure: Regenerated.
7827 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7828 conditional definition.
7829 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7830 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7831 * config.make.in (have-as-needed): Remove variable.
7833 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7834 Paul Pluzhnikov <ppluzhnikov@google.com>
7836 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7839 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7841 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7842 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7843 * sysdeps/sh/strlen.S: Likewise.
7845 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7847 * sysdeps/unix/fork.S: Remove file.
7848 * sysdeps/unix/i386/fork.S: Likewise.
7849 * sysdeps/unix/sparc/fork.S: Likewise.
7851 * sysdeps/unix/system.c: Remove file.
7852 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7854 * sysdeps/unix/getegid.S: Remove file.
7855 * sysdeps/unix/geteuid.S: Likewise.
7857 2012-04-24 Roland McGrath <roland@hack.frob.com>
7859 * scripts/check-localplt.awk: New file.
7860 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7862 * scripts/data/localplt-generic.data: Add a comment.
7864 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7865 NODE when __dir_mkfile failed.
7866 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7867 Reported by Ludovic Courtès <ludo@gnu.org>.
7869 2012-04-24 Andreas Jaeger <aj@suse.de>
7871 * Makerules (common-clean): Also remove gen-as-const-headers
7874 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7876 * Makerules (native-compile): Do not change working directory for
7877 build. Use $(OUTPUT_OPTION) in command.
7878 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7880 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7883 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7884 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7885 * math/libm-test.inc (floor_test): Add more tests.
7886 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7888 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7890 * sysdeps/unix/getdents.c: Remove file.
7891 * sysdeps/unix/sysv/getdents.c: Likewise.
7892 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7894 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7895 sysdeps/unix/mman/syscalls.list.
7897 (mprotect): Likewise.
7900 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7901 * sysdeps/unix/mman/syscalls.list: Remove.
7902 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7904 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7905 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7906 * configure: Regenerated.
7907 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7909 * config.make.in (libgcc_s_suffix): Remove variable.
7911 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7913 * sysdeps/unix/sysv/gethostname.c: Move to ...
7914 * sysdeps/posix/gethostname.c: ... here.
7916 * sysdeps/unix/execve.S: Remove file.
7918 * sysdeps/unix/_exit.S: Remove file.
7920 2012-04-23 Andreas Jaeger <aj@suse.de>
7923 * manual/Makefile: Remove make dist support, there's no
7924 need for a stand-alone documentation tar ball.
7925 (TEXI2DVI): Define always, it's not in Makeconfig.
7929 (glibc-doc-$(edition).tar): Removed
7933 (ETAGS): Remove, it's in Makeconfig.
7934 (move-if-change): Remove, it's in Makeconfig.
7936 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7939 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7940 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7941 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7942 (strtod_l, strtof_l, strtold_l): Remove __wur.
7943 It is not necessarily an error to ignore strtol's return value.
7944 One can reliably look at the stored endptr to decide whether
7945 the number had valid syntax.
7947 2012-04-21 Andreas Jaeger <aj@suse.de>
7950 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7952 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7954 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7955 * sysdeps/unix/sysv/Versions: Remove file.
7957 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7962 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7965 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7966 version from __vm86.
7968 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7970 * sysdeps/unix/common/lxstat.c: Remove file.
7971 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7973 * sysdeps/unix/sysv/Makefile: Remove file.
7975 * sysdeps/unix/sysv/direct.h: Remove file.
7977 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7978 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7979 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7980 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7981 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7982 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7983 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7985 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7987 * sysdeps/unix/xmknod.c: Remove file.
7988 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7990 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7992 * sysdeps/unix/sysv/i386/time.S: Remove file.
7994 * sysdeps/unix/fxstat.c: Remove file.
7995 * sysdeps/unix/xstat.c: Likewise.
7996 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7998 * sysdeps/unix/sysv/sigaction.c: Remove file.
8000 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8001 (sysdep_headers): Remove variable.
8002 [termio.h not in sysdep_headers] (generated): Likewise.
8003 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8004 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8005 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8006 * sysdeps/unix/sysv/tcflow.c: Likewise.
8007 * sysdeps/unix/sysv/tcflush.c: Likewise.
8008 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8009 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8010 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8011 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8012 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8014 * sysdeps/unix/siglist.c: Remove file.
8016 * sysdeps/unix/getppid.S: Remove file.
8018 * sysdeps/unix/mkdir.c: Remove file.
8019 * sysdeps/unix/rmdir.c: Likewise.
8021 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8023 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8025 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8026 errlist-compat value.
8028 2012-04-18 David S. Miller <davem@davemloft.net>
8030 * sysdeps/generic/memcopy.h (reg_char): Delete.
8031 * debug/strcat_chk.c: Use char, not reg_char.
8032 * debug/strcpy_chk.c: Likewise.
8033 * debug/strncat_chk.c: Likewise.
8034 * debug/strncpy_chk.c: Likewise.
8035 * string/memchr.c: Likewise.
8036 * string/memrchr.c: Likewise.
8037 * string/rawmemchr.c: Likewise.
8038 * string/strcat.c: Likewise.
8039 * string/strchr.c: Likewise.
8040 * string/strchrnul.c: Likewise.
8041 * string/strcmp.c: Likewise.
8042 * string/strcpy.c: Likewise.
8043 * string/strncat.c: Likewise.
8044 * string/strncmp.c: Likewise.
8045 * string/strncpy.c: Likewise.
8047 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8049 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8050 __builtin_memcopy is called when src and dest ranges are known to not
8053 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8055 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8056 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8057 fwd_align_merge macro call.
8058 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8059 bwd_align_merge macro call.
8060 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8062 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8064 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8065 bwd_align_merge macros.
8066 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8067 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8068 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8070 2012-04-18 David S. Miller <davem@davemloft.net>
8072 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8074 2012-04-18 Andreas Jaeger <aj@suse.de>
8077 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8078 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8079 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8081 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8082 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8083 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8085 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8086 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8087 Adjust for changed ldbl-128 files.
8089 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8090 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8091 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8093 2012-04-17 David S. Miller <davem@davemloft.net>
8095 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8097 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8099 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8100 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8101 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8102 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8103 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8104 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8106 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8109 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8110 * math/libm-test.inc: Add ilogb errno and exception tests.
8111 * math/w_ilogb.c: New file: ilogb wrapper.
8112 * math/w_ilogbf.c: New file: ilogbf wrapper.
8113 * math/w_ilogbl.c: New file: ilogbl wrapper.
8114 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8115 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8116 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8117 exception being thrown with 0.0 as argument.
8118 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8119 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8120 exception being thrown with 0.0 as argument.
8121 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8122 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8123 exception being thrown with 0.0 as argument.
8124 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8125 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8126 exception being thrown with 0.0 as argument.
8127 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8128 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8129 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8130 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8131 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8132 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8133 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8134 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8135 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8137 2012-04-17 Petr Baudis <pasky@ucw.cz>
8139 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8142 2012-04-16 Marek Polacek <polacek@redhat.com>
8144 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8146 2012-04-16 Marek Polacek <polacek@redhat.com>
8148 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8149 operands of fdivp instruction.
8151 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8153 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8154 * elf/tst-auditmod3b.c: Likewise.
8155 * elf/tst-auditmod4b.c: Likewise.
8156 * elf/tst-auditmod5b.c: Likewise.
8157 * elf/tst-auditmod6b.c: Likewise.
8158 * elf/tst-auditmod6c.c: Likewise.
8159 * elf/tst-auditmod7b.c: Likewise.
8160 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8161 * sysdeps/x86_64/preconfigure.in: Likewise.
8162 * sysdeps/x86_64/preconfigure: Regenerated.
8164 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8166 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8169 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8171 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8172 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8174 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8177 * locale/iso-639.def: Fix gl language name. Spotted by
8180 2012-04-12 Roland McGrath <roland@hack.frob.com>
8183 * libio/libio.h (__io_write_fn): Update comment.
8185 2012-04-12 Petr Baudis <pasky@ucw.cz>
8188 * stdio.texi (Hook Functions): The user provided writer function
8189 is not allowed to return -1.
8191 2012-04-11 David S. Miller <davem@davemloft.net>
8193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8195 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8197 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8198 Add a leading slash to rtkaio.
8200 2012-04-11 Jim Meyering <meyering@redhat.com>
8203 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8204 It is not necessarily an error to ignore fwrite's return
8205 value. One can reliably use ferror to test for errors after
8208 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8210 * bits/types.h (__snseconds_t): New type.
8211 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8213 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8214 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8215 (__SNSECONDS_T_TYPE): Likewise.
8216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8217 (__SNSECONDS_T_TYPE): Likewise.
8218 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8219 (__SNSECONDS_T_TYPE): Likewise.
8221 2012-04-10 Andreas Jaeger <aj@suse.de>
8224 * manual/time.texi (Processor Time): Return type of times is
8225 elapsed real time since an arbitrary point in the past.
8226 (CPU Time): Move CLK_TCK from here...
8227 (Processor Time): ...to here. Correct description.
8228 * manual/conf.texi (Constants for Sysconf): Correct description of
8231 2012-04-10 David S. Miller <davem@davemloft.net>
8234 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8235 where the is a gap between DT_REL(A) and DT_JMPREL.
8237 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8239 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8240 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8241 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8243 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8245 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8246 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8247 (dl_main): Handle --inhibit-cache.
8248 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8250 * elf/dl-load.c (_dl_map_object): Use it.
8251 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8253 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8256 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8257 (__ieee754_powl): Saturate large exponents rather than testing for
8258 overflow of y*log2(x).
8259 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8260 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8264 * math/s_ctan.c: Include <float.h>.
8265 (__ctan): Avoid internal overflow or cancellation in calculating
8267 * math/s_ctanf.c: Likewise.
8268 * math/s_ctanl.c: Likewise.
8269 * math/s_ctanh.c: Likewise.
8270 * math/s_ctanhf.c: Likewise.
8271 * math/s_ctanhl.c: Likewise.
8272 * math/libm-test.inc (ctan_test): Add more tests.
8273 (ctanh_test): Likewise.
8274 * sysdeps/i386/fpu/libm-test-ulps: Update.
8275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8277 2012-04-09 Andreas Jaeger <aj@suse.de>
8280 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8281 is an optional BSD extension.
8284 * manual/stdio.texi (Opening Streams): Document additional fopen
8287 2012-04-09 Roland McGrath <roland@hack.frob.com>
8289 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8290 %eax without telling the compiler.
8292 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8295 * manual/install.texi: Use sourceware.org.
8297 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8300 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8301 (__ieee754_pow): Generate overflow and underflow using huge*huge
8302 and tiny*tiny rather than just returning constant infinity or zero
8303 for large exponents.
8304 * math/libm-test.inc (pow_test): Require overflow exceptions for
8305 applicable cases of large exponents.
8308 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8309 (__ieee754_pow): Use iterative multiplication algorithm only for
8310 integer exponents with absolute value below 1024. Check for odd
8311 integer exponents when using algorithm for real exponents.
8312 * math/libm-test.inc (pow_test): Add more tests.
8313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8315 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8318 * math/libm-test.inc (exp_test): Do not allow overflow exception
8321 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8324 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8325 instead of __kernel_standard_f.
8327 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8329 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8330 * sysdeps/x86_64/memset_chk.S: Likewise.
8332 2012-04-08 Andreas Jaeger <aj@suse.de>
8335 * manual/startup.texi (Environment Access): Describe return value
8336 for putenv and setenv.
8339 * manual/filesys.texi (Directory Entries): Add description for
8343 * manual/filesys.texi (Directory Entries): Clarify that it's file
8344 system not operating system in the description of DT_UNKNOWN.
8347 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8349 2012-04-08 Stephen Compall <s11@member.fsf.org>
8352 * manual/llio.texi (Opening and Closing Files): Add cross
8353 reference to explain mode argument.
8355 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8357 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8358 * sysdeps/x86_64/memset_chk.S: Likewise.
8360 2012-04-07 David S. Miller <davem@davemloft.net>
8362 * elf/elf.h (R_SPARC_WDISP10): Define.
8363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8365 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8366 R_SPARC_SIZE64 and R_SPARC_H34.
8368 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8370 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8371 conditions and remove no longer applicable assertion.
8373 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8375 * bits/byteswap.h: Include <features.h>.
8376 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8377 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8379 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8381 * bits/byteswap.h (__bswap_16): Removed.
8382 Include <bits/byteswap-16.h> to get __bswap_16.
8383 * sysdeps/i386/bits/byteswap.h: Likewise.
8384 * sysdeps/s390/bits/byteswap.h: Likewise.
8385 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8386 * bits/byteswap-16.h: New file.
8387 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8388 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8389 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8390 * string/Makefile (headers): Add bits/byteswap-16.h.
8392 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8395 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8397 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8398 * nss/tst-nss-static.c: New.
8400 2012-04-06 Robert Millan <rmh@gnu.org>
8403 * manual/llio.texi (File Position Primitive): lseek
8404 refers to WHENCE when it really means OFFSET.
8406 2012-04-06 Andreas Jaeger <aj@suse.de>
8408 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8409 strncmp declarations.
8411 * abilist/libc.abilist: Add __poll and __ppoll.
8413 2012-04-05 David S. Miller <davem@davemloft.net>
8415 * scripts/check-local-headers.sh: Accept a host triplet in the
8416 path matched by the exclude regexp.
8418 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8420 * sysdeps/powerpc/powerpc32/dl-machine.h
8421 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8422 * sysdeps/s390/s390-32/dl-machine.h
8423 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8424 * sysdeps/sparc/sparc32/dl-machine.h
8425 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8426 * sysdeps/sparc/sparc64/dl-machine.h
8427 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8429 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8431 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8432 undefined symbol errors.
8434 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8437 2012-04-05 Michael Matz <matz@suse.de>
8440 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8442 2012-04-05 Andreas Jaeger <aj@suse.de>
8445 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8448 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8450 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8451 which ROUND is no valid rounding mode.
8453 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8455 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8457 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8459 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8461 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8462 an exception using FPU order intentionally.
8464 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8466 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8467 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8468 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8469 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8471 2012-04-05 Simon Josefsson <simon@josefsson.org>
8474 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8475 EINVAL when BUFLEN is too smal.
8477 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8480 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8481 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8483 2012-04-03 Andreas Jaeger <aj@suse.de>
8486 * manual/setjmp.texi (System V contexts): Fix sentence.
8489 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8490 New macro for this case.
8491 [!__GNUC__] (__bswap_64): New inline function for this case.
8492 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8493 * bits/byteswap.h: Likewise.
8494 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8495 ull, guard with __GLIBC_HAVE_LONG_LONG.
8497 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8498 __GLIBC_HAVE_LONG_LONG.
8500 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8501 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8503 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8506 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8507 inptr and inend, rather than using last_ch.
8509 2012-04-02 David S. Miller <davem@davemloft.net>
8511 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8512 * stdio-common/printf-parse.h (read_int): Change return type to
8513 'int', return -1 on INT_MAX overflow.
8514 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8515 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8516 overflows INT_MAX. Check for overflow of in-format-string precision
8517 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8518 SIZE_MAX not INT_MAX for integer overflow test.
8519 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8520 skip the construct in the format string but do not record anything.
8521 * stdio-common/bug22.c: Adjust to test both width/prevision
8522 INT_MAX overflow as well as total length INT_MAX overflow. Check
8523 explicitly for proper errno values.
8525 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8527 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8529 * string/test-strcmp.c [! WIDE]: Likewise.
8530 * time/tst-mktime2.c: Likewise for INT_MAX.
8531 * string/test-string.h: #include <sys/param.h> for MIN.
8533 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8534 * sysdeps/i386/init-first.c (init): Likewise.
8535 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8536 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8537 * sysdeps/sh/init-first.c (init): Likewise.
8539 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8541 * po/ru.po: Update from translation team.
8542 * po/vi.po: Likewise.
8544 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8546 * resolv/nss_dns/dns-host.c: Merge copyright years.
8548 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8550 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8551 Optimize memcpy with prefetch if
8552 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8553 src, dst pointers have unequal 16 byte alignments.
8555 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8558 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8559 from a CNAME entry and return the minimum ttl for the query.
8560 (gaih_getanswer_slice): Likewise.
8562 2012-03-30 Jeff Law <law@redhat.com>
8564 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8566 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8567 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8569 * resolv/nss_dns/dns-host.c: Update copyright year.
8571 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8573 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8574 requests to save a system call. Fix check that all bytes are sent.
8576 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8577 comments for sendmmsg.
8579 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8582 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8583 with only 1 character between 0x0041 and 0x01b0.
8584 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8585 * wcsmbs/tst-mbsnrtowcs.c: New file.
8587 2012-03-29 David S. Miller <davem@davemloft.net>
8589 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8590 small copies by hand.
8592 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8595 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8596 _nss_compat_initgroups_dyn): Fall back to malloc/free
8597 for large group memberships.
8599 2012-03-28 David S. Miller <davem@davemloft.net>
8601 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8602 that branches into memcpy.
8603 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8604 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8605 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8606 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8607 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8609 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8611 * sysdeps/sparc/mempcpy.S: New file.
8613 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8614 the IFUNC routine in the libc case.
8615 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8617 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8618 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8619 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8620 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8621 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8622 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8623 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8624 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8626 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8627 loop to 256 bytes instead of 64 bytes and fix test signedness.
8629 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8630 * sysdeps/sparc/sparc32/Makefile: rather than here...
8631 * sysdeps/sparc/sparc64/Makefile: and here.
8633 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8635 * malloc/mallocbug.c: Avoid warnings about unused variables.
8637 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8640 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8641 in the right place. Discard and retry query if response is
8642 larger than input buffer size.
8644 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8649 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8650 x for large integer exponent.
8651 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8652 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8653 sign of result as needed afterwards.
8654 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8655 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8656 result for underflowing pow the same as for overflow.
8657 (__kernel_standard_l): Handle powl overflow and underflow here
8658 rather than calling __kernel_standard.
8659 * math/libm-test.inc (pow_test): Add more tests.
8674 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8675 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8676 (__kernel_standard_l): New function.
8677 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8679 * math/w_acosl.c (__acosl): Likewise.
8680 * math/w_asinl.c (__asinl): Likewise.
8681 * math/w_atan2l.c (__atan2l): Likewise.
8682 * math/w_atanhl.c (__atanhl): Likewise.
8683 * math/w_coshl.c (__coshl): Likewise.
8684 * math/w_exp10l.c (__exp10l): Likewise.
8685 * math/w_exp2l.c (__exp2l): Likewise.
8686 * math/w_fmodl.c (__fmodl): Likewise.
8687 * math/w_hypotl.c (__hypotl): Likewise.
8688 * math/w_j0l.c (__j0l, __y0l): Likewise.
8689 * math/w_j1l.c (__j1l, __y1l): Likewise.
8690 * math/w_jnl.c (__jnl, __ynl): Likewise.
8691 * math/w_lgammal.c (__lgammal): Likewise.
8692 * math/w_log10l.c (__log10l): Likewise.
8693 * math/w_log2l.c (__log2l): Likewise.
8694 * math/w_logl.c (__logl): Likewise.
8695 * math/w_powl.c (__powl): Likewise.
8696 * math/w_remainderl.c (__remainderl): Likewise.
8697 * math/w_scalbl.c (sysv_scalbl): Likewise.
8698 * math/w_sinhl.c (__sinhl): Likewise.
8699 * math/w_sqrtl.c (__sqrtl): Likewise.
8700 * math/w_tgammal.c (__tgammal): Likewise.
8701 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8702 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8703 * math/libm-test.inc (acos_test): Add more tests.
8704 (acosh_test): Likewise.
8705 (asin_test): Likewise.
8706 (atanh_test): Likewise.
8707 (exp_test): Likewise.
8708 (exp10_test): Likewise.
8709 (exp2_test): Likewise.
8710 (expm1_test): Likewise.
8711 (lgamma_test): Likewise.
8712 (log_test): Likewise.
8713 (log10_test): Likewise.
8714 (log1p_test): Likewise.
8715 (log2_test): Likewise.
8716 (pow_test): Do not allow some spurious overflow exceptions.
8717 (sqrt_test): Add more tests.
8718 (tgamma_test): Likewise.
8719 (y0_test): Likewise.
8720 (y1_test): Likewise.
8721 (yn_test): Likewise.
8723 2012-03-27 Anton Blanchard <anton@samba.org>
8725 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8727 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8728 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8729 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8731 2012-03-27 David S. Miller <davem@davemloft.net>
8733 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8735 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8738 2012-03-27 Andreas Jaeger <aj@suse.de>
8740 * sysdeps/x86_64/elf/configure.in: Moved to ...
8741 * sysdeps/x86_64/configure.in: ... here.
8742 * sysdeps/x86_64/elf/start.S: Moved to ...
8743 * sysdeps/x86_64/start.S: ... here.
8744 * sysdeps/x86_64/elf/configure: Delete.
8746 * sysdeps/x86_64/configure.in: Merge contents from
8747 sysdeps/i386/configure.in (without i686 check).
8749 * sysdeps/i386/elf/Versions: Merge into ...
8750 * sysdeps/i386/Versions: ... this.
8751 * sysdeps/i386/elf/Versions: Delete file.
8752 * sysdeps/i386/elf/start.S: Moved to ...
8753 * sysdeps/i386/start.S: ...here.
8754 * sysdeps/i386/elf/configure.in: Merge into...
8755 * sysdeps/i386/configure.in: ...here.
8756 * sysdeps/i386/elf/configure.in: Delete file.
8757 * sysdeps/i386/elf/configure: Delete file.
8759 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8760 * debug/backtracesyms.c: ... here.
8761 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8762 * debug/backtracesymsfd.c: ... here.
8763 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8764 * sysdeps/generic/ifunc-sel.h: ... here.
8766 * sysdeps/unix/i386/start.c: Delete file.
8767 * sysdeps/unix/sparc/start.c: Delete file.
8768 * sysdeps/unix/start.c: Delete file.
8770 * sysdeps/sh/elf/configure.in: Moved to ...
8771 * sysdeps/sh/configure.in: ... here.
8772 * sysdeps/sh/elf/start.S: Moved to ...
8773 * sysdeps/sh/start.S: ... here.
8774 * sysdeps/sh/elf/configure: Delete file.
8776 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8777 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8778 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8779 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8780 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8781 * sysdeps/powerpc/powerpc64/start.S: here.
8782 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8783 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8784 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8785 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8786 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8788 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8789 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8790 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8791 * sysdeps/powerpc/powerpc32/start.S: ... here.
8792 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8793 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8794 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8796 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8797 * sysdeps/powerpc/ifunc-sel.h: ... here.
8798 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8799 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8801 * sysdeps/sparc/elf/configure.in: Moved to ...
8802 * sysdeps/sparc/configure.in: ... here.
8803 * sysdeps/sparc/elf/configure: Delete file.
8804 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8805 * sysdeps/sparc/sparc32/start.S: ... here.
8806 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8807 * sysdeps/sparc/sparc64/start.S: ... here.
8808 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8809 * sysdeps/sparc/sparc32/Makefile: ... this.
8810 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8811 * sysdeps/sparc/sparc64/Makefile: ... this.
8813 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8814 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8815 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8816 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8817 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8818 * sysdeps/s390/s390-32/setjmp.S: ... here.
8819 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8820 * sysdeps/s390/s390-32/configure.in: ... here.
8821 * sysdeps/s390/s390-32/elf/configure: Delete file.
8822 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8823 * sysdeps/s390/s390-32/start.S: ... here.
8825 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8826 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8827 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8828 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8829 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8830 * sysdeps/s390/s390-64/setjmp.S: ... here.
8831 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8832 * sysdeps/s390/s390-64/configure.in: ... here
8833 * sysdeps/s390/s390-64/elf/configure: Delete file.
8834 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8835 * sysdeps/s390/s390-64/start.S: ... here.
8836 * sysdeps/s390/s390-64/elf/configure: Delete.
8838 * configure.in: Remove support for elf directories in sysdeps.
8840 * configure: Regenerated.
8841 * sysdeps/i386/configure: Regenerated.
8842 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8843 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8844 * sysdeps/s390/s390-32/configure: Regenerated.
8845 * sysdeps/s390/s390-64/configure: Regenerated.
8846 * sysdeps/sh/configure: Regenerated.
8847 * sysdeps/sparc/configure: Regenerated.
8848 * sysdeps/x86_64/configure: Regenerated.
8850 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8854 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8855 denormal result into account.
8857 2012-03-25 Roland McGrath <roland@hack.frob.com>
8859 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8860 Reported by Allan McRae <allan@archlinux.org>.
8862 2012-03-23 Jeff Law <law@redhat.com>
8864 * nss/getnssent.c (__nss_getent): Fix typo.
8866 2012-03-23 David S. Miller <davem@davemloft.net>
8868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8870 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8872 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8873 to pad to uint64_t for each field.
8874 (dl_tls_index): Replace unsigned long with uint64_t.
8876 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8877 Paul Pluzhnikov <ppluzhnikov@google.com>
8880 * grp/Makefile (otherlibs): Don't set it.
8881 * inet/Makefile (otherlibs): Likewise.
8882 * login/Makefile (otherlibs): Likewise.
8883 * nscd/Makefile (otherlibs): Likewise.
8884 * posix/Makefile (otherlibs): Likewise.
8885 * pwd/Makefile (otherlibs): Likewise.
8886 * rt/Makefile (otherlibs): Likewise.
8887 * sunrpc/Makefile (otherlibs): Likewise.
8888 * nss/Makefile (otherlibs): Likewise.
8889 Add libnss_files to routines and static-only-routines.
8890 ($(objpfx)getent): Remove rule.
8891 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8892 static-only-routines.
8894 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8897 * math/s_cexp.c: Include <float.h>.
8898 (__cexp): Handle exp result overflowing not necessarily
8899 overflowing both real and imaginary parts of result.
8900 * math/s_cexpf.c: Likewise.
8901 * math/s_cexpl.c: Likewise.
8902 * math/libm-test.inc (cexp_test): Add more tests.
8903 * sysdeps/i386/fpu/libm-test-ulps: Update.
8904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8906 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8908 * include/link.h (ELFW): New macro.
8909 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8910 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8912 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8914 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8917 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8919 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8921 (struct La_x32_retval): Likewise.
8923 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8925 * sysdeps/x86_64/preconfigure.in: New file.
8926 * sysdeps/x86_64/preconfigure: New generated file.
8928 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8931 * math/e_exp2l.c: Include <float.h>.
8932 (__ieee754_exp2l): Handle overflow and underflow cases
8933 separately. Only pass fractional part of argument to
8935 * math/libm-test.inc (exp2_test): Add more tests.
8937 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8938 negating x to take absolute value.
8939 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8941 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8942 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8944 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8945 computing low part if x was negated.
8946 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8948 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8950 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8952 (pltexit): Cast int_retval to ptrdiff_t.
8953 * elf/tst-auditmod3b.c: Likewise.
8954 * elf/tst-auditmod4b.c: Likewise.
8955 * elf/tst-auditmod5b.c: Likewise.
8956 * elf/tst-auditmod6b.c: Likewise.
8957 * elf/tst-auditmod6c.c: Likewise.
8958 * elf/tst-auditmod7b.c: Likewise.
8960 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8961 and x32_gnu_pltexit.
8963 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8965 (La_x32_regs): New macro.
8966 (La_x32_retval): Likewise.
8967 (la_x32_gnu_pltenter): New function prototype.
8968 (la_x32_gnu_pltexit): Likewise.
8970 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8972 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8977 * configure.in (libc_cv_cc_nofma): Check for option to disable
8978 generation of FMA instructions.
8979 * configure: Regenerate.
8980 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8981 * sysdeps/ieee754/dbl-64/Makefile: New file.
8982 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8983 Remove brandred-fma4.
8984 (CFLAGS-brandred-fma4.c): Remove.
8985 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8986 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8988 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8991 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8993 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8994 LLONG_MAX != LONG_MAX.
8995 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8996 (_fitoa_word): Likewise.
8997 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8998 LLONG_MAX != LONG_MAX.
8999 * stdio-common/_itowa.h: Include <_itoa.h>.
9000 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9001 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9002 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9003 only if not defined.
9004 (_ITOA_WORD_TYPE): Likewise.
9005 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9006 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9008 2012-03-21 David S. Miller <davem@davemloft.net>
9010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9012 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9014 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9015 of x86_64 when setting libc_cv_slibdir, libdir and
9017 * sysdeps/unix/sysv/linux/configure: Regenerated.
9019 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9021 * manual/lang.texi (Old Varargs): Remove section.
9022 (How Variadic): Update menu.
9023 (va_start): Do not mention varargs.h.
9025 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9026 Joseph Myers <joseph@codesourcery.com>
9028 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9030 * configure: Regenerated.
9032 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9034 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9035 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9038 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9041 * Makefile (files-for-dist): Remove NOTES.
9042 (NOTES): Remove rule.
9043 * README: Don't refer to NOTES.
9044 * manual/creature.texi: Don't include macros.texi.
9045 * manual/intro.texi (creature.texi): Remove comment referring to
9048 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9049 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9050 * configure: Regenerated.
9051 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9053 (libc_cv_as_i686): Likewise.
9054 (libc_cv_cc_avx): Likewise.
9055 (libc_cv_cc_sse2avx): Likewise.
9056 (libc_cv_cc_fma4): Likewise.
9057 (libc_cv_cc_novzeroupper): Likewise.
9058 * sysdeps/i386/configure: Regenerated.
9061 * sysdeps/i386/fpu/s_cexp.S: Remove.
9062 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9063 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9064 * math/libm-test.inc (cexp_test): Add more tests.
9065 * sysdeps/i386/fpu/libm-test-ulps: Update.
9066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9068 2012-03-21 Allan McRae <allan@archlinux.org>
9070 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9072 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9075 * math/w_exp2.c: Do not include <float.h>.
9076 (o_threshold, u_threshold): Remove.
9077 (__exp2): Calculate result before checking finiteness and calling
9079 * math/w_exp2f.c: Likewise.
9080 * math/w_exp2l.c: Likewise.
9081 * math/libm-test.inc (exp2_test): Require overflow exception for
9085 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9086 range of signed 64-bit integers before using fistpll. Remove
9087 checks for whether integers fit in mantissa bits.
9088 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9089 the range of signed 32-bit integers before using fistpl. Remove
9090 checks for whether integers fit in mantissa bits.
9091 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9092 (__ieee754_powl): Test for y outside the range of signed 64-bit
9093 integers before using fistpll. Reduce 64-bit values to 63-bit
9095 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9096 divide-by-zero is raised for zero to large negative powers.
9097 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9098 (__ieee754_powl): Test for y outside the range of signed 64-bit
9099 integers before using fistpll. Reduce 64-bit values to 63-bit
9101 * math/libm-test.inc (pow_test): Add more tests.
9103 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9105 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9106 <stdio-common/_itoa.h>.
9107 * debug/segfault.c: Likewise.
9108 * elf/dl-cache.c: Likewise.
9109 * elf/dl-minimal.c: Likewise.
9110 * elf/dl-misc.c: Likewise.
9111 * elf/dl-sysdep.c: Likewise.
9112 * elf/dl-version.c: Likewise.
9113 * elf/rtld.c: Likewise.
9114 * hurd/hurdsock.c: Likewise.
9115 * hurd/lookup-retry.c: Likewise.
9116 * malloc/malloc.c: Likewise.
9117 * malloc/mtrace.c: Likewise.
9118 * nscd/nscd_getgr_r.c: Likewise.
9119 * nscd/nscd_getpw_r.c: Likewise.
9120 * nscd/nscd_getserv_r.c: Likewise.
9121 * posix/getopt_init.c: Likewise.
9122 * posix/wordexp.c: Likewise.
9123 * stdio-common/_itoa.c: Likewise.
9124 * stdio-common/printf_fphex.c: Likewise.
9125 * stdio-common/vfprintf.c: Likewise.
9126 * string/_strerror.c: Likewise.
9127 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9128 * sysdeps/i386/i686/hp-timing.h: Likewise.
9129 * sysdeps/mach/_strerror.c: Likewise.
9130 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9131 * sysdeps/mach/hurd/sethostid.c: Likewise.
9132 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9133 * sysdeps/mach/xpg-strerror.c: Likewise.
9134 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9135 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9136 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9137 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9138 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9139 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9140 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9141 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9142 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9143 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9144 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9145 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9146 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9147 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9148 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9149 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9150 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9151 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9152 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9153 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9154 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9156 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9158 * stdio-common/_itoa.h: Moved to ...
9159 * sysdeps/generic/_itoa.h: Here.
9161 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9163 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9164 instead of "_itoa.h" and "_itowa.h".
9165 * stdio-common/vfprintf.: Likewise.
9167 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9169 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9171 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9172 (__signbit): Likwise.
9176 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9178 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9181 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9183 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9184 OVERFLOW_EXCEPTION_OK.
9185 * math/libm-test.inc ("Philosophy"): Update comment about
9187 (OVERFLOW_EXCEPTION): Define.
9188 (OVERFLOW_EXCEPTION_OK): Likewise.
9189 (INVALID_EXCEPTION_OK): Renumber.
9190 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9191 (IGNORE_ZERO_INF_SIGN): Likewise.
9192 (test_exceptions): Handle FE_OVERFLOW.
9193 (exp10_test): Expect overflow exceptions.
9194 (exp2_test): Likewise.
9195 (expm1_test): Likewise.
9196 (nextafter_test): Likewise.
9197 (pow_test): Likewise.
9198 (scalbn_test): Likewise.
9199 (scalbln_test): Likewise.
9201 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9203 * sysdeps/x86_64/bits/atomic.h
9204 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9206 (atomic_exchange_acq): Likewise.
9207 (__arch_exchange_and_add_body): Likewise.
9208 (__arch_add_body): Likewise.
9209 (atomic_add_negative): Likewise.
9210 (atomic_add_zero): Likewise.
9212 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9214 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9215 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9217 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9219 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9220 Check __x86_64__ instead of __WORDSIZE.
9222 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9224 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9226 2012-03-19 David S. Miller <davem@davemloft.net>
9228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9230 * sysdeps/sparc/fpu/fenv_private.h: New file.
9231 * sysdeps/sparc/fpu/math_private.h: Use it.
9232 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9234 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9235 (libc_feholdexcept_setroundl): Remove.
9236 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9238 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9239 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9241 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9243 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9244 int64_t instead of long int.
9245 (INSERT_WORDS64): Likwise.
9247 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9249 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9250 _Unwind_GetCFA return to _Unwind_Ptr first.
9252 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9255 * math/s_clog.c: Include <float.h>.
9256 (__clog): Scale large or subnormal inputs.
9257 * math/s_clogf.c: Likewise.
9258 * math/s_clogl.c: Likewise.
9259 * math/s_clog10.c: Include <float.h>.
9260 (M_LOG10_2): Define.
9261 (__clog10): Scale large or subnormal inputs.
9262 * math/s_clog10f.c: Likewise.
9263 * math/s_clog10l.c: Likewise.
9264 * math/libm-test.inc (clog_test): Add more tests.
9265 (clog10_test): Likewise.
9266 * sysdeps/i386/fpu/libm-test-ulps: Update.
9267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9270 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9272 * math/libm-test.inc (atan2_test): Add another test.
9274 * Makerules (common-objdir-compile): Remove.
9275 * sysdeps/unix/Makefile (config-generated): Do not add
9276 $(unix-generated) to variable.
9277 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9278 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9280 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9282 [generic bits/local_lim.h] (before-compile): Do not append to
9284 [generic bits/local_lim.h] (common-generated): Likewise.
9285 [generic sys/param.h] (before-compile): Do not append to variable.
9286 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9287 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9288 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9289 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9291 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9292 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9293 [generic sys/param.h] ($(addprefix
9294 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9295 [generic sys/param.h] (common-generated): Do not append to
9297 [generic sys/param.h] (sysdep_headers): Likewise.
9298 [generic bits/errno.h] (before-compile): Do not append to
9300 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9302 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9303 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9304 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9305 [generic bits/errno.h] (common-generated): Do not append to
9307 [generic bits/ioctls.h] (before-compile): Do not append to
9309 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9311 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9312 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9313 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9315 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9316 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9317 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9318 [generic bits/ioctls.h] (common-generated): Do not append to
9320 [generic sys/syscall.h] (syscall.h): Remove variable.
9321 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9323 [generic sys/syscall.h] (before-compile): Do not append to
9325 [generic sys/syscall.h] (common-generated): Likewise.
9326 * sysdeps/unix/errnos-tmpl.c: Remove file.
9327 * sysdeps/unix/errnos.awk: Likewise.
9328 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9329 * sysdeps/unix/ioctls.awk: Likewise.
9330 * sysdeps/unix/mk-local_lim.c: Likewise.
9331 * sysdeps/unix/snarf-ioctls: Likewise.
9333 2012-03-19 Richard Henderson <rth@twiddle.net>
9335 * sysdeps/i386/fpu/fenv_private.h: New file.
9336 * sysdeps/i386/fpu/math_private.h: Use it.
9337 (math_opt_barrier, math_force_eval): Remove.
9338 (libc_feholdexcept_setround_53bit): Remove.
9339 (libc_feupdateenv_53bit): Remove.
9340 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9341 (math_opt_barrier, math_force_eval): Remove.
9342 (libc_feholdexcept): Remove.
9343 (libc_feholdexcept_setround): Remove.
9344 (libc_fetestexcept, libc_fesetenv): Remove.
9345 (libc_feupdateenv_test): Remove.
9346 (libc_feupdateenv, libc_feholdsetround): Remove.
9347 (libc_feresetround): Remove.
9349 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9350 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9352 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9353 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9354 (libc_feupdateenv_testl): New.
9355 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9356 (libc_feupdateenv_testf): New.
9357 (libc_feupdateenv): Use libc_feupdateenv_test.
9358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9359 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9361 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9362 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9363 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9364 (libc_feresetround_noex): New.
9365 (libc_feresetround_noexf): New.
9366 (libc_feresetround_noexl): New.
9367 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9368 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9369 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9370 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9372 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9373 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9375 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9376 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9377 SET_RESTORE_ROUND_NOEX.
9378 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9379 SET_RESTORE_ROUND_NOEXF.
9380 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9381 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9382 (libc_feholdsetroundf): New.
9383 (libc_feresetround, libc_feresetroundf): New.
9385 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9386 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9387 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9389 * sysdeps/generic/math_private.h: Include <fenv.h>.
9390 (default_libc_feholdexcept): New.
9391 (default_libc_feholdexcept_setround): New.
9392 (default_libc_fesetenv, default_libc_feupdateenv): New.
9393 (libc_feholdexcept): Only define if undefined.
9394 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9395 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9396 (libc_feholdexcept_setroundl): Likewise.
9397 (libc_feholdexcept_setround_53bit): Likewise.
9398 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9399 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9400 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9401 (libc_feupdateenv_53bit): Likewise.
9402 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9403 (libc_feholdexcept): Convert from macro to inline function.
9404 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9405 (libc_fesetenv, libc_feupdateenv): Likewise.
9407 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9408 not previously defined.
9409 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9410 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9411 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9412 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9413 * sysdeps/ieee754/flt-32/math_private.h: New file.
9414 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9415 math_private.h below SET_FLOAT_WORD.
9416 (__isnan, __isinf_ns, __finite): Remove.
9417 (__isnanf, __isinf_nsf, __finitef): Remove.
9419 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9423 2012-03-17 David S. Miller <davem@davemloft.net>
9426 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9429 2012-03-16 David S. Miller <davem@davemloft.net>
9431 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9435 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9437 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9438 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9439 sysdep_routines when subdir is sysvipc.
9440 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9443 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9445 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9447 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9450 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9452 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9453 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9454 (__lround): Renamed to ...
9455 (__llround): This. Replace long int with long long int.
9456 Define lround functions as aliases of llround functions.
9457 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9459 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9461 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9462 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9463 adresses to uintptr_t. Replace "long int" and "unsigned long
9464 int" with "greg_t" on va_arg.
9466 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9468 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9469 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9471 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9472 Move e_machine check before EI_CLASS check. Handle x32
9473 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9474 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9475 SKIP_EM_IA_64 and include
9476 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9478 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9479 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9480 (add_system_dir): New macro.
9482 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9483 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9485 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9496 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9498 * math/w_j0f.c (j0f): Likewise.
9500 * math/w_j0l.c (__j0l): Likewise.
9502 * math/w_j1.c (j1): Likewise.
9504 * math/w_j1f.c (j1f): Likewise.
9506 * math/w_j1l.c (__j1l): Likewise.
9508 * math/w_jn.c (jn): Likewise.
9510 * math/w_jnf.c (jnf): Likewise.
9512 * math/w_jnl.c (__jnl): Likewise.
9514 * math/libm-test.inc (j0_test): Add more tests.
9515 (j1_test): Likewise.
9516 (jn_test): Likewise. Add trailing semicolon to existing test.
9517 (y0_test): Likewise.
9518 (y1_test): Likewise.
9519 * sysdeps/i386/fpu/libm-test-ulps: Update.
9520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9524 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9525 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9526 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9527 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9528 (__tanl): Set errno for infinite argument.
9529 * sysdeps/i386/fpu/mptan.c: Remove.
9530 * sysdeps/i386/fpu/s_tan.S: Likewise.
9531 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9532 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9533 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9534 * math/libm-test.inc (tan_test): Add more tests and enable more
9535 tests for double and long double.
9536 * sysdeps/i386/fpu/libm-test-ulps: Update.
9537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9539 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9541 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9542 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9544 2012-03-16 Roland McGrath <roland@hack.frob.com>
9546 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9547 * configure.in: Use it for both main tree and add-ons.
9548 * configure: Regenerated.
9550 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9552 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9554 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9556 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9560 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9561 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9562 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9563 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9564 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9566 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9567 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9569 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9570 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9571 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9572 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9573 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9574 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9575 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9576 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9577 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9578 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9579 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9580 * math/libm-test.inc (cos_test): Add more tests and enable more
9581 tests for long double.
9582 (sin_test): Likewise.
9583 (sincos_test): Likewise.
9584 * sysdeps/i386/fpu/libm-test-ulps: Update.
9585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9587 2012-03-16 David S. Miller <davem@davemloft.net>
9589 * sysdeps/sparc/fpu/math_private.h: New file.
9591 2012-03-15 David S. Miller <davem@davemloft.net>
9593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9603 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9607 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9608 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9610 * sysdeps/sparc/sparc-ifunc.h: New file.
9611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9635 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9636 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9637 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9638 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9640 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9647 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9648 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9649 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9650 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9651 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9652 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9653 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9654 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9656 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9658 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9662 2012-03-15 Andreas Jaeger <aj@suse.de>
9665 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9666 ieee754/flt-32 implementation for sin, cos and sincos.
9667 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9668 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9669 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9670 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9671 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9672 ieee754/flt-32 implementation for tan.
9674 * math/libm-test.inc (cos_test): Enable some large input tests for
9676 (sin_test): Likewise.
9677 (sincos_test): Likewise.
9678 (tan_test): Add tests for large input.
9680 * sysdeps/i386/fpu/libm-test-ulps: Update.
9682 2012-03-15 Andreas Jaeger <aj@suse.de>
9685 * math/libm-test.inc (cos_test): Add more test cases.
9686 (sin_test): Likewise.
9687 (sincos_test): Likewise.
9689 2012-03-15 Andreas Jaeger <aj@suse.de>
9692 * math/libm-test.inc (cos_test): Add a test case for large input
9694 (sin_test): Likewise.
9695 (sincos_test): Likewise.
9697 2012-03-15 Andreas Jaeger <aj@suse.de>,
9698 Joseph Myers <joseph@codesourcery.com>
9701 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9702 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9703 * sysdeps/i386/fpu/branred.c: Likewise.
9704 * sysdeps/i386/fpu/dosincos.c: Likewise.
9705 * sysdeps/i386/fpu/mpa.c: Likewise.
9706 * sysdeps/i386/fpu/s_cos.S: Likewise.
9707 * sysdeps/i386/fpu/s_sin.S: Likewise.
9708 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9709 * sysdeps/i386/fpu/sincos32.c: Likewise.
9711 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9713 (libc_feupdateenv_53bit): Define.
9714 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9716 (libc_feupdateenv_53bit): Define.
9718 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9719 53 bit (without extend i386 double precision).
9721 * math/libm-test.inc (sincos_test): Add tests for large input.
9725 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9727 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9731 2012-03-15 David S. Miller <davem@davemloft.net>
9733 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9734 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9735 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9736 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9760 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9761 fmin/fmax sysdep routines.
9762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9764 2012-03-14 David S. Miller <davem@davemloft.net>
9766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9769 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9770 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9771 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9772 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9773 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9776 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9777 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9786 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9787 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9788 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9789 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9790 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9791 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9792 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9793 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9838 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9843 * sysdeps/sparc/configure.in: New file.
9844 * sysdeps/sparc/configure: Generate.
9845 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9846 * configure: Regenerate.
9847 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9848 * config.make.in (have-as-vis3): New.
9849 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9850 available use -Av9d instead of -Av9a.
9851 * sysdeps/sparc/sparc64/Makefile: Likewise.
9852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9861 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9862 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9863 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9864 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9865 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9867 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9868 fzeros/fnegs to load 0x80000000 into a float register instead of
9870 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9872 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9876 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9877 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9878 ($(inst_includedir)/bits/syscall.h): Remove rule.
9879 ($(objpfx)bits/syscall.d): Include instead of
9880 $(objpfx)syscall-list.d.
9881 (generated): Change syscall-list.h and syscall-list.d to
9882 bits/syscall.h and bits/syscall.d.
9884 2012-03-14 Roland McGrath <roland@hack.frob.com>
9887 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9889 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9892 * math/s_csqrt.c: Include <float.h>.
9893 (__csqrt): Scale large or subnormal inputs.
9894 * math/s_csqrtf.c: Likewise.
9895 * math/s_csqrtl.c: Likewise.
9896 * math/libm-test.inc (csqrt_test): Add more tests.
9897 * sysdeps/i386/fpu/libm-test-ulps: Update.
9898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9901 * math/libm-test.inc (hypot_test): Add more tests.
9903 2012-03-13 David S. Miller <davem@davemloft.net>
9906 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9907 double-precision for the calculation instead of scaling.
9909 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9911 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9912 manipulate bits before adding and subtracting TWO52[sx].
9913 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9914 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9916 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9918 2012-03-13 David S. Miller <davem@davemloft.net>
9920 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9921 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9922 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9923 rtld-global-offsets.h
9924 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9926 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9929 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9931 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9932 'err' in the ifdef scope in which it is actually used.
9934 * nss/nss_db/db-init.c: Include string.h
9936 2012-03-12 David S. Miller <davem@davemloft.net>
9938 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9939 masking out of the most significant byte of random value used.
9940 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9941 Fix coding style in previous change.
9943 * sysdeps/unix/sysv/linux/kernel-features.h
9944 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9945 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9947 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9950 2012-03-11 David S. Miller <davem@davemloft.net>
9952 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9953 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9954 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9955 for 'resultvar' otherwise things get truncated on 64-bit.
9957 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9958 Fix masking out of the most significant byte of random value used.
9960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9962 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9966 2012-03-09 David S. Miller <davem@davemloft.net>
9968 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9969 variables with appropriate CPP guards.
9970 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9971 frame pointer, not the stack pointer. Correct layout comments. Fix test
9972 on resulting framesize and the management of the outregs buffer for pltexit.
9973 Preserve floating point return values across _dl_call_pltexit call.
9974 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9975 framesize and the management of the outregs buffer for pltexit.
9976 Preserve floating point return values across _dl_call_pltexit
9978 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9979 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9980 (print_exit): Fix format string for return register value.
9982 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9984 * sunrpc/Makefile (others): Add rpcgen.
9985 ($(objpfx)rpcgen): Remove special build rule and dependency on
9987 * sunrpc/rpcgen.c: New file.
9989 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9992 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9993 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9994 * sysdeps/i386/crti.S: Likewise.
9995 * sysdeps/i386/crtn.S: Likewise.
9996 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9997 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9998 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9999 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10000 * sysdeps/sh/crti.S: Likewise.
10001 * sysdeps/sh/crtn.S: Likewise.
10002 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10005 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10007 * locale/programs/locfile-kw.gperf: Likewise.
10008 * locale/programs/charmap-kw.h: Regenerated.
10009 * locale/programs/locfile-kw.h: Likewise.
10012 * intl/plural.y: Replace FSF snail mail address with URL.
10013 * intl/plural.c: Regenerated.
10015 2012-03-09 Richard Henderson <rth@twiddle.net>
10017 * include/math_private.h: Remove file.
10018 * math/math_private.h: Move file ...
10019 * sysdeps/generic/math_private.h: ... here.
10021 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10022 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10023 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10025 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10026 and <math_private.h>.
10027 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10028 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10029 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10030 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10031 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10032 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10033 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10034 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10035 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10036 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10037 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10038 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10039 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10040 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10041 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10042 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10043 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10044 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10045 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10048 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10049 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10051 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10052 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10053 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10054 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10055 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10056 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10057 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10058 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10059 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10060 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10061 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10062 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10063 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10064 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10065 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10069 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10070 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10071 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10072 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10073 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10074 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10097 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10106 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10110 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10111 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10112 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10115 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10116 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10117 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10118 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10119 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10120 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10121 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10122 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10123 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10124 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10125 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10126 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10127 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10128 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10129 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10130 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10131 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10132 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10133 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10134 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10135 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10136 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10137 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10138 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10139 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10140 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10141 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10142 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10143 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10144 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10145 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10146 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10147 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10148 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10149 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10150 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10151 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10152 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10153 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10154 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10155 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10156 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10157 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10158 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10159 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10160 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10161 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10162 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10163 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10164 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10165 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10166 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10167 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10168 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10169 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10170 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10171 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10172 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10173 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10174 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10175 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10176 * sysdeps/ieee754/k_standard.c: Likewise.
10177 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10178 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10179 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10180 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10181 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10182 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10183 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10184 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10185 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10186 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10187 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10188 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10189 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10190 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10191 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10192 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10193 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10194 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10195 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10196 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10197 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10198 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10199 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10200 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10201 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10202 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10203 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10204 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10205 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10206 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10207 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10208 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10209 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10210 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10211 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10213 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10214 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10215 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10216 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10217 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10218 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10222 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10223 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10232 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10281 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10282 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10292 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10296 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10297 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10299 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10304 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10309 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10312 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10315 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10319 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10320 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10321 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10322 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10323 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10324 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10325 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10326 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10327 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10328 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10329 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10330 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10331 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10332 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10333 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10334 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10335 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10336 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10337 * sysdeps/ieee754/s_lib_version.c: Likewise.
10338 * sysdeps/ieee754/s_matherr.c: Likewise.
10339 * sysdeps/ieee754/s_signgam.c: Likewise.
10340 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10341 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10342 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10343 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10344 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10345 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10346 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10347 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10348 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10349 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10350 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10351 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10352 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10353 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10354 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10355 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10356 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10357 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10358 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10359 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10360 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10362 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10364 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10365 * sunrpc/rpc_main.c: Likewise.
10366 * sunrpc/rpc_svcout.c: Likewise.
10368 2012-03-09 David S. Miller <davem@davemloft.net>
10370 * include/math_private.h: New file.
10372 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10374 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10375 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10376 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10377 from <bits/socket_type.h>.
10378 (enum __socket_type): Don't define here.
10379 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10381 bits/socket_type.h.
10384 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10385 checking __USE_GNU.
10387 * Makerules ($(inst_includedir)/%.h): New rule.
10388 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10389 (install-others): Remove variable setting.
10390 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10392 2012-03-08 Richard Henderson <rth@twiddle.net>
10394 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10395 from macro to inline function; merge with the
10396 !__LIBC_INTERNAL_MATH_INLINES version.
10397 (__ieee754_sqrtf): Likewise.
10399 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10400 to inline function.
10401 (__rintf, __floor, __floorf): Likewise.
10403 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10404 macro to inline function.
10405 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10407 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10408 not <math/math_private.h>.
10410 2012-03-08 David S. Miller <davem@davemloft.net>
10412 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10414 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10416 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10418 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10420 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10421 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10423 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10425 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10426 be defined individually, they must be defined as a block. Define
10427 S for printing a string instead of hidint the different by using a
10428 macro for adding the 'l'.
10429 * stdio-common/tst-fphex-wide.c: Adjust.
10431 2012-03-07 Marek Polacek <polacek@redhat.com>
10433 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10435 2012-03-08 Marek Polacek <polacek@redhat.com>
10438 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10439 * stdio-common/tst-fphex.c: Define a few macros to make the
10440 test reusable. Use them.
10441 * stdio-common/tst-fphex-wide.c: New file.
10443 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10446 * manual/macros.texi (gnusystems): New macro.
10447 (nongnusystems): Likewise.
10448 (gnulinuxhurdsystems): Likewise.
10449 (gnuhurdsystems): Likewise..
10450 (gnulinuxsystems): Likewise.
10451 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10452 variants of the GNU system, not "GNU system".
10453 * manual/conf.texi: Likewise.
10454 * manual/errno.texi: Likewise. Update example of errno macro
10456 * manual/filesys.texi: Likewise.
10457 (getumask): Document as specific to GNU/Hurd.
10458 * manual/install.texi: Likewise. Reword some references to
10460 * manual/intro.texi: Likewise.
10461 * manual/io.texi: Likewise.
10462 (File Name Portability): Detail which constraints are inapplicable
10463 to all GNU systems and which are only inapplicable to GNU/Hurd.
10464 * manual/job.texi: Likewise.
10465 * manual/llio.texi: Likewise.
10466 (O_NOCTTY): Document as present on GNU/Linux.
10467 * manual/maint.texi: Likewise.
10468 * manual/memory.texi: Likewise.
10469 * manual/pattern.texi: Likewise.
10470 * manual/pipe.texi: Likewise.
10471 * manual/process.texi: Likewise.
10472 * manual/resource.texi: Likewise.
10473 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10475 * manual/setjmp.texi: Likewise.
10476 * manual/signal.texi: Likewise.
10477 * manual/startup.texi: Likewise.
10478 * manual/stdio.texi: Likewise.
10479 * manual/terminal.texi: Likewise.
10480 (ONLCR): Document as POSIX.
10481 (OXTABS): Document availability on GNU/Linux as XTABS.
10482 (ONOEOT): Document availability separately from other bits.
10483 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10484 * manual/time.texi: Likewise.
10485 * manual/users.texi: Likewise.
10486 * INSTALL: Regenerated.
10487 * sysdeps/gnu/errlist.c: Regenerated.
10489 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10490 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10491 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10493 * configure: Regenerated.
10495 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10497 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10498 default includes instead of AC_HEADER_CHECK.
10499 * sysdeps/i386/configure: Regenerated.
10502 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10503 * math/s_cacoshf.c (__cacoshf): Likewise.
10504 * math/s_cacoshl.c (__cacoshl): Likewise.
10505 * math/s_casinh.c (__casinh): Set signs of result from argument.
10506 * math/s_casinhf.c (__casinhf): Likewise.
10507 * math/s_casinhl.c (__casinhl): Likewise.
10508 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10509 (casinh_test): Add more tests.
10510 * sysdeps/i386/fpu/libm-test-ulps: Update.
10511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10513 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10515 * po/zh_TW.po: Update from translation team.
10517 * login/Makefile (distribute): Remove variable.
10518 * catgets/Makefile: Likewise.
10519 * mach/Makefile: Likewise.
10520 * malloc/Makefile: Likewise.
10521 * misc/Makefile: Likewise.
10522 * iconv/Makefile: Likewise.
10523 * nscd/Makefile: Likewise.
10524 * hurd/Makefile: Likewise.
10525 * manual/Makefile: Likewise.
10526 * locale/Makefile: Likewise.
10527 * intl/Makefile: Likewise.
10528 * conform/Makefile: Likewise.
10529 * nss/Makefile: Likewise.
10530 * time/Makefile: Likewise.
10531 * soft-fp/Makefile: Likewise.
10532 * dirent/Makefile: Likewise.
10533 * gmon/Makefile: Likewise.
10534 * po/Makefile: Likewise.
10535 * rt/Makefile: Likewise.
10536 * socket/Makefile: Likewise.
10537 * math/Makefile: Likewise.
10538 * signal/Makefile: Likewise.
10539 * debug/Makefile: Likewise.
10540 * elf/Makefile: Likewise.
10541 * timezone/Makefile: Likewise.
10542 * stdlib/Makefile: Likewise.
10543 * iconvdata/Makefile: Likewise.
10544 * sunrpc/Makefile: Likewise.
10545 * io/Makefile: Likewise.
10546 * argp/Makefile: Likewise.
10547 * inet/Makefile: Likewise.
10548 * hesiod/Makefile: Likewise.
10549 * grp/Makefile: Likewise.
10550 * csu/Makefile: Likewise.
10551 * wctype/Makefile: Likewise.
10552 * crypt/Makefile: Likewise.
10553 * libio/Makefile: Likewise.
10554 * string/Makefile: Likewise.
10555 * nis/Makefile: Likewise.
10556 * resolv/Makefile: Likewise.
10557 * stdio-common/Makefile: Likewise.
10558 * wcsmbs/Makefile: Likewise.
10559 * dlfcn/Makefile: Likewise.
10560 * posix/Makefile: Likewise.
10563 * timezone/Makefile: Don't install timezone files, just the programs
10566 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10568 * nss/databases.def: Add missing gshadow entry.
10570 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10572 2012-03-06 Marek Polacek <polacek@redhat.com>
10575 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10576 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10577 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10578 * stdio-common/tst-long-dbl-fphex.c: New file.
10580 2012-03-06 David S. Miller <davem@davemloft.net>
10582 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10583 (set_obp_int): New function.
10584 (get_obp_int): New function.
10585 (__get_clockfreq_via_dev_openprom): Likewise.
10586 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10587 Avoid unused variable warnings on 'val' and use builtin_expect.
10588 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10590 (INLINE_CLONE_SYSCALL): Likewise.
10592 2012-03-05 David S. Miller <davem@davemloft.net>
10594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10596 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10600 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10601 only for |x| >= 40.
10602 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10604 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10607 Replace gettimeofday with __vdso_gettimeofday.
10609 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10610 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10611 __vdso_clock_gettime and __vdso_getcpu.
10613 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10614 time with __vdso_time.
10616 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10618 * manual/lang.texi (size_t): Note types to which size_t may be
10619 equivalent with the GNU C Library, but do not describe when
10620 differences between them are significant.
10622 2012-03-05 Andreas Jaeger <aj@suse.de>
10624 * sysdeps/i386/fpu/libm-test-ulps: Update.
10626 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10629 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10630 (__ieee754_pow): Save and restore rounding mode and use
10631 round-to-nearest for main computations.
10632 * math/libm-test.inc (pow_test_tonearest): New function.
10633 (pow_test_towardzero): Likewise.
10634 (pow_test_downward): Likewise.
10635 (pow_test_upward): Likewise.
10636 (main): Call the new functions.
10637 * sysdeps/i386/fpu/libm-test-ulps: Update.
10638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10641 * math/libm-test.inc (cosh_test_tonearest): New function.
10642 (cosh_test_towardzero): Likewise.
10643 (cosh_test_downward): Likewise.
10644 (cosh_test_upward): Likewise.
10645 (sinh_test_tonearest): Likewise.
10646 (sinh_test_towardzero): Likewise.
10647 (sinh_test_downward): Likewise.
10648 (sinh_test_upward): Likewise.
10649 (main): Call the new functions.
10650 * sysdeps/i386/fpu/libm-test-ulps: Update.
10651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10653 2012-03-05 Tom de Vries <tom@codesourcery.com>
10655 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10656 default stack guard is set in last bytes.
10657 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10659 2012-03-05 Kees Cook <keescook@chromium.org>
10661 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10664 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10665 possibly allocate from heap instead of stack.
10666 * stdio-common/bug-vfprintf-nargs.c: New file.
10667 * stdio-common/Makefile (tests): Add nargs overflow test.
10669 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10673 2012-03-03 Marek Polacek <polacek@redhat.com>
10675 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10676 * math/math_private.h: Likewise.
10677 * stdlib/tst-strtod.c: Likewise.
10678 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10679 * sysdeps/x86_64/bits/atomic.h: Likewise.
10681 2012-03-02 David S. Miller <davem@davemloft.net>
10683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10687 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10688 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10689 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10690 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10692 2012-03-02 Roland McGrath <roland@hack.frob.com>
10695 * manual/examples/README: New file, says the example source files
10696 can be used under GPL>=2.
10697 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10698 line containing just "*/".
10699 * manual/examples/add.c: Add copyright header (GPL>=2).
10700 * manual/examples/argp-ex1.c: Likewise.
10701 * manual/examples/argp-ex2.c: Likewise.
10702 * manual/examples/argp-ex3.c: Likewise.
10703 * manual/examples/argp-ex4.c: Likewise.
10704 * manual/examples/atexit.c: Likewise.
10705 * manual/examples/db.c: Likewise.
10706 * manual/examples/dir.c: Likewise.
10707 * manual/examples/dir2.c: Likewise.
10708 * manual/examples/execinfo.c: Likewise.
10709 * manual/examples/filecli.c: Likewise.
10710 * manual/examples/filesrv.c: Likewise.
10711 * manual/examples/fmtmsgexpl.c: Likewise.
10712 * manual/examples/genpass.c: Likewise.
10713 * manual/examples/inetcli.c: Likewise.
10714 * manual/examples/inetsrv.c: Likewise.
10715 * manual/examples/isockad.c: Likewise.
10716 * manual/examples/longopt.c: Likewise.
10717 * manual/examples/memopen.c: Likewise.
10718 * manual/examples/memstrm.c: Likewise.
10719 * manual/examples/mkfsock.c: Likewise.
10720 * manual/examples/mkisock.c: Likewise.
10721 * manual/examples/mygetpass.c: Likewise.
10722 * manual/examples/pipe.c: Likewise.
10723 * manual/examples/popen.c: Likewise.
10724 * manual/examples/rprintf.c: Likewise.
10725 * manual/examples/search.c: Likewise.
10726 * manual/examples/select.c: Likewise.
10727 * manual/examples/setjmp.c: Likewise.
10728 * manual/examples/sigh1.c: Likewise.
10729 * manual/examples/sigusr.c: Likewise.
10730 * manual/examples/stpcpy.c: Likewise.
10731 * manual/examples/strdupa.c: Likewise.
10732 * manual/examples/strftim.c: Likewise.
10733 * manual/examples/strncat.c: Likewise.
10734 * manual/examples/subopt.c: Likewise.
10735 * manual/examples/swapcontext.c: Likewise.
10736 * manual/examples/termios.c: Likewise.
10737 * manual/examples/testopt.c: Likewise.
10738 * manual/examples/testpass.c: Likewise.
10739 * manual/examples/timeval_subtract.c: Likewise.
10742 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10744 * manual/timeval_subtract.c.texi: ... here, new file.
10746 2012-03-02 David S. Miller <davem@davemloft.net>
10748 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10750 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10753 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10754 (__sin): Save and restore rounding mode and use round-to-nearest
10755 for all computations.
10756 (__cos): Save and restore rounding mode and use round-to-nearest
10757 for all computations.
10758 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10760 (tan): Save and restore rounding mode and use round-to-nearest for
10762 * math/libm-test.inc (cos_test_tonearest): New function.
10763 (cos_test_towardzero): Likewise.
10764 (cos_test_downward): Likewise.
10765 (cos_test_upward): Likewise.
10766 (sin_test_tonearest): Likewise.
10767 (sin_test_towardzero): Likewise.
10768 (sin_test_downward): Likewise.
10769 (sin_test_upward): Likewise.
10770 (tan_test_tonearest): Likewise.
10771 (tan_test_towardzero): Likewise.
10772 (tan_test_downward): Likewise.
10773 (tan_test_upward): Likewise.
10774 (main): Call the new functions.
10775 * sysdeps/i386/fpu/libm-test-ulps: Update.
10776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10779 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10780 small n, then large n, before computing and testing k+n.
10781 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10782 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10784 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10786 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10787 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10788 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10789 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10790 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10791 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10792 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10793 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10794 * math/libm-test.inc (scalbn_test): Add more tests.
10795 (scalbln_test): Likewise.
10797 * manual/filesys.texi (mode_t): Describe constraints on size and
10798 signedness, not exact equivalence to a particular type.
10800 (ino64_t): Likewise.
10802 (nlink_t): Likewise.
10803 (blkcnt_t): Likewise.
10804 (blkcnt64_t): Likewise.
10805 * manual/llio.texi (off_t): Likewise.
10808 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10809 (__ieee754_exp): Save and restore rounding mode and use
10810 round-to-nearest for all computations.
10811 * math/libm-test.inc (exp_test_tonearest): New function.
10812 (exp_test_towardzero): Likewise.
10813 (exp_test_downward): Likewise.
10814 (exp_test_upward): Likewise.
10815 (main): Call the new functions.
10816 * sysdeps/i386/fpu/libm-test-ulps: Update.
10817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10819 2012-03-01 Chris Demetriou <cgd@google.com>
10821 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10822 have predictable order.
10824 2012-03-01 David S. Miller <davem@davemloft.net>
10826 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10828 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10829 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10830 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10831 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10833 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10834 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10835 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10837 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10838 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10839 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10840 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10841 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10845 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10846 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10847 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10849 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10850 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10851 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10852 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10853 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10854 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10855 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10856 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10857 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10858 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10859 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10860 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10862 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10863 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10864 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10865 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10866 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10867 * sysdeps/sparc/elf/configure: Regenerated.
10869 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10871 * configure.in (AS, LD): Require binutils 2.20 or later.
10872 * configure: Regenerated.
10873 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10874 as required minimum version.
10875 * INSTALL: Regenerated.
10879 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10880 before squaring exponent.
10881 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10882 bottom long double and 27 bits of top long double before squaring
10884 * math/libm-test.inc (erfc_test): Add more tests.
10885 * sysdeps/i386/fpu/libm-test-ulps: Update.
10886 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10889 2012-03-01 Kai Tietz <ktietz@redhat.com>
10891 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10892 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10893 containing bit-fields.
10894 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10895 * soft-fp/single.h (_FP_UNION_S): Likewise.
10896 * soft-fp/double.h (_FP_UNION_D): Likewise.
10898 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10901 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10902 not include ../strcmp.S.
10903 [USE_AS_STRNCASECMP_L]: Likewise.
10904 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10905 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10906 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10907 (__strncasecmp_l_ia32): Define as alias to
10908 __strncasecmp_l_nonascii.
10911 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10912 * sysdeps/i386/fpu/libm-test-ulps: Update.
10913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10915 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10918 2012-02-29 Jeff Law <law@redhat.com>
10920 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10921 out of bounds read.
10923 2012-02-29 Marek Polacek <polacek@redhat.com>
10926 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10927 * elf/Makefile: Add rules to run tst-unused-dep.out.
10929 2012-02-28 David S. Miller <davem@davemloft.net>
10931 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10932 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10933 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10934 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10935 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10936 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10938 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10940 * math/libm-test.inc (llround_test): Move one test from
10941 lround_test. Use TEST_f_L in moved test.
10942 (lround_test): Move misplaced test to llround_test. Add testcase
10945 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10947 * sysdeps/x86_64/fpu/e_expf.S: New file.
10948 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10950 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10953 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10954 of remain_len that may cause incomplete multi-byte character and
10956 * posix/bug-regex33.c: New file.
10957 * posix/Makefile (tests): Add bug-regex33.
10959 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10961 * manual/macros.texi: New file.
10962 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10963 * manual/libc.texinfo: Include macros.texi.
10964 * manual/creatute.texi: Likewise.
10965 * manual/install.texi: Likewise.
10966 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10967 @glibcadj{} in references to the GNU C Library.
10968 * manual/charset.texi: Likewise.
10969 * manual/conf.texi: Likewise.
10970 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10971 when not using those macros.
10972 * manual/creature.texi: Likewise.
10973 * manual/crypt.texi: Likewise.
10974 * manual/errno.texi: Likewise.
10975 * manual/filesys.texi: Likewise.
10976 * manual/header.texi: Likewise.
10977 * manual/install.texi: Likewise.
10978 * manual/intro.texi: Likewise.
10979 * manual/io.texi: Likewise.
10980 * manual/job.texi: Likewise.
10981 * manual/lang.texi: Likewise.
10982 * manual/libc.texiinfo: Likewise.
10983 * manual/llio.texi: Likewise.
10984 * manual/locale.texi: Likewise.
10985 * manual/maint.texi: Likewise.
10986 * manual/math.texi: Likewise.
10987 * manual/memory.texi: Likewise.
10988 * manual/message.texi: Likewise.
10989 * manual/nss.texi: Likewise.
10990 * manual/pattern.texi: Likewise.
10991 * manual/process.texi: Likewise.
10992 * manual/resource.texi: Likewise.
10993 * manual/search.texi: Likewise.
10994 * manual/setjmp.texi: Likewise.
10995 * manual/signal.texi: Likewise.
10996 * manual/socket.texi: Likewise.
10997 * manual/startup.texi: Likewise.
10998 * manual/stdio.texi: Likewise.
10999 * manual/string.texi: Likewise.
11000 * manual/sysinfo.texi: Likewise.
11001 * manual/syslog.texi: Likewise.
11002 * manual/terminal.texi: Likewise.
11003 * manual/time.texi: Likewise.
11004 * manual/users.texi: Likewise.
11005 * INSTALL: Regenerated.
11006 * NOTES: Regenerated.
11007 * sysdeps/gnu/errlist.c: Regenerated.
11009 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11011 * include/dirent.h: Include <dirstream.h> before
11014 2012-02-28 David S. Miller <davem@davemloft.net>
11016 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11017 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11018 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11019 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11021 2012-02-27 David S. Miller <davem@davemloft.net>
11023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11025 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11026 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11029 frame pointer instead of stack pointer relative arg slot.
11030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11031 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11032 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11034 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11037 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11039 2012-02-27 David S. Miller <davem@davemloft.net>
11041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11045 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11046 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11047 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11048 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11050 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11052 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11053 later. Allow versions 5-9.
11054 * configure: Regenerated.
11055 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11056 required minimum version and 4.6 as recommended version. Do not
11057 mention bugs in GCC 2.7 and 2.8.
11058 * INSTALL: Regenerated.
11060 2012-02-27 David S. Miller <davem@davemloft.net>
11062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11066 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11067 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11068 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11069 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11071 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11072 manipulate bits before adding and subtracting TWO112[sx].
11073 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11075 2012-02-27 Roland McGrath <roland@hack.frob.com>
11078 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11079 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11080 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11081 being in POSIX, because they are in 1003.1-2008.
11083 * rt/tst-aio.c: Include <fcntl.h>.
11084 * rt/tst-aio7.c: Likewise.
11085 * rt/tst-aio64.c: Likewise.
11087 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11089 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11091 * manual/install.texi (--with-headers): Describe headers as
11092 interface headers, not private headers.
11093 (Specific advice for GNU/Linux systems): Describe use of headers
11094 from "make headers_install", not private headers from older
11096 * INSTALL: Regenerated.
11097 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11099 * sysdeps/unix/sysv/linux/configure: Regenerated.
11101 * manual/llio.texi (fclean): Remove documentation.
11103 * manual/Makefile (libc-texi-generated): New variable. Include
11105 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11106 $(libc-texi-generated), not duplicated list of files.
11107 (version.texi, stamp-version): New rules.
11108 (realclean): Remove $(libc-texi-generated), not individual files
11109 from that list. Do not remove dir-add.texinfo.
11110 * manual/libc.texinfo: Comment out uses of edition numbers and
11111 references to printed manual. Remove last-updated dates.
11112 (EDITION): Comment out.
11114 (VERSION, UPDATED): Remove.
11115 (version.texi): Include.
11117 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11119 * sysdeps/posix/spawni.c: Include <signal.h>.
11120 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11121 * sysdeps/pthread/aio_fsync.c: Likewise.
11123 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11125 * conform/Makefile (tests): Run only when not cross-compiling and
11126 when fast-check is not defined.
11128 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11129 * conform/data/limits.h-data: Fixes for POSIX2008.
11130 * conform/run-conformtest.sh: Run all tests.
11131 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11133 * include/bits/dlfcn.h: Likewise.
11134 * include/langinfo.h: Likewise.
11135 * include/monetary.h: Likewise.
11136 * include/sys/poll.h: Likewise.
11138 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11140 * posix/spawn.h: Define __need_sigset_t.
11141 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11142 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11143 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11144 to get sigevent_t only.
11145 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11146 only for __USE_GNU.
11147 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11148 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11149 process_vm_writev only for __USE_GNU.
11150 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11152 * conform/Makefile: For now ignore errors from run-conformtest.
11153 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11154 POSIX to avoid namespace pollution. Don't prepend headers.
11155 * conform/data/aio.h-data: Fixes for POSIX testing.
11156 * conform/data/fcntl.h-data: Likewise.
11157 * conform/data/glob.h-data: Likewise.
11158 * conform/data/grp.h-data: Likewise.
11159 * conform/data/pthread.h-data: Likewise.
11160 * conform/data/pwd.h-data: Likewise.
11161 * conform/data/signal.h-data: Likewise.
11162 * conform/data/spawn.h-data: Likewise.
11163 * conform/data/stdio.h-data: Likewise.
11164 * conform/data/stdlib.h-data: Likewise.
11165 * conform/data/stropts.h-data: Likewise.
11166 * conform/data/sys/mman.h-data: Likewise.
11167 * conform/data/sys/stat.h-data: Likewise.
11168 * conform/data/sys/types.h-data: Likewise.
11169 * conform/data/sys/wait.h-data: Likewise.
11170 * conform/data/time.h-data: Likewise.
11171 * conform/data/unistd.h-data: Likewise.
11172 * conform/data/utime.h-data: Likewise.
11174 * io/sys/stat.h: fchmod was always in POSIX.
11175 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11176 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11177 * rt/aio.h: Define __need_timespec before including <time.h>.
11178 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11179 struct. Add forward declaration of pthread_attr_t and use it in
11181 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11182 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11183 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11184 always remove CLK_TCK definition.
11186 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11188 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11190 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11192 * conform/run-conformtest.sh: New file.
11193 * conform/Makefile: Run run-conformtest for tests.
11194 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11197 * conform/data/uchar.h-data: New file.
11198 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11199 * conform/data/arpa/inet.h-data: Likewise.
11200 * conform/data/assert.h-data: Likewise.
11201 * conform/data/complex.h-data: Likewise.
11202 * conform/data/cpio.h-data: Likewise.
11203 * conform/data/ctype.h-data: Likewise.
11204 * conform/data/dirent.h-data: Likewise.
11205 * conform/data/dlfcn.h-data: Likewise.
11206 * conform/data/errno.h-data: Likewise.
11207 * conform/data/fcntl.h-data: Likewise.
11208 * conform/data/float.h-data: Likewise.
11209 * conform/data/fmtmsg.h-data: Likewise.
11210 * conform/data/fnmatch.h-data: Likewise.
11211 * conform/data/ftw.h-data: Likewise.
11212 * conform/data/glob.h-data: Likewise.
11213 * conform/data/grp.h-data: Likewise.
11214 * conform/data/iconv.h-data: Likewise.
11215 * conform/data/inttypes.h-data: Likewise.
11216 * conform/data/langinfo.h-data: Likewise.
11217 * conform/data/libgen.h-data: Likewise.
11218 * conform/data/limits.h-data: Likewise.
11219 * conform/data/locale.h-data: Likewise.
11220 * conform/data/math.h-data: Likewise.
11221 * conform/data/monetary.h-data: Likewise.
11222 * conform/data/mqueue.h-data: Likewise.
11223 * conform/data/ndbm.h-data: Likewise.
11224 * conform/data/net/if.h-data: Likewise.
11225 * conform/data/netdb.h-data: Likewise.
11226 * conform/data/netinet/in.h-data: Likewise.
11227 * conform/data/nl_types.h-data: Likewise.
11228 * conform/data/poll.h-data: Likewise.
11229 * conform/data/pthread.h-data: Likewise.
11230 * conform/data/pwd.h-data: Likewise.
11231 * conform/data/regex.h-data: Likewise.
11232 * conform/data/sched.h-data: Likewise.
11233 * conform/data/search.h-data: Likewise.
11234 * conform/data/semaphore.h-data: Likewise.
11235 * conform/data/setjmp.h-data: Likewise.
11236 * conform/data/signal.h-data: Likewise.
11237 * conform/data/spawn.h-data: Likewise.
11238 * conform/data/stdarg.h-data: Likewise.
11239 * conform/data/stdio.h-data: Likewise.
11240 * conform/data/stdlib.h-data: Likewise.
11241 * conform/data/string.h-data: Likewise.
11242 * conform/data/strings.h-data: Likewise.
11243 * conform/data/stropts.h-data: Likewise.
11244 * conform/data/sys/ipc.h-data: Likewise.
11245 * conform/data/sys/mman.h-data: Likewise.
11246 * conform/data/sys/msg.h-data: Likewise.
11247 * conform/data/sys/resource.h-data: Likewise.
11248 * conform/data/sys/select.h-data: Likewise.
11249 * conform/data/sys/sem.h-data: Likewise.
11250 * conform/data/sys/shm.h-data: Likewise.
11251 * conform/data/sys/socket.h-data: Likewise.
11252 * conform/data/sys/stat.h-data: Likewise.
11253 * conform/data/sys/statvfs.h-data: Likewise.
11254 * conform/data/sys/time.h-data: Likewise.
11255 * conform/data/sys/timeb.h-data: Likewise.
11256 * conform/data/sys/times.h-data: Likewise.
11257 * conform/data/sys/types.h-data: Likewise.
11258 * conform/data/sys/uio.h-data: Likewise.
11259 * conform/data/sys/un.h-data: Likewise.
11260 * conform/data/sys/utsname.h-data: Likewise.
11261 * conform/data/sys/wait.h-data: Likewise.
11262 * conform/data/syslog.h-data: Likewise.
11263 * conform/data/tar.h-data: Likewise.
11264 * conform/data/termios.h-data: Likewise.
11265 * conform/data/utime.h-data: Likewise.
11266 * conform/data/utmpx.h-data: Likewise.
11267 * conform/data/varargs.h-data: Likewise.
11268 * conform/data/wchar.h-data: Likewise.
11269 * conform/data/wctype.h-data: Likewise.
11270 * conform/data/wordexp.h-data: Likewise.
11272 * include/stropts.h: New file.
11273 * include/uchar.h: New file.
11274 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11275 * include/assert.h: Likewise.
11276 * include/ctype.h: Likewise.
11277 * include/dirent.h: Likewise.
11278 * include/dlfcn.h: Likewise.
11279 * include/fcntl.h: Likewise.
11280 * include/fnmatch.h: Likewise.
11281 * include/glob.h: Likewise.
11282 * include/grp.h: Likewise.
11283 * include/libio.h: Likewise.
11284 * include/locale.h: Likewise.
11285 * include/math.h: Likewise.
11286 * include/net/if.h: Likewise.
11287 * include/netdb.h: Likewise.
11288 * include/netinet/in.h: Likewise.
11289 * include/pthread.h: Likewise.
11290 * include/pwd.h: Likewise.
11291 * include/regex.h: Likewise.
11292 * include/sched.h: Likewise.
11293 * include/search.h: Likewise.
11294 * include/setjmp.h: Likewise.
11295 * include/signal.h: Likewise.
11296 * include/stdio.h: Likewise.
11297 * include/stdlib.h: Likewise.
11298 * include/string.h: Likewise.
11299 * include/sys/cdefs.h: Likewise.
11300 * include/sys/mman.h: Likewise.
11301 * include/sys/msg.h: Likewise.
11302 * include/sys/resource.h: Likewise.
11303 * include/sys/select.h: Likewise.
11304 * include/sys/socket.h: Likewise.
11305 * include/sys/stat.h: Likewise.
11306 * include/sys/statvfs.h: Likewise.
11307 * include/sys/time.h: Likewise.
11308 * include/sys/times.h: Likewise.
11309 * include/sys/uio.h: Likewise.
11310 * include/sys/utsname.h: Likewise.
11311 * include/sys/wait.h: Likewise.
11312 * include/termios.h: Likewise.
11313 * include/time.h: Likewise.
11314 * include/ulimit.h: Likewise.
11315 * include/unistd.h: Likewise.
11316 * include/utime.h: Likewise.
11317 * include/wchar.h: Likewise.
11318 * include/wctype.h: Likewise.
11319 * include/wordexp.h: Likewise.
11321 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11323 * time/time.h: TIME_UTC must be a macro.
11324 Make timespec_get available for ISO C11 only as well.
11326 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11328 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11329 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11331 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11333 * configure.in: Use -o not -a in test for unsupported multi-arch.
11335 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11337 * manual/texinfo.tex: Update to version 2012-01-19.16.
11339 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11341 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11343 2012-02-24 Roland McGrath <roland@hack.frob.com>
11346 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11347 * manual/fdl-1.3.texi: New file.
11348 * manual/fdl-1.1.texi: File removed.
11351 * manual/libc.texinfo (FDL_VERSION): New @set.
11352 Use it for mention of FDL in cover text.
11353 (Documentation License): Use it in @include file name.
11355 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11356 Roland McGrath <roland@hack.frob.com>
11359 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11360 not LONG_LONG_MAX and LONG_LONG_MIN.
11361 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11362 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11364 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11366 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11370 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11371 manipulate bits before adding and subtracting TWO23[sx].
11372 * math/libm-test.inc (nearbyint_test): Add more tests.
11374 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11377 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11378 bits before adding and subtracting TWO23[sx].
11379 * math/libm-test.inc (rint_test): Add more tests.
11380 (rint_test_tonearest): Likewise.
11381 (rint_test_towardzero): Likewise.
11382 (rint_test_downward): Likewise.
11383 (rint_test_upward: Likewise.
11385 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11388 * include/stdc-predef.h: New file. Extracted from features.h.
11389 * include/features.h: Include stdc-predef.h.
11390 * Makefile (headers): Add stdc-predef.h.
11391 * CONFORMANCE (Compiler limitations): Update.
11393 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11395 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11397 2012-02-21 David S. Miller <davem@davemloft.net>
11399 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11400 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11402 2012-02-20 David S. Miller <davem@davemloft.net>
11404 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11405 using a normal save/restore sequence, rather than allocating a
11406 dummy stack frame just to store a frame pointer and restore.
11407 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11409 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11411 * manual/install.texi: Fix stray word in line-wrapped comment.
11413 2012-02-20 David S. Miller <davem@davemloft.net>
11415 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11416 both binutils and gcc support GOTDATA.
11418 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11419 "rd %pc" in the PIC register setup sequences.
11421 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11422 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11423 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11424 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11425 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11426 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11427 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11428 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11429 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11430 (SYSCALL_ERROR_HANDLER): Likewise.
11431 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11432 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11434 (SYSCALL_ERROR_HANDLER): Likewise.
11436 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11437 (HAVE_GCC_GOTDATA): New.
11438 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11439 relocation support in both binutils and gcc.
11440 * sysdeps/sparc/elf/configure: Regenerate.
11442 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11443 * sysdeps/sparc/sparc32/elf/configure: Delete.
11444 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11445 * sysdeps/sparc/sparc64/elf/configure: Delete.
11446 * sysdeps/sparc/elf/configure.in: New file.
11447 * sysdeps/sparc/elf/configure: Generate.
11449 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11450 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11451 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11452 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11453 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11455 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11457 * manual/install.texi: Do not mention specific glibc version
11459 * manual/libc.texinfo (VERSION, UPDATED): Update.
11460 (@copying): Use @copyright{} and range of years.
11462 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11465 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11466 [crti.S not in sysdirs] (generated): Do not append.
11467 [crti.S not in sysdirs] (omit-deps): Likewise.
11468 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11469 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11470 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11471 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11472 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11474 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11475 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11476 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11477 * csu/defs.awk: Remove file.
11478 * sysdeps/generic/initfini.c: Likewise.
11479 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11481 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11484 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11486 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11487 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11488 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11489 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11490 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11491 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11493 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11494 (__EPOLL_PACKED): Define to empty if not defined by
11496 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11497 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11500 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11502 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11503 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11504 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11505 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11507 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11511 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11513 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11515 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11516 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11517 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11520 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11522 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11523 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11525 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11527 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11528 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11530 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11532 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11535 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11537 * math/w_acos.c: Use non-signaling floating-point comparisons.
11538 * math/w_acosf.c: Likewise.
11539 * math/w_acosh.c: Likewise.
11540 * math/w_acoshf.c: Likewise.
11541 * math/w_acoshl.c: Likewise.
11542 * math/w_acosl.c: Likewise.
11543 * math/w_asin.c: Likewise.
11544 * math/w_asinf.c: Likewise.
11545 * math/w_asinl.c: Likewise.
11546 * math/w_atanh.c: Likewise.
11547 * math/w_atanhf.c: Likewise.
11548 * math/w_atanhl.c: Likewise.
11549 * math/w_exp2.c: Likewise.
11550 * math/w_exp2f.c: Likewise.
11551 * math/w_exp2l.c: Likewise.
11552 * math/w_j0.c: Likewise.
11553 * math/w_j0f.c: Likewise.
11554 * math/w_j0l.c: Likewise.
11555 * math/w_j1.c: Likewise.
11556 * math/w_j1f.c: Likewise.
11557 * math/w_j1l.c: Likewise.
11558 * math/w_jn.c: Likewise.
11559 * math/w_jnf.c: Likewise.
11560 * math/w_log.c: Likewise.
11561 * math/w_log10.c: Likewise.
11562 * math/w_log10f.c: Likewise.
11563 * math/w_log10l.c: Likewise.
11564 * math/w_log2.c: Likewise.
11565 * math/w_log2f.c: Likewise.
11566 * math/w_log2l.c: Likewise.
11567 * math/w_logf.c: Likewise.
11568 * math/w_logl.c: Likewise.
11569 * math/w_sqrt.c: Likewise.
11570 * math/w_sqrtf.c: Likewise.
11571 * math/w_sqrtl.c: Likewise.
11572 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11573 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11574 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11575 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11576 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11578 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11581 * manual/string.texi (strnlen): Use correct parameter name in
11582 equivalent expression.
11584 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11587 * manual/users.texi (seteuid): Consistently use neweuid for
11590 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11593 * manual/nss.texi (Services in the NSS configuration): Correct
11594 list of services in example configuration file.
11596 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11599 * manual/arith.texi: Remove statements about negative zero
11600 behaving identically to zero.
11602 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11605 * manual/install.texi: Do not document upgrading from libc5.
11607 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11610 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11612 2012-02-18 David S. Miller <davem@davemloft.net>
11614 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11615 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11616 %o7 across the call.
11617 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11619 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11620 SETUP_PIC_REG_LEAF.
11621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11622 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11623 * sysdeps/sparc/crtn.S: Likewise.
11625 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11627 * aout/Makefile: Remove.
11629 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11632 * manual/examples/argp-ex1.c (main): Format definition in GNU
11634 * manual/examples/argp-ex2.c (main): Likewise.
11635 * manual/examples/argp-ex3.c (main): Likewise.
11636 * manual/examples/argp-ex4.c (main): Likewise.
11637 * manual/examples/longopt.c (main): Use new-style prototype
11639 * manual/examples/strncat.c (main): Specify return type and use
11640 (void) for arguments.
11641 * manual/examples/subopt.c (main): Use char **argv argument.
11643 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11646 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11649 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11652 * manual/string.texi (strchr): Change when strchrnul is
11655 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11658 * manual/locale.texi (setlocale): Document LOCPATH.
11660 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11663 * manual/process.texi (execle): Move @dots{} before last argument.
11665 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11668 * manual/charset.texi (Generic Charset Conversion): Fix typo
11669 (LC_TYPE -> LC_CTYPE).
11671 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11674 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11675 (scalbnf): Likewise.
11676 (scalbnl): Likewise.
11677 (scalbln): Likewise.
11678 (scalblnf): Likewise.
11679 (scalblnl): Likewise.
11680 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11681 (vwarnx): Likewise.
11684 * manual/filesys.texi (telldir): Use braces around return type.
11685 * manual/llio.texi (mmap): Add space after comma.
11686 (mmap64): Likewise.
11687 * manual/math.texi (jn): Use @var{} on parameter names.
11693 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11695 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11697 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11698 (sched_get_priority_max): Likewise.
11699 * manual/signal.texi (sigvec): Add space after comma.
11700 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11702 (if_indextoname): Likewise.
11703 (if_freenameindex): Likewise.
11704 (sendto): Use ',' instead of '.' in prototype.
11705 * manual/startup.texi (syscall): Use @dots{} instead of literal
11707 * manual/stdio.texi (__fpending): Separate initial words of
11708 paragraph from @deftypefun line.
11709 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11711 (vsyslog): Use @var{} on parameter names.
11712 * manual/terminal.texi (stty): Use @var{} on parameter names.
11713 * manual/users.texi (getutmp): Use @var{} on parameter names.
11714 (getutmpx): Likewise.
11716 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11719 * manual/stdio.texi (fopen): Fix typos in description of
11722 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11725 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11726 get clock_id definition.
11728 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11731 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11732 (madvise): Cast every argument to void on its own.
11734 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11737 * manual/startup.texi (Exit Status): Fix typo.
11739 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11742 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11743 * manual/examples/argp-ex2.c: Likewise.
11744 * manual/examples/argp-ex3.c: Likewise.
11746 2012-02-16 Richard Henderson <rth@redhat.com>
11748 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11749 * sysdeps/s390/s390-32/initfini.c: Remove.
11750 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11751 * sysdeps/s390/s390-64/initfini.c: Remove.
11753 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11755 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11756 compiler output for sysdeps/generic/initfini.c.
11757 * sysdeps/sh/elf/initfini.c: Remove file.
11759 2012-02-16 David S. Miller <davem@davemloft.net>
11762 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11764 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11765 * sysdeps/sparc/crti.S: New file.
11766 * sysdeps/sparc/crtn.S: New file.
11767 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11768 * sysdeps/sparc/sparc64/Makefile: Likewise.
11770 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11773 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11775 2012-02-15 Roland McGrath <roland@hack.frob.com>
11778 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11780 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11781 (write, read, close): Likewise.
11782 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11784 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11786 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11787 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11788 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11789 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11791 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11795 2012-02-14 Marek Polacek <polacek@redhat.com>
11797 * sysdeps/x86_64/crti.S: New file.
11798 * sysdeps/x86_64/crtn.S: New file.
11799 * sysdeps/x86_64/elf/initfini.c: Remove file.
11801 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11803 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11804 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11805 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11806 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11808 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11809 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11812 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11814 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11815 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11816 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11817 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11819 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11823 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11825 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11826 __feraiseexcept instead of feraiseexcept.
11828 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11829 nanosleep invocations.
11830 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11831 strings, and add error checking for a nanosleep invocations.
11833 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11835 Replace FSF snail mail address with URLs, as per GNU coding standards.
11836 Most of the snail mail addresses were wrong anyway, and omitting
11837 them makes the source code easier to maintain. Almost all of the
11838 changes are to license notices and to locale LC_IDENTIFICATION
11839 addresses, except for this one:
11840 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11841 not its snail mail address.
11843 2012-02-09 Richard Henderson <rth@twiddle.net>
11845 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11846 of kernel-features.h.
11848 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11850 2012-02-08 Marek Polacek <polacek@redhat.com>
11852 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11853 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11854 * sysdeps/gnu/_G_config.h: Likewise.
11855 * sysdeps/generic/_G_config.h: Likewise.
11857 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11859 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11863 * sysdeps/powerpc/powerpc32/crti.S: New file.
11864 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11865 * sysdeps/powerpc/powerpc64/crti.S: New file.
11866 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11868 * Makeconfig (have-initfini): Don't set.
11869 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11870 * configure.in (nopic_initfini): Don't substitute.
11871 * config.h.in (HAVE_INITFINI): Don't #undef.
11872 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11873 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11875 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11877 Support crti.S and crtn.S provided directly by architectures.
11878 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11879 [crti.S in sysdirs] (omit-deps): Likewise.
11880 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11881 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11882 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11883 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11884 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11885 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11886 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11887 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11888 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11889 compiler output for sysdeps/generic/initfini.c.
11890 * sysdeps/i386/elf/Makefile: Remove file.
11891 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11893 2012-02-07 Marek Polacek <polacek@redhat.com>
11895 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11896 * sysdeps/gnu/_G_config.h: Likewise.
11897 * sysdeps/mach/hurd/_G_config.h: Likewise.
11899 2012-02-07 Marek Polacek <polacek@redhat.com>
11901 * math/Makefile (tests): Add tst-CMPLX2.
11902 * math/tst-CMPLX2.c: New file.
11904 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11906 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11908 * math/libm-test.inc (jn_test): Add missing L suffix.
11910 2012-02-06 Marek Polacek <polacek@redhat.com>
11912 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11913 * sysdeps/i386/fpu/e_powf.S: Likewise.
11914 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11915 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11916 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11917 * sysdeps/i386/fpu/e_pow.S: Likewise.
11918 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11919 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11920 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11921 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11922 * sysdeps/i386/fpu/e_log2.S: Likewise.
11923 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11924 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11925 * sysdeps/i386/fpu/e_powl.S: Likewise.
11926 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11927 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11928 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11929 * sysdeps/i386/fpu/e_logl.S: Likewise.
11930 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11931 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11932 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11933 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11934 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11935 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11936 * sysdeps/i386/fpu/e_log.S: Likewise.
11937 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11938 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11939 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11940 * sysdeps/i386/fpu/e_logf.S: Likewise.
11941 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11942 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11943 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11944 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11945 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11946 * sysdeps/i386/fpu/e_log10.S: Likewise.
11947 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11948 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11949 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11950 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11951 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11952 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11953 * sysdeps/i386/asm-syntax.h: Likewise.
11954 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11955 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11956 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11957 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11958 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11959 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11960 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11961 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11962 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11963 * sysdeps/powerpc/sysdep.h: Likewise.
11964 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11965 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11967 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11970 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11972 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11974 * sysdeps/i386/sysdep.h: Include <features.h>.
11975 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11978 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11980 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11982 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11985 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11987 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11988 (SETUP_PIC_REG): Use GET_PC_THUNK.
11989 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11992 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11994 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11995 for non-PIC compilation.
11996 (SETUP_PIC_REG): Add .p2align directive.
11997 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11998 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11999 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12000 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12001 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12002 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12003 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12004 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12005 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12006 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12007 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12008 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12009 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12010 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12011 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12012 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12013 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12014 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12015 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12016 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12017 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12018 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12019 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12020 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12021 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12023 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12024 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12025 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12026 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12027 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12028 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12029 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12030 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12031 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12032 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12033 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12034 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12035 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12036 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12037 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12039 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12041 * math/tst-CMPLX.c: Include <stdio.h>.
12043 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12045 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12047 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12048 * sysdeps/sparc/bits/mathdef.h: Likewise.
12050 2012-01-31 Marek Polacek <polacek@redhat.com>
12052 * libio/libio.h: Don't define _PARAMS.
12053 * locale/programs/config.h: Don't define PARAMS.
12054 * stdlib/strtol_l.c: Likewise.
12055 (__strtol_l): Remove PARAMS from the prototype.
12057 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12059 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12060 names. Just use the correct names. Remove unnecessary wrapper
12062 * malloc/arena.c: Likewise.
12063 * malloc/hooks.c: Likewise.
12065 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12066 ARENA_TEST says not to. Simplify test for creation of a new arena.
12067 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12069 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12071 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12073 (update_get_addr): New function.
12074 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12075 GET_ADDR_MODULE parameter.
12077 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12079 * crypt/cert.c: Remove __STDC__ conditionals.
12080 * crypt/crypt-entry.c: Likewise.
12081 * crypt/crypt_util.c: Likewise.
12082 * libio/filedoalloc.c: Likewise.
12083 * libio/fileops.c: Likewise.
12084 * libio/genops.c: Likewise.
12085 * libio/iofclose.c: Likewise.
12086 * libio/iofdopen.c: Likewise.
12087 * libio/iofopen.c: Likewise.
12088 * libio/iofopen64.c: Likewise.
12089 * libio/iogetdelim.c: Likewise.
12090 * libio/iopopen.c: Likewise.
12091 * libio/obprintf.c: Likewise.
12092 * libio/oldfileops.c: Likewise.
12093 * libio/oldiofclose.c: Likewise.
12094 * libio/oldiofdopen.c: Likewise.
12095 * libio/oldiofopen.c: Likewise.
12096 * libio/oldiopopen.c: Likewise.
12097 * libio/wfiledoalloc.c: Likewise.
12098 * libio/wgenops.c: Likewise.
12099 * locale/programs/xmalloc.c: Likewise.
12100 * misc/syslog.c: Likewise.
12101 * stdio-common/xbug.c: Likewise.
12102 * string/memchr.c: Likewise.
12103 * string/memcmp.c: Likewise.
12104 * string/memrchr.c: Likewise.
12105 * string/rawmemchr.c: Likewise.
12106 * sysdeps/posix/getcwd.c: Likewise.
12107 * time/strftime_l.c: Likewise.
12109 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12111 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12112 * config.make.in (config-cflags-sse2avx): Define.
12113 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12116 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12118 * scripts/config.guess: Update from upstream config git repository.
12119 * scripts/config.sub: Likewise.
12121 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12123 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12125 (R_TILEPRO_*, R_TILEGX_*): New macros.
12127 * scripts/firstversions.awk: Fix bug in version range handling.
12129 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12131 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12133 * include/sys/epoll.h: New file.
12134 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12137 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12139 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12140 Avoid unnecessary __WORDSIZE == 64 test.
12141 (fmaxf): Use VEX format if possible.
12146 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12147 * math/math_private.h: Remove libc_fegetround* and
12149 * sysdeps/i386/configure.in: Check for -msse2avx.
12150 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12151 also if SSE2AVX is defined.
12152 Remove libc_fegetround* and libc_fesetround*.
12153 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12154 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12155 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12157 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12158 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12159 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12160 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12161 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12163 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12165 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12167 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12169 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12171 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12174 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12176 * Makeconfig (libm): Define.
12177 * elf/Makefile: Add rules to build and run tst-relsort1.
12178 * elf/tst-relsort1.c: New file.
12179 * elf/tst-relsort1mod1.c: New file.
12180 * elf/tst-relsort1mod2.c: New file.
12182 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12184 * math/s_ldexp.c: Remove __STDC__ conditionals.
12185 * math/s_ldexpf.c: Likewise.
12186 * math/s_ldexpl.c: Likewise.
12187 * math/s_nextafter.c: Likewise.
12188 * math/s_nexttowardf.c: Likewise.
12189 * math/s_significand.c: Likewise.
12190 * math/s_significandf.c: Likewise.
12191 * math/s_significandl.c: Likewise.
12192 * math/w_jnl.c: Likewise.
12193 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12194 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12195 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12196 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12197 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12198 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12199 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12200 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12201 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12202 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12203 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12204 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12205 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12206 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12207 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12208 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12209 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12210 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12211 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12212 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12213 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12214 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12215 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12216 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12217 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12218 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12219 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12220 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12221 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12222 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12223 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12224 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12225 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12226 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12227 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12228 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12229 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12230 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12231 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12232 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12233 * sysdeps/ieee754/k_standard.c: Likewise.
12234 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12235 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12236 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12237 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12238 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12239 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12240 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12241 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12242 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12243 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12244 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12245 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12246 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12247 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12248 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12249 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12250 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12251 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12252 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12253 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12254 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12255 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12256 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12257 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12258 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12259 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12260 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12263 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12264 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12265 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12266 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12268 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12269 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12272 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12275 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12276 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12277 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12288 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12290 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12292 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12295 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12296 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12298 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12299 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12300 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12301 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12303 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12305 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12307 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12308 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12309 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12313 * sysdeps/ieee754/s_matherr.c: Likewise.
12314 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12315 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12316 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12317 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12319 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12321 * crypt/md5.h: Remove __STDC__ conditionals.
12322 * libio/libioP.h: Likewise.
12323 * locale/programs/config.h: Likewise.
12324 * sysdeps/generic/sysdep.h: Likewise.
12325 * sysdeps/i386/asm-syntax.h: Likewise.
12326 * sysdeps/s390/asm-syntax.h: Likewise.
12327 * sysdeps/unix/sysdep.h: Likewise.
12328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12331 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12333 * libio/libio.h: Remove __STDC__ conditionals.
12334 * malloc/obstack.h: Likewise.
12335 * math/complex.h: Likewise.
12336 * math/math.h: Likewise.
12337 * sysdeps/generic/_G_config.h: Likewise.
12338 * sysdeps/gnu/_G_config.h: Likewise.
12339 * sysdeps/mach/hurd/_G_config.h: Likewise.
12340 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12341 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12342 * sysdeps/sparc/bits/mathdef.h: Likewise.
12344 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12347 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12348 Clean up HAS_* macros.
12349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12350 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12352 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12354 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12355 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12356 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12357 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12358 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12360 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12362 * elf/tst-unique3.cc (gets): Remove declaration.
12363 * elf/tst-unique3lib.cc (gets): Likewise.
12364 * elf/tst-unique3lib2.cc (gets): Likewise.
12365 * elf/tst-unique4.cc (gets): Likewise.
12367 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12369 * include/stdio.h: Add C++ protection. Add gets declarations and
12371 * debug/tst-chk1.c: Don't declare gets here.
12372 * stdio-common/tst-gets.c: Likewise.
12374 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12376 * posix/glob: Remove directory.
12378 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12380 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12382 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12384 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12385 of the non-standard EPFNOSUPPORT.
12387 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12389 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12390 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12391 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12393 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12395 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12397 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12399 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12401 * nscd/grpcache.c (cache_addgr): Likewise.
12402 * nscd/hstcache.c (cache_addhst): Likewise.
12403 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12404 * nscd/pwdcache.c (cache_addpw): Likewise.
12405 * nscd/servicescache.c (cache_addserv): Likewise.
12407 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12409 * malloc/malloc.c: Various cleanups.
12410 * malloc/hooks.c: Likewise.
12412 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12413 * stdlib/bug-fmtmsg1.c: New file.
12415 * stdlib/fmtmsg.c (init): Add missing unlock.
12416 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12418 2012-01-12 Marek Polacek <polacek@redhat.com>
12420 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12423 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12425 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12426 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12427 macro to ensure uniqueness of label name.
12428 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12429 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12431 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12433 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12435 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12436 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12437 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12440 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12442 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12444 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12445 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12446 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12448 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12450 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12451 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12452 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12453 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12455 * math/bits/math-finite.h: Add ldexp support.
12457 2012-01-10 Marek Polacek <polacek@redhat.com>
12459 * locale/programs/localedef.h (show_archive_content): Add noreturn
12462 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12464 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12466 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12468 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12470 * io/Makefile (headers): Add bits/poll2.h.
12472 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12475 typo #include statement.
12477 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12479 * include/sys/cdefs.h: Define __attribute_alloc_size.
12480 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12481 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12482 * elf/pldd.c: Likewise.
12483 * iconv/iconv_charmap.c: Likewise.
12484 * iconv/iconvconfig.c: Likewise.
12485 * iconv/strtab.c: Likewise.
12486 * locale/programs/locale.c: Likewise.
12487 * locale/programs/localedef.h: Likewise.
12488 * locale/programs/simple-hash.c: Likewise.
12489 * nscd/nscd.h: Likewise.
12490 * nss/makedb.c: Likewise.
12491 * sysdeps/generic/ldconfig.h: Likewise.
12492 * locale/programs/localedef.c: Remove xmalloc prototype.
12493 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12495 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12497 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12500 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12502 * math/Makefile (tests): Add tst-CMPLX.
12503 * math/tst-CMPLX.c: New file.
12505 * math/complex.h (CMPLXL): Fix typo.
12507 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12508 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12510 * debug/tst-chk1.c: Add poll and ppoll tests.
12511 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12512 * include/sys/poll.h: Add hidden proto for ppoll.
12513 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12514 * sysdeps/mach/hurd/ppoll.c: Likewise.
12515 * io/ppoll.c: Likewise.
12516 * debug/poll_chk.c: New file.
12517 * debug/ppoll_chk.c: New file.
12518 * include/bits/poll2.h: New file.
12519 * io/bits/poll2.h: New file.
12522 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12524 * configure.in: static is always set to yes. Remove.
12525 * config.make.in: Don't set build-static.
12526 * Makeconfig: Remove use of build-static.
12527 * dlfcn/Makefile: Likewise.
12528 * elf/Makefile: Likewise.
12529 * math/Makefile: Likewise.
12530 * misc/Makefile: Likewise.
12531 * nptl/Makefile: Likewise.
12532 * sysdeps/mach/hurd/Makefile: Likewise.
12534 * configure.in: PWD_P is not used anymore.
12535 * config.make.in: Remove PWD_P entry.
12537 * configure.in: Remove last remnants of RANLIB.
12538 No need to check for signed size_t anymore.
12539 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12541 Remove __builtin_expect test because we require at least gcc 3.4.
12542 * aclocal.m4: Likewise.
12544 * wcsmbs/mbrtoc16.c: Implement using towc function.
12545 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12546 * wcsmbs/wcsmbsload.c: Likewise.
12547 * iconv/gconv_simple.c: Likewise.
12548 * iconv/gconv_int.h: Likewise.
12549 * iconv/gconv_builtin.h: Likewise.
12550 * iconv/iconv_prog.c: Remove CHAR16 handling.
12552 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12554 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12556 * configure.in: Remove --with-elf and --enable-bounded options.
12557 Dont set base_machine for ia64. More non-ELF conditions removed.
12558 Remove testing and setting of leading underscore information.
12559 * config.make.in (build-bounded): Set to no.
12560 * config.h.in: Remove NO_UNDERSCORES entry.
12561 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12563 * csu/start.c: Remove !NO_UNDERSCORE code.
12564 * locale/localeinfo.h: Likewise.
12565 * sysdeps/generic/machine-gmon.h: Likewise.
12566 * sysdeps/generic/sysdep.h: Likewise.
12567 * sysdeps/i386/sysdep.h: Likewise.
12568 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12569 * sysdeps/mach/sysdep.h: Likewise.
12570 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12571 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12572 * sysdeps/sh/sysdep.h: Likewise.
12573 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12574 * sysdeps/unix/i386/sysdep.S: Likewise.
12575 * sysdeps/unix/sparc/start.c: Likewise.
12576 * sysdeps/unix/sparc/sysdep.S: Likewise.
12577 * sysdeps/unix/sparc/sysdep.h: Likewise.
12578 * sysdeps/unix/start.c: Likewise.
12579 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12580 * sysdeps/x86_64/sysdep.h: Likewise.
12582 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12585 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12587 * argp/argp-fmtstream.h: Use const instead __const.
12588 * argp/argp.h: Likewise.
12589 * assert/assert.h: Likewise.
12590 * bits/fenv.h: Likewise.
12591 * bits/sched.h: Likewise.
12592 * bits/sigset.h: Likewise.
12593 * bits/sigthread.h: Likewise.
12594 * catgets/nl_types.h: Likewise.
12595 * conform/data/pthread.h-data: Likewise.
12596 * crypt/crypt-private.h: Likewise.
12597 * crypt/crypt.h: Likewise.
12598 * crypt/crypt_util.c: Likewise.
12599 * ctype/ctype.h: Likewise.
12600 * debug/execinfo.h: Likewise.
12601 * debug/mbsnrtowcs_chk.c: Likewise.
12602 * debug/mbsrtowcs_chk.c: Likewise.
12603 * debug/wcsnrtombs_chk.c: Likewise.
12604 * debug/wcsrtombs_chk.c: Likewise.
12605 * debug/wcstombs_chk.c: Likewise.
12606 * dirent/dirent.h: Likewise.
12607 * dlfcn/dlfcn.h: Likewise.
12608 * elf/neededtest4.c: Likewise.
12609 * grp/grp.h: Likewise.
12610 * gshadow/gshadow.h: Likewise.
12611 * iconv/gconv.h: Likewise.
12612 * iconv/gconv_int.h: Likewise.
12613 * iconv/gconv_simple.c: Likewise.
12614 * iconv/iconv.h: Likewise.
12615 * iconv/loop.c: Likewise.
12616 * iconv/skeleton.c: Likewise.
12617 * include/aio.h: Likewise.
12618 * include/aliases.h: Likewise.
12619 * include/argz.h: Likewise.
12620 * include/arpa/inet.h: Likewise.
12621 * include/assert.h: Likewise.
12622 * include/dirent.h: Likewise.
12623 * include/dlfcn.h: Likewise.
12624 * include/execinfo.h: Likewise.
12625 * include/fcntl.h: Likewise.
12626 * include/fenv.h: Likewise.
12627 * include/glob.h: Likewise.
12628 * include/grp.h: Likewise.
12629 * include/libintl.h: Likewise.
12630 * include/mntent.h: Likewise.
12631 * include/netdb.h: Likewise.
12632 * include/pwd.h: Likewise.
12633 * include/rpc/netdb.h: Likewise.
12634 * include/sched.h: Likewise.
12635 * include/search.h: Likewise.
12636 * include/shadow.h: Likewise.
12637 * include/signal.h: Likewise.
12638 * include/stdio.h: Likewise.
12639 * include/stdlib.h: Likewise.
12640 * include/string.h: Likewise.
12641 * include/sys/socket.h: Likewise.
12642 * include/sys/stat.h: Likewise.
12643 * include/sys/statfs.h: Likewise.
12644 * include/sys/statvfs.h: Likewise.
12645 * include/sys/syslog.h: Likewise.
12646 * include/sys/time.h: Likewise.
12647 * include/sys/uio.h: Likewise.
12648 * include/time.h: Likewise.
12649 * include/unistd.h: Likewise.
12650 * include/utmp.h: Likewise.
12651 * include/wchar.h: Likewise.
12652 * include/wctype.h: Likewise.
12653 * inet/aliases.h: Likewise.
12654 * inet/arpa/inet.h: Likewise.
12655 * inet/netinet/ether.h: Likewise.
12656 * inet/netinet/in.h: Likewise.
12657 * intl/libintl.h: Likewise.
12658 * io/bits/fcntl2.h: Likewise.
12659 * io/fcntl.h: Likewise.
12660 * io/ftw.h: Likewise.
12661 * io/sys/poll.h: Likewise.
12662 * io/sys/stat.h: Likewise.
12663 * io/sys/statfs.h: Likewise.
12664 * io/sys/statvfs.h: Likewise.
12665 * io/utime.h: Likewise.
12666 * libio/bits/stdio.h: Likewise.
12667 * libio/bits/stdio2.h: Likewise.
12668 * libio/libio.h: Likewise.
12669 * libio/libioP.h: Likewise.
12670 * libio/stdio.h: Likewise.
12671 * locale/lc-ctype.c: Likewise.
12672 * locale/locale.h: Likewise.
12673 * login/utmp.h: Likewise.
12674 * malloc/arena.c: Likewise.
12675 * malloc/malloc.c: Likewise.
12676 * malloc/malloc.h: Likewise.
12677 * malloc/mcheck.c: Likewise.
12678 * malloc/mtrace.c: Likewise.
12679 * math/bits/mathcalls.h: Likewise.
12680 * math/fenv.h: Likewise.
12681 * math/math_private.h: Likewise.
12682 * misc/bits/error.h: Likewise.
12683 * misc/bits/syslog.h: Likewise.
12684 * misc/err.h: Likewise.
12685 * misc/error.h: Likewise.
12686 * misc/fstab.h: Likewise.
12687 * misc/mntent.h: Likewise.
12688 * misc/regexp.h: Likewise.
12689 * misc/search.h: Likewise.
12690 * misc/sgtty.h: Likewise.
12691 * misc/sys/mman.h: Likewise.
12692 * misc/sys/syslog.h: Likewise.
12693 * misc/sys/uio.h: Likewise.
12694 * misc/sys/xattr.h: Likewise.
12695 * misc/ttyent.h: Likewise.
12696 * nis/rpcsvc/ypclnt.h: Likewise.
12697 * nss/nss.h: Likewise.
12698 * posix/bits/unistd.h: Likewise.
12699 * posix/fnmatch.h: Likewise.
12700 * posix/glob.h: Likewise.
12701 * posix/sched.h: Likewise.
12702 * posix/spawn.h: Likewise.
12703 * posix/sys/wait.h: Likewise.
12704 * posix/unistd.h: Likewise.
12705 * posix/wordexp.h: Likewise.
12706 * pwd/pwd.h: Likewise.
12707 * resolv/netdb.h: Likewise.
12708 * resource/sys/resource.h: Likewise.
12709 * rt/aio.h: Likewise.
12710 * rt/bits/mqueue2.h: Likewise.
12711 * rt/mqueue.h: Likewise.
12712 * shadow/shadow.h: Likewise.
12713 * signal/signal.h: Likewise.
12714 * socket/send.c: Likewise.
12715 * socket/sendto.c: Likewise.
12716 * socket/sys/socket.h: Likewise.
12717 * stdio-common/printf.h: Likewise.
12718 * stdlib/bits/stdlib.h: Likewise.
12719 * stdlib/fmtmsg.h: Likewise.
12720 * stdlib/monetary.h: Likewise.
12721 * stdlib/stdlib.h: Likewise.
12722 * stdlib/ucontext.h: Likewise.
12723 * streams/stropts.h: Likewise.
12724 * string/argz.h: Likewise.
12725 * string/bits/string2.h: Likewise.
12726 * string/string.h: Likewise.
12727 * string/strings.h: Likewise.
12728 * sunrpc/rpc/auth.h: Likewise.
12729 * sunrpc/rpc/auth_des.h: Likewise.
12730 * sunrpc/rpc/clnt.h: Likewise.
12731 * sunrpc/rpc/netdb.h: Likewise.
12732 * sunrpc/rpc/pmap_clnt.h: Likewise.
12733 * sunrpc/rpc/xdr.h: Likewise.
12734 * sysdeps/generic/inttypes.h: Likewise.
12735 * sysdeps/generic/net/if.h: Likewise.
12736 * sysdeps/generic/sys/swap.h: Likewise.
12737 * sysdeps/gnu/net/if.h: Likewise.
12738 * sysdeps/gnu/utmpx.h: Likewise.
12739 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12740 * sysdeps/i386/i486/bits/string.h: Likewise.
12741 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12742 * sysdeps/s390/bits/string.h: Likewise.
12743 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12744 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12745 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12746 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12747 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12748 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12749 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12750 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12751 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12752 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12753 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12754 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12755 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12756 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12757 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12758 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12759 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12760 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12761 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12762 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12763 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12764 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12765 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12766 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12767 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12768 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12769 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12770 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12771 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12772 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12773 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12774 * sysvipc/sys/ipc.h: Likewise.
12775 * sysvipc/sys/msg.h: Likewise.
12776 * sysvipc/sys/sem.h: Likewise.
12777 * sysvipc/sys/shm.h: Likewise.
12778 * termios/termios.h: Likewise.
12779 * time/sys/time.h: Likewise.
12780 * time/time.h: Likewise.
12781 * wcsmbs/bits/wchar2.h: Likewise.
12782 * wcsmbs/uchar.h: Likewise.
12783 * wcsmbs/wchar.h: Likewise.
12784 * wctype/wctype.h: Likewise.
12787 * Makeconfig: Remove all but ELF support including AIX support.
12788 * Makerules: Likewise.
12789 * config.h.in: Likewise.
12790 * config.make.in: Likewise.
12791 * configure: Likewise.
12792 * configure.in: Likewise.
12793 * csu/Makefile: Likewise.
12794 * csu/version.c: Likewise.
12795 * debug/Makefile: Likewise.
12796 * dlfcn/Makefile: Likewise.
12797 * elf/Makefile: Likewise.
12798 * extra-lib.mk: Likewise.
12799 * iconv/Makefile: Likewise.
12800 * include/libc-symbols.h: Likewise.
12801 * include/shlib-compat.h: Likewise.
12802 * resolv/Makefile: Likewise.
12803 * resolv/res_libc.c: Likewise.
12804 * rt/Makefile: Likewise.
12805 * sysdeps/i386/asm-syntax.h: Likewise.
12806 * sysdeps/i386/sysdep.h: Likewise.
12807 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12808 * sysdeps/mach/sysdep.h: Likewise.
12809 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12810 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12811 * sysdeps/s390/asm-syntax.h: Likewise.
12812 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12813 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12814 * sysdeps/sh/sysdep.h: Likewise.
12815 * sysdeps/unix/sparc/sysdep.h: Likewise.
12816 * sysdeps/wordsize-32/divdi3.c: Likewise.
12817 * sysdeps/x86_64/sysdep.h: Likewise.
12819 * argp/Versions: Remove _argp_unlock_xxx.
12822 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12823 * abilist/libBrokenLocale.abilist: Likewise.
12824 * abilist/libanl.abilist: Likewise.
12825 * abilist/libc.abilist: Likewise.
12826 * abilist/libcrypt.abilist: Likewise.
12827 * abilist/libdl.abilist: Likewise.
12828 * abilist/libm.abilist: Likewise.
12829 * abilist/libnsl.abilist: Likewise.
12830 * abilist/libpthread.abilist: Likewise.
12831 * abilist/libresolv.abilist: Likewise.
12832 * abilist/librt.abilist: Likewise.
12833 * abilist/libthread_db.abilist: Likewise.
12834 * abilist/libutil.abilist: Likewise.
12835 * abilist/libnss_db.abilist: New file.
12837 * scripts/abilist.awk: Add support for indirect functions.
12839 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12841 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12843 * shlib-versions: Remove entries for ports architectures.
12845 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12847 * elf/stackguard-macros.h: Remove support for IA-64.
12848 * elf/tst-auditmod1.c: Likewise.
12849 * sysdeps/generic/ldsodefs.h: Likewise.
12851 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12852 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12856 * configure.in: Remove --enable-omitfp support.
12858 * config.make.in: Likewise.
12859 * Makeconfig: Likewise.
12860 * manual/install.texi: Likewise.
12862 In case anyone cares, the IA-64 architecture could move to ports.
12863 * sysdeps/ia64/*: Removed.
12864 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12865 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12868 * configure.in: Remove entries for unsupported architectures.
12871 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12872 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12874 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12875 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12876 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12877 fall back to using wcrtomb.
12878 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12879 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12881 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12882 * wcsmbs/tst-c16c32-1.c: New file.
12884 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12887 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12889 * elf/tst-unique3.cc: Add explicit declaration of gets.
12890 * elf/tst-unique3lib.cc: Likewise.
12891 * elf/tst-unique3lib2.cc: Likewise.
12892 * elf/tst-unique4.cc: Likewise.
12894 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12896 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12899 * assert/assert.h (static_assert): Don't define for C++.
12900 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12901 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12903 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12905 * iconv/loop.c (single loop): Fix assertion in storing of
12908 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12910 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12912 * posix/getconf.c: Update copyright year.
12913 * nss/getent.c: Likewise.
12914 * nss/makedb.c: Likewise.
12915 * iconv/iconvconfig.c: Likewise.
12916 * iconv/iconv_prog.c: Likewise.
12917 * elf/ldconfig.c: Likewise.
12918 * elf/pldd.c: Likewise.
12919 * elf/sotruss.ksh: Likewise.
12920 * catgets/gencat.c: Likewise.
12921 * csu/version.c: Likewise.
12922 * elf/ldd.bash.in: Likewise.
12923 * elf/sprof.c (print_version): Likewise.
12924 * locale/programs/locale.c: Likewise.
12925 * locale/programs/localedef.c: Likewise.
12926 * login/programs/pt_chown.c: Likewise.
12927 * nscd/nscd.c (print_version): Likewise.
12928 * debug/xtrace.sh: Likewise.
12929 * malloc/memusage.sh: Likewise.
12930 * malloc/mtrace.pl: Likewise.
12931 * debug/catchsegv.sh: Likewise.
12933 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12935 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12938 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12941 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12942 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12944 * iconv/gconv_int.h: Likewise.
12945 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12946 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12947 from libc for GLIBC_2.16.
12948 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12949 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12950 * wcsmbs/uchar.h: Really define mbstate_t.
12951 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12952 * wcsmbs/c16rtomb.c: New file.
12953 * wcsmbs/mbrtoc16.c: New file.
12954 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12955 for C/POSIX locale.
12956 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12957 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12959 * wcsmbs/wchar.h: Add missing __restrict.
12961 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12964 * time/Makefile (routines): Add timespec_get.
12965 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12966 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12967 timespec for ISO C11.
12968 * time/timespec_get.c: New file.
12969 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12970 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12973 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12974 * stdlib/stdlib.h: Declare aligned_alloc.
12975 * Versions.def: Add GLIBC_2.16 for libc.
12976 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12979 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12982 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12986 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12989 * assert/assert.h (static_assert): Define.
12991 * version.h: Update for 2.16 development version.
12994 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12997 * version.h (RELEASE): Bump for 2.15 release.
12998 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13000 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13001 Patch by Marek Polacek <mpolacek@redhat.com>.
13003 * bits/byteswap.h: Protect long long constants with __extension__.
13004 * sysdeps/i386/bits/byteswap.h: Likewise.
13005 * sysdeps/ia64/bits/byteswap.h: Likewise.
13006 * sysdeps/s390/bits/byteswap.h: Likewise.
13007 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13009 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13012 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13013 destination buffer.
13014 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13016 2011-12-23 Marek Polacek <polacek@redhat.com>
13018 * elf/dl-addr.c (determine_info): Add inline keyword.
13019 * elf/tst-auditmod4b.c (check_avx): Likewise.
13020 * elf/tst-auditmod6b.c (check_avx): Likewise.
13021 * elf/tst-auditmod6c.c (check_avx): Likewise.
13022 * elf/tst-auditmod7b.c (check_avx): Likewise.
13024 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13026 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13029 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13032 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13033 processing for last bytes.
13035 2011-08-06 Bruno Haible <bruno@clisp.org>
13038 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13039 U+0385, not to U+1FEE.
13042 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13043 entry for U+00A5 U+0301.
13045 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13048 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13049 buffer for the output is too small.
13051 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13055 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13056 SSE flags if possible.
13058 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13061 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13062 processing for last bytes.
13064 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13066 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13067 (syscall-list-default-options, syscall-list-default-condition)
13068 (syscall-list-includes): Define.
13069 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13070 list of ABIs and options and #if conditions for each ABI. Do not
13071 handle common syscalls between ABIs specially.
13072 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13074 (syscall-list-variants, syscall-list-32bit-options)
13075 (syscall-list-32bit-condition, syscall-list-64bit-options)
13076 (syscall-list-64bit-condition): Define.
13077 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13078 (syscall-list-variants, syscall-list-32bit-options)
13079 (syscall-list-32bit-condition, syscall-list-64bit-options)
13080 (syscall-list-64bit-condition): Define.
13081 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13083 (syscall-list-variants, syscall-list-32bit-options)
13084 (syscall-list-32bit-condition, syscall-list-64bit-options)
13085 (syscall-list-64bit-condition): Define.
13086 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13088 (syscall-list-variants, syscall-list-32bit-options)
13089 (syscall-list-32bit-condition, syscall-list-64bit-options)
13090 (syscall-list-64bit-condition): Define.
13092 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13094 * locale/iso-639.def: Add brx entry.
13097 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13098 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13100 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13101 __feraiseexcept_renamed.
13103 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13106 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13107 EPOLLET with unsigned values.
13108 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13109 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13111 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13112 to large cancellation.
13113 * math/s_cacoshf.c: Likewise.
13114 * math/s_cacoshl.c: Likewise.
13116 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13120 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13121 * math/s_cacoshf.c: Likewise.
13122 * math/s_cacoshl.c: Likewise.
13124 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13127 * iconv/gconv.h: Define __GCONV_SWAP.
13128 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13129 * iconvdata/utf-16.c: Likewise.
13130 * iconvdata/utf-32.c: Likewise.
13132 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13135 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13136 numerator after shifting it by one limb.
13138 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13140 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13141 under [__USE_EXTERN_INLINES].
13143 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13146 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13148 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13150 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13151 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13153 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13154 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13155 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13156 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13157 for strncasecmp/strncasecmp_l compilation.
13158 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13159 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13161 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13164 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13167 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13170 * time/tzfile.c (__tzfile_read): Check values from file header.
13172 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13174 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13175 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13176 * powerpc/powerpc32/dl-start.S: Likewise.
13177 * powerpc/powerpc32/elf/start.S: Likewise.
13178 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13179 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13180 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13181 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13182 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13183 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13184 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13185 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13186 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13187 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13188 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13189 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13190 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13191 * powerpc/powerpc32/memset.S: Likewise.
13192 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13193 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13194 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13195 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13196 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13197 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13198 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13199 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13200 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13201 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13202 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13203 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13204 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13206 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13208 * math/libm-test.inc: Added more nearbyint tests.
13209 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13210 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13211 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13212 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13214 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13216 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13219 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13221 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13222 Add wcscpy-ssse3 wcscpy-c.
13223 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13224 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13225 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13226 * sysdeps/x86_64/wcschr.S: New file.
13227 * sysdeps/x86_64/wcsrchr.S: New file.
13228 * string/test-strcmp.c: Remove checking of wcscmp function for
13230 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13231 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13232 wcsrchr-sse2 wcsrchr-c.
13233 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13234 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13235 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13236 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13237 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13238 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13239 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13240 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13241 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13242 * wcsmbc/wcschr.c (WCSCHR): New macro.
13244 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13246 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13247 * wcsmbs/test-wcsrchr.c: New file.
13248 * string/test-strrchr.c: Add wcsrchr support.
13250 * wcsmbs/test-wcscpy.c: New file.
13251 * string/test-strcpy.c: Add wcscpy support.
13254 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13256 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13259 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13262 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13264 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13266 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13267 Minor optimizations.
13269 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13270 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13271 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13273 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13275 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13276 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13277 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13278 for gcc to avoid warnings.
13279 * inet/Makefile (tests): Add tst-checks.
13280 * inet/tst-checks.c: New file.
13282 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13285 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13288 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13289 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13291 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13293 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13295 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13298 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13300 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13302 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13303 conditional on GCC version.
13304 (__arch_compare_and_exchange_val_8_acq)
13305 (__arch_compare_and_exchange_val_16_acq)
13306 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13307 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13308 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13310 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13312 * sysdeps/sh/backtrace.c: New file.
13314 2011-12-02 Andreas Schwab <schwab@redhat.com>
13316 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13319 2011-12-01 Andreas Schwab <schwab@redhat.com>
13321 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13322 falling back to utime.
13324 2011-11-30 Andreas Schwab <schwab@redhat.com>
13326 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13327 expectations for float.
13329 2011-11-29 Andreas Schwab <schwab@redhat.com>
13331 * locale/weight.h (findidx): Add parameter len.
13332 * locale/weightwc.h (findidx): Likewise.
13333 * posix/fnmatch_loop.c (FCT): Adjust caller.
13334 * posix/regcomp.c (build_equiv_class): Likewise.
13335 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13336 * posix/regexec.c (check_node_accept_bytes): Likewise.
13337 * string/strcoll_l.c (STRCOLL): Likewise.
13338 * string/strxfrm_l.c (STRXFRM): Likewise.
13340 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13342 * Makefile.in: Remove CVSOPT handling.
13343 * configure.in: Remove use of AC_REVISION.
13344 * iconvdata/Makefile (distribute): No need to filter out CVS.
13345 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13348 2011-11-16 Andreas Schwab <schwab@redhat.com>
13350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13351 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13352 [USE_AS_STRNCASECMP_L]: Likewise.
13353 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13354 NO_TLS_DIRECT_SEG_REFS.
13355 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13356 Fix argument offsets for non-PIC.
13357 [USE_AS_STRNCASECMP_L]: Likewise.
13358 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13359 NO_TLS_DIRECT_SEG_REFS.
13361 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13363 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13365 * locale/loadlocale.c (_nl_load_locale): Likewise.
13367 2011-11-15 Andreas Schwab <schwab@redhat.com>
13369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13370 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13371 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13372 (SYSCALL_GETTIME): Set errno on error.
13374 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13375 count references to noai6ai_cached.
13377 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13379 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13381 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13382 FD_CLOEXEC for /proc/self/maps.
13384 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13385 FD_CLOEXEC for /proc/meminfo.
13387 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13390 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13391 FD_CLOEXEC for given file.
13393 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13395 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13396 FD_CLOEXEC for /etc/hosts.
13397 (_gethtent): Likewise.
13399 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13401 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13402 cancellation and set FD_CLOEXEC for /etc/netgroup.
13404 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13405 reading /etc/publickey.
13407 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13408 allow cancellation when reading /etc/group.
13410 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13412 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13414 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13415 when using data file.
13417 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13419 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13420 (write_nis_obj): Use "c" and "e" in fopen.
13422 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13424 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13426 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13428 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13430 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13433 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13435 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13437 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13439 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13440 file parsing and set FD_CLOEXEC.
13442 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13444 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13446 2011-11-14 Andreas Schwab <schwab@redhat.com>
13448 * malloc/arena.c (arena_get2): Don't call reused_arena when
13449 _int_new_arena failed.
13451 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13453 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13454 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13455 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13456 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13457 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13458 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13459 to compile strcasecmp and strncasecmp.
13460 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13461 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13465 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13467 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13468 locale-defines.sym to gen-as-const-headers.
13469 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13470 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13471 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13472 to compile strcasecmp and strncasecmp.
13473 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13474 strcasecmp_l and strncasecmp_l.
13475 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13476 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13477 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13478 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13479 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13480 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13481 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13482 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13483 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13484 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13485 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13487 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13489 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13490 result of SYSDEP_GETTIME_CPU to retval.
13491 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13492 parameter list to macro. Remove trailing semicolon. Adjust users.
13494 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13497 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13499 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13501 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13502 from unused variable.
13504 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13506 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13509 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13512 * sunrpc/rpc_prot.c (rejected): Fix case value.
13514 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13515 unsigned long long int to avoid warnings in shift.
13517 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13519 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13522 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13523 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13524 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13526 * nis/nis_table.c (nis_list): Use variable of correct type for
13527 result of __follow_path call.
13529 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13531 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13532 of math functions ceil, trunc, floor, round, and sqrt, when
13533 avaliable on the platform.
13534 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13536 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13537 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13538 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13540 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13542 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13543 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13545 2011-11-11 Roland McGrath <roland@hack.frob.com>
13547 * include/unistd.h: Fix __readlink return type.
13548 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13550 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13552 * stdlib/ucontext.h: Undo last change for makecontext.
13554 2011-11-11 Andreas Schwab <schwab@redhat.com>
13556 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13558 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13559 * setjmp/setjmp.h: Mark functions as non-leaf.
13560 * setjmp/bits/setjmp2.h: Likewise.
13561 * stdlib/ucontext.h: Likewise.
13563 2011-11-10 Andreas Schwab <schwab@redhat.com>
13565 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13566 (reused_arena): Don't check arena limit.
13567 (arena_get2): Atomically check arena limit.
13569 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13571 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13572 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13574 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13577 2011-11-07 Andreas Schwab <schwab@redhat.com>
13579 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13580 handler when locking.
13582 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13583 Fix size of allocated buffer.
13585 2011-11-04 Andreas Schwab <schwab@redhat.com>
13588 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13589 declarations for long double functions.
13590 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13592 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13594 2011-11-03 Andreas Schwab <schwab@redhat.com>
13596 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13599 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13602 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13604 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13606 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13608 * include/alloca.h (stackinfo_alloca_round): Define.
13609 (extend_alloca): Use it.
13610 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13611 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13614 * scripts/check-local-headers.sh: Ignore libaudit.h.
13616 * nscd/Makefile (extra-objs): Make recursively expanded.
13618 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13620 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13621 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13623 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13624 * posix/tst-rfc3484-2.c: Likewise.
13625 * posix/tst-rfc3484-3.c: Likewise.
13627 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13629 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13631 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13632 process_vm_writev from libc using GLIBC_2.15 version.
13634 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13636 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13638 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13641 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13644 * nss/getent.c (initgroups_keys): Show error message in case no group
13647 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13648 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13649 __bump_nl_timestamp.
13650 * nscd/connections (nscd_init): When host database is served open
13651 netlink socket and request notification about configuration changes.
13652 (main_loop_poll): Track netlink file descriptor and bump timestamp
13653 in case data becomes available.
13654 (main_loop_epoll): Likewise.
13655 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13656 (database_pers_head): Add extra_data fileds.
13657 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13658 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13659 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13661 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13662 in6ai data, call __free_in6ai.
13663 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13664 Add -DHAVE_NETLINK.
13665 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13666 interface information. Reuse previous data if netlink timestamp
13668 (__bump_nl_timestamp): New function.
13669 (__free_in6ai): New function.
13671 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13673 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13674 close_not_cancel_no_status here.
13675 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13677 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13680 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13683 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13684 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13685 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13687 2011-07-03 Andreas Jaeger <aj@suse.de>
13690 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13691 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13692 * math/libm-test.inc (sin_test): Add test case.
13694 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13697 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13698 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13700 * elf/chroot_canon.c (chroot_canon): Cleanups.
13702 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13705 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13706 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13708 * string/test-strchr.c: Make usable for strchrnul testing.
13709 * string/test-strchrnul.c: New file.
13710 * string/Makefile (strop-tests): Add strchrnul.
13712 * po/it.po: Update from translation team.
13713 * po/es.po: Likewise.
13715 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13717 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13718 the three constants needed as parameters. Drop the others.
13719 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13720 __m128i_strloadu_tolower.
13721 Create and initialize variable zero and use it in all the places
13722 where _mm_setzero_si128 was used.
13724 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13725 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13726 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13727 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13729 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13730 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13731 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13732 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13733 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13734 __mpranred, __mptan.
13735 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13736 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13737 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13738 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13739 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13740 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13741 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13742 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13743 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13745 2011-10-28 Andreas Schwab <schwab@redhat.com>
13747 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13748 redefine if SHARED.
13749 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13752 wide char related routines to wcsmbs subdir.
13754 2011-10-27 Andreas Schwab <schwab@redhat.com>
13757 * misc/sys/cdefs.h (__THROWNL): Define.
13758 * posix/unistd.h: Use __THREADNL instead of __THREAD
13759 for memory synchronization functions.
13761 2011-10-26 Roland McGrath <roland@hack.frob.com>
13764 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13766 * manual/stdio.texi (Obstack Streams): Node removed.
13768 2011-10-26 Andreas Schwab <schwab@redhat.com>
13770 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13771 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13772 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13774 * math/math_private.h (math_force_eval): Allow non-addressable
13776 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13778 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13780 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13781 file is not needed.
13783 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13784 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13785 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13786 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13787 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13788 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13789 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13790 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13792 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13793 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13794 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13795 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13796 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13797 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13798 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13799 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13800 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13801 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13802 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13803 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13804 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13805 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13806 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13807 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13808 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13809 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13810 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13812 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13813 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13815 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13816 place. Use VEX encoding when compiling for AVX.
13818 2011-10-25 Andreas Schwab <schwab@redhat.com>
13820 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13821 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13823 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13825 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13827 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13828 useless if() expression.
13829 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13830 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13831 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13832 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13833 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13834 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13835 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13836 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13837 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13838 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13839 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13840 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13841 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13842 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13843 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13844 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13845 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13846 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13847 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13849 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13851 2011-10-25 Andreas Schwab <schwab@redhat.com>
13853 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13855 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13857 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13859 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13860 .text section. Avoid duplicate constants.
13861 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13862 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13863 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13864 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13867 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13868 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13869 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13870 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13871 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13873 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13874 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13875 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13876 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13877 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13878 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13879 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13880 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13881 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13882 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13883 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13884 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13885 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13886 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13887 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13888 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13889 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13890 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13891 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13892 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13893 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13894 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13895 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13896 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13897 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13898 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13899 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13900 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13901 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13902 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13903 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13904 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13905 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13907 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13909 * sysdeps/x86_64/dla.h: Move to ...
13910 * sysdeps/x86_64/fpu/dla.h: ...here.
13911 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13912 situations. Use __builtin_fma only for gcc 4.6 and up.
13914 * config.make.in: Add have-mfma4 entry.
13915 * configure.in: Substitute libc_cv_cc_fma4.
13916 * math/Makefile (dbl-only-routines): Add sincostab.
13917 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13918 Use __sincostab not sincos.
13919 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13921 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13924 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13926 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13927 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13928 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13929 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13931 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13932 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13934 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13935 define aliases when function name is a macro.
13936 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13937 sysdeps/ieee754/dbl-64/sincos.tbl.
13938 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13939 fma4-enabled routines.
13940 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13941 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13942 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13943 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13944 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13945 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13946 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13947 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13948 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13949 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13950 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13951 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13952 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13953 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13954 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13955 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13956 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13957 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13958 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13959 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13960 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13961 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13962 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13963 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13964 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13965 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13966 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13967 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13968 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13969 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13971 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13973 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13974 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13975 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13976 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13977 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13979 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13980 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13982 2011-10-24 Andreas Schwab <schwab@redhat.com>
13984 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13986 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13988 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13990 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13992 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13994 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13995 Remove unused variable magic_bits.
13996 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13998 * string/strnlen.c: Define and use STRNLEN macro.
13999 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14000 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14001 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14002 * wcsmbs/wcslen.c: Define and use WCSLEN.
14003 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14004 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14005 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14006 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14007 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14008 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14009 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14011 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14014 strnlen-sse2-no-bsf.
14015 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14016 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14017 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14018 Add strnlen support.
14019 (USE_AS_STRNLEN): New macro.
14020 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14021 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14022 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14023 * sysdeps/x86_64/wcslen.S: New file.
14025 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14027 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14028 XMM-moves are used for copying on small sizes.
14030 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14032 * wcsmbs/Makefile (strop-tests): Add wcschr.
14033 * wcsmbs/test-wcschr.c: New file.
14034 * string/test-strchr.c: Update.
14035 Add wcschr support.
14038 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14040 * wcsmbs/Makefile (strop-tests): Add wcslen.
14041 * wcsmbs/test-wcslen.c: New file.
14042 * string/test-strlen.c: Update.
14043 Add wcslen support.
14046 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14048 * po/it.po: Update from translation team.
14050 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14052 * sysdeps/x86_64/wcscmp.S: Update.
14053 Fix wrong comparison semantics.
14054 wcscmp shall use signed comparison not unsigned.
14055 Don't use substraction to avoid overflow bug.
14056 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14057 * wcsmbc/wcscmp.c: Likewise.
14058 * string/test-strcmp.c: Likewise.
14059 Add new tests to check cases with negative values.
14061 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14063 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14064 * sysdeps/x86_64/dla.h: ...here. New file.
14065 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14067 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14068 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14070 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14071 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14075 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14077 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14078 __ynl_finite aliases.
14080 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14084 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14086 [DLA_FMA] (EMULV): Use DLA_FMA.
14087 [DLA_FMA] (MUL12): Use EMULV.
14088 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14089 that are not needed.
14090 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14092 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14093 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14095 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14096 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14098 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14100 * math/s_nan.c: Undef __nan.
14101 * math/s_nanf.c: Undef __nanf.
14102 * math/s_nanl.c: Undef __nanl.
14103 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14106 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14108 * math/s_catan.c: Add branch predictions.
14109 * math/s_catanf.c: Likewise.
14110 * math/s_catanh.c: Likewise.
14111 * math/s_catanhf.c: Likewise.
14112 * math/s_catanhl.c: Likewise.
14113 * math/s_catanl.c: Likewise.
14114 * math/s_cexp.c: Likewise.
14115 * math/s_cexpf.c: Likewise.
14116 * math/s_cexpl.c: Likewise.
14117 * math/s_clog.c: Likewise.
14118 * math/s_clog10.c: Likewise.
14119 * math/s_clog10f.c: Likewise.
14120 * math/s_clog10l.c: Likewise.
14121 * math/s_clogf.c: Likewise.
14122 * math/s_clogl.c: Likewise.
14123 * math/s_csqrt.c: Likewise.
14124 * math/s_csqrtf.c: Likewise.
14125 * math/s_csqrtl.c: Likewise.
14126 * math/s_ctanf.c: Likewise.
14127 * math/s_ctanh.c: Likewise.
14128 * math/s_ctanhf.c: Likewise.
14129 * math/s_ctanhl.c: Likewise.
14130 * math/s_ctanl.c: Likewise.
14132 * math/math_private.h: Define __nan, __nanf, __nanl.
14133 * math/s_cacosh.c: Include <math_private.h>.
14134 * math/s_cacoshl.c: Likewise.
14135 * math/s_casinh.c: Likewise.
14136 * math/s_casinhf.c: Likewise.
14137 * math/s_casinhl.c: Likewise.
14138 * math/s_ccos.c: Rely entire on ccosh.
14139 * math/s_ccosf.c: Rely entire on ccoshf.
14140 * math/s_ccosl.c: Rely entirely on ccoshl.
14141 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14142 Remove tests for FE_INVALID.
14143 * math/s_ccoshf.c: Likewise.
14144 * math/s_ccoshl.c: Likewise.
14145 * math/s_csin.c: Likewise.
14146 * math/s_csinf.c: Likewise.
14147 * math/s_csinh.c Likewise.
14148 * math/s_csinhf.c: Likewise.
14149 * math/s_csinhl.c: Likewise.
14150 * math/s_csinl.c: Likewise.
14151 * math/s_ctan.c: Likewise.
14152 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14153 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14154 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14156 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14159 compilation problems.
14161 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14164 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14166 * sysdeps/i386/configure.in: Test for -mfma4 option.
14167 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14168 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14169 COMMON_CPUID_INDEX_80000001.
14170 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14171 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14172 use it if FMA3 is not supported.
14173 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14175 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14176 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14178 2011-10-20 Andreas Schwab <schwab@redhat.com>
14181 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14182 it would create a cycle with a link time dependency.
14184 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14186 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14188 * string/Makefile (strop-tests): Add rawmemchr.
14189 * string/test-rawmemchr.c: New file.
14191 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14192 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14193 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14194 when compiling str{,n}casecmp and when AVX is available. Hook up
14195 new optimized code in initializers.
14197 2011-10-19 Andreas Schwab <schwab@redhat.com>
14199 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14200 __feraiseexcept instead of feraiseexcept.
14202 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14204 * math/math_private.h: Define defaults for libc_fetestexcept and
14206 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14207 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14208 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14209 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14210 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14211 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14212 libc_fetestexcept and libc_feupdateenv.
14214 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14215 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14216 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14217 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14218 libc_feholdexcept_setround.
14220 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14221 Add s_nearbyint-c and s_nearbyintf-c.
14222 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14223 nearbyintf inlines.
14224 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14225 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14226 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14227 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14229 * math/math_private.h: Define defaults for libc_fegetround,
14230 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14231 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14232 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14233 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14234 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14235 standard functions.
14236 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14237 Remove comments and hacks for old compiler versions.
14238 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14239 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14240 libc_feholdexceptl.
14242 2011-10-18 Andreas Schwab <schwab@redhat.com>
14244 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14245 (__feraiseexcept_renamed): Add __NTH.
14246 (feraiseexcept): Add __NTH. Rename local variables to fix
14247 namespace violations.
14249 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14251 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14253 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14255 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14256 recently added interfaces.
14257 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14259 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14260 about macro parameter expansion.
14262 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14263 __NO_MATH_INLINES is defined. Cleanups.
14265 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14266 and __floorf is target has SSE4.1.
14267 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14268 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14269 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14270 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14272 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14274 (floorf): Likewise.
14276 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14278 2011-10-17 Andreas Schwab <schwab@redhat.com>
14280 * misc/sys/cdefs.h: Fix last change.
14282 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14285 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14287 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14289 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14290 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14291 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14292 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14293 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14294 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14295 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14296 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14297 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14298 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14299 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14300 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14301 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14302 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14303 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14304 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14305 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14306 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14307 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14308 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14309 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14310 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14312 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14313 ceil, ceilf, floor, floorf.
14315 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14316 Perform IRELATIVE relocations last.
14318 * elf/do-rel.h: Add another parameter nrelative, replacing the
14319 local variable with the same name. Change name of the function
14320 to end in Rel or Rela (uppercase).
14321 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14322 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14323 elf_dynamic_do_##reloc function.
14325 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14327 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14328 is sufficient, at least on modern CPUs.
14330 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14332 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14333 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14335 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14337 * math/bits/math-finite.h: Add entries for exp.
14338 * math/e_expl.c: Add __*_finite alias.
14339 * sysdeps/i386/fpu/e_exp.S: Likewise.
14340 * sysdeps/i386/fpu/e_expf.S: Likewise.
14341 * sysdeps/i386/fpu/e_expl.c: Likewise.
14342 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14343 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14344 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14345 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14346 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14347 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14348 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14350 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14351 is sufficient, at least on modern CPUs.
14353 * ctype/ctype-info.c (__ctype_init): Define.
14354 * include/ctype.h (__ctype_init): Declare.
14355 (__ctype_b_loc): The variable is always initialized.
14356 (__ctype_toupper_loc): Likewise.
14357 (__ctype_tolower_loc): Likewise.
14358 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14359 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14361 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14363 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14365 * configure.in: Also look in $cxxmachine/include for C++ system
14368 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14370 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14371 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14372 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14373 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14374 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14375 (USE_AS_WMEMCMP): New macro.
14377 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14378 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14379 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14380 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14382 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14383 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14384 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14385 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14386 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14387 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14388 (USE_AS_WMEMCMP): New macro.
14389 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14390 * sysdeps/string/test-memcmp.c: Update.
14391 Fix simple_wmemcmp.
14393 * wcsmbs/wmemcmp.c: Update.
14394 (WMEMCMP): New macro.
14397 2011-10-12 Andreas Jaeger <aj@suse.de>
14400 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14402 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14404 * libio/iofwide.c (do_length): Avoid warning.
14406 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14408 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14410 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14412 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14413 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14414 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14415 * sysdeps/i386/i686/fpu/e_log.S: New file.
14416 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14417 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14419 * ctype/ctype.h: Add support for inlined isXXX functions when
14420 compiling C++ code.
14422 2011-10-14 Andreas Schwab <schwab@redhat.com>
14424 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14426 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14428 2011-10-13 Roland McGrath <roland@hack.frob.com>
14431 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14433 2011-10-13 Andreas Schwab <schwab@redhat.com>
14435 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14436 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14439 * sysdeps/x86_64/memrchr.S: Check for zero size.
14441 * string/stratcliff.c: Add memrchr tests.
14443 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14446 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14447 rawmemchr-sse2 rawmemchr-sse2-bsf.
14448 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14449 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14450 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14451 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14452 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14453 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14454 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14455 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14456 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14457 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14458 * string/memrchr.c (MEMRCHR): New macro.
14460 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14462 Add integration with gcc's -ffinite-math-only and optimize wrapper
14464 * Versions.def: Define GLIBC_2.15 version for libm.
14465 * math/Makefile (headers): Add bits/math-finite.h.
14466 * math/bits/math-finite.h: New file.
14467 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14468 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14469 * math/e_acoshl.c: Add __*_finite alias.
14470 * math/e_acosl.c: Likewise.
14471 * math/e_asinl.c: Likewise.
14472 * math/e_atan2l.c: Likewise.
14473 * math/e_atanhl.c: Likewise.
14474 * math/e_coshl.c: Likewise.
14475 * math/e_exp10.c: Likewise.
14476 * math/e_exp10f.c: Likewise.
14477 * math/e_exp10l.c: Likewise.
14478 * math/e_exp2l.c: Likewise.
14479 * math/e_fmodl.c: Likewise.
14480 * math/e_gammal_r.c: Likewise.
14481 * math/e_hypotl.c: Likewise.
14482 * math/e_j0l.c: Likewise.
14483 * math/e_j1l.c: Likewise.
14484 * math/e_jnl.c: Likewise.
14485 * math/e_lgammal_r.c: Likewise.
14486 * math/e_log10l.c: Likewise.
14487 * math/e_log2l.c: Likewise.
14488 * math/e_logl.c: Likewise.
14489 * math/e_powl.c: Likewise.
14490 * math/e_sinhl.c: Likewise.
14491 * math/e_sqrtl.c: Likewise.
14492 * math/e_scalb.c: Completely rewritten and optimized.
14493 * math/e_scalbf.c: Likewise.
14494 * math/e_scalbl.c: Likewise.
14495 * math/w_acos.c: Likewise.
14496 * math/w_acosf.c: Likewise.
14497 * math/w_acosl.c: Likewise.
14498 * math/w_acosh.c: Likewise.
14499 * math/w_acoshf.c: Likewise.
14500 * math/w_acoshl.c: Likewise.
14501 * math/w_asin.c: Likewise.
14502 * math/w_asinf.c: Likewise.
14503 * math/w_asinl.c: Likewise.
14504 * math/w_atan2.c: Likewise.
14505 * math/w_atan2f.c: Likewise.
14506 * math/w_atan2l.c: Likewise.
14507 * math/w_atanh.c: Likewise.
14508 * math/w_atanhf.c: Likewise.
14509 * math/w_atanhl.c: Likewise.
14510 * math/w_exp10.c: Likewise.
14511 * math/w_exp10f.c: Likewise.
14512 * math/w_exp10l.c: Likewise.
14513 * math/w_fmod.c: Likewise.
14514 * math/w_fmodf.c: Likewise.
14515 * math/w_fmodl.c: Likewise.
14516 * math/w_j0.c: Likewise.
14517 * math/w_j0f.c: Likewise.
14518 * math/w_j0l.c: Likewise.
14519 * math/w_j1.c: Likewise.
14520 * math/w_j1f.c: Likewise.
14521 * math/w_j1l.c: Likewise.
14522 * math/w_jn.c: Likewise.
14523 * math/w_jnf.c: Likewise.
14524 * math/w_log.c: Likewise.
14525 * math/w_logf.c: Likewise.
14526 * math/w_logl.c: Likewise.
14527 * math/w_log10.c: Likewise.
14528 * math/w_log10f.c: Likewise.
14529 * math/w_log10l.c: Likewise.
14530 * math/w_log2.c: Likewise.
14531 * math/w_log2f.c: Likewise.
14532 * math/w_log2l.c: Likewise.
14533 * math/w_pow.c: Likewise.
14534 * math/w_powf.c: Likewise.
14535 * math/w_powl.c: Likewise.
14536 * math/w_remainder.c: Likewise.
14537 * math/w_remainderf.c: Likewise.
14538 * math/w_remainderl.c: Likewise.
14539 * math/w_scalb.c: Likewise.
14540 * math/w_scalbf.c: Likewise.
14541 * math/w_scalbl.c: Likewise.
14542 * math/w_sqrt.c: Likewise.
14543 * math/w_sqrtf.c: Likewise.
14544 * math/w_sqrtl.c: Likewise.
14545 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14546 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14548 * math/math_private.h: Declare __kernel_standard_f.
14549 * math/w_cosh.c: Remove cruft and optimize a bit.
14550 * math/w_coshf.c: Likewise.
14551 * math/w_coshl.c: Likewise.
14552 * math/w_exp2.c: Likewise.
14553 * math/w_exp2f.c: Likewise.
14554 * math/w_exp2l.c: Likewise.
14555 * math/w_hypot.c: Likewise.
14556 * math/w_hypotf.c: Likewise.
14557 * math/w_hypotl.c: Likewise.
14558 * math/w_lgamma.c: Likewise.
14559 * math/w_lgamma_r.c: Likewise.
14560 * math/w_lgammaf.c: Likewise.
14561 * math/w_lgammaf_r.c: Likewise.
14562 * math/w_lgammal.c: Likewise.
14563 * math/w_lgammal_r.c: Likewise.
14564 * math/w_sinh.c: Likewise.
14565 * math/w_sinhf.c: Likewise.
14566 * math/w_sinhl.c: Likewise.
14567 * math/w_tgamma.c: Likewise.
14568 * math/w_tgammaf.c: Likewise.
14569 * math/w_tgammal.c: Likewise.
14570 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14571 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14572 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14573 Minor optimizations. Pretty printing. Remove cruft.
14574 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14575 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14576 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14577 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14578 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14579 * sysdeps/i386/fpu/e_asin.S: Likewise.
14580 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14581 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14582 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14583 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14584 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14585 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14586 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14587 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14588 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14589 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14590 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14591 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14592 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14593 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14594 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14595 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14596 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14597 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14598 * sysdeps/i386/fpu/e_log.S: Likewise.
14599 * sysdeps/i386/fpu/e_log10.S: Likewise.
14600 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14601 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14602 * sysdeps/i386/fpu/e_log2.S: Likewise.
14603 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14604 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14605 * sysdeps/i386/fpu/e_logf.S: Likewise.
14606 * sysdeps/i386/fpu/e_logl.S: Likewise.
14607 * sysdeps/i386/fpu/e_pow.S: Likewise.
14608 * sysdeps/i386/fpu/e_powf.S: Likewise.
14609 * sysdeps/i386/fpu/e_powl.S: Likewise.
14610 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14611 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14612 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14613 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14614 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14615 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14616 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14617 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14618 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14619 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14620 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14622 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14623 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14624 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14625 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14626 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14627 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14628 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14629 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14630 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14631 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14632 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14633 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14635 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14637 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14638 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14639 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14640 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14641 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14642 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14643 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14644 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14645 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14646 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14647 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14648 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14649 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14650 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14651 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14652 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14653 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14654 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14655 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14656 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14657 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14658 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14659 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14660 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14661 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14667 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14670 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14673 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14674 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14675 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14676 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14677 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14678 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14679 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14680 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14681 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14682 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14683 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14684 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14688 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14690 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14691 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14692 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14693 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14694 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14695 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14696 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14697 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14698 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14699 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14700 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14701 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14702 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14703 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14704 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14705 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14706 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14707 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14708 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14709 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14710 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14711 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14712 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14713 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14714 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14715 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14716 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14717 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14718 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14719 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14720 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14721 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14722 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14723 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14724 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14725 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14726 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14727 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14728 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14729 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14730 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14731 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14732 (__isnanf): Likewise.
14733 (__isinf_ns): Likewise.
14734 (__isinf_nsf): Likewise.
14735 (__finite): Likewise.
14736 (__finitef): Likewise.
14737 (__ieee754_sqrt): Define as macro.
14738 (__ieee754_sqrtf): Define as macro.
14739 (__ieee754_sqrtl): Define as macro.
14740 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14742 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14743 __FINITE_MATH_ONLY__ consistent.
14744 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14746 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14748 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14751 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14753 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14755 * po/ja.po: Update from translation team.
14757 2011-10-08 Roland McGrath <roland@hack.frob.com>
14759 * locale/programs/locarchive.c (prepare_address_space): New function.
14760 (create_archive, enlarge_archive, open_archive): Use it.
14762 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14763 inside [SHARED], where it is used.
14765 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14767 * nss/getent.c (netgroup_keys): Remove unused variable.
14768 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14770 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14772 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14773 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14775 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14776 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14777 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14778 * math/Makefile (libm-calls): Add s_isinf_ns.
14779 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14780 * math/multc3.c: Likewise.
14781 * math/s_casin.c: Likewise.
14782 * math/s_casinf.c: Likewise.
14783 * math/s_casinl.c: Likewise.
14784 * math/s_ccos.c: Likewise.
14785 * math/s_ccosf.c: Likewise.
14786 * math/s_ccosl.c: Likewise.
14787 * math/s_ctan.c: Likewise.
14788 * math/s_ctanf.c: Likewise.
14789 * math/s_ctanh.c: Likewise.
14790 * math/s_ctanhf.c: Likewise.
14791 * math/s_ctanhl.c: Likewise.
14792 * math/s_ctanl.c: Likewise.
14793 * math/w_fmod.c: Likewise.
14794 * math/w_fmodf.c: Likewise.
14795 * math/w_fmodl.c: Likewise.
14796 * math/w_remainder.c: Likewise.
14797 * math/w_remainderf.c: Likewise.
14798 * math/w_remainderl.c: Likewise.
14799 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14800 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14801 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14802 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14803 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14804 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14805 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14806 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14808 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14810 * stdio-common/printf_fphex.c: Likewise.
14811 * stdio-common/printf_size.c: Likewise.
14813 * math/e_exp10.c: Include math_private.h using <...> not "...".
14814 * math/e_exp10f.c: Likewise.
14815 * math/e_exp10l.c: Likewise.
14816 * math/e_exp2l.c: Likewise.
14817 * math/e_j0l.c: Likewise.
14818 * math/e_j1l.c: Likewise.
14819 * math/e_jnl.c: Likewise.
14820 * math/e_lgammal_r.c: Likewise.
14821 * math/e_rem_pio2l.c: Likewise.
14822 * math/e_scalb.c: Likewise.
14823 * math/e_scalbf.c: Likewise.
14824 * math/e_scalbl.c: Likewise.
14825 * math/k_cosl.c: Likewise.
14826 * math/k_sinl.c: Likewise.
14827 * math/k_tanl.c: Likewise.
14828 * math/s_cacoshf.c: Likewise.
14829 * math/s_catan.c: Likewise.
14830 * math/s_catanf.c: Likewise.
14831 * math/s_catanh.c: Likewise.
14832 * math/s_catanhf.c: Likewise.
14833 * math/s_catanhl.c: Likewise.
14834 * math/s_catanl.c: Likewise.
14835 * math/s_ccosh.c: Likewise.
14836 * math/s_ccoshf.c: Likewise.
14837 * math/s_ccoshl.c: Likewise.
14838 * math/s_cexp.c: Likewise.
14839 * math/s_cexpf.c: Likewise.
14840 * math/s_cexpl.c: Likewise.
14841 * math/s_clog.c: Likewise.
14842 * math/s_clog10.c: Likewise.
14843 * math/s_clog10f.c: Likewise.
14844 * math/s_clog10l.c: Likewise.
14845 * math/s_clogf.c: Likewise.
14846 * math/s_clogl.c: Likewise.
14847 * math/s_csin.c: Likewise.
14848 * math/s_csinf.c: Likewise.
14849 * math/s_csinh.c: Likewise.
14850 * math/s_csinhf.c: Likewise.
14851 * math/s_csinhl.c: Likewise.
14852 * math/s_csinl.c: Likewise.
14853 * math/s_csqrt.c: Likewise.
14854 * math/s_csqrtf.c: Likewise.
14855 * math/s_csqrtl.c: Likewise.
14856 * math/s_ctan.c: Likewise.
14857 * math/s_ctanf.c: Likewise.
14858 * math/s_ctanh.c: Likewise.
14859 * math/s_ctanhf.c: Likewise.
14860 * math/s_ctanhl.c: Likewise.
14861 * math/s_ctanl.c: Likewise.
14862 * math/s_ldexp.c: Likewise.
14863 * math/s_ldexpf.c: Likewise.
14864 * math/s_ldexpl.c: Likewise.
14865 * math/s_significand.c: Likewise.
14866 * math/s_significandf.c: Likewise.
14867 * math/s_significandl.c: Likewise.
14868 * math/w_acos.c: Likewise.
14869 * math/w_acosf.c: Likewise.
14870 * math/w_acosh.c: Likewise.
14871 * math/w_acoshf.c: Likewise.
14872 * math/w_acoshl.c: Likewise.
14873 * math/w_acosl.c: Likewise.
14874 * math/w_asin.c: Likewise.
14875 * math/w_asinf.c: Likewise.
14876 * math/w_asinl.c: Likewise.
14877 * math/w_atan2.c: Likewise.
14878 * math/w_atan2f.c: Likewise.
14879 * math/w_atan2l.c: Likewise.
14880 * math/w_atanh.c: Likewise.
14881 * math/w_atanhf.c: Likewise.
14882 * math/w_atanhl.c: Likewise.
14883 * math/w_cosh.c: Likewise.
14884 * math/w_coshf.c: Likewise.
14885 * math/w_coshl.c: Likewise.
14886 * math/w_dremf.c: Likewise.
14887 * math/w_exp10.c: Likewise.
14888 * math/w_exp10f.c: Likewise.
14889 * math/w_exp10l.c: Likewise.
14890 * math/w_exp2.c: Likewise.
14891 * math/w_exp2f.c: Likewise.
14892 * math/w_fmod.c: Likewise.
14893 * math/w_fmodf.c: Likewise.
14894 * math/w_fmodl.c: Likewise.
14895 * math/w_hypot.c: Likewise.
14896 * math/w_hypotf.c: Likewise.
14897 * math/w_hypotl.c: Likewise.
14898 * math/w_j0.c: Likewise.
14899 * math/w_j0f.c: Likewise.
14900 * math/w_j0l.c: Likewise.
14901 * math/w_j1.c: Likewise.
14902 * math/w_j1f.c: Likewise.
14903 * math/w_j1l.c: Likewise.
14904 * math/w_jn.c: Likewise.
14905 * math/w_jnf.c: Likewise.
14906 * math/w_jnl.c: Likewise.
14907 * math/w_lgamma.c: Likewise.
14908 * math/w_lgamma_r.c: Likewise.
14909 * math/w_lgammaf.c: Likewise.
14910 * math/w_lgammaf_r.c: Likewise.
14911 * math/w_lgammal.c: Likewise.
14912 * math/w_lgammal_r.c: Likewise.
14913 * math/w_log.c: Likewise.
14914 * math/w_log10.c: Likewise.
14915 * math/w_log10f.c: Likewise.
14916 * math/w_log10l.c: Likewise.
14917 * math/w_log2.c: Likewise.
14918 * math/w_log2f.c: Likewise.
14919 * math/w_log2l.c: Likewise.
14920 * math/w_logf.c: Likewise.
14921 * math/w_logl.c: Likewise.
14922 * math/w_pow.c: Likewise.
14923 * math/w_powf.c: Likewise.
14924 * math/w_powl.c: Likewise.
14925 * math/w_remainder.c: Likewise.
14926 * math/w_remainderf.c: Likewise.
14927 * math/w_remainderl.c: Likewise.
14928 * math/w_scalb.c: Likewise.
14929 * math/w_scalbf.c: Likewise.
14930 * math/w_scalbl.c: Likewise.
14931 * math/w_sinh.c: Likewise.
14932 * math/w_sinhf.c: Likewise.
14933 * math/w_sinhl.c: Likewise.
14934 * math/w_sqrt.c: Likewise.
14935 * math/w_sqrtf.c: Likewise.
14936 * math/w_sqrtl.c: Likewise.
14937 * math/w_tgamma.c: Likewise.
14938 * math/w_tgammaf.c: Likewise.
14939 * math/w_tgammal.c: Likewise.
14941 * po/ja.po: Update from translation team.
14943 2011-09-29 Andreas Jaeger <aj@suse.de>
14946 * sunrpc/netname.c (netname2host): Fix logic.
14950 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14952 * math/w_remainder.c (__remainder): Likewise.
14953 * math/w_remainderf.c (__remainderf): Likewise.
14954 * math/libm-test.inc (remainder_test): Add test cases.
14956 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14958 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14961 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14963 * string/test-memcmp.c: Avoid unncessary #defines.
14964 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14966 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14968 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14969 Use new sse2 version for core i3 - i7 as it's faster
14970 than sse42 version.
14971 (bit_Prefer_PMINUB_for_stringop): New.
14972 * sysdeps/x86_64/rawmemchr.S: Update.
14973 Replace with faster SSE2 version.
14974 * sysdeps/x86_64/memrchr.S: New file.
14975 * sysdeps/x86_64/memchr.S: Update.
14976 Replace with faster SSE2 version.
14978 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14980 * elf/dl-load.c (lose): Add cast to avoid warning.
14982 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14984 * po/ca.po: Update from translation team.
14986 * inet/getnetgrent_r.c: Hook up nscd.
14987 * nscd/Makefile (routines): Add nscd_netgroup.
14988 (nscd-modules): Add netgroupcache.
14989 (CFLAGS-netgroupcache.c): Define.
14990 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14991 (cache_search): Add const to second parameter.
14992 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14994 (dbs): Add netgrdb entry.
14995 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14996 (verify_persistent_db): Handle netgrdb.
14997 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14998 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15000 (netgroup_response_header): Define.
15001 (innetgroup_response_header): Define.
15002 (datahead): Add netgroup_response_header and innetgroup_response_header
15004 * nscd/nscd.conf: Add entries for netgroup cache.
15005 * nscd/nscd.h (dbtype): Add netgrdb.
15006 (_PATH_NSCD_NETGROUP_DB): Define.
15007 (netgroup_iov_disabled): Declare.
15008 (xmalloc, xcalloc, xrealloc): Move declarations here.
15009 (cache_search): Adjust prototype.
15010 Add netgroup-related prototypes.
15011 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15012 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15013 (__nscd_innetgr): Declare.
15014 * nscd/selinux.c (perms): Use access_vector_t as element type and
15015 add netgroup-related initializers.
15016 * nscd/netgroupcache.c: New file.
15017 * nscd/nscd_netgroup.c: New file.
15018 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15019 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15020 For four parameters use innetgr.
15021 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15022 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15023 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15024 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15026 * nscd/connections.c (register_traced_file): Don't register file
15027 for disabled databases.
15029 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15031 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15033 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15034 from tree and freeing node.
15036 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15038 * nss/nsswitch.c (__nss_database_lookup): Handle
15039 nss_parse_service_list out of memory case.
15041 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15043 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15044 out of memory case.
15046 2011-10-04 Andreas Schwab <schwab@redhat.com>
15048 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15049 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15051 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15052 elf_machine_rela, elf_machine_lazy_rel.
15053 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15054 (ELF_DYNAMIC_DO_REL): Likewise.
15055 (ELF_DYNAMIC_DO_RELA): Likewise.
15056 (ELF_DYNAMIC_RELOCATE): Likewise.
15057 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15058 to ELF_DYNAMIC_DO_REL.
15059 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15060 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15061 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15063 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15064 skip_ifunc, don't call ifunc function if non-zero.
15065 (elf_machine_rela): Likewise.
15066 (elf_machine_lazy_rel): Likewise.
15067 (elf_machine_lazy_rela): Likewise.
15068 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15069 (elf_machine_lazy_rel): Likewise.
15070 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15072 (elf_machine_lazy_rel): Likewise.
15073 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15075 (elf_machine_lazy_rel): Likewise.
15076 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15077 (elf_machine_lazy_rel): Likewise.
15078 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15079 (elf_machine_lazy_rel): Likewise.
15080 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15081 (elf_machine_lazy_rel): Likewise.
15082 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15083 (elf_machine_lazy_rel): Likewise.
15084 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15085 (elf_machine_lazy_rel): Likewise.
15086 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15087 (elf_machine_lazy_rel): Likewise.
15089 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15091 * nss/nss_files/files-init.c (_nss_files_init): Use static
15092 initialization for all the *_traced_file variables.
15094 2011-09-28 Andreas Schwab <schwab@redhat.com>
15096 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15098 2011-09-27 Roland McGrath <roland@hack.frob.com>
15101 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15103 2011-09-27 Andreas Schwab <schwab@redhat.com>
15105 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15106 Reread the line before reparsing it.
15108 2011-09-26 Andreas Schwab <schwab@redhat.com>
15110 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15112 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15113 Maxim Kuvyrkov <maxim@codesourcery.com>
15114 Joseph Myers <joseph@codesourcery.com>
15116 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15117 if needed for __stack_chk_guard.
15119 2011-09-19 Roland McGrath <roland@hack.frob.com>
15121 * sysdeps/posix/spawni.c (script_execute): Always define it.
15122 It will be optimized away if unused.
15123 (maybe_script_execute): New function.
15124 (__spawni): Call it.
15126 * Makerules: Don't include tls.make.
15127 (config-tls): Always set to thread.
15128 * tls.make.c: File removed.
15130 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15132 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15133 * config.make.in (CPPFLAGS-config): New substituted variable.
15135 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15137 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15140 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15141 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15143 2011-09-15 Roland McGrath <roland@hack.frob.com>
15145 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15146 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15147 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15148 (CALL_FAIL): Likewise.
15149 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15150 (CALL_FAIL): Macro removed.
15151 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15153 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15155 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15156 for __FINITE_MATH_ONLY__ == 1.
15158 2011-09-15 Andreas Schwab <schwab@redhat.com>
15160 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15161 __ieee754_sqrt instead of sqrt.
15162 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15163 __ieee754_sqrtf instead of sqrtf.
15164 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15165 __floorf instead of floorf.
15166 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15167 __floorf, __truncf instead of floorf, truncf.
15169 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15171 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15173 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15174 __extern_always_inline.
15175 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15178 2011-09-14 Andreas Schwab <schwab@redhat.com>
15180 * elf/rtld.c (dl_main): Also relocate in dependency order when
15181 doing symbol dependency testing.
15183 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15185 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15186 Always define `refsym'.
15188 2011-09-13 Andreas Schwab <schwab@redhat.com>
15190 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15191 (__FD_ELT): Renamed from __FDELT.
15192 * misc/bits/select2.h (__FD_ELT): Likewise.
15193 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15194 __FD_MASK instead of __FDELT, __FDMASK.
15195 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15197 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15200 * elf/Makefile (gen-ldd): Fix pattern.
15202 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15203 (init_tls): Likewise.
15205 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15207 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15209 2011-09-12 Andreas Schwab <schwab@redhat.com>
15211 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15212 `struct cmsghdr *' instead of `void *'.
15213 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15216 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15218 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15220 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15221 ldd_rewrite_script.
15223 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15225 * configure.in: Remove --with-tls option.
15226 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15227 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15228 out in case it is missing.
15229 * sysdeps/ia64/elf/configure.in: Likewise.
15230 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15231 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15232 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15233 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15234 * sysdeps/sh/elf/configure.in: Likewise.
15235 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15236 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15237 * sysdeps/x86_64/elf/configure.in: Likewise.
15238 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15239 * sysdeps/mach/hurd/tls.h: Likewise.
15242 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15245 * configure.in: Fix use of AC_INIT.
15247 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15249 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15251 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15253 * malloc/hooks.c: Likewise.
15256 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15257 variables statically.
15258 (narenas): Initialize.
15259 (list_lock): Initialize.
15260 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15261 initializtion of main_arena and list_lock. Small cleanups.
15262 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15263 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15264 Add initializers to main_arena and mp_.
15265 (malloc_state): Remove pagesize member. Change all users to use
15268 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15269 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15270 is always initialized.
15272 * malloc/malloc.c: Removed unused configurations and dead code.
15273 * malloc/arena.c: Likewise.
15274 * malloc/hooks.c: Likewise.
15275 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15277 * include/tls.h: Removed. USE___THREAD must always be defined.
15278 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15279 * elf/dl-libc.c: Likewise.
15280 * elf/dl-tsd.c: Likewise.
15281 * include/errno.h: Likewise.
15282 * include/netdb.h: Likewise.
15283 * include/resolv.h: Likewise.
15284 * inet/herrno-loc.c: Likewise.
15285 * inet/herrno.c: Likewise.
15286 * malloc/arena.c: Likewise.
15287 * malloc/hooks.c: Likewise.
15288 * malloc/malloc.c: Likewise.
15289 * resolv/res-state.c: Likewise.
15290 * resolv/res_libc.c: Likewise.
15291 * sysdeps/i386/dl-machine.h: Likewise.
15292 * sysdeps/ia64/dl-machine.h: Likewise.
15293 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15294 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15295 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15296 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15297 * sysdeps/sh/dl-machine.h: Likewise.
15298 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15299 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15300 * sysdeps/unix/i386/sysdep.S: Likewise.
15301 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15302 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15303 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15304 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15305 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15306 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15307 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15308 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15310 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15311 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15312 * sysdeps/x86_64/dl-machine.h: Likewise.
15313 * tls.make.c: Likewise.
15315 * configure.in: Remove --with-__thread option. Make tests for
15316 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15317 tls_model attribute fail if no support is available. Remove
15319 * Makeconfig: Adjust for dropped configure option. All features are
15321 * Makerules: Likewise.
15322 * Versions.def: Likewise.
15323 * argp/argp-fmtstream.c: Likewise.
15324 * argp/argp-fmtstream.h: Likewise.
15325 * argp/argp-help.c: Likewise.
15326 * assert/assert.c: Likewise.
15327 * config.h.in: Likewise.
15328 * config.make.in: Likewise.
15329 * configure: Likewise.
15330 * configure.in: Likewise.
15331 * csu/Versions: Likewise.
15332 * csu/init.c: Likewise.
15333 * elf/tst-audit2.c: Likewise.
15334 * elf/tst-tls10.c: Likewise.
15335 * elf/tst-tls10.h: Likewise.
15336 * elf/tst-tls11.c: Likewise.
15337 * elf/tst-tls12.c: Likewise.
15338 * elf/tst-tls14.c: Likewise.
15339 * elf/tst-tlsmod11.c: Likewise.
15340 * elf/tst-tlsmod12.c: Likewise.
15341 * elf/tst-tlsmod13.c: Likewise.
15342 * elf/tst-tlsmod13a.c: Likewise.
15343 * elf/tst-tlsmod14a.c: Likewise.
15344 * elf/tst-tlsmod15b.c: Likewise.
15345 * elf/tst-tlsmod16a.c: Likewise.
15346 * elf/tst-tlsmod16b.c: Likewise.
15347 * elf/tst-tlsmod7.c: Likewise.
15348 * elf/tst-tlsmod8.c: Likewise.
15349 * elf/tst-tlsmod9.c: Likewise.
15350 * gmon/gmon.c: Likewise.
15351 * grp/fgetgrent_r.c: Likewise.
15352 * grp/putgrent.c: Likewise.
15353 * hurd/fopenport.c: Likewise.
15354 * include/libc-symbols.h: Likewise.
15355 * include/tls.h: Likewise.
15356 * intl/gettextP.h: Likewise.
15357 * intl/loadinfo.h: Likewise.
15358 * locale/global-locale.c: Likewise.
15359 * locale/localeinfo.h: Likewise.
15360 * mach/devstream.c: Likewise.
15361 * malloc/arena.c: Likewise.
15362 * malloc/set-freeres.c: Likewise.
15363 * misc/err.c: Likewise.
15364 * misc/getttyent.c: Likewise.
15365 * misc/mntent_r.c: Likewise.
15366 * posix/getopt.c: Likewise.
15367 * posix/wordexp.c: Likewise.
15368 * pwd/fgetpwent_r.c: Likewise.
15369 * resolv/Versions: Likewise.
15370 * resolv/res_hconf.c: Likewise.
15371 * shadow/fgetspent_r.c: Likewise.
15372 * shadow/putspent.c: Likewise.
15373 * stdio-common/printf_fphex.c: Likewise.
15374 * stdio-common/tmpfile.c: Likewise.
15375 * stdlib/abort.c: Likewise.
15376 * stdlib/fmtmsg.c: Likewise.
15377 * sunrpc/auth_unix.c: Likewise.
15378 * sunrpc/clnt_perr.c: Likewise.
15379 * sunrpc/clnt_tcp.c: Likewise.
15380 * sunrpc/clnt_udp.c: Likewise.
15381 * sunrpc/clnt_unix.c: Likewise.
15382 * sunrpc/openchild.c: Likewise.
15383 * sunrpc/svc_simple.c: Likewise.
15384 * sunrpc/svc_tcp.c: Likewise.
15385 * sunrpc/svc_udp.c: Likewise.
15386 * sunrpc/svc_unix.c: Likewise.
15387 * sunrpc/xdr.c: Likewise.
15388 * sunrpc/xdr_array.c: Likewise.
15389 * sunrpc/xdr_rec.c: Likewise.
15390 * sunrpc/xdr_ref.c: Likewise.
15391 * sunrpc/xdr_stdio.c: Likewise.
15393 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15395 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15397 2011-07-03 Andreas Jaeger <aj@suse.de>
15399 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15400 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15401 regenerate with gen-libm-tests.pl.
15403 2010-05-12 Petr Baudis <pasky@suse.cz>
15406 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15407 around j0() zero points by switching to j1().
15408 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15409 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15410 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15411 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15413 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15415 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15417 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15419 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15420 Patch in part by Pavel Roskin <proski@gnu.org>.
15423 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15425 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15426 Free memory block if necessary.
15429 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15430 be NULL. Don't lock in this case.
15432 2011-09-09 Roland McGrath <roland@hack.frob.com>
15434 * elf/elf.h (ELFOSABI_GNU): New macro.
15435 (ELFOSABI_LINUX): Define to that.
15437 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15439 * string/strncat.c (strncat): Undef the symbol in case it has been
15440 defined in bits/string.h.
15442 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15444 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15446 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15449 2011-08-17 Andreas Jaeger <aj@suse.de>
15451 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15453 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15454 Ian Lance Taylor <iant@google.com>
15456 * math/libm-test.inc (lround_test): New testcase.
15457 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15459 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15461 * Makefile: Remove support for automatic cvs check-ins.
15462 * Makerules: Likewise.
15463 * config.make.in: Likewise.
15464 * configure.in: Likewise.
15465 * intl/Makefile: Likewise.
15466 * locale/Makefile: Likewise.
15467 * po/Makefile: Likewise.
15468 * posix/Makefile: Likewise.
15469 * sysdeps/gnu/Makefile: Likewise.
15470 * sysdeps/mach/hurd/Makefile: Likewise.
15471 * sysdeps/sparc/sparc32/Makefile: Likewise.
15474 * posix/Makefile (bug-regex32-ENV): Define.
15475 Patch by John Stanley <jpsinthemix@verizon.net>.
15477 * misc/Makefile (headers): Add bits/select2.h.
15478 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15479 * misc/bits/select2.h: New file.
15480 * include/bits/select2.h: New file.
15481 * debug/Makefile (routines): Add fdelt_chk.
15482 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15483 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15485 * debug/fdelt_chk.c: New file.
15487 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15488 * wcsmbs/test-wmemcmp.c: Likewise.
15489 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15490 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15492 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15494 * string/Makefile (strop-tests): Add memcmp.
15495 * string/test-wmemcmp.c: New file.
15496 * string/test-memcmp.c: Add wmemcmp support.
15498 2011-09-08 Roland McGrath <roland@hack.frob.com>
15501 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15504 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15505 garbage value in a __mach_port_mod_refs call in the cases of the
15506 task-self and thread-self ports.
15508 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15510 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15512 2011-09-08 Andreas Schwab <schwab@redhat.com>
15514 * elf/dl-load.c (lose): Check for non-null L.
15516 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15518 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15520 * elf/dl-libc.c (dlerror_run): Pass back error code from
15524 * elf/dl-load.c (lose): Free l_origin if it is valid.
15526 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15528 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15529 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15530 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15531 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15532 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15533 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15535 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15537 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15538 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15539 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15540 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15541 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15542 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15543 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15544 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15545 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15546 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15548 2011-08-15 Alan Modra <amodra@gmail.com>
15551 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15552 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15553 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15554 ppc_mcount to static-only-routines.
15555 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15557 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15558 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15560 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15562 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15563 for finite and infinity parameters.
15565 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15567 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15568 and add nop instructions for throughput optimization.
15569 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15571 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15573 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15574 aligned copy for power7 with vector-scalar instructions.
15575 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15577 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15579 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15582 2011-09-07 Andreas Schwab <schwab@redhat.com>
15585 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15588 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15590 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15591 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15592 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15593 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15596 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15598 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15599 Forgot to demangle the pointer.
15601 * sysdeps/i386/sysdep.h: Define atom_text_section.
15602 * sysdeps/x86_64/sysdep.h: Likewise.
15603 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15604 section with atom_text_section.
15605 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15606 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15607 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15608 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15609 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15611 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15612 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15613 already be defined. Change to take two parameters and don't assign
15614 result to variable. Adjust all users.
15615 Define INTERNAL_GETTIME if not already defined.
15616 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15619 HAVE_CLOCK_GETTIME_VSYSCALL.
15620 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15622 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15623 gettimeofday vsyscall, just use time.
15625 2011-09-06 Andreas Schwab <schwab@redhat.com>
15627 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15630 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15632 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15634 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15636 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15637 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15638 syscall if possible.
15640 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15642 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15643 e_ident. Don't pass to find_mapsXX.
15644 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15646 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15649 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15650 * sysdeps/x86_64/multiarch/strchr.S: Update.
15651 Check bit_slow_BSF bit.
15652 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15653 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15654 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15656 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15659 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15661 (tryshell): Define.
15662 (__spawni): Change last parameter to be flag. Test
15663 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15664 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15665 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15666 * posix/spawni.c: Likewise.
15667 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15668 * posix/spawnp.c: Likewise. Change normal version to use
15669 SPAWN_XFLAGS_USE_PATH.
15670 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15671 SPAWN_XFLAGS_TRY_SHELL.
15674 * posix/glob.h: Remove gcc 1.x support.
15677 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15679 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15681 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15682 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15684 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15685 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15686 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15687 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15688 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15689 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15691 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15693 * sysdeps/x86_64/wcscmp.S: New file.
15695 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15696 wcscmp-c wcscmp-sse2
15697 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15698 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15699 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15700 * wcsmbs/wcscmp.c: Allow renaming.
15702 2011-09-05 David S. Miller <davem@davemloft.net>
15704 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15705 stack slot, rather than the struct return pointer slot.
15706 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15707 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15709 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15711 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15713 * po/ja.po: Update from translation team.
15716 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15717 kernel in 64-bit binaries.
15719 2011-09-01 David S. Miller <davem@davemloft.net>
15721 * elf/elf.h (HWCAP_SPARC_*): Move to..
15722 * sysdeps/sparc/sysdep.h: this new file and add new values.
15723 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15724 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15725 _DL_HWCAP_COUNT to 24.
15726 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15728 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15729 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15730 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15731 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15732 instead of magic constants.
15733 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15735 2011-08-31 David S. Miller <davem@davemloft.net>
15737 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15739 Reimplement to do errno handling inline.
15740 (SYSCALL_ERROR_HANDLER): New macro.
15741 (__SYSCALL_STRING): Do not do errno handling in asm.
15742 (__CLONE_SYSCALL_STRING): Delete.
15743 (__INTERNAL_SYSCALL_STRING): Delete.
15744 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15745 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15746 (PSEUDO): Reimplement to do errno handling inline.
15747 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15748 (SYSCALL_ERROR_HANDLER): New macro.
15749 (__SYSCALL_STRING): Do not do errno handling in asm.
15750 (__CLONE_SYSCALL_STRING): Delete.
15751 (__INTERNAL_SYSCALL_STRING): Delete.
15752 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15753 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15755 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15756 (inline_syscall*): Add 'err' argument.
15757 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15758 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15759 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15760 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15762 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15763 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15765 2011-08-30 Andreas Schwab <schwab@redhat.com>
15767 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15769 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15771 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15774 2011-08-24 David S. Miller <davem@davemloft.net>
15776 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15778 2011-08-24 Andreas Schwab <schwab@redhat.com>
15780 * elf/Makefile: Add rules to build and run unload8 test.
15781 * elf/unload8.c: New file.
15782 * elf/unload8mod1.c: New file.
15783 * elf/unload8mod1x.c: New file.
15784 * elf/unload8mod2.c: New file.
15785 * elf/unload8mod3.c: New file.
15787 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15790 2011-08-23 David S. Miller <davem@davemloft.net>
15792 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15793 subtract stack bias.
15794 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15795 %sp not %fp in calculations.
15796 (_JMPBUF_UNWINDS_ADJ): Likewise.
15798 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15799 (aio_suspend): Call it to force an exception region around the
15800 AIO_MISC_WAIT() invocation.
15802 2011-08-23 Andreas Schwab <schwab@redhat.com>
15804 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15807 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15809 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15811 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15812 and <dl-machine.h>.
15813 (Elf64_FuncDesc): Remove.
15815 2011-08-22 David S. Miller <davem@davemloft.net>
15817 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15818 sigaltstack check, add missing cfi directives.
15819 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15820 missing cfi directives, and sigaltstack handling.
15822 2011-08-16 Andreas Schwab <schwab@redhat.com>
15825 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15826 object is seen twice.
15827 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15829 * elf/Makefile (distribute): Add tst-initorder2.c.
15830 (tests): Add tst-initorder2.
15831 (modules-names): Add tst-initorder2a tst-initorder2b
15832 tst-initorder2c tst-initorder2d. Add rules to build them.
15833 ($(objpfx)tst-initorder2.out): New rule.
15834 * elf/tst-initorder2.c: New file.
15835 * elf/tst-initorder2.exp: New file.
15837 2011-08-22 Andreas Schwab <schwab@redhat.com>
15839 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15841 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15842 dependencies back to end of function.
15844 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15845 $(elfobjdir)/ld.so.
15847 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15849 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15850 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15851 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15852 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15853 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15854 of __vdso_gettimeofday.
15855 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15856 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15858 (_libc_vdso_platform_setup): Remove initialization of
15859 __vdso_gettimeofday and __vdso_time.
15861 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15863 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15864 and fgetc_unlocked.
15865 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15868 * elf/dl-open.c (add_to_global): Report additions to the global scope
15869 for LD_DEBUG=scopes.
15870 (dl_open_worker): Also print scope of newly loaded dependencies.
15871 (_dl_show_scope): Indicate if there is no scope.
15874 * stdio-common/Makefile (tests): Add bug24.
15875 * stdio-common/bug24.c: New file.
15877 2011-08-19 Andreas Jaeger <aj@suse.de>
15880 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15881 non-existant file when using close-on-exec mode.
15883 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15885 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15886 the very first instruction.
15888 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15889 the CFI state in the end.
15890 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15891 inclusion of dl-trampoline.h.
15892 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15894 2011-08-19 Andreas Schwab <schwab@redhat.com>
15896 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15897 expectations for long double.
15899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15900 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15902 2011-08-14 David S. Miller <davem@davemloft.net>
15904 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15905 artificual limit depends upon the system page size.
15907 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15909 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15910 * resolv/Makefile: Define CFLAGS-libresolv.
15912 2011-08-17 Andreas Schwab <schwab@redhat.com>
15914 * nss/makedb.c (compute_tables): Make variables used in nested
15917 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15919 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15920 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15921 if buffer was too small.
15923 * elf/pldd.c (main): Attach to all threads in the process.
15924 Rewrite /proc handling to use *at functions.
15926 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15928 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15929 specifies first scope to show.
15930 (dl_open_worker): Update callers. Move printing scope of new
15931 object to before the relocation.
15932 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15933 * sysdeps/generic/ldsodefs.h: Update declaration.
15935 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15936 string for the scope number.
15938 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15940 * nscd/servicescache.c (cache_addserv): Make sure written is always
15943 2011-08-14 Roland McGrath <roland@hack.frob.com>
15945 * sysdeps/i386/i486/bits/atomic.h
15946 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15947 statement expression, so as to suppress "set but not used" warning.
15948 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15950 * string/strncat.c (STRNCAT): Use prototype definition.
15952 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15953 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15955 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15956 (localedef-modules): Add localedef.
15957 (locale-modules): Add locale.
15959 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15960 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15961 to avoid a warning.
15963 2011-08-14 David S. Miller <davem@davemloft.net>
15965 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15966 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15968 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15970 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15971 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15972 * elf/rtld.c (dl_main): Set l_name of vDSO.
15973 Call _dl_show_scope when DL_DEBUG_SCOPES.
15974 (process_dl_debug): Recognize scopes flag and also set it for all.
15975 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15976 Declare _dl_show_scope.
15978 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15979 (do_dlopen): Pass caller_dlopen to dl_open.
15980 (__libc_dlopen_mode): Initialize caller_dlopen.
15982 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15983 of libc. Make tolower call locale-independent. Optimize a bit by
15984 using isdigit instead of isalnum.
15985 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15987 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15989 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15990 was a dependency or dynamically loaded.
15992 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15994 * intl/l10nflist.c: Allow architecture-specific pop function.
15995 * sysdeps/x86_64/l10nflist.c: New file.
15997 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16000 2011-08-10 Andreas Schwab <schwab@redhat.com>
16002 * include/dirent.h: Add libc_hidden_proto for scandirat and
16003 scandirat64. Don't declare __scandirat64.
16004 * dirent/scandirat.c: Add libc_hidden_def.
16005 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16006 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16008 2011-08-10 David S. Miller <davem@davemloft.net>
16010 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16012 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16013 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16014 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16016 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16018 * Versions.def [libc]: Add GLIBC_2.15.
16019 * dirent/Makefile (routines): Add scandirat and scandirat64.
16020 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16022 * dirent/dirent.h: Declare scandirat and scandirat64.
16023 * dirent/scandirat.c: New file.
16024 * dirent/scandirat64.c: New file.
16025 * sysdeps/wordsize-64/scandirat.c: New file.
16026 * sysdeps/wordsize-64/scandirat64.c: New file.
16027 * dirent/opendir.c: Define opendirat.
16028 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16030 * dirent/scandir64.c: Adjust for scandir.c change.
16031 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16032 __scandirat64, and __scandir_cancel_handler.
16033 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16034 additional parameter and use openat instead of open (outside of ld.so).
16035 Add new __opendir as wrapper around __opendirat.
16036 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16037 here without requiring old scandirat implementation.
16039 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16041 * dirent/scandir.c (cancel_handler): Renamed to
16042 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16043 defined. Adjust users.
16044 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16045 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16047 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16049 * string/test-string.h (IMPL): Use __STRING to expand name and then
16052 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16055 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16057 * string/Makefile: Update.
16058 (strop-tests): Append strncat.
16059 * string/test-wcscmp.c: New file.
16060 New comprehensive test for wcscmp.
16061 * string/test-strcmp.c: Update.
16062 (WIDE): New define.
16064 2011-07-22 Andreas Schwab <schwab@redhat.com>
16066 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16069 2011-07-26 Andreas Schwab <schwab@redhat.com>
16071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16072 encoding to ACE if AI_IDN.
16074 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16077 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16079 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16081 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16082 Fix overflow bug in strncat.
16083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16085 * string/test-strncat.c: Update.
16086 Add new tests for checking overflow bugs.
16088 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16090 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16091 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16092 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16093 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16094 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16095 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16096 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16097 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16098 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16100 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16101 (USE_AS_STRCAT): Define.
16102 Add strcat and strncat support.
16103 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16105 2011-07-25 Andreas Schwab <schwab@redhat.com>
16107 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16108 __n bigger than INT_MAX+1.
16109 (__strncmp_g): Likewise.
16111 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16113 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16114 * libio/stido.h: Likewise.
16116 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16121 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16122 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16123 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16124 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16125 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16128 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16131 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16133 (_dl_x86_64_save_sse): Likewise.
16135 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16137 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16139 (_dl_x86_64_save_sse): Likewise.
16141 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16143 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16145 2011-07-21 Andreas Schwab <schwab@redhat.com>
16147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16149 (_dl_x86_64_save_sse): Use correct AVX check.
16151 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16153 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16154 bug in strncpy/strncat.
16155 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16157 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16159 * string/tester.c (test_strcat): Add tests for different alignments
16160 of source and destination.
16161 (test_strncat): Likewise.
16163 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16166 * posix/glob.c (glob): Check passed in values before using them in
16167 expressions to avoid some overflows.
16168 (glob_in_dir): Likewise.
16171 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16172 check for AVX enablement so that we don't crash with old kernels and
16174 * elf/tst-audit4.c: Add same checks here.
16175 * elf/tst-audit6.c: Likewise.
16177 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16179 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16181 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16183 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16185 * po/cs.po: Update from translation team.
16186 * po/bg.po: Likewise.
16188 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16190 * misc/sys/cdefs.h: Add support for const attribute.
16191 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16192 to gnu_dev_{major,minor,makedev} functions.
16194 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16196 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16198 2011-07-20 Andreas Schwab <schwab@redhat.com>
16200 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16203 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16205 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16206 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16207 register in order to avoid conflicts with the soft frame pointer
16208 being held in r11 when necessary.
16209 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16210 (INTERNAL_VSYSCALL_NCS): Likewise.
16212 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16214 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16215 * elf/dl-fini.c (_dl_fini): Adjust caller.
16216 * elf/dl-close.c (_dl_close_worker): Likewise.
16217 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16219 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16221 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16222 "aux_cache->nlibs < 0".
16224 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16225 in the reload-count case.
16227 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16230 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16231 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16232 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16233 * sysdeps/x86_64/multiarch/strcat.S: New file.
16234 * sysdeps/x86_64/multiarch/strncat.S: New file.
16235 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16236 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16237 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16238 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16239 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16240 (USE_AS_STRCAT): Define.
16241 Add strcat and strncat support.
16242 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16243 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16244 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16245 * string/strncat.c: Update.
16246 (USE_AS_STRNCAT): Define.
16247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16248 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16250 * sysdeps/x86_64/multiarch/init-arch.h
16251 (bit_Prefer_PMINUB_for_stringop): New.
16252 (index_Prefer_PMINUB_for_stringop): Likewise.
16253 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16254 bit_Prefer_PMINUB_for_stringop.
16256 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16258 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16260 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16261 of casting of buffer.
16262 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16263 buffer32 and buffer64.
16264 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16265 writes instead of casting of buffer.
16266 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16268 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16271 2011-07-19 Andreas Schwab <schwab@redhat.com>
16273 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16275 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16277 * nscd/nscd.c (termination_handler): Don't do anything for a database
16278 if it has not yet been initialized.
16280 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16282 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16284 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16286 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16288 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16290 * po/nl.po: Update from translation team.
16291 * po/sv.po: Likewise.
16293 2011-07-16 Roland McGrath <roland@hack.frob.com>
16295 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16296 now disallowed by GCC.
16298 * configure.in (use-default-link): Default to yes if a test -shared
16299 link meets our qualifications.
16300 * configure: Regenerated.
16302 * config.make.in (output-format): New variable.
16303 * configure.in: Check for ld --print-output-format support.
16304 * configure: Regenerated.
16305 * Makerules ($(common-objpfx)format.lds)
16306 [$(output-format) != unknown]: Just use $(output-format),
16307 instead of the linker-script munging.
16309 2011-07-14 Roland McGrath <roland@hack.frob.com>
16311 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16312 of $(common-objpfx)shlib.lds.
16313 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16315 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16316 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16318 * configure.in (-z relro check): Adjust test code to add a large
16319 writable data section after it.
16320 * configure: Regenerated.
16322 2011-07-11 Roland McGrath <roland@hack.frob.com>
16324 * configure.in (-z relro check): Fix test code to make the variable
16326 * configure: Regenerated.
16328 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16330 * nscd/nscd.h (struct traced_file): Define.
16331 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16332 elements. Add traced_files.
16333 (inotify_fd): Declare.
16334 (register_traced_file): Declare.
16335 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16336 (inotify_fd): Export.
16337 (resolv_conf_descr): Remove.
16338 (nscd_init): Move inotify descriptor creation to main.
16339 Don't register files for notification here.
16340 (register_traced_file): New function.
16341 (invalidate_cache): Don't use reset_res to determine whether to call
16342 res_init, go through the list of registered files.
16343 (main_loop_poll): The inotify descriptors are now stored in the
16344 structures for the traced files.
16345 (main_loop_epoll): Likewise
16346 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16347 to __nss_disable_nscd.
16348 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16349 for a database anymore. Check the records for all the registered
16351 * nss/Makefile (libnss_files-routines): Add files-init.
16352 (libnss_db-routines): Add db-init.
16353 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16354 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16355 * nss/nss_db/db-init.c: New file.
16356 * nss/nss_files/files-init.c: New file.
16357 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16358 __nss_lookup_function.
16359 (__nss_lookup_function): Call nss_load_library.
16360 (nss_load_all_libraries): New function.
16361 (__nss_disable_nscd): Take parameter with callback function for files
16362 to register. Set is_nscd. Load all the DSOs for the NSS modules
16363 used for the cached services.
16364 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16365 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16366 options for features to all the files in nscd.
16368 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16370 2011-07-10 Roland McGrath <roland@hack.frob.com>
16372 * csu/elf-init.c (__libc_csu_init): Comment typo.
16374 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16376 * po/pl.po: Update from translation team.
16377 * po/ja.po: Likewise.
16378 * po/ru.po: Likewise.
16379 * po/ko.po: Likewise.
16380 * po/fr.po: Likewise.
16382 2011-07-09 Roland McGrath <roland@hack.frob.com>
16384 * configure.in (.ctors/.dtors header and trailer check):
16385 Use an empirical test on a built program.
16386 * configure: Regenerated.
16388 * configure.in (-z relro check): Use an empirical test on a built DSO.
16389 Detect, but do not require, on ia64.
16390 * configure: Regenerated.
16392 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16393 Update tests that use readelf to use $READELF instead.
16394 * configure: Regenerated.
16396 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16398 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16399 if the result is not used.
16401 2011-07-05 Andreas Jaeger <aj@suse.de>
16404 * stdlib/tst-strtod.c: Add testcase.
16406 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16408 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16409 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16410 The latter has a higher limit. Take additional parameter to pass to
16412 (__pathconf): Pass file to __statfs_link_max.
16413 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16415 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16419 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16420 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16422 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16423 (__statfs_filesize_max): Likewise.
16424 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16426 2011-07-05 Andreas Jaeger <aj@suse.de>
16428 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16430 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16432 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16434 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16437 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16439 * Makefile (strop-tests): Add strncat.
16440 * string/test-strncat.c: New file.
16442 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16444 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16446 2011-06-21 Andreas Jaeger <aj@suse.de>
16448 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16449 Copy rule from iconvdata/Makefile.
16451 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16454 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16455 but no long options are defined, just return 'W'.
16457 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16460 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16462 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16464 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16466 (innetgr): Likewise.
16468 2011-07-05 Roland McGrath <roland@hack.frob.com>
16470 * config.make.in (install_root): Default to $(DESTDIR).
16472 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16474 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16476 2011-07-02 Roland McGrath <roland@hack.frob.com>
16478 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16480 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16481 containing directory rather than embedding absolute directory names.
16483 * scripts/check-local-headers.sh: Rewritten using awk.
16484 Match by word, not by line. Print error messages for matches.
16485 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16487 * Makerules [shlib-lds-flags empty]:
16488 ($(common-objpfx)libc_pic.opts): New target.
16489 ($(common-objpfx)libc_pic.os.clean): New target.
16490 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16492 * config.make.in (OBJCOPY): New variable.
16493 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16494 * configure: Regenerated.
16496 * config.make.in (use-default-link): New variable.
16497 * configure.in (use_default_link): Grok --with-default-link to set it.
16498 * configure: Regenerated.
16499 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16500 (shlib-lds, shlib-lds-flags): Define to empty.
16502 * Makerules (shlib-lds): New variable.
16503 (shlib-lds-flags): New variable.
16504 (build-shlib, build-moduile, build-module-asneeded): Use it.
16505 ($(common-objpfx)libc.so): Use $(shlib-lds).
16506 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16507 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16509 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16510 DT_FLAGS/DT_FLAGS_1 with zero flags.
16512 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16513 linker script munging.
16515 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16517 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16519 * crypt/sha512.c (sha512_process_block): Perform total addition using
16520 128-bit if possible.
16521 (__sha512_finish_ctx): Likewise.
16522 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16524 * crypt/sha256.c (SWAP64): Define.
16525 (sha256_process_block): Perform total addition using 64-bit if
16527 (__sha256_finish_ctx): Likewise.
16529 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16531 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16532 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16533 * nscd/hstcache.c (cache_addhst): Likewise.
16534 * nscd/grpcache.c (cache_addgr): Likewise.
16535 * nscd/aicache.c (addhstaiX): Likewise
16536 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16538 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16540 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16541 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16542 * nscd/hstcache.c (cache_addhst): Likewise.
16543 * nscd/grpcache.c (cache_addgr): Likewise.
16544 * nscd/aicache.c (addhstaiX): Likewise
16546 2011-07-01 Andreas Schwab <schwab@redhat.com>
16548 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16549 domain only when needed.
16551 2011-06-30 Andreas Schwab <schwab@redhat.com>
16553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16554 is always restored.
16556 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16558 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16559 are re-adding the entry.
16560 * nscd/servicescache.c (cache_addserv): Likewise.
16562 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16564 * sysdeps/generic/dl-irel.h: fix protection against multiple
16566 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16568 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16571 * malloc/memusage.sh: Fix quoting in message.
16572 * debug/xtrace.sh: Likewise.
16574 * configure.in: Remove support for --experimental-malloc option, make
16576 * config.make.in: Likewise.
16577 * malloc/Makefile: Likewise.
16579 2011-06-27 Andreas Schwab <schwab@redhat.com>
16581 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16582 two-byte characters.
16584 2011-06-27 Roland McGrath <roland@hack.frob.com>
16586 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16587 AC_CACHE_CHECK invocation.
16588 * configure: Regenerated.
16590 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16592 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16595 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16596 bit from old_res_options.
16598 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16600 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16601 value type for setfct.
16603 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16606 __gettimeofday instead of gettimeofday.
16608 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16610 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16612 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16614 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16616 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16619 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16622 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16623 strcpy-sse2-unaligned strncpy-sse2-unaligned
16624 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16625 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16626 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16627 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16628 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16629 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16630 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16631 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16632 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16633 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16634 (STRCPY): Support SSE2 and SSSE3 versions.
16636 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16639 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16640 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16641 kernels which artificially limit size of requests.
16643 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16646 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16647 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16648 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16649 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16650 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16651 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16652 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16653 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16654 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16655 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16656 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16657 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16658 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16659 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16661 Enable unaligned load optimization for Intel Core i3, i5 and i7
16663 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16665 (index_Fast_Unaligned_Load): Define.
16666 (HAS_FAST_UNALIGNED_LOAD): Define.
16668 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16670 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16672 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16675 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16676 until it is clear that the information is realy needed.
16677 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16679 2011-06-22 Andreas Schwab <schwab@redhat.com>
16681 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16683 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16685 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16686 /sys/devices/system/cpu/online if it is usable.
16688 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16689 reading the information from the /proc filesystem to once a second.
16691 2011-06-21 Andreas Jaeger <aj@suse.de>
16693 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16694 NULL after inclusion of kernel headers.
16696 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16698 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16699 calls to internal_setent.
16702 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16703 addresses using gethostbyname4_r ignore IPv4 addresses.
16705 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16706 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16708 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16710 2011-06-20 David S. Miller <davem@davemloft.net>
16712 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16714 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16716 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16717 (elf_irel): Use it.
16718 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16719 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16720 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16721 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16722 * sysdeps/x86_64/dl-irel.h: Likewise.
16724 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16725 * elf/dl-sym.c: Likewise.
16727 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16729 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16730 need to dereference resplen2.
16732 2011-06-14 Andreas Schwab <schwab@redhat.com>
16734 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16736 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16738 * Makeconfig: Define vardbdir and inst_vardbdir.
16739 * nss/Makefile: Add rules to install db-Makefile.
16741 * nss/nss_db/db-XXX.c: Cleanup.
16743 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16744 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16746 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16747 * nss/makedb.c: Implement -g option to specify that value strings
16748 are generated and should not be added to table iterated over for
16750 * nss/nss_db/db-initgroups.c: New file.
16752 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16755 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16756 (internal_getgrouplist): Adjust to name change.
16757 Update use_initgroups_entry if this is not the first call.
16758 * nss/databases.def: Add initgroups entry.
16760 * nss/makedb.c (compute_tables): Check result of multiple hash table
16761 sizes to minimize maximum chain length.
16763 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16765 * Versions.def: Add entry for libnss_db.
16766 * shlib-versions: Likewise.
16767 * nss/Makefile: Add rules to build libnss_db.
16768 * nss/Versions: Add libnss_db information. Organize libnss_files
16770 * nss/db-Makefile: Add gshadow support. Change rules for the new
16771 makedb progra. Some minor improvements to generate smaller files.
16772 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16774 * nss/makedb.c: ...here.
16775 Improve database format to be smaller and require less memory at
16777 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16779 * nss/nss_db/db-netgrp.c: Likewise.
16780 * nss/nss_db/db-open.c: Likewise.
16781 * nss/nss_files/flies-XXX.x: Adjust comments.
16782 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16783 * nss/nss_files/files-grp.c: Likewise.
16784 * nss/nss_files/files-hosts.c: Likewise.
16785 * nss/nss_files/files-network.c: Likewise.
16786 * nss/nss_files/files-proto.c: Likewise.
16787 * nss/nss_files/files-pwd.c: Likewise.
16788 * nss/nss_files/files-rpc.c: Likewise.
16789 * nss/nss_files/files-service.c: Likewise.
16790 * nss/nss_files/files-sgrp.c: Likewise.
16791 * nss/nss_files/files-spwd.c: Likewise.
16792 * nss/nss_db/db-alias.c: Removed.
16793 * nss/nss_db/dummy-db.h: Removed.
16795 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16797 * nss/makedb.c: Rewritten to not use database library.
16798 * nss/Makefile: Update to build new makedb program.
16800 2011-06-14 Andreas Jaeger <aj@suse.de>
16802 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16803 memset declaration.
16805 2011-06-10 Andreas Schwab <schwab@redhat.com>
16807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16810 2011-06-10 Roland McGrath <roland@hack.frob.com>
16812 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16813 * elf/Makefile ($(objpfx)ld.so): Likewise.
16815 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16816 Don't list ld.so twice in dependencies.
16818 * posix/bug-regex31.c: Include <stdlib.h>.
16820 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16822 * nis/nss_compat/compat-spwd.c
16823 (getspent_next_nss_netgr): Remove unused variable.
16824 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16826 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16827 nonmembers" output to use the right array.
16829 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16831 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16833 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16834 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16835 * catgets/gencat.c (read_input_file): Likewise.
16836 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16838 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16839 variable definition inside #if's controlling its use.
16841 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16843 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16845 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16847 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16850 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16852 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16853 * configure: Regenerated.
16855 * Makerules: Revert last change.
16856 * elf/Makefile: Likewise.
16858 2011-06-09 Roland McGrath <roland@hack.frob.com>
16860 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16861 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16862 (reloc-link): Likewise.
16864 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16866 * elf/Makefile: Add rules to build pldd.
16867 * elf/pldd.c: New file.
16868 * elf/pldd-xx.c: New file.
16870 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16872 * version.h: Update for 2.15 development version.
16874 2011-06-07 David S. Miller <davem@davemloft.net>
16876 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16878 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16879 elf_machine_lazy_rel): Likewise.
16880 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16881 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16882 elf_machine_lazy_rel): Likewise.
16883 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16884 dl_hwcap via passed in argument.
16885 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16888 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16890 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16892 2011-06-06 Roland McGrath <roland@hack.frob.com>
16895 * manual/fdl-1.1.texi: New file, verbatim from:
16896 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16897 * manual/lgpl-2.1.texi: New file, verbatim from:
16898 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16899 * manual/Makefile (licenses): New variable, list those new file names.
16901 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16903 * manual/fdl.texi: File removed.
16904 * manual/lesser.texi: File removed.
16905 * manual/libc.texinfo (Copying, Documentation License):
16906 Use new @include file names, put @appendix directive before @include.
16908 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16911 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16912 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16913 (mq_open): Add __NTH.
16915 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16918 Assume Intel Core i3/i5/i7 processor if AVX is available.
16920 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16922 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16925 2011-05-31 Andreas Schwab <schwab@redhat.com>
16927 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16928 memory. Use alloca_account. Fix memory leak when retrying.
16930 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16932 * version.h (RELEASE): Bump for 2.14 release.
16933 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16935 * config.make.in (RANLIB): Remove entry.
16937 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16939 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16940 (libc.pot): Work around missing support for .ksh extension in xgettext.
16943 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16944 if both request failed.
16945 (send_dg): In case of server errors clear resplen or *resplen2.
16948 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16949 when there are multiple maps.
16950 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16951 (_dl_fini): Remove test here.
16953 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16955 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16958 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16959 bit from old_res_options.
16960 (gaih_inet): Likewise.
16963 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16966 * resolv/res_init.c (res_setoptions): Make the code more compact.
16969 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16973 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16975 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16978 * malloc/malloc.h: Declare malloc hook variables as volatile.
16980 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16984 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16985 raise in the comment.
16986 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16987 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16988 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16990 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16993 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16994 grow the buffers more if it already has to be sufficient.
16995 (build_wcs_upper_buffer): Likewise.
16996 * posix/regexec.c (check_matching): Likewise.
16997 (clean_state_log_if_needed): Likewise.
16998 (extend_buffers): Don't enlarge buffers beyond size of the input
17000 Patches mostly by Emil Wojak <emil@wojak.eu>.
17001 * posix/bug-regex32.c: New file.
17002 * posix/Makefile (tests): Add bug-regex32.
17004 * locale/findlocale.c (_nl_find_locale): Return right away if
17005 _nl_explode_name failed.
17006 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17008 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17010 * debug/xtrace.sh: Unify messages.
17011 * malloc/memusage.sh: Likewise.
17014 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17015 time symbol from vDSO. Substitute with vsyscall if not available.
17016 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17019 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17020 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17021 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17022 Add sendmmsg and internal_sendmmsg.
17023 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17024 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17025 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17027 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17028 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17029 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17031 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17034 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17035 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17037 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17041 * iconvdata/Makefile (tests): Add bug-iconv9.
17042 * iconvdata/bug-iconv9.c: New file.
17044 2011-05-27 Andreas Schwab <schwab@redhat.com>
17047 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17049 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17051 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17052 (struct user_regs_struct): Change intcs field back to cs.
17054 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17056 * po/ja.po: Update from translation team.
17058 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17061 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17062 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17064 2011-05-20 Andreas Schwab <schwab@redhat.com>
17066 * stdlib/longlong.h: Update from GCC.
17068 2011-05-23 Andreas Schwab <schwab@redhat.com>
17070 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17072 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17073 Add parameter name.
17074 (__sysconf): Pass it down.
17076 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17079 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17081 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17082 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17083 add in in __libc_use_alloca calls. Adjust callers.
17084 (glob): Use malloc in some situations.
17086 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17087 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17090 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17092 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17093 and CLOCK_BOOTTIME_ALARM.
17096 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17099 * string/_strerror.c (__strerror_r): Print negative errors as signed
17103 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17104 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17105 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17107 * configure.in: Fix typo in redirection and correct removal of test
17108 files in two cases.
17111 * locale/setlocale.c (new_composite_name): Fix test to check for
17112 identical name of all categories.
17115 * libio/filedoalloc.c (local_isatty): New function.
17116 (_IO_file_doallocate): Use local_isatty.
17117 * stdio-common/perror.c (perror): In case a new stream is used
17118 forward the stream error.
17119 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17122 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17127 * include/alloca.h (extend_alloca_account): Define.
17130 * posix/regex.h: Fix comments with documentation of user-accessible
17131 fields after compilation and describe correct free'ing of pattern
17132 after re_compile_pattern.
17133 Patch by Reuben Thomas <rrt@sc3d.org>.
17135 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17137 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17138 and -mno-altivec to prevent the compiler from using Altivec and/or
17139 VSX instructions when the corresponding registers are not available.
17141 2011-05-19 Andreas Schwab <schwab@redhat.com>
17143 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17145 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17147 * libio/freopen.c (freopen): Use __dup2, not dup2.
17148 * libio/freopen64.c (freopen64): Likewise.
17150 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17153 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17154 * math/Makefile (tests): Add test-powl.
17155 (CFLAGS-test-powl.c): Define.
17156 * math/test-powl.c: New file.
17158 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17160 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17162 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17165 * iconvdata/gb18030.c: Update to GB18020-2005.
17167 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17169 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17170 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17171 Patch by Aharon Robbins <arnold@skeeve.com>.
17174 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17178 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17179 through underflows.
17182 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17183 point to strings before performing equality test for error_one_per_line
17187 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17190 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17191 (struct user_fpregs_struct): Avoid __uint*_t types.
17194 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17195 symbol info. Use it instead of calling _dl_addr locally.
17196 (lock_and_info): New function.
17197 (tr_freehook): Call lock_and_info and pass symbol info as additional
17198 parameter to tr_where.
17199 (tr_mallochook): Likewise.
17200 (tr_reallochook): Likewise.
17201 (tr_memalignhook): Likewise.
17203 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17204 used and couldn't be at all thread-safe.
17206 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17208 * libio/freopen.c (freopen): Don't close old file descriptor
17209 before the new one is opened. Instead dup the new file descriptor
17210 to the old one after the new stream is created.
17211 * libio/freopen64.c (freopen64): Likewise.
17212 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17213 * libio/fileops.c (_IO_new_file_close_it): Handle new
17214 _IO_FLAGS2_NOCLOSE flag.
17215 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17216 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17217 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17218 _IO_FLAGS2_NOCLOSE flag.
17219 * include/unistd.h: Add hidden_proto for dup3.
17220 Define __have_dup3.
17221 * io/dup3.c: Define hidden symbol.
17222 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17225 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17226 when an incomplete long option is used.
17227 * posix/tst-getopt_long1.c: New file.
17228 * posix/Makefile (tests): Add tst-getopt_long1.
17231 * scripts/config.guess: Update from autoconf-2.68.
17232 * scripts/config.sub: Likewise.
17235 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17237 (has_cpuclock): ...this. New function.
17238 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17239 macro here based on has_cpuclock code.
17242 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17243 First byte (not low byte) is now always NUL.
17244 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17247 Use non-cancelable interfaces.
17250 * locale/iso-639.def: Add entry for Sorani.
17253 * include/stdlib.h: Move include protection to the right place.
17254 Define abort_msg_s. Declare __abort_msg with it.
17255 * stdlib/abort.c (__abort_msg): Adjust type.
17256 * assert/assert.c (__assert_fail_base): New function. Majority
17257 of code from __assert_fail. Allocate memory for __abort_msg with
17259 (__assert_fail): Now call __assert_fail_base.
17260 * assert/assert-perr.c: Remove bulk of implementation. Use
17261 __assert_fail_base.
17262 * include/assert.hL Declare __assert_fail_base.
17263 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17265 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17267 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17271 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17272 until all modules are registered in the DTV.
17273 * elf/Makefile: Add rules to build and run tst-tls19.
17274 * elf/tst-tls19.c: New file.
17275 * elf/tst-tls19mod1.c: New file.
17276 * elf/tst-tls19mod2.c: New file.
17277 * elf/tst-tls19mod3.c: New file.
17278 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17281 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17285 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17286 two-byte sequence errors.
17287 * iconvdata/Makefile (tests): Add bug-iconv8.
17288 * iconvdata/bug-iconv8.c: New file.
17291 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17294 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17297 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17298 (dummy_getcfa): New function.
17299 (init): Get _Unwind_GetCFA address, use dummy if not found.
17300 (backtrace_helper): In recursion check, also check whether CFA changes.
17301 (__backtrace): Completely initialize arg.
17303 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17304 storing incomplete byte sequence in state object. Avoid testing for
17305 guaranteed too small input if we know there is enough data available.
17307 2011-05-11 Andreas Schwab <schwab@redhat.com>
17309 * Makeconfig (+link-pie): Indent.
17310 * Rules (binaries-pie): Define if $(have-fpie) and
17312 (binaries-shared): Also filter out $(binaries-pie).
17313 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17314 * nscd/Makefile (others-pie): Add nscd.
17315 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17316 ($(objpfx)nscd): Remove command override.
17317 * login/Makefile (others-pie): Add pt_chown.
17318 ($(objpfx)pt_chown): Remove command override.
17319 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17320 remove command overrides.
17322 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17324 * libio/tst_putwc.c: Fix error messages.
17327 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17328 currently writing and seek to current position when not.
17329 * libio/Makefile (tests): Add bug-fclose1.
17330 * libio/bug-fclose1.c: New file.
17332 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17335 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17336 don't set DF_1_NODELETE here.
17337 (do_lookup_x): When entering new entry test for copy relocation
17338 and if necessary set DF_1_NODELETE flag.
17339 * elf/tst-unique4.cc: New file.
17340 * elf/tst-unique4.h: New file.
17341 * elf/tst-unique4lib.cc: New file.
17342 * elf/Makefile: Add rules to build and run tst-unique4.
17343 Patch by Piotr Bury <pbury@goahead.com>.
17345 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17348 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17351 * misc/mntent_r.c (addmntent): Flush the stream after the output
17354 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17355 (is_trusted_path_normalize): Skip initial colon. Append slash
17356 to empty buffer. Duplicate is_trusted_path code but allow
17357 constructed patch to be prefix.
17358 (is_dst): Allow $ORIGIN followed by /.
17359 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17360 Correct testing of result of is_trusted_path_normalize
17361 (decompose_rpath): Fix warning.
17363 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17366 * grp/initgroups.c (internal_getgrouplist): When we found the service
17367 list through the initgroups entry in nsswitch.conf do not always
17368 continue on a successful lookup. Don't always use the
17369 __nss_group_database value if it is set.
17370 * nss/nsswitch.conf (initgroups): Change action for successful db
17371 lookup to continue for compatibility.
17373 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17376 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17378 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17380 * iconvdata/tst-tables.sh: Likewise.
17381 * iconvdata/cp770.c: New file.
17382 * iconvdata/cp771.c: New file.
17383 * iconvdata/cp772.c: New file.
17384 * iconvdata/cp773.c: New file.
17385 * iconvdata/cp774.c: New file.
17386 * iconvdata/testdata/CP770: New file.
17387 * iconvdata/testdata/CP770..UTF8: New file.
17388 * iconvdata/testdata/CP771: New file.
17389 * iconvdata/testdata/CP771..UTF8: New file.
17390 * iconvdata/testdata/CP772: New file.
17391 * iconvdata/testdata/CP772..UTF8: New file.
17392 * iconvdata/testdata/CP773: New file.
17393 * iconvdata/testdata/CP773..UTF8: New file.
17394 * iconvdata/testdata/CP774: New file.
17395 * iconvdata/testdata/CP774..UTF8: New file.
17397 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17399 * iconvdata/gen-8bit-gap.sh: Likewise.
17400 * iconvdata/gen-8bit.sh: Likewise.
17402 * locale/iso-639.def: Add ary entry.
17405 * locale/C-translit.h.in: Add U20A1 transliteration.
17408 * locale/iso-639.def: Add wae entry.
17409 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17412 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17416 * locale/C-translit.h.in: Add entry for U20B9.
17417 Patch by pravin.d.s@gmail.com.
17419 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17422 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17423 ENAMETOOLONG use generic getcwd.
17424 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17425 in rtld. Use *stat64.
17426 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17427 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17428 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17429 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17430 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17431 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17432 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17433 __fstatat64 macros.
17434 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17435 * dirent/rewinddir.c: Add libc_hidden_def.
17436 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17437 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17439 * include/dirent.h (__alloc_dir): Add flags parameter.
17440 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17441 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17443 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17444 from fdopendir if O_CLOEXEC is already set.
17446 2011-03-15 Alan Modra <amodra@gmail.com>
17448 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17449 l_tls_firstbyte_offset non-zero. Save padding offset in
17450 l_tls_firstbyte_offset for later use.
17451 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17452 freeing static tls block.
17454 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17456 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17457 where #ifdef was intended. The intent is to prevent ARG_MAX from
17458 being defined by the kernel headers.
17460 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17463 * resolv/resolv.h: Define RES_NOTLDQUERY.
17464 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17465 no-tld-query and set RES_NOTLDQUERY.
17466 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17467 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17468 modern BIND to search name as TLD unless forbidden.
17470 2011-05-07 Petr Baudis <pasky@suse.cz>
17471 Ulrich Drepper <drepper@gmail.com>
17474 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17475 (is_trusted_path): ...to here.
17476 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17477 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17478 using is_trusted_path_normalize() in setuid scripts.
17480 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17482 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17483 __BEGIN/__END_DECLS.
17485 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17487 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17488 NSS_STATUS_NOTFOUND if no record was found.
17490 2011-05-05 Andreas Schwab <schwab@redhat.com>
17492 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17493 (headers-not-in-tirpc): Remove rpc/netdb.h
17494 * resolv/netdb.h: Revert last change.
17496 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17498 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17499 circular dependency between libgcc.a and libc.a.
17501 2011-05-05 Andreas Schwab <schwab@redhat.com>
17503 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17504 * nis/Makefile: Don't install rpcsvc/*.
17505 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17506 instead of <rpc/types.h>.
17507 (MAXHOSTNAMELEN): Define.
17509 2011-05-03 Andreas Schwab <schwab@redhat.com>
17511 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17513 2011-04-28 Maciej Babinski <mbabinski@google.com>
17516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17517 gethostbyname4_r when IPv6 results are possible.
17519 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17522 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17523 _PC_PIPE_BUF handling.
17525 2011-04-30 Bruno Haible <bruno@clisp.org>
17528 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17529 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17531 * inet/getnameinfo.c (getnameinfo): Likewise.
17533 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17535 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17536 to groups setting in database lookup.
17537 * nss/nsswitch.conf: Add initgroups entry.
17539 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17542 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17544 Patch by Eric Blake <eblake@redhat.com>.
17546 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17548 * sunrpc/Makefile (need-export-routines): Add svc_run.
17549 (routines): Remove svc_run.
17550 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17551 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17552 * sunrpc/svc_run.c (svc_run): Likewise.
17553 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17555 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17557 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17558 problem in reallocation in last patch.
17560 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17562 * sunrpc/Makefile: Move inclusion of Rules.
17564 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17566 * nss/nss_files/files-initgroups.c: New file.
17567 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17568 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17569 _nss_files_initgroups_dyn.
17571 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17573 * elf/elf.h (R_ARM_IRELATIVE): Define.
17575 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17577 * po/ru.po: Update from translation team.
17579 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17581 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17584 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17587 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17588 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17589 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17590 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17591 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17593 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17595 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17597 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17598 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17601 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17604 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17606 * stdlib/bug-getcontext.c: New file.
17607 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17609 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17611 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17612 instructions into .machine "z9-109".
17613 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17614 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17616 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17618 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17619 between environment variables and auxiliary vector.
17621 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17623 * Makefile: Add rules to build linkobj/libc.so.
17624 * include/libc-symbols.h: Define libc_hidden_nolink.
17625 * include/rpc/auth.h: Mark functions which are to be hidden.
17626 * include/rpc/auth_des.h: Likewise.
17627 * include/rpc/auth_unix.h: Likewise.
17628 * include/rpc/clnt.h: Likewise.
17629 * include/rpc/des_crypt.h: Likewise.
17630 * include/rpc/key_prot.h: Likewise.
17631 * include/rpc/pmap_clnt.h: Likewise.
17632 * include/rpc/pmap_prot.h: Likewise.
17633 * include/rpc/pmap_rmt.h: Likewise.
17634 * include/rpc/rpc_msg.h: Likewise.
17635 * include/rpc/svc.h: Likewise.
17636 * include/rpc/svc_auth.h: Likewise.
17637 * include/rpc/xdr.h: Likewise.
17638 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17639 * nss/Makefile: Likewise.
17640 * sunrpc/Makefile: Don't install headers. Build library with normal
17641 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17642 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17643 for the compat linking library. Remove use of INTDEF/INTUSE.
17644 * sunrpc/auth_none.c: Likewise.
17645 * sunrpc/auth_unix.c: Likewise.
17646 * sunrpc/authdes_prot.c: Likewise.
17647 * sunrpc/authuxprot.c: Likewise.
17648 * sunrpc/clnt_gen.c: Likewise.
17649 * sunrpc/clnt_perr.c: Likewise.
17650 * sunrpc/clnt_raw.c: Likewise.
17651 * sunrpc/clnt_simp.c: Likewise.
17652 * sunrpc/clnt_tcp.c: Likewise.
17653 * sunrpc/clnt_udp.c: Likewise.
17654 * sunrpc/clnt_unix.c: Likewise.
17655 * sunrpc/des_crypt.c: Likewise.
17656 * sunrpc/des_soft.c: Likewise.
17657 * sunrpc/get_myaddr.c: Likewise.
17658 * sunrpc/key_call.c: Likewise.
17659 * sunrpc/key_prot.c: Likewise.
17660 * sunrpc/netname.c: Likewise.
17661 * sunrpc/pm_getmaps.c: Likewise.
17662 * sunrpc/pm_getport.c: Likewise.
17663 * sunrpc/pmap_clnt.c: Likewise.
17664 * sunrpc/pmap_prot.c: Likewise.
17665 * sunrpc/pmap_prot2.c: Likewise.
17666 * sunrpc/pmap_rmt.c: Likewise.
17667 * sunrpc/publickey.c: Likewise.
17668 * sunrpc/rpc_cmsg.c: Likewise.
17669 * sunrpc/rpc_common.c: Likewise.
17670 * sunrpc/rpc_dtable.c: Likewise.
17671 * sunrpc/rpc_prot.c: Likewise.
17672 * sunrpc/rpc_thread.c: Likewise.
17673 * sunrpc/rtime.c: Likewise.
17674 * sunrpc/svc.c: Likewise.
17675 * sunrpc/svc_auth.c: Likewise.
17676 * sunrpc/svc_authux.c: Likewise.
17677 * sunrpc/svc_raw.c: Likewise.
17678 * sunrpc/svc_run.c: Likewise.
17679 * sunrpc/svc_simple.c: Likewise.
17680 * sunrpc/svc_tcp.c: Likewise.
17681 * sunrpc/svc_udp.c: Likewise.
17682 * sunrpc/svc_unix.c: Likewise.
17683 * sunrpc/svcauth_des.c: Likewise.
17684 * sunrpc/xcrypt.c: Likewise.
17685 * sunrpc/xdr.c: Likewise.
17686 * sunrpc/xdr_array.c: Likewise.
17687 * sunrpc/xdr_float.c: Likewise.
17688 * sunrpc/xdr_intXX_t.c: Likewise.
17689 * sunrpc/xdr_mem.c: Likewise.
17690 * sunrpc/xdr_rec.c: Likewise.
17691 * sunrpc/xdr_ref.c: Likewise.
17692 * sunrpc/xdr_sizeof.c: Likewise.
17693 * sunrpc/xdr_stdio.c: Likewise.
17695 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17698 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17699 * sysdeps/ia64/dl-tls.h: Likewise.
17700 * sysdeps/powerpc/dl-tls.h: Likewise.
17701 * sysdeps/s390/dl-tls.h: Likewise.
17702 * sysdeps/sh/dl-tls.h: Likewise.
17703 * sysdeps/sparc/dl-tls.h: Likewise.
17704 * sysdeps/x86_64/dl-tls.h: Likewise.
17705 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17707 2011-03-14 Andreas Schwab <schwab@redhat.com>
17709 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17710 rpath element also skip the following colon.
17711 (expand_dynamic_string_token): Add is_path parameter and pass
17712 down to DL_DST_REQUIRED and _dl_dst_substitute.
17713 (decompose_rpath): Call expand_dynamic_string_token with
17714 non-zero is_path. Ignore empty rpaths.
17715 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17718 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17723 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17726 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17727 Patch by Filipe David Manana <fdmanana@apache.org>.
17729 2011-04-07 Andreas Schwab <schwab@redhat.com>
17731 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17732 Maintain aligned stack.
17733 (CHECK_RSP): Remove unused macro.
17735 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17737 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17738 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17740 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17742 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17744 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17746 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17749 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17750 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17751 * sysdeps/x86_64/memmove.c: New file.
17752 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17753 (memcpy): Renamed to ...
17754 (__new_memcpy): This.
17755 (memcpy): Provide GLIBC_2_14 memcpy.
17756 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17757 (memcpy): Provide GLIBC_2_2_5 memcpy.
17759 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17762 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17764 2011-03-30 Andreas Schwab <schwab@redhat.com>
17766 * misc/syncfs.c: New file.
17767 * misc/Makefile (routines): Add syncfs.
17768 * posix/unistd.h: Declare syncfs.
17769 * sysdeps/unix/syscalls.list: Add syncfs.
17771 2011-04-01 Andreas Schwab <schwab@redhat.com>
17773 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17775 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17776 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17777 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17778 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17779 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17780 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17781 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17783 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17785 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17786 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17787 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17788 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17789 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17791 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17793 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17794 sync_file_range.c with -fexceptions.
17795 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17796 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17797 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17798 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17799 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17800 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17802 sync_file_range as cancellation point
17803 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17804 now a wrapper around __call_sync_file_range with cancellation handling.
17805 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17806 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17807 function name to __call_sync_file_range.
17808 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17809 Add call_sync_file_range.
17811 2011-04-01 Andreas Schwab <schwab@redhat.com>
17813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17816 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17818 * iconv/iconv.h: Fix typo in comment.
17819 * io/fcntl.h: Likewise.
17820 * libio/stdio.h: Likewise.
17821 * posix/spawn.h: Likewise.
17822 * posix/unistd.h: Likewise.
17823 * stdlib/stdlib.h: Likewise.
17824 * time/time.h: Likewise.
17825 * wcsmbs/wchar.h: Likewise.
17827 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17828 open_by_handle): Add.
17829 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17830 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17831 Augment a few comments.
17832 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17833 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17834 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17835 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17836 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17837 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17840 * io/fcntl.h (AT_EMPTY_PATH): Define.
17842 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17844 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17845 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17846 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17848 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17849 * Versions.def: Add GLIBC_2.14.
17850 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17853 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17855 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17857 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17859 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17862 * string/test-strncmp.c (do_page_test): New function.
17863 (check2): Likewise.
17864 (test_main): Call check2.
17865 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17867 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17870 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17871 Handle cache information in CPU leaf 4.
17872 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17874 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17877 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17878 character representation.
17879 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17881 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17883 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17884 END(__isnan) to END(__isnanf) to match function entry point/label
17885 EALIGN(__isnanf,...).
17887 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17889 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17891 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17894 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17895 copy from the symbol referenced in the relocation to initialize the
17897 Patch by Piotr Bury <pbury@goahead.com>.
17898 * elf/Makefile: Add rules to build and tst-unique3.
17899 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17900 * elf/tst-unique3.cc: New file.
17901 * elf/tst-unique3.h: New file.
17902 * elf/tst-unique3lib.cc: New file.
17903 * elf/tst-unique3lib2.cc: New file.
17905 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17907 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17909 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17910 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17913 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17915 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17916 to-be-loaded object along a path to loader is ld.so.
17918 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17919 Ulrich Drepper <drepper@gmail.com>
17921 * sysdeps/x86_64/memset.S: After aligning destination, code
17922 branches to different locations depending on the value of
17923 misalignment, when multiarch is enabled. Fix this.
17925 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17927 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17928 Set _x86_64_preferred_memory_instruction for AMD processsors.
17929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17930 Set bit_Prefer_SSE_for_memop for AMD processors.
17932 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17934 * libio/fmemopen.c (fmemopen): Optimize a bit.
17936 2011-03-03 Andreas Schwab <schwab@redhat.com>
17938 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17940 2011-03-03 Roland McGrath <roland@redhat.com>
17942 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17944 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17946 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17947 __bzero_ultra1 instead of __memset_ultra1.
17949 2011-02-23 Andreas Schwab <schwab@redhat.com>
17950 Ulrich Drepper <drepper@gmail.com>
17953 * include/link.h (struct link_map): Add l_orig_initfini.
17954 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17955 returning unsuccessfully.
17956 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17957 close of a file loaded at startup, restore the original l_initfini
17959 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17960 list, store the pointer.
17961 * elf/Makefile ($(objpfx)noload-mem): New rule.
17962 (noload-ENV): Define.
17963 (tests): Add $(objpfx)noload-mem.
17964 * elf/noload.c: Include <memcheck.h>.
17965 (main): Call mtrace. Close all opened handles.
17967 2011-02-17 Andreas Schwab <schwab@redhat.com>
17970 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17971 dependencies are missing.
17973 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17975 Fix __if_freereq crash: Unlike the generic version which uses free,
17977 * sysdeps/mach/hurd/ifreq.h: New file.
17979 2011-01-27 Petr Baudis <pasky@suse.cz>
17980 Ulrich Drepper <drepper@gmail.com>
17983 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17984 to extend_alloca().
17985 * stdio-common/bug23.c: New file.
17986 * stdio-common/Makefile (tests): Add bug23.
17988 2010-09-28 Andreas Schwab <schwab@redhat.com>
17989 Ulrich Drepper <drepper@gmail.com>
17992 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17993 before performing relro protection. At old place add assertion
17994 to make sure nothing changed.
17996 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17997 Glauber de Oliveira Costa <glommer@gmail.com>
17999 * elf/elf.h: Add new ARM TLS relocs.
18001 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18004 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18006 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18008 * sysdeps/wordsize-64/tst-writev.c: New file.
18010 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18012 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18013 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18014 insns in _dl_start to prevent a TOC reference before relocs are
18017 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18020 * Makeconfig: Remove RANLIB definition.
18021 * Makerules: Don't use RANLIB.
18022 * aclocal.m4: Remove ranlib test.
18023 * configure.in: No need to check for ranlib.
18024 * elf/rtld-Rules: Don't use RANLIB.
18026 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18028 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18030 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18031 inclusion protection macro.
18033 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18034 SIGRTMIN and SIGRTMAX and print information in that case only when
18035 SIGRTMIN is defined.
18037 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18039 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18040 arginfo fn returning -1.
18042 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18043 and thousands string is zero terminated.
18045 2011-02-03 Andreas Schwab <schwab@redhat.com>
18047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18048 sysdeps/unix/sysv/linux/bits/socket.h.
18050 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18052 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18053 (__CPU_COUNT): Remove old macros.
18054 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18055 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18056 (__CPU_ALLOC, __CPU_FREE): Add macros.
18057 (__sched_cpualloc, __sched_cpufree): Add declarations.
18059 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18061 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18062 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18063 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18064 (readdhstai): Return value of addhstaiX call.
18065 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18066 (addgrbyX): Return value returned by cache_addgr.
18067 (readdgrbyname): Return value returned by addgrbyX.
18068 (readdgrbygid): Likewise.
18069 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18070 (addpwbyX): Return value returned by cache_addpw.
18071 (readdpwbyname): Return value returned by addhstbyX.
18072 (readdpwbyuid): Likewise.
18073 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18074 (addservbyX): Return value returned by cache_addserv.
18075 (readdservbyname): Return value returned by addservbyX:
18076 (readdservbyport): Likewise.
18077 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18078 (addhstbyX): Return value returned by cache_addhst.
18079 (readdhstbyname): Return value returned by addhstbyX.
18080 (readdhstbyaddr): Likewise.
18081 (readdhstbynamev6): Likewise.
18082 (readdhstbyaddrv6): Likewise.
18083 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18084 (readdinitgroups): Return value returned by addinitgroupsX.
18085 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18086 (prune_cache): Keep track of timeout value of re-added entries.
18087 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18088 * nscd/nscd.h: Adjust prototypes of readd* functions.
18090 2011-02-04 Roland McGrath <roland@redhat.com>
18092 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18093 (nis_stats): Likewise.
18094 * nis/nis_modify.c (nis_modify): Likewise.
18095 * nis/nis_remove.c (nis_remove): Likewise.
18096 * nis/nis_add.c (nis_add): Likewise.
18098 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18100 * posix/fnmatch_loop.c: Add some consts.
18102 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18104 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18107 * config.make.in (config-cflags-novzeroupper): Define.
18108 * configure.in: Substitute libc_cv_cc_novzeroupper.
18109 * elf/Makefile (AVX-CFLAGS): Define.
18110 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18111 (CFLAGS-tst-auditmod4a.c): Likewise.
18112 (CFLAGS-tst-auditmod4b.c): Likewise.
18113 (CFLAGS-tst-auditmod6b.c): Likewise.
18114 (CFLAGS-tst-auditmod6c.c): Likewise.
18115 (CFLAGS-tst-auditmod7b.c): Likewise.
18116 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18118 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18120 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18121 function to the callback.
18122 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18124 2011-02-02 Andreas Schwab <schwab@redhat.com>
18126 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18129 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18132 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18134 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18136 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18139 * elf/Makefile: Add rules to build and run new test.
18140 * elf/tst-initorder.c: New file.
18141 * elf/tst-initorder.exp: New file.
18142 * elf/tst-initordera1.c: New file.
18143 * elf/tst-initordera2.c: New file.
18144 * elf/tst-initordera3.c: New file.
18145 * elf/tst-initordera4.c: New file.
18146 * elf/tst-initorderb1.c: New file.
18147 * elf/tst-initorderb2.c: New file.
18148 * elf/tst-order-a1.c: New file.
18149 * elf/tst-order-a2.c: New file.
18150 * elf/tst-order-a3.c: New file.
18151 * elf/tst-order-a4.c: New file.
18152 * elf/tst-order-b1.c: New file.
18153 * elf/tst-order-b2.c: New file.
18154 * elf/tst-order-main.c: New file.
18155 New test case by George Gensure <werkt0@gmail.com>.
18157 2010-10-01 Andreas Schwab <schwab@redhat.com>
18159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18160 decoding ACE if AI_CANONIDN.
18162 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18164 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18166 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18168 * version.h (RELEASE): Bump for 2.13 release.
18169 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18171 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18173 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18175 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18176 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18177 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18178 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18179 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18180 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18182 * posix/getconf.c: Update copyright year.
18183 * catgets/gencat.c: Likewise.
18184 * csu/version.c: Likewise.
18185 * debug/catchsegv.sh: Likewise.
18186 * debug/xtrace.sh: Likewise.
18187 * elf/ldconfig.c: Likewise.
18188 * elf/ldd.bash.in: Likewise.
18189 * elf/sprof.c (print_version): Likewise.
18190 * iconv/iconv_prog.c: Likewise.
18191 * iconv/iconvconfig.c: Likewise.
18192 * locale/programs/locale.c: Likewise.
18193 * locale/programs/localedef.c: Likewise.
18194 * malloc/memusage.sh: Likewise.
18195 * malloc/mtrace.pl: Likewise.
18196 * nscd/nscd.c (print_version): Likewise.
18197 * nss/getent.c: Likewise.
18199 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18200 PF_CAIF, and PF_ALG.
18201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18203 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18205 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18206 (modules-names): Use them.
18207 (ifunc-test-modules, ifunc-pie-tests): Define.
18208 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18209 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18210 (test-extras): Likewise.
18211 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18212 $(compile-command.c).
18213 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18214 (all-built-dso): Define.
18215 (check-textrel.out, check-execstack.out): Depend on it.
18217 * configure.in: Don't override --enable-multi-arch.
18219 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18222 * nscd/hstcache.c (tryagain): Define.
18223 (cache_addhst): Return tryagain not notfound for temporary errors.
18224 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18227 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18230 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18231 to make the syscall.
18232 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18235 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18236 and fall back to matching as normal character if the string ends before
18237 the matching ']' is found. This is what POSIX requires.
18238 * posix/testfnm.c: Adjust test result.
18239 * posix/globtest.sh: Adjust test result. Add new test.
18240 * posix/tst-fnmatch.input: Likewise.
18241 * posix/tst-fnmatch2.c: Add new test.
18243 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18245 * elf/Makefile (check-execstack): Revert last change. Depend on
18247 (check-execstack.h): New target.
18248 (generated): Add check-execstack.h.
18249 * elf/check-execstack.c: Include "check-execstack.h".
18250 (main): Revert last change.
18251 (handle_file): Return zero if GNU_STACK is absent and
18252 DEFAULT_STACK_PERMS doesn't include PF_X.
18254 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18256 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18257 in child fails because the descriptor is already closed.
18258 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18259 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18260 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18263 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18267 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18268 temporary buffer used to handle multi lookups locally.
18269 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18271 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18273 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18276 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18278 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18279 alignment for SSE2.
18281 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18284 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18285 characters. When rounding increased number of integer digits recompute
18287 * stdio-common/tst-grouping.c: New file.
18288 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18290 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18292 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18293 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18295 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18297 * bits/select.h: Likewise.
18299 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18301 * po/ja.po: Update from translation team.
18303 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18306 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18307 implementation just like for lxstat, fxstatat, et al.
18309 2010-12-27 Jim Meyering <meyering@redhat.com>
18312 * posix/regexec.c (build_trtable): Return failure indication upon
18313 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18315 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18318 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18319 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18320 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18321 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18324 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18327 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18328 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18330 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18332 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18333 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18334 script has SORT_BY_INIT_PRIORITY.
18335 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18336 NO_CTORS_DTORS_SECTIONS is defined.
18337 * elf/soinit.c: Likewise.
18338 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18339 NO_CTORS_DTORS_SECTIONS is defined.
18340 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18341 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18342 * sysdeps/sh/init-first.c: Likewise.
18343 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18345 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18347 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18348 always use the slow path.
18350 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18352 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18353 similar rule which adds the sysdep directories to the header search in
18354 order to pick up the correct platform stackinfo.h.
18355 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18356 perform test if it is, otherwise return successfully without testing.
18357 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18358 DEFAULT_STACK_PERMS define in stackinfo.h.
18359 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18360 defined in stackinfo.h.
18361 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18362 DEFAULT_STACK_PERMS defined in stackinfo.h.
18363 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18364 * sysdeps/ia64/stackinfo.h: Likewise.
18365 * sysdeps/s390/stackinfo.h: Likewise.
18366 * sysdeps/sh/stackinfo.h: Likewise.
18367 * sysdeps/sparc/stackinfo.h: Likewise.
18368 * sysdeps/x86_64/stackinfo.h: Likewise.
18369 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18370 PF_X for powerpc64. Retain PF_X for powerpc32.
18372 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18374 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18376 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18377 GETDENTS_64BIT_ALIGNED.
18379 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18381 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18383 2010-12-10 Andreas Schwab <schwab@redhat.com>
18385 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18388 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18389 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18391 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18392 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18394 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18397 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18400 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18402 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18404 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18406 * po/it.po: Update from translation team.
18408 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18413 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18415 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18417 2010-11-24 Andreas Schwab <schwab@redhat.com>
18419 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18421 (gaih_getanswer_slice): Likewise.
18423 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18427 2010-05-31 Petr Baudis <pasky@suse.cz>
18430 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18431 silently even in the chroot mode.
18433 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18435 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18436 last patch a bit. Pretty printing
18438 2010-05-31 Petr Baudis <pasky@suse.cz>
18441 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18442 initialization of skip_initgroups_dyn.
18444 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18446 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18447 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18449 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18451 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18453 2010-11-11 Andreas Schwab <schwab@redhat.com>
18455 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18456 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18457 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18458 ($(objpfx)tst-fnmatch-mem): New rule.
18459 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18460 * posix/tst-fnmatch.c (main): Call mtrace.
18462 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18465 Support Intel processor model 6 and model 0x2c.
18467 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18469 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18472 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18475 * string/test-strncasecmp.c (check_result): New function.
18476 (do_one_test): Use it.
18477 (check1): New function.
18478 (test_main): Use it.
18479 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18480 Support strcasecmp and strncasecmp.
18482 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18485 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18486 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18488 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18490 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18494 * sysdeps/x86_64/multiarch/bzero.S: New file.
18495 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18496 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18497 * sysdeps/x86_64/multiarch/memset.S: New file.
18498 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18500 Set bit_Prefer_SSE_for_memop for Intel processors.
18501 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18503 (index_Prefer_SSE_for_memop): Define.
18504 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18506 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18508 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18509 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18511 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18514 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18515 (__x86_64_raw_data_cache_size_half): Likewise.
18516 (__x86_64_raw_shared_cache_size): Likewise.
18517 (__x86_64_raw_shared_cache_size_half): Likewise.
18519 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18520 (__x86_64_raw_data_cache_size_half): Likewise.
18521 (__x86_64_raw_shared_cache_size): Likewise.
18522 (__x86_64_raw_shared_cache_size_half): Likewise.
18523 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18524 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18525 and __x86_64_raw_shared_cache_size_half. Round
18526 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18527 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18528 to multiple of 256 bytes.
18530 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18533 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18534 of inacessible symlinks. Verify result of symlink before returning it.
18535 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18536 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18538 2010-10-28 Erich Ritz <erichritz@gmail.com>
18540 * math/math.h (isinf): Fix typo in comment.
18542 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18544 * po/da.po: Update from translation team.
18546 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18548 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18549 is added to the list.
18551 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18552 Ulrich Drepper <drepper@gmail.com>
18554 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18555 the global list here. Move code to...
18556 (_dl_add_to_namespace_list): ...here. New function.
18557 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18558 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18559 * elf/dl-load.c (lose): Don't remove the element from the list.
18560 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18561 (_dl_map_object): Likewise.
18563 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18566 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18567 into all bytes of SSE register.
18568 Patch by Richard Li <richardpku@gmail.com>.
18570 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18573 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18576 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18578 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18579 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18580 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18581 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18586 2010-10-22 Andreas Schwab <schwab@redhat.com>
18588 * include/dlfcn.h (__RTLD_SECURE): Define.
18589 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18590 mode & __RTLD_SECURE instead.
18591 (open_path): Rename preloaded parameter to secure.
18592 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18593 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18594 * elf/dl-deps.c (openaux): Likewise.
18595 * elf/rtld.c (struct map_args): Remove is_preloaded.
18596 (map_doit): Don't use it.
18597 (dl_main): Likewise.
18598 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18599 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18601 2010-09-09 Andreas Schwab <schwab@redhat.com>
18603 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18604 (sysd-rules-targets): Remove duplicates.
18605 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18606 rtld-%.$o dependency.
18608 2010-10-18 Andreas Schwab <schwab@redhat.com>
18610 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18611 _dl_map_object do it.
18613 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18615 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18616 fast fma builtins, define the macros in the C99 standard.
18617 (FP_FAST_FMAF): Likewise.
18618 (FP_FAST_FMAL): Likewise.
18619 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18621 * bits/mathdef.h: Update copyright year.
18622 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18624 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18626 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18627 builtins, define the macros in the C99 standard.
18628 (FP_FAST_FMAF): Likewise.
18629 (FP_FAST_FMAL): Likewise.
18630 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18632 (FP_FAST_FMAF): Likewise.
18634 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18637 * math/libm-test.inc (fma_test): Some new testcases.
18638 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18639 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18640 y and infinite z. Do multiplication by C already in long double.
18641 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18643 y and infinite z. Do bitwise or of inexact bit into u.d.
18644 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18645 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18646 * sysdeps/i386/fpu/s_fma.S: Removed.
18647 * sysdeps/i386/fpu/s_fmal.S: Removed.
18649 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18652 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18653 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18654 computation is not scheduled after fetestexcept. Fix value
18655 of minimum denormal long double.
18657 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18660 * math/libm-test.inc (fma_test): Add some more tests.
18661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18664 2010-10-15 Andreas Schwab <schwab@redhat.com>
18666 * scripts/data/localplt-s390-linux-gnu.data: New file.
18667 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18669 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18672 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18673 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18675 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18677 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18679 if one of x and y is very large and the other is subnormal.
18680 * sysdeps/s390/fpu/s_fmaf.c: New file.
18681 * sysdeps/s390/fpu/s_fma.c: New file.
18682 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18683 * sysdeps/powerpc/fpu/s_fma.S: New file.
18684 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18685 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18686 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18688 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18691 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18693 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18694 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18695 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18696 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18697 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18698 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18699 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18701 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18704 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18705 * posix/bug-regex31.input: Add test case.
18707 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18709 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18710 * posix/bug-regex31.input: New file.
18713 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18714 (parse_sub_exp): Fix last change, use postorder.
18716 * posix/bug-regex31.c: New file.
18717 * posix/Makefile: Add rules to build and run bug-regex31.
18719 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18722 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18725 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18726 to have entries in sys_siglist.
18729 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18732 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18735 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18736 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18737 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18738 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18739 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18740 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18741 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18742 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18743 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18744 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18745 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18746 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18747 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18748 * math/ftestexcept.c (fetestexcept): Likewise.
18749 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18750 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18751 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18752 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18753 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18754 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18755 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18757 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18760 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18763 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18765 * string/bug-strstr1.c: New file.
18766 * string/Makefile: Add rules to build and run bug-strstr1.
18768 2010-10-05 Eric Blake <eblake@redhat.com>
18771 * string/str-two-way.h (two_way_long_needle): Always clear memory
18772 when skipping input due to the shift table.
18774 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18777 * malloc/mcheck.c: Handle large requests.
18780 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18781 for strncmp and strncasecmp.
18782 * string/stratcliff.c: Add tests for strcmp and strncmp.
18783 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18785 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18787 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18790 2010-09-30 Andreas Jaeger <aj@suse.de>
18792 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18793 (CGROUP_SUPER_MAGIC): Define.
18794 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18795 Handle btrfs and cgroup file systems.
18796 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18799 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18801 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18802 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18804 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18807 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18808 trying to locate the ELF header.
18810 2010-09-27 Andreas Schwab <schwab@redhat.com>
18813 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18814 Mask out sign-bit copies when constructing f_fsid.
18816 2010-09-24 Petr Baudis <pasky@suse.cz>
18818 * debug/stack_chk_fail_local.c: Add missing licence exception.
18819 * debug/warning-nop.c: Likewise.
18821 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18823 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18824 implementing getdents64 using getdents syscall, set d_type if
18825 __ASSUME_GETDENTS32_D_TYPE.
18827 2010-09-16 Andreas Schwab <schwab@redhat.com>
18829 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18830 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18832 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18835 * posix/unistd.h: Undo change of feature selection for ftruncate from
18838 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18840 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18843 2010-09-20 Andreas Schwab <schwab@redhat.com>
18845 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18847 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18849 2010-09-14 Andreas Schwab <schwab@redhat.com>
18851 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18852 variables after CHECK_SP call.
18853 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18855 2010-09-13 Andreas Schwab <schwab@redhat.com>
18856 Ulrich Drepper <drepper@redhat.com>
18858 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18859 re-relocationg ld.so.
18860 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18861 _dl_init_paths call.
18862 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18865 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18867 * resolv/res_init.c (__res_vinit): Count the default server we added.
18869 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18870 Ulrich Drepper <drepper@redhat.com>
18873 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18874 (____longjmp_chk): Use %ebx for saving value across system call.
18877 2010-09-06 Andreas Schwab <schwab@redhat.com>
18879 * manual/Makefile: Don't mix pattern rules with normal rules.
18881 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18883 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18885 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18886 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18887 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18888 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18889 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18892 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18895 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18896 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18898 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18900 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18901 * sysdeps/x86_64/addmul_1.S: Likewise.
18902 * sysdeps/x86_64/lshift.S: Likewise.
18903 * sysdeps/x86_64/mul_1.S: Likewise.
18904 * sysdeps/x86_64/rshift.S: Likewise.
18905 * sysdeps/x86_64/sub_n.S: Likewise.
18906 * sysdeps/x86_64/submul_1.S: Likewise.
18908 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18910 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18911 Define __sched_param instead of SCHED_* and sched_param when
18912 <bits/sched.h> is included with __need_schedparam defined.
18913 * bits/sched.h [__need_schedparam]
18914 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18915 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18916 (__defined_schedparam): Define to 1.
18917 (__sched_param): New structure, identical to sched_param.
18918 (__need_schedparam): Undefine.
18920 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18922 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18923 (epoll_create1): Declare.
18925 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18927 2010-08-31 Andreas Schwab <schwab@redhat.com>
18930 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18931 shifting retval into place.
18933 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18935 * nis/rpcsvc/nis.h: Update copyright notice.
18936 * nis/rpcsvc/nis.x: Likewise.
18937 * nis/rpcsvc/nis_callback.h: Likewise.
18938 * nis/rpcsvc/nis_callback.x: Likewise.
18939 * nis/rpcsvc/nis_object.x: Likewise.
18940 * nis/rpcsvc/nis_tags.h: Likewise.
18941 * nis/rpcsvc/yp.h: Likewise.
18942 * nis/rpcsvc/yp.x: Likewise.
18943 * nis/rpcsvc/ypupd.h: Likewise.
18944 * nis/yp_xdr.c: Likewise.
18945 * nis/ypupdate_xdr.c: Likewise.
18947 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18948 mainly the body of pmap_getport. Add parameters to specify timeouts.
18949 (pmap_getport): Use __libc_rpc_getport.
18950 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18951 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18952 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18954 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18959 2010-08-27 Roland McGrath <roland@redhat.com>
18961 * sysdeps/i386/i686/multiarch/Makefile
18962 (CFLAGS-varshift.c): New variable.
18964 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18966 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18967 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18969 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18971 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18973 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18975 * sysdeps/x86_64/strlen.S: Unroll the loop.
18976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18977 strlen-sse2 strlen-sse2-bsf.
18978 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18979 __strlen_no_bsf if bit_Slow_BSF is set.
18980 (__strlen_sse42): Removed.
18981 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18982 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18984 2010-08-25 Roland McGrath <roland@redhat.com>
18986 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18987 * sysdeps/x86_64/multiarch/varshift.c: New file.
18988 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18989 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18990 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18991 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18993 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18995 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18996 strlen-sse2 strlen-sse2-bsf.
18997 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18998 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18999 (__strlen_sse2): Removed.
19000 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19001 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19003 bit_Slow_BSF for Atom.
19004 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19005 (index_Slow_BSF): Define.
19006 (HAS_SLOW_BSF): Define.
19008 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19011 * resolv/res_init.c (__res_vinit): When no server address at all
19012 is given default to loopback.
19014 2010-08-24 Roland McGrath <roland@redhat.com>
19016 * configure.in: Remove config-name.h generation.
19017 * configure: Regenerated.
19018 * config-name.in: File removed.
19019 * scripts/config-uname.sh: New file.
19020 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19021 ($(objdir)config-name.h): New target.
19023 * sunrpc/rpc_parse.h: Avoid nested comment.
19025 2010-08-24 Richard Henderson <rth@redhat.com>
19026 Ulrich Drepper <drepper@redhat.com>
19027 H.J. Lu <hongjiu.lu@intel.com>
19029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19031 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19032 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19033 _mm_alignr_epi8 with _mm_loadu_si128.
19034 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19035 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19036 (__m128i_shift_right): Removed.
19037 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19038 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19039 * sysdeps/x86_64/multiarch/varshift.h: New file.
19040 * sysdeps/x86_64/multiarch/varshift.S: New file.
19042 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19044 * configure.in: Move assembler checks to before sysdep dir checking.
19046 2010-08-20 Petr Baudis <pasky@suse.cz>
19048 * LICENSES: Sync the sunrpc license.
19050 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19052 * sunrpc/auth_des.c: Update copyright notice once again.
19053 * sunrpc/auth_none.c: Likewise.
19054 * sunrpc/auth_unix.c: Likewise.
19055 * sunrpc/authdes_prot.c: Likewise.
19056 * sunrpc/authuxprot.c: Likewise.
19057 * sunrpc/bindrsvprt.c: Likewise.
19058 * sunrpc/clnt_gen.c: Likewise.
19059 * sunrpc/clnt_perr.c: Likewise.
19060 * sunrpc/clnt_raw.c: Likewise.
19061 * sunrpc/clnt_simp.c: Likewise.
19062 * sunrpc/clnt_tcp.c: Likewise.
19063 * sunrpc/clnt_udp.c: Likewise.
19064 * sunrpc/clnt_unix.c: Likewise.
19065 * sunrpc/des_crypt.c: Likewise.
19066 * sunrpc/des_soft.c: Likewise.
19067 * sunrpc/get_myaddr.c: Likewise.
19068 * sunrpc/getrpcport.c: Likewise.
19069 * sunrpc/key_call.c: Likewise.
19070 * sunrpc/key_prot.c: Likewise.
19071 * sunrpc/openchild.c: Likewise.
19072 * sunrpc/pm_getmaps.c: Likewise.
19073 * sunrpc/pm_getport.c: Likewise.
19074 * sunrpc/pmap_clnt.c: Likewise.
19075 * sunrpc/pmap_prot.c: Likewise.
19076 * sunrpc/pmap_prot2.c: Likewise.
19077 * sunrpc/pmap_rmt.c: Likewise.
19078 * sunrpc/rpc/auth.h: Likewise.
19079 * sunrpc/rpc/auth_unix.h: Likewise.
19080 * sunrpc/rpc/clnt.h: Likewise.
19081 * sunrpc/rpc/des_crypt.h: Likewise.
19082 * sunrpc/rpc/key_prot.h: Likewise.
19083 * sunrpc/rpc/netdb.h: Likewise.
19084 * sunrpc/rpc/pmap_clnt.h: Likewise.
19085 * sunrpc/rpc/pmap_prot.h: Likewise.
19086 * sunrpc/rpc/pmap_rmt.h: Likewise.
19087 * sunrpc/rpc/rpc.h: Likewise.
19088 * sunrpc/rpc/rpc_des.h: Likewise.
19089 * sunrpc/rpc/rpc_msg.h: Likewise.
19090 * sunrpc/rpc/svc.h: Likewise.
19091 * sunrpc/rpc/svc_auth.h: Likewise.
19092 * sunrpc/rpc/types.h: Likewise.
19093 * sunrpc/rpc/xdr.h: Likewise.
19094 * sunrpc/rpc_clntout.c: Likewise.
19095 * sunrpc/rpc_cmsg.c: Likewise.
19096 * sunrpc/rpc_common.c: Likewise.
19097 * sunrpc/rpc_cout.c: Likewise.
19098 * sunrpc/rpc_dtable.c: Likewise.
19099 * sunrpc/rpc_hout.c: Likewise.
19100 * sunrpc/rpc_main.c: Likewise.
19101 * sunrpc/rpc_parse.c: Likewise.
19102 * sunrpc/rpc_parse.h: Likewise.
19103 * sunrpc/rpc_prot.c: Likewise.
19104 * sunrpc/rpc_sample.c: Likewise.
19105 * sunrpc/rpc_scan.c: Likewise.
19106 * sunrpc/rpc_scan.h: Likewise.
19107 * sunrpc/rpc_svcout.c: Likewise.
19108 * sunrpc/rpc_tblout.c: Likewise.
19109 * sunrpc/rpc_util.c: Likewise.
19110 * sunrpc/rpc_util.h: Likewise.
19111 * sunrpc/rpcinfo.c: Likewise.
19112 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19113 * sunrpc/rpcsvc/key_prot.x: Likewise.
19114 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19115 * sunrpc/rpcsvc/mount.x: Likewise.
19116 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19117 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19118 * sunrpc/rpcsvc/rex.x: Likewise.
19119 * sunrpc/rpcsvc/rstat.x: Likewise.
19120 * sunrpc/rpcsvc/rusers.x: Likewise.
19121 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19122 * sunrpc/rpcsvc/spray.x: Likewise.
19123 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19124 * sunrpc/rtime.c: Likewise.
19125 * sunrpc/svc.c: Likewise.
19126 * sunrpc/svc_auth.c: Likewise.
19127 * sunrpc/svc_authux.c: Likewise.
19128 * sunrpc/svc_raw.c: Likewise.
19129 * sunrpc/svc_run.c: Likewise.
19130 * sunrpc/svc_simple.c: Likewise.
19131 * sunrpc/svc_tcp.c: Likewise.
19132 * sunrpc/svc_udp.c: Likewise.
19133 * sunrpc/svc_unix.c: Likewise.
19134 * sunrpc/svcauth_des.c: Likewise.
19135 * sunrpc/xcrypt.c: Likewise.
19136 * sunrpc/xdr.c: Likewise.
19137 * sunrpc/xdr_array.c: Likewise.
19138 * sunrpc/xdr_float.c: Likewise.
19139 * sunrpc/xdr_mem.c: Likewise.
19140 * sunrpc/xdr_rec.c: Likewise.
19141 * sunrpc/xdr_ref.c: Likewise.
19142 * sunrpc/xdr_sizeof.c: Likewise.
19143 * sunrpc/xdr_stdio.c: Likewise.
19145 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19148 2010-08-19 Andreas Schwab <schwab@redhat.com>
19150 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19152 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19154 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19155 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19156 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19157 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19158 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19159 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19160 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19161 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19162 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19163 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19164 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19165 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19166 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19167 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19169 2010-07-26 Anton Blanchard <anton@samba.org>
19171 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19172 * malloc/arena.c (heap_trim): Likewise.
19174 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19176 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19178 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19179 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19181 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19183 * sysdeps/i386/elf/Makefile: New file.
19185 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19187 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19188 from fanotify_init.
19189 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19192 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19194 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19196 * sysdeps/multiarch/strcmp.S: Likewise.
19198 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19200 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19201 strncase_l-nonascii.
19202 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19203 Add strncase_l-ssse3.
19204 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19205 * sysdeps/x86_64/strcmp.S: Likewise.
19206 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19207 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19208 * sysdeps/x86_64/strncase.S: New file.
19209 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19210 * sysdeps/x86_64/strncase_l.S: New file.
19211 * string/Makefile (strop-tests): Add strncasecmp.
19212 * string/test-strncasecmp.c: New file.
19214 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19217 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19218 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19220 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19222 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19224 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19226 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19227 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19228 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19230 2010-05-01 Alan Modra <amodra@gmail.com>
19232 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19233 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19234 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19235 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19236 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19237 tidying. Don't tail-call __sigjmp_save for static lib.
19238 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19240 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19241 (CALL_MCOUNT): Add eh info, and nop after bl.
19242 (TAIL_CALL_SYSCALL_ERROR): New macro.
19243 (PSEUDO_RET): Use it.
19244 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19245 Correct save location of integer regs and cr.
19246 (_dl_profile_resolve): Correct cr save location. Delete nops
19247 after bl when SHARED. Reduce cfi size a little by better
19248 placement of cfi directives.
19249 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19250 make a stack frame. Instead use parm save area as a temp.
19251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19252 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19254 Don't make a stack frame for parent, use parm save area.
19255 Increase child stack frame to 112 bytes. Don't save unused reg,
19256 and adjust reg usage. Set up cfi on error recovery and
19257 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19259 (__makecontext): Add dummy nop after jump to exit.
19260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19261 Use correct parm save area and cr save, reduce stack frame.
19262 Correct cfi for possible PSEUDO_RET frame setup.
19263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19264 Branch to local label emitted by PSEUDO_RET rather than
19267 2010-08-12 Andreas Schwab <schwab@redhat.com>
19270 * locale/programs/locale.c (print_assignment): New function.
19271 (show_locale_vars): Use it.
19273 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19275 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19277 (struct statfs64): Likewise.
19278 (_STATFS_F_FLAGS): Define.
19279 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19280 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19281 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19282 (ST_VALID): Define locally.
19283 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19284 __statvfs_getflags, use the provided value.
19285 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19286 __ASSUME_STATFS_F_FLAGS.
19288 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19290 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19291 Add sys/fanotify.h.
19292 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19293 fanotify_mask for GLIBC_2.13.
19294 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19295 fanotify_init and fanotify_mark.
19296 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19297 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19299 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19301 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19302 prlimit64 for GLIBC_2.13.
19303 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19305 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19308 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19309 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19310 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19311 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19313 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19316 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19317 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19319 * nss/Makefile: Add rules to build and run tst-nss-test1.
19320 * shlib-versions: Add entry for libnss_test1.
19321 * nss/nss_test1.c: New file.
19322 * nss/tst-nss-test1.c: New file.
19324 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19325 (__nss_configure_lookup): Set appropriate entry in
19326 __nss_configure_lookup to true.
19327 * nss/nsswitch.h: Define enum with indeces of databases in
19328 databases and __nss_database_custom arrays. Declare
19329 __nss_database_custom.
19330 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19331 to avoid using nscd when custom rules are installed.
19332 * nss/getXXbyYY_r.c: Likewise.
19333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19335 * nss/nss_files/files-parse.c: Whitespace fixes.
19337 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19340 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19341 * posix/fnmatch_loop.c: Likewise.
19343 2010-07-17 Andi Kleen <ak@linux.intel.com>
19345 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19346 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19347 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19348 * Versions.def [GLIBC_2.13]: Add.
19350 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19352 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19353 Also fail if tpwd after pwuid call is NULL.
19355 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19357 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19358 when converting to ms.
19360 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19362 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19363 EOPNOTSUPP errors with ENOTTY.
19364 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19365 EOPNOTSUPP errors with ENOTTY.
19367 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19369 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19370 Add strcasecmp_l-ssse3.
19371 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19373 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19374 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19375 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19377 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19379 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19381 * string/Makefile (strop-tests): Add strcasecmp.
19382 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19383 strcasecmp_l-nonascii.
19384 (gen-as-const-headers): Add locale-defines.sym.
19385 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19386 * sysdeps/x86_64/strcasecmp.S: New file.
19387 * sysdeps/x86_64/strcasecmp_l.S: New file.
19388 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19389 * sysdeps/x86_64/locale-defines.sym: New file.
19390 * string/test-strcasecmp.c: New file.
19392 * string/test-strcasestr.c: Test both ends of the range of characters.
19393 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19395 2010-07-29 Roland McGrath <roland@redhat.com>
19398 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19400 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19402 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19405 2010-07-27 Andreas Schwab <schwab@redhat.com>
19407 * manual/memory.texi (Malloc Tunable Parameters): Document
19410 2010-07-26 Roland McGrath <roland@redhat.com>
19413 * configure.in (-fgnu89-inline check): Set and substitute
19414 gnu89_inline, not libc_cv_gnu89_inline.
19415 * configure: Regenerated.
19416 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19418 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19420 * string/test-strnlen.c: New file.
19421 * string/Makefile (strop-tests): Add strnlen.
19422 * string/tester.c (test_strnlen): Add a few more test cases.
19423 * string/tst-strlen.c: Better error reporting.
19425 * sysdeps/x86_64/strnlen.S: New file.
19427 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19429 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19430 lower-latency instructions.
19432 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19434 * string/test-strcasestr.c: New file.
19435 * string/test-strstr.c: New file.
19436 * string/Makefile (strop-tests): Add strstr and strcasestr.
19437 * string/str-two-way.h: Don't undefine MAX.
19438 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19440 2010-07-21 Andreas Schwab <schwab@redhat.com>
19442 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19443 strcasestr-nonascii.
19444 (CFLAGS-strcasestr-nonascii.c): Define.
19445 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19446 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19447 Remove unused attribute.
19449 2010-07-20 Roland McGrath <roland@redhat.com>
19451 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19452 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19453 ld.so.cache was broken. With it, there is no way to disable dsocaps
19454 like LD_HWCAP_MASK can disable hwcaps.
19456 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19458 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19460 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19462 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19463 call in strcasestr.
19464 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19465 __strcasestr_sse42_nonascii.
19466 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19467 strcasestr-nonascii.c.
19468 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19470 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19472 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19473 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19474 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19475 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19477 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19479 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19482 2010-07-06 Andreas Schwab <schwab@redhat.com>
19485 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19488 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19490 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19491 _PC_PIPE_BUF using F_GETPIPE_SZ.
19493 2010-07-05 Roland McGrath <roland@redhat.com>
19495 * manual/arith.texi (Rounding Functions): Fix rint description
19496 implicit in round description.
19498 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19500 * elf/Makefile: Fix linking for a few tests to make recent linker
19503 2010-06-30 Andreas Schwab <schwab@redhat.com>
19505 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19506 $(common-objpfx)libc_nonshared.a.
19508 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19510 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19511 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19512 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19513 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19514 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19515 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19516 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19517 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19532 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19533 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19534 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19535 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19536 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19537 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19538 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19539 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19540 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19541 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19542 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19543 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19559 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19561 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19562 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19563 * string/memmove.c (memmove): Renamed to ...
19564 (MEMMOVE): ...this. Default to memmove.
19565 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19566 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19569 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19570 mempcpy-ssse3-back memmove-ssse3-back.
19571 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19572 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19573 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19574 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19575 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19576 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19577 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19578 * sysdeps/x86_64/multiarch/memmove.c: New file.
19579 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19580 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19581 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19582 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19583 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19584 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19586 (index_Fast_Copy_Backward): Define.
19587 (HAS_ARCH_FEATURE): Define.
19588 (HAS_FAST_REP_STRING): Define.
19589 (HAS_FAST_COPY_BACKWARD): Define.
19591 2010-06-21 Andreas Schwab <schwab@redhat.com>
19593 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19594 Restore proper fallback handling.
19596 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19599 * posix/group_member.c (__group_member): Correct checking loop.
19601 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19602 OOM in getpwuid_r correctly. Return error number when the caller
19603 should return, otherwise -1.
19604 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19605 call returning > 0 value.
19606 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19608 2010-06-07 Andreas Schwab <schwab@redhat.com>
19610 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19611 libc_nonshared.a from targets in modules-names.
19613 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19615 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19618 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19620 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19621 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19622 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19623 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19625 2010-06-02 Andreas Schwab <schwab@redhat.com>
19627 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19629 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19631 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19633 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19634 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19635 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19637 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19638 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19640 2010-06-14 Roland McGrath <roland@redhat.com>
19642 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19644 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19646 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19647 __REDIRECT followed by __THROW.
19648 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19649 * posix/getopt.h (getopt): Likewise.
19651 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19653 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19654 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19655 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19657 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19658 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19660 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19662 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19664 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19668 Properly check family and model.
19670 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19672 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19674 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19676 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19678 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19680 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19683 2010-05-19 Andreas Schwab <schwab@redhat.com>
19685 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19688 2010-05-21 Andreas Schwab <schwab@redhat.com>
19690 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19691 and internal_recvmmsg.
19692 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19693 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19694 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19695 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19697 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19698 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19699 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19701 2010-05-20 Andreas Schwab <schwab@redhat.com>
19703 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19705 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19707 POWER7 optimizations.
19708 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19709 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19711 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19713 * version.h: Update for 2.13 development version.
19715 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19717 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19718 exceptions. Return 0.
19720 2010-05-07 Roland McGrath <roland@redhat.com>
19722 * elf/ldconfig.c (main): Add a const.
19724 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19726 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19727 (args_options): Add no-idn option.
19728 (ahosts_keys_int): Add idn_flags to ai_flags.
19729 (parse_option): Handle 'i' option to clear idn_flags.
19731 * malloc/malloc.c (_int_free): Possible race in the most recently
19732 added check. Only act on the data if no current modification
19735 See ChangeLog.17 for earlier changes.