1 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4 * stdio-common/vfprintf.c (process_string_arg): Revert
7 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11 * stdio-common/tst-sprintf.c: Include <locale.h>
12 (main): Test sprintf's handling of incomplete multibyte
15 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17 * elf/dl-runtime.c (VERSYMIDX): Removed.
18 * elf/dl-version.c (VERSYMIDX): Likewise.
19 * elf/do-rel.h (VERSYMIDX): Likewise.
21 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22 * elf/rtld.c (VALIDX): Likewise.
24 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41 addresses are in the same scope as 192.0.2/24.
42 * posix/gai.conf: Document new scope table defaults.
44 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
48 for ftell. Compute offsets from write pointers instead.
49 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54 * libio/Makefile (tests): New test case tst-fseek.
55 * libio/tst-fseek.c: New test case to verify that fseek/ftell
56 combination works in wide mode.
57 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58 state when the external buffer state changes.
60 2012-09-27 David S. Miller <davem@davemloft.net>
63 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
64 pass reloc->r_addend in as the 'high' argument to
65 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
67 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
71 * rt/tst-aio2.c: Include <pthread.h>.
72 * rt/tst-aio3.c: Likewise.
74 2012-09-27 Steve Ellcey <sellcey@mips.com>
76 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
78 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
80 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
83 2012-09-26 Marek Polacek <polacek@redhat.com>
87 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
88 for C++ and GCC <4.3 as well as for non GCC compilers.
90 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
92 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
94 2012-09-25 Roland McGrath <roland@hack.frob.com>
96 * Makefile.in (all, install): Declare with .PHONY.
97 Reported by Michael Hope <michael.hope@linaro.org>.
99 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
101 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
102 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
104 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
106 (sydep_routines): Add the new and the internal functions.
107 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
108 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
110 (GLIBC_2.17): Add the new function.
111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
112 (GLIBC_2.17): Likewise.
113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
114 (GLIBC_2.17): Likewise.
115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
116 (GLIBC_2.17): Likewise.
117 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
119 2012-09-25 Alan Modra <amodra@gmail.com>
121 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
122 Add release barrier before setting once_control to say
123 initialisation is done. Add hints on lwarx. Use macro in
125 (clear_once_control): Add release barrier.
127 2012-09-25 Joseph Myers <joseph@codesourcery.com>
130 * math/s_clog.c (__clog): Handle more values close to |z| = 1
132 * math/s_clog10.c (__clog10): Likewise.
133 * math/s_clog10f.c (__clog10f): Likewise.
134 * math/s_clog10l.c (__clog10l): Likewise.
135 * math/s_clogf.c (__clogf): Likewise.
136 * math/s_clogl.c (__clogl): Likewise.
137 * math/Makefile (libm-calls): Add x2y2m1.
138 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
139 (__x2y2m1): Likewise.
140 (__x2y2m1l): Likewise.
141 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
142 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
143 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
144 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
145 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
146 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
147 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
148 * sysdeps/i386/fpu/libm-test-ulps: Update.
149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
152 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
153 int as type of variable DEPTH.
154 (glob): Use size_t instead of int as type of variables NEWCOUNT
157 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
159 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
161 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
162 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
163 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
164 macros for using routine as __sincosf_ia32.
165 Use macro for function declaration and weak_alias.
166 * sysdeps/i386/fpu/libm-test-ulps: Update.
168 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
171 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
173 * math/s_cexpf.c (__cexpf): Likewise.
174 * math/s_csinf.c (__csinf): Likewise.
175 * math/s_csinhf.c (__csinhf): Likewise.
176 * math/s_ctanf.c (__ctanf): Likewise.
177 * math/s_ctanhf.c (__ctanhf): Likewise.
178 * math/s_ccosh.c (__ccoshf): Likewise.
179 * math/s_cexp.c (__cexpl): Likewise.
180 * math/s_csin.c (__csin): Likewise.
181 * math/s_csinh.c (__csinh): Likewise.
182 * math/s_ctan.c (__ctan): Likewise.
183 * math/s_ctanh.c (ctanh): Likewise.
184 * math/s_ccoshl.c (__ccoshl): Likewise.
185 * math/s_cexpl.c (__cexpl): Likewise.
186 * math/s_csinl.c (__csinl): Likewise.
187 * math/s_csinhl.c (__csinhl): Likewise.
188 * math/s_ctanl.c (__ctanl): Likewise.
189 * math/s_ctanhl.c (__ctanhl): Likewise.
191 2012-09-25 Joseph Myers <joseph@codesourcery.com>
193 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
194 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
195 (_IO_off_t): Define to __off_t, not _G_off_t.
196 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
197 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
198 (_IO_wint_t): Define to wint_t, not _G_wint_t.
199 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
200 type of __dummy and __dummy2 fields.
201 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
202 (_G_ssize_t): Likewise.
203 (_G_off_t): Likewise.
204 (_G_pid_t): Likewise.
205 (_G_uid_t): Likewise.
206 (_G_wchar_t): Likewise.
207 (_G_wint_t): Likewise.
208 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
209 (_G_ssize_t): Likewise.
210 (_G_off_t): Likewise.
211 (_G_pid_t): Likewise.
212 (_G_uid_t): Likewise.
213 (_G_wchar_t): Likewise.
214 (_G_wint_t): Likewise.
215 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
216 (_G_ssize_t): Likewise.
217 (_G_off_t): Likewise.
218 (_G_pid_t): Likewise.
219 (_G_uid_t): Likewise.
220 (_G_wchar_t): Likewise.
221 (_G_wint_t): Likewise.
223 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
225 * malloc/arena.c: Include malloc-sysdep.h.
226 (shrink_heap): Use check_may_shrink_heap to decide if madvise
227 is sufficient to shrink the heap or an unmap is needed.
228 * sysdeps/generic/malloc-sysdep.h: New file. Define
229 new function check_may_shrink_heap.
230 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
231 new function check_may_shrink_heap.
233 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
235 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
238 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
240 * catgets/test-gencat.sh: Add "set -e".
241 * elf/tst-pathopt.sh: Likewise.
242 * grp/tst_fgetgrent.sh: Likewise.
243 * iconvdata/run-iconv-test.sh: Likewise.
244 * intl/tst-gettext.sh: Likewise.
245 * intl/tst-gettext2.sh: Likewise.
246 * intl/tst-gettext4.sh: Likewise.
247 * intl/tst-gettext6.sh: Likewise.
248 * intl/tst-translit.sh: Likewise.
249 * io/ftwtest-sh: Likewise.
250 * libio/test-freopen.sh: Likewise.
251 * malloc/tst-mtrace.sh: Likewise.
252 * posix/globtest.sh: Likewise.
253 * posix/tst-getconf.sh: Likewise.
254 * posix/wordexp-tst.sh: Likewise.
255 * stdio-common/tst-printf.sh: Likewise.
256 * stdio-common/tst-unbputc.sh: Likewise.
257 * stdlib/tst-fmtmsg.sh: Likewise.
258 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
259 * catgets/Makefile: Do not specify -e option when running
260 testsuite shell scripts.
261 * elf/Makefile: Likewise.
262 * grp/Makefile: Likewise.
263 * iconvdata/Makefile: Likewise.
264 * intl/Makefile: Likewise.
265 * io/Makefile: Likewise.
266 * libio/Makefile: Likewise.
267 * malloc/Makefile: Likewise.
268 * posix/Makefile: Likewise.
269 * stdio-common/Makefile: Likewise.
270 * stdlib/Makefile: Likewise.
271 * sysdeps/x86_64/Makefile: Likewise.
273 * io/ftwtest-sh: Add copyright header.
274 * posix/globtest.sh: Likewise.
275 * posix/tst-getconf.sh: Likewise.
276 * posix/wordexp-tst.sh: Likewise.
277 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
279 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
282 * Makeconfig (+link): Defined as $(+link-static) if
283 $(build-shared) isn't yes.
284 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
286 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
288 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
291 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
292 new chunk size with MALLOC_ALIGN_MASK.
294 2012-09-24 Joseph Myers <joseph@codesourcery.com>
297 * stdio-common/printf_fphex.c: Include <stdbool.h> and
299 (__printf_fphex): Determine rounding using get_rounding_mode and
301 * stdio-common/tst-printf-round.c (struct hex_test): New
303 (hex_tests): New variable.
304 (test_hex_in_one_mode): New function.
305 (do_test): Also run tests for hex float output.
307 2012-09-21 Joseph Myers <joseph@codesourcery.com>
309 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
310 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
311 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
312 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
313 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
314 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
315 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
316 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
318 2012-09-20 Joseph Myers <joseph@codesourcery.com>
320 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
321 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
322 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
323 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
325 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
328 * elf/rtld.c (dl_main): Limit the check for self loading to normal
330 * elf/tst-rtld-load-self.sh: New test.
331 * elf/Makefile: Run it.
333 2012-09-18 Joseph Myers <joseph@codesourcery.com>
335 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
336 (tst-writev-ENV): Remove.
337 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
339 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
341 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
343 2012-09-17 Joseph Myers <joseph@codesourcery.com>
345 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
347 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
349 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
350 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
351 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
354 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
357 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
358 * config.make.in (have-cpp-asm-debuginfo): Removed.
359 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
360 * configure: Regenerated.
362 2012-09-14 Joseph Myers <joseph@codesourcery.com>
365 * stdio-common/printf_fp.c: Include <stdbool.h> and
367 (___printf_fp): Determine rounding using get_rounding_mode and
369 * stdio-common/tst-printf-round.c: New file.
370 * stdio-common/Makefile (tests): Add tst-printf-round.
371 (link-libm): New variable.
372 ($(objpfx)tst-printf-round): Depend in $(link-libm).
374 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
377 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
378 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
380 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
383 2012-09-13 Joseph Myers <joseph@codesourcery.com>
385 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
386 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
387 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
388 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
390 2012-09-12 Joseph Myers <joseph@codesourcery.com>
393 * include/rounding-mode.h: New file.
394 * sysdeps/generic/get-rounding-mode.h: Likewise.
395 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
396 * stdlib/strtod_l.c: Include <rounding-mode.h>.
397 (MAX_VALUE): New macro.
398 (MIN_VALUE): Likewise.
399 (overflow_value): New function.
400 (underflow_value): Likewise.
401 (round_and_return): Use overflow_value and underflow_value to
402 determine return values in overflow and underflow cases. Use
403 round_away to determine rounding depending on rounding mode.
404 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
405 determine return values in overflow and underflow cases.
406 * stdlib/tst-strtod-round.c: Include <fenv.h>.
407 (struct test_results): New structure.
408 (struct test): Use struct test_results to store expected results
409 for all rounding modes.
410 (TEST): Include expected results for all rounding modes.
411 (test_in_one_mode): New function.
412 (do_test): Use test_in_one_mode to compute and check results.
413 Check results for all rounding modes.
414 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
417 2012-12-09 Allan McRae <allan@archlinux.org>
419 * sysdeps/i386/fpu/libm-test-ulps: Update
421 2012-09-11 Joseph Myers <joseph@codesourcery.com>
423 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
424 (_G_int32_t): Likewise.
425 (_G_uint16_t): Likewise.
426 (_G_uint32_t): Likewise.
427 (_G_HAVE_BOOL): Likewise.
428 (_G_HAVE_ATEXIT): Likewise.
429 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
430 (_G_HAVE_IO_FILE_OPEN): Likewise.
431 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
432 (_G_int32_t): Likewise.
433 (_G_uint16_t): Likewise.
434 (_G_uint32_t): Likewise.
435 (_G_HAVE_BOOL): Likewise.
436 (_G_HAVE_ATEXIT): Likewise.
437 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
438 (_G_HAVE_IO_FILE_OPEN): Likewise.
439 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
440 (_G_int32_t): Likewise.
441 (_G_uint16_t): Likewise.
442 (_G_uint32_t): Likewise.
443 (_G_HAVE_BOOL): Likewise.
444 (_G_HAVE_ATEXIT): Likewise.
445 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
446 (_G_HAVE_IO_FILE_OPEN): Likewise.
448 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
450 * csu/libc-tls.c: Update copyright years.
452 2012-09-10 Joseph Myers <joseph@codesourcery.com>
454 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
455 [!_G_USING_THUNKS]: Remove conditional code.
456 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
457 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
459 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
460 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
461 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
462 (_G_VTABLE_LABEL_PREFIX): Likewise.
463 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
464 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
465 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
466 (_G_VTABLE_LABEL_PREFIX): Likewise.
467 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
468 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
469 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
470 (_G_VTABLE_LABEL_PREFIX): Likewise.
471 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
473 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
475 * libio/Makefile: Include ../Makeconfig before tests.
476 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
477 only if $(build-shared) is yes.
479 * iconv/gconv_db.c: Update copyright years.
481 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
483 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
484 unwind info if defined PIC. Fix special cases description.
485 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
487 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
489 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
491 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
493 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
495 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
498 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
499 (LDLIBS-tst-chk4): This.
500 (LDFLAGS-tst-chk5): Renamed to ...
501 (LDLIBS-tst-chk5): This.
502 (LDFLAGS-tst-chk6): Renamed to ...
503 (LDLIBS-tst-chk6): This.
504 (LDFLAGS-tst-lfschk4): Renamed to ...
505 (LDLIBS-tst-lfschk4): This.
506 (LDFLAGS-tst-lfschk5): Renamed to ...
507 (LDLIBS-tst-lfschk5): This.
508 (LDFLAGS-tst-lfschk6): Renamed to ...
509 (LDLIBS-tst-lfschk6): This.
511 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
512 on $(common-objpfx)soversions.mk.
514 2012-09-07 Joseph Myers <joseph@codesourcery.com>
517 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
520 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
522 * malloc/arena.c (arena_get_retry): New function that gets
523 another arena for the caller to try its request on.
524 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
525 current arena cannot fulfill the request.
526 (__libc_memalign): Likewise.
527 (__libc_memalign): Likewise.
528 (__libc_pvalloc): Likewise.
529 (__libc_calloc): Likewise.
531 2012-09-05 John Tobey <john.tobey@gmail.com>
534 * manual/arith.texi (Operations on Complex): Fix description
537 2012-09-06 Joseph Myers <joseph@codesourcery.com>
540 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
544 * manual/memory.texi (Memory): Make order of menu items match
547 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
549 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
550 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
551 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
553 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
555 * csu/libc-tls.c (static_dtv): Renamed to ...
556 (_dl_static_dtv): This. Make it global.
557 (_dl_initial_dtv): Removed.
558 (__libc_setup_tls): Updated.
559 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
560 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
563 2012-09-06 Petr Machata <pmachata@redhat.com>
565 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
566 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
567 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
568 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
570 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
573 * csu/libc-tls.c (_dl_initial_dtv): New variable.
574 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
577 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
580 * Makeconfig (link-static-before-libc): Replace $(+prector)
582 (link-static-after-libc): Replace $(+postctor) with
584 (link-bounded): Replace $(+prector)/$(+postctor) with
585 $(+prectorT)/$(+postctorT).
586 (+prectorT): New macro.
587 (+postctorT): Likewise.
589 2012-09-06 Joseph Myers <joseph@codesourcery.com>
591 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
592 (round_str): Handle values above the maximum for IBM long double
594 * stdlib/tst-strtod-round.c (tests): Regenerated.
596 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
598 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
600 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
601 zarch_nohighgprs around the zarch optimized routines.
602 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
603 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
604 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
607 2012-09-05 David S. Miller <davem@davemloft.net>
609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
611 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
612 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
613 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
614 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
617 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
619 * malloc/arena.c: Fold copyright years.
620 * malloc/mcheck.c, malloc/memusage.c: Likewise.
622 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
624 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
626 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
628 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
630 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
632 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
633 change internal state upon failure.
635 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
637 * malloc/mcheck.c (mcheck_check_all): Fix typo.
638 * malloc/memusage.c (mmap): Likewise.
639 (mmap64, mremap): Likewise. Adjust name in comment.
641 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
643 * libio/fileops.c: Fix typos in comments.
644 * libio/oldfileops.c: Likewise.
645 * libio/wfileops.c: Likewise.
647 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
650 * malloc/Makefile (tests): Add tst-malloc-usable test case.
651 (tst-malloc-usable-ENV): Set environment for test case.
652 * malloc/hooks.c (malloc_check_get_size): New function to get
654 * malloc/malloc.c (musable): Use malloc_check_get_size.
655 * malloc/tst-malloc-usable.c: New test case.
657 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
659 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
661 2012-09-05 Allan McRae <allan@archlinux.org>
664 * configure.in (CXX_SYSINCLUDES): Use compiler output to
665 determine header location.
666 * configure: Regenerated.
668 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
670 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
672 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
673 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
677 2012-09-04 David S. Miller <davem@davemloft.net>
679 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
680 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
681 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
683 2012-09-04 Florian Weimer <fweimer@redhat.com>
685 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
688 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
690 2012-09-04 Joseph Myers <joseph@codesourcery.com>
693 * libio/iogetdelim.c: Include <limits.h>.
694 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
695 + len + 1 would overflow.
697 2012-09-03 Andreas Jaeger <aj@suse.de>
699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
700 * sysdeps/i386/fpu/libm-test-ulps: Update.
702 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
704 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
705 Add s_sinf-sse2, s_conf-sse2.
707 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
708 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
709 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
710 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
712 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
713 for using routine as __sinf_ia32.
714 Use macro for function declaration and weak_alias.
715 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
716 for using routine as __cosf_ia32.
717 Use macro for function declaration and weak_alias.
719 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
720 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
722 * sysdeps/x86_64/fpu/s_sinf.S: New file.
723 * sysdeps/x86_64/fpu/s_cosf.S: New file.
724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
726 * math/libm-test.inc (cos_test): Add more test cases.
727 (sin_test): Likewise.
728 (sincos_test): Likewise.
730 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
732 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
733 (IFUNC_RESOLVE): Make pointers to the specialized implementations
735 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
737 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
740 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
741 first element of the GOT.
742 (elf_machine_load_address): Return the difference between
743 the runtime address of _DYNAMIC and elf_machine_dynamic ().
745 2012-09-01 Allan McRae <allan@archlinux.org>
748 * configure.in (AWK): Require gawk version 3.0 or later.
749 * configure: Regenerated.
751 2012-09-01 Joseph Myers <joseph@codesourcery.com>
753 * sysdeps/unix/sysv/linux/kernel-features.h
754 (__ASSUME_POSIX_CPU_TIMERS): Remove.
755 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
756 [__NR_clock_getres]: Make code unconditional.
757 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
758 (clock_getcpuclockid): Remove code left unreachable by removal of
760 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
762 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
763 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
764 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
765 Make code unconditional.
766 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
767 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
768 * sysdeps/unix/sysv/linux/clock_settime.c
769 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
771 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
772 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
774 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
777 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
778 scripts/test-installation.pl.
780 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
781 and $ld_so_version if it is set.
783 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
786 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
787 failure if reading from procfs failed.
788 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
790 2012-08-27 Joseph Myers <joseph@codesourcery.com>
792 * sysdeps/unix/sysv/linux/kernel-features.h
793 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
794 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
795 Remove conditional code.
796 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
797 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
798 Remove conditional code.
799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
800 * sysdeps/unix/sysv/linux/i386/fxstat.c
801 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
803 * sysdeps/unix/sysv/linux/i386/fxstatat.c
804 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
805 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
806 * sysdeps/unix/sysv/linux/i386/lxstat.c
807 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
808 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
809 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
810 Remove conditional code.
811 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
812 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
813 Remove conditional code.
814 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
815 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
817 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
819 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
820 Remove conditional code.
821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
822 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
825 2012-08-27 Mike Frysinger <vapier@gentoo.org>
828 * NEWS: Add fixed bug number.
830 2012-08-27 Joseph Myers <joseph@codesourcery.com>
833 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
834 underflowing exponent in case of negative sign.
835 * stdlib/tst-strtod-round-data: Add more tests.
836 * stdlib/tst-strtod-round.c (tests): Regenerated.
839 * stdlib/strtod_l.c (NDIG): Remove.
841 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
842 smallest representable value.
843 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
844 lie within an exact representation of 1/2 ulp of the result.
845 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
847 (TENS_P9_IDX): Define unconditionally.
848 (TENS_P9_SIZE): Likewise.
849 (TENS_P10_IDX): Likewise.
850 (TENS_P10_SIZE): Likewise.
851 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
852 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
853 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
854 entries for 10^2^13 and 10^2^14.
855 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
856 (TENS_P13_IDX): Define.
857 (TENS_P13_SIZE): Likewise.
858 (TENS_P14_IDX): Likewise.
859 (TENS_P14_SIZE): Likewise.
860 (_fpioconst_pow10): Change array size to
861 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
863 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
864 1024]: Add entries for 10^2^13 and 10^2^14.
865 [LAST_POW10 > _LAST_POW10]: Remove #error.
866 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
867 (_fpioconst_pow10): Change array size to
868 FPIOCONST_POW10_ARRAY_SIZE.
869 * stdlib/gen-fpioconst.c: New file.
870 * stdlib/gen-tst-strtod-round.c: Likewise.
871 * stdlib/tst-strtod-round-data: Likewise.
872 * stdlib/tst-strtod-round.c: Likewise.
873 * stdlib/Makefile (tests): Add tst-strtod-round.
876 * stdlib/strtod_l.c: Include <stdint.h>.
877 (NDEBUG): Do not define.
878 (round_and_return): Change EXPONENT parameter to type intmax_t.
879 Rearrange calculations to avoid internal overflow possibilities.
880 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
881 Rearrange calculations to avoid internal overflow possibilities.
882 Assert that number fits inside MPNSIZE limbs.
883 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
884 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
885 calculations and add assertions to avoid internal overflow
886 possibilities. Add casts to avoid signed/unsigned operations.
887 * stdlib/tst-strtod-overflow.c: New file.
888 * stdlib/Makefile (tests): Add tst-strtod-overflow.
890 2012-08-25 Marek Polacek <polacek@redhat.com>
892 * time/time.h: Fix some typos in comments.
894 2012-08-23 Roland McGrath <roland@hack.frob.com>
896 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
897 * posix/tst-rfc3484-2.c: Likewise.
898 * posix/tst-rfc3484-3.c: Likewise.
900 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
902 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
903 (EF_ARM_ABI_FLOAT_HARD): Likewise.
905 2012-08-23 Joseph Myers <joseph@codesourcery.com>
907 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
908 #include of fxstatat64.c.
910 2012-08-22 Roland McGrath <roland@hack.frob.com>
912 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
913 * shadow/getspent_r.c: Likewise.
914 * shadow/getspnam.c: Likewise.
915 * shadow/getspnam_r.c: Likewise.
916 * gshadow/getsgent.c: Likewise.
917 * gshadow/getsgent_r.c: Likewise.
918 * gshadow/getsgnam.c: Likewise.
919 * gshadow/getsgnam_r.c: Likewise.
920 * inet/getnetbyad.c: Likewise.
921 * inet/getnetbyad_r.c: Likewise.
922 * inet/getnetbynm.c: Likewise.
923 * inet/getnetbynm_r.c: Likewise.
924 * inet/getnetent.c: Likewise.
925 * inet/getnetent_r.c: Likewise.
926 * inet/getproto.c: Likewise.
927 * inet/getproto_r.c: Likewise.
928 * inet/getprtent.c: Likewise.
929 * inet/getprtent_r.c: Likewise.
930 * inet/getprtname.c: Likewise.
931 * inet/getprtname_r.c: Likewise.
932 * inet/getrpcbyname.c: Likewise.
933 * inet/getrpcbyname_r.c: Likewise.
934 * inet/getrpcbynumber.c: Likewise.
935 * inet/getrpcbynumber_r.c: Likewise.
936 * inet/getrpcent.c: Likewise.
937 * inet/getrpcent_r.c: Likewise.
938 * inet/getaliasent.c: Likewise.
939 * inet/getaliasent_r.c: Likewise.
940 * inet/getaliasname.c: Likewise.
941 * inet/getaliasname_r.c: Likewise.
942 * nscd/getgrgid_r.c: Likewise.
943 * nscd/getgrnam_r.c: Likewise.
944 * nscd/gethstbyad_r.c: Likewise.
945 * nscd/gethstbynm3_r.c: Likewise.
946 * nscd/getpwnam_r.c: Likewise.
947 * nscd/getpwuid_r.c: Likewise.
948 * nscd/getsrvbynm_r.c: Likewise.
949 * nscd/getsrvbypt_r.c: Likewise.
950 * nscd/gai.c: Likewise.
952 * configure.in (build_nscd): New substituted variable, set
953 by --disable-build-nscd and defaults to $use_nscd.
954 * configure: Regenerated.
955 * config.make.in (build-nscd): New substituted variable.
956 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
957 Change conditional to require [$(build-nscd) = yes] as well.
958 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
961 * configure.in (use_nscd): New substituted variable, set by
962 --disable-nscd. If enabled, define USE_NSCD.
963 * configure: Regenerated.
964 * config.h.in: Add USE_NSCD.
965 * config.make.in (use-nscd): New substituted variable.
966 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
967 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
968 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
969 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
970 (CFLAGS-getgrnam_r.c): Likewise.
971 (CFLAGS-initgroups.c): Likewise.
972 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
973 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
975 * inet/getnetgrent_r.c
976 (nscd_setnetgrent): New function, broken out of ...
977 (setnetgrent): ... here. Call it.
978 (innetgr): Conditionalize nscd bits on [USE_NSCD].
979 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
980 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
981 * nscd/Makefile (routines, aux): Move definitions after include of
982 Makeconfig. Conditionalize on [$(use-nscd) != no].
983 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
984 Conditionalize on [USE_NSCD].
985 (is_nscd, nscd_init_cb): Likewise.
986 (nss_load_library): Conditionalize init callback on [USE_NSCD].
987 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
988 * nss/nss_db/db-init.c: Likewise.
989 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
991 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
992 (make_request): Use it.
993 (cache_valid_p): New function.
994 (__check_pf): Use it.
995 * NEWS: Add item for --disable-nscd.
997 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
999 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1000 to support sed >= 4.2.1-20-ga9bf076.
1001 * configure: Regenerated.
1003 2012-08-22 Roland McGrath <roland@hack.frob.com>
1005 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1006 Conditionalize whole body on [IREL].
1008 2012-08-22 Jeff Law <law@redhat.com>
1011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1012 if the family is PF_UNSPEC.
1014 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1016 * Makerules (lib-version): Rename from V.
1017 (install-lib-nosubdir): Change V to lib-version.
1019 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1022 * powerpc32/power6/wcschr.c: New file.
1023 * powerpc32/power6/wcscpy.c: New file.
1024 * powerpc32/power6/wcsrchr.c: New file.
1025 * powerpc64/power6/wcschr.c: New file.
1026 * powerpc64/power6/wcscpy.c: New file.
1027 * powerpc64/power6/wcsrchr.c: New file.
1029 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1031 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1032 (two_way_short_needle): Use it.
1033 * string/strstr.c (AVAILABLE1_USES_J): Define.
1034 * string/strcasestr.c: Likewise.
1036 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1038 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1041 * NEWS: Add an entry.
1042 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1043 define their defaults.
1044 (two_way_short_needle): Detect end-of-string on-the-fly.
1045 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1046 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1047 * string/bug-strcasestr1.c: New test.
1048 * string/Makefile: Run it.
1050 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1053 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1054 the first character.
1056 2012-08-21 Roland McGrath <roland@hack.frob.com>
1058 * csu/elf-init.c (__libc_csu_irel): Function removed.
1059 * csu/libc-start.c (apply_irel): New function.
1060 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1062 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1064 * sysdeps/unix/sysv/linux/kernel-features.h
1065 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1066 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1067 <kernel-features.h>.
1068 [__NR_fadvise64_64]: Make code unconditional.
1069 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1070 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1071 !__NR_fadvise64_64)]: Likewise.
1072 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1073 !__NR_fadvise64_64))]: Likewise.
1074 [__NR_fadvise64]: Make code unconditional.
1075 [!__NR_fadvise64]: Remove conditional code.
1076 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1077 <kernel-features.h>.
1078 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1080 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1083 not include <kernel-features.h>.
1084 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1086 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1088 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1089 include <kernel-features.h>.
1090 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1092 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1095 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1097 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1098 slight instruction rearrangements per scrollpipe analysis.
1099 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1101 2012-08-20 Roland McGrath <roland@hack.frob.com>
1103 * manual/syslog.texi (syslog; vsyslog, closelog):
1104 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1105 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1107 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1108 DSOCAPS to match condition on defining it.
1110 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1112 * sysdeps/unix/sysv/linux/kernel-features.h
1113 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1115 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1116 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1118 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1119 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1121 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1122 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1124 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1125 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1127 * sysdeps/unix/sysv/linux/kernel-features.h
1128 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1129 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1131 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1132 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1133 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1134 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1135 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1136 Make code unconditional.
1137 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1138 (__mmap64) [!__NR_mmap2]: Likewise.
1139 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1140 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1141 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1142 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1143 [__NR_mmap2]: Make code unconditional.
1144 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1145 (__mmap64) [!__NR_mmap2]: Likewise.
1147 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1149 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1151 2012-08-18 Andreas Jaeger <aj@suse.de>
1153 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1155 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1157 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1158 * include/unistd.h (__have_sock_cloexec): Likewise.
1159 (__have_pipe2): Likewise.
1160 (__have_dup3): Likewise.
1162 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1165 * include/unistd.h (__have_pipe2): Change define into an extern int.
1166 (__have_dup3): Likewise.
1167 * socket/have_sock_cloexec.c: Include fcntl.h.
1168 (__have_pipe2): New variable.
1169 (__have_dup3): Likewise.
1171 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1173 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1175 2012-08-17 Marek Polacek <polacek@redhat.com>
1177 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1178 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1180 2012-08-17 Roland McGrath <roland@hack.frob.com>
1182 * configure.in: Add AC_SUBST for sysheaders.
1183 * configure: Regenerated.
1184 * config.make.in (sysheaders): New substituted variable.
1186 * sysdeps/unix/mkfifo.c: Moved ...
1187 * sysdeps/posix/mkfifo.c: ... here.
1188 * sysdeps/unix/mkfifoat.c: Moved ...
1189 * sysdeps/posix/mkfifoat.c: ... here.
1191 * sysdeps/unix/utime.c: Moved ...
1192 * sysdeps/posix/utime.c: ... here.
1194 * sysdeps/unix/time.c: Moved ...
1195 * sysdeps/posix/time.c: ... here.
1196 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1197 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1199 * sysdeps/unix/nice.c: Moved ...
1200 * sysdeps/posix/nice.c: ... here.
1202 * sysdeps/unix/alarm.c: Moved ...
1203 * sysdeps/posix/alarm.c: ... here.
1205 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1207 2012-08-17 Jeff Law <law@redhat.com>
1209 * intl/Makefile (codeset_mo): New variable.
1210 ($(codeset_mo)): New target.
1211 (tst-codeset.out): Depend on that. Remove explicit rule.
1212 (tst-gettext3.out, tst-gettext5.out): Likewise.
1213 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1214 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1215 * intl/tst-codeset.sh: Remove.
1216 * intl/tst-gettext3.sh: Likewise.
1217 * intl/tst-gettext5.sh: Likewise.
1219 2012-08-17 Roland McGrath <roland@hack.frob.com>
1221 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1222 * sysdeps/unix/syscalls.list: ... here.
1224 * sysdeps/posix/getaddrinfo.c
1225 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1226 (gaiconf_init, gaiconf_reload): Use them.
1228 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1229 Define using time_t rather than struct timespec.
1231 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1232 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1234 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1236 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1237 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1240 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1241 __libc_cleanup_push argument.
1243 * bits/param.h: New file.
1244 * misc/sys/param.h: New file.
1245 * include/sys/param.h: New file.
1246 * misc/Makefile (headers): Add bits/param.h.
1247 * sysdeps/generic/sys/param.h: File removed.
1248 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1249 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1250 * sysdeps/mach/hurd/bits/param.h: New file.
1251 * sysdeps/mach/hurd/sys/param.h: New file.
1253 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1256 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1258 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1259 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1262 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1263 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1264 rather than -D_IO_MTSAFE_IO conditionally.
1265 * stdio-common/Makefile (CPPFLAGS): Likewise.
1266 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1267 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1268 Use $(libio-mtsafe).
1269 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1271 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1272 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1273 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1274 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1275 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1276 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1277 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1278 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1279 (CFLAGS-fread_u_chk.c): Likewise.
1280 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1281 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1282 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1283 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1284 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1285 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1286 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1287 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1288 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1290 * libio/Makefile: Test [$(libc-reentrant) = yes]
1291 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1294 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1295 * sysdeps/pthread/configure: File removed.
1296 * sysdeps/pthread/Makeconfig: New file.
1297 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1298 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1300 2012-08-16 Gary Benson <gbenson@redhat.com>
1302 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1303 unmapping the first object in a namespace.
1305 2012-08-16 Roland McGrath <roland@hack.frob.com>
1307 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1308 (__internal_setnetgrent): ... this. Add internal_function to
1309 definition. Add libc_hidden_def.
1310 (setnetgrent): Update caller.
1311 (internal_endnetgrent): Renamed to ...
1312 (__internal_endnetgrent): ... this. Add internal_function to
1313 definition. Add libc_hidden_def.
1314 (endnetgrent): Update caller.
1315 (internal_getnetgrent_r): Renamed to ...
1316 (__internal_getnetgrent_r): ... this. Add internal_function to
1317 definition. Add libc_hidden_def.
1318 (__getnetgrent_r): Update caller.
1319 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1321 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1323 * stdlib/longlong.h: Update from GCC.
1325 2012-08-16 Roland McGrath <roland@hack.frob.com>
1327 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1328 on _QL, which is set by umul_ppmm but never used.
1329 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1330 variables, which are set by GMP macros but never used.
1331 * stdio-common/_itowa.c (_itowa): Likewise.
1332 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1333 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1335 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1337 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1338 struct La_sh_regs is not constant.
1339 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1340 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1341 and struct La_sparc64_regs are not constant.
1343 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1345 * sysdeps/unix/sysv/linux/kernel-features.h
1346 (__ASSUME_POSIX_TIMERS): Remove.
1347 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1348 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1349 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1350 Make code unconditional.
1351 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1352 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1353 Make code unconditional.
1354 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1355 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1356 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1357 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1358 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1359 Make code unconditional.
1360 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1361 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1362 (__libc_missing_posix_timers): Remove.
1364 2012-08-15 Roland McGrath <roland@hack.frob.com>
1366 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1367 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1369 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1371 * elf/dl-sym.c: Include <stdlib.h>.
1373 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1374 constants, which avoids warnings in 32-bit builds.
1376 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1377 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1379 * misc/lseek.c: File moved to ...
1380 * io/lseek.c: ... here.
1382 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1384 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1385 shifting LEN more than 31 bits at once.
1387 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1390 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1391 segmentation fault for a case of two empty input strings.
1392 * string/test-strncasecmp.c (check1): Renamed to...
1394 (bz14195): Add new testcase for two empty input strings and N > 0.
1395 (test_main): Call new testcase, adapt for renamed function.
1397 2012-08-15 Andreas Jaeger <aj@suse.de>
1400 * crypt/md5test2.c: New test, based on test supplied by Serge
1401 Belyshev <belyshev@depni.sinp.msu.ru>.
1402 * crypt/Makefile (xtests): Add md5test-giant..
1403 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1405 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1408 * crypt/md5.c (md5_process_block): Don't assume the buffer
1409 length is less than 2**32.
1410 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1411 length is less than 2**64.
1413 2012-08-15 Roland McGrath <roland@hack.frob.com>
1415 * string/str-two-way.h: Include <sys/param.h>.
1416 (MAX): Macro removed.
1418 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1419 Move #define and #undef of memmove to just before and after
1420 including <string.h>.
1422 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1423 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1424 and after including <string.h>. Move declarations of
1425 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1426 to before #include "string/memmove.c".
1428 * include/dirent.h: Declare __getdirentries.
1430 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1431 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1433 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1435 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1436 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1437 * sysdeps/i386/configure: Regenerated.
1438 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1439 STABS_CURRENT_FILE, and STABS_FUN.
1440 (END): Remove call to STABS_FUN_END.
1441 (STABS_CURRENT_FILE1): Delete.
1442 (STABS_CURRENT_FILE): Likewise.
1443 (STABS_FUN): Likewise.
1444 (STABS_FUN_END): Likewise.
1445 (STABS_FUN2): Likewise.
1446 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1447 * sysdeps/x86_64/configure: Regenerated.
1449 2012-08-14 Roland McGrath <roland@hack.frob.com>
1451 * elf/dl-open.c: Include <atomic.h>.
1452 * elf/dl-lookup.c: Likewise.
1454 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1456 * sysdeps/unix/sysv/linux/kernel-features.h
1457 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1458 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1460 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1462 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1463 condition on __ASSUME_CLONE_THREAD_FLAGS.
1465 2012-08-14 Andreas Jaeger <aj@suse.de>
1467 * sysdeps/i386/fpu/libm-test-ulps: Update.
1469 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1471 * include/atomic.h (atomic_exchange_and_add): Split into ...
1472 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1475 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1479 2012-08-13 Jeff Law <law@redhat.com>
1481 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1482 null byte in the output string.
1484 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1486 * sysdeps/unix/sysv/linux/kernel-features.h
1487 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1488 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1489 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1490 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1491 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1492 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1493 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1495 2012-08-09 Jeff Law <law@redhat.com>
1498 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1499 When avoid_arena is set, don't retry in the that arena. Pick the
1500 next one, whatever it might be.
1501 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1502 (arena_lock): Pass in new parameter to arena_get2.
1503 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1505 (__libc_malloc): Unify retrying after main arena failure with
1506 __libc_memalign version.
1507 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1509 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1512 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1513 to __redirect_strstr.
1514 (__strstr_sse42): Use typeof __redirect_strstr.
1515 (__strstr_ia32): Likewise.
1516 (__libc_strstr): New prototype.
1517 (strstr): Renamed to ...
1518 (__libc_strstr): This.
1519 (strstr): New strong alias of __libc_strstr.
1520 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1521 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1524 (__libc_time): New prototype.
1525 (time_ifunc): Replace time with __libc_time.
1526 (time): New strong alias and hidden definition of __libc_time.
1527 (__GI_time): Remove strong alias.
1528 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1530 (memmove): Redefined to __redirect_memmove.
1531 (__memmove_sse2): Use typeof __redirect_memmove.
1532 (__memmove_ssse3): Likewise.
1533 (__memmove_ssse3_back): Likewise.
1534 (__libc_memmove): New prototype.
1535 (memmove): Renamed to ...
1536 (__libc_memmove): This.
1537 (memmove): New strong alias of __libc_memmove.
1539 2012-08-08 Mark Salter <msalter@redhat.com>
1542 (R_MN10300_TLS_GD): Define.
1543 (R_MN10300_TLS_LD): Likewise.
1544 (R_MN10300_TLS_LDO): Likewise.
1545 (R_MN10300_TLS_GOTIE): Likewise.
1546 (R_MN10300_TLS_IE): Likewise.
1547 (R_MN10300_TLS_LE): Likewise.
1548 (R_MN10300_TLS_DTPMOD): Likewise.
1549 (R_MN10300_TLS_DTPOFF): Likewise.
1550 (R_MN10300_TLS_TPOFF): Likewise.
1551 (R_MN10300_SYM_DIFF): Likewise.
1552 (R_MN10300_ALIGN): Likewise.
1553 (R_MN10300_NUM): Update.
1555 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1557 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1560 2012-08-08 Roland McGrath <roland@hack.frob.com>
1562 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1564 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1565 sysdeps/unix -> sysdeps/posix move.
1566 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1568 2012-08-07 Allan McRae <allan@archlinux.org>
1571 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1572 (SUNOS_CPP): Likewise.
1573 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1575 (open_input): Call CPP using execvp.
1577 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1579 * sysdeps/unix/sysv/linux/kernel-features.h
1580 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1581 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1582 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1583 (__ASSUME_WAITID_SYSCALL): Likewise.
1584 * sysdeps/unix/sysv/linux/dl-execstack.c
1585 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1587 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1589 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1590 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1591 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1593 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1595 [__ASSUME_WAITID_SYSCALL]: Likewise.
1596 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1598 2012-08-07 Roland McGrath <roland@hack.frob.com>
1600 * sysdeps/unix/closedir.c: Renamed to ...
1601 * sysdeps/posix/closedir.c: ... here.
1602 * sysdeps/unix/dirfd.c: Renamed to ...
1603 * sysdeps/posix/dirfd.c: ... here.
1604 * sysdeps/unix/dirstream.h: Renamed to ...
1605 * sysdeps/posix/dirstream.h: ... here.
1606 * sysdeps/unix/fdopendir.c: Renamed to ...
1607 * sysdeps/posix/fdopendir.c: ... here.
1608 * sysdeps/unix/opendir.c: Renamed to ...
1609 * sysdeps/posix/opendir.c: ... here.
1610 * sysdeps/unix/readdir.c: Renamed to ...
1611 * sysdeps/posix/readdir.c: ... here.
1612 * sysdeps/unix/readdir_r.c: Renamed to ...
1613 * sysdeps/posix/readdir_r.c: ... here.
1614 * sysdeps/unix/rewinddir.c: Renamed to ...
1615 * sysdeps/posix/rewinddir.c: ... here.
1616 * sysdeps/unix/seekdir.c: Renamed to ...
1617 * sysdeps/posix/seekdir.c: ... here.
1618 * sysdeps/unix/telldir.c: Renamed to ...
1619 * sysdeps/posix/telldir.c: ... here.
1620 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1621 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1622 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1623 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1625 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1626 * bits/fcntl.h: ... here.
1628 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1630 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1631 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1632 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1633 (struct flock): Move l_start, l_len to the beginning.
1634 Use __pid_t for l_pid.
1635 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1636 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1637 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1638 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1639 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1640 [__USE_LARGEFILE64] (struct flock64): New type.
1641 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1643 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1644 * bits/dirent.h: ... here.
1646 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1647 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1649 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1651 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1652 Change from 2.6.0 to 2.6.16.
1653 * sysdeps/unix/sysv/linux/configure: Regenerated.
1654 * sysdeps/unix/sysv/linux/kernel-features.h
1655 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1656 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1658 (__ASSUME_UTIMES): Likewise.
1659 (__ASSUME_CLONE_STOPPED): Remove.
1660 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1661 architectures, not kernel version.
1662 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1663 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1664 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1665 (__ASSUME_WAITID_SYSCALL): Likewise.
1666 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1667 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1668 * README: State 2.6.16 as minimum Linux kernel version. Do not
1669 refer to older versions.
1671 2012-08-06 Roland McGrath <roland@hack.frob.com>
1673 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1674 Define alphasort64 as an alias.
1675 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1676 Define versionsort64 as an alias.
1677 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1678 Define scandir64 as an alias.
1679 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1680 Define scandirat64 as an alias.
1681 * dirent/alphasort64.c (alphasort64):
1682 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1683 * dirent/versionsort64.c: Likewise.
1684 * dirent/scandir64.c: Likewise.
1685 * dirent/scandirat64.c: Likewise.
1686 * sysdeps/wordsize-64/alphasort.c: File removed.
1687 * sysdeps/wordsize-64/alphasort64.c: File removed.
1688 * sysdeps/wordsize-64/scandir.c: File removed.
1689 * sysdeps/wordsize-64/scandir64.c: File removed.
1690 * sysdeps/wordsize-64/scandirat.c: File removed.
1691 * sysdeps/wordsize-64/scandirat64.c: File removed.
1692 * sysdeps/wordsize-64/versionsort.c: File removed.
1693 * sysdeps/wordsize-64/versionsort64.c: File removed.
1694 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1695 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1696 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1697 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1698 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1699 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1700 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1701 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1703 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1704 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1705 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1706 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1707 [defined __arch64__ || defined __sparcv9]
1708 (__INO_T_MATCHES_INO64_T): New macro.
1709 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1710 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1711 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1712 * sysdeps/unix/sysv/linux/bits/dirent.h
1713 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1714 (_DIRENT_MATCHES_DIRENT64): New macro.
1716 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1717 Define lockf64 as an alias.
1718 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1719 Define fseeko64 as an alias.
1720 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1721 Define ftello64 as an alias.
1722 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1723 Define _IO_fgetpos64 and fgetpos64 as aliases.
1724 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1725 Define _IO_fsetpos64 and fsetpos64 as aliases.
1726 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1727 Conditionalize body on this.
1728 * libio/fseeko64.c: Likewise.
1729 * libio/ftello64.c: Likewise.
1730 * libio/iofgetpos64.c: Likewise.
1731 * libio/iofsetpos64.c: Likewise.
1732 * sysdeps/wordsize-64/lockf.c: File removed.
1733 * sysdeps/wordsize-64/lockf64.c: File removed.
1734 * sysdeps/wordsize-64/fseeko.c: File removed.
1735 * sysdeps/wordsize-64/fseeko64.c: File removed.
1736 * sysdeps/wordsize-64/ftello.c: File removed.
1737 * sysdeps/wordsize-64/ftello64.c: File removed.
1738 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1739 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1740 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1741 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1742 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1743 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1744 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1745 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1746 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1747 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1748 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1749 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1750 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1751 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1753 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1754 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1755 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1756 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1757 [defined __arch64__ || defined __sparcv9]
1758 (__OFF_T_MATCHES_OFF64_T): New macro.
1759 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1760 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1761 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1762 (__OFF_T_MATCHES_OFF64_T): New macro.
1764 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1766 * stdlib/secure-getenv.c (__secure_getenv): Replace
1767 GLIBC_2_16 with GLIBC_2_17.
1769 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1771 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1772 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1774 2012-08-03 David S. Miller <davem@davemloft.net>
1776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1778 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1780 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1782 (__ASSUME_CORRECT_SI_PID): Likewise.
1783 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1784 (__ASSUME_TMPFS_NAME): Likewise.
1785 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1786 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1787 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1788 (HAVE_AUX_SECURE): Make definition unconditional.
1789 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1790 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1792 2012-08-03 Roland McGrath <roland@hack.frob.com>
1794 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1795 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1796 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1797 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1798 __eloop_threshold instead of SYMLOOP_MAX.
1800 * sysdeps/generic/eloop-threshold.h: New file.
1801 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1803 * elf/chroot_canon.c (chroot_canon): Likewise.
1805 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1808 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1809 Change to 2.6.0 everywhere.
1810 * sysdeps/unix/sysv/linux/configure: Regenerated.
1811 * sysdeps/unix/sysv/linux/kernel-features.h
1812 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1813 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1815 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1816 (__ASSUME_FUTEX_REQUEUE): Remove.
1817 (__ASSUME_STATFS64): Define unconditionally.
1818 (__ASSUME_AT_SECURE): Likewise.
1819 (__ASSUME_CORRECT_SI_PID): Likewise.
1820 (__ASSUME_TGKILL): Define without depending on kernel version for
1822 (__ASSUME_UTIMES): Likewise.
1823 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1825 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1826 (__ASSUME_TMPFS_NAME): Likewise.
1827 * README: Update reference to Linux kernel versions.
1829 2012-08-02 Marek Polacek <polacek@redhat.com>
1832 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1833 libc_cv_asm_type_prefix with %.
1834 * configure: Regenerated.
1835 * include/libc-symbols.h: Remove comment about
1836 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1837 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1838 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1839 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1840 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1841 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1842 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1843 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1844 * elf/tst-unique2mod1.c: Likewise.
1845 * elf/tst-unique1mod2.c: Likewise.
1846 * elf/tst-unique1mod1.c: Likewise.
1847 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1848 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1849 Replace ASM_TYPE_DIRECTIVE with .type.
1850 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1851 * sysdeps/i386/sysdep.h: Likewise.
1852 * sysdeps/x86_64/sysdep.h: Likewise.
1853 * sysdeps/sh/sysdep.h: Likewise.
1854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1855 Do not define ASM_TYPE_DIRECTIVE.
1856 * sysdeps/powerpc/sysdep.h: Likewise.
1857 * sysdeps/powerpc/powerpc32/sysdep.h:
1858 Replace ASM_TYPE_DIRECTIVE with .type.
1859 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1860 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1861 * sysdeps/i386/fpu/e_powf.S: Likewise.
1862 * sysdeps/i386/fpu/e_expl.S: Likewise.
1863 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1864 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1865 * sysdeps/i386/fpu/e_pow.S: Likewise.
1866 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1867 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1868 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1869 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1870 * sysdeps/i386/fpu/e_log2.S: Likewise.
1871 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1872 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1873 * sysdeps/i386/fpu/e_powl.S: Likewise.
1874 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1875 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1876 * sysdeps/i386/fpu/e_logl.S: Likewise.
1877 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1878 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1879 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1880 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1881 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1882 * sysdeps/i386/fpu/e_log.S: Likewise.
1883 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1884 * sysdeps/i386/fpu/e_logf.S: Likewise.
1885 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1886 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1887 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1888 * sysdeps/i386/fpu/e_log10.S: Likewise.
1889 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1890 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1891 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1892 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1893 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1894 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1895 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1896 * sysdeps/i386/i686/strtok.S: Likewise.
1897 * sysdeps/i386/i386-mcount.S: Likewise.
1898 * sysdeps/i386/strtok.S: Likewise.
1899 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1900 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1901 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1902 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1903 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1904 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1905 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1906 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1907 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1908 * sysdeps/x86_64/_mcount.S: Likewise.
1909 * sysdeps/x86_64/strtok.S: Likewise.
1910 * sysdeps/sh/_mcount.S: Likewise.
1912 2012-08-01 Roland McGrath <roland@hack.frob.com>
1914 * libio/iofopen.c: Include <fcntl.h>.
1915 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1916 (_IO_fopen64, fopen64): Define as aliases.
1917 * libio/iofopen64.c: Include <fcntl.h>.
1918 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1919 Conditionalize body on this.
1920 * sysdeps/wordsize-64/iofopen.c: File removed.
1921 * sysdeps/wordsize-64/iofopen64.c: File removed.
1923 2012-08-01 Marek Polacek <polacek@redhat.com>
1925 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1926 Use dlfcn directly instead of a variable.
1927 (binfmt-subdir): Do not define.
1930 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1932 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1933 Remove all definitions.
1934 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1935 <kernel-features.h>.
1936 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1937 (miss_F_GETOWN_EX): Remove all definitions.
1938 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1940 [!__ASSUME_FCNTL64]: Remove conditional code.
1941 [__ASSUME_FCNTL64]: Make code unconditional.
1942 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1943 <kernel-features.h>.
1944 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1945 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1946 (lockf64) [__NR_fcntl64]: Make code unconditional.
1947 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1949 * sysdeps/unix/sysv/linux/kernel-features.h
1950 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1951 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1952 Make code unconditional.
1953 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1954 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1956 [__NR_vfork]: Make code unconditional.
1957 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1958 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1960 [__NR_vfork]: Make code unconditional.
1961 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1962 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1964 2012-08-01 Roland McGrath <roland@hack.frob.com>
1966 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1967 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1969 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1970 Define mkstemp64 as an alias.
1971 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1972 Define mkstemps64 as an alias.
1973 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1974 Define mkostemp64 as an alias.
1975 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1976 Define mkostemps64 as an alias.
1977 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1978 Conditionalize body on this.
1979 * misc/mkostemp64.c: Likewise.
1980 * misc/mkostemps64.c: Likewise.
1981 * misc/mkstemps64.c: Likewise.
1982 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1983 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1984 * sysdeps/wordsize-64/mkostemp.c: File removed.
1985 * sysdeps/wordsize-64/mkstemp.c: File removed.
1986 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1987 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1988 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1989 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1992 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1993 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1994 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1995 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1997 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1998 compat_symbol macros from <shlib-compat.h> rather than the underlying
1999 default_symbol_version and symbol_version macros, so that DEFAULT
2000 lines in shlib-versions are respected.
2001 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2003 2012-08-01 Florian Weimer <fweimer@redhat.com>
2005 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2006 Declare with warn_unused_result.
2007 (setgid, setregid, setegid, setresgid): Likewise.
2008 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2010 * WUR-REPORT: Remove set*id functions.
2012 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2014 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2016 2012-07-31 Roland McGrath <roland@hack.frob.com>
2018 * include/sys/socket.h (__libc_accept, __libc_accept4):
2019 Add attribute_hidden.
2020 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2022 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2024 * inet/getnetgrent_r.c (setup): Likewise.
2026 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2028 2012-07-31 David S. Miller <davem@davemloft.net>
2030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2032 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2035 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2036 value between 1.0 and 2.0 and smaller part has absolute value less
2038 * math/s_clog10.c (__clog10): Likewise.
2039 * math/s_clog10f.c (__clog10f): Likewise.
2040 * math/s_clog10l.c (__clog10l): Likewise.
2041 * math/s_clogf.c (__clogf): Likewise.
2042 * math/s_clogl.c (__clogl): Likewise.
2043 * math/libm-test.inc (clog_test): Add more tests.
2044 (clog10_test): Likewise.
2045 * sysdeps/i386/fpu/libm-test-ulps: Update.
2046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2048 2012-07-31 Florian Weimer <fweimer@redhat.com>
2050 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2051 Exit with zero in case no suitable GID is found, and write a
2052 message to standard error.
2054 2012-07-30 Roland McGrath <roland@hack.frob.com>
2056 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2058 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2059 (MAXPATHLEN): Removed.
2060 (NOGROUP, NODEV): New macros.
2061 (setbit, clrbit, isset, isclr): New macros.
2062 (howmany, roundup, powerof2): New macros.
2063 (DEV_BSIZE): New macro.
2065 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2066 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2068 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2069 definition on [!__NO_LONG_DOUBLE_MATH].
2071 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2072 PTR_MANGLE and PTR_DEMANGLE.
2074 * socket/accept4.c (accept4): Rename to __libc_accept4.
2075 Define accept4 as a weak alias.
2077 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2078 on [_DIRENT_HAVE_D_TYPE].
2079 * io/ftw.c (ftw_dir): Likewise.
2081 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2083 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2085 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2086 Use the BSD numbers rather than the arbitrary ones we had.
2087 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2088 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2089 (SIGXCPU, SIGXFSZ): New macros.
2092 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2093 initializer on [_LIBC_REENTRANT].
2095 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2096 definitions inside [_POSIX_MAPPED_FILES].
2098 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2100 * dirent/opendir.c: Include <fcntl.h>.
2102 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2103 (__libc_getspecific): Likewise.
2104 (__libc_key_create): Likewise.
2106 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2107 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2108 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2109 (tmpfile64): Define as alias.
2110 * sysdeps/wordsize-64/tmpfile.c: File removed.
2111 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2112 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2113 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2115 * stdio-common/vfscanf.c: Include <stdbool.h>.
2116 * nss/makedb.c: Likewise.
2117 * stdio-common/_i18n_number.h: Likewise.
2118 * argp/argp-help.c: Likewise.
2119 * posix/wordexp.c: Likewise.
2120 * sysdeps/posix/spawni.c: Likewise.
2121 * nss/nss_files/files-initgroups.c: Likewise.
2122 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2123 * nss/nss_files/files-initgroups.c: Likewise.
2124 * nss/nss_db/db-netgrp.c: Likewise.
2125 * nss/nss_db/db-initgroups.c: Likewise.
2126 * io/fchmodat.c: Include <sys/stat.h>.
2128 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2129 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2131 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2134 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2135 Add multiple inclusion protection.
2137 2012-07-27 David S. Miller <davem@davemloft.net>
2139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2141 2012-07-27 Gary Benson <gbenson@redhat.com>
2144 * elf/rtld.c: Include <stap-probe.h>.
2145 (dl_main): Added static probes "init_start" and "init_complete".
2146 * elf/dl-load.c: Include <stap-probe.h>.
2147 (lose): Take new parameter "nsid".
2148 Added static probe "map_failed".
2149 (_dl_map_object_from_fd): Pass namespace id to lose.
2150 Added static probe "map_start".
2151 (open_verify): Pass namespace id to lose.
2152 * elf/dl-open.c: Include <stap-probe.h>.
2153 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2154 and "reloc_complete".
2155 * elf/dl-close.c: Include <stap-probe.h>.
2156 (_dl_close_worker): Added static probes "unmap_start" and
2158 * elf/rtld-debugger-interface.txt: New file documenting the above.
2160 2012-07-26 Roland McGrath <roland@hack.frob.com>
2162 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2163 rather than a string variable.
2164 * sunrpc/rpc_main.c (h_output): Likewise.
2165 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2167 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2169 * inet/check_native.c: New file.
2171 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2174 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2175 if larger part has absolute value 1.0.
2176 * math/s_clog10.c (__clog10): Likewise.
2177 * math/s_clog10f.c (__clog10f): Likewise.
2178 * math/s_clog10l.c (__clog10l): Likewise.
2179 * math/s_clogf.c (__clogf): Likewise.
2180 * math/s_clogl.c (__clogl): Likewise.
2181 * math/libm-test.inc (clog_test): Add more tests.
2182 (clog10_test): Likewise.
2183 * sysdeps/i386/fpu/libm-test-ulps: Update.
2184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2186 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2187 (pltexit): Likewise.
2188 (La_regs): Likewise.
2189 (La_retval): Likewise.
2190 (int_retval): Likewise.
2191 Update #error for removed macros to refer only to definitions in
2193 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2195 (pltexit): Likewise.
2196 (La_regs): Likewise.
2197 (La_retval): Likewise.
2198 (int_retval): Likewise.
2199 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2201 (pltexit): Likewise.
2202 (La_regs): Likewise.
2203 (La_retval): Likewise.
2204 (int_retval): Likewise.
2205 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2207 (pltexit): Likewise.
2208 (La_regs): Likewise.
2209 (La_retval): Likewise.
2210 (int_retval): Likewise.
2211 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2213 (pltexit): Likewise.
2214 (La_regs): Likewise.
2215 (La_retval): Likewise.
2216 (int_retval): Likewise.
2217 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2219 (pltexit): Likewise.
2220 (La_regs): Likewise.
2221 (La_retval): Likewise.
2222 (int_retval): Likewise.
2223 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2225 (pltexit): Likewise.
2226 (La_regs): Likewise.
2227 (La_retval): Likewise.
2228 (int_retval): Likewise.
2229 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2230 macro definitions in tst-audit.h.
2231 * sysdeps/i386/tst-audit.h: New file.
2232 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2233 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2234 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2235 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2236 * sysdeps/sh/tst-audit.h: Likewise.
2237 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2238 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2239 * sysdeps/x86_64/tst-audit.h: Likewise.
2241 2012-07-26 Andreas Jaeger <aj@suse.de>
2243 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2246 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2247 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2248 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2250 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2251 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2252 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2254 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2257 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2259 (si_call_addr, si_syscall, si_arch): Define new macro.
2260 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2262 (si_call_addr, si_syscall, si_arch): Define new marcro.
2263 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2265 (si_call_addr, si_syscall, si_arch): Define new macro.
2266 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2268 (si_call_addr, si_syscall, si_arch): Define new macro.
2270 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2273 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2274 Change to 2.4.21 where previously 2.4.1.
2275 * sysdeps/unix/sysv/linux/configure: Regenerated.
2276 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2277 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2278 Linux kernel version.
2279 (__ASSUME_STD_AUXV): Remove.
2280 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2282 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2283 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2284 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2285 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2286 (__ASSUME_NETLINK_SUPPORT): Likewise.
2287 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2288 (__no_netlink_support): Remove conditional definition.
2289 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2291 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2292 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2293 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2294 (if_nameindex_ioctl): Remove.
2295 (if_nameindex_netlink): Do not handle __no_netlink_support.
2296 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2298 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2299 Remove conditional code.
2300 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2302 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2304 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2305 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2306 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2308 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2309 [!__ASSUME_STD_AUXV]: Remove conditional code.
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2311 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2312 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2314 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2315 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2317 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2319 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2320 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2322 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2324 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2327 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2330 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2332 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2334 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2336 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2339 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2341 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2344 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2346 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2348 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2350 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2353 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2355 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2357 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2359 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2362 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2364 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2365 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2366 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2367 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2368 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2369 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2370 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2371 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2372 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2373 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2374 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2375 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2376 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2377 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2378 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2379 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2380 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2381 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2382 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2383 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2384 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2385 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2386 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2388 2012-07-25 Florian Weimer <fweimer@redhat.com>
2390 * Versions.def: Add GLIBC_2.17.
2391 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2392 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2393 Introduce __libc_secure_getenv.
2394 * stdlib/Versions (2.17): Add secure_getenv
2395 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2396 * stdlib/secure-getenv.c: Rename __secure_getenv to
2397 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2398 symbol __secure_getenv for GLIBC_2.0.
2399 * stdlib/tst-secure-getenv.c: New.
2400 * stdlib/Makefile (tests): Add testcase.
2401 * manual/startup.texi (Environment Access): Document
2403 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2404 __libc_secure_getenv.
2405 * inet/ruserpass.c (ruserpass): Likewise.
2406 * malloc/mtrace.c (mtrace): Likewise.
2407 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2408 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2409 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2410 * sysdeps/posix/tempname.c: Likewise. Evaluate
2412 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2413 __secure_getenv to __libc_secure_getenv.
2414 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2421 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2427 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2429 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2430 (struct La_i86_retval): Likewise.
2431 (struct La_x86_64_regs): Likewise.
2432 (struct La_x86_64_retval): Likewise.
2433 (struct La_x32_regs): Likewise.
2434 (struct La_x32_retval): Likewise.
2435 (struct La_ppc32_regs): Likewise.
2436 (struct La_ppc32_retval): Likewise.
2437 (struct La_ppc64_regs): Likewise.
2438 (struct La_ppc64_retval): Likewise.
2439 (struct La_sh_regs): Likewise.
2440 (struct La_sh_retval): Likewise.
2441 (struct La_s390_32_regs): Likewise.
2442 (struct La_s390_32_retval): Likewise.
2443 (struct La_s390_64_regs): Likewise.
2444 (struct La_s390_64_retval): Likewise.
2445 (struct La_sparc32_regs): Likewise.
2446 (struct La_sparc32_retval): Likewise.
2447 (struct La_sparc64_regs): Likewise.
2448 (struct La_sparc64_retval): Likewise.
2449 (struct audit_ifaces): Remove architecture-specific pltenter and
2451 * sysdeps/i386/ldsodefs.h: New file.
2452 * sysdeps/powerpc/ldsodefs.h: Likewise.
2453 * sysdeps/s390/ldsodefs.h: Likewise.
2454 * sysdeps/sh/ldsodefs.h: Likewise.
2455 * sysdeps/sparc/ldsodefs.h: Likewise.
2456 * sysdeps/x86_64/ldsodefs.h: Likewise.
2458 2012-07-25 Marek Polacek <polacek@redhat.com>
2461 * math/libm-test.inc (yn_test): Add another test.
2462 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2463 to ERANGE when the result is +-Inf.
2464 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2465 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2466 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2467 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2469 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2471 * conform/data/time.h-data (NULL): Use macro-constant. Require
2473 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2475 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2477 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2479 * configure.in <sysdeps resolving>: Correct printing
2481 * configure: Regenerate.
2483 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2485 * math/w_ilogb.c: Include <limits.h>.
2486 * math/w_ilogbl.c: Likewise.
2488 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2490 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2491 va_copy. Document allowing for unavailable va_copy only as
2492 pre-C99 compatibility.
2493 * manual/string.texi (Copying and Concatenation): Use va_copy
2494 instead of __va_copy in concat example.
2496 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2498 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2499 (__sendto): Use create_address_port. Initialize APORT and deallocate
2502 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2503 with O_NOLINK passed to __file_name_lookup.
2505 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2506 with O_NOLINK passed to __file_name_lookup.
2508 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2509 negative N or less than NGIDS.
2511 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2512 type to string_t. Set ERANGE as errno and return it if NAME is not big
2513 enough. Use memcpy instead of strncpy.
2515 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2517 * elf/Makefile (check-data): Remove.
2518 (localplt.data): New vpath directive.
2519 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2520 instead of $(check-data).
2521 * scripts/data/localplt-generic.data: Move to ...
2522 * sysdeps/generic/localplt.data: ... here.
2523 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2524 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2525 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2528 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2531 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2534 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2537 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2540 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2544 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2546 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2547 PPC32 and PPC64 files.
2548 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2549 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2551 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2553 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2554 __makecontext_ret to ...
2555 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2556 ... here and call exit if uc_link is NULL. New file.
2557 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2558 __makecontext_ret.S.
2559 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2560 __makecontext_ret to ...
2561 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2562 ... here and call exit if uc_link is NULL. New file.
2563 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2564 __makecontext_ret.S.
2566 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2568 * elf/elf.h (R_390_IRELATIVE): New definition.
2569 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2570 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2571 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2572 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2573 (elf_machine_lazy_rel): Likewise.
2574 * sysdeps/s390/dl-irel.h: New file.
2575 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2576 * sysdeps/s390/s390-64/memset.S: New asm code.
2577 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2578 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2579 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2580 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2581 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2582 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2583 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2584 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2585 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2586 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2587 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2588 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2589 * sysdeps/s390/s390-32/memset.S: New asm code.
2590 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2592 2012-07-17 Marek Polacek <polacek@redhat.com>
2595 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2596 * sysdeps/s390/s390-64/configure.in: Likewise.
2597 * sysdeps/sparc/configure.in: Likewise.
2598 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2599 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2600 * sysdeps/i386/configure.in: Likewise.
2601 * sysdeps/x86_64/configure.in: Likewise.
2602 * sysdeps/sh/configure.in: Likewise.
2603 * sysdeps/s390/s390-32/configure: Regenerated.
2604 * sysdeps/s390/s390-64/configure: Likewise.
2605 * sysdeps/x86_64/configure: Likewise.
2606 * sysdeps/sh/configure: Likewise.
2607 * sysdeps/powerpc/powerpc64/configure: Likewise.
2608 * sysdeps/powerpc/powerpc32/configure: Likewise.
2609 * sysdeps/sparc/configure: Likwise.
2610 * sysdeps/i386/configure: Likewise.
2612 * elf/dl-open.c: Comment fixes.
2614 2012-07-17 Joseph Myers <joseph@codesourcery.com>
2616 * Makefile [CXX] (check-data): Remove.
2617 [CXX] (c++-types.data): New vpath directive.
2618 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2619 vpath. Do not allow for C++ type data being missing.
2620 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2621 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2622 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2623 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2624 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2625 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2626 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2629 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2632 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2635 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2638 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2641 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2644 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2647 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2650 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2651 definitions to architecture-specific files.
2655 * sysdeps/i386/tls-macros.h: New file.
2656 * sysdeps/powerpc/tls-macros.h: Likewise.
2657 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2658 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2659 * sysdeps/sh/tls-macros.h: Likewise.
2660 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2661 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2662 * sysdeps/x86_64/tls-macros.h: Likewise.
2664 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2666 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2667 zero value for regular exit case.
2669 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2670 (__start_context): Preserve zero value for regular exit case.
2672 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2673 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2675 * manual/setjmp.texi (setcontext): Clarify normal process
2676 termination when uc_link is the null pointer.
2677 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2680 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2682 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2683 preprocessor. Test for each exception mask separately.
2685 2012-07-16 Andreas Jaeger <aj@suse.de>
2687 * po/ru.po: Update from translation team.
2689 2012-07-15 Joseph Myers <joseph@codesourcery.com>
2691 * conform/data/string.h-data (NULL): Use macro-constant. Require
2693 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2694 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2695 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2696 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2697 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2699 2012-07-13 Andreas Jaeger <aj@suse.de>
2701 * po/fr.po: Update from translation team.
2703 2012-07-12 Marek Polacek <polacek@redhat.com>
2706 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2707 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2710 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2713 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2714 Change to 2.4.1 where previously 2.4.0.
2715 * sysdeps/unix/sysv/linux/configure: Regenerated.
2716 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2717 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2719 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2720 (__ASSUME_AT_CLKTCK): Remove.
2721 (__ASSUME_AT_PAGESIZE): Likewise.
2722 (__ASSUME_AT_XID): Likewise.
2723 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2724 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2725 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2727 (HAVE_AUX_PAGESIZE): Likewise.
2728 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2729 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2730 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2732 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2736 the temporary buffer used to invoke __gethostbyname2_r,
2737 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2738 host_data / struct gaih_addrtuple.
2739 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2740 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2741 header file nss/nsswitch.h.
2742 * nss/nsswitch.h (global scope): Add definition of implementation
2743 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2744 resolv/nss_dns/dns-host.c).
2746 2012-07-11 Andreas Jaeger <aj@suse.de>
2748 * po/fr.po: Update from translation team.
2750 * po/sv.po: Update from translation team
2751 * po/fr.po: Another update from translation team.
2753 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2755 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2756 for subnormals or multiply small sinh result by itself.
2757 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2760 2012-07-11 David S. Miller <davem@davemloft.net>
2762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2764 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2767 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2768 (INTERNAL_MARK): Shift it here.
2770 2012-07-10 Marek Polacek <polacek@redhat.com>
2773 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2774 libc_cv_asm_global_directive with .globl.
2775 * configure: Regenerated.
2776 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2778 * sysdeps/i386/configure: Regenerated.
2779 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2781 * sysdeps/x86_64/configure: Regenerated.
2782 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2783 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2784 * elf/tst-unique2mod2.c: Likewise.
2785 * elf/tst-unique2mod1.c: Likewise.
2786 * elf/tst-unique1mod2.c: Likewise.
2787 * elf/tst-unique1mod1.c: Likewise.
2788 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2789 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2790 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2791 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2792 * sysdeps/mach/sysdep.h: Likewise.
2793 * sysdeps/i386/sysdep.h: Likewise.
2794 * sysdeps/i386/i386-mcount.S: Likewise.
2795 * sysdeps/x86_64/_mcount.S: Likewise.
2796 * sysdeps/x86_64/sysdep.h: Likewise.
2797 * sysdeps/sh/_mcount.S: Likewise.
2798 * sysdeps/sh/sysdep.h: Likewise.
2799 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2800 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2801 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2802 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2803 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2804 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2805 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2806 * locale/localeinfo.h: Likewise.
2807 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2808 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2810 2012-07-09 Roland McGrath <roland@hack.frob.com>
2813 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2815 * manual/message.texi (The Uniforum approach): Likewise.
2816 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2817 (glibc iconv Implementation): Likewise.
2819 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2822 * math/s_clog.c (__clog): Avoid scaling a value down where that
2823 could result in underflow.
2824 * math/s_clog10.c (__clog10): Likewise.
2825 * math/s_clog10f.c (__clog10f): Likewise.
2826 * math/s_clog10l.c (__clog10l): Likewise.
2827 * math/s_clogf.c (__clogf): Likewise.
2828 * math/s_clogl.c (__clogl): Likewise.
2829 * math/libm-test.inc (clog_test): Add more tests.
2830 (clog10_test): Likewise.
2831 * sysdeps/i386/fpu/libm-test-ulps: Update.
2832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2834 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2837 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2838 by 7 not 8 to examine high bit of fractional part.
2841 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2842 for call to __mcount_internal.
2843 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2844 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2845 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2847 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2850 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2851 approximation for values within 0x1p-13f of an odd multiple of
2853 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2854 exception. Add more tests.
2855 * sysdeps/i386/fpu/libm-test-ulps: Update.
2858 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2859 inputs and return -1 for them. Do not check for +Inf in case not
2861 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2862 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2863 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2864 and return -1 for them. Do not check for +Inf in case not
2866 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2868 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2869 and return -1 for them. Do not check for +Inf in case not
2871 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2873 * sysdeps/i386/fpu/libm-test-ulps: Update.
2874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2876 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2878 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2880 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2884 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2885 could result in spurious underflow. Scale down values above
2886 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2887 * math/s_csqrtf.c (__csqrtf): Likewise.
2888 * math/s_csqrtl.c (__csqrtl): Likewise.
2889 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2891 * sysdeps/i386/fpu/libm-test-ulps: Update.
2892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2894 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2896 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2898 * catgets/xopen-msg.awk: New file.
2899 * catgets/xopen-msg.sed: Removed.
2901 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2903 * intl/po2test.awk: New file.
2904 * intl/po2test.sed: Removed.
2906 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2909 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2910 or multiply small sinh result by itself.
2911 * math/s_ctanf.c (__ctanf): Likewise.
2912 * math/s_ctanh.c (__ctanh): Likewise.
2913 * math/s_ctanhf.c (__ctanhf): Likewise.
2914 * math/s_ctanhl.c (__ctanhl): Likewise.
2915 * math/s_ctanl.c (__ctanl): Likewise.
2916 * math/libm-test.inc (ctan_test_tonearest): New function.
2917 (ctan_test_towardzero): Likewise.
2918 (ctan_test_downward): Likewise.
2919 (ctan_test_upward): Likewise.
2920 (ctanh_test_tonearest): Likewise.
2921 (ctanh_test_towardzero): Likewise.
2922 (ctanh_test_downward): Likewise.
2923 (ctanh_test_upward): Likewise.
2924 (main): Call these new functions.
2925 * sysdeps/i386/fpu/libm-test-ulps: Update.
2926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2928 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2930 * .gitignore: Delete /ports entry.
2932 2012-07-03 Andreas Jaeger <aj@suse.de>
2934 * po/bg.po: Update from translation team.
2935 * po/cs.po: Likewise.
2936 * po/de.po: Likewise.
2937 * po/hr.po: Likewise.
2938 * po/nl.pl: Likewise.
2939 * po/pl.po: Likewise.
2940 * po/vi.po: Likewise.
2942 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2944 * Makeconfig [!+link] (+link-before-libc): New variable.
2945 [!+link] (+link-after-libc): Likewise.
2946 [!+link] (+link-tests): Likewise.
2947 [!+link] (+link): Define in terms of $(+link-before-libc) and
2948 $(+link-after-libc).
2949 [!+link-static] (+link-static-before-libc): New variable.
2950 [!+link-static] (+link-static-after-libc): Likewise.
2951 [!+link-static] (+link-static-tests): Likewise.
2952 [!+link-static] (+link-static): Define in terms of
2953 $(+link-static-before-libc) and $(+link-static-after-libc).
2954 [build-shared] (link-libc-before-gnulib): New variable.
2955 [build-shared] (link-libc-tests): Likewise.
2956 [build-shared] (link-libc): Define in terms of
2957 $(link-libc-before-gnulib).
2958 [!build-shared] (link-libc-tests): New variable.
2959 (link-libc-static-tests): New variable.
2960 [!gnulib] (gnulib-arch): New variable.
2961 [!gnulib] (gnulib-tests): Likewise.
2962 [!gnulib] (static-gnulib-arch): Likewise.
2963 [!gnulib] (static-gnulib-tests): Likewise.
2964 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2965 Define with "=" instead of ":=".
2966 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2967 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2968 * Rules (binaries-all-notests): New variable.
2969 (binaries-all-tests): Likewise.
2970 (binaries-static-notests): Likewise.
2971 (binaries-static-tests): Likewise.
2972 (binaries-all): Define using $(binaries-all-notests) and
2973 $(binaries-all-tests).
2974 (binaries-static): Define using $(binaries-static-notests) and
2975 $(binaries-static-tests).
2976 (binaries-shared-tests): New variable.
2977 (binaries-shared-notests): Likewise.
2978 (binaries-shared): Remove variable.
2979 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2980 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2981 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2982 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2983 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2984 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2985 * elf/Makefile (sln-modules): New variable.
2986 (extra-objs): Add $(sln-modules:=.o).
2987 (ldconfig-modules): Add static-stubs.
2988 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2989 * elf/static-stubs.c: New file.
2992 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2993 by 7 not 8 to examine high bit of fractional part. Use volatile
2994 variables when splitting into final array of floats if
2995 __FLT_EVAL_METHOD__ != 0.
2996 * math/libm-test.inc (cos_test): Add another test.
2997 (sin_test): Likewise.
2998 * sysdeps/i386/fpu/libm-test-ulps: Update.
3001 * math/libm-test.inc (cosh_test): Add more tests.
3003 * version.h (RELEASE): Set to "development".
3004 (VERSION): Set to "2.16.90".
3006 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3008 * NEWS: Update copyright. Remove last-updated date.
3009 Mention math library bug fixes and timezone data changes.
3010 * README: Mention GNU/Hurd, x32, and HPPA support status.
3012 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3014 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3016 2012-06-27 Andreas Jaeger <aj@suse.de>
3018 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3020 2012-06-25 Andreas Jaeger <aj@suse.de>
3022 * sysdeps/s390/fpu/libm-test-ulps: Update.
3024 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3025 Thomas Schwinge <thomas@codesourcery.com>
3027 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3028 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3029 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3032 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3034 * sysdeps/mach/start.c: Remove file.
3035 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3036 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3037 * sysdeps/sh/init-first.c: Likewise.
3039 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3040 registers for frame unwinding purposes, add CFI directives.
3041 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3042 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3043 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3046 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3047 __fortify_fail returning.
3048 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3050 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3051 sysdeps/sh/____longjmp_chk.S.
3052 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3053 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3054 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3055 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3057 * sysdeps/sh/abort-instr.h: New file.
3058 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3059 process in case exit returns.
3061 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3062 initialize the GOT register before use.
3064 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3065 calculation of ARGC > 4.
3067 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3068 meaningful names to some local labels.
3070 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3071 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3073 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3074 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3075 (__arch_compare_and_exchange_val_16_acq): Likewise.
3076 (__arch_compare_and_exchange_val_32_acq): Likewise.
3077 (atomic_exchange_and_add): Fix gUSA sequence.
3078 (atomic_add): Likewise.
3079 (atomic_add_negative): Likewise.
3080 (atomic_add_zero): Likewise.
3081 (atomic_bit_test_set): Likewise.
3083 2012-06-22 Andreas Schwab <schwab@redhat.com>
3086 * include/link.h (struct link_map): Add l_free_initfini.
3087 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3089 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3090 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3091 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3094 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3096 * configure.in: Use AC_LANG_SOURCE.
3097 * configure: Regenerate.
3099 2012-06-22 Roland McGrath <roland@hack.frob.com>
3101 * configure.in (libc_cv_localstatedir): New substituted variable.
3102 * configure: Regenerated.
3103 * config.make.in (localstatedir): New variable, substituted from
3104 libc_cv_localstatedir.
3105 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3106 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3107 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3108 * sysdeps/gnu/configure: Regenerated.
3110 2012-06-21 Jeff Law <law@redhat.com>
3113 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3114 free. Simplify list management for _LIBC case.
3116 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3119 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3120 Clear sign bit of 64-bit integer value before comparing against
3123 * sysdeps/mach/configure: Regenerated.
3125 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3128 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3130 2012-06-21 Jeff Law <law@redhat.com>
3133 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3134 uint16_t for elements in the "seen" array to avoid char overflows.
3135 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3136 * elf/dl-open.c (dl_open_worker): Likewise.
3138 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3140 * scripts/list-sources.sh: Scan PORTS for translations.
3141 * po/libc.pot: Regenerated.
3143 2012-06-21 Andreas Jaeger <aj@suse.de>
3146 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3148 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3149 * bits/byteswap-16.h (__bswap_16): Likewise.
3150 * bits/byteswap.h (__bswap_constant_16): Likewise.
3152 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3155 * sysdeps/i386/fpu_control.h: Removed.
3156 * sysdeps/x86_64/fpu_control.h: Moved to ...
3157 * sysdeps/x86/fpu_control.h: Here.
3159 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3160 (_FPU_SETCW): Likewise.
3162 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3165 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3166 * sysdeps/x86/fpu/bits/mathinline.h: This.
3167 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3171 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3172 functions if __x86_64__ is defined.
3174 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3176 * string/endian.h: Add !__ASSEMBLER__ condition for including
3177 conversion interfaces.
3179 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3182 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3183 of ABS(x) in calculating zero to negative powers other than odd
3185 * math/libm-test.inc (pow_test): Add more tests.
3187 2012-06-15 Andreas Jaeger <aj@suse.de>
3189 * manual/contrib.texi (Contributors): Update entry of Liubov
3190 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3193 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3195 * string/string.h: Add __wur to GNU version of strerror_r.
3197 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3200 * string/Makefile (tests): Add tst-strtok_r.
3201 * string/tst-strtok_r.c: New file.
3202 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3203 RAX_LP/RDX_LP on SAVE_PTR.
3205 2012-06-14 Roland McGrath <roland@hack.frob.com>
3207 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3209 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3211 * libm_test.inc (csqrt_test): Allow more spurious underflow
3213 (j0_test): Likewise.
3214 (j1_test): Likewise.
3215 (y0_test): Likewise.
3216 (y1_test): Likewise.
3218 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3220 * po/Makefile (libc.pot): Use UTF-8 charset.
3222 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3225 Suppress sign-conversion warning from FD_SET.
3226 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3227 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3228 not unsigned long int.
3229 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3231 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3235 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3236 __extern_always_inline instead of __extern_inline.
3237 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3238 (__signbit): Likewise.
3239 (__signbitl): Support C++ namespace.
3240 (lrintf): New inline function.
3242 (llrintf): Likewise.
3254 (nearbyint): Likewise.
3255 (nearbyintf): Likewise.
3257 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3259 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3260 non-default versions.
3262 2012-06-11 Roland McGrath <roland@hack.frob.com>
3265 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3267 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3269 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3270 (FE_UPWARD, FE_DOWNWARD): Don't define.
3271 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3272 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3274 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3276 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3277 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3279 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3281 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3282 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3283 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3284 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3286 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3289 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3290 * sysdeps/i386/fpu/Implies: New file.
3291 * sysdeps/x86_64/fpu/Implies: Likewise.
3292 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3293 * sysdeps/x86/fpu/bits/fenv.h: This.
3295 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3298 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3301 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3302 character 0xffff that matches the last element of the
3305 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3307 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3310 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3312 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3313 values higher than 25.6283.
3315 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3317 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3318 subnormal exponent extraction and add some __builtin_expect.
3319 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3320 Fix for subnormal mantissa calculation.
3322 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3324 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3325 cpu2 is -1 and errno is not ENOSYS.
3327 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3330 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3331 * sysdeps/x86/bits/string.h: This.
3332 * sysdeps/x86_64/bits/string.h: Removed.
3334 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3335 if not compiling for x86-64, but compiling for >= i486.
3337 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3338 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3340 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3341 New macro from Linux kernel 3.4.0.
3342 (FP_XSTATE_MAGIC2): Likewise.
3343 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3344 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3345 (struct _fpx_sw_bytes): New struct.
3346 (struct _xsave_hdr): Likewise.
3347 (struct _ymmh_state): Likewise.
3348 (struct _xstate): Likewise.
3350 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3351 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3352 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3353 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3354 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3355 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3357 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3358 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3359 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3360 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3361 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3362 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3364 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3367 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3368 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3369 (sysdep_headers): Include sys/platform/ppc.h.
3370 * sysdeps/powerpc/test-gettimebase.c: Test for
3371 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3372 * manual/Makefile (appendices): Include platform.texi.
3373 * manual/contrib.texi (Contributors): Update @node pointers.
3374 * manual/maint.texi (Maintenance): Likewise.
3375 (Platform): New node.
3376 * manual/platform.texi: New file. Document the new features.
3378 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3379 Jakub Jelinek <jakub@redhat.com>
3382 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3383 where __builtin_expect is unavailable.
3385 2012-06-03 David S. Miller <davem@davemloft.net>
3387 * stdlib/longlong.h: Updated from GCC.
3389 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3392 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3393 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3396 (GLIBC_2.16): Likewise.
3398 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3400 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3402 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3405 (default-abi): New variable.
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3407 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3409 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3411 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3413 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3416 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3417 definition. Document in comment.
3419 2012-06-01 David S. Miller <davem@davemloft.net>
3421 * stdlib/longlong.h: Updated from GCC.
3423 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3426 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3427 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3428 sys/debugreg.h sys/io.h here.
3429 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3430 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3432 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3433 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3434 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3435 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3436 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3437 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3439 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3440 Define only if __x86_64__ is defined.
3442 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3445 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3446 Use int64_t for variable i.
3447 * math/libm-test.inc (fmod_test): Add more tests.
3449 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3450 z computation is not scheduled after fetestexcept.
3451 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3452 Use math_force_eval instead of asm to ensure calculation scheduled
3453 before exception test.
3454 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3455 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3457 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3460 computation is not scheduled after fetestexcept.
3462 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3465 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3466 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3468 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3470 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3471 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3473 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3476 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3478 (__WCHAR_MIN): Support __WORDSIZE == 64.
3479 (__WCHAR_MAX): Likewise.
3481 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3482 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3485 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3486 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3489 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3490 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3492 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3493 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3495 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3496 Defined to 1 if __x86_64__ isn't defined.
3497 (_STAT_VER_LINUX_OLD): New.
3498 (st_atime): Remove duplicate.
3499 (st_mtime): Likewise.
3500 (st_ctime): Likewise.
3502 2012-05-31 David S. Miller <davem@davemloft.net>
3504 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3507 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3509 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3513 * elf/dl-reloc.c: Include <_itoa.h>.
3514 (_dl_reloc_bad_type): Remove use of INTUSE.
3515 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3516 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3517 * stdio-common/psiginfo.c (psiginfo): Likewise.
3518 * stdio-common/psignal.c (psignal): Likewise.
3519 * string/strsignal.c (strsignal): Likewise.
3520 * include/signal.h (_sys_siglist): Declare hidden proto.
3521 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3522 INTVARDEF with libc_hidden_data_def.
3523 * stdio-common/itoa-udigits.c: Likewise.
3524 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3525 (_itoa_lower_digits_internal): Remove declaration.
3526 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3527 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3528 (_sys_sigabbrev_internal): Remove aliases.
3529 (_sys_siglist): Define hidden alias.
3531 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3533 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3536 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3539 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3540 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3542 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3543 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3544 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3545 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3546 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3547 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3549 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3550 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3551 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3553 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3561 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3562 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3563 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3565 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3566 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3567 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3568 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3569 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3570 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3572 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3573 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3575 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3576 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3578 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3579 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3580 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3582 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3583 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3585 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3587 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3588 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3589 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3591 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3593 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3595 2012-05-31 Joseph Myers <joseph@codesourcery.com>
3597 * math/math.h (M_El): Use two more decimal places.
3598 (M_LOG2El): Likewise.
3599 (M_LOG10El): Likewise.
3601 (M_LN10l): Likewise.
3603 (M_PI_2l): Likewise.
3604 (M_PI_4l): Likewise.
3605 (M_1_PIl): Likewise.
3606 (M_2_PIl): Likewise.
3607 (M_2_SQRTPIl): Likewise.
3608 (M_SQRT2l): Likewise.
3609 (M_SQRT1_2l): Likewise.
3611 2012-05-31 David S. Miller <davem@davemloft.net>
3613 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3614 values between float registers.
3615 * sysdeps/sparc/sparc64/memset.S: Likewise.
3616 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3618 2012-05-31 Mike Frysinger <vapier@gentoo.org>
3620 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3621 -D_FORTIFY_SOURCE=1.
3622 (CPPFLAGS-tst-longjmp_chk.c): Define.
3623 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3624 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3625 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3626 CFLAGS-tst-wchar-h.c.
3628 2012-05-31 Marek Polacek <polacek@redhat.com>
3631 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3632 __endmntent_internal): Remove declaration.
3633 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3634 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3635 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3637 2012-05-30 David S. Miller <davem@davemloft.net>
3639 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3640 (___Q_simulate_exceptions): Use real FP ops rather than writing
3642 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3645 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3648 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3649 * sysdeps/x86/bits/xtitypes.h: This.
3651 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3652 * sysdeps/x86/bits/wordsize.h: This.
3654 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3655 * sysdeps/x86/bits/huge_vall.h: This.
3657 * sysdeps/i386/bits/select.h: Removed.
3658 * sysdeps/x86_64/bits/select.h: Renamed to ...
3659 * sysdeps/x86/bits/select.h: This.
3661 * sysdeps/i386/bits/setjmp.h: Removed.
3662 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3663 * sysdeps/x86/bits/setjmp.h: This.
3665 * sysdeps/i386/bits/mathdef.h: Removed.
3666 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3667 * sysdeps/x86/bits/mathdef.h: This.
3669 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3672 * include/sys/socket.h (__connect_internal)
3673 (__libc_sa_len_internal): Remove declaration.
3674 (__connect, __libc_sa_len): Declare hidden_proto.
3675 (SA_LEN): Remove use of INTUSE.
3676 * socket/connect.c: Add libc_hidden_def.
3677 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3678 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3679 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3681 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3682 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3683 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3684 of adding _internal alias.
3686 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3689 * sysdeps/i386/bits/link.h: Removed.
3690 * sysdeps/i386/bits/linkmap.h: Likewise.
3691 * sysdeps/x86_64/bits/link.h: Renamed to ...
3692 * sysdeps/x86/bits/link.h: This.
3693 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3694 * sysdeps/x86/bits/linkmap.h: This.
3696 * sysdeps/i386/bits/endian.h: Removed.
3697 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3698 * sysdeps/x86/bits/endian.h: This.
3700 * sysdeps/i386/bits/byteswap.h: Removed.
3701 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3702 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3703 * sysdeps/x86/bits/byteswap.h: This.
3704 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3705 * sysdeps/x86/bits/byteswap-16.h: This.
3706 * sysdeps/i386/Implies: Add x86.
3707 * sysdeps/x86_64/Implies: Likewise.
3709 2012-05-30 David S. Miller <davem@davemloft.net>
3711 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3712 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3713 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3714 (FP_TRAPPING_EXCEPTIONS): Define.
3715 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3716 (FP_TRAPPING_EXCEPTIONS): Define.
3717 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3718 subnormals only when inexact has been signalled or underflow
3719 exceptions are enabled.
3720 (_FP_PACK_CANONICAL): Likewise.
3722 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3725 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3726 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3728 2012-05-30 Richard Henderson <rth@twiddle.net>
3730 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3731 with #ifndef NOT_IN_libc.
3733 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3734 marked to avoid plt entry.
3736 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3739 * Makeconfig (default-abi): New macro.
3740 (abi-includes): Likewise.
3741 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3742 $(abi-$(default-abi)-lib-soname) for soname if defined.
3743 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3745 * Makefile (installed-stubs): Likewise.
3746 * include/stubs-biarch.h: Removed.
3747 * scripts/lib-names.awk: Only handle one library at a time.
3748 * scripts/soversions.awk: Remove WORDSIZE support.
3749 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3751 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3753 (syscall-list-default-condition): Likewise.
3754 (syscall-list-default-condition): Likewise.
3755 (syscall-list-includes): Likewise.
3756 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3757 syscall-list-* with abi-*. Handle undefined abi-variants.
3758 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3759 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3760 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3761 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3762 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3763 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3765 (syscall-list-32-options): Likewise.
3766 (syscall-list-32-condition): Likewise.
3767 (syscall-list-64-options): Likewise.
3768 (syscall-list-64-condition): Likewise.
3769 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3771 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3774 (abi-64-ld-soname): New macro.
3775 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3776 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3779 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3780 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3782 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3784 * sysdeps/unix/sysv/linux/kernel-features.h
3785 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3786 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3787 include <kernel-features.h>.
3788 [!__NR_ftruncate64]: Remove conditional code.
3789 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3790 [__NR_ftruncate64]: Make code unconditional.
3791 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3792 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3793 include <kernel-features.h>.
3794 [!__NR_ftruncate64]: Remove conditional code.
3795 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3796 [__NR_ftruncate64]: Make code unconditional.
3797 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3799 include <kernel-features.h>.
3800 [!__NR_ftruncate64]: Remove conditional code.
3801 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3802 [__NR_ftruncate64]: Make code unconditional.
3803 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3805 include <kernel-features.h>.
3806 [!__NR_ftruncate64]: Remove conditional code.
3807 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3808 [__NR_ftruncate64]: Make code unconditional.
3809 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3811 * configure.in (libc_cv_fpie): Weaken to a compile test using
3813 * configure: Regenerated.
3815 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3830 2012-05-27 David S. Miller <davem@davemloft.net>
3832 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3834 (__Q_simulate_exceptions): Return void. Change to simulate
3835 exceptions by writing into the %fsr.
3836 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3837 (__Qp_handle_exceptions): Likewise.
3839 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3840 __Qp_handle_exceptions.
3841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3842 __Qp_handle_exceptions.
3843 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3844 as unused and give dummy FP_RND_NEAREST initializer.
3845 (FP_INHIBIT_RESULTS): Define.
3846 (___Q_simulate_exceptions): Update declaration.
3847 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3849 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3850 as unused and give dummy FP_RND_NEAREST initializer.
3851 (__Qp_handle_exceptions): Update declaration.
3852 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3855 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3857 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3858 the temporary FPU control word.
3859 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3860 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3861 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3862 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3863 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3864 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3865 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3866 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3867 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3868 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3869 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3871 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3873 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3876 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3878 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3879 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3880 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3881 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3883 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3884 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3887 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3889 * po/h.po: Update from translation team.
3891 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3893 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3895 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3896 handling of denormals.
3897 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3898 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3899 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3900 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3901 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3902 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3903 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3906 2012-05-26 Marek Polacek <polacek@redhat.com>
3909 * math/libm-test.inc (fma_test): Don't always expect underflow
3912 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3915 * elf/tst-execstack.c: Include stackinfo.h.
3916 (do_test): Adjust test case to ensure that pthread_getattr_np
3917 behaviour remains the same after marking stack executable.
3919 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3921 * sysdeps/unix/sysv/linux/kernel-features.h
3922 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3923 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3925 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3926 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3927 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3929 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3930 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3932 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3934 * configure.in: Define the default includes to being none.
3935 * configure: Regenerated.
3937 2012-05-25 Roland McGrath <roland@hack.frob.com>
3939 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3940 * sysdeps/x86_64/setjmp.S: Likewise.
3941 * sysdeps/i386/bsd-setjmp.S: Likewise.
3942 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3943 * sysdeps/i386/setjmp.S: Likewise.
3944 * sysdeps/i386/__longjmp.S: Likewise.
3945 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3946 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3948 * include/stap-probe.h: New file.
3949 * configure.in: Handle --enable-systemtap.
3950 * configure: Regenerated.
3951 * config.h.in (USE_STAP_PROBE): New #undef.
3952 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3953 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3954 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3956 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3959 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3960 to 2.4.0 where earlier.
3961 * sysdeps/unix/sysv/linux/configure: Regenerated.
3962 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3963 <kernel-features.h>.
3964 [__ASSUME_32BITUIDS]: Make code unconditional.
3965 [!__ASSUME_32BITUIDS]: Remove conditional code.
3966 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3967 <kernel-features.h>.
3968 [__ASSUME_32BITUIDS]: Make code unconditional.
3969 [!__ASSUME_32BITUIDS]: Remove conditional code.
3970 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3971 [__ASSUME_32BITUIDS]: Make code unconditional.
3972 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3973 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3974 <kernel-features.h>.
3975 [__ASSUME_32BITUIDS]: Make code unconditional.
3976 [!__ASSUME_32BITUIDS]: Remove conditional code.
3977 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3978 <kernel-features.h>.
3979 [__ASSUME_32BITUIDS]: Make code unconditional.
3980 [!__ASSUME_32BITUIDS]: Remove conditional code.
3981 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3982 <kernel-features.h>.
3983 [__ASSUME_32BITUIDS]: Make code unconditional.
3984 [!__ASSUME_32BITUIDS]: Remove conditional code.
3985 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3986 <kernel-features.h>.
3987 [__ASSUME_32BITUIDS]: Make code unconditional.
3988 [!__ASSUME_32BITUIDS]: Remove conditional code.
3989 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3990 <kernel-features.h>.
3991 [__ASSUME_32BITUIDS]: Make code unconditional.
3992 [!__ASSUME_32BITUIDS]: Remove conditional code.
3993 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3994 <kernel-features.h>.
3995 [__ASSUME_32BITUIDS]: Make code unconditional.
3996 [!__ASSUME_32BITUIDS]: Remove conditional code.
3997 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3998 <kernel-features.h>.
3999 [__ASSUME_32BITUIDS]: Make code unconditional.
4000 [!__ASSUME_32BITUIDS]: Remove conditional code.
4001 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4002 <kernel-features.h>.
4003 [__ASSUME_32BITUIDS]: Make code unconditional.
4004 [!__ASSUME_32BITUIDS]: Remove conditional code.
4005 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4006 <kernel-features.h>.
4007 [__ASSUME_32BITUIDS]: Make code unconditional.
4008 [!__ASSUME_32BITUIDS]: Remove conditional code.
4009 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4010 <kernel-features.h>.
4011 [__ASSUME_32BITUIDS]: Make code unconditional.
4012 [!__ASSUME_32BITUIDS]: Remove conditional code.
4013 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4014 <kernel-features.h>.
4015 [__NR_setresgid] (__setresgid): Do not declare.
4016 [__ASSUME_32BITUIDS]: Make code unconditional.
4017 [!__ASSUME_32BITUIDS]: Remove conditional code.
4018 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4019 <kernel-features.h>.
4020 [__NR_setresuid] (__setresuid): Do not declare.
4021 [__ASSUME_32BITUIDS]: Make code unconditional.
4022 [!__ASSUME_32BITUIDS]: Remove conditional code.
4023 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.c: Do not include
4036 <kernel-features.h>.
4037 [__ASSUME_32BITUIDS]: Make code unconditional.
4038 [!__ASSUME_32BITUIDS]: Remove conditional code.
4039 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4040 <kernel-features.h>.
4041 [__ASSUME_32BITUIDS]: Make code unconditional.
4042 [!__ASSUME_32BITUIDS]: Remove conditional code.
4043 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4044 <kernel-features.h>.
4045 [__ASSUME_32BITUIDS]: Make code unconditional.
4046 [!__ASSUME_32BITUIDS]: Remove conditional code.
4047 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4048 <kernel-features.h>.
4049 [__ASSUME_32BITUIDS]: Make code unconditional.
4050 [!__ASSUME_32BITUIDS]: Remove conditional code.
4051 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4052 <kernel-features.h>.
4053 [__ASSUME_32BITUIDS]: Make code unconditional.
4054 [!__ASSUME_32BITUIDS]: Remove conditional code.
4055 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4056 <kernel-features.h>.
4057 [__ASSUME_32BITUIDS]: Make code unconditional.
4058 [!__ASSUME_32BITUIDS]: Remove conditional code.
4059 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4060 <kernel-features.h>.
4061 [__ASSUME_32BITUIDS]: Make code unconditional.
4062 [!__ASSUME_32BITUIDS]: Remove conditional code.
4063 * sysdeps/unix/sysv/linux/kernel-features.h
4064 (__ASSUME_SETRESUID_SYSCALL): Remove.
4065 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4066 (__ASSUME_32BITUIDS): Likewise.
4067 (__ASSUME_LDT_WORKS): Likewise.
4068 (__ASSUME_O_DIRECTORY): Likewise.
4069 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4070 architecture but not kernel version.
4071 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4072 (__ASSUME_MMAP2_SYSCALL): Likewise.
4073 (__ASSUME_STAT64_SYSCALL): Likewise.
4074 (__ASSUME_IPC64): Likewise.
4075 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4076 <kernel-features.h>.
4077 [__ASSUME_32BITUIDS]: Make code unconditional.
4078 [!__ASSUME_32BITUIDS]: Remove conditional code.
4079 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4080 <kernel-features.h>.
4081 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4082 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4083 132096]: Remove conditional code.
4084 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4085 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4086 <kernel-features.h>.
4087 [__ASSUME_32BITUIDS]: Make code unconditional.
4088 [!__ASSUME_32BITUIDS]: Remove conditional code.
4089 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4090 <kernel-features.h>.
4091 [__ASSUME_32BITUIDS]: Make code unconditional.
4092 [!__ASSUME_32BITUIDS]: Remove conditional code.
4093 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4094 <kernel-features.h>.
4095 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4097 (__setresgid): Do not declare.
4098 [__ASSUME_32BITUIDS]: Make code unconditional.
4099 [!__ASSUME_32BITUIDS]: Remove conditional code.
4100 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4101 <kernel-features.h>.
4102 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4104 (__setresuid): Do not declare.
4105 [__ASSUME_32BITUIDS]: Make code unconditional.
4106 [!__ASSUME_32BITUIDS]: Remove conditional code.
4107 * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/semctl.c: Do not include
4112 <kernel-features.h>.
4113 [__ASSUME_32BITUIDS]: Make code unconditional.
4114 [!__ASSUME_32BITUIDS]: Remove conditional code.
4116 2012-05-25 Richard Henderson <rth@twiddle.net>
4118 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4119 dl_hwcap to ifunc resolver.
4120 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4122 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4123 dl_hwcap to ifunc resolver.
4124 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4126 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4129 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4130 for |x| <= 2**-26, not 2**-57.
4131 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4134 2012-05-24 Jeff Law <law@redhat.com>
4136 * stdio-common/Makefile (tests): Add bug25.
4137 * stdio-common/bug25.c: New test.
4139 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4142 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4143 multiple of MALLOC_ALIGNMENT in size.
4144 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4146 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4148 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4150 (FILENAME_MAX): Use macro-int-constant.
4151 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4152 (_IOFBF): Use macro-int-constant.
4155 (SEEK_CUR): Likewise.
4156 (SEEK_END): Likewise.
4157 (SEEK_SET): Likewise.
4158 (TMP_MAX): Likewise.
4159 (EOF): Use macro-int-constant. Require < 0.
4160 (NULL): Use macro-constant. Require == 0.
4161 (stdin): Require type to be FILE *.
4164 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4166 (EXIT_SUCCESS): Likewise.
4167 (NULL): Use macro-constant. Require == 0.
4168 (RAND_MAX): Use macro-int-constant.
4169 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4170 [C99-based standards] (strtof): Require function.
4171 [C99-based standards] (strtold): Likewise.
4172 [C99-based standards] (strtoll): Likewise.
4173 [C99-based standards] (strtoull): Likewise.
4174 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4175 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4176 [ISO || ISO99 || ISO11] (math.h): Likewise.
4177 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4178 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4179 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4181 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4184 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4185 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4186 * intl/dgettext.c (DCGETTEXT): Likewise.
4187 * intl/gettext.c (DCGETTEXT): Likewise.
4188 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4189 * posix/regex_internal.h (gettext): Likewise.
4190 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4192 * include/argz.h (__argz_count_internal)
4193 (__argz_stringify_internal): Remove declaration.
4194 (__argz_count, __argz_stringify): Declare hidden proto.
4195 * intl/dcgettext.c: Remove use of INTDEF.
4196 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4197 * string/argz-stringify.c: Likewise.
4198 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4199 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4200 Declare hidden proto.
4201 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4202 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4203 Declare hidden proto.
4204 * include/stdio.h (__asprintf_internal): Don't declare.
4205 (__asprintf): Don't define as macro. Declare hidden proto.
4206 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4207 (__fsetlocking): Declare hidden proto.
4208 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4209 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4211 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4212 (_IO_setlinebuf): Remove use of INTUSE.
4213 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4214 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4215 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4217 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4218 (_IO_do_flush): Remove use of INTUSE.
4219 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4220 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4221 (_IO_adjust_column, _IO_least_wmarker)
4222 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4223 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4224 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4225 (_IO_default_doallocate, _IO_wdefault_doallocate)
4226 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4227 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4228 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4229 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4230 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4231 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4232 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4233 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4234 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4235 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4236 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4237 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4238 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4240 (_IO_flush_all_internal, _IO_adjust_column_internal)
4241 (_IO_default_uflow_internal, _IO_default_finish_internal)
4242 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4243 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4244 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4245 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4246 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4247 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4248 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4249 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4250 (_IO_file_close_internal, _IO_file_close_it_internal)
4251 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4252 (_IO_file_init_internal, _IO_file_attach_internal)
4253 (_IO_file_fopen_internal, _IO_file_read_internal)
4254 (_IO_file_sync_internal, _IO_file_seek_internal)
4255 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4256 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4257 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4258 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4259 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4260 (_IO_list_all_internal, _IO_link_in_internal)
4261 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4262 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4263 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4264 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4265 (_IO_do_write_internal, _IO_padn_internal)
4266 (_IO_getline_info_internal, _IO_getline_internal)
4267 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4268 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4269 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4270 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4271 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4272 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4273 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4274 with libc_hidden_ver, remove use of INTUSE.
4275 * libio/genops.c: Likewise.
4276 * libio/freopen.c: Likewise.
4277 * libio/freopen64.c: Likewise.
4278 * libio/iofclose.c: Likewise.
4279 * libio/iofdopen.c: Likewise.
4280 * libio/iofflush.c: Likewise.
4281 * libio/iofflush_u.c: Likewise.
4282 * libio/iofgets.c: Likewise.
4283 * libio/iofgets_u.c: Likewise.
4284 * libio/iofopen.c: Likewise.
4285 * libio/iofopncook.c: Likewise.
4286 * libio/iofread.c: Likewise.
4287 * libio/iofread_u.c: Likewise.
4288 * libio/ioftell.c: Likewise.
4289 * libio/iofwrite.c: Likewise.
4290 * libio/iogetline.c: Likewise.
4291 * libio/iogets.c: Likewise.
4292 * libio/iogetwline.c: Likewise.
4293 * libio/iopadn.c: Likewise.
4294 * libio/iopopen.c: Likewise.
4295 * libio/ioseekoff.c: Likewise.
4296 * libio/ioseekpos.c: Likewise.
4297 * libio/iosetbuffer.c: Likewise.
4298 * libio/iosetvbuf.c: Likewise.
4299 * libio/ioungetc.c: Likewise.
4300 * libio/ioungetwc.c: Likewise.
4301 * libio/iovdprintf.c: Likewise.
4302 * libio/iovsprintf.c: Likewise.
4303 * libio/iovsscanf.c: Likewise.
4304 * libio/memstream.c: Likewise.
4305 * libio/obprintf.c: Likewise.
4306 * libio/oldfileops.c: Likewise.
4307 * libio/oldiofclose.c: Likewise.
4308 * libio/oldiofdopen.c: Likewise.
4309 * libio/oldiofopen.c: Likewise.
4310 * libio/oldiopopen.c: Likewise.
4311 * libio/oldstdfiles.c: Likewise.
4312 * libio/putc.c: Likewise.
4313 * libio/setbuf.c: Likewise.
4314 * libio/setlinebuf.c: Likewise.
4315 * libio/stdfiles.c: Likewise.
4316 * libio/strops.c: Likewise.
4317 * libio/vasprintf.c: Likewise.
4318 * libio/vscanf.c: Likewise.
4319 * libio/vsnprintf.c: Likewise.
4320 * libio/vswprintf.c: Likewise.
4321 * libio/wfiledoalloc.c: Likewise.
4322 * libio/wfileops.c: Likewise.
4323 * libio/wgenops.c: Likewise.
4324 * libio/wmemstream.c: Likewise.
4325 * libio/wstrops.c: Likewise.
4326 * libio/__fpurge.c: Likewise.
4327 * libio/__fsetlocking.c: Likewise.
4328 * assert/assert.c: Likewise.
4329 * debug/fgets_chk.c: Likewise.
4330 * debug/fgets_u_chk.c: Likewise.
4331 * debug/fread_chk.c: Likewise.
4332 * debug/fread_u_chk.c: Likewise.
4333 * debug/gets_chk.c: Likewise.
4334 * debug/obprintf_chk.c: Likewise.
4335 * debug/vasprintf_chk.c: Likewise.
4336 * debug/vdprintf_chk.c: Likewise.
4337 * debug/vsnprintf_chk.c: Likewise.
4338 * debug/vsprintf_chk.c: Likewise.
4339 * malloc/mtrace.c: Likewise.
4340 * misc/error.c: Likewise.
4341 * misc/syslog.c: Likewise.
4342 * stdio-common/asprintf.c: Likewise.
4343 * stdio-common/fxprintf.c: Likewise.
4344 * stdio-common/getw.c: Likewise.
4345 * stdio-common/isoc99_fscanf.c: Likewise.
4346 * stdio-common/isoc99_scanf.c: Likewise.
4347 * stdio-common/isoc99_vfscanf.c: Likewise.
4348 * stdio-common/isoc99_vscanf.c: Likewise.
4349 * stdio-common/isoc99_vsscanf.c: Likewise.
4350 * stdio-common/printf-prs.c: Likewise.
4351 * stdio-common/printf_fp.c: Likewise.
4352 * stdio-common/printf_fphex.c: Likewise.
4353 * stdio-common/printf_size.c: Likewise.
4354 * stdio-common/putw.c: Likewise.
4355 * stdio-common/scanf.c: Likewise.
4356 * stdio-common/sprintf.c: Likewise.
4357 * stdio-common/tmpfile.c: Likewise.
4358 * stdio-common/vfprintf.c: Likewise.
4359 * stdio-common/vfscanf.c: Likewise.
4360 * stdlib/strfmon_l.c: Likewise.
4361 * sunrpc/openchild.c: Likewise.
4362 * sunrpc/xdr_stdio.c: Likewise.
4363 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4364 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4366 2012-05-24 Roland McGrath <roland@hack.frob.com>
4368 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4370 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4371 in the third column, to generate for the shared library an IFUNC
4372 that uses _dl_vdso_vsym.
4373 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4374 * Makeconfig (object-suffixes-noshared): New variable.
4376 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4377 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4378 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4379 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4382 * include/sys/time.h (__gettimeofday): Remove macro.
4383 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4384 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4386 (__gettimeofday): Add libc_hidden_def.
4387 (gettimeofday): Add libc_hidden_weak.
4388 * sysdeps/mach/gettimeofday.c: Likewise.
4389 * sysdeps/posix/gettimeofday.c: Likewise.
4390 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4391 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4392 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4393 (__gettimeofday_internal): Remove strong_alias.
4394 (__gettimeofday): Add libc_hidden_def.
4395 (gettimeofday): Add libc_hidden_weak.
4396 * sysdeps/unix/syscalls.list (gettimeofday):
4397 Remove __gettimeofday_internal alias.
4399 2012-05-24 Daniel Jacobowitz <drow@false.org>
4400 H.J. Lu <hongjiu.lu@intel.com>
4403 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4404 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4405 (largebin_index_32_big): New.
4406 (largebin_index): Use it for 16-byte alignment.
4407 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4408 correction with front_misalign.
4410 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4438 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4439 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4441 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4445 * math/libm-test.inc (exp_test): Add test from bug 14036.
4446 (pow_test): Add test from bug 10846.
4448 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4450 (special_function): Do not include flags in test name.
4451 (parse_args): Likewise.
4452 * sysdeps/i386/fpu/libm-test-ulps: Update.
4453 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4454 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4455 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4458 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4460 * math/libm-test.inc ("Philosophy"): Update comment about
4462 (UNDERFLOW_EXCEPTION): New macro.
4463 (UNDERFLOW_EXCEPTION_OK): Likewise.
4464 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4465 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4466 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4467 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4468 (INVALID_EXCEPTION_OK): Update value.
4469 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4470 (OVERFLOW_EXCEPTION_OK): Likewise.
4471 (IGNORE_ZERO_INF_SIGN): Likewise.
4472 (test_exceptions): Handle underflow exceptions.
4473 (acos_test): Update for underflow exception expectations.
4474 (cexp_test): Likewise.
4475 (clog_test): Likewise.
4476 (clog10_test): Likewise.
4477 (csqrt_test): Likewise.
4478 (ctan_test): Likewise.
4479 (ctanh_test): Likewise.
4480 (exp_test): Likewise.
4481 (exp10_test): Likewise.
4482 (exp2_test): Likewise.
4483 (expm1_test): Likewise.
4484 (fma_test): Likewise.
4485 (j0_test): Likewise.
4486 (jn_test): Likewise.
4487 (nexttoward_test): Likewise.
4488 (pow_test): Likewise.
4489 (scalbn_test): Likewise.
4490 (scalbln_test): Likewise.
4491 (tan_test): Likewise.
4492 (y1_test): Likewise.
4493 * sysdeps/i386/fpu/libm-test-ulps: Update.
4494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4496 2012-05-23 David S. Miller <davem@davemloft.net>
4498 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4499 (__libc_sigaction): Remove unused local variables.
4501 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4503 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4505 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4507 mktime: avoid signed integer overflow
4508 * time/mktime.c (__mktime_internal): Do not mishandle the case
4509 where diff == INT_MIN.
4511 mktime: simplify computation of average
4512 * time/mktime.c (ranged_convert): Use new time_t_avg function
4513 instead of rolling our own (probably-slower) code.
4515 mktime: do not assume signed right shift propagates sign bit
4516 * time/mktime.c (isdst_differ): New static function.
4517 (__mktime_internal): No need to normalize tm_isdst now.
4518 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4521 mktime: merge another wrapv change from gnulib
4522 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4523 from some compilers.
4525 mktime: remove incorrect attempt at unusual arithmetics
4526 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4527 The code didn't really work on such machines anyway.
4528 (TYPE_MINIMUM): Assume two's complement.
4529 (twos_complement_arithmetic): Verify that long_int and time_t
4530 are two's complement (or unsigned, in the latter case).
4532 mktime: check signed shifts on long_int and time_t, too
4533 * time/mktime.c (SHR): Check that shifts work as desired
4534 on the types long_int and time_t too, as SHR is used on
4537 mktime: do not assume 'long' is wide enough
4538 * time/mktime.c (verify): Move decl up.
4539 (long_int): New type.
4540 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4541 to remove assumption in the code that 'long' is wide enough to
4542 store year values. This assumption is not true on x32 and on
4543 some non-glibc platforms.
4545 mktime: merge wrapv change from gnulib
4546 * time/mktime.c (WRAPV): New macro.
4547 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4548 (guess_time_tm, __mktime_internal): Do not assume that signed
4549 integer overflow wraps around; modern compilers generate code
4550 where this assumption is no longer valid.
4552 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4554 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4555 Replace "jmp L(pseudo_end)" with "ret".
4556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4559 2012-05-23 Andreas Jaeger <aj@suse.de>
4561 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4562 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4564 2012-05-23 Andreas Jaeger <aj@suse.de>
4565 Maximilian Attems <max@stro.at>
4567 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4570 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4572 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4573 code so that pseudo_end is just ret and the stack pointer is
4574 correct also for static library in error case.
4576 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4578 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4579 move to syscalls.list.
4580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4585 * manual/install.texi (Running make install): Do not mention Linux
4586 kernel version for which pt_chown is not needed.
4587 (Linux): Do not mention problems with nscd with 2.0 kernels.
4588 * INSTALL: Regenerated.
4590 2012-05-23 Andreas Jaeger <aj@suse.de>
4592 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4593 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4595 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4596 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4597 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4598 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4599 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4600 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4601 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4602 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4603 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4604 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4605 * sysdeps/unix/sysv/linux/bits/in.h
4606 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4608 2012-05-22 Roland McGrath <roland@hack.frob.com>
4610 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4611 (PREPARE_VERSION): Just use assert instead, it will be elided
4612 under [NDEBUG] anyway.
4614 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4616 * sysdeps/unix/sysv/linux/Makefile: Include
4617 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
4618 (sysdep_routines): Remove sysctl.
4619 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4620 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4621 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4622 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4623 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4625 2012-05-22 Andreas Jaeger <aj@suse.de>
4627 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4628 that pseudo_end is just ret and the stack pointer is correct also
4629 for static library in error case.
4631 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4634 * nss/nsswitch.c (defconfig_entries): New variable.
4635 (__nss_database_lookup): Don't leak defconfig entries.
4636 (nss_parse_service_list): Don't leak on error paths.
4637 (free_database_entries): New function.
4638 (free_defconfig): New function.
4639 (free_mem): Move common code to free_database_entries.
4641 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4643 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4645 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4647 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4648 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4649 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4651 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4652 (INTERNAL_SYSCALL_TYPES): Likewise.
4653 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4654 (LOAD_REGS_TYPES_[1-6]): Likewise.
4655 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4656 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4658 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4660 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4661 copysignl for GLIBC_2_0.
4662 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4663 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4664 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4665 logbl for GLIBC_2_0.
4666 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4667 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4669 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4671 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4672 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4674 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4677 * time/mktime.c: Update copyright years.
4679 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4681 mktime: merge comment-quoting-style change from gnulib
4682 * time/mktime.c: Quote 'like this' in comments.
4683 The GNU coding standards suggest that we no longer quote `like this',
4684 as "`" and "'" are typically rendered asymmetrically nowadays.
4685 The typical gnulib style is to quote 'like this' when quoting
4686 code, and "like this" when quoting English.
4688 * time/mktime.c (compile-command): Add "-I.".
4690 mktime: merge mktime-internal.h change from gnulib
4691 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4693 mktime: merge time_r change from gnulib
4694 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4696 mktime: merge DEBUG change from gnulib
4697 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4698 case system <time.h> has a #define.
4700 mktime: merge <sys/types.h> change from gnulib
4701 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4702 since <time.t> is now guaranteed to define time_t.
4704 mktime: merge HAVE_CONFIG_H change from gnulib
4705 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4707 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4709 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4712 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4714 (struct rusage): Use anonymous union to pad each field to
4717 2012-05-21 David S. Miller <davem@davemloft.net>
4719 * Makefules (o-iterator): Remove .s cases.
4720 (compile-command.s): Delete.
4721 (COMPILE.s): Delete.
4722 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4724 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4726 * configure.in (libc_cv_predef_stack_protector): Only consider
4727 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4728 * configure: Regenerated.
4730 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4733 New macro. Use R*LP on int and pointer.
4734 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4735 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4736 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4737 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4739 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4740 [__WORDSIZE_TIME64_COMPAT32] instead of
4741 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4742 (struct utmp): Likewise.
4743 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4744 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4746 (__WORDSIZE_TIME64_COMPAT32): This.
4747 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4748 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4749 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4750 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4751 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4752 (__WORDSIZE_TIME64_COMPAT32): New macro.
4754 2012-05-21 Andreas Jaeger <aj@suse.de>
4756 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4757 only if [SHARED]. Add prototype for __wcschr_ia32.
4759 2012-05-21 Roland McGrath <roland@hack.frob.com>
4761 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4762 of %rbp unmolested in the jmp_buf while mangling the low bits.
4763 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4764 unmolested high bits of %rbp while demangling the low bits.
4765 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4767 2012-05-21 Andreas Jaeger <aj@suse.de>
4769 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4770 * sunrpc/svc_simple.c: Use it for registerrpc.
4771 * sunrpc/xcrypt.c: Use it for passwd2des.
4773 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4775 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4777 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4778 Don't define if [__SYSCALL_WORDSIZE != 32].
4779 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4782 2012-05-21 Bruno Haible <bruno@clisp.org>
4783 Andreas Jaeger <aj@suse.de>
4785 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4786 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4787 inptr and inend for must_buffer_ch.
4788 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4789 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4790 * stdio-common/Makefile (tests): Remove bug15.
4791 (bug15-ENV): Remove macro.
4792 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4795 2012-05-19 Andreas Jaeger <aj@suse.de>
4796 Roland McGrath <roland@hack.frob.com>
4798 * manual/contrib.texi: Completely rewritten. It contains now an
4799 alphabetical list of contributors and their contributions.
4801 2012-05-21 Richard Henderson <rth@twiddle.net>
4803 * misc/getauxval.c (__getauxval): Use unsigned long int.
4804 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4805 (getauxval): Use unsigned long int.
4807 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4809 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4811 2012-05-21 Roland McGrath <roland@hack.frob.com>
4813 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4814 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4815 __alignof__ (long double).
4817 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4821 2012-05-20 Richard Henderson <rth@twiddle.net>
4823 * misc/getauxval.c: New file.
4824 * misc/sys/auxv.h: New file.
4825 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4826 (routines): Add getauxval.
4827 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4828 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4829 * elf/dl-sysdep.c (_dl_auxv): Remove.
4830 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4831 * elf/dl-support.c (_dl_auxv): New variable.
4832 (_dl_aux_init): Initialize it.
4833 * manual/startup.texi (Auxiliary Vector): New node.
4834 * sysdeps/generic/bits/hwcap.h: New file.
4835 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4836 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4837 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4838 * sysdeps/sparc/sysdep.h: ... here. Include it.
4839 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4840 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4846 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4852 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4856 2012-05-19 David S. Miller <davem@davemloft.net>
4858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4860 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4863 * math/s_ccosh.c: Include <float.h>
4864 (__ccosh): Avoid internal overflow calculating sinh and cosh
4865 values before multiplying by sin and cos values.
4866 * math/s_ccoshf.c: Likewise.
4867 * math/s_ccoshl.c: Likewise.
4868 * math/s_csin.c: Likewise.
4869 * math/s_csinf.c: Likewise.
4870 * math/s_csinl.c: Likewise.
4871 * math/s_csinh.c: Likewise.
4872 * math/s_csinhf.c: Likewise.
4873 * math/s_csinhl.c: Likewise.
4874 * math/libm-test.inc (ccos_test): Add more tests.
4875 (ccosh_test): Likewise.
4876 (csin_test): Likewise.
4877 (csinh_test): Likewise.
4878 * sysdeps/i386/fpu/libm-test-ulps: Update.
4879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4881 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4883 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4884 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4886 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4888 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4890 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4891 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4892 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4893 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4894 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4895 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4896 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4897 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4898 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4899 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4900 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4901 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4902 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4903 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4904 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4905 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4906 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4907 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4908 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4909 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4910 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4911 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4912 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4913 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4914 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4915 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4916 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4917 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4918 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4919 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4920 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4922 2012-05-18 Andreas Jaeger <aj@suse.de>
4924 * csu/.gitignore: Delete.
4926 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4928 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4929 (timex): Use __syscall_slong_t.
4931 2012-05-18 Andreas Jaeger <aj@suse.de>
4932 Carlos O'Donell <carlos_odonell@mentor.com>
4934 * manual/install.texi (Configuring and compiling): Update
4935 description about files modified in the source directory.
4936 * INSTALL: Regenerated.
4938 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4940 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4941 value. Use "or" to set return value to -1.
4942 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4943 negate return value.
4945 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4947 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4948 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4949 failure if the compiler has Graphite support disabled.
4950 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4952 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4953 CFLAGS-memmove.c): Likewise.
4954 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4957 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4959 * sysdeps/x86_64/x32/_itoa.h: New file.
4961 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4962 getdents system call only if kernel and user dirents have the
4963 same d_ino and d_off.
4965 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4966 LLONG_MAX != LONG_MAX.
4967 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4968 (_fitoa_word): Likewise.
4970 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4972 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4973 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4974 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4976 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4977 include <bits/wordsize.h>. Check __x86_64__ instead of
4979 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4980 if __x86_64__ is defined. Use anonymous union on fpstate.
4982 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4985 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4987 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4988 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4989 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4990 Refer to _rtld_local_ro instead of _rtld_global_ro.
4991 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4993 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4995 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4997 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4998 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4999 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5001 * sysdeps/powerpc/powerpc32/dl-machine.c
5002 (__elf_machine_runtime_setup) [PROF]: Don't reference
5005 2012-05-18 Andreas Jaeger <aj@suse.de>
5007 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5008 function only available for GCCs before 3.4 since GCC 3.4
5009 introduced a builtin.
5011 (llrintf): Likewise.
5019 (nearbyint): Likewise.
5020 (nearbyintf): Likewise.
5026 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5028 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5029 on both fields and cast pointer to __syscall_ulong_t.
5031 * bits/types.h (__fsword_t): New type.
5032 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5033 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5034 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5035 (__FSWORD_T_TYPE): Likewise.
5036 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5037 (__FSWORD_T_TYPE): Likewise.
5038 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5039 (__FSWORD_T_TYPE): Likewise.
5040 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5041 (__FSWORD_T_TYPE): Likewise.
5042 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5043 __SWORD_TYPE with __fsword_t.
5044 (statfs64): Likewise.
5046 2012-05-17 David S. Miller <davem@davemloft.net>
5048 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5050 2012-05-17 Andreas Jaeger <aj@suse.de>
5052 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5055 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5057 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5059 2012-05-17 Andreas Jaeger <aj@suse.de>
5061 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5064 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5066 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5068 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5070 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5071 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5073 2012-05-17 Andreas Jaeger <aj@suse.de>
5074 Carlos O'Donell <carlos_odonell@mentor.com>
5077 * sysdeps/x86_64/multiarch/init-arch.h
5078 (bit_YMM_Usable): Rename to...
5079 (bit_AVX_Usable): ... this.
5080 (bit_FMA4_Usable): New macro.
5081 (bit_XMM_state): New macro.
5082 (bit_YMM_state): New macro.
5083 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5084 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5085 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5086 (CPUID_OSXSAVE): New macro.
5087 (CPUID_AVX): New macro.
5088 (CPUID_FMA4): New macro.
5089 (index_YMM_Usable): Rename to...
5090 (index_AVX_Usable): ... this.
5091 (HAS_AVX): Use HAS_ARCH_FEATURE.
5092 (HAS_FMA4): Likewise.
5093 (HAS_YMM_USABLE): Remove.
5094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5095 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5097 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5098 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5099 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5100 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5101 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5103 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5105 * math/libm-test.c: Support platforms without multiple rounding modes.
5106 * math/bug-nextafter.c: Support platforms without FP exceptions.
5107 * math/bug-nexttoward.c: Likewise.
5108 * math/test-fenv.c: Likewise.
5109 * math/test-misc.c: Likewise.
5110 * stdlib/bug-getcontext.c: Likewise.
5112 2012-05-17 Andreas Jaeger <aj@suse.de>
5114 * manual/examples/search.c (critter_cmp): Change signature to
5116 * manual/string.texi (Collation Functions): Likewise.
5118 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5120 * bits/types.h: Fold copyright years.
5121 * bits/typesizes.h: Likewise.
5122 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5124 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5125 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5126 * time/time.h: Likewise.
5128 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5131 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5132 in instead of returning them. Return void.
5133 (__libc_mallinfo): Accumulate over all arenas.
5134 (__malloc_stats): Adjust for change in int_mallinfo interface.
5136 2012-05-16 Roland McGrath <roland@hack.frob.com>
5139 * configure.in (NM): Add AC_CHECK_TOOL for it.
5140 (libc_extra_cflags): New substituted variable.
5141 Check for -fstack-protector being used implicitly.
5142 * configure: Regenerated.
5143 * config.make.in (config-extra-cflags): New variable,
5144 gets @libc_extra_cflags@.
5145 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5148 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5149 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5150 * configure: Regenerated.
5151 * config.make.in (CPPUNDEFS): New substituted variable.
5152 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5153 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5154 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5156 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5158 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5159 (mq_attr): Use __syscall_slong_t.
5161 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5163 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5164 Check __x86_64__ instead of __WORDSIZE.
5165 (_STAT_VER_LINUX): Likewise.
5166 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5167 __syscall_ulong_t and __syscall_slong_t.
5170 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5172 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5174 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5176 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5178 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5180 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5183 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5184 include <bits/wordsize.h>. Check __x86_64__ instead of
5186 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5188 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5190 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5191 include <bits/wordsize.h>. Check __x86_64__ instead of
5193 (user_regs_struct): Use "__extension__ unsigned long long"
5194 instead of "unsigned long" if __x86_64__ is defined.
5195 (user): Likewise. Pad after pointer field if __ILP32__ is
5198 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5200 * configure.in (makeinfo): Require version 4.5 or later. Allow
5202 * configure: Regenerated.
5203 * manual/install.texi (texinfo): Increase version requirement to
5205 * INSTALL: Regenerated.
5207 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5209 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5211 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5213 * sysdeps/x86_64/x32/ffs.c: New file.
5215 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5217 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5218 defined. Use __syscall_ulong_t.
5219 (shminfo): Use __syscall_ulong_t.
5220 (shm_info): Likewise.
5222 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5225 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5227 (msgqnum_t): Use __syscall_ulong_t.
5228 (msglen_t): Likewise.
5229 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5232 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5233 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5235 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5237 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5238 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5240 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5243 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5244 include <bits/wordsize.h>. Check __x86_64__ instead of
5247 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5248 "unsigned long long int" if __x86_64__ is defined.
5249 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5251 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5252 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5253 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5255 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5257 (GET_PC): Cast to uintptr_t first.
5258 (GET_FRAME): Likewise.
5259 (GET_STACK): Likewise.
5261 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5262 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5263 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5264 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5265 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5266 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5267 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5268 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5269 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5270 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5271 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5272 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5273 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5274 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5275 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5276 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5277 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5278 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5279 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5280 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5281 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5282 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5283 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5284 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5285 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5286 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5287 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5288 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5289 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5291 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5293 * Makerules (+depfiles): Also collect depfiles from .oS in
5295 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5296 .oS, $(libnldbl-routines)).
5298 * Makerules (native-compile-mkdep-flags): Define.
5299 * sunrpc/Makefile (extra-objs): Add $(addprefix
5300 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5301 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5302 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5303 calling $(make-target-directory).
5305 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5307 * bits/types.h (__snseconds_t): Removed.
5308 * time/time.h (struct timespec): Replace __snseconds_t with
5310 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5311 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5313 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5314 (__SNSECONDS_T_TYPE): Likewise.
5315 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5316 (__SNSECONDS_T_TYPE): Likewise.
5317 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5318 (__SNSECONDS_T_TYPE): Likewise.
5320 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5322 * sysdeps/mach/hurd/bits/typesizes.h
5323 (__SYSCALL_SLONG_TYPE): New macro.
5324 (__SYSCALL_ULONG_TYPE): Likewise.
5326 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5328 * bits/types.h (__syscall_slong_t): New type.
5329 (__syscall_ulong_t): Likewise.
5331 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5332 (__SYSCALL_ULONG_TYPE): Likewise.
5333 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5334 (__SYSCALL_SLONG_TYPE): Likewise.
5335 (__SYSCALL_ULONG_TYPE): Likewise.
5336 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5337 (__SYSCALL_SLONG_TYPE): Likewise.
5338 (__SYSCALL_ULONG_TYPE): Likewise.
5339 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5340 (__SYSCALL_SLONG_TYPE): Likewise.
5341 (__SYSCALL_ULONG_TYPE): Likewise.
5343 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5345 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5346 Add sigaltstack-offsets.sym.
5347 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5348 <sigaltstack-offsets.h>.
5349 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5350 longjmp_msg pointer.
5351 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5352 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5354 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5356 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5358 * elf/stackguard-macros.h: Remove file.
5359 * sysdeps/generic/stackguard-macros.h: New file.
5360 * sysdeps/i386/stackguard-macros.h: Likewise.
5361 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5362 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5363 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5364 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5365 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5366 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5367 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5368 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5369 <elf/stackguard-macros.h>.
5372 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5373 __aligned__ in attribute.
5374 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5375 (gregset_t): Likewise.
5377 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5379 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5380 * sysdeps/x86_64/64/Implies-after: Here. New file.
5381 * sysdeps/x86_64/x32/Implies-after: New file.
5383 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5385 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5386 and access return value for _dl_profile_fixup. Use R10_LP to
5389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5391 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5393 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5395 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5396 * sysdeps/x86_64/x32/sysdep.h: New file.
5398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5400 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5401 * sysdeps/x86_64/setjmp.S: Likewise.
5403 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5405 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5406 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5407 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5408 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5409 remove unused global constant.
5411 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5413 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5414 include of <not-cancel.h>.
5416 2012-05-15 Roland McGrath <roland@hack.frob.com>
5418 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5420 2012-05-15 Jeff Law <law@redhat.com>
5421 Andreas Jaeger <aj@suse.de>
5424 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5426 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5427 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5428 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5429 code changing __hst_map_handle.map.
5431 2012-05-15 Roland McGrath <roland@hack.frob.com>
5433 * configure.in (sysnames): Look for Implies-before and Implies-after
5435 * configure: Regenerated.
5437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5439 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5440 8-byte data alignment with LP_SIZE alignment.
5442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5444 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5449 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5453 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5454 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5455 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5457 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5461 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5462 (stackinfo_sub_sp): Likewise.
5464 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5466 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5469 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5471 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5474 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5476 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5479 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5481 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5485 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5486 into R11_LP and load __x86_64_shared_cache_size_half into
5489 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5491 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5494 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5498 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5500 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5502 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5503 powerpc32/power7/fpu/s_logb.c via #include.
5504 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5505 powerpc32/power7/fpu/s_logbf.c via #include.
5506 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5507 powerpc32/power7/fpu/s_logbl.c via #include.
5509 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5511 * README.libm: Remove file.
5513 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5515 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5516 count for x32. Use R*_LP and omit operand-size suffix.
5518 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5520 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5521 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5522 * sysdeps/x86_64/x32/shlib-versions: New file.
5524 2012-05-14 Roland McGrath <roland@hack.frob.com>
5526 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5527 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5528 Use _dl_fatal_printf instead.
5530 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5532 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5533 set if not set by the user. Do not allow for being unset.
5534 * sysdeps/unix/sysv/linux/configure: Regenerated.
5536 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5538 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5539 the `q' suffix from lea and replace .quad with ASM_ADDR.
5541 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5544 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5546 (PTR_DEMANGLE): Likewise.
5548 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5550 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5552 (ASM_ADDR): Likewise.
5570 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5572 * sysdeps/x86_64/x32/dl-machine.h: New file.
5574 2012-05-14 Andreas Jaeger <aj@suse.de>
5576 * manual/Makefile (subdir): Remove export of subdir.
5577 (all): Remove target.
5578 (.PHONY): Remove all from list.
5579 (mkinstalldirs): Remove.
5580 (.PHONY): Remove installdirs from list.
5581 ($(inst_infodir)/libc.info): Use make-target-directory.
5582 (installdirs): Remove.
5584 (glibc-targets): Remove.
5587 ($(objpfx)stubs ../po/manual.pot): Remove.
5588 ($(objpfx)stamp%): Remove.
5589 (make-target-directory): Remove.
5590 (subdir_install): Remove.
5598 * manual/.gitignore: Remove, it's not needed anymore.
5599 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5601 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5603 (texis): Renamed to $(objpfx)texis.
5604 (texis-path): New, contains path to generated files.
5605 (chapters.%): Use texis-path for complete path, add extra argument
5607 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5608 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5609 (summary,texi, stamp-summary): Use complete path of
5610 files. Generate files in build dir.
5611 (dir-add.texi): Build in build dir.
5612 (libm-err.texi,stamp-libm-err): Likewise.
5613 (version.texi, stamp-version): Likewise.
5614 (.%c.texi): Likewise.
5615 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5616 (mostlyclean): Remove target.
5617 (realclean): Remove target.
5618 (generated): Add new variable with contents from mostlyclean and
5619 realclean, remove entries duplicated in common-mostlyclean, add
5620 stamp-libm-err and stamp-version.
5621 (generated-dirs): Add libc directory.
5622 ($(inst_infodir)/libc.info): Install files from build dir.
5624 * manual/install.texi (Configuring and compiling): Adjust since
5625 the info files are not part of the tar ball anymore.
5627 2012-05-14 Andreas Jaeger <aj@suse.de>
5629 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5632 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5635 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5636 to 2.2.0 where earlier.
5637 * sysdeps/unix/sysv/linux/configure: Regenerated.
5638 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5639 Remove conditional code.
5640 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5641 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5642 Remove conditional code.
5643 [!__NR_lchown]: Likewise.
5644 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5645 [__NR_lchown]: Likewise.
5646 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5647 comment referencing __ASSUME_LCHOWN_SYSCALL.
5648 * sysdeps/unix/sysv/linux/i386/sigaction.c
5649 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5650 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5651 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5652 Remove conditional code.
5653 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5654 (__protocol_available): Remove #if 0 code.
5655 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5657 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5658 * sysdeps/unix/sysv/linux/kernel-features.h
5659 (__ASSUME_GETCWD_SYSCALL): Don't define.
5660 (__ASSUME_REALTIME_SIGNALS): Likewise.
5661 (__ASSUME_PREAD_SYSCALL): Likewise.
5662 (__ASSUME_PWRITE_SYSCALL): Likewise.
5663 (__ASSUME_POLL_SYSCALL): Likewise.
5664 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5665 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5667 (__ASSUME_SIOCGIFNAME): Don't define.
5668 (__ASSUME_MSG_NOSIGNAL): Likewise.
5669 (__ASSUME_SENDFILE): Define unconditionally.
5670 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5671 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5673 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5674 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5675 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5676 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5677 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5678 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5679 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5681 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5684 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5685 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5687 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5688 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5690 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5691 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5693 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5694 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5696 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5697 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5699 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5702 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5704 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5705 Remove conditional code.
5706 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5707 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5708 Remove conditional code.
5709 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5710 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5711 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5712 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5713 Remove conditional code.
5714 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5715 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5716 Remove conditional code.
5717 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5718 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5719 Remove conditional code.
5720 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5721 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5722 Remove conditional code.
5723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5724 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5725 Remove conditional code.
5726 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5727 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5728 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5730 * sysdeps/unix/sysv/linux/sigaction.c
5731 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5732 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5733 * sysdeps/unix/sysv/linux/sigpending.c
5734 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5735 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5736 * sysdeps/unix/sysv/linux/sigprocmask.c
5737 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5738 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5739 * sysdeps/unix/sysv/linux/sigsuspend.c
5740 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5741 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5742 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5743 (__libc_missing_rt_sigs): Remove.
5744 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5745 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5746 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5747 Remove conditional code.
5748 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5749 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5751 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5752 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5753 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5754 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5756 2012-05-14 Andreas Jaeger <aj@suse.de>
5758 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5759 it's not used in glibc.
5760 (__coshm1): Likewise.
5761 (__acosh1p): Likewise.
5764 * manual/string.texi (Copying and Concatenation): Add missing
5765 variable in concat example.
5766 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5768 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5771 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5772 __builtin_clzl with __builtin_clzll.
5774 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5777 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5780 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5782 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5783 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5784 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5785 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5787 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5789 * NEWS: Update ia64 info.
5791 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5793 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5796 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5798 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5799 * sysdeps/unix/syscalls.list (dup3): Likewise.
5800 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5801 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5803 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5805 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5806 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5808 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5810 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5812 (TLS_IE): Use mov/add instead of movq/addq to load thread
5814 (TLS_GD_PREFIX): New.
5817 2012-05-11 David S. Miller <davem@davemloft.net>
5819 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5820 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5821 (_FPU_SETCW): Likewise.
5823 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5825 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5828 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5831 * iconvdata/gb18030.c: Update tables.
5832 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5833 characters specially.
5834 (BODY for TO_LOOP): Add encoding of missing ranges.
5836 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5839 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5840 * sysdeps/mach/hurd/dup3.c: Likewise.
5841 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5842 * sysdeps/powerpc/memmove.c:: Likewise.
5844 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5846 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5847 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5849 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5851 * elf/elf.h (R_X86_64_RELATIVE64): New.
5852 (R_X86_64_NUM): Updated.
5853 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5854 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5855 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5856 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5857 tst-quad1pie tst-quad2pie
5858 (modules-names): Add tst-quadmod1 tst-quadmod2.
5859 ($(objpfx)tst-quad1): New dependency.
5860 ($(objpfx)tst-quad2): Likewise.
5861 ($(objpfx)tst-quad1pie): Likewise.
5862 ($(objpfx)tst-quad2pie): Likewise.
5863 * sysdeps/x86_64/tst-quad1.c: New file.
5864 * sysdeps/x86_64/tst-quad1pie.c: New file.
5865 * sysdeps/x86_64/tst-quad2.c: Likewise.
5866 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5867 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5868 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5869 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5870 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5872 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5874 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5875 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5876 * streams/stropts.h (t_scalar_t): Define type.
5878 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5879 (_PATH_PRESERVE): Set to "/var/lib".
5880 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5882 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5885 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5886 if __dir_mkfile succeeded.
5888 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5889 checking for _hurd_dtablesize. Unlock it right after having
5890 finished _hurd_dtable allocation.
5892 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5894 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5895 * sysdeps/mach/hurd/configure: Regenerated.
5896 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5897 special-casing to...
5898 * sysdeps/gnu/configure.in: ... this new file.
5899 * sysdeps/unix/sysv/linux/configure: Regenerated.
5900 * sysdeps/gnu/configure: New generated file.
5902 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5903 for Linux: use nsec instead of usec, as well as:
5904 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5905 members of type struct timespec.
5906 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5908 (struct stat64): Likewise.
5909 (_STATBUF_ST_NSEC): New macro.
5910 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5912 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5913 __strtoul_internal rather than strtoul.
5915 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5917 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5920 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5922 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5923 which preserves existing values.
5924 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5926 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5928 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5929 TIMEOUT values. Return EINVAL for NFDS values either negative or
5930 greater than FD_SETSIZE.
5932 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5934 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5935 allocated, call __vm_protect to finish enabling the existing space, and
5936 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5937 allocate the remainder.
5939 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5941 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5942 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5944 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5946 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5947 sysdeps/mach/hurd/readlink.c.
5949 * posix/tst-sysconf.c (posix_options): Only use
5950 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5951 _POSIX_SYNCHRONIZED_IO when they are defined
5952 * sysdeps/mach/hurd/bits/posix_opt.h:
5953 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5954 (_XOPEN_REALTIME): Undefine macro.
5955 (_XOPEN_REALTIME_THREADS): Undefine macro.
5956 (_XOPEN_SHM): Undefine macro.
5957 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5959 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5961 (_POSIX_ASYNC_IO): Undefine macro.
5962 (_POSIX_PRIORITIZED_IO): Undefine macro.
5963 (_POSIX_SPIN_LOCKS): Define macro to -1.
5965 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5966 SA_NODEFER, SA_RESETHAND.
5967 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5968 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5971 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5973 * elf/Makefile (pldd-modules): Define unconditionally.
5975 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5977 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5979 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5981 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5982 Return ENOENT when name is empty.
5983 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5985 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5987 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5989 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5991 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5993 Fix mlock in all cases except non-readable pages.
5994 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5995 instead of VM_PROT_ALL as parameter to __vm_wire function.
5997 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5998 (__mkdir): When path is `/', just fail with EEXIST.
5999 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6001 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6003 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6004 <sys/uio.h> (for writev).
6005 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6006 and <sys/param.h> (for MIN).
6008 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6010 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6011 REQUESTED_TIME. Properly set the remaining time and return EINTR
6014 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6016 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6017 Depend on against $(link-rpcuserlibs).
6019 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6021 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6022 (__libc_stack_end): Do not use attribute_relro.
6023 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6024 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6025 to libthread-provided value.
6026 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6029 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6032 * bits/libc-lock.h (__libc_once_get): New macro.
6033 * sysdeps/mach/bits/libc-lock.h: Likewise.
6034 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6035 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6036 instead of using implementation details.
6038 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6039 * libio/freopen.c: Likewise.
6040 * libio/freopen64.c: Likewise.
6041 * misc/syslog.c: Likewise.
6042 * nscd/connections.c: Likewise.
6043 * nscd/netgroupcache.c: Likewise.
6044 * sysdeps/posix/getcwd.c: Likewise.
6046 2012-05-10 Roland McGrath <roland@hack.frob.com>
6048 * math/w_ilogbf.c: Add #include <limits.h>.
6050 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6052 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6053 path instead of returning without unlocking.
6055 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6056 immediate-write ioctls.
6057 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6059 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6061 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6062 __builtin_frame_address instead of making assumptions about the
6063 location of the return address relative to DATA. Force early load of
6065 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6066 __builtin_frame_address.
6069 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6070 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6071 implement dup3 and do some further code clean-ups.
6072 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6073 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6075 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6077 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6079 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6080 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6081 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6082 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6083 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6086 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6087 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6088 when handler == SIG_ERR, not when handler != SIG_ERR.
6090 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6092 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6093 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6096 accept4 for GNU Hurd.
6097 * include/sys/socket.h (__libc_accept4): New prototype.
6098 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6099 to implement __libc_accept4.
6100 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6102 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6104 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6105 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6106 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6109 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6111 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6113 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6115 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6116 assertion on O_CLOEXEC flag.
6117 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6118 * hurd/intern-fd.c: Likewise.
6119 * hurd/port2fd.c: Likewise.
6121 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6124 * bits/in.h (IPV6_PKTINFO): Define new macro.
6125 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6127 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6132 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6133 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6134 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6135 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6136 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6137 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6138 * math/libm-test.inc (logb_test) : Additional logb tests.
6140 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6141 Andreas Jaeger <aj@suse.de>
6143 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6144 * configure: Regenerated.
6145 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6146 * config.make.in (link-obsolete-rpc): New substituted variable.
6147 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6148 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6149 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6150 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6151 so that libc.a contains the symbols.
6152 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6153 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6154 * sunrpc/auth_none.c: Likewise.
6155 * sunrpc/auth_unix.c: Likewise.
6156 * sunrpc/authdes_prot.c: Likewise.
6157 * sunrpc/authuxprot.c: Likewise.
6158 * sunrpc/clnt_gen.c: Likewise.
6159 * sunrpc/clnt_perr.c: Likewise.
6160 * sunrpc/clnt_raw.c: Likewise.
6161 * sunrpc/clnt_simp.c: Likewise.
6162 * sunrpc/clnt_tcp.c: Likewise.
6163 * sunrpc/clnt_udp.c: Likewise.
6164 * sunrpc/clnt_unix.c: Likewise.
6165 * sunrpc/des_crypt.c: Likewise.
6166 * sunrpc/des_soft.c: Likewise.
6167 * sunrpc/get_myaddr.c: Likewise.
6168 * sunrpc/key_call.c: Likewise.
6169 * sunrpc/key_prot.c: Likewise.
6170 * sunrpc/netname.c: Likewise.
6171 * sunrpc/pm_getmaps.c: Likewise.
6172 * sunrpc/pm_getport.c: Likewise.
6173 * sunrpc/pmap_clnt.c: Likewise.
6174 * sunrpc/pmap_prot.c: Likewise.
6175 * sunrpc/pmap_prot2.c: Likewise.
6176 * sunrpc/pmap_rmt.c: Likewise.
6177 * sunrpc/publickey.c: Likewise.
6178 * sunrpc/rpc_cmsg.c: Likewise.
6179 * sunrpc/rpc_common.c: Likewise.
6180 * sunrpc/rpc_dtable.c: Likewise.
6181 * sunrpc/rpc_prot.c: Likewise.
6182 * sunrpc/rpc_thread.c: Likewise.
6183 * sunrpc/rtime.c: Likewise.
6184 * sunrpc/svc.c: Likewise.
6185 * sunrpc/svc_auth.c: Likewise.
6186 * sunrpc/svc_raw.c: Likewise.
6187 * sunrpc/svc_run.c: Likewise.
6188 * sunrpc/svc_tcp.c: Likewise.
6189 * sunrpc/svc_udp.c: Likewise.
6190 * sunrpc/svc_unix.c: Likewise.
6191 * sunrpc/svcauth_des.c: Likewise.
6192 * sunrpc/xcrypt.c: Likewise.
6193 * sunrpc/xdr.c: Likewise.
6194 * sunrpc/xdr_array.c: Likewise.
6195 * sunrpc/xdr_float.c: Likewise.
6196 * sunrpc/xdr_intXX_t.c: Likewise.
6197 * sunrpc/xdr_mem.c: Likewise.
6198 * sunrpc/xdr_rec.c: Likewise.
6199 * sunrpc/xdr_ref.c: Likewise.
6200 * sunrpc/xdr_sizeof.c: Likewise.
6201 * sunrpc/xdr_stdio.c: Likewise.
6203 2012-05-10 Roland McGrath <roland@hack.frob.com>
6205 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6206 change. Update copyright years.
6208 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6210 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6212 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6213 Joseph Myers <joseph@codesourcery.com>
6214 Paul Pluzhnikov <ppluzhnikov@google.com>
6217 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6219 [cross-compiling] (extra-libs): Likewise.
6220 [cross-compiling] (extra-libs-others): Likewise.
6221 [cross-compiling] (librpcsvc-routines): Likewise.
6222 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6223 [cross-compiling] (omit-deps): Likewise.
6224 (sunrpc-CPPFLAGS): New variable.
6225 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6226 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6227 (cross-rpcgen-objs): New variable.
6228 (extra-objs): Append $(cross-rpcgen-objs).
6229 ($(cross-rpcgen-objs)): New rule.
6230 ($(objpfx)cross-rpcgen): Likewise.
6231 (rpcgen-cmd): Define to use $(built-program-file). Expand
6233 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6234 ($(objpfx)x%.stmp): Likewise.
6235 * sunrpc/proto.h [IS_IN_build] (_): Define.
6236 [IS_IN_build] (_libc_intl_domainname): Likewise.
6238 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6241 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6242 and R_X86_64_TPOFF64.
6244 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6246 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6247 sysdeps/unix/sysv/syscalls.list.
6250 * sysdeps/unix/sysv/syscalls.list: Remove file.
6252 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6255 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6256 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6257 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6258 (__LC_IDENTIFICATION): Make these macros useful in #if
6259 expressions, as required by C99.
6261 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6263 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6264 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6267 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6269 * stdlib/longlong.h: Updated from GCC.
6271 2012-05-09 Andreas Jaeger <aj@suse.de>
6273 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6274 default is first entry.
6275 (run_mode): Set type.
6276 (main): Remove informal message about syslog.
6277 (options): Fix typo.
6280 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6283 (llrintf): Likewise.
6287 (nearbyint): Likewise.
6288 (nearbyintf): Likewise.
6290 2012-05-09 Andreas Jaeger <aj@suse.de>
6291 Pedro Alves <palves@redhat.com>
6293 * nscd/nscd.c (run_mode): Use enum.
6294 (main): Cleanup coding style issue.
6296 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6297 Andreas Jaeger <aj@suse.de>
6299 * nscd/nscd.c (go_background): Replaced with...
6300 (run_mode): ... this.
6301 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6302 (options): Add -F --foreground.
6303 (main): Implement it.
6304 (parse_opt): Parse it.
6306 2012-05-09 Andreas Jaeger <aj@suse.de>
6309 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6310 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6311 -Wconversion warning.
6312 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6315 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6317 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6319 (LC_ALL): Use macro-int-constant.
6320 (LC_COLLATE): Likewise.
6321 (LC_CTYPE): Likewise.
6322 (LC_MESSAGES): Likewise.
6323 (LC_MONETARY): Likewise.
6324 (LC_NUMERIC): Likewise.
6325 (LC_TIME): Likewise.
6326 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6327 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6329 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6331 [C99-based standards] (float_t): Expect type.
6332 [C99-based standards] (double_t): Expect type.
6333 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6335 [C99-based standards] (HUGE_VALL): Likewise.
6336 [C99-based standards] (INFINITY): Likewise.
6337 [C99-based standards] (NAN): Likewise.
6338 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6339 [C99-based standards] (FP_NAN): Likewise.
6340 [C99-based standards] (FP_NORMAL): Likewise.
6341 [C99-based standards] (FP_SUBNORMAL): Likewise.
6342 [C99-based standards] (FP_ZERO): Likewise.
6343 [C99-based standards] (FP_FAST_FMA): Use
6344 optional-macro-int-constant. Specify type. Require == 1.
6345 [C99-based standards] (FP_FAST_FMAF): Likewise.
6346 [C99-based standards] (FP_FAST_FMAL): Likewise.
6347 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6348 [C99-based standards] (FP_ILOGBNAN): Likewise.
6349 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6351 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6352 [C99-based standards] (math_errhandling): Specify type.
6353 [ISO99 || ISO11] (signgam): Do not allow.
6354 [non-C99-based standards] (copysignf): Do not allow.
6355 [non-C99-based standards] (exp2f): Likewise.
6356 [non-C99-based standards] (log2f): Likewise.
6357 [non-C99-based standards] (modff): Allow.
6358 [non-C99-based standards] (erff): Do not allow.
6359 [non-C99-based standards] (erfcf): Likewise.
6360 [non-C99-based standards] (gammaf): Likewise.
6361 [non-C99-based standards] (hypotf): Likewise.
6362 [non-C99-based standards] (j0f): Likewise.
6363 [non-C99-based standards] (j1f): Likewise.
6364 [non-C99-based standards] (jnf): Likewise.
6365 [non-C99-based standards] (lgammaf): Likewise.
6366 [non-C99-based standards] (tgammaf): Likewise.
6367 [non-C99-based standards] (y0f): Likewise.
6368 [non-C99-based standards] (y1f): Likewise.
6369 [non-C99-based standards] (ynf): Likewise.
6370 [non-C99-based standards] (isnanf): Likewise.
6371 [non-C99-based standards] (acoshf): Likewise.
6372 [non-C99-based standards] (asinhf): Likewise.
6373 [non-C99-based standards] (atanhf): Likewise.
6374 [non-C99-based standards] (cbrtf): Likewise.
6375 [non-C99-based standards] (expm1f): Likewise.
6376 [non-C99-based standards] (ilogbf): Likewise.
6377 [non-C99-based standards] (log1pf): Likewise.
6378 [non-C99-based standards] (logbf): Likewise.
6379 [non-C99-based standards] (nextafterf): Likewise.
6380 [non-C99-based standards] (remainderf): Likewise.
6381 [non-C99-based standards] (rintf): Likewise.
6382 [non-C99-based standards] (scalbf): Likewise.
6383 [non-C99-based standards] (copysignl): Likewise.
6384 [non-C99-based standards] (exp2l): Likewise.
6385 [non-C99-based standards] (log2l): Likewise.
6386 [non-C99-based standards] (modfl): Allow.
6387 [non-C99-based standards] (erfl): Do not allow.
6388 [non-C99-based standards] (erfcl): Likewise.
6389 [non-C99-based standards] (gammal): Likewise.
6390 [non-C99-based standards] (hypotl): Likewise.
6391 [non-C99-based standards] (j0l): Likewise.
6392 [non-C99-based standards] (j1l): Likewise.
6393 [non-C99-based standards] (jnl): Likewise.
6394 [non-C99-based standards] (lgammal): Likewise.
6395 [non-C99-based standards] (tgammal): Likewise.
6396 [non-C99-based standards] (y0l): Likewise.
6397 [non-C99-based standards] (y1l): Likewise.
6398 [non-C99-based standards] (ynl): Likewise.
6399 [non-C99-based standards] (isnanl): Likewise.
6400 [non-C99-based standards] (acoshl): Likewise.
6401 [non-C99-based standards] (asinhl): Likewise.
6402 [non-C99-based standards] (atanhl): Likewise.
6403 [non-C99-based standards] (cbrtl): Likewise.
6404 [non-C99-based standards] (expm1l): Likewise.
6405 [non-C99-based standards] (ilogbl): Likewise.
6406 [non-C99-based standards] (log1pl): Likewise.
6407 [non-C99-based standards] (logbl): Likewise.
6408 [non-C99-based standards] (nextafterl): Likewise.
6409 [non-C99-based standards] (remainderl): Likewise.
6410 [non-C99-based standards] (rintl): Likewise.
6411 [non-C99-based standards] (scalbl): Likewise.
6412 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6413 [non-C99-based standards] (FP_*): Do not allow.
6414 [C99-based standards] (FP_*): Change to
6415 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6416 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6418 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6419 (SIG_ERR): Likewise.
6420 [X/Open-based standards] (SIG_HOLD): Likewise.
6421 (SIG_IGN): Likewise.
6422 (SIGABRT): Use macro-int-constant. Specify type. Require
6427 (SIGSEGV): Likewise.
6429 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6430 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6431 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6432 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6433 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6434 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6435 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6436 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6437 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6438 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6439 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6440 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6441 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6442 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6443 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6444 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6445 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6446 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6447 [X/Open-based standards] (SIGTRAP): Likewise.
6448 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6449 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6450 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6451 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6452 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6455 2012-05-08 Ian Wienand <ianw@vmware.com>
6458 * time/tzset.c (__tzset_parse_tz): Update default rules for
6459 daylight time changes in the Energy Policy Act of 2005.
6461 2012-05-09 Andreas Jaeger <aj@suse.de>
6464 * elf/ldconfig.c (parse_conf): Change string to make clear that
6465 ldconfig only issued a warning if ld.so.conf does not exist.
6467 2012-05-08 David S. Miller <davem@davemloft.net>
6469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6470 movxtod instead of popping the value on the stack.
6472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6474 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6476 * config.h.in: Add HAVE_ARM_PCS_VFP.
6478 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6481 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6482 checking but the checks are disabled for any reason.
6484 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6486 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6487 and ELF64_R_TYPE with ELFW(R_TYPE).
6489 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6491 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6494 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6495 (settimeofday): Likewise.
6497 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6499 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6500 a struct th_u2 inside the union, and move tu_block/tu_code into
6501 a new th_u3 union of tu_block/tu_code inside of that. Move
6502 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6503 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6504 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6505 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6506 (th_stuff): Change to th_u1.tu_stuff.
6508 (th_msg): Change to th_u1.th_u2.tu_data.
6510 2012-05-07 David S. Miller <davem@davemloft.net>
6512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6515 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6516 (SETUP_PIC_REG): Use it.
6517 (SETUP_PIC_REG_LEAF): Use it.
6519 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6523 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6525 (EXPL_FINITE): Likewise.
6527 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6528 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6530 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6532 (EXPL_FINITE): Likewise.
6534 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6535 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6537 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6538 test of -max_value argument for long double.
6539 * sysdeps/i386/fpu/libm-test-ulps: Update.
6540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6542 2012-05-06 David S. Miller <davem@davemloft.net>
6544 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6545 quad soft-float symbols whose references which are compiler
6547 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6549 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6553 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6555 (EXPL_FINITE): Likewise.
6559 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6560 Adjust comments for base varying.
6561 (__expl_finite): Change alias to EXPL_FINITE.
6562 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6564 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6565 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6566 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6567 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6568 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6570 (EXPL_FINITE): Likewise.
6574 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6575 Adjust comments for base varying.
6576 (__expl_finite): Change alias to EXPL_FINITE.
6577 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6582 * math/libm-test.inc (check_float_internal): Correct ulp
6583 calculation for subnormal expected results.
6585 2012-05-06 Andreas Jaeger <aj@suse.de>
6587 * Makeconfig (+math-flags): New, set to -frounding-math.
6588 (+cflags): Add +math-flags so that all of glibc gets compiled with
6591 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6593 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6595 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6601 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6602 (__ieee754_expl): Allow for and saturate large arguments.
6603 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6604 (u_threshold): Likewise.
6605 (__exp): Call __ieee754_exp before checking for overflow and
6607 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6608 (u_threshold): Likewise.
6609 (__expf): Call __ieee754_expf before checking for overflow and
6611 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6612 (u_threshold): Likewise.
6613 (__expl): Call __ieee754_expl before checking for overflow and
6615 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6616 (__ieee754_expl): Allow for and saturate large arguments.
6617 * math/libm-test.inc (exp_test): Add another test. Do not allow
6618 missing overflow exception on overflow.
6619 (expm1_test): Do not allow missing overflow exception on overflow.
6621 * sysdeps/i386/fpu/e_expl.c: Move to ...
6622 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6623 rather than using inline asm.
6624 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6625 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6626 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6628 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6635 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6637 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6638 sysdeps/unix/common/syscalls.list.
6641 (ftruncate): Likewise.
6642 (getrusage): Likewise.
6643 (gettimeofday): Likewise.
6644 (setpgid): Likewise.
6645 (setregid): Likewise.
6646 (setreuid): Likewise.
6647 (sigaction): Likewise.
6648 (truncate): Likewise.
6649 (vhangup): Likewise.
6650 * sysdeps/unix/common/syscalls.list: Remove file.
6651 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6652 * sysdeps/unix/sysv/linux/Implies: Likewise.
6654 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6656 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6658 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6662 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6665 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6668 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6671 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6674 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6677 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6680 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6684 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6688 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6691 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6695 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6699 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6701 * sysdeps/unix/common/bits/dirent.h: Remove file.
6702 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6704 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6705 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6706 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6707 * sysdeps/unix/bsd/isatty.c: Likewise.
6708 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6709 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6710 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6712 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6715 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6716 long double comparison inaccuracies.
6717 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6720 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6722 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6723 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6725 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6728 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6729 nonzero digits before rounding a hex value.
6730 * stdlib/tst-strtod.c (tests): Add another test.
6732 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6734 * sysdeps/s390/fpu/libm-test-ulps: Update.
6736 2012-05-03 Andreas Jaeger <aj@suse.de>
6738 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6739 does not get optimized out.
6740 (malloc_opt_barrier): New.
6742 2012-05-03 Andreas Jaeger <aj@suse.de>
6743 Roland McGrath <roland@hack.frob.com>
6745 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6746 intermediate file deletion.
6747 (generated): Add .symlist files.
6749 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6752 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6753 Redirect under this condition.
6754 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6755 [__USE_GNU] (__dprintf_chk): Not under this condition.
6756 [__USE_GNU] (__vdprintf_chk): Likewise.
6757 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6758 under this condition.
6759 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6760 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6761 [__USE_XOPEN2K8] (vdprintf): Likewise.
6762 [__USE_GNU] (__dprintf_chk): Not under this condition.
6763 [__USE_GNU] (__vdprintf_chk): Likewise.
6764 [__USE_GNU] (dprintf): Likewise.
6765 [__USE_GNU] (vdprintf): Likewise.
6767 2012-05-03 Roland McGrath <roland@hack.frob.com>
6769 * elf/Makefile (common-generated): Set this instead of generated for
6770 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6771 $(all-built-dso)-derived lists.
6773 2012-05-03 Andreas Jaeger <aj@suse.de>
6775 * sysdeps/i386/fpu/libm-test-ulps: Update.
6779 * scripts/gen-FAQ.pl: Likewise.
6780 * manual/install.texi (Installation): Point to online location of
6782 * Makefile (files-for-dist): Remove FAQ.
6785 2012-05-02 Allan McRae <allan@archlinux.org>
6787 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6788 (LDFLAGS-reldepmod5.so): Likewise.
6789 (LDFLAGS-reldep6mod1.so): Likewise.
6790 (LDFLAGS-reldep6mod4.so): Likewise.
6791 (LDFLAGS-reldep8mod3.so): Likewise.
6792 (LDFLAGS-unload4mod1.so): Likewise.
6793 (LDFLAGS-unload4mod2.so): Likewise.
6794 (LDFLAGS-tst-initorder): Likewise.
6795 (LDFLAGS-tst-initordera2.so): Likewise.
6796 (LDFLAGS-tst-initordera3.so): Likewise.
6797 (LDFLAGS-tst-initordera4.so): Likewise.
6798 (LDFLAGS-tst-initorderb2.so): Likewise.
6799 (LDFLAGS-noload): Likewise.
6800 (LDFLAGS-next): Likewise.
6801 (LDFLAGS-order2mod1.so): Likewise.
6802 (LDFLAGS-order2mod2.so): Likewise.
6803 (LDFLAGS-tst-initorder2): Likewise.
6804 (LDFLAGS-tst-initorder2a.so): Likewise.
6805 (LDFLAGS-tst-initorder2b.so): Likewise.
6806 (LDFLAGS-tst-initorder2c.so): Likewise.
6807 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6809 2012-05-02 David S. Miller <davem@davemloft.net>
6811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6813 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6816 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6818 2012-05-02 Andreas Jaeger <aj@suse.de>
6820 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6821 since we manipulate rounding mode.
6822 (CPPFLAGS-test-idouble.c): Likewise.
6823 (CPPFLAGS-test-ifloat.c): Likewise.
6824 (CFLAGS-test-ldouble.c): Likewise.
6825 (CFLAGS-test-double.c): Likewise.
6826 (CFLAGS-test-float.c): Likewise.
6827 (CFLAGS-test-misc.c): Likewise.
6828 (CFLAGS-test-test-fenv.c): Likewise.
6830 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6834 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6835 comparisons to determine direction to adjust input.
6837 2012-05-01 Roland McGrath <roland@hack.frob.com>
6839 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6840 output to the target.
6842 * scripts/localplt.awk: New file.
6843 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6844 (check-localplt-CFLAGS): Variable removed.
6845 ($(all-built-dso:=.jmprel)): New static pattern rule.
6846 (generated): Add those targets.
6847 (localplt-built-dso): New variable.
6848 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6850 * elf/check-localplt.c: File removed.
6852 * scripts/check-execstack.awk: New file.
6853 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6854 (check-execstack-CFLAGS): Variable removed.
6855 ($(objpfx)check-execstack.h): Target removed.
6856 ($(objpfx)execstack-default): New target.
6857 (generated): Add that instead of check-execstack.h.
6858 ($(all-built-dso:=.phdr)): New static pattern rule.
6859 (generated): Add those targets.
6860 * elf/check-execstack.c: File removed.
6862 * scripts/check-textrel.awk: New file.
6863 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6864 (check-textrel-CFLAGS): Variable removed.
6865 (all-built-dso): Use := to define.o
6866 ($(all-built-dso:=.dyn)): New static pattern rule.
6867 (generated): Add those targets.
6868 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6869 * config.make.in (READELF): New substituted variable.
6870 * elf/check-textrel.c: File removed.
6872 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6874 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6876 * conform/data/ctype.h-data [C99-based standards] (isblank):
6878 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6879 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6880 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6881 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6882 Specify type. Require positive value.
6885 [ISO || POSIX] (EILSEQ): Do not expect.
6886 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6887 Specify type. Require positive value.
6888 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6889 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6890 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6891 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6892 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6893 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6894 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6895 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6896 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6897 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6898 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6899 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6900 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6901 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6902 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6903 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6904 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6905 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6906 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6907 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6908 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6909 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6910 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6911 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6912 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6913 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6914 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6915 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6916 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6917 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6918 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6919 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6920 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6921 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6922 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6923 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6924 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6925 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6926 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6927 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6928 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6929 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6930 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6931 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6932 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6933 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6934 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6935 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6936 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6937 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6938 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6939 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6940 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6941 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6942 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6943 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6944 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6945 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6946 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6947 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6948 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6949 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6950 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6951 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6952 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6953 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6954 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6955 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6956 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6957 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6958 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6959 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6960 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6961 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6962 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6963 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6964 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6966 (FLT_ROUNDS): Expect as macro, not constant.
6967 (FLT_MANT_DIG): Use macro-int-constant.
6968 (DBL_MANT_DIG): Likewise.
6969 (LDBL_MANT_DIG): Likewise.
6970 (FLT_DIG): Likewise.
6971 (DBL_DIG): Likewise.
6972 (LDBL_DIG): Likewise.
6973 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6974 (DBL_MIN_EXP): Likewise.
6975 (LDBL_MIN_EXP): Likewise.
6976 (FLT_MAX_EXP): Use macro-int-constant.
6977 (DBL_MAX_EXP): Likewise.
6978 (LDBL_MAX_EXP): Likewise.
6979 (FLT_MAX_10_EXP): Likewise.
6980 (DBL_MAX_10_EXP): Likewise.
6981 (LDBL_MAX_10_EXP): Likewise.
6982 (FLT_MAX): Use macro-constant.
6983 (DBL_MAX): Likewise.
6984 (LDBL_MAX): Likewise.
6985 (FLT_EPSILON): Use macro-constant. Give upper bound.
6986 (DBL_EPSILON): Likewise.
6987 (LDBL_EPSILON): Likewise.
6988 (FLT_MIN): Likewise.
6989 (DBL_MIN): Likewise.
6990 (LDBL_MIN): Likewise.
6991 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6992 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6993 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6994 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6995 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6996 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6997 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6998 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6999 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7000 [ISO11] (FLT_TRUE_MIN): Likewise.
7001 [ISO11] (LDBL_TRUE_MIN): Likewise.
7002 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7003 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7004 (SCHAR_MIN): Use macro-int-constant. Specify type.
7005 (SCHAR_MAX): Likewise.
7006 (UCHAR_MAX): Likewise.
7007 (CHAR_MIN): Likewise.
7008 (CHAR_MAX): Likewise.
7009 (MB_LEN_MAX): Use macro-int-constant.
7010 (SHRT_MIN): Use macro-int-constant. Specify type.
7011 (SHRT_MAX): Likewise.
7012 (USHRT_MAX): Likewise.
7013 (INT_MAX): Likewise.
7014 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7016 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7018 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7020 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7021 bound negative. Suffix upper bound with "L".
7022 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7024 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7026 [C99-based standards] (LLONG_MAX): Likewise.
7027 [C99-based standards] (ULLONG_MAX): Likewise.
7028 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7030 [ISO11] (max_align_t): Require type.
7031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7033 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7034 from $CFLAGS, without defining away __attribute__ calls.
7035 (checknamespace): Use $CFLAGS_namespace.
7037 * conform/conformtest.pl (@keywords): Only include C99 keywords
7038 for standards based on C99 or C11.
7040 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7042 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7045 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7046 usability of symbols in #if.
7048 * conform/conformtest.pl: If macro or constant types start
7049 "promoted:", expect the symbol to be of the following type
7050 promoted by the integer promotions.
7052 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7053 in one place. Also handle "macro-constant".
7055 * conform/conformtest.pl: Only accept expected macro values with
7056 "==". Parse all "macro" lines in one place.
7057 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7059 * conform/conformtest.pl: Handle braced types on "constant" lines
7060 instead of handling "typed-constant".
7061 * conform/data/signal.h-data: Use "constant" instead of
7064 * conform/conformtest.pl: Handle "optional-" at start of lines in
7065 one place rather than duplicating several cases. Handle each
7066 format of "macro" line with initial "optional-".
7068 * conform/conformtest.pl: Only accept expected constant or
7069 optional-constant values with "==". Parse all "constant" lines in
7070 one place. Parse all "optional-constant" lines in one place.
7071 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7072 * conform/data/fmtmsg.h-data: Likewise.
7073 * conform/data/netinet/in.h-data: Likewise.
7074 * conform/data/tar.h-data: Likewise.
7075 * conform/data/limits.h-data: Use "==" form on "constant" and
7076 "optional-constant" lines.
7078 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7079 Use -std=c99 for XOPEN2K.
7080 (@knownproblems): Remove.
7081 (newtoken): Don't check %isknown.
7083 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7084 Do not expect macro.
7085 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7086 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7087 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7088 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7089 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7090 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7091 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7092 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7093 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7094 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7095 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7096 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7097 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7098 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7099 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7100 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7101 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7102 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7103 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7104 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7105 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7106 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7107 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7108 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7109 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7110 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7111 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7112 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7113 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7114 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7115 [XPG3] (acosh): Likewise.
7116 [XPG3] (asinh): Likewise.
7117 [XPG3] (atanh): Likewise.
7118 [XPG3] (cbrt): Likewise.
7119 [XPG3] (expm1): Likewise.
7120 [XPG3] (ilogb): Likewise.
7121 [XPG3] (log1p): Likewise.
7122 [XPG3] (logb): Likewise.
7123 [XPG3] (nextafter): Likewise.
7124 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7125 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7126 [XPG3] (remainder): Likewise.
7127 [XPG3] (rint): Likewise.
7128 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7129 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7130 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7131 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7132 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7133 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7134 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7135 [UNIX98 || XOPEN2K] (scalb): Expect.
7136 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7137 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7138 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7139 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7140 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7141 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7142 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7143 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7144 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7145 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7146 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7147 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7148 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7149 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7150 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7151 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7152 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7153 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7154 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7155 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7156 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7157 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7158 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7159 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7160 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7161 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7162 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7163 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7164 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7165 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7166 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7167 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7168 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7169 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7170 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7171 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7172 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7173 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7174 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7175 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7176 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7177 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7178 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7179 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7180 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7181 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7182 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7183 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7184 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7185 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7186 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7187 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7188 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7189 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7190 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7191 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7192 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7193 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7194 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7195 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7196 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7197 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7198 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7199 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7200 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7201 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7202 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7203 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7204 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7205 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7206 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7207 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7208 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7209 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7210 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7211 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7212 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7213 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7214 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7215 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7216 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7217 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7218 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7219 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7220 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7221 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7222 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7223 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7224 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7225 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7226 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7227 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7228 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7229 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7230 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7231 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7232 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7233 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7234 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7235 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7236 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7237 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7238 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7239 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7240 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7241 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7242 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7243 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7244 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7245 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7246 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7247 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7248 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7249 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7250 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7251 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7252 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7253 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7254 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7255 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7256 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7257 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7258 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7259 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7260 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7261 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7262 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7263 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7264 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7265 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7266 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7267 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7268 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7269 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7270 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7271 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7272 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7274 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7275 _XOPEN_SOURCE_EXTENDED for XPG4.
7277 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7279 * Makeconfig (localtime): Remove variable.
7280 (inst_localtime-file): Likewise.
7282 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7303 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7307 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7308 comparisons to determine direction to adjust input.
7309 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7310 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7311 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7313 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7315 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7317 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7318 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7320 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7322 * math/libm-test.inc (nexttoward_test): Add more tests.
7324 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7327 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7328 in version GLIBC_2.1, not GLIBC_2.0.
7329 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7332 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7335 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7337 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7338 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7339 * math/libm-test.inc (acos_test): Add more tests.
7340 (asin_test): Likewise.
7341 * sysdeps/i386/fpu/libm-test-ulps: Update.
7342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7345 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7347 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7348 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7349 * math/libm-test.inc (acos_test_tonearest): New function.
7350 (acos_test_towardzero): Likewise.
7351 (acos_test_downward): Likewise.
7352 (acos_test_upward): Likewise.
7353 (asin_test_tonearest): Likewise.
7354 (asin_test_towardzero): Likewise.
7355 (asin_test_downward): Likewise.
7356 (asin_test_upward): Likewise.
7357 (main): Call the new functions.
7358 * sysdeps/i386/fpu/libm-test-ulps: Update.
7359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7363 * math/e_exp10.c: Include <float.h>.
7364 (__ieee754_exp10): Handle underflow here rather than multiplying
7365 large negative argument by M_LN10.
7366 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7368 * math/e_exp10l.c: Include <float.h>.
7369 (__ieee754_exp10l): Handle underflow here rather than multiplying
7370 large negative argument by M_LN10l.
7371 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7372 spurious overflow exception on underflow.
7374 2012-04-29 Marek Polacek <polacek@redhat.com>
7376 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7377 (__fortify_function): New macro.
7378 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7379 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7380 __extern_always_inline.
7381 * libio/bits/stdio2.h: Likewise.
7382 * libio/bits/stdio.h: Likewise.
7383 * string/string.h: Likewise.
7384 * string/bits/string3.h: Likewise.
7385 * include/stdio.h: Likewise.
7386 * stdlib/bits/stdlib.h: Likewise.
7387 * stdlib/stdlib.h: Likewise.
7388 * rt/bits/mqueue2.h: Likewise.
7389 * rt/mqueue.h: Likewise.
7390 * posix/bits/unistd.h: Likewise.
7391 * posix/unistd.h: Likewise.
7392 * io/bits/poll2.h: Likewise.
7393 * io/bits/fcntl2.h: Likewise.
7394 * io/fcntl.h: Likewise.
7395 * io/sys/poll.h: Likewise.
7396 * misc/bits/syslog.h: Likewise.
7397 * misc/bits/syslog-ldbl.h: Likewise.
7398 * misc/sys/syslog.h: Likewise.
7399 * socket/bits/socket2.h: Likewise.
7400 * socket/sys/socket.h: Likewise.
7401 * debug/tst-chk1.c: Likewise.
7402 * wcsmbs/bits/wchar2.h: Likewise.
7403 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7404 * wcsmbs/wchar.h: Likewise.
7406 2012-04-29 Andreas Jaeger <aj@suse.de>
7408 * Makerules (tests): Remove enable-check-abi protection.
7409 (check-abi-warn): Remove.
7410 (check-abi-%): Remove check-abi-warn usage.
7412 * configure.in: Remove check-abi configure option.
7413 * configure: Regenerated.
7414 * config.make.in (enable-check-abi): Remove.
7416 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7419 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7420 double functions to double *_finite functions.
7423 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7424 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7426 * stdio-common/Makefile (tests): Add tst-sprintf3.
7427 * stdio-common/tst-sprintf3.c: New file.
7429 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7430 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7432 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7434 * conform/conformtest.pl: Remove duplicate typed-constant
7437 2012-04-28 David S. Miller <davem@davemloft.net>
7439 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7440 (check-abi-%): Remove AWK script prerequisite and explicit
7442 (check-abi): Rewrite to just diff the symlist with the abilist.
7443 (config-tls, config-abi-config): Delete, no longer used.
7444 (update-abi-%): Remove AWK script and explicit abilist directory.
7445 (update-abi): Rewrite to simply compare and conditionally copy the
7446 symlist and the sysdep abilist file. Remove update-abi-config
7448 * abilist/ld.abilist: Remove.
7449 * abilist/libBrokenLocale.abilist: Remove.
7450 * abilist/libanl.abilist: Remove.
7451 * abilist/libcrypt.abilist: Remove.
7452 * abilist/libdl.abilist: Remove.
7453 * abilist/librt.abilist: Remove.
7454 * abilist/libthread_db.abilist: Remove.
7455 * abilist/libutil.abilist: Remove.
7456 * scripts/extract-abilist.awk: Remove.
7457 * scripts/merge-abilist.awk: Remove.
7458 * sysdeps/generic/libcidn.abilist: New file.
7459 * sysdeps/generic/libnss_compat.abilist: New file.
7460 * sysdeps/generic/libnss_db.abilist: New file.
7461 * sysdeps/generic/libnss_dns.abilist: New file.
7462 * sysdeps/generic/libnss_files.abilist: New file.
7463 * sysdeps/generic/libnss_hesiod.abilist: New file.
7464 * sysdeps/generic/libnss_nis.abilist: New file.
7465 * sysdeps/generic/libnss_nisplus.abilist: New file.
7466 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7467 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7468 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7470 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7471 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7472 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7473 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7474 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7475 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7476 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7477 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7478 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7480 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7481 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7482 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7483 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7485 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7486 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7487 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7488 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7489 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7490 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7492 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7493 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7494 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7496 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7599 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7600 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7601 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7603 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7604 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7605 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7606 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7607 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7608 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7609 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7610 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7611 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7612 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7664 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7666 * conform/conformtest.pl: Fix typo in handling typed-constant from
7669 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7671 * README: Cut down references to pre-2.6 Linux kernels and
7672 Linuxthreads. Update lists of configurations in libc and ports
7673 and sort alphabetically. Say "or newer" with Linux kernel version
7676 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7678 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7681 * math/libm-test.inc (logb_test_downward): New test to expose
7682 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7685 2012-04-27 Joseph Myers <joseph@codesourcery.com>
7688 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7690 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7691 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7693 2012-04-26 Joseph Myers <joseph@codesourcery.com>
7695 * sysdeps/unix/i386/brk.S: Remove file.
7696 * sysdeps/unix/i386/dl-brk.S: Likewise.
7697 * sysdeps/unix/i386/pipe.S: Likewise.
7698 * sysdeps/unix/i386/sigreturn.S: Likewise.
7699 * sysdeps/unix/i386/syscall.S: Likewise.
7700 * sysdeps/unix/i386/vfork.S: Likewise.
7701 * sysdeps/unix/i386/wait.S: Likewise.
7703 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7704 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7706 * configure.in (arm*-none*): Do not allow without
7707 --enable-hacker-mode.
7708 (netbsd*): Remove case setting base_os.
7709 (386bsd*): Likewise.
7710 (freebsd*): Likewise.
7714 (ultrix*): Likewise.
7715 (newsos*): Likewise.
7725 (solaris[2-9]*): Likewise.
7727 * configure: Regenerated.
7729 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7732 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7733 overflow or cancellation in calculating denominator.
7734 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7735 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7736 down expression to avoid unexpected rounding in newer GCCs.
7737 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7739 2012-04-26 David S. Miller <davem@davemloft.net>
7741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7742 long-double compat symbols.
7743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7757 2012-04-25 David S. Miller <davem@davemloft.net>
7759 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7760 HWCAP_* values only after the memory barriers have been defined.
7761 (atomic_full_barrier): Define.
7762 (atomic_read_barrier): Define.
7763 (atomic_write_barrier): Define.
7765 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7767 * shlib-versions: Add libgcc_s version information.
7768 * sysdeps/generic/libgcc_s.h: Remove.
7769 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7771 * sysdeps/gnu/unwind-resume.c: Likewise.
7772 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7774 2012-04-25 David S. Miller <davem@davemloft.net>
7776 * sysdeps/unix/sparc/brk.S: Delete.
7777 * sysdeps/unix/sparc/dl-brk.S: Delete.
7778 * sysdeps/unix/sparc/pipe.S: Delete.
7779 * sysdeps/unix/sparc/sysdep.S: Delete.
7780 * sysdeps/unix/sparc/sysdep.h: Delete.
7781 * sysdeps/unix/sparc/vfork.S: Delete.
7782 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7783 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7784 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7785 ret_ERRVAL, r0, r1, MOVE): Define.
7786 (JUMPTARGET): Remove.
7787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7788 sysdeps/unix/sparc/sysdep.h
7789 (ENTRY, END): Remove.
7790 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7792 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7794 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7795 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7798 * timezone/README: Update upstream location and email address for
7800 * timezone/zdump.c: Update from tzcode 2012b.
7801 * timezone/zic.c: Likewise.
7803 * configure.in (libc_cv_as_needed): Remove test.
7804 * configure: Regenerated.
7805 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7806 conditional definition.
7807 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7808 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7809 * config.make.in (have-as-needed): Remove variable.
7811 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7812 Paul Pluzhnikov <ppluzhnikov@google.com>
7814 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7817 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7819 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7820 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7821 * sysdeps/sh/strlen.S: Likewise.
7823 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7825 * sysdeps/unix/fork.S: Remove file.
7826 * sysdeps/unix/i386/fork.S: Likewise.
7827 * sysdeps/unix/sparc/fork.S: Likewise.
7829 * sysdeps/unix/system.c: Remove file.
7830 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7832 * sysdeps/unix/getegid.S: Remove file.
7833 * sysdeps/unix/geteuid.S: Likewise.
7835 2012-04-24 Roland McGrath <roland@hack.frob.com>
7837 * scripts/check-localplt.awk: New file.
7838 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7840 * scripts/data/localplt-generic.data: Add a comment.
7842 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7843 NODE when __dir_mkfile failed.
7844 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7845 Reported by Ludovic Courtès <ludo@gnu.org>.
7847 2012-04-24 Andreas Jaeger <aj@suse.de>
7849 * Makerules (common-clean): Also remove gen-as-const-headers
7852 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7854 * Makerules (native-compile): Do not change working directory for
7855 build. Use $(OUTPUT_OPTION) in command.
7856 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7858 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7861 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7862 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7863 * math/libm-test.inc (floor_test): Add more tests.
7864 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7866 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7868 * sysdeps/unix/getdents.c: Remove file.
7869 * sysdeps/unix/sysv/getdents.c: Likewise.
7870 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7872 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7873 sysdeps/unix/mman/syscalls.list.
7875 (mprotect): Likewise.
7878 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7879 * sysdeps/unix/mman/syscalls.list: Remove.
7880 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7882 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7883 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7884 * configure: Regenerated.
7885 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7887 * config.make.in (libgcc_s_suffix): Remove variable.
7889 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7891 * sysdeps/unix/sysv/gethostname.c: Move to ...
7892 * sysdeps/posix/gethostname.c: ... here.
7894 * sysdeps/unix/execve.S: Remove file.
7896 * sysdeps/unix/_exit.S: Remove file.
7898 2012-04-23 Andreas Jaeger <aj@suse.de>
7901 * manual/Makefile: Remove make dist support, there's no
7902 need for a stand-alone documentation tar ball.
7903 (TEXI2DVI): Define always, it's not in Makeconfig.
7907 (glibc-doc-$(edition).tar): Removed
7911 (ETAGS): Remove, it's in Makeconfig.
7912 (move-if-change): Remove, it's in Makeconfig.
7914 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7917 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7918 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7919 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7920 (strtod_l, strtof_l, strtold_l): Remove __wur.
7921 It is not necessarily an error to ignore strtol's return value.
7922 One can reliably look at the stored endptr to decide whether
7923 the number had valid syntax.
7925 2012-04-21 Andreas Jaeger <aj@suse.de>
7928 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7930 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7932 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7933 * sysdeps/unix/sysv/Versions: Remove file.
7935 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7940 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7943 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7944 version from __vm86.
7946 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7948 * sysdeps/unix/common/lxstat.c: Remove file.
7949 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7951 * sysdeps/unix/sysv/Makefile: Remove file.
7953 * sysdeps/unix/sysv/direct.h: Remove file.
7955 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7956 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7957 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7958 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7959 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7960 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7961 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7963 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7965 * sysdeps/unix/xmknod.c: Remove file.
7966 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7968 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7970 * sysdeps/unix/sysv/i386/time.S: Remove file.
7972 * sysdeps/unix/fxstat.c: Remove file.
7973 * sysdeps/unix/xstat.c: Likewise.
7974 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7976 * sysdeps/unix/sysv/sigaction.c: Remove file.
7978 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7979 (sysdep_headers): Remove variable.
7980 [termio.h not in sysdep_headers] (generated): Likewise.
7981 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7982 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7983 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7984 * sysdeps/unix/sysv/tcflow.c: Likewise.
7985 * sysdeps/unix/sysv/tcflush.c: Likewise.
7986 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7987 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7988 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7989 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7990 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7992 * sysdeps/unix/siglist.c: Remove file.
7994 * sysdeps/unix/getppid.S: Remove file.
7996 * sysdeps/unix/mkdir.c: Remove file.
7997 * sysdeps/unix/rmdir.c: Likewise.
7999 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8001 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8003 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8004 errlist-compat value.
8006 2012-04-18 David S. Miller <davem@davemloft.net>
8008 * sysdeps/generic/memcopy.h (reg_char): Delete.
8009 * debug/strcat_chk.c: Use char, not reg_char.
8010 * debug/strcpy_chk.c: Likewise.
8011 * debug/strncat_chk.c: Likewise.
8012 * debug/strncpy_chk.c: Likewise.
8013 * string/memchr.c: Likewise.
8014 * string/memrchr.c: Likewise.
8015 * string/rawmemchr.c: Likewise.
8016 * string/strcat.c: Likewise.
8017 * string/strchr.c: Likewise.
8018 * string/strchrnul.c: Likewise.
8019 * string/strcmp.c: Likewise.
8020 * string/strcpy.c: Likewise.
8021 * string/strncat.c: Likewise.
8022 * string/strncmp.c: Likewise.
8023 * string/strncpy.c: Likewise.
8025 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8027 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8028 __builtin_memcopy is called when src and dest ranges are known to not
8031 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8033 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8034 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8035 fwd_align_merge macro call.
8036 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8037 bwd_align_merge macro call.
8038 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8040 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8042 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8043 bwd_align_merge macros.
8044 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8045 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8046 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8048 2012-04-18 David S. Miller <davem@davemloft.net>
8050 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8052 2012-04-18 Andreas Jaeger <aj@suse.de>
8055 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8056 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8057 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8059 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8060 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8061 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8063 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8064 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8065 Adjust for changed ldbl-128 files.
8067 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8068 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8069 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8071 2012-04-17 David S. Miller <davem@davemloft.net>
8073 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8075 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8077 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8078 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8079 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8080 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8081 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8082 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8084 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8087 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8088 * math/libm-test.inc: Add ilogb errno and exception tests.
8089 * math/w_ilogb.c: New file: ilogb wrapper.
8090 * math/w_ilogbf.c: New file: ilogbf wrapper.
8091 * math/w_ilogbl.c: New file: ilogbl wrapper.
8092 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8093 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8094 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8095 exception being thrown with 0.0 as argument.
8096 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8097 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8098 exception being thrown with 0.0 as argument.
8099 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8100 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8101 exception being thrown with 0.0 as argument.
8102 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8103 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8104 exception being thrown with 0.0 as argument.
8105 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8106 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8107 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8108 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8109 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8110 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8111 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8112 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8113 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8115 2012-04-17 Petr Baudis <pasky@ucw.cz>
8117 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8120 2012-04-16 Marek Polacek <polacek@redhat.com>
8122 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8124 2012-04-16 Marek Polacek <polacek@redhat.com>
8126 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8127 operands of fdivp instruction.
8129 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8131 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8132 * elf/tst-auditmod3b.c: Likewise.
8133 * elf/tst-auditmod4b.c: Likewise.
8134 * elf/tst-auditmod5b.c: Likewise.
8135 * elf/tst-auditmod6b.c: Likewise.
8136 * elf/tst-auditmod6c.c: Likewise.
8137 * elf/tst-auditmod7b.c: Likewise.
8138 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8139 * sysdeps/x86_64/preconfigure.in: Likewise.
8140 * sysdeps/x86_64/preconfigure: Regenerated.
8142 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8144 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8147 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8149 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8150 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8152 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8155 * locale/iso-639.def: Fix gl language name. Spotted by
8158 2012-04-12 Roland McGrath <roland@hack.frob.com>
8161 * libio/libio.h (__io_write_fn): Update comment.
8163 2012-04-12 Petr Baudis <pasky@ucw.cz>
8166 * stdio.texi (Hook Functions): The user provided writer function
8167 is not allowed to return -1.
8169 2012-04-11 David S. Miller <davem@davemloft.net>
8171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8173 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8175 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8176 Add a leading slash to rtkaio.
8178 2012-04-11 Jim Meyering <meyering@redhat.com>
8181 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8182 It is not necessarily an error to ignore fwrite's return
8183 value. One can reliably use ferror to test for errors after
8186 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8188 * bits/types.h (__snseconds_t): New type.
8189 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8191 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8193 (__SNSECONDS_T_TYPE): Likewise.
8194 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8195 (__SNSECONDS_T_TYPE): Likewise.
8196 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8197 (__SNSECONDS_T_TYPE): Likewise.
8199 2012-04-10 Andreas Jaeger <aj@suse.de>
8202 * manual/time.texi (Processor Time): Return type of times is
8203 elapsed real time since an arbitrary point in the past.
8204 (CPU Time): Move CLK_TCK from here...
8205 (Processor Time): ...to here. Correct description.
8206 * manual/conf.texi (Constants for Sysconf): Correct description of
8209 2012-04-10 David S. Miller <davem@davemloft.net>
8212 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8213 where the is a gap between DT_REL(A) and DT_JMPREL.
8215 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8217 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8218 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8219 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8221 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8223 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8224 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8225 (dl_main): Handle --inhibit-cache.
8226 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8228 * elf/dl-load.c (_dl_map_object): Use it.
8229 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8231 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8234 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8235 (__ieee754_powl): Saturate large exponents rather than testing for
8236 overflow of y*log2(x).
8237 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8238 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8242 * math/s_ctan.c: Include <float.h>.
8243 (__ctan): Avoid internal overflow or cancellation in calculating
8245 * math/s_ctanf.c: Likewise.
8246 * math/s_ctanl.c: Likewise.
8247 * math/s_ctanh.c: Likewise.
8248 * math/s_ctanhf.c: Likewise.
8249 * math/s_ctanhl.c: Likewise.
8250 * math/libm-test.inc (ctan_test): Add more tests.
8251 (ctanh_test): Likewise.
8252 * sysdeps/i386/fpu/libm-test-ulps: Update.
8253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8255 2012-04-09 Andreas Jaeger <aj@suse.de>
8258 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8259 is an optional BSD extension.
8262 * manual/stdio.texi (Opening Streams): Document additional fopen
8265 2012-04-09 Roland McGrath <roland@hack.frob.com>
8267 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8268 %eax without telling the compiler.
8270 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8273 * manual/install.texi: Use sourceware.org.
8275 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8278 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8279 (__ieee754_pow): Generate overflow and underflow using huge*huge
8280 and tiny*tiny rather than just returning constant infinity or zero
8281 for large exponents.
8282 * math/libm-test.inc (pow_test): Require overflow exceptions for
8283 applicable cases of large exponents.
8286 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8287 (__ieee754_pow): Use iterative multiplication algorithm only for
8288 integer exponents with absolute value below 1024. Check for odd
8289 integer exponents when using algorithm for real exponents.
8290 * math/libm-test.inc (pow_test): Add more tests.
8291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8293 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8296 * math/libm-test.inc (exp_test): Do not allow overflow exception
8299 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8302 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8303 instead of __kernel_standard_f.
8305 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8307 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8308 * sysdeps/x86_64/memset_chk.S: Likewise.
8310 2012-04-08 Andreas Jaeger <aj@suse.de>
8313 * manual/startup.texi (Environment Access): Describe return value
8314 for putenv and setenv.
8317 * manual/filesys.texi (Directory Entries): Add description for
8321 * manual/filesys.texi (Directory Entries): Clarify that it's file
8322 system not operating system in the description of DT_UNKNOWN.
8325 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8327 2012-04-08 Stephen Compall <s11@member.fsf.org>
8330 * manual/llio.texi (Opening and Closing Files): Add cross
8331 reference to explain mode argument.
8333 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8335 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8336 * sysdeps/x86_64/memset_chk.S: Likewise.
8338 2012-04-07 David S. Miller <davem@davemloft.net>
8340 * elf/elf.h (R_SPARC_WDISP10): Define.
8341 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8343 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8344 R_SPARC_SIZE64 and R_SPARC_H34.
8346 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8348 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8349 conditions and remove no longer applicable assertion.
8351 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8353 * bits/byteswap.h: Include <features.h>.
8354 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8355 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8357 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8359 * bits/byteswap.h (__bswap_16): Removed.
8360 Include <bits/byteswap-16.h> to get __bswap_16.
8361 * sysdeps/i386/bits/byteswap.h: Likewise.
8362 * sysdeps/s390/bits/byteswap.h: Likewise.
8363 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8364 * bits/byteswap-16.h: New file.
8365 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8366 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8367 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8368 * string/Makefile (headers): Add bits/byteswap-16.h.
8370 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8373 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8375 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8376 * nss/tst-nss-static.c: New.
8378 2012-04-06 Robert Millan <rmh@gnu.org>
8381 * manual/llio.texi (File Position Primitive): lseek
8382 refers to WHENCE when it really means OFFSET.
8384 2012-04-06 Andreas Jaeger <aj@suse.de>
8386 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8387 strncmp declarations.
8389 * abilist/libc.abilist: Add __poll and __ppoll.
8391 2012-04-05 David S. Miller <davem@davemloft.net>
8393 * scripts/check-local-headers.sh: Accept a host triplet in the
8394 path matched by the exclude regexp.
8396 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8398 * sysdeps/powerpc/powerpc32/dl-machine.h
8399 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8400 * sysdeps/s390/s390-32/dl-machine.h
8401 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8402 * sysdeps/sparc/sparc32/dl-machine.h
8403 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8404 * sysdeps/sparc/sparc64/dl-machine.h
8405 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8407 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8409 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8410 undefined symbol errors.
8412 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8415 2012-04-05 Michael Matz <matz@suse.de>
8418 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8420 2012-04-05 Andreas Jaeger <aj@suse.de>
8423 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8426 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8428 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8429 which ROUND is no valid rounding mode.
8431 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8433 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8435 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8437 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8439 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8440 an exception using FPU order intentionally.
8442 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8444 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8445 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8446 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8447 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8449 2012-04-05 Simon Josefsson <simon@josefsson.org>
8452 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8453 EINVAL when BUFLEN is too smal.
8455 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8458 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8459 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8461 2012-04-03 Andreas Jaeger <aj@suse.de>
8464 * manual/setjmp.texi (System V contexts): Fix sentence.
8467 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8468 New macro for this case.
8469 [!__GNUC__] (__bswap_64): New inline function for this case.
8470 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8471 * bits/byteswap.h: Likewise.
8472 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8473 ull, guard with __GLIBC_HAVE_LONG_LONG.
8475 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8476 __GLIBC_HAVE_LONG_LONG.
8478 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8479 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8481 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8484 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8485 inptr and inend, rather than using last_ch.
8487 2012-04-02 David S. Miller <davem@davemloft.net>
8489 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8490 * stdio-common/printf-parse.h (read_int): Change return type to
8491 'int', return -1 on INT_MAX overflow.
8492 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8493 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8494 overflows INT_MAX. Check for overflow of in-format-string precision
8495 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8496 SIZE_MAX not INT_MAX for integer overflow test.
8497 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8498 skip the construct in the format string but do not record anything.
8499 * stdio-common/bug22.c: Adjust to test both width/prevision
8500 INT_MAX overflow as well as total length INT_MAX overflow. Check
8501 explicitly for proper errno values.
8503 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8505 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8507 * string/test-strcmp.c [! WIDE]: Likewise.
8508 * time/tst-mktime2.c: Likewise for INT_MAX.
8509 * string/test-string.h: #include <sys/param.h> for MIN.
8511 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8512 * sysdeps/i386/init-first.c (init): Likewise.
8513 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8514 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8515 * sysdeps/sh/init-first.c (init): Likewise.
8517 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8519 * po/ru.po: Update from translation team.
8520 * po/vi.po: Likewise.
8522 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8524 * resolv/nss_dns/dns-host.c: Merge copyright years.
8526 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8528 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8529 Optimize memcpy with prefetch if
8530 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8531 src, dst pointers have unequal 16 byte alignments.
8533 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8536 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8537 from a CNAME entry and return the minimum ttl for the query.
8538 (gaih_getanswer_slice): Likewise.
8540 2012-03-30 Jeff Law <law@redhat.com>
8542 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8544 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8545 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8547 * resolv/nss_dns/dns-host.c: Update copyright year.
8549 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8551 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8552 requests to save a system call. Fix check that all bytes are sent.
8554 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8555 comments for sendmmsg.
8557 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8560 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8561 with only 1 character between 0x0041 and 0x01b0.
8562 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8563 * wcsmbs/tst-mbsnrtowcs.c: New file.
8565 2012-03-29 David S. Miller <davem@davemloft.net>
8567 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8568 small copies by hand.
8570 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8573 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8574 _nss_compat_initgroups_dyn): Fall back to malloc/free
8575 for large group memberships.
8577 2012-03-28 David S. Miller <davem@davemloft.net>
8579 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8580 that branches into memcpy.
8581 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8582 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8583 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8584 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8587 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8589 * sysdeps/sparc/mempcpy.S: New file.
8591 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8592 the IFUNC routine in the libc case.
8593 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8595 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8596 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8597 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8598 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8599 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8600 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8601 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8602 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8604 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8605 loop to 256 bytes instead of 64 bytes and fix test signedness.
8607 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8608 * sysdeps/sparc/sparc32/Makefile: rather than here...
8609 * sysdeps/sparc/sparc64/Makefile: and here.
8611 2012-03-28 Ulrich Drepper <drepper@gmail.com>
8613 * malloc/mallocbug.c: Avoid warnings about unused variables.
8615 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8618 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8619 in the right place. Discard and retry query if response is
8620 larger than input buffer size.
8622 2012-03-28 Joseph Myers <joseph@codesourcery.com>
8627 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8628 x for large integer exponent.
8629 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8630 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8631 sign of result as needed afterwards.
8632 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8633 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8634 result for underflowing pow the same as for overflow.
8635 (__kernel_standard_l): Handle powl overflow and underflow here
8636 rather than calling __kernel_standard.
8637 * math/libm-test.inc (pow_test): Add more tests.
8652 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8653 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8654 (__kernel_standard_l): New function.
8655 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8657 * math/w_acosl.c (__acosl): Likewise.
8658 * math/w_asinl.c (__asinl): Likewise.
8659 * math/w_atan2l.c (__atan2l): Likewise.
8660 * math/w_atanhl.c (__atanhl): Likewise.
8661 * math/w_coshl.c (__coshl): Likewise.
8662 * math/w_exp10l.c (__exp10l): Likewise.
8663 * math/w_exp2l.c (__exp2l): Likewise.
8664 * math/w_fmodl.c (__fmodl): Likewise.
8665 * math/w_hypotl.c (__hypotl): Likewise.
8666 * math/w_j0l.c (__j0l, __y0l): Likewise.
8667 * math/w_j1l.c (__j1l, __y1l): Likewise.
8668 * math/w_jnl.c (__jnl, __ynl): Likewise.
8669 * math/w_lgammal.c (__lgammal): Likewise.
8670 * math/w_log10l.c (__log10l): Likewise.
8671 * math/w_log2l.c (__log2l): Likewise.
8672 * math/w_logl.c (__logl): Likewise.
8673 * math/w_powl.c (__powl): Likewise.
8674 * math/w_remainderl.c (__remainderl): Likewise.
8675 * math/w_scalbl.c (sysv_scalbl): Likewise.
8676 * math/w_sinhl.c (__sinhl): Likewise.
8677 * math/w_sqrtl.c (__sqrtl): Likewise.
8678 * math/w_tgammal.c (__tgammal): Likewise.
8679 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8680 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8681 * math/libm-test.inc (acos_test): Add more tests.
8682 (acosh_test): Likewise.
8683 (asin_test): Likewise.
8684 (atanh_test): Likewise.
8685 (exp_test): Likewise.
8686 (exp10_test): Likewise.
8687 (exp2_test): Likewise.
8688 (expm1_test): Likewise.
8689 (lgamma_test): Likewise.
8690 (log_test): Likewise.
8691 (log10_test): Likewise.
8692 (log1p_test): Likewise.
8693 (log2_test): Likewise.
8694 (pow_test): Do not allow some spurious overflow exceptions.
8695 (sqrt_test): Add more tests.
8696 (tgamma_test): Likewise.
8697 (y0_test): Likewise.
8698 (y1_test): Likewise.
8699 (yn_test): Likewise.
8701 2012-03-27 Anton Blanchard <anton@samba.org>
8703 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8705 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8706 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8707 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8709 2012-03-27 David S. Miller <davem@davemloft.net>
8711 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8713 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8716 2012-03-27 Andreas Jaeger <aj@suse.de>
8718 * sysdeps/x86_64/elf/configure.in: Moved to ...
8719 * sysdeps/x86_64/configure.in: ... here.
8720 * sysdeps/x86_64/elf/start.S: Moved to ...
8721 * sysdeps/x86_64/start.S: ... here.
8722 * sysdeps/x86_64/elf/configure: Delete.
8724 * sysdeps/x86_64/configure.in: Merge contents from
8725 sysdeps/i386/configure.in (without i686 check).
8727 * sysdeps/i386/elf/Versions: Merge into ...
8728 * sysdeps/i386/Versions: ... this.
8729 * sysdeps/i386/elf/Versions: Delete file.
8730 * sysdeps/i386/elf/start.S: Moved to ...
8731 * sysdeps/i386/start.S: ...here.
8732 * sysdeps/i386/elf/configure.in: Merge into...
8733 * sysdeps/i386/configure.in: ...here.
8734 * sysdeps/i386/elf/configure.in: Delete file.
8735 * sysdeps/i386/elf/configure: Delete file.
8737 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8738 * debug/backtracesyms.c: ... here.
8739 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8740 * debug/backtracesymsfd.c: ... here.
8741 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8742 * sysdeps/generic/ifunc-sel.h: ... here.
8744 * sysdeps/unix/i386/start.c: Delete file.
8745 * sysdeps/unix/sparc/start.c: Delete file.
8746 * sysdeps/unix/start.c: Delete file.
8748 * sysdeps/sh/elf/configure.in: Moved to ...
8749 * sysdeps/sh/configure.in: ... here.
8750 * sysdeps/sh/elf/start.S: Moved to ...
8751 * sysdeps/sh/start.S: ... here.
8752 * sysdeps/sh/elf/configure: Delete file.
8754 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8755 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8756 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8757 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8758 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8759 * sysdeps/powerpc/powerpc64/start.S: here.
8760 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8761 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8762 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8763 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8764 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8766 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8767 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8768 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8769 * sysdeps/powerpc/powerpc32/start.S: ... here.
8770 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8771 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8772 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8774 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8775 * sysdeps/powerpc/ifunc-sel.h: ... here.
8776 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8777 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8779 * sysdeps/sparc/elf/configure.in: Moved to ...
8780 * sysdeps/sparc/configure.in: ... here.
8781 * sysdeps/sparc/elf/configure: Delete file.
8782 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8783 * sysdeps/sparc/sparc32/start.S: ... here.
8784 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8785 * sysdeps/sparc/sparc64/start.S: ... here.
8786 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8787 * sysdeps/sparc/sparc32/Makefile: ... this.
8788 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8789 * sysdeps/sparc/sparc64/Makefile: ... this.
8791 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8792 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8793 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8794 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8795 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8796 * sysdeps/s390/s390-32/setjmp.S: ... here.
8797 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8798 * sysdeps/s390/s390-32/configure.in: ... here.
8799 * sysdeps/s390/s390-32/elf/configure: Delete file.
8800 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8801 * sysdeps/s390/s390-32/start.S: ... here.
8803 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8804 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8805 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8806 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8807 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8808 * sysdeps/s390/s390-64/setjmp.S: ... here.
8809 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8810 * sysdeps/s390/s390-64/configure.in: ... here
8811 * sysdeps/s390/s390-64/elf/configure: Delete file.
8812 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8813 * sysdeps/s390/s390-64/start.S: ... here.
8814 * sysdeps/s390/s390-64/elf/configure: Delete.
8816 * configure.in: Remove support for elf directories in sysdeps.
8818 * configure: Regenerated.
8819 * sysdeps/i386/configure: Regenerated.
8820 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8821 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8822 * sysdeps/s390/s390-32/configure: Regenerated.
8823 * sysdeps/s390/s390-64/configure: Regenerated.
8824 * sysdeps/sh/configure: Regenerated.
8825 * sysdeps/sparc/configure: Regenerated.
8826 * sysdeps/x86_64/configure: Regenerated.
8828 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8832 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8833 denormal result into account.
8835 2012-03-25 Roland McGrath <roland@hack.frob.com>
8837 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8838 Reported by Allan McRae <allan@archlinux.org>.
8840 2012-03-23 Jeff Law <law@redhat.com>
8842 * nss/getnssent.c (__nss_getent): Fix typo.
8844 2012-03-23 David S. Miller <davem@davemloft.net>
8846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8848 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8850 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8851 to pad to uint64_t for each field.
8852 (dl_tls_index): Replace unsigned long with uint64_t.
8854 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8855 Paul Pluzhnikov <ppluzhnikov@google.com>
8858 * grp/Makefile (otherlibs): Don't set it.
8859 * inet/Makefile (otherlibs): Likewise.
8860 * login/Makefile (otherlibs): Likewise.
8861 * nscd/Makefile (otherlibs): Likewise.
8862 * posix/Makefile (otherlibs): Likewise.
8863 * pwd/Makefile (otherlibs): Likewise.
8864 * rt/Makefile (otherlibs): Likewise.
8865 * sunrpc/Makefile (otherlibs): Likewise.
8866 * nss/Makefile (otherlibs): Likewise.
8867 Add libnss_files to routines and static-only-routines.
8868 ($(objpfx)getent): Remove rule.
8869 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8870 static-only-routines.
8872 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8875 * math/s_cexp.c: Include <float.h>.
8876 (__cexp): Handle exp result overflowing not necessarily
8877 overflowing both real and imaginary parts of result.
8878 * math/s_cexpf.c: Likewise.
8879 * math/s_cexpl.c: Likewise.
8880 * math/libm-test.inc (cexp_test): Add more tests.
8881 * sysdeps/i386/fpu/libm-test-ulps: Update.
8882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8884 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8886 * include/link.h (ELFW): New macro.
8887 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8888 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8890 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8892 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8895 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8897 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8899 (struct La_x32_retval): Likewise.
8901 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8903 * sysdeps/x86_64/preconfigure.in: New file.
8904 * sysdeps/x86_64/preconfigure: New generated file.
8906 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8909 * math/e_exp2l.c: Include <float.h>.
8910 (__ieee754_exp2l): Handle overflow and underflow cases
8911 separately. Only pass fractional part of argument to
8913 * math/libm-test.inc (exp2_test): Add more tests.
8915 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8916 negating x to take absolute value.
8917 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8919 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8920 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8922 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8923 computing low part if x was negated.
8924 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8926 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8928 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8930 (pltexit): Cast int_retval to ptrdiff_t.
8931 * elf/tst-auditmod3b.c: Likewise.
8932 * elf/tst-auditmod4b.c: Likewise.
8933 * elf/tst-auditmod5b.c: Likewise.
8934 * elf/tst-auditmod6b.c: Likewise.
8935 * elf/tst-auditmod6c.c: Likewise.
8936 * elf/tst-auditmod7b.c: Likewise.
8938 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8939 and x32_gnu_pltexit.
8941 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8943 (La_x32_regs): New macro.
8944 (La_x32_retval): Likewise.
8945 (la_x32_gnu_pltenter): New function prototype.
8946 (la_x32_gnu_pltexit): Likewise.
8948 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8950 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8955 * configure.in (libc_cv_cc_nofma): Check for option to disable
8956 generation of FMA instructions.
8957 * configure: Regenerate.
8958 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8959 * sysdeps/ieee754/dbl-64/Makefile: New file.
8960 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8961 Remove brandred-fma4.
8962 (CFLAGS-brandred-fma4.c): Remove.
8963 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8964 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8966 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8969 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8971 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8972 LLONG_MAX != LONG_MAX.
8973 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8974 (_fitoa_word): Likewise.
8975 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8976 LLONG_MAX != LONG_MAX.
8977 * stdio-common/_itowa.h: Include <_itoa.h>.
8978 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8979 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8980 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8981 only if not defined.
8982 (_ITOA_WORD_TYPE): Likewise.
8983 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8984 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8986 2012-03-21 David S. Miller <davem@davemloft.net>
8988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8990 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8992 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8993 of x86_64 when setting libc_cv_slibdir, libdir and
8995 * sysdeps/unix/sysv/linux/configure: Regenerated.
8997 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8999 * manual/lang.texi (Old Varargs): Remove section.
9000 (How Variadic): Update menu.
9001 (va_start): Do not mention varargs.h.
9003 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9004 Joseph Myers <joseph@codesourcery.com>
9006 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9008 * configure: Regenerated.
9010 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9012 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9013 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9016 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9019 * Makefile (files-for-dist): Remove NOTES.
9020 (NOTES): Remove rule.
9021 * README: Don't refer to NOTES.
9022 * manual/creature.texi: Don't include macros.texi.
9023 * manual/intro.texi (creature.texi): Remove comment referring to
9026 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9027 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9028 * configure: Regenerated.
9029 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9031 (libc_cv_as_i686): Likewise.
9032 (libc_cv_cc_avx): Likewise.
9033 (libc_cv_cc_sse2avx): Likewise.
9034 (libc_cv_cc_fma4): Likewise.
9035 (libc_cv_cc_novzeroupper): Likewise.
9036 * sysdeps/i386/configure: Regenerated.
9039 * sysdeps/i386/fpu/s_cexp.S: Remove.
9040 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9041 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9042 * math/libm-test.inc (cexp_test): Add more tests.
9043 * sysdeps/i386/fpu/libm-test-ulps: Update.
9044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9046 2012-03-21 Allan McRae <allan@archlinux.org>
9048 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9050 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9053 * math/w_exp2.c: Do not include <float.h>.
9054 (o_threshold, u_threshold): Remove.
9055 (__exp2): Calculate result before checking finiteness and calling
9057 * math/w_exp2f.c: Likewise.
9058 * math/w_exp2l.c: Likewise.
9059 * math/libm-test.inc (exp2_test): Require overflow exception for
9063 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9064 range of signed 64-bit integers before using fistpll. Remove
9065 checks for whether integers fit in mantissa bits.
9066 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9067 the range of signed 32-bit integers before using fistpl. Remove
9068 checks for whether integers fit in mantissa bits.
9069 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9070 (__ieee754_powl): Test for y outside the range of signed 64-bit
9071 integers before using fistpll. Reduce 64-bit values to 63-bit
9073 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9074 divide-by-zero is raised for zero to large negative powers.
9075 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9076 (__ieee754_powl): Test for y outside the range of signed 64-bit
9077 integers before using fistpll. Reduce 64-bit values to 63-bit
9079 * math/libm-test.inc (pow_test): Add more tests.
9081 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9083 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9084 <stdio-common/_itoa.h>.
9085 * debug/segfault.c: Likewise.
9086 * elf/dl-cache.c: Likewise.
9087 * elf/dl-minimal.c: Likewise.
9088 * elf/dl-misc.c: Likewise.
9089 * elf/dl-sysdep.c: Likewise.
9090 * elf/dl-version.c: Likewise.
9091 * elf/rtld.c: Likewise.
9092 * hurd/hurdsock.c: Likewise.
9093 * hurd/lookup-retry.c: Likewise.
9094 * malloc/malloc.c: Likewise.
9095 * malloc/mtrace.c: Likewise.
9096 * nscd/nscd_getgr_r.c: Likewise.
9097 * nscd/nscd_getpw_r.c: Likewise.
9098 * nscd/nscd_getserv_r.c: Likewise.
9099 * posix/getopt_init.c: Likewise.
9100 * posix/wordexp.c: Likewise.
9101 * stdio-common/_itoa.c: Likewise.
9102 * stdio-common/printf_fphex.c: Likewise.
9103 * stdio-common/vfprintf.c: Likewise.
9104 * string/_strerror.c: Likewise.
9105 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9106 * sysdeps/i386/i686/hp-timing.h: Likewise.
9107 * sysdeps/mach/_strerror.c: Likewise.
9108 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9109 * sysdeps/mach/hurd/sethostid.c: Likewise.
9110 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9111 * sysdeps/mach/xpg-strerror.c: Likewise.
9112 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9113 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9114 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9115 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9116 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9117 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9118 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9119 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9120 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9121 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9122 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9123 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9124 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9125 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9126 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9127 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9128 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9129 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9130 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9131 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9132 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9134 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9136 * stdio-common/_itoa.h: Moved to ...
9137 * sysdeps/generic/_itoa.h: Here.
9139 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9141 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9142 instead of "_itoa.h" and "_itowa.h".
9143 * stdio-common/vfprintf.: Likewise.
9145 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9147 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9149 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9150 (__signbit): Likwise.
9154 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9156 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9159 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9161 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9162 OVERFLOW_EXCEPTION_OK.
9163 * math/libm-test.inc ("Philosophy"): Update comment about
9165 (OVERFLOW_EXCEPTION): Define.
9166 (OVERFLOW_EXCEPTION_OK): Likewise.
9167 (INVALID_EXCEPTION_OK): Renumber.
9168 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9169 (IGNORE_ZERO_INF_SIGN): Likewise.
9170 (test_exceptions): Handle FE_OVERFLOW.
9171 (exp10_test): Expect overflow exceptions.
9172 (exp2_test): Likewise.
9173 (expm1_test): Likewise.
9174 (nextafter_test): Likewise.
9175 (pow_test): Likewise.
9176 (scalbn_test): Likewise.
9177 (scalbln_test): Likewise.
9179 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9181 * sysdeps/x86_64/bits/atomic.h
9182 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9184 (atomic_exchange_acq): Likewise.
9185 (__arch_exchange_and_add_body): Likewise.
9186 (__arch_add_body): Likewise.
9187 (atomic_add_negative): Likewise.
9188 (atomic_add_zero): Likewise.
9190 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9192 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9193 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9195 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9197 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9198 Check __x86_64__ instead of __WORDSIZE.
9200 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9202 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9204 2012-03-19 David S. Miller <davem@davemloft.net>
9206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9208 * sysdeps/sparc/fpu/fenv_private.h: New file.
9209 * sysdeps/sparc/fpu/math_private.h: Use it.
9210 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9212 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9213 (libc_feholdexcept_setroundl): Remove.
9214 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9216 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9217 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9219 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9221 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9222 int64_t instead of long int.
9223 (INSERT_WORDS64): Likwise.
9225 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9227 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9228 _Unwind_GetCFA return to _Unwind_Ptr first.
9230 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9233 * math/s_clog.c: Include <float.h>.
9234 (__clog): Scale large or subnormal inputs.
9235 * math/s_clogf.c: Likewise.
9236 * math/s_clogl.c: Likewise.
9237 * math/s_clog10.c: Include <float.h>.
9238 (M_LOG10_2): Define.
9239 (__clog10): Scale large or subnormal inputs.
9240 * math/s_clog10f.c: Likewise.
9241 * math/s_clog10l.c: Likewise.
9242 * math/libm-test.inc (clog_test): Add more tests.
9243 (clog10_test): Likewise.
9244 * sysdeps/i386/fpu/libm-test-ulps: Update.
9245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9248 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9250 * math/libm-test.inc (atan2_test): Add another test.
9252 * Makerules (common-objdir-compile): Remove.
9253 * sysdeps/unix/Makefile (config-generated): Do not add
9254 $(unix-generated) to variable.
9255 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9256 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9258 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9260 [generic bits/local_lim.h] (before-compile): Do not append to
9262 [generic bits/local_lim.h] (common-generated): Likewise.
9263 [generic sys/param.h] (before-compile): Do not append to variable.
9264 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9265 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9266 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9267 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9269 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9270 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9271 [generic sys/param.h] ($(addprefix
9272 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9273 [generic sys/param.h] (common-generated): Do not append to
9275 [generic sys/param.h] (sysdep_headers): Likewise.
9276 [generic bits/errno.h] (before-compile): Do not append to
9278 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9280 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9281 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9282 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9283 [generic bits/errno.h] (common-generated): Do not append to
9285 [generic bits/ioctls.h] (before-compile): Do not append to
9287 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9289 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9290 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9291 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9293 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9294 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9295 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9296 [generic bits/ioctls.h] (common-generated): Do not append to
9298 [generic sys/syscall.h] (syscall.h): Remove variable.
9299 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9301 [generic sys/syscall.h] (before-compile): Do not append to
9303 [generic sys/syscall.h] (common-generated): Likewise.
9304 * sysdeps/unix/errnos-tmpl.c: Remove file.
9305 * sysdeps/unix/errnos.awk: Likewise.
9306 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9307 * sysdeps/unix/ioctls.awk: Likewise.
9308 * sysdeps/unix/mk-local_lim.c: Likewise.
9309 * sysdeps/unix/snarf-ioctls: Likewise.
9311 2012-03-19 Richard Henderson <rth@twiddle.net>
9313 * sysdeps/i386/fpu/fenv_private.h: New file.
9314 * sysdeps/i386/fpu/math_private.h: Use it.
9315 (math_opt_barrier, math_force_eval): Remove.
9316 (libc_feholdexcept_setround_53bit): Remove.
9317 (libc_feupdateenv_53bit): Remove.
9318 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9319 (math_opt_barrier, math_force_eval): Remove.
9320 (libc_feholdexcept): Remove.
9321 (libc_feholdexcept_setround): Remove.
9322 (libc_fetestexcept, libc_fesetenv): Remove.
9323 (libc_feupdateenv_test): Remove.
9324 (libc_feupdateenv, libc_feholdsetround): Remove.
9325 (libc_feresetround): Remove.
9327 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9328 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9330 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9331 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9332 (libc_feupdateenv_testl): New.
9333 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9334 (libc_feupdateenv_testf): New.
9335 (libc_feupdateenv): Use libc_feupdateenv_test.
9336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9337 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9339 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9340 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9341 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9342 (libc_feresetround_noex): New.
9343 (libc_feresetround_noexf): New.
9344 (libc_feresetround_noexl): New.
9345 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9346 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9347 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9348 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9350 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9351 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9353 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9354 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9355 SET_RESTORE_ROUND_NOEX.
9356 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9357 SET_RESTORE_ROUND_NOEXF.
9358 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9359 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9360 (libc_feholdsetroundf): New.
9361 (libc_feresetround, libc_feresetroundf): New.
9363 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9364 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9365 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9367 * sysdeps/generic/math_private.h: Include <fenv.h>.
9368 (default_libc_feholdexcept): New.
9369 (default_libc_feholdexcept_setround): New.
9370 (default_libc_fesetenv, default_libc_feupdateenv): New.
9371 (libc_feholdexcept): Only define if undefined.
9372 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9373 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9374 (libc_feholdexcept_setroundl): Likewise.
9375 (libc_feholdexcept_setround_53bit): Likewise.
9376 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9377 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9378 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9379 (libc_feupdateenv_53bit): Likewise.
9380 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9381 (libc_feholdexcept): Convert from macro to inline function.
9382 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9383 (libc_fesetenv, libc_feupdateenv): Likewise.
9385 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9386 not previously defined.
9387 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9388 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9389 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9390 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9391 * sysdeps/ieee754/flt-32/math_private.h: New file.
9392 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9393 math_private.h below SET_FLOAT_WORD.
9394 (__isnan, __isinf_ns, __finite): Remove.
9395 (__isnanf, __isinf_nsf, __finitef): Remove.
9397 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9401 2012-03-17 David S. Miller <davem@davemloft.net>
9404 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9407 2012-03-16 David S. Miller <davem@davemloft.net>
9409 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9413 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9415 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9416 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9417 sysdep_routines when subdir is sysvipc.
9418 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9421 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9423 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9425 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9428 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9430 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9431 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9432 (__lround): Renamed to ...
9433 (__llround): This. Replace long int with long long int.
9434 Define lround functions as aliases of llround functions.
9435 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9437 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9439 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9440 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9441 adresses to uintptr_t. Replace "long int" and "unsigned long
9442 int" with "greg_t" on va_arg.
9444 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9446 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9447 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9449 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9450 Move e_machine check before EI_CLASS check. Handle x32
9451 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9452 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9453 SKIP_EM_IA_64 and include
9454 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9456 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9457 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9458 (add_system_dir): New macro.
9460 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9461 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9463 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9474 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9476 * math/w_j0f.c (j0f): Likewise.
9478 * math/w_j0l.c (__j0l): Likewise.
9480 * math/w_j1.c (j1): Likewise.
9482 * math/w_j1f.c (j1f): Likewise.
9484 * math/w_j1l.c (__j1l): Likewise.
9486 * math/w_jn.c (jn): Likewise.
9488 * math/w_jnf.c (jnf): Likewise.
9490 * math/w_jnl.c (__jnl): Likewise.
9492 * math/libm-test.inc (j0_test): Add more tests.
9493 (j1_test): Likewise.
9494 (jn_test): Likewise. Add trailing semicolon to existing test.
9495 (y0_test): Likewise.
9496 (y1_test): Likewise.
9497 * sysdeps/i386/fpu/libm-test-ulps: Update.
9498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9502 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9503 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9504 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9505 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9506 (__tanl): Set errno for infinite argument.
9507 * sysdeps/i386/fpu/mptan.c: Remove.
9508 * sysdeps/i386/fpu/s_tan.S: Likewise.
9509 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9510 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9511 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9512 * math/libm-test.inc (tan_test): Add more tests and enable more
9513 tests for double and long double.
9514 * sysdeps/i386/fpu/libm-test-ulps: Update.
9515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9517 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9519 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9520 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9522 2012-03-16 Roland McGrath <roland@hack.frob.com>
9524 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9525 * configure.in: Use it for both main tree and add-ons.
9526 * configure: Regenerated.
9528 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9530 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9532 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9534 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9538 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9539 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9544 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9545 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9547 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9548 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9549 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9550 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9551 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9552 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9553 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9554 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9555 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9556 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9557 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9558 * math/libm-test.inc (cos_test): Add more tests and enable more
9559 tests for long double.
9560 (sin_test): Likewise.
9561 (sincos_test): Likewise.
9562 * sysdeps/i386/fpu/libm-test-ulps: Update.
9563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9565 2012-03-16 David S. Miller <davem@davemloft.net>
9567 * sysdeps/sparc/fpu/math_private.h: New file.
9569 2012-03-15 David S. Miller <davem@davemloft.net>
9571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9581 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9585 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9586 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9588 * sysdeps/sparc/sparc-ifunc.h: New file.
9589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9613 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9615 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9616 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9617 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9627 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9628 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9629 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9630 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9631 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9632 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9634 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9636 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9640 2012-03-15 Andreas Jaeger <aj@suse.de>
9643 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9644 ieee754/flt-32 implementation for sin, cos and sincos.
9645 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9646 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9647 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9648 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9649 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9650 ieee754/flt-32 implementation for tan.
9652 * math/libm-test.inc (cos_test): Enable some large input tests for
9654 (sin_test): Likewise.
9655 (sincos_test): Likewise.
9656 (tan_test): Add tests for large input.
9658 * sysdeps/i386/fpu/libm-test-ulps: Update.
9660 2012-03-15 Andreas Jaeger <aj@suse.de>
9663 * math/libm-test.inc (cos_test): Add more test cases.
9664 (sin_test): Likewise.
9665 (sincos_test): Likewise.
9667 2012-03-15 Andreas Jaeger <aj@suse.de>
9670 * math/libm-test.inc (cos_test): Add a test case for large input
9672 (sin_test): Likewise.
9673 (sincos_test): Likewise.
9675 2012-03-15 Andreas Jaeger <aj@suse.de>,
9676 Joseph Myers <joseph@codesourcery.com>
9679 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
9680 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9681 * sysdeps/i386/fpu/branred.c: Likewise.
9682 * sysdeps/i386/fpu/dosincos.c: Likewise.
9683 * sysdeps/i386/fpu/mpa.c: Likewise.
9684 * sysdeps/i386/fpu/s_cos.S: Likewise.
9685 * sysdeps/i386/fpu/s_sin.S: Likewise.
9686 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9687 * sysdeps/i386/fpu/sincos32.c: Likewise.
9689 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9691 (libc_feupdateenv_53bit): Define.
9692 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9694 (libc_feupdateenv_53bit): Define.
9696 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9697 53 bit (without extend i386 double precision).
9699 * math/libm-test.inc (sincos_test): Add tests for large input.
9703 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9705 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9709 2012-03-15 David S. Miller <davem@davemloft.net>
9711 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9712 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9713 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9714 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9738 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9739 fmin/fmax sysdep routines.
9740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9742 2012-03-14 David S. Miller <davem@davemloft.net>
9744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9748 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9749 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9750 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9765 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9766 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9767 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9768 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9769 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9770 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9771 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9772 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9816 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9821 * sysdeps/sparc/configure.in: New file.
9822 * sysdeps/sparc/configure: Generate.
9823 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9824 * configure: Regenerate.
9825 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9826 * config.make.in (have-as-vis3): New.
9827 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9828 available use -Av9d instead of -Av9a.
9829 * sysdeps/sparc/sparc64/Makefile: Likewise.
9830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9839 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9840 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9841 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9842 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9843 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9845 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9846 fzeros/fnegs to load 0x80000000 into a float register instead of
9848 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9850 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9854 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9855 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9856 ($(inst_includedir)/bits/syscall.h): Remove rule.
9857 ($(objpfx)bits/syscall.d): Include instead of
9858 $(objpfx)syscall-list.d.
9859 (generated): Change syscall-list.h and syscall-list.d to
9860 bits/syscall.h and bits/syscall.d.
9862 2012-03-14 Roland McGrath <roland@hack.frob.com>
9865 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9867 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9870 * math/s_csqrt.c: Include <float.h>.
9871 (__csqrt): Scale large or subnormal inputs.
9872 * math/s_csqrtf.c: Likewise.
9873 * math/s_csqrtl.c: Likewise.
9874 * math/libm-test.inc (csqrt_test): Add more tests.
9875 * sysdeps/i386/fpu/libm-test-ulps: Update.
9876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9879 * math/libm-test.inc (hypot_test): Add more tests.
9881 2012-03-13 David S. Miller <davem@davemloft.net>
9884 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9885 double-precision for the calculation instead of scaling.
9887 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9889 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9890 manipulate bits before adding and subtracting TWO52[sx].
9891 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9892 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9894 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9896 2012-03-13 David S. Miller <davem@davemloft.net>
9898 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9899 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9900 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9901 rtld-global-offsets.h
9902 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9904 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9907 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9909 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9910 'err' in the ifdef scope in which it is actually used.
9912 * nss/nss_db/db-init.c: Include string.h
9914 2012-03-12 David S. Miller <davem@davemloft.net>
9916 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9917 masking out of the most significant byte of random value used.
9918 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9919 Fix coding style in previous change.
9921 * sysdeps/unix/sysv/linux/kernel-features.h
9922 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9923 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9925 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9928 2012-03-11 David S. Miller <davem@davemloft.net>
9930 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9931 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9932 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9933 for 'resultvar' otherwise things get truncated on 64-bit.
9935 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9936 Fix masking out of the most significant byte of random value used.
9938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9940 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9944 2012-03-09 David S. Miller <davem@davemloft.net>
9946 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9947 variables with appropriate CPP guards.
9948 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9949 frame pointer, not the stack pointer. Correct layout comments. Fix test
9950 on resulting framesize and the management of the outregs buffer for pltexit.
9951 Preserve floating point return values across _dl_call_pltexit call.
9952 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9953 framesize and the management of the outregs buffer for pltexit.
9954 Preserve floating point return values across _dl_call_pltexit
9956 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9957 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9958 (print_exit): Fix format string for return register value.
9960 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9962 * sunrpc/Makefile (others): Add rpcgen.
9963 ($(objpfx)rpcgen): Remove special build rule and dependency on
9965 * sunrpc/rpcgen.c: New file.
9967 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9970 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9971 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9972 * sysdeps/i386/crti.S: Likewise.
9973 * sysdeps/i386/crtn.S: Likewise.
9974 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9975 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9976 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9977 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9978 * sysdeps/sh/crti.S: Likewise.
9979 * sysdeps/sh/crtn.S: Likewise.
9980 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9983 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9985 * locale/programs/locfile-kw.gperf: Likewise.
9986 * locale/programs/charmap-kw.h: Regenerated.
9987 * locale/programs/locfile-kw.h: Likewise.
9990 * intl/plural.y: Replace FSF snail mail address with URL.
9991 * intl/plural.c: Regenerated.
9993 2012-03-09 Richard Henderson <rth@twiddle.net>
9995 * include/math_private.h: Remove file.
9996 * math/math_private.h: Move file ...
9997 * sysdeps/generic/math_private.h: ... here.
9999 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10000 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10001 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10003 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10004 and <math_private.h>.
10005 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10006 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10007 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10008 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10009 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10010 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10011 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10012 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10013 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10014 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10016 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10017 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10018 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10019 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10020 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10021 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10022 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10023 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10024 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10026 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10027 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10028 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10029 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10030 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10031 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10032 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10033 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10034 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10035 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10036 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10037 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10038 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10039 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10040 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10041 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10042 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10043 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10044 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10045 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10048 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10049 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10050 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10051 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10052 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10053 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10054 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10055 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10056 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10057 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10058 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10059 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10060 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10061 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10062 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10063 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10064 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10065 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10069 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10070 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10071 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10072 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10073 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10074 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10093 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10094 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10095 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10096 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10097 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10098 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10099 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10100 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10101 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10102 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10103 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10104 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10105 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10106 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10107 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10108 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10109 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10110 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10111 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10112 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10113 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10114 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10115 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10116 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10117 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10118 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10119 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10120 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10121 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10122 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10123 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10124 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10125 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10126 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10127 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10128 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10129 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10130 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10131 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10132 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10133 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10134 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10135 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10136 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10137 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10138 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10139 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10140 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10141 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10142 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10143 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10144 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10145 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10146 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10147 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10148 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10149 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10150 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10151 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10152 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10153 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10154 * sysdeps/ieee754/k_standard.c: Likewise.
10155 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10156 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10157 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10158 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10159 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10160 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10161 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10162 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10163 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10164 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10165 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10166 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10167 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10168 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10169 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10170 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10171 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10172 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10173 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10174 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10175 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10176 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10177 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10178 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10179 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10180 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10181 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10182 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10183 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10184 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10185 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10186 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10187 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10188 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10189 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10190 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10191 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10192 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10193 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10194 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10195 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10196 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10197 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10198 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10199 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10200 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10201 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10202 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10203 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10204 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10205 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10206 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10207 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10208 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10209 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10210 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10211 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10213 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10214 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10215 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10216 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10217 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10218 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10222 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10223 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10232 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10270 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10274 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10275 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10277 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10282 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10285 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10287 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10299 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10303 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10304 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10305 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10312 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10315 * sysdeps/ieee754/s_lib_version.c: Likewise.
10316 * sysdeps/ieee754/s_matherr.c: Likewise.
10317 * sysdeps/ieee754/s_signgam.c: Likewise.
10318 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10319 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10320 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10321 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10322 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10323 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10324 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10325 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10326 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10327 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10328 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10329 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10330 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10331 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10332 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10333 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10334 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10335 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10336 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10337 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10338 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10340 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10342 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10343 * sunrpc/rpc_main.c: Likewise.
10344 * sunrpc/rpc_svcout.c: Likewise.
10346 2012-03-09 David S. Miller <davem@davemloft.net>
10348 * include/math_private.h: New file.
10350 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10352 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10353 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10354 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10355 from <bits/socket_type.h>.
10356 (enum __socket_type): Don't define here.
10357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10359 bits/socket_type.h.
10362 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10363 checking __USE_GNU.
10365 * Makerules ($(inst_includedir)/%.h): New rule.
10366 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10367 (install-others): Remove variable setting.
10368 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10370 2012-03-08 Richard Henderson <rth@twiddle.net>
10372 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10373 from macro to inline function; merge with the
10374 !__LIBC_INTERNAL_MATH_INLINES version.
10375 (__ieee754_sqrtf): Likewise.
10377 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10378 to inline function.
10379 (__rintf, __floor, __floorf): Likewise.
10381 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10382 macro to inline function.
10383 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10385 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10386 not <math/math_private.h>.
10388 2012-03-08 David S. Miller <davem@davemloft.net>
10390 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10392 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10394 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10396 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10398 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10399 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10401 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10403 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10404 be defined individually, they must be defined as a block. Define
10405 S for printing a string instead of hidint the different by using a
10406 macro for adding the 'l'.
10407 * stdio-common/tst-fphex-wide.c: Adjust.
10409 2012-03-07 Marek Polacek <polacek@redhat.com>
10411 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10413 2012-03-08 Marek Polacek <polacek@redhat.com>
10416 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10417 * stdio-common/tst-fphex.c: Define a few macros to make the
10418 test reusable. Use them.
10419 * stdio-common/tst-fphex-wide.c: New file.
10421 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10424 * manual/macros.texi (gnusystems): New macro.
10425 (nongnusystems): Likewise.
10426 (gnulinuxhurdsystems): Likewise.
10427 (gnuhurdsystems): Likewise..
10428 (gnulinuxsystems): Likewise.
10429 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10430 variants of the GNU system, not "GNU system".
10431 * manual/conf.texi: Likewise.
10432 * manual/errno.texi: Likewise. Update example of errno macro
10434 * manual/filesys.texi: Likewise.
10435 (getumask): Document as specific to GNU/Hurd.
10436 * manual/install.texi: Likewise. Reword some references to
10438 * manual/intro.texi: Likewise.
10439 * manual/io.texi: Likewise.
10440 (File Name Portability): Detail which constraints are inapplicable
10441 to all GNU systems and which are only inapplicable to GNU/Hurd.
10442 * manual/job.texi: Likewise.
10443 * manual/llio.texi: Likewise.
10444 (O_NOCTTY): Document as present on GNU/Linux.
10445 * manual/maint.texi: Likewise.
10446 * manual/memory.texi: Likewise.
10447 * manual/pattern.texi: Likewise.
10448 * manual/pipe.texi: Likewise.
10449 * manual/process.texi: Likewise.
10450 * manual/resource.texi: Likewise.
10451 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10453 * manual/setjmp.texi: Likewise.
10454 * manual/signal.texi: Likewise.
10455 * manual/startup.texi: Likewise.
10456 * manual/stdio.texi: Likewise.
10457 * manual/terminal.texi: Likewise.
10458 (ONLCR): Document as POSIX.
10459 (OXTABS): Document availability on GNU/Linux as XTABS.
10460 (ONOEOT): Document availability separately from other bits.
10461 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10462 * manual/time.texi: Likewise.
10463 * manual/users.texi: Likewise.
10464 * INSTALL: Regenerated.
10465 * sysdeps/gnu/errlist.c: Regenerated.
10467 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10468 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10469 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10471 * configure: Regenerated.
10473 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10475 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10476 default includes instead of AC_HEADER_CHECK.
10477 * sysdeps/i386/configure: Regenerated.
10480 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10481 * math/s_cacoshf.c (__cacoshf): Likewise.
10482 * math/s_cacoshl.c (__cacoshl): Likewise.
10483 * math/s_casinh.c (__casinh): Set signs of result from argument.
10484 * math/s_casinhf.c (__casinhf): Likewise.
10485 * math/s_casinhl.c (__casinhl): Likewise.
10486 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10487 (casinh_test): Add more tests.
10488 * sysdeps/i386/fpu/libm-test-ulps: Update.
10489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10491 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10493 * po/zh_TW.po: Update from translation team.
10495 * login/Makefile (distribute): Remove variable.
10496 * catgets/Makefile: Likewise.
10497 * mach/Makefile: Likewise.
10498 * malloc/Makefile: Likewise.
10499 * misc/Makefile: Likewise.
10500 * iconv/Makefile: Likewise.
10501 * nscd/Makefile: Likewise.
10502 * hurd/Makefile: Likewise.
10503 * manual/Makefile: Likewise.
10504 * locale/Makefile: Likewise.
10505 * intl/Makefile: Likewise.
10506 * conform/Makefile: Likewise.
10507 * nss/Makefile: Likewise.
10508 * time/Makefile: Likewise.
10509 * soft-fp/Makefile: Likewise.
10510 * dirent/Makefile: Likewise.
10511 * gmon/Makefile: Likewise.
10512 * po/Makefile: Likewise.
10513 * rt/Makefile: Likewise.
10514 * socket/Makefile: Likewise.
10515 * math/Makefile: Likewise.
10516 * signal/Makefile: Likewise.
10517 * debug/Makefile: Likewise.
10518 * elf/Makefile: Likewise.
10519 * timezone/Makefile: Likewise.
10520 * stdlib/Makefile: Likewise.
10521 * iconvdata/Makefile: Likewise.
10522 * sunrpc/Makefile: Likewise.
10523 * io/Makefile: Likewise.
10524 * argp/Makefile: Likewise.
10525 * inet/Makefile: Likewise.
10526 * hesiod/Makefile: Likewise.
10527 * grp/Makefile: Likewise.
10528 * csu/Makefile: Likewise.
10529 * wctype/Makefile: Likewise.
10530 * crypt/Makefile: Likewise.
10531 * libio/Makefile: Likewise.
10532 * string/Makefile: Likewise.
10533 * nis/Makefile: Likewise.
10534 * resolv/Makefile: Likewise.
10535 * stdio-common/Makefile: Likewise.
10536 * wcsmbs/Makefile: Likewise.
10537 * dlfcn/Makefile: Likewise.
10538 * posix/Makefile: Likewise.
10541 * timezone/Makefile: Don't install timezone files, just the programs
10544 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10546 * nss/databases.def: Add missing gshadow entry.
10548 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10550 2012-03-06 Marek Polacek <polacek@redhat.com>
10553 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10554 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10555 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10556 * stdio-common/tst-long-dbl-fphex.c: New file.
10558 2012-03-06 David S. Miller <davem@davemloft.net>
10560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10561 (set_obp_int): New function.
10562 (get_obp_int): New function.
10563 (__get_clockfreq_via_dev_openprom): Likewise.
10564 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10565 Avoid unused variable warnings on 'val' and use builtin_expect.
10566 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10568 (INLINE_CLONE_SYSCALL): Likewise.
10570 2012-03-05 David S. Miller <davem@davemloft.net>
10572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10574 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10578 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10579 only for |x| >= 40.
10580 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10582 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10584 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10585 Replace gettimeofday with __vdso_gettimeofday.
10587 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10588 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10589 __vdso_clock_gettime and __vdso_getcpu.
10591 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10592 time with __vdso_time.
10594 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10596 * manual/lang.texi (size_t): Note types to which size_t may be
10597 equivalent with the GNU C Library, but do not describe when
10598 differences between them are significant.
10600 2012-03-05 Andreas Jaeger <aj@suse.de>
10602 * sysdeps/i386/fpu/libm-test-ulps: Update.
10604 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10607 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10608 (__ieee754_pow): Save and restore rounding mode and use
10609 round-to-nearest for main computations.
10610 * math/libm-test.inc (pow_test_tonearest): New function.
10611 (pow_test_towardzero): Likewise.
10612 (pow_test_downward): Likewise.
10613 (pow_test_upward): Likewise.
10614 (main): Call the new functions.
10615 * sysdeps/i386/fpu/libm-test-ulps: Update.
10616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10619 * math/libm-test.inc (cosh_test_tonearest): New function.
10620 (cosh_test_towardzero): Likewise.
10621 (cosh_test_downward): Likewise.
10622 (cosh_test_upward): Likewise.
10623 (sinh_test_tonearest): Likewise.
10624 (sinh_test_towardzero): Likewise.
10625 (sinh_test_downward): Likewise.
10626 (sinh_test_upward): Likewise.
10627 (main): Call the new functions.
10628 * sysdeps/i386/fpu/libm-test-ulps: Update.
10629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10631 2012-03-05 Tom de Vries <tom@codesourcery.com>
10633 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10634 default stack guard is set in last bytes.
10635 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10637 2012-03-05 Kees Cook <keescook@chromium.org>
10639 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
10642 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10643 possibly allocate from heap instead of stack.
10644 * stdio-common/bug-vfprintf-nargs.c: New file.
10645 * stdio-common/Makefile (tests): Add nargs overflow test.
10647 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10651 2012-03-03 Marek Polacek <polacek@redhat.com>
10653 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10654 * math/math_private.h: Likewise.
10655 * stdlib/tst-strtod.c: Likewise.
10656 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10657 * sysdeps/x86_64/bits/atomic.h: Likewise.
10659 2012-03-02 David S. Miller <davem@davemloft.net>
10661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10665 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10666 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10667 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10668 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10670 2012-03-02 Roland McGrath <roland@hack.frob.com>
10673 * manual/examples/README: New file, says the example source files
10674 can be used under GPL>=2.
10675 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10676 line containing just "*/".
10677 * manual/examples/add.c: Add copyright header (GPL>=2).
10678 * manual/examples/argp-ex1.c: Likewise.
10679 * manual/examples/argp-ex2.c: Likewise.
10680 * manual/examples/argp-ex3.c: Likewise.
10681 * manual/examples/argp-ex4.c: Likewise.
10682 * manual/examples/atexit.c: Likewise.
10683 * manual/examples/db.c: Likewise.
10684 * manual/examples/dir.c: Likewise.
10685 * manual/examples/dir2.c: Likewise.
10686 * manual/examples/execinfo.c: Likewise.
10687 * manual/examples/filecli.c: Likewise.
10688 * manual/examples/filesrv.c: Likewise.
10689 * manual/examples/fmtmsgexpl.c: Likewise.
10690 * manual/examples/genpass.c: Likewise.
10691 * manual/examples/inetcli.c: Likewise.
10692 * manual/examples/inetsrv.c: Likewise.
10693 * manual/examples/isockad.c: Likewise.
10694 * manual/examples/longopt.c: Likewise.
10695 * manual/examples/memopen.c: Likewise.
10696 * manual/examples/memstrm.c: Likewise.
10697 * manual/examples/mkfsock.c: Likewise.
10698 * manual/examples/mkisock.c: Likewise.
10699 * manual/examples/mygetpass.c: Likewise.
10700 * manual/examples/pipe.c: Likewise.
10701 * manual/examples/popen.c: Likewise.
10702 * manual/examples/rprintf.c: Likewise.
10703 * manual/examples/search.c: Likewise.
10704 * manual/examples/select.c: Likewise.
10705 * manual/examples/setjmp.c: Likewise.
10706 * manual/examples/sigh1.c: Likewise.
10707 * manual/examples/sigusr.c: Likewise.
10708 * manual/examples/stpcpy.c: Likewise.
10709 * manual/examples/strdupa.c: Likewise.
10710 * manual/examples/strftim.c: Likewise.
10711 * manual/examples/strncat.c: Likewise.
10712 * manual/examples/subopt.c: Likewise.
10713 * manual/examples/swapcontext.c: Likewise.
10714 * manual/examples/termios.c: Likewise.
10715 * manual/examples/testopt.c: Likewise.
10716 * manual/examples/testpass.c: Likewise.
10717 * manual/examples/timeval_subtract.c: Likewise.
10720 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10722 * manual/timeval_subtract.c.texi: ... here, new file.
10724 2012-03-02 David S. Miller <davem@davemloft.net>
10726 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10728 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10731 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10732 (__sin): Save and restore rounding mode and use round-to-nearest
10733 for all computations.
10734 (__cos): Save and restore rounding mode and use round-to-nearest
10735 for all computations.
10736 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10738 (tan): Save and restore rounding mode and use round-to-nearest for
10740 * math/libm-test.inc (cos_test_tonearest): New function.
10741 (cos_test_towardzero): Likewise.
10742 (cos_test_downward): Likewise.
10743 (cos_test_upward): Likewise.
10744 (sin_test_tonearest): Likewise.
10745 (sin_test_towardzero): Likewise.
10746 (sin_test_downward): Likewise.
10747 (sin_test_upward): Likewise.
10748 (tan_test_tonearest): Likewise.
10749 (tan_test_towardzero): Likewise.
10750 (tan_test_downward): Likewise.
10751 (tan_test_upward): Likewise.
10752 (main): Call the new functions.
10753 * sysdeps/i386/fpu/libm-test-ulps: Update.
10754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10757 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10758 small n, then large n, before computing and testing k+n.
10759 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10760 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10764 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10765 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10766 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10767 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10768 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10769 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10770 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10771 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10772 * math/libm-test.inc (scalbn_test): Add more tests.
10773 (scalbln_test): Likewise.
10775 * manual/filesys.texi (mode_t): Describe constraints on size and
10776 signedness, not exact equivalence to a particular type.
10778 (ino64_t): Likewise.
10780 (nlink_t): Likewise.
10781 (blkcnt_t): Likewise.
10782 (blkcnt64_t): Likewise.
10783 * manual/llio.texi (off_t): Likewise.
10786 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10787 (__ieee754_exp): Save and restore rounding mode and use
10788 round-to-nearest for all computations.
10789 * math/libm-test.inc (exp_test_tonearest): New function.
10790 (exp_test_towardzero): Likewise.
10791 (exp_test_downward): Likewise.
10792 (exp_test_upward): Likewise.
10793 (main): Call the new functions.
10794 * sysdeps/i386/fpu/libm-test-ulps: Update.
10795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10797 2012-03-01 Chris Demetriou <cgd@google.com>
10799 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10800 have predictable order.
10802 2012-03-01 David S. Miller <davem@davemloft.net>
10804 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10806 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10807 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10808 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10809 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10811 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10812 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10813 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10815 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10816 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10817 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10818 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10819 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10823 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10824 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10825 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10827 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10828 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10829 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10830 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10831 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10832 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10833 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10834 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10835 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10836 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10837 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10838 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10840 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10841 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10842 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10843 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10844 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10845 * sysdeps/sparc/elf/configure: Regenerated.
10847 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10849 * configure.in (AS, LD): Require binutils 2.20 or later.
10850 * configure: Regenerated.
10851 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10852 as required minimum version.
10853 * INSTALL: Regenerated.
10857 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10858 before squaring exponent.
10859 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10860 bottom long double and 27 bits of top long double before squaring
10862 * math/libm-test.inc (erfc_test): Add more tests.
10863 * sysdeps/i386/fpu/libm-test-ulps: Update.
10864 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10867 2012-03-01 Kai Tietz <ktietz@redhat.com>
10869 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10870 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10871 containing bit-fields.
10872 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10873 * soft-fp/single.h (_FP_UNION_S): Likewise.
10874 * soft-fp/double.h (_FP_UNION_D): Likewise.
10876 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10879 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10880 not include ../strcmp.S.
10881 [USE_AS_STRNCASECMP_L]: Likewise.
10882 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10883 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10884 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10885 (__strncasecmp_l_ia32): Define as alias to
10886 __strncasecmp_l_nonascii.
10889 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10890 * sysdeps/i386/fpu/libm-test-ulps: Update.
10891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10893 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10896 2012-02-29 Jeff Law <law@redhat.com>
10898 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10899 out of bounds read.
10901 2012-02-29 Marek Polacek <polacek@redhat.com>
10904 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10905 * elf/Makefile: Add rules to run tst-unused-dep.out.
10907 2012-02-28 David S. Miller <davem@davemloft.net>
10909 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10910 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10911 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10912 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10913 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10914 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10916 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10918 * math/libm-test.inc (llround_test): Move one test from
10919 lround_test. Use TEST_f_L in moved test.
10920 (lround_test): Move misplaced test to llround_test. Add testcase
10923 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10925 * sysdeps/x86_64/fpu/e_expf.S: New file.
10926 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10928 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10931 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10932 of remain_len that may cause incomplete multi-byte character and
10934 * posix/bug-regex33.c: New file.
10935 * posix/Makefile (tests): Add bug-regex33.
10937 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10939 * manual/macros.texi: New file.
10940 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10941 * manual/libc.texinfo: Include macros.texi.
10942 * manual/creatute.texi: Likewise.
10943 * manual/install.texi: Likewise.
10944 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10945 @glibcadj{} in references to the GNU C Library.
10946 * manual/charset.texi: Likewise.
10947 * manual/conf.texi: Likewise.
10948 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10949 when not using those macros.
10950 * manual/creature.texi: Likewise.
10951 * manual/crypt.texi: Likewise.
10952 * manual/errno.texi: Likewise.
10953 * manual/filesys.texi: Likewise.
10954 * manual/header.texi: Likewise.
10955 * manual/install.texi: Likewise.
10956 * manual/intro.texi: Likewise.
10957 * manual/io.texi: Likewise.
10958 * manual/job.texi: Likewise.
10959 * manual/lang.texi: Likewise.
10960 * manual/libc.texiinfo: Likewise.
10961 * manual/llio.texi: Likewise.
10962 * manual/locale.texi: Likewise.
10963 * manual/maint.texi: Likewise.
10964 * manual/math.texi: Likewise.
10965 * manual/memory.texi: Likewise.
10966 * manual/message.texi: Likewise.
10967 * manual/nss.texi: Likewise.
10968 * manual/pattern.texi: Likewise.
10969 * manual/process.texi: Likewise.
10970 * manual/resource.texi: Likewise.
10971 * manual/search.texi: Likewise.
10972 * manual/setjmp.texi: Likewise.
10973 * manual/signal.texi: Likewise.
10974 * manual/socket.texi: Likewise.
10975 * manual/startup.texi: Likewise.
10976 * manual/stdio.texi: Likewise.
10977 * manual/string.texi: Likewise.
10978 * manual/sysinfo.texi: Likewise.
10979 * manual/syslog.texi: Likewise.
10980 * manual/terminal.texi: Likewise.
10981 * manual/time.texi: Likewise.
10982 * manual/users.texi: Likewise.
10983 * INSTALL: Regenerated.
10984 * NOTES: Regenerated.
10985 * sysdeps/gnu/errlist.c: Regenerated.
10987 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10989 * include/dirent.h: Include <dirstream.h> before
10992 2012-02-28 David S. Miller <davem@davemloft.net>
10994 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10995 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10996 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10997 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10999 2012-02-27 David S. Miller <davem@davemloft.net>
11001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11003 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11004 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11007 frame pointer instead of stack pointer relative arg slot.
11008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11009 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11010 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11012 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11015 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11017 2012-02-27 David S. Miller <davem@davemloft.net>
11019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11023 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11024 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11025 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11026 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11028 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11030 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11031 later. Allow versions 5-9.
11032 * configure: Regenerated.
11033 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11034 required minimum version and 4.6 as recommended version. Do not
11035 mention bugs in GCC 2.7 and 2.8.
11036 * INSTALL: Regenerated.
11038 2012-02-27 David S. Miller <davem@davemloft.net>
11040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11044 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11045 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11046 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11047 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11050 manipulate bits before adding and subtracting TWO112[sx].
11051 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11053 2012-02-27 Roland McGrath <roland@hack.frob.com>
11056 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11057 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11058 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11059 being in POSIX, because they are in 1003.1-2008.
11061 * rt/tst-aio.c: Include <fcntl.h>.
11062 * rt/tst-aio7.c: Likewise.
11063 * rt/tst-aio64.c: Likewise.
11065 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11067 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11069 * manual/install.texi (--with-headers): Describe headers as
11070 interface headers, not private headers.
11071 (Specific advice for GNU/Linux systems): Describe use of headers
11072 from "make headers_install", not private headers from older
11074 * INSTALL: Regenerated.
11075 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11077 * sysdeps/unix/sysv/linux/configure: Regenerated.
11079 * manual/llio.texi (fclean): Remove documentation.
11081 * manual/Makefile (libc-texi-generated): New variable. Include
11083 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11084 $(libc-texi-generated), not duplicated list of files.
11085 (version.texi, stamp-version): New rules.
11086 (realclean): Remove $(libc-texi-generated), not individual files
11087 from that list. Do not remove dir-add.texinfo.
11088 * manual/libc.texinfo: Comment out uses of edition numbers and
11089 references to printed manual. Remove last-updated dates.
11090 (EDITION): Comment out.
11092 (VERSION, UPDATED): Remove.
11093 (version.texi): Include.
11095 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11097 * sysdeps/posix/spawni.c: Include <signal.h>.
11098 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11099 * sysdeps/pthread/aio_fsync.c: Likewise.
11101 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11103 * conform/Makefile (tests): Run only when not cross-compiling and
11104 when fast-check is not defined.
11106 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11107 * conform/data/limits.h-data: Fixes for POSIX2008.
11108 * conform/run-conformtest.sh: Run all tests.
11109 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11111 * include/bits/dlfcn.h: Likewise.
11112 * include/langinfo.h: Likewise.
11113 * include/monetary.h: Likewise.
11114 * include/sys/poll.h: Likewise.
11116 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11118 * posix/spawn.h: Define __need_sigset_t.
11119 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11120 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11121 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11122 to get sigevent_t only.
11123 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11124 only for __USE_GNU.
11125 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11126 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11127 process_vm_writev only for __USE_GNU.
11128 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11130 * conform/Makefile: For now ignore errors from run-conformtest.
11131 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11132 POSIX to avoid namespace pollution. Don't prepend headers.
11133 * conform/data/aio.h-data: Fixes for POSIX testing.
11134 * conform/data/fcntl.h-data: Likewise.
11135 * conform/data/glob.h-data: Likewise.
11136 * conform/data/grp.h-data: Likewise.
11137 * conform/data/pthread.h-data: Likewise.
11138 * conform/data/pwd.h-data: Likewise.
11139 * conform/data/signal.h-data: Likewise.
11140 * conform/data/spawn.h-data: Likewise.
11141 * conform/data/stdio.h-data: Likewise.
11142 * conform/data/stdlib.h-data: Likewise.
11143 * conform/data/stropts.h-data: Likewise.
11144 * conform/data/sys/mman.h-data: Likewise.
11145 * conform/data/sys/stat.h-data: Likewise.
11146 * conform/data/sys/types.h-data: Likewise.
11147 * conform/data/sys/wait.h-data: Likewise.
11148 * conform/data/time.h-data: Likewise.
11149 * conform/data/unistd.h-data: Likewise.
11150 * conform/data/utime.h-data: Likewise.
11152 * io/sys/stat.h: fchmod was always in POSIX.
11153 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11154 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11155 * rt/aio.h: Define __need_timespec before including <time.h>.
11156 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11157 struct. Add forward declaration of pthread_attr_t and use it in
11159 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11160 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11161 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11162 always remove CLK_TCK definition.
11164 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11166 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11168 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11170 * conform/run-conformtest.sh: New file.
11171 * conform/Makefile: Run run-conformtest for tests.
11172 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11175 * conform/data/uchar.h-data: New file.
11176 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11177 * conform/data/arpa/inet.h-data: Likewise.
11178 * conform/data/assert.h-data: Likewise.
11179 * conform/data/complex.h-data: Likewise.
11180 * conform/data/cpio.h-data: Likewise.
11181 * conform/data/ctype.h-data: Likewise.
11182 * conform/data/dirent.h-data: Likewise.
11183 * conform/data/dlfcn.h-data: Likewise.
11184 * conform/data/errno.h-data: Likewise.
11185 * conform/data/fcntl.h-data: Likewise.
11186 * conform/data/float.h-data: Likewise.
11187 * conform/data/fmtmsg.h-data: Likewise.
11188 * conform/data/fnmatch.h-data: Likewise.
11189 * conform/data/ftw.h-data: Likewise.
11190 * conform/data/glob.h-data: Likewise.
11191 * conform/data/grp.h-data: Likewise.
11192 * conform/data/iconv.h-data: Likewise.
11193 * conform/data/inttypes.h-data: Likewise.
11194 * conform/data/langinfo.h-data: Likewise.
11195 * conform/data/libgen.h-data: Likewise.
11196 * conform/data/limits.h-data: Likewise.
11197 * conform/data/locale.h-data: Likewise.
11198 * conform/data/math.h-data: Likewise.
11199 * conform/data/monetary.h-data: Likewise.
11200 * conform/data/mqueue.h-data: Likewise.
11201 * conform/data/ndbm.h-data: Likewise.
11202 * conform/data/net/if.h-data: Likewise.
11203 * conform/data/netdb.h-data: Likewise.
11204 * conform/data/netinet/in.h-data: Likewise.
11205 * conform/data/nl_types.h-data: Likewise.
11206 * conform/data/poll.h-data: Likewise.
11207 * conform/data/pthread.h-data: Likewise.
11208 * conform/data/pwd.h-data: Likewise.
11209 * conform/data/regex.h-data: Likewise.
11210 * conform/data/sched.h-data: Likewise.
11211 * conform/data/search.h-data: Likewise.
11212 * conform/data/semaphore.h-data: Likewise.
11213 * conform/data/setjmp.h-data: Likewise.
11214 * conform/data/signal.h-data: Likewise.
11215 * conform/data/spawn.h-data: Likewise.
11216 * conform/data/stdarg.h-data: Likewise.
11217 * conform/data/stdio.h-data: Likewise.
11218 * conform/data/stdlib.h-data: Likewise.
11219 * conform/data/string.h-data: Likewise.
11220 * conform/data/strings.h-data: Likewise.
11221 * conform/data/stropts.h-data: Likewise.
11222 * conform/data/sys/ipc.h-data: Likewise.
11223 * conform/data/sys/mman.h-data: Likewise.
11224 * conform/data/sys/msg.h-data: Likewise.
11225 * conform/data/sys/resource.h-data: Likewise.
11226 * conform/data/sys/select.h-data: Likewise.
11227 * conform/data/sys/sem.h-data: Likewise.
11228 * conform/data/sys/shm.h-data: Likewise.
11229 * conform/data/sys/socket.h-data: Likewise.
11230 * conform/data/sys/stat.h-data: Likewise.
11231 * conform/data/sys/statvfs.h-data: Likewise.
11232 * conform/data/sys/time.h-data: Likewise.
11233 * conform/data/sys/timeb.h-data: Likewise.
11234 * conform/data/sys/times.h-data: Likewise.
11235 * conform/data/sys/types.h-data: Likewise.
11236 * conform/data/sys/uio.h-data: Likewise.
11237 * conform/data/sys/un.h-data: Likewise.
11238 * conform/data/sys/utsname.h-data: Likewise.
11239 * conform/data/sys/wait.h-data: Likewise.
11240 * conform/data/syslog.h-data: Likewise.
11241 * conform/data/tar.h-data: Likewise.
11242 * conform/data/termios.h-data: Likewise.
11243 * conform/data/utime.h-data: Likewise.
11244 * conform/data/utmpx.h-data: Likewise.
11245 * conform/data/varargs.h-data: Likewise.
11246 * conform/data/wchar.h-data: Likewise.
11247 * conform/data/wctype.h-data: Likewise.
11248 * conform/data/wordexp.h-data: Likewise.
11250 * include/stropts.h: New file.
11251 * include/uchar.h: New file.
11252 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11253 * include/assert.h: Likewise.
11254 * include/ctype.h: Likewise.
11255 * include/dirent.h: Likewise.
11256 * include/dlfcn.h: Likewise.
11257 * include/fcntl.h: Likewise.
11258 * include/fnmatch.h: Likewise.
11259 * include/glob.h: Likewise.
11260 * include/grp.h: Likewise.
11261 * include/libio.h: Likewise.
11262 * include/locale.h: Likewise.
11263 * include/math.h: Likewise.
11264 * include/net/if.h: Likewise.
11265 * include/netdb.h: Likewise.
11266 * include/netinet/in.h: Likewise.
11267 * include/pthread.h: Likewise.
11268 * include/pwd.h: Likewise.
11269 * include/regex.h: Likewise.
11270 * include/sched.h: Likewise.
11271 * include/search.h: Likewise.
11272 * include/setjmp.h: Likewise.
11273 * include/signal.h: Likewise.
11274 * include/stdio.h: Likewise.
11275 * include/stdlib.h: Likewise.
11276 * include/string.h: Likewise.
11277 * include/sys/cdefs.h: Likewise.
11278 * include/sys/mman.h: Likewise.
11279 * include/sys/msg.h: Likewise.
11280 * include/sys/resource.h: Likewise.
11281 * include/sys/select.h: Likewise.
11282 * include/sys/socket.h: Likewise.
11283 * include/sys/stat.h: Likewise.
11284 * include/sys/statvfs.h: Likewise.
11285 * include/sys/time.h: Likewise.
11286 * include/sys/times.h: Likewise.
11287 * include/sys/uio.h: Likewise.
11288 * include/sys/utsname.h: Likewise.
11289 * include/sys/wait.h: Likewise.
11290 * include/termios.h: Likewise.
11291 * include/time.h: Likewise.
11292 * include/ulimit.h: Likewise.
11293 * include/unistd.h: Likewise.
11294 * include/utime.h: Likewise.
11295 * include/wchar.h: Likewise.
11296 * include/wctype.h: Likewise.
11297 * include/wordexp.h: Likewise.
11299 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11301 * time/time.h: TIME_UTC must be a macro.
11302 Make timespec_get available for ISO C11 only as well.
11304 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11306 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11307 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11309 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11311 * configure.in: Use -o not -a in test for unsupported multi-arch.
11313 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11315 * manual/texinfo.tex: Update to version 2012-01-19.16.
11317 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11319 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11321 2012-02-24 Roland McGrath <roland@hack.frob.com>
11324 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11325 * manual/fdl-1.3.texi: New file.
11326 * manual/fdl-1.1.texi: File removed.
11329 * manual/libc.texinfo (FDL_VERSION): New @set.
11330 Use it for mention of FDL in cover text.
11331 (Documentation License): Use it in @include file name.
11333 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11334 Roland McGrath <roland@hack.frob.com>
11337 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11338 not LONG_LONG_MAX and LONG_LONG_MIN.
11339 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11340 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11342 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11344 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11348 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11349 manipulate bits before adding and subtracting TWO23[sx].
11350 * math/libm-test.inc (nearbyint_test): Add more tests.
11352 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11355 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11356 bits before adding and subtracting TWO23[sx].
11357 * math/libm-test.inc (rint_test): Add more tests.
11358 (rint_test_tonearest): Likewise.
11359 (rint_test_towardzero): Likewise.
11360 (rint_test_downward): Likewise.
11361 (rint_test_upward: Likewise.
11363 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11366 * include/stdc-predef.h: New file. Extracted from features.h.
11367 * include/features.h: Include stdc-predef.h.
11368 * Makefile (headers): Add stdc-predef.h.
11369 * CONFORMANCE (Compiler limitations): Update.
11371 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11373 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11375 2012-02-21 David S. Miller <davem@davemloft.net>
11377 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11378 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11380 2012-02-20 David S. Miller <davem@davemloft.net>
11382 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11383 using a normal save/restore sequence, rather than allocating a
11384 dummy stack frame just to store a frame pointer and restore.
11385 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11387 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11389 * manual/install.texi: Fix stray word in line-wrapped comment.
11391 2012-02-20 David S. Miller <davem@davemloft.net>
11393 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11394 both binutils and gcc support GOTDATA.
11396 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11397 "rd %pc" in the PIC register setup sequences.
11399 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11400 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11401 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11402 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11403 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11404 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11405 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11406 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11407 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11408 (SYSCALL_ERROR_HANDLER): Likewise.
11409 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11410 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11411 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11412 (SYSCALL_ERROR_HANDLER): Likewise.
11414 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11415 (HAVE_GCC_GOTDATA): New.
11416 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11417 relocation support in both binutils and gcc.
11418 * sysdeps/sparc/elf/configure: Regenerate.
11420 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11421 * sysdeps/sparc/sparc32/elf/configure: Delete.
11422 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11423 * sysdeps/sparc/sparc64/elf/configure: Delete.
11424 * sysdeps/sparc/elf/configure.in: New file.
11425 * sysdeps/sparc/elf/configure: Generate.
11427 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11428 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11429 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11430 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11431 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11433 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11435 * manual/install.texi: Do not mention specific glibc version
11437 * manual/libc.texinfo (VERSION, UPDATED): Update.
11438 (@copying): Use @copyright{} and range of years.
11440 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11443 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11444 [crti.S not in sysdirs] (generated): Do not append.
11445 [crti.S not in sysdirs] (omit-deps): Likewise.
11446 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11447 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11448 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11449 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11450 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11452 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11453 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11454 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11455 * csu/defs.awk: Remove file.
11456 * sysdeps/generic/initfini.c: Likewise.
11457 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11459 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11462 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11464 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11465 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11466 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11467 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11468 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11469 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11471 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11472 (__EPOLL_PACKED): Define to empty if not defined by
11474 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11478 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11480 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11481 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11482 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11483 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11485 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11489 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11491 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11493 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11494 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11495 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11498 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11500 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11501 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11503 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11505 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11506 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11508 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11510 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11513 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11515 * math/w_acos.c: Use non-signaling floating-point comparisons.
11516 * math/w_acosf.c: Likewise.
11517 * math/w_acosh.c: Likewise.
11518 * math/w_acoshf.c: Likewise.
11519 * math/w_acoshl.c: Likewise.
11520 * math/w_acosl.c: Likewise.
11521 * math/w_asin.c: Likewise.
11522 * math/w_asinf.c: Likewise.
11523 * math/w_asinl.c: Likewise.
11524 * math/w_atanh.c: Likewise.
11525 * math/w_atanhf.c: Likewise.
11526 * math/w_atanhl.c: Likewise.
11527 * math/w_exp2.c: Likewise.
11528 * math/w_exp2f.c: Likewise.
11529 * math/w_exp2l.c: Likewise.
11530 * math/w_j0.c: Likewise.
11531 * math/w_j0f.c: Likewise.
11532 * math/w_j0l.c: Likewise.
11533 * math/w_j1.c: Likewise.
11534 * math/w_j1f.c: Likewise.
11535 * math/w_j1l.c: Likewise.
11536 * math/w_jn.c: Likewise.
11537 * math/w_jnf.c: Likewise.
11538 * math/w_log.c: Likewise.
11539 * math/w_log10.c: Likewise.
11540 * math/w_log10f.c: Likewise.
11541 * math/w_log10l.c: Likewise.
11542 * math/w_log2.c: Likewise.
11543 * math/w_log2f.c: Likewise.
11544 * math/w_log2l.c: Likewise.
11545 * math/w_logf.c: Likewise.
11546 * math/w_logl.c: Likewise.
11547 * math/w_sqrt.c: Likewise.
11548 * math/w_sqrtf.c: Likewise.
11549 * math/w_sqrtl.c: Likewise.
11550 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11551 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11552 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11553 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11554 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11556 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11559 * manual/string.texi (strnlen): Use correct parameter name in
11560 equivalent expression.
11562 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11565 * manual/users.texi (seteuid): Consistently use neweuid for
11568 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11571 * manual/nss.texi (Services in the NSS configuration): Correct
11572 list of services in example configuration file.
11574 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11577 * manual/arith.texi: Remove statements about negative zero
11578 behaving identically to zero.
11580 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11583 * manual/install.texi: Do not document upgrading from libc5.
11585 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11588 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11590 2012-02-18 David S. Miller <davem@davemloft.net>
11592 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11593 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11594 %o7 across the call.
11595 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11597 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11598 SETUP_PIC_REG_LEAF.
11599 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11600 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11601 * sysdeps/sparc/crtn.S: Likewise.
11603 2012-02-17 Ulrich Drepper <drepper@gmail.com>
11605 * aout/Makefile: Remove.
11607 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11610 * manual/examples/argp-ex1.c (main): Format definition in GNU
11612 * manual/examples/argp-ex2.c (main): Likewise.
11613 * manual/examples/argp-ex3.c (main): Likewise.
11614 * manual/examples/argp-ex4.c (main): Likewise.
11615 * manual/examples/longopt.c (main): Use new-style prototype
11617 * manual/examples/strncat.c (main): Specify return type and use
11618 (void) for arguments.
11619 * manual/examples/subopt.c (main): Use char **argv argument.
11621 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11624 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11627 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11630 * manual/string.texi (strchr): Change when strchrnul is
11633 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11636 * manual/locale.texi (setlocale): Document LOCPATH.
11638 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11641 * manual/process.texi (execle): Move @dots{} before last argument.
11643 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
11646 * manual/charset.texi (Generic Charset Conversion): Fix typo
11647 (LC_TYPE -> LC_CTYPE).
11649 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11652 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11653 (scalbnf): Likewise.
11654 (scalbnl): Likewise.
11655 (scalbln): Likewise.
11656 (scalblnf): Likewise.
11657 (scalblnl): Likewise.
11658 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11659 (vwarnx): Likewise.
11662 * manual/filesys.texi (telldir): Use braces around return type.
11663 * manual/llio.texi (mmap): Add space after comma.
11664 (mmap64): Likewise.
11665 * manual/math.texi (jn): Use @var{} on parameter names.
11671 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11673 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11675 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11676 (sched_get_priority_max): Likewise.
11677 * manual/signal.texi (sigvec): Add space after comma.
11678 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11680 (if_indextoname): Likewise.
11681 (if_freenameindex): Likewise.
11682 (sendto): Use ',' instead of '.' in prototype.
11683 * manual/startup.texi (syscall): Use @dots{} instead of literal
11685 * manual/stdio.texi (__fpending): Separate initial words of
11686 paragraph from @deftypefun line.
11687 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11689 (vsyslog): Use @var{} on parameter names.
11690 * manual/terminal.texi (stty): Use @var{} on parameter names.
11691 * manual/users.texi (getutmp): Use @var{} on parameter names.
11692 (getutmpx): Likewise.
11694 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11697 * manual/stdio.texi (fopen): Fix typos in description of
11700 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11703 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11704 get clock_id definition.
11706 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11709 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11710 (madvise): Cast every argument to void on its own.
11712 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11715 * manual/startup.texi (Exit Status): Fix typo.
11717 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11720 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11721 * manual/examples/argp-ex2.c: Likewise.
11722 * manual/examples/argp-ex3.c: Likewise.
11724 2012-02-16 Richard Henderson <rth@redhat.com>
11726 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11727 * sysdeps/s390/s390-32/initfini.c: Remove.
11728 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11729 * sysdeps/s390/s390-64/initfini.c: Remove.
11731 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11733 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11734 compiler output for sysdeps/generic/initfini.c.
11735 * sysdeps/sh/elf/initfini.c: Remove file.
11737 2012-02-16 David S. Miller <davem@davemloft.net>
11740 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11742 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11743 * sysdeps/sparc/crti.S: New file.
11744 * sysdeps/sparc/crtn.S: New file.
11745 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11746 * sysdeps/sparc/sparc64/Makefile: Likewise.
11748 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11751 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11753 2012-02-15 Roland McGrath <roland@hack.frob.com>
11756 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11758 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11759 (write, read, close): Likewise.
11760 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11762 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11764 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11765 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11766 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11767 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11769 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11773 2012-02-14 Marek Polacek <polacek@redhat.com>
11775 * sysdeps/x86_64/crti.S: New file.
11776 * sysdeps/x86_64/crtn.S: New file.
11777 * sysdeps/x86_64/elf/initfini.c: Remove file.
11779 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11781 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11782 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11783 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11784 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11786 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11790 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11792 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11793 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11794 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11795 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11797 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11801 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11803 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11804 __feraiseexcept instead of feraiseexcept.
11806 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11807 nanosleep invocations.
11808 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11809 strings, and add error checking for a nanosleep invocations.
11811 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11813 Replace FSF snail mail address with URLs, as per GNU coding standards.
11814 Most of the snail mail addresses were wrong anyway, and omitting
11815 them makes the source code easier to maintain. Almost all of the
11816 changes are to license notices and to locale LC_IDENTIFICATION
11817 addresses, except for this one:
11818 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11819 not its snail mail address.
11821 2012-02-09 Richard Henderson <rth@twiddle.net>
11823 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11824 of kernel-features.h.
11826 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11828 2012-02-08 Marek Polacek <polacek@redhat.com>
11830 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11831 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11832 * sysdeps/gnu/_G_config.h: Likewise.
11833 * sysdeps/generic/_G_config.h: Likewise.
11835 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11837 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11841 * sysdeps/powerpc/powerpc32/crti.S: New file.
11842 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11843 * sysdeps/powerpc/powerpc64/crti.S: New file.
11844 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11846 * Makeconfig (have-initfini): Don't set.
11847 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11848 * configure.in (nopic_initfini): Don't substitute.
11849 * config.h.in (HAVE_INITFINI): Don't #undef.
11850 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11851 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11853 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11855 Support crti.S and crtn.S provided directly by architectures.
11856 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11857 [crti.S in sysdirs] (omit-deps): Likewise.
11858 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11859 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11860 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11861 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11862 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11863 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11864 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11865 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11866 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11867 compiler output for sysdeps/generic/initfini.c.
11868 * sysdeps/i386/elf/Makefile: Remove file.
11869 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11871 2012-02-07 Marek Polacek <polacek@redhat.com>
11873 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11874 * sysdeps/gnu/_G_config.h: Likewise.
11875 * sysdeps/mach/hurd/_G_config.h: Likewise.
11877 2012-02-07 Marek Polacek <polacek@redhat.com>
11879 * math/Makefile (tests): Add tst-CMPLX2.
11880 * math/tst-CMPLX2.c: New file.
11882 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11884 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11886 * math/libm-test.inc (jn_test): Add missing L suffix.
11888 2012-02-06 Marek Polacek <polacek@redhat.com>
11890 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11891 * sysdeps/i386/fpu/e_powf.S: Likewise.
11892 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11893 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11894 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11895 * sysdeps/i386/fpu/e_pow.S: Likewise.
11896 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11897 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11898 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11899 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11900 * sysdeps/i386/fpu/e_log2.S: Likewise.
11901 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11902 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11903 * sysdeps/i386/fpu/e_powl.S: Likewise.
11904 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11905 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11906 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11907 * sysdeps/i386/fpu/e_logl.S: Likewise.
11908 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11909 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11910 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11911 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11912 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11913 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11914 * sysdeps/i386/fpu/e_log.S: Likewise.
11915 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11916 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11917 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11918 * sysdeps/i386/fpu/e_logf.S: Likewise.
11919 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11920 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11921 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11922 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11923 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11924 * sysdeps/i386/fpu/e_log10.S: Likewise.
11925 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11926 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11927 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11928 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11929 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11930 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11931 * sysdeps/i386/asm-syntax.h: Likewise.
11932 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11933 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11934 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11935 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11936 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11937 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11938 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11939 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11940 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11941 * sysdeps/powerpc/sysdep.h: Likewise.
11942 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11943 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11945 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11948 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11950 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11952 * sysdeps/i386/sysdep.h: Include <features.h>.
11953 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11956 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11958 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11960 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11963 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11965 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11966 (SETUP_PIC_REG): Use GET_PC_THUNK.
11967 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11970 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11972 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11973 for non-PIC compilation.
11974 (SETUP_PIC_REG): Add .p2align directive.
11975 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11976 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11977 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11978 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11979 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11980 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11981 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11982 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11983 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11984 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11985 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11986 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11987 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11988 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11989 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11990 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11991 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11992 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11993 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11994 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11995 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11996 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11997 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11998 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11999 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12001 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12002 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12003 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12004 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12005 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12006 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12007 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12008 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12009 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12010 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12011 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12012 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12013 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12014 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12015 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12017 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12019 * math/tst-CMPLX.c: Include <stdio.h>.
12021 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12023 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12025 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12026 * sysdeps/sparc/bits/mathdef.h: Likewise.
12028 2012-01-31 Marek Polacek <polacek@redhat.com>
12030 * libio/libio.h: Don't define _PARAMS.
12031 * locale/programs/config.h: Don't define PARAMS.
12032 * stdlib/strtol_l.c: Likewise.
12033 (__strtol_l): Remove PARAMS from the prototype.
12035 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12037 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12038 names. Just use the correct names. Remove unnecessary wrapper
12040 * malloc/arena.c: Likewise.
12041 * malloc/hooks.c: Likewise.
12043 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12044 ARENA_TEST says not to. Simplify test for creation of a new arena.
12045 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12047 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12049 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12051 (update_get_addr): New function.
12052 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12053 GET_ADDR_MODULE parameter.
12055 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12057 * crypt/cert.c: Remove __STDC__ conditionals.
12058 * crypt/crypt-entry.c: Likewise.
12059 * crypt/crypt_util.c: Likewise.
12060 * libio/filedoalloc.c: Likewise.
12061 * libio/fileops.c: Likewise.
12062 * libio/genops.c: Likewise.
12063 * libio/iofclose.c: Likewise.
12064 * libio/iofdopen.c: Likewise.
12065 * libio/iofopen.c: Likewise.
12066 * libio/iofopen64.c: Likewise.
12067 * libio/iogetdelim.c: Likewise.
12068 * libio/iopopen.c: Likewise.
12069 * libio/obprintf.c: Likewise.
12070 * libio/oldfileops.c: Likewise.
12071 * libio/oldiofclose.c: Likewise.
12072 * libio/oldiofdopen.c: Likewise.
12073 * libio/oldiofopen.c: Likewise.
12074 * libio/oldiopopen.c: Likewise.
12075 * libio/wfiledoalloc.c: Likewise.
12076 * libio/wgenops.c: Likewise.
12077 * locale/programs/xmalloc.c: Likewise.
12078 * misc/syslog.c: Likewise.
12079 * stdio-common/xbug.c: Likewise.
12080 * string/memchr.c: Likewise.
12081 * string/memcmp.c: Likewise.
12082 * string/memrchr.c: Likewise.
12083 * string/rawmemchr.c: Likewise.
12084 * sysdeps/posix/getcwd.c: Likewise.
12085 * time/strftime_l.c: Likewise.
12087 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12089 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12090 * config.make.in (config-cflags-sse2avx): Define.
12091 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12094 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12096 * scripts/config.guess: Update from upstream config git repository.
12097 * scripts/config.sub: Likewise.
12099 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12101 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12103 (R_TILEPRO_*, R_TILEGX_*): New macros.
12105 * scripts/firstversions.awk: Fix bug in version range handling.
12107 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12109 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12111 * include/sys/epoll.h: New file.
12112 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12115 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12117 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12118 Avoid unnecessary __WORDSIZE == 64 test.
12119 (fmaxf): Use VEX format if possible.
12124 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12125 * math/math_private.h: Remove libc_fegetround* and
12127 * sysdeps/i386/configure.in: Check for -msse2avx.
12128 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12129 also if SSE2AVX is defined.
12130 Remove libc_fegetround* and libc_fesetround*.
12131 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12132 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12133 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12135 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12136 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12137 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12138 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12139 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12141 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12143 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12145 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12147 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12149 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12152 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12154 * Makeconfig (libm): Define.
12155 * elf/Makefile: Add rules to build and run tst-relsort1.
12156 * elf/tst-relsort1.c: New file.
12157 * elf/tst-relsort1mod1.c: New file.
12158 * elf/tst-relsort1mod2.c: New file.
12160 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12162 * math/s_ldexp.c: Remove __STDC__ conditionals.
12163 * math/s_ldexpf.c: Likewise.
12164 * math/s_ldexpl.c: Likewise.
12165 * math/s_nextafter.c: Likewise.
12166 * math/s_nexttowardf.c: Likewise.
12167 * math/s_significand.c: Likewise.
12168 * math/s_significandf.c: Likewise.
12169 * math/s_significandl.c: Likewise.
12170 * math/w_jnl.c: Likewise.
12171 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12172 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12173 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12174 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12175 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12176 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12177 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12178 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12179 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12180 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12181 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12182 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12183 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12184 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12185 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12186 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12187 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12188 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12189 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12190 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12191 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12192 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12193 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12194 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12195 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12196 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12197 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12198 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12199 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12200 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12201 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12202 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12203 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12204 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12205 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12206 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12207 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12208 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12209 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12210 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12211 * sysdeps/ieee754/k_standard.c: Likewise.
12212 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12213 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12214 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12215 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12216 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12217 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12218 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12219 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12220 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12221 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12222 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12223 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12224 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12225 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12226 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12227 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12228 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12229 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12230 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12231 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12232 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12233 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12234 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12235 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12236 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12237 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12238 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12239 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12240 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12241 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12243 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12244 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12245 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12246 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12247 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12248 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12249 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12250 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12251 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12252 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12254 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12255 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12256 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12257 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12258 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12259 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12260 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12263 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12264 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12265 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12266 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12268 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12269 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12272 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12273 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12275 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12276 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12277 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12278 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12281 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12282 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12286 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12287 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12288 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12290 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12291 * sysdeps/ieee754/s_matherr.c: Likewise.
12292 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12293 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12294 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12295 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12297 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12299 * crypt/md5.h: Remove __STDC__ conditionals.
12300 * libio/libioP.h: Likewise.
12301 * locale/programs/config.h: Likewise.
12302 * sysdeps/generic/sysdep.h: Likewise.
12303 * sysdeps/i386/asm-syntax.h: Likewise.
12304 * sysdeps/s390/asm-syntax.h: Likewise.
12305 * sysdeps/unix/sysdep.h: Likewise.
12306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12309 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12311 * libio/libio.h: Remove __STDC__ conditionals.
12312 * malloc/obstack.h: Likewise.
12313 * math/complex.h: Likewise.
12314 * math/math.h: Likewise.
12315 * sysdeps/generic/_G_config.h: Likewise.
12316 * sysdeps/gnu/_G_config.h: Likewise.
12317 * sysdeps/mach/hurd/_G_config.h: Likewise.
12318 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12319 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12320 * sysdeps/sparc/bits/mathdef.h: Likewise.
12322 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12325 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12326 Clean up HAS_* macros.
12327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12328 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12330 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12332 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12333 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12334 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12335 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12336 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12338 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12340 * elf/tst-unique3.cc (gets): Remove declaration.
12341 * elf/tst-unique3lib.cc (gets): Likewise.
12342 * elf/tst-unique3lib2.cc (gets): Likewise.
12343 * elf/tst-unique4.cc (gets): Likewise.
12345 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12347 * include/stdio.h: Add C++ protection. Add gets declarations and
12349 * debug/tst-chk1.c: Don't declare gets here.
12350 * stdio-common/tst-gets.c: Likewise.
12352 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12354 * posix/glob: Remove directory.
12356 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12358 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12360 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12362 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12363 of the non-standard EPFNOSUPPORT.
12365 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12367 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12368 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12369 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12371 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12373 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12375 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12377 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12379 * nscd/grpcache.c (cache_addgr): Likewise.
12380 * nscd/hstcache.c (cache_addhst): Likewise.
12381 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12382 * nscd/pwdcache.c (cache_addpw): Likewise.
12383 * nscd/servicescache.c (cache_addserv): Likewise.
12385 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12387 * malloc/malloc.c: Various cleanups.
12388 * malloc/hooks.c: Likewise.
12390 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12391 * stdlib/bug-fmtmsg1.c: New file.
12393 * stdlib/fmtmsg.c (init): Add missing unlock.
12394 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12396 2012-01-12 Marek Polacek <polacek@redhat.com>
12398 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12401 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12403 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12404 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12405 macro to ensure uniqueness of label name.
12406 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12407 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12409 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12411 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12413 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12414 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12415 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12418 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12420 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12422 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12423 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12424 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12426 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12428 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12429 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12430 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12433 * math/bits/math-finite.h: Add ldexp support.
12435 2012-01-10 Marek Polacek <polacek@redhat.com>
12437 * locale/programs/localedef.h (show_archive_content): Add noreturn
12440 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12442 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12444 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12446 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12448 * io/Makefile (headers): Add bits/poll2.h.
12450 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12453 typo #include statement.
12455 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12457 * include/sys/cdefs.h: Define __attribute_alloc_size.
12458 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12459 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12460 * elf/pldd.c: Likewise.
12461 * iconv/iconv_charmap.c: Likewise.
12462 * iconv/iconvconfig.c: Likewise.
12463 * iconv/strtab.c: Likewise.
12464 * locale/programs/locale.c: Likewise.
12465 * locale/programs/localedef.h: Likewise.
12466 * locale/programs/simple-hash.c: Likewise.
12467 * nscd/nscd.h: Likewise.
12468 * nss/makedb.c: Likewise.
12469 * sysdeps/generic/ldconfig.h: Likewise.
12470 * locale/programs/localedef.c: Remove xmalloc prototype.
12471 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12473 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12475 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12478 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12480 * math/Makefile (tests): Add tst-CMPLX.
12481 * math/tst-CMPLX.c: New file.
12483 * math/complex.h (CMPLXL): Fix typo.
12485 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12486 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12488 * debug/tst-chk1.c: Add poll and ppoll tests.
12489 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12490 * include/sys/poll.h: Add hidden proto for ppoll.
12491 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12492 * sysdeps/mach/hurd/ppoll.c: Likewise.
12493 * io/ppoll.c: Likewise.
12494 * debug/poll_chk.c: New file.
12495 * debug/ppoll_chk.c: New file.
12496 * include/bits/poll2.h: New file.
12497 * io/bits/poll2.h: New file.
12500 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12502 * configure.in: static is always set to yes. Remove.
12503 * config.make.in: Don't set build-static.
12504 * Makeconfig: Remove use of build-static.
12505 * dlfcn/Makefile: Likewise.
12506 * elf/Makefile: Likewise.
12507 * math/Makefile: Likewise.
12508 * misc/Makefile: Likewise.
12509 * nptl/Makefile: Likewise.
12510 * sysdeps/mach/hurd/Makefile: Likewise.
12512 * configure.in: PWD_P is not used anymore.
12513 * config.make.in: Remove PWD_P entry.
12515 * configure.in: Remove last remnants of RANLIB.
12516 No need to check for signed size_t anymore.
12517 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12519 Remove __builtin_expect test because we require at least gcc 3.4.
12520 * aclocal.m4: Likewise.
12522 * wcsmbs/mbrtoc16.c: Implement using towc function.
12523 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12524 * wcsmbs/wcsmbsload.c: Likewise.
12525 * iconv/gconv_simple.c: Likewise.
12526 * iconv/gconv_int.h: Likewise.
12527 * iconv/gconv_builtin.h: Likewise.
12528 * iconv/iconv_prog.c: Remove CHAR16 handling.
12530 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12532 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12534 * configure.in: Remove --with-elf and --enable-bounded options.
12535 Dont set base_machine for ia64. More non-ELF conditions removed.
12536 Remove testing and setting of leading underscore information.
12537 * config.make.in (build-bounded): Set to no.
12538 * config.h.in: Remove NO_UNDERSCORES entry.
12539 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12541 * csu/start.c: Remove !NO_UNDERSCORE code.
12542 * locale/localeinfo.h: Likewise.
12543 * sysdeps/generic/machine-gmon.h: Likewise.
12544 * sysdeps/generic/sysdep.h: Likewise.
12545 * sysdeps/i386/sysdep.h: Likewise.
12546 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12547 * sysdeps/mach/sysdep.h: Likewise.
12548 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12549 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12550 * sysdeps/sh/sysdep.h: Likewise.
12551 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12552 * sysdeps/unix/i386/sysdep.S: Likewise.
12553 * sysdeps/unix/sparc/start.c: Likewise.
12554 * sysdeps/unix/sparc/sysdep.S: Likewise.
12555 * sysdeps/unix/sparc/sysdep.h: Likewise.
12556 * sysdeps/unix/start.c: Likewise.
12557 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12558 * sysdeps/x86_64/sysdep.h: Likewise.
12560 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12563 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12565 * argp/argp-fmtstream.h: Use const instead __const.
12566 * argp/argp.h: Likewise.
12567 * assert/assert.h: Likewise.
12568 * bits/fenv.h: Likewise.
12569 * bits/sched.h: Likewise.
12570 * bits/sigset.h: Likewise.
12571 * bits/sigthread.h: Likewise.
12572 * catgets/nl_types.h: Likewise.
12573 * conform/data/pthread.h-data: Likewise.
12574 * crypt/crypt-private.h: Likewise.
12575 * crypt/crypt.h: Likewise.
12576 * crypt/crypt_util.c: Likewise.
12577 * ctype/ctype.h: Likewise.
12578 * debug/execinfo.h: Likewise.
12579 * debug/mbsnrtowcs_chk.c: Likewise.
12580 * debug/mbsrtowcs_chk.c: Likewise.
12581 * debug/wcsnrtombs_chk.c: Likewise.
12582 * debug/wcsrtombs_chk.c: Likewise.
12583 * debug/wcstombs_chk.c: Likewise.
12584 * dirent/dirent.h: Likewise.
12585 * dlfcn/dlfcn.h: Likewise.
12586 * elf/neededtest4.c: Likewise.
12587 * grp/grp.h: Likewise.
12588 * gshadow/gshadow.h: Likewise.
12589 * iconv/gconv.h: Likewise.
12590 * iconv/gconv_int.h: Likewise.
12591 * iconv/gconv_simple.c: Likewise.
12592 * iconv/iconv.h: Likewise.
12593 * iconv/loop.c: Likewise.
12594 * iconv/skeleton.c: Likewise.
12595 * include/aio.h: Likewise.
12596 * include/aliases.h: Likewise.
12597 * include/argz.h: Likewise.
12598 * include/arpa/inet.h: Likewise.
12599 * include/assert.h: Likewise.
12600 * include/dirent.h: Likewise.
12601 * include/dlfcn.h: Likewise.
12602 * include/execinfo.h: Likewise.
12603 * include/fcntl.h: Likewise.
12604 * include/fenv.h: Likewise.
12605 * include/glob.h: Likewise.
12606 * include/grp.h: Likewise.
12607 * include/libintl.h: Likewise.
12608 * include/mntent.h: Likewise.
12609 * include/netdb.h: Likewise.
12610 * include/pwd.h: Likewise.
12611 * include/rpc/netdb.h: Likewise.
12612 * include/sched.h: Likewise.
12613 * include/search.h: Likewise.
12614 * include/shadow.h: Likewise.
12615 * include/signal.h: Likewise.
12616 * include/stdio.h: Likewise.
12617 * include/stdlib.h: Likewise.
12618 * include/string.h: Likewise.
12619 * include/sys/socket.h: Likewise.
12620 * include/sys/stat.h: Likewise.
12621 * include/sys/statfs.h: Likewise.
12622 * include/sys/statvfs.h: Likewise.
12623 * include/sys/syslog.h: Likewise.
12624 * include/sys/time.h: Likewise.
12625 * include/sys/uio.h: Likewise.
12626 * include/time.h: Likewise.
12627 * include/unistd.h: Likewise.
12628 * include/utmp.h: Likewise.
12629 * include/wchar.h: Likewise.
12630 * include/wctype.h: Likewise.
12631 * inet/aliases.h: Likewise.
12632 * inet/arpa/inet.h: Likewise.
12633 * inet/netinet/ether.h: Likewise.
12634 * inet/netinet/in.h: Likewise.
12635 * intl/libintl.h: Likewise.
12636 * io/bits/fcntl2.h: Likewise.
12637 * io/fcntl.h: Likewise.
12638 * io/ftw.h: Likewise.
12639 * io/sys/poll.h: Likewise.
12640 * io/sys/stat.h: Likewise.
12641 * io/sys/statfs.h: Likewise.
12642 * io/sys/statvfs.h: Likewise.
12643 * io/utime.h: Likewise.
12644 * libio/bits/stdio.h: Likewise.
12645 * libio/bits/stdio2.h: Likewise.
12646 * libio/libio.h: Likewise.
12647 * libio/libioP.h: Likewise.
12648 * libio/stdio.h: Likewise.
12649 * locale/lc-ctype.c: Likewise.
12650 * locale/locale.h: Likewise.
12651 * login/utmp.h: Likewise.
12652 * malloc/arena.c: Likewise.
12653 * malloc/malloc.c: Likewise.
12654 * malloc/malloc.h: Likewise.
12655 * malloc/mcheck.c: Likewise.
12656 * malloc/mtrace.c: Likewise.
12657 * math/bits/mathcalls.h: Likewise.
12658 * math/fenv.h: Likewise.
12659 * math/math_private.h: Likewise.
12660 * misc/bits/error.h: Likewise.
12661 * misc/bits/syslog.h: Likewise.
12662 * misc/err.h: Likewise.
12663 * misc/error.h: Likewise.
12664 * misc/fstab.h: Likewise.
12665 * misc/mntent.h: Likewise.
12666 * misc/regexp.h: Likewise.
12667 * misc/search.h: Likewise.
12668 * misc/sgtty.h: Likewise.
12669 * misc/sys/mman.h: Likewise.
12670 * misc/sys/syslog.h: Likewise.
12671 * misc/sys/uio.h: Likewise.
12672 * misc/sys/xattr.h: Likewise.
12673 * misc/ttyent.h: Likewise.
12674 * nis/rpcsvc/ypclnt.h: Likewise.
12675 * nss/nss.h: Likewise.
12676 * posix/bits/unistd.h: Likewise.
12677 * posix/fnmatch.h: Likewise.
12678 * posix/glob.h: Likewise.
12679 * posix/sched.h: Likewise.
12680 * posix/spawn.h: Likewise.
12681 * posix/sys/wait.h: Likewise.
12682 * posix/unistd.h: Likewise.
12683 * posix/wordexp.h: Likewise.
12684 * pwd/pwd.h: Likewise.
12685 * resolv/netdb.h: Likewise.
12686 * resource/sys/resource.h: Likewise.
12687 * rt/aio.h: Likewise.
12688 * rt/bits/mqueue2.h: Likewise.
12689 * rt/mqueue.h: Likewise.
12690 * shadow/shadow.h: Likewise.
12691 * signal/signal.h: Likewise.
12692 * socket/send.c: Likewise.
12693 * socket/sendto.c: Likewise.
12694 * socket/sys/socket.h: Likewise.
12695 * stdio-common/printf.h: Likewise.
12696 * stdlib/bits/stdlib.h: Likewise.
12697 * stdlib/fmtmsg.h: Likewise.
12698 * stdlib/monetary.h: Likewise.
12699 * stdlib/stdlib.h: Likewise.
12700 * stdlib/ucontext.h: Likewise.
12701 * streams/stropts.h: Likewise.
12702 * string/argz.h: Likewise.
12703 * string/bits/string2.h: Likewise.
12704 * string/string.h: Likewise.
12705 * string/strings.h: Likewise.
12706 * sunrpc/rpc/auth.h: Likewise.
12707 * sunrpc/rpc/auth_des.h: Likewise.
12708 * sunrpc/rpc/clnt.h: Likewise.
12709 * sunrpc/rpc/netdb.h: Likewise.
12710 * sunrpc/rpc/pmap_clnt.h: Likewise.
12711 * sunrpc/rpc/xdr.h: Likewise.
12712 * sysdeps/generic/inttypes.h: Likewise.
12713 * sysdeps/generic/net/if.h: Likewise.
12714 * sysdeps/generic/sys/swap.h: Likewise.
12715 * sysdeps/gnu/net/if.h: Likewise.
12716 * sysdeps/gnu/utmpx.h: Likewise.
12717 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12718 * sysdeps/i386/i486/bits/string.h: Likewise.
12719 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12720 * sysdeps/s390/bits/string.h: Likewise.
12721 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12722 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12723 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12724 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12725 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12726 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12727 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12728 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12729 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12730 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12731 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12732 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12733 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12734 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12735 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12736 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12737 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12739 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12740 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12741 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12742 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12743 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12744 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12745 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12746 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12747 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12748 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12749 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12750 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12751 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12752 * sysvipc/sys/ipc.h: Likewise.
12753 * sysvipc/sys/msg.h: Likewise.
12754 * sysvipc/sys/sem.h: Likewise.
12755 * sysvipc/sys/shm.h: Likewise.
12756 * termios/termios.h: Likewise.
12757 * time/sys/time.h: Likewise.
12758 * time/time.h: Likewise.
12759 * wcsmbs/bits/wchar2.h: Likewise.
12760 * wcsmbs/uchar.h: Likewise.
12761 * wcsmbs/wchar.h: Likewise.
12762 * wctype/wctype.h: Likewise.
12765 * Makeconfig: Remove all but ELF support including AIX support.
12766 * Makerules: Likewise.
12767 * config.h.in: Likewise.
12768 * config.make.in: Likewise.
12769 * configure: Likewise.
12770 * configure.in: Likewise.
12771 * csu/Makefile: Likewise.
12772 * csu/version.c: Likewise.
12773 * debug/Makefile: Likewise.
12774 * dlfcn/Makefile: Likewise.
12775 * elf/Makefile: Likewise.
12776 * extra-lib.mk: Likewise.
12777 * iconv/Makefile: Likewise.
12778 * include/libc-symbols.h: Likewise.
12779 * include/shlib-compat.h: Likewise.
12780 * resolv/Makefile: Likewise.
12781 * resolv/res_libc.c: Likewise.
12782 * rt/Makefile: Likewise.
12783 * sysdeps/i386/asm-syntax.h: Likewise.
12784 * sysdeps/i386/sysdep.h: Likewise.
12785 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12786 * sysdeps/mach/sysdep.h: Likewise.
12787 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12788 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12789 * sysdeps/s390/asm-syntax.h: Likewise.
12790 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12791 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12792 * sysdeps/sh/sysdep.h: Likewise.
12793 * sysdeps/unix/sparc/sysdep.h: Likewise.
12794 * sysdeps/wordsize-32/divdi3.c: Likewise.
12795 * sysdeps/x86_64/sysdep.h: Likewise.
12797 * argp/Versions: Remove _argp_unlock_xxx.
12800 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12801 * abilist/libBrokenLocale.abilist: Likewise.
12802 * abilist/libanl.abilist: Likewise.
12803 * abilist/libc.abilist: Likewise.
12804 * abilist/libcrypt.abilist: Likewise.
12805 * abilist/libdl.abilist: Likewise.
12806 * abilist/libm.abilist: Likewise.
12807 * abilist/libnsl.abilist: Likewise.
12808 * abilist/libpthread.abilist: Likewise.
12809 * abilist/libresolv.abilist: Likewise.
12810 * abilist/librt.abilist: Likewise.
12811 * abilist/libthread_db.abilist: Likewise.
12812 * abilist/libutil.abilist: Likewise.
12813 * abilist/libnss_db.abilist: New file.
12815 * scripts/abilist.awk: Add support for indirect functions.
12817 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12819 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12821 * shlib-versions: Remove entries for ports architectures.
12823 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12825 * elf/stackguard-macros.h: Remove support for IA-64.
12826 * elf/tst-auditmod1.c: Likewise.
12827 * sysdeps/generic/ldsodefs.h: Likewise.
12829 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12830 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12834 * configure.in: Remove --enable-omitfp support.
12836 * config.make.in: Likewise.
12837 * Makeconfig: Likewise.
12838 * manual/install.texi: Likewise.
12840 In case anyone cares, the IA-64 architecture could move to ports.
12841 * sysdeps/ia64/*: Removed.
12842 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12843 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12846 * configure.in: Remove entries for unsupported architectures.
12849 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12850 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12852 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12853 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12854 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12855 fall back to using wcrtomb.
12856 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12857 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12859 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12860 * wcsmbs/tst-c16c32-1.c: New file.
12862 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12865 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12867 * elf/tst-unique3.cc: Add explicit declaration of gets.
12868 * elf/tst-unique3lib.cc: Likewise.
12869 * elf/tst-unique3lib2.cc: Likewise.
12870 * elf/tst-unique4.cc: Likewise.
12872 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12874 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12877 * assert/assert.h (static_assert): Don't define for C++.
12878 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12879 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12881 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12883 * iconv/loop.c (single loop): Fix assertion in storing of
12886 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12888 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12890 * posix/getconf.c: Update copyright year.
12891 * nss/getent.c: Likewise.
12892 * nss/makedb.c: Likewise.
12893 * iconv/iconvconfig.c: Likewise.
12894 * iconv/iconv_prog.c: Likewise.
12895 * elf/ldconfig.c: Likewise.
12896 * elf/pldd.c: Likewise.
12897 * elf/sotruss.ksh: Likewise.
12898 * catgets/gencat.c: Likewise.
12899 * csu/version.c: Likewise.
12900 * elf/ldd.bash.in: Likewise.
12901 * elf/sprof.c (print_version): Likewise.
12902 * locale/programs/locale.c: Likewise.
12903 * locale/programs/localedef.c: Likewise.
12904 * login/programs/pt_chown.c: Likewise.
12905 * nscd/nscd.c (print_version): Likewise.
12906 * debug/xtrace.sh: Likewise.
12907 * malloc/memusage.sh: Likewise.
12908 * malloc/mtrace.pl: Likewise.
12909 * debug/catchsegv.sh: Likewise.
12911 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12913 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12916 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12919 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12920 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12922 * iconv/gconv_int.h: Likewise.
12923 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12924 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12925 from libc for GLIBC_2.16.
12926 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12927 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12928 * wcsmbs/uchar.h: Really define mbstate_t.
12929 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12930 * wcsmbs/c16rtomb.c: New file.
12931 * wcsmbs/mbrtoc16.c: New file.
12932 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12933 for C/POSIX locale.
12934 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12935 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12937 * wcsmbs/wchar.h: Add missing __restrict.
12939 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12942 * time/Makefile (routines): Add timespec_get.
12943 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12944 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12945 timespec for ISO C11.
12946 * time/timespec_get.c: New file.
12947 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12948 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12951 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12952 * stdlib/stdlib.h: Declare aligned_alloc.
12953 * Versions.def: Add GLIBC_2.16 for libc.
12954 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12957 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12960 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12964 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12967 * assert/assert.h (static_assert): Define.
12969 * version.h: Update for 2.16 development version.
12972 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12975 * version.h (RELEASE): Bump for 2.15 release.
12976 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12978 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12979 Patch by Marek Polacek <mpolacek@redhat.com>.
12981 * bits/byteswap.h: Protect long long constants with __extension__.
12982 * sysdeps/i386/bits/byteswap.h: Likewise.
12983 * sysdeps/ia64/bits/byteswap.h: Likewise.
12984 * sysdeps/s390/bits/byteswap.h: Likewise.
12985 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12987 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12990 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12991 destination buffer.
12992 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12994 2011-12-23 Marek Polacek <polacek@redhat.com>
12996 * elf/dl-addr.c (determine_info): Add inline keyword.
12997 * elf/tst-auditmod4b.c (check_avx): Likewise.
12998 * elf/tst-auditmod6b.c (check_avx): Likewise.
12999 * elf/tst-auditmod6c.c (check_avx): Likewise.
13000 * elf/tst-auditmod7b.c (check_avx): Likewise.
13002 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13004 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13007 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13010 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13011 processing for last bytes.
13013 2011-08-06 Bruno Haible <bruno@clisp.org>
13016 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13017 U+0385, not to U+1FEE.
13020 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13021 entry for U+00A5 U+0301.
13023 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13026 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13027 buffer for the output is too small.
13029 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13033 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13034 SSE flags if possible.
13036 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13040 processing for last bytes.
13042 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13044 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13045 (syscall-list-default-options, syscall-list-default-condition)
13046 (syscall-list-includes): Define.
13047 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13048 list of ABIs and options and #if conditions for each ABI. Do not
13049 handle common syscalls between ABIs specially.
13050 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13052 (syscall-list-variants, syscall-list-32bit-options)
13053 (syscall-list-32bit-condition, syscall-list-64bit-options)
13054 (syscall-list-64bit-condition): Define.
13055 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13056 (syscall-list-variants, syscall-list-32bit-options)
13057 (syscall-list-32bit-condition, syscall-list-64bit-options)
13058 (syscall-list-64bit-condition): Define.
13059 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13061 (syscall-list-variants, syscall-list-32bit-options)
13062 (syscall-list-32bit-condition, syscall-list-64bit-options)
13063 (syscall-list-64bit-condition): Define.
13064 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13066 (syscall-list-variants, syscall-list-32bit-options)
13067 (syscall-list-32bit-condition, syscall-list-64bit-options)
13068 (syscall-list-64bit-condition): Define.
13070 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13072 * locale/iso-639.def: Add brx entry.
13075 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13076 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13078 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13079 __feraiseexcept_renamed.
13081 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13084 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13085 EPOLLET with unsigned values.
13086 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13087 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13089 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13090 to large cancellation.
13091 * math/s_cacoshf.c: Likewise.
13092 * math/s_cacoshl.c: Likewise.
13094 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13098 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13099 * math/s_cacoshf.c: Likewise.
13100 * math/s_cacoshl.c: Likewise.
13102 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13105 * iconv/gconv.h: Define __GCONV_SWAP.
13106 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13107 * iconvdata/utf-16.c: Likewise.
13108 * iconvdata/utf-32.c: Likewise.
13110 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13113 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13114 numerator after shifting it by one limb.
13116 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13118 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13119 under [__USE_EXTERN_INLINES].
13121 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13124 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13126 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13128 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13129 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13131 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13132 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13133 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13134 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13135 for strncasecmp/strncasecmp_l compilation.
13136 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13137 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13139 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13142 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13145 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13148 * time/tzfile.c (__tzfile_read): Check values from file header.
13150 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13152 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13153 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13154 * powerpc/powerpc32/dl-start.S: Likewise.
13155 * powerpc/powerpc32/elf/start.S: Likewise.
13156 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13157 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13158 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13159 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13160 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13161 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13162 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13163 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13164 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13165 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13166 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13167 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13168 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13169 * powerpc/powerpc32/memset.S: Likewise.
13170 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13171 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13172 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13173 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13174 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13175 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13176 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13177 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13178 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13179 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13180 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13181 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13182 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13184 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13186 * math/libm-test.inc: Added more nearbyint tests.
13187 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13188 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13189 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13190 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13192 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13194 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13197 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13199 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13200 Add wcscpy-ssse3 wcscpy-c.
13201 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13202 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13203 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13204 * sysdeps/x86_64/wcschr.S: New file.
13205 * sysdeps/x86_64/wcsrchr.S: New file.
13206 * string/test-strcmp.c: Remove checking of wcscmp function for
13208 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13209 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13210 wcsrchr-sse2 wcsrchr-c.
13211 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13212 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13213 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13214 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13215 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13216 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13217 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13218 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13219 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13220 * wcsmbc/wcschr.c (WCSCHR): New macro.
13222 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13224 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13225 * wcsmbs/test-wcsrchr.c: New file.
13226 * string/test-strrchr.c: Add wcsrchr support.
13228 * wcsmbs/test-wcscpy.c: New file.
13229 * string/test-strcpy.c: Add wcscpy support.
13232 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13234 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13237 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13240 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13242 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13244 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13245 Minor optimizations.
13247 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13248 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13249 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13251 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13253 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13254 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13255 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13256 for gcc to avoid warnings.
13257 * inet/Makefile (tests): Add tst-checks.
13258 * inet/tst-checks.c: New file.
13260 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13263 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13266 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13267 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13269 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13271 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13273 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13276 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13278 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13280 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13281 conditional on GCC version.
13282 (__arch_compare_and_exchange_val_8_acq)
13283 (__arch_compare_and_exchange_val_16_acq)
13284 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13285 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13286 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13288 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13290 * sysdeps/sh/backtrace.c: New file.
13292 2011-12-02 Andreas Schwab <schwab@redhat.com>
13294 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13297 2011-12-01 Andreas Schwab <schwab@redhat.com>
13299 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13300 falling back to utime.
13302 2011-11-30 Andreas Schwab <schwab@redhat.com>
13304 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13305 expectations for float.
13307 2011-11-29 Andreas Schwab <schwab@redhat.com>
13309 * locale/weight.h (findidx): Add parameter len.
13310 * locale/weightwc.h (findidx): Likewise.
13311 * posix/fnmatch_loop.c (FCT): Adjust caller.
13312 * posix/regcomp.c (build_equiv_class): Likewise.
13313 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13314 * posix/regexec.c (check_node_accept_bytes): Likewise.
13315 * string/strcoll_l.c (STRCOLL): Likewise.
13316 * string/strxfrm_l.c (STRXFRM): Likewise.
13318 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13320 * Makefile.in: Remove CVSOPT handling.
13321 * configure.in: Remove use of AC_REVISION.
13322 * iconvdata/Makefile (distribute): No need to filter out CVS.
13323 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13326 2011-11-16 Andreas Schwab <schwab@redhat.com>
13328 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13329 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13330 [USE_AS_STRNCASECMP_L]: Likewise.
13331 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13332 NO_TLS_DIRECT_SEG_REFS.
13333 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13334 Fix argument offsets for non-PIC.
13335 [USE_AS_STRNCASECMP_L]: Likewise.
13336 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13337 NO_TLS_DIRECT_SEG_REFS.
13339 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13341 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13343 * locale/loadlocale.c (_nl_load_locale): Likewise.
13345 2011-11-15 Andreas Schwab <schwab@redhat.com>
13347 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13348 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13349 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13350 (SYSCALL_GETTIME): Set errno on error.
13352 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13353 count references to noai6ai_cached.
13355 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13357 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13359 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13360 FD_CLOEXEC for /proc/self/maps.
13362 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13363 FD_CLOEXEC for /proc/meminfo.
13365 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13368 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13369 FD_CLOEXEC for given file.
13371 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13373 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13374 FD_CLOEXEC for /etc/hosts.
13375 (_gethtent): Likewise.
13377 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13379 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13380 cancellation and set FD_CLOEXEC for /etc/netgroup.
13382 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13383 reading /etc/publickey.
13385 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13386 allow cancellation when reading /etc/group.
13388 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13390 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13392 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13393 when using data file.
13395 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13397 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13398 (write_nis_obj): Use "c" and "e" in fopen.
13400 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13402 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13404 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13406 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13408 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13411 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13413 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13415 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13417 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13418 file parsing and set FD_CLOEXEC.
13420 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13422 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13424 2011-11-14 Andreas Schwab <schwab@redhat.com>
13426 * malloc/arena.c (arena_get2): Don't call reused_arena when
13427 _int_new_arena failed.
13429 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13431 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13432 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13433 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13434 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13435 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13436 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13437 to compile strcasecmp and strncasecmp.
13438 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13439 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13441 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13443 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13445 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13446 locale-defines.sym to gen-as-const-headers.
13447 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13448 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13449 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13450 to compile strcasecmp and strncasecmp.
13451 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13452 strcasecmp_l and strncasecmp_l.
13453 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13454 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13455 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13456 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13457 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13458 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13459 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13460 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13461 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13462 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13463 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13465 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13467 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13468 result of SYSDEP_GETTIME_CPU to retval.
13469 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13470 parameter list to macro. Remove trailing semicolon. Adjust users.
13472 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13475 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13477 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13479 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13480 from unused variable.
13482 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13484 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13487 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13490 * sunrpc/rpc_prot.c (rejected): Fix case value.
13492 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13493 unsigned long long int to avoid warnings in shift.
13495 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13497 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13500 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13501 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13502 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13504 * nis/nis_table.c (nis_list): Use variable of correct type for
13505 result of __follow_path call.
13507 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13509 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13510 of math functions ceil, trunc, floor, round, and sqrt, when
13511 avaliable on the platform.
13512 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13514 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13515 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13516 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13518 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13520 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13521 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13523 2011-11-11 Roland McGrath <roland@hack.frob.com>
13525 * include/unistd.h: Fix __readlink return type.
13526 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13528 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13530 * stdlib/ucontext.h: Undo last change for makecontext.
13532 2011-11-11 Andreas Schwab <schwab@redhat.com>
13534 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13536 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13537 * setjmp/setjmp.h: Mark functions as non-leaf.
13538 * setjmp/bits/setjmp2.h: Likewise.
13539 * stdlib/ucontext.h: Likewise.
13541 2011-11-10 Andreas Schwab <schwab@redhat.com>
13543 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13544 (reused_arena): Don't check arena limit.
13545 (arena_get2): Atomically check arena limit.
13547 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13549 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13550 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13552 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13555 2011-11-07 Andreas Schwab <schwab@redhat.com>
13557 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13558 handler when locking.
13560 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13561 Fix size of allocated buffer.
13563 2011-11-04 Andreas Schwab <schwab@redhat.com>
13566 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13567 declarations for long double functions.
13568 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13570 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13572 2011-11-03 Andreas Schwab <schwab@redhat.com>
13574 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13577 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13580 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13582 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13584 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13586 * include/alloca.h (stackinfo_alloca_round): Define.
13587 (extend_alloca): Use it.
13588 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13589 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13592 * scripts/check-local-headers.sh: Ignore libaudit.h.
13594 * nscd/Makefile (extra-objs): Make recursively expanded.
13596 2011-11-01 Ulrich Drepper <drepper@gmail.com>
13598 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13599 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13601 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13602 * posix/tst-rfc3484-2.c: Likewise.
13603 * posix/tst-rfc3484-3.c: Likewise.
13605 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13607 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13609 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13610 process_vm_writev from libc using GLIBC_2.15 version.
13612 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13614 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13616 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13619 2011-10-31 Ulrich Drepper <drepper@gmail.com>
13622 * nss/getent.c (initgroups_keys): Show error message in case no group
13625 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13626 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13627 __bump_nl_timestamp.
13628 * nscd/connections (nscd_init): When host database is served open
13629 netlink socket and request notification about configuration changes.
13630 (main_loop_poll): Track netlink file descriptor and bump timestamp
13631 in case data becomes available.
13632 (main_loop_epoll): Likewise.
13633 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13634 (database_pers_head): Add extra_data fileds.
13635 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13636 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13637 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13639 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13640 in6ai data, call __free_in6ai.
13641 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13642 Add -DHAVE_NETLINK.
13643 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13644 interface information. Reuse previous data if netlink timestamp
13646 (__bump_nl_timestamp): New function.
13647 (__free_in6ai): New function.
13649 2011-10-30 Ulrich Drepper <drepper@gmail.com>
13651 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13652 close_not_cancel_no_status here.
13653 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13655 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13658 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13661 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
13662 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13663 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13665 2011-07-03 Andreas Jaeger <aj@suse.de>
13668 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13669 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13670 * math/libm-test.inc (sin_test): Add test case.
13672 2011-10-29 Ulrich Drepper <drepper@gmail.com>
13675 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13676 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13678 * elf/chroot_canon.c (chroot_canon): Cleanups.
13680 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13683 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13684 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13686 * string/test-strchr.c: Make usable for strchrnul testing.
13687 * string/test-strchrnul.c: New file.
13688 * string/Makefile (strop-tests): Add strchrnul.
13690 * po/it.po: Update from translation team.
13691 * po/es.po: Likewise.
13693 2011-10-28 Ulrich Drepper <drepper@gmail.com>
13695 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13696 the three constants needed as parameters. Drop the others.
13697 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13698 __m128i_strloadu_tolower.
13699 Create and initialize variable zero and use it in all the places
13700 where _mm_setzero_si128 was used.
13702 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13703 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13704 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13705 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13707 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13708 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13709 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13710 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13711 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13712 __mpranred, __mptan.
13713 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13714 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13715 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13716 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13717 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13718 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13719 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13720 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13721 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13723 2011-10-28 Andreas Schwab <schwab@redhat.com>
13725 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13726 redefine if SHARED.
13727 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13729 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13730 wide char related routines to wcsmbs subdir.
13732 2011-10-27 Andreas Schwab <schwab@redhat.com>
13735 * misc/sys/cdefs.h (__THROWNL): Define.
13736 * posix/unistd.h: Use __THREADNL instead of __THREAD
13737 for memory synchronization functions.
13739 2011-10-26 Roland McGrath <roland@hack.frob.com>
13742 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13744 * manual/stdio.texi (Obstack Streams): Node removed.
13746 2011-10-26 Andreas Schwab <schwab@redhat.com>
13748 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13749 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13750 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13752 * math/math_private.h (math_force_eval): Allow non-addressable
13754 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13756 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13758 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13759 file is not needed.
13761 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13762 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13763 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13764 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13765 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13766 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13767 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13768 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13770 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13771 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13772 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13773 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13774 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13775 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13776 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13777 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13778 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13779 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13780 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13781 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13782 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13783 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13784 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13785 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13786 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13787 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13788 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13790 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13791 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13793 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13794 place. Use VEX encoding when compiling for AVX.
13796 2011-10-25 Andreas Schwab <schwab@redhat.com>
13798 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13799 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13801 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13803 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13805 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13806 useless if() expression.
13807 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13808 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13809 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13810 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13811 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13812 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13813 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13814 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13815 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13816 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13817 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13818 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13819 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13820 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13821 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13822 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13823 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13824 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13825 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13827 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13829 2011-10-25 Andreas Schwab <schwab@redhat.com>
13831 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13833 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13835 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13837 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13838 .text section. Avoid duplicate constants.
13839 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13840 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13841 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13842 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13843 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13844 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13845 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13846 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13847 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13849 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13851 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13853 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13854 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13856 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13862 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13863 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13864 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13865 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13866 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13867 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13868 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13869 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13870 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13871 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13872 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13873 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13874 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13875 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13877 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13878 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13879 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13880 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13881 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13882 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13883 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13885 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13887 * sysdeps/x86_64/dla.h: Move to ...
13888 * sysdeps/x86_64/fpu/dla.h: ...here.
13889 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13890 situations. Use __builtin_fma only for gcc 4.6 and up.
13892 * config.make.in: Add have-mfma4 entry.
13893 * configure.in: Substitute libc_cv_cc_fma4.
13894 * math/Makefile (dbl-only-routines): Add sincostab.
13895 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13896 Use __sincostab not sincos.
13897 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13899 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13901 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13902 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13904 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13905 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13906 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13907 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13909 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13910 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13912 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13913 define aliases when function name is a macro.
13914 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13915 sysdeps/ieee754/dbl-64/sincos.tbl.
13916 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13917 fma4-enabled routines.
13918 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13919 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13920 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13921 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13922 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13923 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13924 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13925 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13926 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13927 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13928 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13929 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13930 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13931 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13932 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13933 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13934 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13935 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13936 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13937 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13938 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13939 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13940 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13941 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13942 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13943 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13944 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13945 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13946 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13947 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13949 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13952 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13953 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13954 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13955 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13956 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13957 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13958 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13960 2011-10-24 Andreas Schwab <schwab@redhat.com>
13962 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13964 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13966 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13968 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13970 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13972 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13973 Remove unused variable magic_bits.
13974 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13976 * string/strnlen.c: Define and use STRNLEN macro.
13977 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13978 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13979 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13980 * wcsmbs/wcslen.c: Define and use WCSLEN.
13981 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13982 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13983 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13984 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13985 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13986 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13987 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13989 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13992 strnlen-sse2-no-bsf.
13993 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13994 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13995 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13996 Add strnlen support.
13997 (USE_AS_STRNLEN): New macro.
13998 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13999 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14000 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14001 * sysdeps/x86_64/wcslen.S: New file.
14003 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14005 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14006 XMM-moves are used for copying on small sizes.
14008 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14010 * wcsmbs/Makefile (strop-tests): Add wcschr.
14011 * wcsmbs/test-wcschr.c: New file.
14012 * string/test-strchr.c: Update.
14013 Add wcschr support.
14016 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14018 * wcsmbs/Makefile (strop-tests): Add wcslen.
14019 * wcsmbs/test-wcslen.c: New file.
14020 * string/test-strlen.c: Update.
14021 Add wcslen support.
14024 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14026 * po/it.po: Update from translation team.
14028 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14030 * sysdeps/x86_64/wcscmp.S: Update.
14031 Fix wrong comparison semantics.
14032 wcscmp shall use signed comparison not unsigned.
14033 Don't use substraction to avoid overflow bug.
14034 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14035 * wcsmbc/wcscmp.c: Likewise.
14036 * string/test-strcmp.c: Likewise.
14037 Add new tests to check cases with negative values.
14039 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14041 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14042 * sysdeps/x86_64/dla.h: ...here. New file.
14043 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14044 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14046 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14047 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14048 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14049 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14050 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14051 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14053 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14055 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14056 __ynl_finite aliases.
14058 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14062 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14064 [DLA_FMA] (EMULV): Use DLA_FMA.
14065 [DLA_FMA] (MUL12): Use EMULV.
14066 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14067 that are not needed.
14068 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14069 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14071 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14072 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14073 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14074 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14076 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14078 * math/s_nan.c: Undef __nan.
14079 * math/s_nanf.c: Undef __nanf.
14080 * math/s_nanl.c: Undef __nanl.
14081 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14084 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14086 * math/s_catan.c: Add branch predictions.
14087 * math/s_catanf.c: Likewise.
14088 * math/s_catanh.c: Likewise.
14089 * math/s_catanhf.c: Likewise.
14090 * math/s_catanhl.c: Likewise.
14091 * math/s_catanl.c: Likewise.
14092 * math/s_cexp.c: Likewise.
14093 * math/s_cexpf.c: Likewise.
14094 * math/s_cexpl.c: Likewise.
14095 * math/s_clog.c: Likewise.
14096 * math/s_clog10.c: Likewise.
14097 * math/s_clog10f.c: Likewise.
14098 * math/s_clog10l.c: Likewise.
14099 * math/s_clogf.c: Likewise.
14100 * math/s_clogl.c: Likewise.
14101 * math/s_csqrt.c: Likewise.
14102 * math/s_csqrtf.c: Likewise.
14103 * math/s_csqrtl.c: Likewise.
14104 * math/s_ctanf.c: Likewise.
14105 * math/s_ctanh.c: Likewise.
14106 * math/s_ctanhf.c: Likewise.
14107 * math/s_ctanhl.c: Likewise.
14108 * math/s_ctanl.c: Likewise.
14110 * math/math_private.h: Define __nan, __nanf, __nanl.
14111 * math/s_cacosh.c: Include <math_private.h>.
14112 * math/s_cacoshl.c: Likewise.
14113 * math/s_casinh.c: Likewise.
14114 * math/s_casinhf.c: Likewise.
14115 * math/s_casinhl.c: Likewise.
14116 * math/s_ccos.c: Rely entire on ccosh.
14117 * math/s_ccosf.c: Rely entire on ccoshf.
14118 * math/s_ccosl.c: Rely entirely on ccoshl.
14119 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14120 Remove tests for FE_INVALID.
14121 * math/s_ccoshf.c: Likewise.
14122 * math/s_ccoshl.c: Likewise.
14123 * math/s_csin.c: Likewise.
14124 * math/s_csinf.c: Likewise.
14125 * math/s_csinh.c Likewise.
14126 * math/s_csinhf.c: Likewise.
14127 * math/s_csinhl.c: Likewise.
14128 * math/s_csinl.c: Likewise.
14129 * math/s_ctan.c: Likewise.
14130 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14131 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14132 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14134 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14137 compilation problems.
14139 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14142 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14144 * sysdeps/i386/configure.in: Test for -mfma4 option.
14145 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14146 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14147 COMMON_CPUID_INDEX_80000001.
14148 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14149 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14150 use it if FMA3 is not supported.
14151 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14153 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14154 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14156 2011-10-20 Andreas Schwab <schwab@redhat.com>
14159 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14160 it would create a cycle with a link time dependency.
14162 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14164 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14166 * string/Makefile (strop-tests): Add rawmemchr.
14167 * string/test-rawmemchr.c: New file.
14169 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14170 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14171 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14172 when compiling str{,n}casecmp and when AVX is available. Hook up
14173 new optimized code in initializers.
14175 2011-10-19 Andreas Schwab <schwab@redhat.com>
14177 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14178 __feraiseexcept instead of feraiseexcept.
14180 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14182 * math/math_private.h: Define defaults for libc_fetestexcept and
14184 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14185 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14186 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14187 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14188 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14189 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14190 libc_fetestexcept and libc_feupdateenv.
14192 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14193 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14194 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14195 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14196 libc_feholdexcept_setround.
14198 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14199 Add s_nearbyint-c and s_nearbyintf-c.
14200 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14201 nearbyintf inlines.
14202 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14203 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14204 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14205 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14207 * math/math_private.h: Define defaults for libc_fegetround,
14208 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14209 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14210 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14211 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14212 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14213 standard functions.
14214 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14215 Remove comments and hacks for old compiler versions.
14216 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14217 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14218 libc_feholdexceptl.
14220 2011-10-18 Andreas Schwab <schwab@redhat.com>
14222 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14223 (__feraiseexcept_renamed): Add __NTH.
14224 (feraiseexcept): Add __NTH. Rename local variables to fix
14225 namespace violations.
14227 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14229 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14231 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14233 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14234 recently added interfaces.
14235 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14237 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14238 about macro parameter expansion.
14240 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14241 __NO_MATH_INLINES is defined. Cleanups.
14243 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14244 and __floorf is target has SSE4.1.
14245 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14246 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14247 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14248 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14250 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14252 (floorf): Likewise.
14254 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14256 2011-10-17 Andreas Schwab <schwab@redhat.com>
14258 * misc/sys/cdefs.h: Fix last change.
14260 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14263 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14265 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14267 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14268 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14269 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14270 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14271 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14272 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14273 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14274 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14275 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14276 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14277 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14278 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14279 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14280 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14281 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14282 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14283 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14284 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14285 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14286 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14287 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14288 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14290 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14291 ceil, ceilf, floor, floorf.
14293 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14294 Perform IRELATIVE relocations last.
14296 * elf/do-rel.h: Add another parameter nrelative, replacing the
14297 local variable with the same name. Change name of the function
14298 to end in Rel or Rela (uppercase).
14299 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14300 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14301 elf_dynamic_do_##reloc function.
14303 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14305 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14306 is sufficient, at least on modern CPUs.
14308 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14310 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14311 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14313 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14315 * math/bits/math-finite.h: Add entries for exp.
14316 * math/e_expl.c: Add __*_finite alias.
14317 * sysdeps/i386/fpu/e_exp.S: Likewise.
14318 * sysdeps/i386/fpu/e_expf.S: Likewise.
14319 * sysdeps/i386/fpu/e_expl.c: Likewise.
14320 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14321 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14322 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14324 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14325 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14326 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14328 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14329 is sufficient, at least on modern CPUs.
14331 * ctype/ctype-info.c (__ctype_init): Define.
14332 * include/ctype.h (__ctype_init): Declare.
14333 (__ctype_b_loc): The variable is always initialized.
14334 (__ctype_toupper_loc): Likewise.
14335 (__ctype_tolower_loc): Likewise.
14336 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14337 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14339 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14341 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14343 * configure.in: Also look in $cxxmachine/include for C++ system
14346 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14348 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14349 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14350 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14351 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14352 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14353 (USE_AS_WMEMCMP): New macro.
14355 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14356 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14357 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14358 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14360 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14361 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14362 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14363 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14364 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14365 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14366 (USE_AS_WMEMCMP): New macro.
14367 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14368 * sysdeps/string/test-memcmp.c: Update.
14369 Fix simple_wmemcmp.
14371 * wcsmbs/wmemcmp.c: Update.
14372 (WMEMCMP): New macro.
14375 2011-10-12 Andreas Jaeger <aj@suse.de>
14378 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14380 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14382 * libio/iofwide.c (do_length): Avoid warning.
14384 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14386 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14388 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14390 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14391 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14392 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14393 * sysdeps/i386/i686/fpu/e_log.S: New file.
14394 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14395 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14397 * ctype/ctype.h: Add support for inlined isXXX functions when
14398 compiling C++ code.
14400 2011-10-14 Andreas Schwab <schwab@redhat.com>
14402 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14404 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14406 2011-10-13 Roland McGrath <roland@hack.frob.com>
14409 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14411 2011-10-13 Andreas Schwab <schwab@redhat.com>
14413 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14414 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14417 * sysdeps/x86_64/memrchr.S: Check for zero size.
14419 * string/stratcliff.c: Add memrchr tests.
14421 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14424 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14425 rawmemchr-sse2 rawmemchr-sse2-bsf.
14426 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14427 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14428 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14429 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14430 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14431 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14432 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14433 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14434 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14435 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14436 * string/memrchr.c (MEMRCHR): New macro.
14438 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14440 Add integration with gcc's -ffinite-math-only and optimize wrapper
14442 * Versions.def: Define GLIBC_2.15 version for libm.
14443 * math/Makefile (headers): Add bits/math-finite.h.
14444 * math/bits/math-finite.h: New file.
14445 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14446 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14447 * math/e_acoshl.c: Add __*_finite alias.
14448 * math/e_acosl.c: Likewise.
14449 * math/e_asinl.c: Likewise.
14450 * math/e_atan2l.c: Likewise.
14451 * math/e_atanhl.c: Likewise.
14452 * math/e_coshl.c: Likewise.
14453 * math/e_exp10.c: Likewise.
14454 * math/e_exp10f.c: Likewise.
14455 * math/e_exp10l.c: Likewise.
14456 * math/e_exp2l.c: Likewise.
14457 * math/e_fmodl.c: Likewise.
14458 * math/e_gammal_r.c: Likewise.
14459 * math/e_hypotl.c: Likewise.
14460 * math/e_j0l.c: Likewise.
14461 * math/e_j1l.c: Likewise.
14462 * math/e_jnl.c: Likewise.
14463 * math/e_lgammal_r.c: Likewise.
14464 * math/e_log10l.c: Likewise.
14465 * math/e_log2l.c: Likewise.
14466 * math/e_logl.c: Likewise.
14467 * math/e_powl.c: Likewise.
14468 * math/e_sinhl.c: Likewise.
14469 * math/e_sqrtl.c: Likewise.
14470 * math/e_scalb.c: Completely rewritten and optimized.
14471 * math/e_scalbf.c: Likewise.
14472 * math/e_scalbl.c: Likewise.
14473 * math/w_acos.c: Likewise.
14474 * math/w_acosf.c: Likewise.
14475 * math/w_acosl.c: Likewise.
14476 * math/w_acosh.c: Likewise.
14477 * math/w_acoshf.c: Likewise.
14478 * math/w_acoshl.c: Likewise.
14479 * math/w_asin.c: Likewise.
14480 * math/w_asinf.c: Likewise.
14481 * math/w_asinl.c: Likewise.
14482 * math/w_atan2.c: Likewise.
14483 * math/w_atan2f.c: Likewise.
14484 * math/w_atan2l.c: Likewise.
14485 * math/w_atanh.c: Likewise.
14486 * math/w_atanhf.c: Likewise.
14487 * math/w_atanhl.c: Likewise.
14488 * math/w_exp10.c: Likewise.
14489 * math/w_exp10f.c: Likewise.
14490 * math/w_exp10l.c: Likewise.
14491 * math/w_fmod.c: Likewise.
14492 * math/w_fmodf.c: Likewise.
14493 * math/w_fmodl.c: Likewise.
14494 * math/w_j0.c: Likewise.
14495 * math/w_j0f.c: Likewise.
14496 * math/w_j0l.c: Likewise.
14497 * math/w_j1.c: Likewise.
14498 * math/w_j1f.c: Likewise.
14499 * math/w_j1l.c: Likewise.
14500 * math/w_jn.c: Likewise.
14501 * math/w_jnf.c: Likewise.
14502 * math/w_log.c: Likewise.
14503 * math/w_logf.c: Likewise.
14504 * math/w_logl.c: Likewise.
14505 * math/w_log10.c: Likewise.
14506 * math/w_log10f.c: Likewise.
14507 * math/w_log10l.c: Likewise.
14508 * math/w_log2.c: Likewise.
14509 * math/w_log2f.c: Likewise.
14510 * math/w_log2l.c: Likewise.
14511 * math/w_pow.c: Likewise.
14512 * math/w_powf.c: Likewise.
14513 * math/w_powl.c: Likewise.
14514 * math/w_remainder.c: Likewise.
14515 * math/w_remainderf.c: Likewise.
14516 * math/w_remainderl.c: Likewise.
14517 * math/w_scalb.c: Likewise.
14518 * math/w_scalbf.c: Likewise.
14519 * math/w_scalbl.c: Likewise.
14520 * math/w_sqrt.c: Likewise.
14521 * math/w_sqrtf.c: Likewise.
14522 * math/w_sqrtl.c: Likewise.
14523 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14524 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14526 * math/math_private.h: Declare __kernel_standard_f.
14527 * math/w_cosh.c: Remove cruft and optimize a bit.
14528 * math/w_coshf.c: Likewise.
14529 * math/w_coshl.c: Likewise.
14530 * math/w_exp2.c: Likewise.
14531 * math/w_exp2f.c: Likewise.
14532 * math/w_exp2l.c: Likewise.
14533 * math/w_hypot.c: Likewise.
14534 * math/w_hypotf.c: Likewise.
14535 * math/w_hypotl.c: Likewise.
14536 * math/w_lgamma.c: Likewise.
14537 * math/w_lgamma_r.c: Likewise.
14538 * math/w_lgammaf.c: Likewise.
14539 * math/w_lgammaf_r.c: Likewise.
14540 * math/w_lgammal.c: Likewise.
14541 * math/w_lgammal_r.c: Likewise.
14542 * math/w_sinh.c: Likewise.
14543 * math/w_sinhf.c: Likewise.
14544 * math/w_sinhl.c: Likewise.
14545 * math/w_tgamma.c: Likewise.
14546 * math/w_tgammaf.c: Likewise.
14547 * math/w_tgammal.c: Likewise.
14548 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14549 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14550 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14551 Minor optimizations. Pretty printing. Remove cruft.
14552 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14553 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14554 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14555 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14556 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14557 * sysdeps/i386/fpu/e_asin.S: Likewise.
14558 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14559 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14560 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14561 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14562 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14563 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14564 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14565 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14566 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14567 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14568 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14569 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14570 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14571 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14572 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14573 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14574 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14575 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14576 * sysdeps/i386/fpu/e_log.S: Likewise.
14577 * sysdeps/i386/fpu/e_log10.S: Likewise.
14578 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14579 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14580 * sysdeps/i386/fpu/e_log2.S: Likewise.
14581 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14582 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14583 * sysdeps/i386/fpu/e_logf.S: Likewise.
14584 * sysdeps/i386/fpu/e_logl.S: Likewise.
14585 * sysdeps/i386/fpu/e_pow.S: Likewise.
14586 * sysdeps/i386/fpu/e_powf.S: Likewise.
14587 * sysdeps/i386/fpu/e_powl.S: Likewise.
14588 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14589 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14590 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14591 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14592 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14593 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14594 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14595 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14596 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14597 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14598 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14600 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14601 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14602 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14603 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14604 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14605 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14606 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14607 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14608 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14609 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14610 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14611 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14612 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14613 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14614 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14615 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14616 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14617 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14618 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14619 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14620 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14621 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14622 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14623 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14624 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14625 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14626 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14627 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14628 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14629 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14630 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14631 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14632 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14633 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14634 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14635 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14636 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14637 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14638 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14639 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14640 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14641 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14642 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14643 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14645 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14646 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14647 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14648 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14649 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14650 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14651 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14652 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14653 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14654 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14655 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14656 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14657 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14658 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14659 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14662 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14667 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14670 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14673 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14674 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14675 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14676 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14677 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14678 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14679 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14680 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14681 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14682 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14683 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14684 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14685 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14688 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14689 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14690 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14691 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14692 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14693 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14694 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14695 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14696 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14697 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14698 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14699 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14700 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14701 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14702 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14703 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14704 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14705 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14706 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14707 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14708 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14709 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14710 (__isnanf): Likewise.
14711 (__isinf_ns): Likewise.
14712 (__isinf_nsf): Likewise.
14713 (__finite): Likewise.
14714 (__finitef): Likewise.
14715 (__ieee754_sqrt): Define as macro.
14716 (__ieee754_sqrtf): Define as macro.
14717 (__ieee754_sqrtl): Define as macro.
14718 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14720 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14721 __FINITE_MATH_ONLY__ consistent.
14722 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14724 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14726 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14729 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14731 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14733 * po/ja.po: Update from translation team.
14735 2011-10-08 Roland McGrath <roland@hack.frob.com>
14737 * locale/programs/locarchive.c (prepare_address_space): New function.
14738 (create_archive, enlarge_archive, open_archive): Use it.
14740 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14741 inside [SHARED], where it is used.
14743 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14745 * nss/getent.c (netgroup_keys): Remove unused variable.
14746 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14748 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14750 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14751 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14752 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14753 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14754 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14755 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14756 * math/Makefile (libm-calls): Add s_isinf_ns.
14757 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14758 * math/multc3.c: Likewise.
14759 * math/s_casin.c: Likewise.
14760 * math/s_casinf.c: Likewise.
14761 * math/s_casinl.c: Likewise.
14762 * math/s_ccos.c: Likewise.
14763 * math/s_ccosf.c: Likewise.
14764 * math/s_ccosl.c: Likewise.
14765 * math/s_ctan.c: Likewise.
14766 * math/s_ctanf.c: Likewise.
14767 * math/s_ctanh.c: Likewise.
14768 * math/s_ctanhf.c: Likewise.
14769 * math/s_ctanhl.c: Likewise.
14770 * math/s_ctanl.c: Likewise.
14771 * math/w_fmod.c: Likewise.
14772 * math/w_fmodf.c: Likewise.
14773 * math/w_fmodl.c: Likewise.
14774 * math/w_remainder.c: Likewise.
14775 * math/w_remainderf.c: Likewise.
14776 * math/w_remainderl.c: Likewise.
14777 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14778 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14779 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14780 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14781 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14782 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14783 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14784 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14786 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14788 * stdio-common/printf_fphex.c: Likewise.
14789 * stdio-common/printf_size.c: Likewise.
14791 * math/e_exp10.c: Include math_private.h using <...> not "...".
14792 * math/e_exp10f.c: Likewise.
14793 * math/e_exp10l.c: Likewise.
14794 * math/e_exp2l.c: Likewise.
14795 * math/e_j0l.c: Likewise.
14796 * math/e_j1l.c: Likewise.
14797 * math/e_jnl.c: Likewise.
14798 * math/e_lgammal_r.c: Likewise.
14799 * math/e_rem_pio2l.c: Likewise.
14800 * math/e_scalb.c: Likewise.
14801 * math/e_scalbf.c: Likewise.
14802 * math/e_scalbl.c: Likewise.
14803 * math/k_cosl.c: Likewise.
14804 * math/k_sinl.c: Likewise.
14805 * math/k_tanl.c: Likewise.
14806 * math/s_cacoshf.c: Likewise.
14807 * math/s_catan.c: Likewise.
14808 * math/s_catanf.c: Likewise.
14809 * math/s_catanh.c: Likewise.
14810 * math/s_catanhf.c: Likewise.
14811 * math/s_catanhl.c: Likewise.
14812 * math/s_catanl.c: Likewise.
14813 * math/s_ccosh.c: Likewise.
14814 * math/s_ccoshf.c: Likewise.
14815 * math/s_ccoshl.c: Likewise.
14816 * math/s_cexp.c: Likewise.
14817 * math/s_cexpf.c: Likewise.
14818 * math/s_cexpl.c: Likewise.
14819 * math/s_clog.c: Likewise.
14820 * math/s_clog10.c: Likewise.
14821 * math/s_clog10f.c: Likewise.
14822 * math/s_clog10l.c: Likewise.
14823 * math/s_clogf.c: Likewise.
14824 * math/s_clogl.c: Likewise.
14825 * math/s_csin.c: Likewise.
14826 * math/s_csinf.c: Likewise.
14827 * math/s_csinh.c: Likewise.
14828 * math/s_csinhf.c: Likewise.
14829 * math/s_csinhl.c: Likewise.
14830 * math/s_csinl.c: Likewise.
14831 * math/s_csqrt.c: Likewise.
14832 * math/s_csqrtf.c: Likewise.
14833 * math/s_csqrtl.c: Likewise.
14834 * math/s_ctan.c: Likewise.
14835 * math/s_ctanf.c: Likewise.
14836 * math/s_ctanh.c: Likewise.
14837 * math/s_ctanhf.c: Likewise.
14838 * math/s_ctanhl.c: Likewise.
14839 * math/s_ctanl.c: Likewise.
14840 * math/s_ldexp.c: Likewise.
14841 * math/s_ldexpf.c: Likewise.
14842 * math/s_ldexpl.c: Likewise.
14843 * math/s_significand.c: Likewise.
14844 * math/s_significandf.c: Likewise.
14845 * math/s_significandl.c: Likewise.
14846 * math/w_acos.c: Likewise.
14847 * math/w_acosf.c: Likewise.
14848 * math/w_acosh.c: Likewise.
14849 * math/w_acoshf.c: Likewise.
14850 * math/w_acoshl.c: Likewise.
14851 * math/w_acosl.c: Likewise.
14852 * math/w_asin.c: Likewise.
14853 * math/w_asinf.c: Likewise.
14854 * math/w_asinl.c: Likewise.
14855 * math/w_atan2.c: Likewise.
14856 * math/w_atan2f.c: Likewise.
14857 * math/w_atan2l.c: Likewise.
14858 * math/w_atanh.c: Likewise.
14859 * math/w_atanhf.c: Likewise.
14860 * math/w_atanhl.c: Likewise.
14861 * math/w_cosh.c: Likewise.
14862 * math/w_coshf.c: Likewise.
14863 * math/w_coshl.c: Likewise.
14864 * math/w_dremf.c: Likewise.
14865 * math/w_exp10.c: Likewise.
14866 * math/w_exp10f.c: Likewise.
14867 * math/w_exp10l.c: Likewise.
14868 * math/w_exp2.c: Likewise.
14869 * math/w_exp2f.c: Likewise.
14870 * math/w_fmod.c: Likewise.
14871 * math/w_fmodf.c: Likewise.
14872 * math/w_fmodl.c: Likewise.
14873 * math/w_hypot.c: Likewise.
14874 * math/w_hypotf.c: Likewise.
14875 * math/w_hypotl.c: Likewise.
14876 * math/w_j0.c: Likewise.
14877 * math/w_j0f.c: Likewise.
14878 * math/w_j0l.c: Likewise.
14879 * math/w_j1.c: Likewise.
14880 * math/w_j1f.c: Likewise.
14881 * math/w_j1l.c: Likewise.
14882 * math/w_jn.c: Likewise.
14883 * math/w_jnf.c: Likewise.
14884 * math/w_jnl.c: Likewise.
14885 * math/w_lgamma.c: Likewise.
14886 * math/w_lgamma_r.c: Likewise.
14887 * math/w_lgammaf.c: Likewise.
14888 * math/w_lgammaf_r.c: Likewise.
14889 * math/w_lgammal.c: Likewise.
14890 * math/w_lgammal_r.c: Likewise.
14891 * math/w_log.c: Likewise.
14892 * math/w_log10.c: Likewise.
14893 * math/w_log10f.c: Likewise.
14894 * math/w_log10l.c: Likewise.
14895 * math/w_log2.c: Likewise.
14896 * math/w_log2f.c: Likewise.
14897 * math/w_log2l.c: Likewise.
14898 * math/w_logf.c: Likewise.
14899 * math/w_logl.c: Likewise.
14900 * math/w_pow.c: Likewise.
14901 * math/w_powf.c: Likewise.
14902 * math/w_powl.c: Likewise.
14903 * math/w_remainder.c: Likewise.
14904 * math/w_remainderf.c: Likewise.
14905 * math/w_remainderl.c: Likewise.
14906 * math/w_scalb.c: Likewise.
14907 * math/w_scalbf.c: Likewise.
14908 * math/w_scalbl.c: Likewise.
14909 * math/w_sinh.c: Likewise.
14910 * math/w_sinhf.c: Likewise.
14911 * math/w_sinhl.c: Likewise.
14912 * math/w_sqrt.c: Likewise.
14913 * math/w_sqrtf.c: Likewise.
14914 * math/w_sqrtl.c: Likewise.
14915 * math/w_tgamma.c: Likewise.
14916 * math/w_tgammaf.c: Likewise.
14917 * math/w_tgammal.c: Likewise.
14919 * po/ja.po: Update from translation team.
14921 2011-09-29 Andreas Jaeger <aj@suse.de>
14924 * sunrpc/netname.c (netname2host): Fix logic.
14928 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14930 * math/w_remainder.c (__remainder): Likewise.
14931 * math/w_remainderf.c (__remainderf): Likewise.
14932 * math/libm-test.inc (remainder_test): Add test cases.
14934 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14936 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14939 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14941 * string/test-memcmp.c: Avoid unncessary #defines.
14942 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14944 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14946 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14947 Use new sse2 version for core i3 - i7 as it's faster
14948 than sse42 version.
14949 (bit_Prefer_PMINUB_for_stringop): New.
14950 * sysdeps/x86_64/rawmemchr.S: Update.
14951 Replace with faster SSE2 version.
14952 * sysdeps/x86_64/memrchr.S: New file.
14953 * sysdeps/x86_64/memchr.S: Update.
14954 Replace with faster SSE2 version.
14956 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14958 * elf/dl-load.c (lose): Add cast to avoid warning.
14960 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14962 * po/ca.po: Update from translation team.
14964 * inet/getnetgrent_r.c: Hook up nscd.
14965 * nscd/Makefile (routines): Add nscd_netgroup.
14966 (nscd-modules): Add netgroupcache.
14967 (CFLAGS-netgroupcache.c): Define.
14968 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14969 (cache_search): Add const to second parameter.
14970 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14972 (dbs): Add netgrdb entry.
14973 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14974 (verify_persistent_db): Handle netgrdb.
14975 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14976 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14978 (netgroup_response_header): Define.
14979 (innetgroup_response_header): Define.
14980 (datahead): Add netgroup_response_header and innetgroup_response_header
14982 * nscd/nscd.conf: Add entries for netgroup cache.
14983 * nscd/nscd.h (dbtype): Add netgrdb.
14984 (_PATH_NSCD_NETGROUP_DB): Define.
14985 (netgroup_iov_disabled): Declare.
14986 (xmalloc, xcalloc, xrealloc): Move declarations here.
14987 (cache_search): Adjust prototype.
14988 Add netgroup-related prototypes.
14989 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14990 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14991 (__nscd_innetgr): Declare.
14992 * nscd/selinux.c (perms): Use access_vector_t as element type and
14993 add netgroup-related initializers.
14994 * nscd/netgroupcache.c: New file.
14995 * nscd/nscd_netgroup.c: New file.
14996 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14997 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14998 For four parameters use innetgr.
14999 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15000 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15001 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15002 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15004 * nscd/connections.c (register_traced_file): Don't register file
15005 for disabled databases.
15007 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15009 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15011 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15012 from tree and freeing node.
15014 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15016 * nss/nsswitch.c (__nss_database_lookup): Handle
15017 nss_parse_service_list out of memory case.
15019 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15021 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15022 out of memory case.
15024 2011-10-04 Andreas Schwab <schwab@redhat.com>
15026 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15027 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15029 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15030 elf_machine_rela, elf_machine_lazy_rel.
15031 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15032 (ELF_DYNAMIC_DO_REL): Likewise.
15033 (ELF_DYNAMIC_DO_RELA): Likewise.
15034 (ELF_DYNAMIC_RELOCATE): Likewise.
15035 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15036 to ELF_DYNAMIC_DO_REL.
15037 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15038 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15039 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15041 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15042 skip_ifunc, don't call ifunc function if non-zero.
15043 (elf_machine_rela): Likewise.
15044 (elf_machine_lazy_rel): Likewise.
15045 (elf_machine_lazy_rela): Likewise.
15046 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15047 (elf_machine_lazy_rel): Likewise.
15048 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15050 (elf_machine_lazy_rel): Likewise.
15051 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15053 (elf_machine_lazy_rel): Likewise.
15054 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15055 (elf_machine_lazy_rel): Likewise.
15056 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15057 (elf_machine_lazy_rel): Likewise.
15058 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15059 (elf_machine_lazy_rel): Likewise.
15060 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15061 (elf_machine_lazy_rel): Likewise.
15062 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15063 (elf_machine_lazy_rel): Likewise.
15064 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15065 (elf_machine_lazy_rel): Likewise.
15067 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15069 * nss/nss_files/files-init.c (_nss_files_init): Use static
15070 initialization for all the *_traced_file variables.
15072 2011-09-28 Andreas Schwab <schwab@redhat.com>
15074 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15076 2011-09-27 Roland McGrath <roland@hack.frob.com>
15079 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15081 2011-09-27 Andreas Schwab <schwab@redhat.com>
15083 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15084 Reread the line before reparsing it.
15086 2011-09-26 Andreas Schwab <schwab@redhat.com>
15088 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15090 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15091 Maxim Kuvyrkov <maxim@codesourcery.com>
15092 Joseph Myers <joseph@codesourcery.com>
15094 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15095 if needed for __stack_chk_guard.
15097 2011-09-19 Roland McGrath <roland@hack.frob.com>
15099 * sysdeps/posix/spawni.c (script_execute): Always define it.
15100 It will be optimized away if unused.
15101 (maybe_script_execute): New function.
15102 (__spawni): Call it.
15104 * Makerules: Don't include tls.make.
15105 (config-tls): Always set to thread.
15106 * tls.make.c: File removed.
15108 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15110 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15111 * config.make.in (CPPFLAGS-config): New substituted variable.
15113 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15115 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15118 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15119 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15121 2011-09-15 Roland McGrath <roland@hack.frob.com>
15123 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15124 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15125 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15126 (CALL_FAIL): Likewise.
15127 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15128 (CALL_FAIL): Macro removed.
15129 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15131 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15133 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15134 for __FINITE_MATH_ONLY__ == 1.
15136 2011-09-15 Andreas Schwab <schwab@redhat.com>
15138 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15139 __ieee754_sqrt instead of sqrt.
15140 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15141 __ieee754_sqrtf instead of sqrtf.
15142 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15143 __floorf instead of floorf.
15144 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15145 __floorf, __truncf instead of floorf, truncf.
15147 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15149 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15151 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15152 __extern_always_inline.
15153 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15156 2011-09-14 Andreas Schwab <schwab@redhat.com>
15158 * elf/rtld.c (dl_main): Also relocate in dependency order when
15159 doing symbol dependency testing.
15161 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15163 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15164 Always define `refsym'.
15166 2011-09-13 Andreas Schwab <schwab@redhat.com>
15168 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15169 (__FD_ELT): Renamed from __FDELT.
15170 * misc/bits/select2.h (__FD_ELT): Likewise.
15171 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15172 __FD_MASK instead of __FDELT, __FDMASK.
15173 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15175 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15178 * elf/Makefile (gen-ldd): Fix pattern.
15180 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15181 (init_tls): Likewise.
15183 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15185 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15187 2011-09-12 Andreas Schwab <schwab@redhat.com>
15189 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15190 `struct cmsghdr *' instead of `void *'.
15191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15194 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15196 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15198 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15199 ldd_rewrite_script.
15201 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15203 * configure.in: Remove --with-tls option.
15204 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15205 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15206 out in case it is missing.
15207 * sysdeps/ia64/elf/configure.in: Likewise.
15208 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15209 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15210 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15211 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15212 * sysdeps/sh/elf/configure.in: Likewise.
15213 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15214 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15215 * sysdeps/x86_64/elf/configure.in: Likewise.
15216 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15217 * sysdeps/mach/hurd/tls.h: Likewise.
15220 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15223 * configure.in: Fix use of AC_INIT.
15225 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15227 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15229 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15231 * malloc/hooks.c: Likewise.
15234 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15235 variables statically.
15236 (narenas): Initialize.
15237 (list_lock): Initialize.
15238 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15239 initializtion of main_arena and list_lock. Small cleanups.
15240 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15241 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15242 Add initializers to main_arena and mp_.
15243 (malloc_state): Remove pagesize member. Change all users to use
15246 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15247 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15248 is always initialized.
15250 * malloc/malloc.c: Removed unused configurations and dead code.
15251 * malloc/arena.c: Likewise.
15252 * malloc/hooks.c: Likewise.
15253 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15255 * include/tls.h: Removed. USE___THREAD must always be defined.
15256 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15257 * elf/dl-libc.c: Likewise.
15258 * elf/dl-tsd.c: Likewise.
15259 * include/errno.h: Likewise.
15260 * include/netdb.h: Likewise.
15261 * include/resolv.h: Likewise.
15262 * inet/herrno-loc.c: Likewise.
15263 * inet/herrno.c: Likewise.
15264 * malloc/arena.c: Likewise.
15265 * malloc/hooks.c: Likewise.
15266 * malloc/malloc.c: Likewise.
15267 * resolv/res-state.c: Likewise.
15268 * resolv/res_libc.c: Likewise.
15269 * sysdeps/i386/dl-machine.h: Likewise.
15270 * sysdeps/ia64/dl-machine.h: Likewise.
15271 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15272 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15273 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15274 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15275 * sysdeps/sh/dl-machine.h: Likewise.
15276 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15277 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15278 * sysdeps/unix/i386/sysdep.S: Likewise.
15279 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15280 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15282 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15284 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15285 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15287 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15288 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15289 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15290 * sysdeps/x86_64/dl-machine.h: Likewise.
15291 * tls.make.c: Likewise.
15293 * configure.in: Remove --with-__thread option. Make tests for
15294 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15295 tls_model attribute fail if no support is available. Remove
15297 * Makeconfig: Adjust for dropped configure option. All features are
15299 * Makerules: Likewise.
15300 * Versions.def: Likewise.
15301 * argp/argp-fmtstream.c: Likewise.
15302 * argp/argp-fmtstream.h: Likewise.
15303 * argp/argp-help.c: Likewise.
15304 * assert/assert.c: Likewise.
15305 * config.h.in: Likewise.
15306 * config.make.in: Likewise.
15307 * configure: Likewise.
15308 * configure.in: Likewise.
15309 * csu/Versions: Likewise.
15310 * csu/init.c: Likewise.
15311 * elf/tst-audit2.c: Likewise.
15312 * elf/tst-tls10.c: Likewise.
15313 * elf/tst-tls10.h: Likewise.
15314 * elf/tst-tls11.c: Likewise.
15315 * elf/tst-tls12.c: Likewise.
15316 * elf/tst-tls14.c: Likewise.
15317 * elf/tst-tlsmod11.c: Likewise.
15318 * elf/tst-tlsmod12.c: Likewise.
15319 * elf/tst-tlsmod13.c: Likewise.
15320 * elf/tst-tlsmod13a.c: Likewise.
15321 * elf/tst-tlsmod14a.c: Likewise.
15322 * elf/tst-tlsmod15b.c: Likewise.
15323 * elf/tst-tlsmod16a.c: Likewise.
15324 * elf/tst-tlsmod16b.c: Likewise.
15325 * elf/tst-tlsmod7.c: Likewise.
15326 * elf/tst-tlsmod8.c: Likewise.
15327 * elf/tst-tlsmod9.c: Likewise.
15328 * gmon/gmon.c: Likewise.
15329 * grp/fgetgrent_r.c: Likewise.
15330 * grp/putgrent.c: Likewise.
15331 * hurd/fopenport.c: Likewise.
15332 * include/libc-symbols.h: Likewise.
15333 * include/tls.h: Likewise.
15334 * intl/gettextP.h: Likewise.
15335 * intl/loadinfo.h: Likewise.
15336 * locale/global-locale.c: Likewise.
15337 * locale/localeinfo.h: Likewise.
15338 * mach/devstream.c: Likewise.
15339 * malloc/arena.c: Likewise.
15340 * malloc/set-freeres.c: Likewise.
15341 * misc/err.c: Likewise.
15342 * misc/getttyent.c: Likewise.
15343 * misc/mntent_r.c: Likewise.
15344 * posix/getopt.c: Likewise.
15345 * posix/wordexp.c: Likewise.
15346 * pwd/fgetpwent_r.c: Likewise.
15347 * resolv/Versions: Likewise.
15348 * resolv/res_hconf.c: Likewise.
15349 * shadow/fgetspent_r.c: Likewise.
15350 * shadow/putspent.c: Likewise.
15351 * stdio-common/printf_fphex.c: Likewise.
15352 * stdio-common/tmpfile.c: Likewise.
15353 * stdlib/abort.c: Likewise.
15354 * stdlib/fmtmsg.c: Likewise.
15355 * sunrpc/auth_unix.c: Likewise.
15356 * sunrpc/clnt_perr.c: Likewise.
15357 * sunrpc/clnt_tcp.c: Likewise.
15358 * sunrpc/clnt_udp.c: Likewise.
15359 * sunrpc/clnt_unix.c: Likewise.
15360 * sunrpc/openchild.c: Likewise.
15361 * sunrpc/svc_simple.c: Likewise.
15362 * sunrpc/svc_tcp.c: Likewise.
15363 * sunrpc/svc_udp.c: Likewise.
15364 * sunrpc/svc_unix.c: Likewise.
15365 * sunrpc/xdr.c: Likewise.
15366 * sunrpc/xdr_array.c: Likewise.
15367 * sunrpc/xdr_rec.c: Likewise.
15368 * sunrpc/xdr_ref.c: Likewise.
15369 * sunrpc/xdr_stdio.c: Likewise.
15371 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15373 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15375 2011-07-03 Andreas Jaeger <aj@suse.de>
15377 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15378 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15379 regenerate with gen-libm-tests.pl.
15381 2010-05-12 Petr Baudis <pasky@suse.cz>
15384 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15385 around j0() zero points by switching to j1().
15386 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15387 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15388 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15389 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15391 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15393 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15395 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15397 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15398 Patch in part by Pavel Roskin <proski@gnu.org>.
15401 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15403 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15404 Free memory block if necessary.
15407 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15408 be NULL. Don't lock in this case.
15410 2011-09-09 Roland McGrath <roland@hack.frob.com>
15412 * elf/elf.h (ELFOSABI_GNU): New macro.
15413 (ELFOSABI_LINUX): Define to that.
15415 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15417 * string/strncat.c (strncat): Undef the symbol in case it has been
15418 defined in bits/string.h.
15420 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15422 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15424 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15427 2011-08-17 Andreas Jaeger <aj@suse.de>
15429 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15431 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15432 Ian Lance Taylor <iant@google.com>
15434 * math/libm-test.inc (lround_test): New testcase.
15435 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15437 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15439 * Makefile: Remove support for automatic cvs check-ins.
15440 * Makerules: Likewise.
15441 * config.make.in: Likewise.
15442 * configure.in: Likewise.
15443 * intl/Makefile: Likewise.
15444 * locale/Makefile: Likewise.
15445 * po/Makefile: Likewise.
15446 * posix/Makefile: Likewise.
15447 * sysdeps/gnu/Makefile: Likewise.
15448 * sysdeps/mach/hurd/Makefile: Likewise.
15449 * sysdeps/sparc/sparc32/Makefile: Likewise.
15452 * posix/Makefile (bug-regex32-ENV): Define.
15453 Patch by John Stanley <jpsinthemix@verizon.net>.
15455 * misc/Makefile (headers): Add bits/select2.h.
15456 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15457 * misc/bits/select2.h: New file.
15458 * include/bits/select2.h: New file.
15459 * debug/Makefile (routines): Add fdelt_chk.
15460 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15461 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15463 * debug/fdelt_chk.c: New file.
15465 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15466 * wcsmbs/test-wmemcmp.c: Likewise.
15467 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15468 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15470 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15472 * string/Makefile (strop-tests): Add memcmp.
15473 * string/test-wmemcmp.c: New file.
15474 * string/test-memcmp.c: Add wmemcmp support.
15476 2011-09-08 Roland McGrath <roland@hack.frob.com>
15479 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15482 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15483 garbage value in a __mach_port_mod_refs call in the cases of the
15484 task-self and thread-self ports.
15486 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15488 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15490 2011-09-08 Andreas Schwab <schwab@redhat.com>
15492 * elf/dl-load.c (lose): Check for non-null L.
15494 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15496 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15498 * elf/dl-libc.c (dlerror_run): Pass back error code from
15502 * elf/dl-load.c (lose): Free l_origin if it is valid.
15504 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15506 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15507 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15508 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15509 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15510 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15511 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15513 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15515 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15516 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15517 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15518 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15519 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15520 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15521 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15522 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15523 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15524 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15526 2011-08-15 Alan Modra <amodra@gmail.com>
15529 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15530 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15531 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15532 ppc_mcount to static-only-routines.
15533 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15535 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15536 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15538 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15540 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15541 for finite and infinity parameters.
15543 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15545 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15546 and add nop instructions for throughput optimization.
15547 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15549 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15551 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15552 aligned copy for power7 with vector-scalar instructions.
15553 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15555 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15557 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15560 2011-09-07 Andreas Schwab <schwab@redhat.com>
15563 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15566 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15568 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15569 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15570 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15571 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15574 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15576 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15577 Forgot to demangle the pointer.
15579 * sysdeps/i386/sysdep.h: Define atom_text_section.
15580 * sysdeps/x86_64/sysdep.h: Likewise.
15581 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15582 section with atom_text_section.
15583 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15584 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15585 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15586 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15587 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15589 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15590 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15591 already be defined. Change to take two parameters and don't assign
15592 result to variable. Adjust all users.
15593 Define INTERNAL_GETTIME if not already defined.
15594 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15597 HAVE_CLOCK_GETTIME_VSYSCALL.
15598 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15600 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15601 gettimeofday vsyscall, just use time.
15603 2011-09-06 Andreas Schwab <schwab@redhat.com>
15605 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15608 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15610 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15612 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15614 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15615 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15616 syscall if possible.
15618 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15620 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15621 e_ident. Don't pass to find_mapsXX.
15622 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15624 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15627 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15628 * sysdeps/x86_64/multiarch/strchr.S: Update.
15629 Check bit_slow_BSF bit.
15630 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15631 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15632 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15634 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15637 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15639 (tryshell): Define.
15640 (__spawni): Change last parameter to be flag. Test
15641 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15642 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15643 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15644 * posix/spawni.c: Likewise.
15645 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15646 * posix/spawnp.c: Likewise. Change normal version to use
15647 SPAWN_XFLAGS_USE_PATH.
15648 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15649 SPAWN_XFLAGS_TRY_SHELL.
15652 * posix/glob.h: Remove gcc 1.x support.
15655 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15657 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15660 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15662 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15663 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15664 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15665 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15666 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15667 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15669 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15671 * sysdeps/x86_64/wcscmp.S: New file.
15673 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15674 wcscmp-c wcscmp-sse2
15675 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15676 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15677 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15678 * wcsmbs/wcscmp.c: Allow renaming.
15680 2011-09-05 David S. Miller <davem@davemloft.net>
15682 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15683 stack slot, rather than the struct return pointer slot.
15684 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15685 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15687 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15689 2011-09-05 Ulrich Drepper <drepper@gmail.com>
15691 * po/ja.po: Update from translation team.
15694 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15695 kernel in 64-bit binaries.
15697 2011-09-01 David S. Miller <davem@davemloft.net>
15699 * elf/elf.h (HWCAP_SPARC_*): Move to..
15700 * sysdeps/sparc/sysdep.h: this new file and add new values.
15701 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15702 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15703 _DL_HWCAP_COUNT to 24.
15704 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15706 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15707 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15708 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15709 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15710 instead of magic constants.
15711 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15713 2011-08-31 David S. Miller <davem@davemloft.net>
15715 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15716 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15717 Reimplement to do errno handling inline.
15718 (SYSCALL_ERROR_HANDLER): New macro.
15719 (__SYSCALL_STRING): Do not do errno handling in asm.
15720 (__CLONE_SYSCALL_STRING): Delete.
15721 (__INTERNAL_SYSCALL_STRING): Delete.
15722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15723 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15724 (PSEUDO): Reimplement to do errno handling inline.
15725 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15726 (SYSCALL_ERROR_HANDLER): New macro.
15727 (__SYSCALL_STRING): Do not do errno handling in asm.
15728 (__CLONE_SYSCALL_STRING): Delete.
15729 (__INTERNAL_SYSCALL_STRING): Delete.
15730 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15731 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15733 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15734 (inline_syscall*): Add 'err' argument.
15735 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15736 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15737 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15738 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15740 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15741 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15743 2011-08-30 Andreas Schwab <schwab@redhat.com>
15745 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15747 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15749 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15752 2011-08-24 David S. Miller <davem@davemloft.net>
15754 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15756 2011-08-24 Andreas Schwab <schwab@redhat.com>
15758 * elf/Makefile: Add rules to build and run unload8 test.
15759 * elf/unload8.c: New file.
15760 * elf/unload8mod1.c: New file.
15761 * elf/unload8mod1x.c: New file.
15762 * elf/unload8mod2.c: New file.
15763 * elf/unload8mod3.c: New file.
15765 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15768 2011-08-23 David S. Miller <davem@davemloft.net>
15770 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15771 subtract stack bias.
15772 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15773 %sp not %fp in calculations.
15774 (_JMPBUF_UNWINDS_ADJ): Likewise.
15776 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15777 (aio_suspend): Call it to force an exception region around the
15778 AIO_MISC_WAIT() invocation.
15780 2011-08-23 Andreas Schwab <schwab@redhat.com>
15782 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15785 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15787 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15789 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15790 and <dl-machine.h>.
15791 (Elf64_FuncDesc): Remove.
15793 2011-08-22 David S. Miller <davem@davemloft.net>
15795 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15796 sigaltstack check, add missing cfi directives.
15797 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15798 missing cfi directives, and sigaltstack handling.
15800 2011-08-16 Andreas Schwab <schwab@redhat.com>
15803 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15804 object is seen twice.
15805 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15807 * elf/Makefile (distribute): Add tst-initorder2.c.
15808 (tests): Add tst-initorder2.
15809 (modules-names): Add tst-initorder2a tst-initorder2b
15810 tst-initorder2c tst-initorder2d. Add rules to build them.
15811 ($(objpfx)tst-initorder2.out): New rule.
15812 * elf/tst-initorder2.c: New file.
15813 * elf/tst-initorder2.exp: New file.
15815 2011-08-22 Andreas Schwab <schwab@redhat.com>
15817 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15819 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15820 dependencies back to end of function.
15822 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15823 $(elfobjdir)/ld.so.
15825 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15827 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15828 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15829 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15830 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15831 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15832 of __vdso_gettimeofday.
15833 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15834 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15836 (_libc_vdso_platform_setup): Remove initialization of
15837 __vdso_gettimeofday and __vdso_time.
15839 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15841 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15842 and fgetc_unlocked.
15843 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15846 * elf/dl-open.c (add_to_global): Report additions to the global scope
15847 for LD_DEBUG=scopes.
15848 (dl_open_worker): Also print scope of newly loaded dependencies.
15849 (_dl_show_scope): Indicate if there is no scope.
15852 * stdio-common/Makefile (tests): Add bug24.
15853 * stdio-common/bug24.c: New file.
15855 2011-08-19 Andreas Jaeger <aj@suse.de>
15858 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15859 non-existant file when using close-on-exec mode.
15861 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15863 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15864 the very first instruction.
15866 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15867 the CFI state in the end.
15868 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15869 inclusion of dl-trampoline.h.
15870 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15872 2011-08-19 Andreas Schwab <schwab@redhat.com>
15874 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15875 expectations for long double.
15877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15878 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15880 2011-08-14 David S. Miller <davem@davemloft.net>
15882 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15883 artificual limit depends upon the system page size.
15885 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15887 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15888 * resolv/Makefile: Define CFLAGS-libresolv.
15890 2011-08-17 Andreas Schwab <schwab@redhat.com>
15892 * nss/makedb.c (compute_tables): Make variables used in nested
15895 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15897 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15898 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15899 if buffer was too small.
15901 * elf/pldd.c (main): Attach to all threads in the process.
15902 Rewrite /proc handling to use *at functions.
15904 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15906 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15907 specifies first scope to show.
15908 (dl_open_worker): Update callers. Move printing scope of new
15909 object to before the relocation.
15910 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15911 * sysdeps/generic/ldsodefs.h: Update declaration.
15913 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15914 string for the scope number.
15916 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15918 * nscd/servicescache.c (cache_addserv): Make sure written is always
15921 2011-08-14 Roland McGrath <roland@hack.frob.com>
15923 * sysdeps/i386/i486/bits/atomic.h
15924 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15925 statement expression, so as to suppress "set but not used" warning.
15926 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15928 * string/strncat.c (STRNCAT): Use prototype definition.
15930 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15931 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15933 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15934 (localedef-modules): Add localedef.
15935 (locale-modules): Add locale.
15937 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15938 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15939 to avoid a warning.
15941 2011-08-14 David S. Miller <davem@davemloft.net>
15943 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15944 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15946 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15948 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15949 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15950 * elf/rtld.c (dl_main): Set l_name of vDSO.
15951 Call _dl_show_scope when DL_DEBUG_SCOPES.
15952 (process_dl_debug): Recognize scopes flag and also set it for all.
15953 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15954 Declare _dl_show_scope.
15956 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15957 (do_dlopen): Pass caller_dlopen to dl_open.
15958 (__libc_dlopen_mode): Initialize caller_dlopen.
15960 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15961 of libc. Make tolower call locale-independent. Optimize a bit by
15962 using isdigit instead of isalnum.
15963 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15965 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15967 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15968 was a dependency or dynamically loaded.
15970 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15972 * intl/l10nflist.c: Allow architecture-specific pop function.
15973 * sysdeps/x86_64/l10nflist.c: New file.
15975 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15978 2011-08-10 Andreas Schwab <schwab@redhat.com>
15980 * include/dirent.h: Add libc_hidden_proto for scandirat and
15981 scandirat64. Don't declare __scandirat64.
15982 * dirent/scandirat.c: Add libc_hidden_def.
15983 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15984 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15986 2011-08-10 David S. Miller <davem@davemloft.net>
15988 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15990 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15991 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15992 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15994 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15996 * Versions.def [libc]: Add GLIBC_2.15.
15997 * dirent/Makefile (routines): Add scandirat and scandirat64.
15998 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16000 * dirent/dirent.h: Declare scandirat and scandirat64.
16001 * dirent/scandirat.c: New file.
16002 * dirent/scandirat64.c: New file.
16003 * sysdeps/wordsize-64/scandirat.c: New file.
16004 * sysdeps/wordsize-64/scandirat64.c: New file.
16005 * dirent/opendir.c: Define opendirat.
16006 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16008 * dirent/scandir64.c: Adjust for scandir.c change.
16009 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16010 __scandirat64, and __scandir_cancel_handler.
16011 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16012 additional parameter and use openat instead of open (outside of ld.so).
16013 Add new __opendir as wrapper around __opendirat.
16014 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16015 here without requiring old scandirat implementation.
16017 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16019 * dirent/scandir.c (cancel_handler): Renamed to
16020 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16021 defined. Adjust users.
16022 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16023 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16025 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16027 * string/test-string.h (IMPL): Use __STRING to expand name and then
16030 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16033 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16035 * string/Makefile: Update.
16036 (strop-tests): Append strncat.
16037 * string/test-wcscmp.c: New file.
16038 New comprehensive test for wcscmp.
16039 * string/test-strcmp.c: Update.
16040 (WIDE): New define.
16042 2011-07-22 Andreas Schwab <schwab@redhat.com>
16044 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16047 2011-07-26 Andreas Schwab <schwab@redhat.com>
16049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16050 encoding to ACE if AI_IDN.
16052 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16054 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16055 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16057 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16059 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16060 Fix overflow bug in strncat.
16061 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16063 * string/test-strncat.c: Update.
16064 Add new tests for checking overflow bugs.
16066 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16069 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16070 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16071 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16072 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16073 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16074 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16075 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16076 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16078 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16079 (USE_AS_STRCAT): Define.
16080 Add strcat and strncat support.
16081 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16083 2011-07-25 Andreas Schwab <schwab@redhat.com>
16085 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16086 __n bigger than INT_MAX+1.
16087 (__strncmp_g): Likewise.
16089 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16091 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16092 * libio/stido.h: Likewise.
16094 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16099 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16100 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16101 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16102 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16103 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16106 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16111 (_dl_x86_64_save_sse): Likewise.
16113 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16115 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16117 (_dl_x86_64_save_sse): Likewise.
16119 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16121 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16123 2011-07-21 Andreas Schwab <schwab@redhat.com>
16125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16127 (_dl_x86_64_save_sse): Use correct AVX check.
16129 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16131 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16132 bug in strncpy/strncat.
16133 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16135 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16137 * string/tester.c (test_strcat): Add tests for different alignments
16138 of source and destination.
16139 (test_strncat): Likewise.
16141 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16144 * posix/glob.c (glob): Check passed in values before using them in
16145 expressions to avoid some overflows.
16146 (glob_in_dir): Likewise.
16149 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16150 check for AVX enablement so that we don't crash with old kernels and
16152 * elf/tst-audit4.c: Add same checks here.
16153 * elf/tst-audit6.c: Likewise.
16155 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16157 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16159 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16161 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16163 * po/cs.po: Update from translation team.
16164 * po/bg.po: Likewise.
16166 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16168 * misc/sys/cdefs.h: Add support for const attribute.
16169 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16170 to gnu_dev_{major,minor,makedev} functions.
16172 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16174 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16176 2011-07-20 Andreas Schwab <schwab@redhat.com>
16178 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16181 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16183 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16184 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16185 register in order to avoid conflicts with the soft frame pointer
16186 being held in r11 when necessary.
16187 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16188 (INTERNAL_VSYSCALL_NCS): Likewise.
16190 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16192 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16193 * elf/dl-fini.c (_dl_fini): Adjust caller.
16194 * elf/dl-close.c (_dl_close_worker): Likewise.
16195 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16197 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16199 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16200 "aux_cache->nlibs < 0".
16202 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16203 in the reload-count case.
16205 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16208 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16209 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16210 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16211 * sysdeps/x86_64/multiarch/strcat.S: New file.
16212 * sysdeps/x86_64/multiarch/strncat.S: New file.
16213 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16214 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16215 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16216 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16217 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16218 (USE_AS_STRCAT): Define.
16219 Add strcat and strncat support.
16220 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16221 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16222 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16223 * string/strncat.c: Update.
16224 (USE_AS_STRNCAT): Define.
16225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16226 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16228 * sysdeps/x86_64/multiarch/init-arch.h
16229 (bit_Prefer_PMINUB_for_stringop): New.
16230 (index_Prefer_PMINUB_for_stringop): Likewise.
16231 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16232 bit_Prefer_PMINUB_for_stringop.
16234 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16236 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16238 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16239 of casting of buffer.
16240 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16241 buffer32 and buffer64.
16242 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16243 writes instead of casting of buffer.
16244 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16246 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16249 2011-07-19 Andreas Schwab <schwab@redhat.com>
16251 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16253 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16255 * nscd/nscd.c (termination_handler): Don't do anything for a database
16256 if it has not yet been initialized.
16258 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16260 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16262 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16264 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16266 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16268 * po/nl.po: Update from translation team.
16269 * po/sv.po: Likewise.
16271 2011-07-16 Roland McGrath <roland@hack.frob.com>
16273 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16274 now disallowed by GCC.
16276 * configure.in (use-default-link): Default to yes if a test -shared
16277 link meets our qualifications.
16278 * configure: Regenerated.
16280 * config.make.in (output-format): New variable.
16281 * configure.in: Check for ld --print-output-format support.
16282 * configure: Regenerated.
16283 * Makerules ($(common-objpfx)format.lds)
16284 [$(output-format) != unknown]: Just use $(output-format),
16285 instead of the linker-script munging.
16287 2011-07-14 Roland McGrath <roland@hack.frob.com>
16289 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16290 of $(common-objpfx)shlib.lds.
16291 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16293 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16294 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16296 * configure.in (-z relro check): Adjust test code to add a large
16297 writable data section after it.
16298 * configure: Regenerated.
16300 2011-07-11 Roland McGrath <roland@hack.frob.com>
16302 * configure.in (-z relro check): Fix test code to make the variable
16304 * configure: Regenerated.
16306 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16308 * nscd/nscd.h (struct traced_file): Define.
16309 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16310 elements. Add traced_files.
16311 (inotify_fd): Declare.
16312 (register_traced_file): Declare.
16313 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16314 (inotify_fd): Export.
16315 (resolv_conf_descr): Remove.
16316 (nscd_init): Move inotify descriptor creation to main.
16317 Don't register files for notification here.
16318 (register_traced_file): New function.
16319 (invalidate_cache): Don't use reset_res to determine whether to call
16320 res_init, go through the list of registered files.
16321 (main_loop_poll): The inotify descriptors are now stored in the
16322 structures for the traced files.
16323 (main_loop_epoll): Likewise
16324 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16325 to __nss_disable_nscd.
16326 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16327 for a database anymore. Check the records for all the registered
16329 * nss/Makefile (libnss_files-routines): Add files-init.
16330 (libnss_db-routines): Add db-init.
16331 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16332 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16333 * nss/nss_db/db-init.c: New file.
16334 * nss/nss_files/files-init.c: New file.
16335 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16336 __nss_lookup_function.
16337 (__nss_lookup_function): Call nss_load_library.
16338 (nss_load_all_libraries): New function.
16339 (__nss_disable_nscd): Take parameter with callback function for files
16340 to register. Set is_nscd. Load all the DSOs for the NSS modules
16341 used for the cached services.
16342 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16343 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16344 options for features to all the files in nscd.
16346 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16348 2011-07-10 Roland McGrath <roland@hack.frob.com>
16350 * csu/elf-init.c (__libc_csu_init): Comment typo.
16352 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16354 * po/pl.po: Update from translation team.
16355 * po/ja.po: Likewise.
16356 * po/ru.po: Likewise.
16357 * po/ko.po: Likewise.
16358 * po/fr.po: Likewise.
16360 2011-07-09 Roland McGrath <roland@hack.frob.com>
16362 * configure.in (.ctors/.dtors header and trailer check):
16363 Use an empirical test on a built program.
16364 * configure: Regenerated.
16366 * configure.in (-z relro check): Use an empirical test on a built DSO.
16367 Detect, but do not require, on ia64.
16368 * configure: Regenerated.
16370 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16371 Update tests that use readelf to use $READELF instead.
16372 * configure: Regenerated.
16374 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16376 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16377 if the result is not used.
16379 2011-07-05 Andreas Jaeger <aj@suse.de>
16382 * stdlib/tst-strtod.c: Add testcase.
16384 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16386 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16387 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16388 The latter has a higher limit. Take additional parameter to pass to
16390 (__pathconf): Pass file to __statfs_link_max.
16391 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16393 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16397 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16398 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16400 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16401 (__statfs_filesize_max): Likewise.
16402 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16404 2011-07-05 Andreas Jaeger <aj@suse.de>
16406 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16408 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16410 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16412 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16415 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16417 * Makefile (strop-tests): Add strncat.
16418 * string/test-strncat.c: New file.
16420 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16422 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16424 2011-06-21 Andreas Jaeger <aj@suse.de>
16426 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16427 Copy rule from iconvdata/Makefile.
16429 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16432 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16433 but no long options are defined, just return 'W'.
16435 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16438 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16440 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16442 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16444 (innetgr): Likewise.
16446 2011-07-05 Roland McGrath <roland@hack.frob.com>
16448 * config.make.in (install_root): Default to $(DESTDIR).
16450 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16452 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16454 2011-07-02 Roland McGrath <roland@hack.frob.com>
16456 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16458 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16459 containing directory rather than embedding absolute directory names.
16461 * scripts/check-local-headers.sh: Rewritten using awk.
16462 Match by word, not by line. Print error messages for matches.
16463 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16465 * Makerules [shlib-lds-flags empty]:
16466 ($(common-objpfx)libc_pic.opts): New target.
16467 ($(common-objpfx)libc_pic.os.clean): New target.
16468 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16470 * config.make.in (OBJCOPY): New variable.
16471 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16472 * configure: Regenerated.
16474 * config.make.in (use-default-link): New variable.
16475 * configure.in (use_default_link): Grok --with-default-link to set it.
16476 * configure: Regenerated.
16477 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16478 (shlib-lds, shlib-lds-flags): Define to empty.
16480 * Makerules (shlib-lds): New variable.
16481 (shlib-lds-flags): New variable.
16482 (build-shlib, build-moduile, build-module-asneeded): Use it.
16483 ($(common-objpfx)libc.so): Use $(shlib-lds).
16484 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16485 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16487 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16488 DT_FLAGS/DT_FLAGS_1 with zero flags.
16490 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16491 linker script munging.
16493 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16495 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16497 * crypt/sha512.c (sha512_process_block): Perform total addition using
16498 128-bit if possible.
16499 (__sha512_finish_ctx): Likewise.
16500 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16502 * crypt/sha256.c (SWAP64): Define.
16503 (sha256_process_block): Perform total addition using 64-bit if
16505 (__sha256_finish_ctx): Likewise.
16507 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16509 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16510 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16511 * nscd/hstcache.c (cache_addhst): Likewise.
16512 * nscd/grpcache.c (cache_addgr): Likewise.
16513 * nscd/aicache.c (addhstaiX): Likewise
16514 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16516 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16518 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16519 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16520 * nscd/hstcache.c (cache_addhst): Likewise.
16521 * nscd/grpcache.c (cache_addgr): Likewise.
16522 * nscd/aicache.c (addhstaiX): Likewise
16524 2011-07-01 Andreas Schwab <schwab@redhat.com>
16526 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16527 domain only when needed.
16529 2011-06-30 Andreas Schwab <schwab@redhat.com>
16531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16532 is always restored.
16534 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16536 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16537 are re-adding the entry.
16538 * nscd/servicescache.c (cache_addserv): Likewise.
16540 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16542 * sysdeps/generic/dl-irel.h: fix protection against multiple
16544 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16546 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16549 * malloc/memusage.sh: Fix quoting in message.
16550 * debug/xtrace.sh: Likewise.
16552 * configure.in: Remove support for --experimental-malloc option, make
16554 * config.make.in: Likewise.
16555 * malloc/Makefile: Likewise.
16557 2011-06-27 Andreas Schwab <schwab@redhat.com>
16559 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16560 two-byte characters.
16562 2011-06-27 Roland McGrath <roland@hack.frob.com>
16564 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16565 AC_CACHE_CHECK invocation.
16566 * configure: Regenerated.
16568 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16570 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16573 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16574 bit from old_res_options.
16576 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16578 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16579 value type for setfct.
16581 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16583 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16584 __gettimeofday instead of gettimeofday.
16586 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16588 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16590 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16592 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16594 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16597 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16600 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16601 strcpy-sse2-unaligned strncpy-sse2-unaligned
16602 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16603 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16604 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16605 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16606 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16607 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16608 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16609 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16610 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16611 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16612 (STRCPY): Support SSE2 and SSSE3 versions.
16614 2011-06-24 Ulrich Drepper <drepper@gmail.com>
16617 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16618 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16619 kernels which artificially limit size of requests.
16621 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16623 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16624 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16625 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16626 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16627 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16628 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16629 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16630 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16631 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16632 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16633 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16634 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16635 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16636 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16637 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16639 Enable unaligned load optimization for Intel Core i3, i5 and i7
16641 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16643 (index_Fast_Unaligned_Load): Define.
16644 (HAS_FAST_UNALIGNED_LOAD): Define.
16646 2011-06-23 Marek Polacek <mpolacek@redhat.com>
16648 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16650 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16653 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16654 until it is clear that the information is realy needed.
16655 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16657 2011-06-22 Andreas Schwab <schwab@redhat.com>
16659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16661 2011-06-22 Ulrich Drepper <drepper@gmail.com>
16663 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16664 /sys/devices/system/cpu/online if it is usable.
16666 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16667 reading the information from the /proc filesystem to once a second.
16669 2011-06-21 Andreas Jaeger <aj@suse.de>
16671 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16672 NULL after inclusion of kernel headers.
16674 2011-06-21 Ulrich Drepper <drepper@gmail.com>
16676 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16677 calls to internal_setent.
16680 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16681 addresses using gethostbyname4_r ignore IPv4 addresses.
16683 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16684 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16686 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16688 2011-06-20 David S. Miller <davem@davemloft.net>
16690 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16692 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16694 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16695 (elf_irel): Use it.
16696 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16697 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16698 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16699 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16700 * sysdeps/x86_64/dl-irel.h: Likewise.
16702 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16703 * elf/dl-sym.c: Likewise.
16705 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16707 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16708 need to dereference resplen2.
16710 2011-06-14 Andreas Schwab <schwab@redhat.com>
16712 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16714 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16716 * Makeconfig: Define vardbdir and inst_vardbdir.
16717 * nss/Makefile: Add rules to install db-Makefile.
16719 * nss/nss_db/db-XXX.c: Cleanup.
16721 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16722 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16724 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16725 * nss/makedb.c: Implement -g option to specify that value strings
16726 are generated and should not be added to table iterated over for
16728 * nss/nss_db/db-initgroups.c: New file.
16730 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16733 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16734 (internal_getgrouplist): Adjust to name change.
16735 Update use_initgroups_entry if this is not the first call.
16736 * nss/databases.def: Add initgroups entry.
16738 * nss/makedb.c (compute_tables): Check result of multiple hash table
16739 sizes to minimize maximum chain length.
16741 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16743 * Versions.def: Add entry for libnss_db.
16744 * shlib-versions: Likewise.
16745 * nss/Makefile: Add rules to build libnss_db.
16746 * nss/Versions: Add libnss_db information. Organize libnss_files
16748 * nss/db-Makefile: Add gshadow support. Change rules for the new
16749 makedb progra. Some minor improvements to generate smaller files.
16750 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16752 * nss/makedb.c: ...here.
16753 Improve database format to be smaller and require less memory at
16755 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16757 * nss/nss_db/db-netgrp.c: Likewise.
16758 * nss/nss_db/db-open.c: Likewise.
16759 * nss/nss_files/flies-XXX.x: Adjust comments.
16760 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16761 * nss/nss_files/files-grp.c: Likewise.
16762 * nss/nss_files/files-hosts.c: Likewise.
16763 * nss/nss_files/files-network.c: Likewise.
16764 * nss/nss_files/files-proto.c: Likewise.
16765 * nss/nss_files/files-pwd.c: Likewise.
16766 * nss/nss_files/files-rpc.c: Likewise.
16767 * nss/nss_files/files-service.c: Likewise.
16768 * nss/nss_files/files-sgrp.c: Likewise.
16769 * nss/nss_files/files-spwd.c: Likewise.
16770 * nss/nss_db/db-alias.c: Removed.
16771 * nss/nss_db/dummy-db.h: Removed.
16773 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16775 * nss/makedb.c: Rewritten to not use database library.
16776 * nss/Makefile: Update to build new makedb program.
16778 2011-06-14 Andreas Jaeger <aj@suse.de>
16780 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16781 memset declaration.
16783 2011-06-10 Andreas Schwab <schwab@redhat.com>
16785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16788 2011-06-10 Roland McGrath <roland@hack.frob.com>
16790 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16791 * elf/Makefile ($(objpfx)ld.so): Likewise.
16793 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16794 Don't list ld.so twice in dependencies.
16796 * posix/bug-regex31.c: Include <stdlib.h>.
16798 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16800 * nis/nss_compat/compat-spwd.c
16801 (getspent_next_nss_netgr): Remove unused variable.
16802 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16804 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16805 nonmembers" output to use the right array.
16807 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16809 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16811 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16812 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16813 * catgets/gencat.c (read_input_file): Likewise.
16814 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16816 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16817 variable definition inside #if's controlling its use.
16819 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16821 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16823 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16825 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16828 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16830 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16831 * configure: Regenerated.
16833 * Makerules: Revert last change.
16834 * elf/Makefile: Likewise.
16836 2011-06-09 Roland McGrath <roland@hack.frob.com>
16838 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16839 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16840 (reloc-link): Likewise.
16842 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16844 * elf/Makefile: Add rules to build pldd.
16845 * elf/pldd.c: New file.
16846 * elf/pldd-xx.c: New file.
16848 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16850 * version.h: Update for 2.15 development version.
16852 2011-06-07 David S. Miller <davem@davemloft.net>
16854 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16856 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16857 elf_machine_lazy_rel): Likewise.
16858 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16859 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16860 elf_machine_lazy_rel): Likewise.
16861 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16862 dl_hwcap via passed in argument.
16863 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16866 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16868 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16870 2011-06-06 Roland McGrath <roland@hack.frob.com>
16873 * manual/fdl-1.1.texi: New file, verbatim from:
16874 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16875 * manual/lgpl-2.1.texi: New file, verbatim from:
16876 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16877 * manual/Makefile (licenses): New variable, list those new file names.
16879 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16881 * manual/fdl.texi: File removed.
16882 * manual/lesser.texi: File removed.
16883 * manual/libc.texinfo (Copying, Documentation License):
16884 Use new @include file names, put @appendix directive before @include.
16886 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16889 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16890 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16891 (mq_open): Add __NTH.
16893 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16896 Assume Intel Core i3/i5/i7 processor if AVX is available.
16898 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16903 2011-05-31 Andreas Schwab <schwab@redhat.com>
16905 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16906 memory. Use alloca_account. Fix memory leak when retrying.
16908 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16910 * version.h (RELEASE): Bump for 2.14 release.
16911 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16913 * config.make.in (RANLIB): Remove entry.
16915 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16917 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16918 (libc.pot): Work around missing support for .ksh extension in xgettext.
16921 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16922 if both request failed.
16923 (send_dg): In case of server errors clear resplen or *resplen2.
16926 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16927 when there are multiple maps.
16928 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16929 (_dl_fini): Remove test here.
16931 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16933 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16936 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16937 bit from old_res_options.
16938 (gaih_inet): Likewise.
16941 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16944 * resolv/res_init.c (res_setoptions): Make the code more compact.
16947 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16951 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16953 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16956 * malloc/malloc.h: Declare malloc hook variables as volatile.
16958 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16962 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16963 raise in the comment.
16964 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16965 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16966 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16968 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16971 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16972 grow the buffers more if it already has to be sufficient.
16973 (build_wcs_upper_buffer): Likewise.
16974 * posix/regexec.c (check_matching): Likewise.
16975 (clean_state_log_if_needed): Likewise.
16976 (extend_buffers): Don't enlarge buffers beyond size of the input
16978 Patches mostly by Emil Wojak <emil@wojak.eu>.
16979 * posix/bug-regex32.c: New file.
16980 * posix/Makefile (tests): Add bug-regex32.
16982 * locale/findlocale.c (_nl_find_locale): Return right away if
16983 _nl_explode_name failed.
16984 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16986 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16988 * debug/xtrace.sh: Unify messages.
16989 * malloc/memusage.sh: Likewise.
16992 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16993 time symbol from vDSO. Substitute with vsyscall if not available.
16994 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16997 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16998 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16999 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17000 Add sendmmsg and internal_sendmmsg.
17001 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17002 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17003 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17005 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17006 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17007 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17009 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17012 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17013 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17015 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17019 * iconvdata/Makefile (tests): Add bug-iconv9.
17020 * iconvdata/bug-iconv9.c: New file.
17022 2011-05-27 Andreas Schwab <schwab@redhat.com>
17025 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17027 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17029 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17030 (struct user_regs_struct): Change intcs field back to cs.
17032 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17034 * po/ja.po: Update from translation team.
17036 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17039 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17040 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17042 2011-05-20 Andreas Schwab <schwab@redhat.com>
17044 * stdlib/longlong.h: Update from GCC.
17046 2011-05-23 Andreas Schwab <schwab@redhat.com>
17048 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17050 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17051 Add parameter name.
17052 (__sysconf): Pass it down.
17054 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17057 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17059 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17060 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17061 add in in __libc_use_alloca calls. Adjust callers.
17062 (glob): Use malloc in some situations.
17064 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17065 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17068 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17070 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17071 and CLOCK_BOOTTIME_ALARM.
17074 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17077 * string/_strerror.c (__strerror_r): Print negative errors as signed
17081 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17082 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17083 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17085 * configure.in: Fix typo in redirection and correct removal of test
17086 files in two cases.
17089 * locale/setlocale.c (new_composite_name): Fix test to check for
17090 identical name of all categories.
17093 * libio/filedoalloc.c (local_isatty): New function.
17094 (_IO_file_doallocate): Use local_isatty.
17095 * stdio-common/perror.c (perror): In case a new stream is used
17096 forward the stream error.
17097 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17100 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17105 * include/alloca.h (extend_alloca_account): Define.
17108 * posix/regex.h: Fix comments with documentation of user-accessible
17109 fields after compilation and describe correct free'ing of pattern
17110 after re_compile_pattern.
17111 Patch by Reuben Thomas <rrt@sc3d.org>.
17113 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17115 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17116 and -mno-altivec to prevent the compiler from using Altivec and/or
17117 VSX instructions when the corresponding registers are not available.
17119 2011-05-19 Andreas Schwab <schwab@redhat.com>
17121 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17123 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17125 * libio/freopen.c (freopen): Use __dup2, not dup2.
17126 * libio/freopen64.c (freopen64): Likewise.
17128 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17131 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17132 * math/Makefile (tests): Add test-powl.
17133 (CFLAGS-test-powl.c): Define.
17134 * math/test-powl.c: New file.
17136 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17138 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17140 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17143 * iconvdata/gb18030.c: Update to GB18020-2005.
17145 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17147 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17148 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17149 Patch by Aharon Robbins <arnold@skeeve.com>.
17152 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17156 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17157 through underflows.
17160 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17161 point to strings before performing equality test for error_one_per_line
17165 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17168 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17169 (struct user_fpregs_struct): Avoid __uint*_t types.
17172 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17173 symbol info. Use it instead of calling _dl_addr locally.
17174 (lock_and_info): New function.
17175 (tr_freehook): Call lock_and_info and pass symbol info as additional
17176 parameter to tr_where.
17177 (tr_mallochook): Likewise.
17178 (tr_reallochook): Likewise.
17179 (tr_memalignhook): Likewise.
17181 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17182 used and couldn't be at all thread-safe.
17184 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17186 * libio/freopen.c (freopen): Don't close old file descriptor
17187 before the new one is opened. Instead dup the new file descriptor
17188 to the old one after the new stream is created.
17189 * libio/freopen64.c (freopen64): Likewise.
17190 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17191 * libio/fileops.c (_IO_new_file_close_it): Handle new
17192 _IO_FLAGS2_NOCLOSE flag.
17193 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17194 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17195 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17196 _IO_FLAGS2_NOCLOSE flag.
17197 * include/unistd.h: Add hidden_proto for dup3.
17198 Define __have_dup3.
17199 * io/dup3.c: Define hidden symbol.
17200 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17203 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17204 when an incomplete long option is used.
17205 * posix/tst-getopt_long1.c: New file.
17206 * posix/Makefile (tests): Add tst-getopt_long1.
17209 * scripts/config.guess: Update from autoconf-2.68.
17210 * scripts/config.sub: Likewise.
17213 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17215 (has_cpuclock): ...this. New function.
17216 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17217 macro here based on has_cpuclock code.
17220 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17221 First byte (not low byte) is now always NUL.
17222 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17224 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17225 Use non-cancelable interfaces.
17228 * locale/iso-639.def: Add entry for Sorani.
17231 * include/stdlib.h: Move include protection to the right place.
17232 Define abort_msg_s. Declare __abort_msg with it.
17233 * stdlib/abort.c (__abort_msg): Adjust type.
17234 * assert/assert.c (__assert_fail_base): New function. Majority
17235 of code from __assert_fail. Allocate memory for __abort_msg with
17237 (__assert_fail): Now call __assert_fail_base.
17238 * assert/assert-perr.c: Remove bulk of implementation. Use
17239 __assert_fail_base.
17240 * include/assert.hL Declare __assert_fail_base.
17241 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17243 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17245 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17249 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17250 until all modules are registered in the DTV.
17251 * elf/Makefile: Add rules to build and run tst-tls19.
17252 * elf/tst-tls19.c: New file.
17253 * elf/tst-tls19mod1.c: New file.
17254 * elf/tst-tls19mod2.c: New file.
17255 * elf/tst-tls19mod3.c: New file.
17256 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17259 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17263 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17264 two-byte sequence errors.
17265 * iconvdata/Makefile (tests): Add bug-iconv8.
17266 * iconvdata/bug-iconv8.c: New file.
17269 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17272 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17275 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17276 (dummy_getcfa): New function.
17277 (init): Get _Unwind_GetCFA address, use dummy if not found.
17278 (backtrace_helper): In recursion check, also check whether CFA changes.
17279 (__backtrace): Completely initialize arg.
17281 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17282 storing incomplete byte sequence in state object. Avoid testing for
17283 guaranteed too small input if we know there is enough data available.
17285 2011-05-11 Andreas Schwab <schwab@redhat.com>
17287 * Makeconfig (+link-pie): Indent.
17288 * Rules (binaries-pie): Define if $(have-fpie) and
17290 (binaries-shared): Also filter out $(binaries-pie).
17291 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17292 * nscd/Makefile (others-pie): Add nscd.
17293 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17294 ($(objpfx)nscd): Remove command override.
17295 * login/Makefile (others-pie): Add pt_chown.
17296 ($(objpfx)pt_chown): Remove command override.
17297 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17298 remove command overrides.
17300 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17302 * libio/tst_putwc.c: Fix error messages.
17305 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17306 currently writing and seek to current position when not.
17307 * libio/Makefile (tests): Add bug-fclose1.
17308 * libio/bug-fclose1.c: New file.
17310 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17313 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17314 don't set DF_1_NODELETE here.
17315 (do_lookup_x): When entering new entry test for copy relocation
17316 and if necessary set DF_1_NODELETE flag.
17317 * elf/tst-unique4.cc: New file.
17318 * elf/tst-unique4.h: New file.
17319 * elf/tst-unique4lib.cc: New file.
17320 * elf/Makefile: Add rules to build and run tst-unique4.
17321 Patch by Piotr Bury <pbury@goahead.com>.
17323 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17326 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17329 * misc/mntent_r.c (addmntent): Flush the stream after the output
17332 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17333 (is_trusted_path_normalize): Skip initial colon. Append slash
17334 to empty buffer. Duplicate is_trusted_path code but allow
17335 constructed patch to be prefix.
17336 (is_dst): Allow $ORIGIN followed by /.
17337 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17338 Correct testing of result of is_trusted_path_normalize
17339 (decompose_rpath): Fix warning.
17341 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17344 * grp/initgroups.c (internal_getgrouplist): When we found the service
17345 list through the initgroups entry in nsswitch.conf do not always
17346 continue on a successful lookup. Don't always use the
17347 __nss_group_database value if it is set.
17348 * nss/nsswitch.conf (initgroups): Change action for successful db
17349 lookup to continue for compatibility.
17351 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17354 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17356 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17358 * iconvdata/tst-tables.sh: Likewise.
17359 * iconvdata/cp770.c: New file.
17360 * iconvdata/cp771.c: New file.
17361 * iconvdata/cp772.c: New file.
17362 * iconvdata/cp773.c: New file.
17363 * iconvdata/cp774.c: New file.
17364 * iconvdata/testdata/CP770: New file.
17365 * iconvdata/testdata/CP770..UTF8: New file.
17366 * iconvdata/testdata/CP771: New file.
17367 * iconvdata/testdata/CP771..UTF8: New file.
17368 * iconvdata/testdata/CP772: New file.
17369 * iconvdata/testdata/CP772..UTF8: New file.
17370 * iconvdata/testdata/CP773: New file.
17371 * iconvdata/testdata/CP773..UTF8: New file.
17372 * iconvdata/testdata/CP774: New file.
17373 * iconvdata/testdata/CP774..UTF8: New file.
17375 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17377 * iconvdata/gen-8bit-gap.sh: Likewise.
17378 * iconvdata/gen-8bit.sh: Likewise.
17380 * locale/iso-639.def: Add ary entry.
17383 * locale/C-translit.h.in: Add U20A1 transliteration.
17386 * locale/iso-639.def: Add wae entry.
17387 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17390 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17394 * locale/C-translit.h.in: Add entry for U20B9.
17395 Patch by pravin.d.s@gmail.com.
17397 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17400 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17401 ENAMETOOLONG use generic getcwd.
17402 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17403 in rtld. Use *stat64.
17404 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17405 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17406 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17407 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17408 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17409 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17410 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17411 __fstatat64 macros.
17412 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17413 * dirent/rewinddir.c: Add libc_hidden_def.
17414 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17415 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17417 * include/dirent.h (__alloc_dir): Add flags parameter.
17418 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17419 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17421 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17422 from fdopendir if O_CLOEXEC is already set.
17424 2011-03-15 Alan Modra <amodra@gmail.com>
17426 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17427 l_tls_firstbyte_offset non-zero. Save padding offset in
17428 l_tls_firstbyte_offset for later use.
17429 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17430 freeing static tls block.
17432 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17434 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17435 where #ifdef was intended. The intent is to prevent ARG_MAX from
17436 being defined by the kernel headers.
17438 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17441 * resolv/resolv.h: Define RES_NOTLDQUERY.
17442 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17443 no-tld-query and set RES_NOTLDQUERY.
17444 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17445 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17446 modern BIND to search name as TLD unless forbidden.
17448 2011-05-07 Petr Baudis <pasky@suse.cz>
17449 Ulrich Drepper <drepper@gmail.com>
17452 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17453 (is_trusted_path): ...to here.
17454 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17455 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17456 using is_trusted_path_normalize() in setuid scripts.
17458 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17460 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17461 __BEGIN/__END_DECLS.
17463 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17465 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17466 NSS_STATUS_NOTFOUND if no record was found.
17468 2011-05-05 Andreas Schwab <schwab@redhat.com>
17470 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17471 (headers-not-in-tirpc): Remove rpc/netdb.h
17472 * resolv/netdb.h: Revert last change.
17474 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17476 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17477 circular dependency between libgcc.a and libc.a.
17479 2011-05-05 Andreas Schwab <schwab@redhat.com>
17481 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17482 * nis/Makefile: Don't install rpcsvc/*.
17483 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17484 instead of <rpc/types.h>.
17485 (MAXHOSTNAMELEN): Define.
17487 2011-05-03 Andreas Schwab <schwab@redhat.com>
17489 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17491 2011-04-28 Maciej Babinski <mbabinski@google.com>
17494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17495 gethostbyname4_r when IPv6 results are possible.
17497 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17500 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17501 _PC_PIPE_BUF handling.
17503 2011-04-30 Bruno Haible <bruno@clisp.org>
17506 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17507 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17509 * inet/getnameinfo.c (getnameinfo): Likewise.
17511 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17513 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17514 to groups setting in database lookup.
17515 * nss/nsswitch.conf: Add initgroups entry.
17517 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17520 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17522 Patch by Eric Blake <eblake@redhat.com>.
17524 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17526 * sunrpc/Makefile (need-export-routines): Add svc_run.
17527 (routines): Remove svc_run.
17528 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17529 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17530 * sunrpc/svc_run.c (svc_run): Likewise.
17531 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17533 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17535 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17536 problem in reallocation in last patch.
17538 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17540 * sunrpc/Makefile: Move inclusion of Rules.
17542 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17544 * nss/nss_files/files-initgroups.c: New file.
17545 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17546 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17547 _nss_files_initgroups_dyn.
17549 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17551 * elf/elf.h (R_ARM_IRELATIVE): Define.
17553 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17555 * po/ru.po: Update from translation team.
17557 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17559 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17562 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17565 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17566 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17567 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17568 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17569 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17571 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17573 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17575 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17576 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17577 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17579 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17582 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17584 * stdlib/bug-getcontext.c: New file.
17585 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17587 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17589 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17590 instructions into .machine "z9-109".
17591 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17592 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17594 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17596 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17597 between environment variables and auxiliary vector.
17599 2011-04-16 Ulrich Drepper <drepper@gmail.com>
17601 * Makefile: Add rules to build linkobj/libc.so.
17602 * include/libc-symbols.h: Define libc_hidden_nolink.
17603 * include/rpc/auth.h: Mark functions which are to be hidden.
17604 * include/rpc/auth_des.h: Likewise.
17605 * include/rpc/auth_unix.h: Likewise.
17606 * include/rpc/clnt.h: Likewise.
17607 * include/rpc/des_crypt.h: Likewise.
17608 * include/rpc/key_prot.h: Likewise.
17609 * include/rpc/pmap_clnt.h: Likewise.
17610 * include/rpc/pmap_prot.h: Likewise.
17611 * include/rpc/pmap_rmt.h: Likewise.
17612 * include/rpc/rpc_msg.h: Likewise.
17613 * include/rpc/svc.h: Likewise.
17614 * include/rpc/svc_auth.h: Likewise.
17615 * include/rpc/xdr.h: Likewise.
17616 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17617 * nss/Makefile: Likewise.
17618 * sunrpc/Makefile: Don't install headers. Build library with normal
17619 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17620 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17621 for the compat linking library. Remove use of INTDEF/INTUSE.
17622 * sunrpc/auth_none.c: Likewise.
17623 * sunrpc/auth_unix.c: Likewise.
17624 * sunrpc/authdes_prot.c: Likewise.
17625 * sunrpc/authuxprot.c: Likewise.
17626 * sunrpc/clnt_gen.c: Likewise.
17627 * sunrpc/clnt_perr.c: Likewise.
17628 * sunrpc/clnt_raw.c: Likewise.
17629 * sunrpc/clnt_simp.c: Likewise.
17630 * sunrpc/clnt_tcp.c: Likewise.
17631 * sunrpc/clnt_udp.c: Likewise.
17632 * sunrpc/clnt_unix.c: Likewise.
17633 * sunrpc/des_crypt.c: Likewise.
17634 * sunrpc/des_soft.c: Likewise.
17635 * sunrpc/get_myaddr.c: Likewise.
17636 * sunrpc/key_call.c: Likewise.
17637 * sunrpc/key_prot.c: Likewise.
17638 * sunrpc/netname.c: Likewise.
17639 * sunrpc/pm_getmaps.c: Likewise.
17640 * sunrpc/pm_getport.c: Likewise.
17641 * sunrpc/pmap_clnt.c: Likewise.
17642 * sunrpc/pmap_prot.c: Likewise.
17643 * sunrpc/pmap_prot2.c: Likewise.
17644 * sunrpc/pmap_rmt.c: Likewise.
17645 * sunrpc/publickey.c: Likewise.
17646 * sunrpc/rpc_cmsg.c: Likewise.
17647 * sunrpc/rpc_common.c: Likewise.
17648 * sunrpc/rpc_dtable.c: Likewise.
17649 * sunrpc/rpc_prot.c: Likewise.
17650 * sunrpc/rpc_thread.c: Likewise.
17651 * sunrpc/rtime.c: Likewise.
17652 * sunrpc/svc.c: Likewise.
17653 * sunrpc/svc_auth.c: Likewise.
17654 * sunrpc/svc_authux.c: Likewise.
17655 * sunrpc/svc_raw.c: Likewise.
17656 * sunrpc/svc_run.c: Likewise.
17657 * sunrpc/svc_simple.c: Likewise.
17658 * sunrpc/svc_tcp.c: Likewise.
17659 * sunrpc/svc_udp.c: Likewise.
17660 * sunrpc/svc_unix.c: Likewise.
17661 * sunrpc/svcauth_des.c: Likewise.
17662 * sunrpc/xcrypt.c: Likewise.
17663 * sunrpc/xdr.c: Likewise.
17664 * sunrpc/xdr_array.c: Likewise.
17665 * sunrpc/xdr_float.c: Likewise.
17666 * sunrpc/xdr_intXX_t.c: Likewise.
17667 * sunrpc/xdr_mem.c: Likewise.
17668 * sunrpc/xdr_rec.c: Likewise.
17669 * sunrpc/xdr_ref.c: Likewise.
17670 * sunrpc/xdr_sizeof.c: Likewise.
17671 * sunrpc/xdr_stdio.c: Likewise.
17673 2011-04-10 Ulrich Drepper <drepper@gmail.com>
17676 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17677 * sysdeps/ia64/dl-tls.h: Likewise.
17678 * sysdeps/powerpc/dl-tls.h: Likewise.
17679 * sysdeps/s390/dl-tls.h: Likewise.
17680 * sysdeps/sh/dl-tls.h: Likewise.
17681 * sysdeps/sparc/dl-tls.h: Likewise.
17682 * sysdeps/x86_64/dl-tls.h: Likewise.
17683 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17685 2011-03-14 Andreas Schwab <schwab@redhat.com>
17687 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17688 rpath element also skip the following colon.
17689 (expand_dynamic_string_token): Add is_path parameter and pass
17690 down to DL_DST_REQUIRED and _dl_dst_substitute.
17691 (decompose_rpath): Call expand_dynamic_string_token with
17692 non-zero is_path. Ignore empty rpaths.
17693 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17696 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17701 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17704 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17705 Patch by Filipe David Manana <fdmanana@apache.org>.
17707 2011-04-07 Andreas Schwab <schwab@redhat.com>
17709 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17710 Maintain aligned stack.
17711 (CHECK_RSP): Remove unused macro.
17713 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17715 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17716 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17718 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17720 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17722 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17724 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17727 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17728 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17729 * sysdeps/x86_64/memmove.c: New file.
17730 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17731 (memcpy): Renamed to ...
17732 (__new_memcpy): This.
17733 (memcpy): Provide GLIBC_2_14 memcpy.
17734 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17735 (memcpy): Provide GLIBC_2_2_5 memcpy.
17737 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17740 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17742 2011-03-30 Andreas Schwab <schwab@redhat.com>
17744 * misc/syncfs.c: New file.
17745 * misc/Makefile (routines): Add syncfs.
17746 * posix/unistd.h: Declare syncfs.
17747 * sysdeps/unix/syscalls.list: Add syncfs.
17749 2011-04-01 Andreas Schwab <schwab@redhat.com>
17751 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17753 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17754 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17755 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17756 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17757 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17758 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17759 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17761 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17763 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17764 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17765 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17766 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17767 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17771 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17772 sync_file_range.c with -fexceptions.
17773 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17774 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17775 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17776 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17777 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17778 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17779 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17780 sync_file_range as cancellation point
17781 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17782 now a wrapper around __call_sync_file_range with cancellation handling.
17783 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17784 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17785 function name to __call_sync_file_range.
17786 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17787 Add call_sync_file_range.
17789 2011-04-01 Andreas Schwab <schwab@redhat.com>
17791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17794 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17796 * iconv/iconv.h: Fix typo in comment.
17797 * io/fcntl.h: Likewise.
17798 * libio/stdio.h: Likewise.
17799 * posix/spawn.h: Likewise.
17800 * posix/unistd.h: Likewise.
17801 * stdlib/stdlib.h: Likewise.
17802 * time/time.h: Likewise.
17803 * wcsmbs/wchar.h: Likewise.
17805 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17806 open_by_handle): Add.
17807 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17808 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17809 Augment a few comments.
17810 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17811 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17812 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17813 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17814 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17815 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17818 * io/fcntl.h (AT_EMPTY_PATH): Define.
17820 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17822 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17823 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17824 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17826 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17827 * Versions.def: Add GLIBC_2.14.
17828 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17831 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17833 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17835 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17837 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17840 * string/test-strncmp.c (do_page_test): New function.
17841 (check2): Likewise.
17842 (test_main): Call check2.
17843 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17845 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17848 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17849 Handle cache information in CPU leaf 4.
17850 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17852 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17855 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17856 character representation.
17857 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17859 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17861 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17862 END(__isnan) to END(__isnanf) to match function entry point/label
17863 EALIGN(__isnanf,...).
17865 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17867 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17869 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17872 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17873 copy from the symbol referenced in the relocation to initialize the
17875 Patch by Piotr Bury <pbury@goahead.com>.
17876 * elf/Makefile: Add rules to build and tst-unique3.
17877 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17878 * elf/tst-unique3.cc: New file.
17879 * elf/tst-unique3.h: New file.
17880 * elf/tst-unique3lib.cc: New file.
17881 * elf/tst-unique3lib2.cc: New file.
17883 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17885 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17887 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17888 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17891 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17893 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17894 to-be-loaded object along a path to loader is ld.so.
17896 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17897 Ulrich Drepper <drepper@gmail.com>
17899 * sysdeps/x86_64/memset.S: After aligning destination, code
17900 branches to different locations depending on the value of
17901 misalignment, when multiarch is enabled. Fix this.
17903 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17905 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17906 Set _x86_64_preferred_memory_instruction for AMD processsors.
17907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17908 Set bit_Prefer_SSE_for_memop for AMD processors.
17910 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17912 * libio/fmemopen.c (fmemopen): Optimize a bit.
17914 2011-03-03 Andreas Schwab <schwab@redhat.com>
17916 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17918 2011-03-03 Roland McGrath <roland@redhat.com>
17920 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17922 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17924 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17925 __bzero_ultra1 instead of __memset_ultra1.
17927 2011-02-23 Andreas Schwab <schwab@redhat.com>
17928 Ulrich Drepper <drepper@gmail.com>
17931 * include/link.h (struct link_map): Add l_orig_initfini.
17932 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17933 returning unsuccessfully.
17934 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17935 close of a file loaded at startup, restore the original l_initfini
17937 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17938 list, store the pointer.
17939 * elf/Makefile ($(objpfx)noload-mem): New rule.
17940 (noload-ENV): Define.
17941 (tests): Add $(objpfx)noload-mem.
17942 * elf/noload.c: Include <memcheck.h>.
17943 (main): Call mtrace. Close all opened handles.
17945 2011-02-17 Andreas Schwab <schwab@redhat.com>
17948 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17949 dependencies are missing.
17951 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17953 Fix __if_freereq crash: Unlike the generic version which uses free,
17955 * sysdeps/mach/hurd/ifreq.h: New file.
17957 2011-01-27 Petr Baudis <pasky@suse.cz>
17958 Ulrich Drepper <drepper@gmail.com>
17961 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17962 to extend_alloca().
17963 * stdio-common/bug23.c: New file.
17964 * stdio-common/Makefile (tests): Add bug23.
17966 2010-09-28 Andreas Schwab <schwab@redhat.com>
17967 Ulrich Drepper <drepper@gmail.com>
17970 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17971 before performing relro protection. At old place add assertion
17972 to make sure nothing changed.
17974 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17975 Glauber de Oliveira Costa <glommer@gmail.com>
17977 * elf/elf.h: Add new ARM TLS relocs.
17979 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17982 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17984 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17986 * sysdeps/wordsize-64/tst-writev.c: New file.
17988 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17990 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17991 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17992 insns in _dl_start to prevent a TOC reference before relocs are
17995 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17998 * Makeconfig: Remove RANLIB definition.
17999 * Makerules: Don't use RANLIB.
18000 * aclocal.m4: Remove ranlib test.
18001 * configure.in: No need to check for ranlib.
18002 * elf/rtld-Rules: Don't use RANLIB.
18004 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18006 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18008 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18009 inclusion protection macro.
18011 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18012 SIGRTMIN and SIGRTMAX and print information in that case only when
18013 SIGRTMIN is defined.
18015 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18017 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18018 arginfo fn returning -1.
18020 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18021 and thousands string is zero terminated.
18023 2011-02-03 Andreas Schwab <schwab@redhat.com>
18025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18026 sysdeps/unix/sysv/linux/bits/socket.h.
18028 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18030 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18031 (__CPU_COUNT): Remove old macros.
18032 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18033 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18034 (__CPU_ALLOC, __CPU_FREE): Add macros.
18035 (__sched_cpualloc, __sched_cpufree): Add declarations.
18037 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18039 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18040 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18041 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18042 (readdhstai): Return value of addhstaiX call.
18043 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18044 (addgrbyX): Return value returned by cache_addgr.
18045 (readdgrbyname): Return value returned by addgrbyX.
18046 (readdgrbygid): Likewise.
18047 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18048 (addpwbyX): Return value returned by cache_addpw.
18049 (readdpwbyname): Return value returned by addhstbyX.
18050 (readdpwbyuid): Likewise.
18051 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18052 (addservbyX): Return value returned by cache_addserv.
18053 (readdservbyname): Return value returned by addservbyX:
18054 (readdservbyport): Likewise.
18055 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18056 (addhstbyX): Return value returned by cache_addhst.
18057 (readdhstbyname): Return value returned by addhstbyX.
18058 (readdhstbyaddr): Likewise.
18059 (readdhstbynamev6): Likewise.
18060 (readdhstbyaddrv6): Likewise.
18061 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18062 (readdinitgroups): Return value returned by addinitgroupsX.
18063 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18064 (prune_cache): Keep track of timeout value of re-added entries.
18065 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18066 * nscd/nscd.h: Adjust prototypes of readd* functions.
18068 2011-02-04 Roland McGrath <roland@redhat.com>
18070 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18071 (nis_stats): Likewise.
18072 * nis/nis_modify.c (nis_modify): Likewise.
18073 * nis/nis_remove.c (nis_remove): Likewise.
18074 * nis/nis_add.c (nis_add): Likewise.
18076 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18078 * posix/fnmatch_loop.c: Add some consts.
18080 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18082 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18085 * config.make.in (config-cflags-novzeroupper): Define.
18086 * configure.in: Substitute libc_cv_cc_novzeroupper.
18087 * elf/Makefile (AVX-CFLAGS): Define.
18088 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18089 (CFLAGS-tst-auditmod4a.c): Likewise.
18090 (CFLAGS-tst-auditmod4b.c): Likewise.
18091 (CFLAGS-tst-auditmod6b.c): Likewise.
18092 (CFLAGS-tst-auditmod6c.c): Likewise.
18093 (CFLAGS-tst-auditmod7b.c): Likewise.
18094 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18096 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18098 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18099 function to the callback.
18100 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18102 2011-02-02 Andreas Schwab <schwab@redhat.com>
18104 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18107 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18110 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18112 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18114 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18117 * elf/Makefile: Add rules to build and run new test.
18118 * elf/tst-initorder.c: New file.
18119 * elf/tst-initorder.exp: New file.
18120 * elf/tst-initordera1.c: New file.
18121 * elf/tst-initordera2.c: New file.
18122 * elf/tst-initordera3.c: New file.
18123 * elf/tst-initordera4.c: New file.
18124 * elf/tst-initorderb1.c: New file.
18125 * elf/tst-initorderb2.c: New file.
18126 * elf/tst-order-a1.c: New file.
18127 * elf/tst-order-a2.c: New file.
18128 * elf/tst-order-a3.c: New file.
18129 * elf/tst-order-a4.c: New file.
18130 * elf/tst-order-b1.c: New file.
18131 * elf/tst-order-b2.c: New file.
18132 * elf/tst-order-main.c: New file.
18133 New test case by George Gensure <werkt0@gmail.com>.
18135 2010-10-01 Andreas Schwab <schwab@redhat.com>
18137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18138 decoding ACE if AI_CANONIDN.
18140 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18142 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18144 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18146 * version.h (RELEASE): Bump for 2.13 release.
18147 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18149 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18151 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18153 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18154 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18155 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18156 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18157 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18158 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18160 * posix/getconf.c: Update copyright year.
18161 * catgets/gencat.c: Likewise.
18162 * csu/version.c: Likewise.
18163 * debug/catchsegv.sh: Likewise.
18164 * debug/xtrace.sh: Likewise.
18165 * elf/ldconfig.c: Likewise.
18166 * elf/ldd.bash.in: Likewise.
18167 * elf/sprof.c (print_version): Likewise.
18168 * iconv/iconv_prog.c: Likewise.
18169 * iconv/iconvconfig.c: Likewise.
18170 * locale/programs/locale.c: Likewise.
18171 * locale/programs/localedef.c: Likewise.
18172 * malloc/memusage.sh: Likewise.
18173 * malloc/mtrace.pl: Likewise.
18174 * nscd/nscd.c (print_version): Likewise.
18175 * nss/getent.c: Likewise.
18177 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18178 PF_CAIF, and PF_ALG.
18179 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18181 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18183 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18184 (modules-names): Use them.
18185 (ifunc-test-modules, ifunc-pie-tests): Define.
18186 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18187 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18188 (test-extras): Likewise.
18189 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18190 $(compile-command.c).
18191 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18192 (all-built-dso): Define.
18193 (check-textrel.out, check-execstack.out): Depend on it.
18195 * configure.in: Don't override --enable-multi-arch.
18197 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18200 * nscd/hstcache.c (tryagain): Define.
18201 (cache_addhst): Return tryagain not notfound for temporary errors.
18202 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18205 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18208 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18209 to make the syscall.
18210 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18213 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18214 and fall back to matching as normal character if the string ends before
18215 the matching ']' is found. This is what POSIX requires.
18216 * posix/testfnm.c: Adjust test result.
18217 * posix/globtest.sh: Adjust test result. Add new test.
18218 * posix/tst-fnmatch.input: Likewise.
18219 * posix/tst-fnmatch2.c: Add new test.
18221 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18223 * elf/Makefile (check-execstack): Revert last change. Depend on
18225 (check-execstack.h): New target.
18226 (generated): Add check-execstack.h.
18227 * elf/check-execstack.c: Include "check-execstack.h".
18228 (main): Revert last change.
18229 (handle_file): Return zero if GNU_STACK is absent and
18230 DEFAULT_STACK_PERMS doesn't include PF_X.
18232 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18234 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18235 in child fails because the descriptor is already closed.
18236 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18237 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18238 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18241 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18245 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18246 temporary buffer used to handle multi lookups locally.
18247 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18249 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18251 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18254 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18256 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18257 alignment for SSE2.
18259 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18262 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18263 characters. When rounding increased number of integer digits recompute
18265 * stdio-common/tst-grouping.c: New file.
18266 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18268 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18270 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18271 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18273 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18275 * bits/select.h: Likewise.
18277 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18279 * po/ja.po: Update from translation team.
18281 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18284 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18285 implementation just like for lxstat, fxstatat, et al.
18287 2010-12-27 Jim Meyering <meyering@redhat.com>
18290 * posix/regexec.c (build_trtable): Return failure indication upon
18291 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18293 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18296 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18297 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18298 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18299 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18302 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18305 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18306 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18308 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18310 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18311 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18312 script has SORT_BY_INIT_PRIORITY.
18313 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18314 NO_CTORS_DTORS_SECTIONS is defined.
18315 * elf/soinit.c: Likewise.
18316 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18317 NO_CTORS_DTORS_SECTIONS is defined.
18318 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18319 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18320 * sysdeps/sh/init-first.c: Likewise.
18321 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18323 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18325 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18326 always use the slow path.
18328 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18330 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18331 similar rule which adds the sysdep directories to the header search in
18332 order to pick up the correct platform stackinfo.h.
18333 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18334 perform test if it is, otherwise return successfully without testing.
18335 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18336 DEFAULT_STACK_PERMS define in stackinfo.h.
18337 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18338 defined in stackinfo.h.
18339 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18340 DEFAULT_STACK_PERMS defined in stackinfo.h.
18341 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18342 * sysdeps/ia64/stackinfo.h: Likewise.
18343 * sysdeps/s390/stackinfo.h: Likewise.
18344 * sysdeps/sh/stackinfo.h: Likewise.
18345 * sysdeps/sparc/stackinfo.h: Likewise.
18346 * sysdeps/x86_64/stackinfo.h: Likewise.
18347 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18348 PF_X for powerpc64. Retain PF_X for powerpc32.
18350 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18352 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18354 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18355 GETDENTS_64BIT_ALIGNED.
18357 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18359 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18361 2010-12-10 Andreas Schwab <schwab@redhat.com>
18363 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18366 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18367 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18369 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18370 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18372 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18375 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18378 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18380 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18382 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18384 * po/it.po: Update from translation team.
18386 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18391 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18393 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18395 2010-11-24 Andreas Schwab <schwab@redhat.com>
18397 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18399 (gaih_getanswer_slice): Likewise.
18401 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18403 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18405 2010-05-31 Petr Baudis <pasky@suse.cz>
18408 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18409 silently even in the chroot mode.
18411 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18413 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18414 last patch a bit. Pretty printing
18416 2010-05-31 Petr Baudis <pasky@suse.cz>
18419 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18420 initialization of skip_initgroups_dyn.
18422 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18424 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18425 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18427 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18429 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18431 2010-11-11 Andreas Schwab <schwab@redhat.com>
18433 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18434 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18435 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18436 ($(objpfx)tst-fnmatch-mem): New rule.
18437 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18438 * posix/tst-fnmatch.c (main): Call mtrace.
18440 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18443 Support Intel processor model 6 and model 0x2c.
18445 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18447 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18450 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18453 * string/test-strncasecmp.c (check_result): New function.
18454 (do_one_test): Use it.
18455 (check1): New function.
18456 (test_main): Use it.
18457 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18458 Support strcasecmp and strncasecmp.
18460 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18463 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18464 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18466 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18468 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18470 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18472 * sysdeps/x86_64/multiarch/bzero.S: New file.
18473 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18474 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18475 * sysdeps/x86_64/multiarch/memset.S: New file.
18476 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18478 Set bit_Prefer_SSE_for_memop for Intel processors.
18479 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18481 (index_Prefer_SSE_for_memop): Define.
18482 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18484 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18486 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18487 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18489 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18492 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18493 (__x86_64_raw_data_cache_size_half): Likewise.
18494 (__x86_64_raw_shared_cache_size): Likewise.
18495 (__x86_64_raw_shared_cache_size_half): Likewise.
18497 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18498 (__x86_64_raw_data_cache_size_half): Likewise.
18499 (__x86_64_raw_shared_cache_size): Likewise.
18500 (__x86_64_raw_shared_cache_size_half): Likewise.
18501 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18502 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18503 and __x86_64_raw_shared_cache_size_half. Round
18504 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18505 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18506 to multiple of 256 bytes.
18508 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18511 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18512 of inacessible symlinks. Verify result of symlink before returning it.
18513 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18514 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18516 2010-10-28 Erich Ritz <erichritz@gmail.com>
18518 * math/math.h (isinf): Fix typo in comment.
18520 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18522 * po/da.po: Update from translation team.
18524 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18526 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18527 is added to the list.
18529 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18530 Ulrich Drepper <drepper@gmail.com>
18532 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18533 the global list here. Move code to...
18534 (_dl_add_to_namespace_list): ...here. New function.
18535 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18536 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18537 * elf/dl-load.c (lose): Don't remove the element from the list.
18538 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18539 (_dl_map_object): Likewise.
18541 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18544 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18545 into all bytes of SSE register.
18546 Patch by Richard Li <richardpku@gmail.com>.
18548 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18551 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18554 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18556 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18557 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18558 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18559 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18564 2010-10-22 Andreas Schwab <schwab@redhat.com>
18566 * include/dlfcn.h (__RTLD_SECURE): Define.
18567 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18568 mode & __RTLD_SECURE instead.
18569 (open_path): Rename preloaded parameter to secure.
18570 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18571 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18572 * elf/dl-deps.c (openaux): Likewise.
18573 * elf/rtld.c (struct map_args): Remove is_preloaded.
18574 (map_doit): Don't use it.
18575 (dl_main): Likewise.
18576 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18577 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18579 2010-09-09 Andreas Schwab <schwab@redhat.com>
18581 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18582 (sysd-rules-targets): Remove duplicates.
18583 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18584 rtld-%.$o dependency.
18586 2010-10-18 Andreas Schwab <schwab@redhat.com>
18588 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18589 _dl_map_object do it.
18591 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18593 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18594 fast fma builtins, define the macros in the C99 standard.
18595 (FP_FAST_FMAF): Likewise.
18596 (FP_FAST_FMAL): Likewise.
18597 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18599 * bits/mathdef.h: Update copyright year.
18600 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18602 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18604 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18605 builtins, define the macros in the C99 standard.
18606 (FP_FAST_FMAF): Likewise.
18607 (FP_FAST_FMAL): Likewise.
18608 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18610 (FP_FAST_FMAF): Likewise.
18612 2010-10-15 Jakub Jelinek <jakub@redhat.com>
18615 * math/libm-test.inc (fma_test): Some new testcases.
18616 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18617 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18618 y and infinite z. Do multiplication by C already in long double.
18619 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18621 y and infinite z. Do bitwise or of inexact bit into u.d.
18622 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18623 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18624 * sysdeps/i386/fpu/s_fma.S: Removed.
18625 * sysdeps/i386/fpu/s_fmal.S: Removed.
18627 2010-10-16 Jakub Jelinek <jakub@redhat.com>
18630 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18631 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18632 computation is not scheduled after fetestexcept. Fix value
18633 of minimum denormal long double.
18635 2010-10-14 Jakub Jelinek <jakub@redhat.com>
18638 * math/libm-test.inc (fma_test): Add some more tests.
18639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18642 2010-10-15 Andreas Schwab <schwab@redhat.com>
18644 * scripts/data/localplt-s390-linux-gnu.data: New file.
18645 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18647 2010-10-13 Jakub Jelinek <jakub@redhat.com>
18650 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18651 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18653 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18655 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18657 if one of x and y is very large and the other is subnormal.
18658 * sysdeps/s390/fpu/s_fmaf.c: New file.
18659 * sysdeps/s390/fpu/s_fma.c: New file.
18660 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18661 * sysdeps/powerpc/fpu/s_fma.S: New file.
18662 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18663 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18664 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18666 2010-10-12 Jakub Jelinek <jakub@redhat.com>
18669 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18671 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18672 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18673 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18674 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18675 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18676 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18677 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18679 2010-10-12 Ulrich Drepper <drepper@redhat.com>
18682 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18683 * posix/bug-regex31.input: Add test case.
18685 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18687 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18688 * posix/bug-regex31.input: New file.
18691 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18692 (parse_sub_exp): Fix last change, use postorder.
18694 * posix/bug-regex31.c: New file.
18695 * posix/Makefile: Add rules to build and run bug-regex31.
18697 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18700 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18703 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18704 to have entries in sys_siglist.
18707 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18710 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18713 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18714 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18715 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18716 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18717 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18718 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18719 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18720 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18721 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18722 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18723 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18724 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18725 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18726 * math/ftestexcept.c (fetestexcept): Likewise.
18727 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18728 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18729 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18730 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18731 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18732 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18733 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18735 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18738 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18741 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18743 * string/bug-strstr1.c: New file.
18744 * string/Makefile: Add rules to build and run bug-strstr1.
18746 2010-10-05 Eric Blake <eblake@redhat.com>
18749 * string/str-two-way.h (two_way_long_needle): Always clear memory
18750 when skipping input due to the shift table.
18752 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18755 * malloc/mcheck.c: Handle large requests.
18758 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18759 for strncmp and strncasecmp.
18760 * string/stratcliff.c: Add tests for strcmp and strncmp.
18761 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18763 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18765 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18768 2010-09-30 Andreas Jaeger <aj@suse.de>
18770 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18771 (CGROUP_SUPER_MAGIC): Define.
18772 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18773 Handle btrfs and cgroup file systems.
18774 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18777 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18779 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18780 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18782 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18785 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18786 trying to locate the ELF header.
18788 2010-09-27 Andreas Schwab <schwab@redhat.com>
18791 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18792 Mask out sign-bit copies when constructing f_fsid.
18794 2010-09-24 Petr Baudis <pasky@suse.cz>
18796 * debug/stack_chk_fail_local.c: Add missing licence exception.
18797 * debug/warning-nop.c: Likewise.
18799 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18801 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18802 implementing getdents64 using getdents syscall, set d_type if
18803 __ASSUME_GETDENTS32_D_TYPE.
18805 2010-09-16 Andreas Schwab <schwab@redhat.com>
18807 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18808 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18810 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18813 * posix/unistd.h: Undo change of feature selection for ftruncate from
18816 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18818 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18821 2010-09-20 Andreas Schwab <schwab@redhat.com>
18823 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18825 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18827 2010-09-14 Andreas Schwab <schwab@redhat.com>
18829 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18830 variables after CHECK_SP call.
18831 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18833 2010-09-13 Andreas Schwab <schwab@redhat.com>
18834 Ulrich Drepper <drepper@redhat.com>
18836 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18837 re-relocationg ld.so.
18838 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18839 _dl_init_paths call.
18840 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18843 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18845 * resolv/res_init.c (__res_vinit): Count the default server we added.
18847 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18848 Ulrich Drepper <drepper@redhat.com>
18851 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18852 (____longjmp_chk): Use %ebx for saving value across system call.
18855 2010-09-06 Andreas Schwab <schwab@redhat.com>
18857 * manual/Makefile: Don't mix pattern rules with normal rules.
18859 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18861 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18863 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18864 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18865 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18866 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18867 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18870 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18873 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18874 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18876 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18878 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18879 * sysdeps/x86_64/addmul_1.S: Likewise.
18880 * sysdeps/x86_64/lshift.S: Likewise.
18881 * sysdeps/x86_64/mul_1.S: Likewise.
18882 * sysdeps/x86_64/rshift.S: Likewise.
18883 * sysdeps/x86_64/sub_n.S: Likewise.
18884 * sysdeps/x86_64/submul_1.S: Likewise.
18886 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18888 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18889 Define __sched_param instead of SCHED_* and sched_param when
18890 <bits/sched.h> is included with __need_schedparam defined.
18891 * bits/sched.h [__need_schedparam]
18892 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18893 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18894 (__defined_schedparam): Define to 1.
18895 (__sched_param): New structure, identical to sched_param.
18896 (__need_schedparam): Undefine.
18898 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18900 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18901 (epoll_create1): Declare.
18903 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18905 2010-08-31 Andreas Schwab <schwab@redhat.com>
18908 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18909 shifting retval into place.
18911 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18913 * nis/rpcsvc/nis.h: Update copyright notice.
18914 * nis/rpcsvc/nis.x: Likewise.
18915 * nis/rpcsvc/nis_callback.h: Likewise.
18916 * nis/rpcsvc/nis_callback.x: Likewise.
18917 * nis/rpcsvc/nis_object.x: Likewise.
18918 * nis/rpcsvc/nis_tags.h: Likewise.
18919 * nis/rpcsvc/yp.h: Likewise.
18920 * nis/rpcsvc/yp.x: Likewise.
18921 * nis/rpcsvc/ypupd.h: Likewise.
18922 * nis/yp_xdr.c: Likewise.
18923 * nis/ypupdate_xdr.c: Likewise.
18925 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18926 mainly the body of pmap_getport. Add parameters to specify timeouts.
18927 (pmap_getport): Use __libc_rpc_getport.
18928 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18929 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18930 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18932 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18937 2010-08-27 Roland McGrath <roland@redhat.com>
18939 * sysdeps/i386/i686/multiarch/Makefile
18940 (CFLAGS-varshift.c): New variable.
18942 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18944 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18945 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18947 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18949 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18951 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18953 * sysdeps/x86_64/strlen.S: Unroll the loop.
18954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18955 strlen-sse2 strlen-sse2-bsf.
18956 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18957 __strlen_no_bsf if bit_Slow_BSF is set.
18958 (__strlen_sse42): Removed.
18959 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18960 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18962 2010-08-25 Roland McGrath <roland@redhat.com>
18964 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18965 * sysdeps/x86_64/multiarch/varshift.c: New file.
18966 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18967 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18968 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18969 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18971 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18974 strlen-sse2 strlen-sse2-bsf.
18975 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18976 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18977 (__strlen_sse2): Removed.
18978 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18979 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18981 bit_Slow_BSF for Atom.
18982 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18983 (index_Slow_BSF): Define.
18984 (HAS_SLOW_BSF): Define.
18986 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18989 * resolv/res_init.c (__res_vinit): When no server address at all
18990 is given default to loopback.
18992 2010-08-24 Roland McGrath <roland@redhat.com>
18994 * configure.in: Remove config-name.h generation.
18995 * configure: Regenerated.
18996 * config-name.in: File removed.
18997 * scripts/config-uname.sh: New file.
18998 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18999 ($(objdir)config-name.h): New target.
19001 * sunrpc/rpc_parse.h: Avoid nested comment.
19003 2010-08-24 Richard Henderson <rth@redhat.com>
19004 Ulrich Drepper <drepper@redhat.com>
19005 H.J. Lu <hongjiu.lu@intel.com>
19007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19009 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19010 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19011 _mm_alignr_epi8 with _mm_loadu_si128.
19012 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19013 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19014 (__m128i_shift_right): Removed.
19015 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19016 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19017 * sysdeps/x86_64/multiarch/varshift.h: New file.
19018 * sysdeps/x86_64/multiarch/varshift.S: New file.
19020 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19022 * configure.in: Move assembler checks to before sysdep dir checking.
19024 2010-08-20 Petr Baudis <pasky@suse.cz>
19026 * LICENSES: Sync the sunrpc license.
19028 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19030 * sunrpc/auth_des.c: Update copyright notice once again.
19031 * sunrpc/auth_none.c: Likewise.
19032 * sunrpc/auth_unix.c: Likewise.
19033 * sunrpc/authdes_prot.c: Likewise.
19034 * sunrpc/authuxprot.c: Likewise.
19035 * sunrpc/bindrsvprt.c: Likewise.
19036 * sunrpc/clnt_gen.c: Likewise.
19037 * sunrpc/clnt_perr.c: Likewise.
19038 * sunrpc/clnt_raw.c: Likewise.
19039 * sunrpc/clnt_simp.c: Likewise.
19040 * sunrpc/clnt_tcp.c: Likewise.
19041 * sunrpc/clnt_udp.c: Likewise.
19042 * sunrpc/clnt_unix.c: Likewise.
19043 * sunrpc/des_crypt.c: Likewise.
19044 * sunrpc/des_soft.c: Likewise.
19045 * sunrpc/get_myaddr.c: Likewise.
19046 * sunrpc/getrpcport.c: Likewise.
19047 * sunrpc/key_call.c: Likewise.
19048 * sunrpc/key_prot.c: Likewise.
19049 * sunrpc/openchild.c: Likewise.
19050 * sunrpc/pm_getmaps.c: Likewise.
19051 * sunrpc/pm_getport.c: Likewise.
19052 * sunrpc/pmap_clnt.c: Likewise.
19053 * sunrpc/pmap_prot.c: Likewise.
19054 * sunrpc/pmap_prot2.c: Likewise.
19055 * sunrpc/pmap_rmt.c: Likewise.
19056 * sunrpc/rpc/auth.h: Likewise.
19057 * sunrpc/rpc/auth_unix.h: Likewise.
19058 * sunrpc/rpc/clnt.h: Likewise.
19059 * sunrpc/rpc/des_crypt.h: Likewise.
19060 * sunrpc/rpc/key_prot.h: Likewise.
19061 * sunrpc/rpc/netdb.h: Likewise.
19062 * sunrpc/rpc/pmap_clnt.h: Likewise.
19063 * sunrpc/rpc/pmap_prot.h: Likewise.
19064 * sunrpc/rpc/pmap_rmt.h: Likewise.
19065 * sunrpc/rpc/rpc.h: Likewise.
19066 * sunrpc/rpc/rpc_des.h: Likewise.
19067 * sunrpc/rpc/rpc_msg.h: Likewise.
19068 * sunrpc/rpc/svc.h: Likewise.
19069 * sunrpc/rpc/svc_auth.h: Likewise.
19070 * sunrpc/rpc/types.h: Likewise.
19071 * sunrpc/rpc/xdr.h: Likewise.
19072 * sunrpc/rpc_clntout.c: Likewise.
19073 * sunrpc/rpc_cmsg.c: Likewise.
19074 * sunrpc/rpc_common.c: Likewise.
19075 * sunrpc/rpc_cout.c: Likewise.
19076 * sunrpc/rpc_dtable.c: Likewise.
19077 * sunrpc/rpc_hout.c: Likewise.
19078 * sunrpc/rpc_main.c: Likewise.
19079 * sunrpc/rpc_parse.c: Likewise.
19080 * sunrpc/rpc_parse.h: Likewise.
19081 * sunrpc/rpc_prot.c: Likewise.
19082 * sunrpc/rpc_sample.c: Likewise.
19083 * sunrpc/rpc_scan.c: Likewise.
19084 * sunrpc/rpc_scan.h: Likewise.
19085 * sunrpc/rpc_svcout.c: Likewise.
19086 * sunrpc/rpc_tblout.c: Likewise.
19087 * sunrpc/rpc_util.c: Likewise.
19088 * sunrpc/rpc_util.h: Likewise.
19089 * sunrpc/rpcinfo.c: Likewise.
19090 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19091 * sunrpc/rpcsvc/key_prot.x: Likewise.
19092 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19093 * sunrpc/rpcsvc/mount.x: Likewise.
19094 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19095 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19096 * sunrpc/rpcsvc/rex.x: Likewise.
19097 * sunrpc/rpcsvc/rstat.x: Likewise.
19098 * sunrpc/rpcsvc/rusers.x: Likewise.
19099 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19100 * sunrpc/rpcsvc/spray.x: Likewise.
19101 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19102 * sunrpc/rtime.c: Likewise.
19103 * sunrpc/svc.c: Likewise.
19104 * sunrpc/svc_auth.c: Likewise.
19105 * sunrpc/svc_authux.c: Likewise.
19106 * sunrpc/svc_raw.c: Likewise.
19107 * sunrpc/svc_run.c: Likewise.
19108 * sunrpc/svc_simple.c: Likewise.
19109 * sunrpc/svc_tcp.c: Likewise.
19110 * sunrpc/svc_udp.c: Likewise.
19111 * sunrpc/svc_unix.c: Likewise.
19112 * sunrpc/svcauth_des.c: Likewise.
19113 * sunrpc/xcrypt.c: Likewise.
19114 * sunrpc/xdr.c: Likewise.
19115 * sunrpc/xdr_array.c: Likewise.
19116 * sunrpc/xdr_float.c: Likewise.
19117 * sunrpc/xdr_mem.c: Likewise.
19118 * sunrpc/xdr_rec.c: Likewise.
19119 * sunrpc/xdr_ref.c: Likewise.
19120 * sunrpc/xdr_sizeof.c: Likewise.
19121 * sunrpc/xdr_stdio.c: Likewise.
19123 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19126 2010-08-19 Andreas Schwab <schwab@redhat.com>
19128 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19130 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19132 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19133 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19134 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19135 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19136 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19137 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19138 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19139 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19140 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19141 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19142 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19143 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19144 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19145 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19147 2010-07-26 Anton Blanchard <anton@samba.org>
19149 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19150 * malloc/arena.c (heap_trim): Likewise.
19152 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19154 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19156 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19157 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19159 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19161 * sysdeps/i386/elf/Makefile: New file.
19163 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19165 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19166 from fanotify_init.
19167 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19168 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19170 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19172 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19174 * sysdeps/multiarch/strcmp.S: Likewise.
19176 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19178 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19179 strncase_l-nonascii.
19180 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19181 Add strncase_l-ssse3.
19182 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19183 * sysdeps/x86_64/strcmp.S: Likewise.
19184 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19185 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19186 * sysdeps/x86_64/strncase.S: New file.
19187 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19188 * sysdeps/x86_64/strncase_l.S: New file.
19189 * string/Makefile (strop-tests): Add strncasecmp.
19190 * string/test-strncasecmp.c: New file.
19192 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19195 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19196 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19198 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19200 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19202 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19204 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19205 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19206 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19208 2010-05-01 Alan Modra <amodra@gmail.com>
19210 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19211 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19212 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19213 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19214 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19215 tidying. Don't tail-call __sigjmp_save for static lib.
19216 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19218 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19219 (CALL_MCOUNT): Add eh info, and nop after bl.
19220 (TAIL_CALL_SYSCALL_ERROR): New macro.
19221 (PSEUDO_RET): Use it.
19222 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19223 Correct save location of integer regs and cr.
19224 (_dl_profile_resolve): Correct cr save location. Delete nops
19225 after bl when SHARED. Reduce cfi size a little by better
19226 placement of cfi directives.
19227 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19228 make a stack frame. Instead use parm save area as a temp.
19229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19230 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19232 Don't make a stack frame for parent, use parm save area.
19233 Increase child stack frame to 112 bytes. Don't save unused reg,
19234 and adjust reg usage. Set up cfi on error recovery and
19235 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19237 (__makecontext): Add dummy nop after jump to exit.
19238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19239 Use correct parm save area and cr save, reduce stack frame.
19240 Correct cfi for possible PSEUDO_RET frame setup.
19241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19242 Branch to local label emitted by PSEUDO_RET rather than
19245 2010-08-12 Andreas Schwab <schwab@redhat.com>
19248 * locale/programs/locale.c (print_assignment): New function.
19249 (show_locale_vars): Use it.
19251 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19253 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19255 (struct statfs64): Likewise.
19256 (_STATFS_F_FLAGS): Define.
19257 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19258 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19259 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19260 (ST_VALID): Define locally.
19261 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19262 __statvfs_getflags, use the provided value.
19263 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19264 __ASSUME_STATFS_F_FLAGS.
19266 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19268 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19269 Add sys/fanotify.h.
19270 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19271 fanotify_mask for GLIBC_2.13.
19272 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19273 fanotify_init and fanotify_mark.
19274 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19275 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19277 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19279 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19280 prlimit64 for GLIBC_2.13.
19281 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19283 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19286 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19287 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19288 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19289 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19291 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19294 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19295 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19297 * nss/Makefile: Add rules to build and run tst-nss-test1.
19298 * shlib-versions: Add entry for libnss_test1.
19299 * nss/nss_test1.c: New file.
19300 * nss/tst-nss-test1.c: New file.
19302 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19303 (__nss_configure_lookup): Set appropriate entry in
19304 __nss_configure_lookup to true.
19305 * nss/nsswitch.h: Define enum with indeces of databases in
19306 databases and __nss_database_custom arrays. Declare
19307 __nss_database_custom.
19308 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19309 to avoid using nscd when custom rules are installed.
19310 * nss/getXXbyYY_r.c: Likewise.
19311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19313 * nss/nss_files/files-parse.c: Whitespace fixes.
19315 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19318 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19319 * posix/fnmatch_loop.c: Likewise.
19321 2010-07-17 Andi Kleen <ak@linux.intel.com>
19323 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19324 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19325 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19326 * Versions.def [GLIBC_2.13]: Add.
19328 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19330 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19331 Also fail if tpwd after pwuid call is NULL.
19333 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19335 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19336 when converting to ms.
19338 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19340 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19341 EOPNOTSUPP errors with ENOTTY.
19342 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19343 EOPNOTSUPP errors with ENOTTY.
19345 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19347 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19348 Add strcasecmp_l-ssse3.
19349 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19351 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19352 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19353 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19355 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19357 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19359 * string/Makefile (strop-tests): Add strcasecmp.
19360 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19361 strcasecmp_l-nonascii.
19362 (gen-as-const-headers): Add locale-defines.sym.
19363 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19364 * sysdeps/x86_64/strcasecmp.S: New file.
19365 * sysdeps/x86_64/strcasecmp_l.S: New file.
19366 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19367 * sysdeps/x86_64/locale-defines.sym: New file.
19368 * string/test-strcasecmp.c: New file.
19370 * string/test-strcasestr.c: Test both ends of the range of characters.
19371 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19373 2010-07-29 Roland McGrath <roland@redhat.com>
19376 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19378 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19380 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19383 2010-07-27 Andreas Schwab <schwab@redhat.com>
19385 * manual/memory.texi (Malloc Tunable Parameters): Document
19388 2010-07-26 Roland McGrath <roland@redhat.com>
19391 * configure.in (-fgnu89-inline check): Set and substitute
19392 gnu89_inline, not libc_cv_gnu89_inline.
19393 * configure: Regenerated.
19394 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19396 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19398 * string/test-strnlen.c: New file.
19399 * string/Makefile (strop-tests): Add strnlen.
19400 * string/tester.c (test_strnlen): Add a few more test cases.
19401 * string/tst-strlen.c: Better error reporting.
19403 * sysdeps/x86_64/strnlen.S: New file.
19405 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19407 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19408 lower-latency instructions.
19410 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19412 * string/test-strcasestr.c: New file.
19413 * string/test-strstr.c: New file.
19414 * string/Makefile (strop-tests): Add strstr and strcasestr.
19415 * string/str-two-way.h: Don't undefine MAX.
19416 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19418 2010-07-21 Andreas Schwab <schwab@redhat.com>
19420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19421 strcasestr-nonascii.
19422 (CFLAGS-strcasestr-nonascii.c): Define.
19423 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19424 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19425 Remove unused attribute.
19427 2010-07-20 Roland McGrath <roland@redhat.com>
19429 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19430 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19431 ld.so.cache was broken. With it, there is no way to disable dsocaps
19432 like LD_HWCAP_MASK can disable hwcaps.
19434 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19436 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19438 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19440 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19441 call in strcasestr.
19442 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19443 __strcasestr_sse42_nonascii.
19444 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19445 strcasestr-nonascii.c.
19446 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19448 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19450 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19451 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19452 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19453 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19455 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19457 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19460 2010-07-06 Andreas Schwab <schwab@redhat.com>
19463 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19466 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19468 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19469 _PC_PIPE_BUF using F_GETPIPE_SZ.
19471 2010-07-05 Roland McGrath <roland@redhat.com>
19473 * manual/arith.texi (Rounding Functions): Fix rint description
19474 implicit in round description.
19476 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19478 * elf/Makefile: Fix linking for a few tests to make recent linker
19481 2010-06-30 Andreas Schwab <schwab@redhat.com>
19483 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19484 $(common-objpfx)libc_nonshared.a.
19486 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19488 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19489 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19490 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19491 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19492 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19493 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19494 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19495 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19510 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19511 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19512 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19513 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19514 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19515 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19516 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19517 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19518 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19519 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19520 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19521 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19537 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19539 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19540 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19541 * string/memmove.c (memmove): Renamed to ...
19542 (MEMMOVE): ...this. Default to memmove.
19543 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19544 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19547 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19548 mempcpy-ssse3-back memmove-ssse3-back.
19549 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19550 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19551 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19552 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19553 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19554 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19555 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19556 * sysdeps/x86_64/multiarch/memmove.c: New file.
19557 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19558 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19559 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19560 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19561 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19562 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19564 (index_Fast_Copy_Backward): Define.
19565 (HAS_ARCH_FEATURE): Define.
19566 (HAS_FAST_REP_STRING): Define.
19567 (HAS_FAST_COPY_BACKWARD): Define.
19569 2010-06-21 Andreas Schwab <schwab@redhat.com>
19571 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19572 Restore proper fallback handling.
19574 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19577 * posix/group_member.c (__group_member): Correct checking loop.
19579 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19580 OOM in getpwuid_r correctly. Return error number when the caller
19581 should return, otherwise -1.
19582 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19583 call returning > 0 value.
19584 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19586 2010-06-07 Andreas Schwab <schwab@redhat.com>
19588 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19589 libc_nonshared.a from targets in modules-names.
19591 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19593 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19596 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
19598 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19599 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19600 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19601 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19603 2010-06-02 Andreas Schwab <schwab@redhat.com>
19605 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19607 2010-06-14 Ulrich Drepper <drepper@redhat.com>
19609 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19611 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19612 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19613 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19615 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19616 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19618 2010-06-14 Roland McGrath <roland@redhat.com>
19620 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19622 2010-06-07 Jakub Jelinek <jakub@redhat.com>
19624 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19625 __REDIRECT followed by __THROW.
19626 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19627 * posix/getopt.h (getopt): Likewise.
19629 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19631 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19632 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19633 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19635 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19636 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19638 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
19640 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19642 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19646 Properly check family and model.
19648 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19650 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19652 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
19654 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19656 2010-05-21 Ulrich Drepper <drepper@redhat.com>
19658 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19661 2010-05-19 Andreas Schwab <schwab@redhat.com>
19663 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19666 2010-05-21 Andreas Schwab <schwab@redhat.com>
19668 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19669 and internal_recvmmsg.
19670 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19671 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19672 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19673 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19675 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19676 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19677 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19679 2010-05-20 Andreas Schwab <schwab@redhat.com>
19681 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19683 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
19685 POWER7 optimizations.
19686 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19687 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19689 2010-05-19 Ulrich Drepper <drepper@redhat.com>
19691 * version.h: Update for 2.13 development version.
19693 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
19695 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19696 exceptions. Return 0.
19698 2010-05-07 Roland McGrath <roland@redhat.com>
19700 * elf/ldconfig.c (main): Add a const.
19702 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19704 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19705 (args_options): Add no-idn option.
19706 (ahosts_keys_int): Add idn_flags to ai_flags.
19707 (parse_option): Handle 'i' option to clear idn_flags.
19709 * malloc/malloc.c (_int_free): Possible race in the most recently
19710 added check. Only act on the data if no current modification
19713 See ChangeLog.17 for earlier changes.