1 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5 * include/ifunc-impl-list.h: New file.
6 * misc/ifunc-impl-list.c: Likewise.
7 * misc/Makefile (routines): Add ifunc-impl-list.
8 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9 * string/test-string.h: Include <ifunc-impl-list.h>.
10 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11 impl_array): New variables.
12 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14 (test_init): Call __libc_ifunc_impl_list to initialize
15 func_list if TEST_IFUNC and TEST_NAME are defined.
17 * string/Makefile (strop-tests): Add bcopy and bzero.
18 * string/test-bcopy.c: New file.
19 * string/test-bzero.c: Likewise.
20 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22 * string/test-memset.c: Support bzero test if TEST_BZERO is
24 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31 2012-10-10 Joseph Myers <joseph@codesourcery.com>
33 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34 * configure: Regenerated.
36 * Makeconfig (+link-static-before-libc): Don't include
39 * libio/libio.h (_IO_pos_t): Remove.
41 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
43 * NEWS: Add note about FIPS mode. Wording suggested by Roland
46 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
48 * crypt/crypt-entry.c: Include fips-private.h.
49 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
50 * crypt/md5c-test.c (main): Tolerate disabled MD5.
51 * sysdeps/unix/sysv/linux/fips-private.h: New file.
52 * sysdeps/generic/fips-private.h: New file, dummy fallback.
54 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
56 * crypt/crypt-private.h: Include stdbool.h.
57 (_ufc_setup_salt_r): Return bool.
58 * crypt/crypt-entry.c: Include errno.h.
59 (__crypt_r): Return NULL with EINVAL for bad salt.
60 * crypt/crypt_util.c (bad_for_salt): New.
61 (_ufc_setup_salt_r): Check that salt is long enough and within
62 the specified alphabet.
63 * crypt/badsalttest.c: New file.
64 * crypt/Makefile (tests): Add it.
65 ($(objpfx)badsalttest): New.
67 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
69 * NEWS: Add entry for BZ #14602.
71 2012-10-09 Joseph Myers <joseph@codesourcery.com>
73 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
75 * math/libm-test.inc: Update comment listing what functions and
77 (isgreater_test): New function.
78 (isgreaterequal_test): Likewise.
79 (isless_test): Likewise.
80 (islessequal_test): Likewise.
81 (islessgreater_test): Likewise.
82 (isunordered_test): Likewise.
83 (main): Call the new functions.
85 2012-10-09 Roland McGrath <roland@hack.frob.com>
87 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
88 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
89 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
90 * sysdeps/i386/configure: Regenerated.
91 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
92 * sysdeps/mach/configure: Regenerated.
93 * sysdeps/mach/hurd/configure: Regenerated.
94 * sysdeps/powerpc/configure: Regenerated.
95 * sysdeps/powerpc/powerpc32/configure: Regenerated.
96 * sysdeps/powerpc/powerpc64/configure: Regenerated.
97 * sysdeps/s390/s390-32/configure: Regenerated.
98 * sysdeps/s390/s390-64/configure: Regenerated.
99 * sysdeps/sh/configure: Regenerated.
100 * sysdeps/sparc/configure: Regenerated.
101 * sysdeps/unix/sysv/linux/configure: Regenerated.
102 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
103 * sysdeps/x86_64/configure: Regenerated.
105 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
106 defined. Don't check if MAP is NULL.
108 2012-10-09 Joseph Myers <joseph@codesourcery.com>
110 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
111 (_G_stat64): Likewise.
112 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
113 (_G_stat64): Likewise.
114 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
115 instead of struct _G_stat64.
116 * libio/fileops.c (mmap_remap_check): Likewise.
117 (decide_maybe_mmap): Likewise.
118 (_IO_new_file_seekoff): Likewise.
119 (_IO_file_stat): Likewise.
120 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
122 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
123 instead of struct _G_stat64.
124 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
126 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
129 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
131 (CHECK_EOL): New macro.
132 (two_way_short_needle): Check beginning of haystack for EOL. Use
134 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
135 Replace with CHECK_EOL.
136 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
137 Replace with CHECK_EOL.
139 2012-10-08 Joseph Myers <joseph@codesourcery.com>
141 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
143 * math/libm-test.inc: Update comment listing what functions and
145 (finite_test): New function.
146 (isinf_test): Likewise.
147 (isnan_test): Likewise.
148 (fpclassify_test): Test subnormal input.
149 (isfinite_test): Likewise.
150 (isnormal_test): Likewise.
151 (main): Call the new functions.
153 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
156 * Makerules (%.dynsym): Force C locale when running
157 $(OBJDUMP) --dynamic-syms.
159 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
161 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
164 2012-10-06 David S. Miller <davem@davemloft.net>
166 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
167 upper 32-bits of the length value in %o2 since we use branch-on-register
168 tests which consider the entire 64-bit register.
170 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
172 * string/test-strstr.c (check2): Add a test for page boundary.
174 2012-10-05 David S. Miller <davem@davemloft.net>
176 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
177 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
179 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
181 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
182 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
183 and bzero when HWCAP_SPARC_CRYPTO is present.
185 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
188 * string/test-strstr.c (check2): New function.
189 (test_main): Call check2.
191 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
193 * string/bug-strcasestr1.c (do_test): Moved to ...
194 * string/test-strcasestr.c (check1): Here. New function.
195 (do_one_test): Break out result checking code into ...
196 (check_result): This. New function.
197 (do_one_test): Call check_result.
198 (test_main): Call check1.
199 * string/bug-strchr1.c (do_test): Moved to ...
200 * string/test-strchr.c (check1): Here. New function.
201 (do_one_test): Break out result checking code into ...
202 (check_result): This. New function.
203 (do_one_test): Call check_result.
204 (test_main): Call check1.
205 * string/bug-strstr1.c (main): Moved to ...
206 * string/test-strchr.c (check1): Here. New function.
207 (do_one_test): Break out result checking code into ...
208 (check_result): This. New function.
209 (do_one_test): Call check_result.
210 (test_main): Call check1.
211 * string/bug-strcasestr1.c: Removed.
212 * string/bug-strchr1.c: Likewise.
213 * string/bug-strstr1.c: Likewise.
215 * elf/Makefile (dl-routines): Add hwcaps.
216 * elf/dl-support.c (_dl_important_hwcaps): Removed.
217 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
218 (_dl_important_hwcaps): Moved to ...
219 * elf/dl-hwcaps.c: Here. New file.
220 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
223 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
224 if IS_IN_rtld isn't defined.
226 * elf/dl-support.c (_dl_sysinfo_map): New.
227 Include "get-dynamic-info.h" and "setup-vdso.h".
228 (_dl_non_dynamic_init): Call setup_vdso.
229 * elf/dynamic-link.h: Don't include <assert.h>.
230 (elf_get_dynamic_info): Moved to ...
231 * elf/get-dynamic-info.h: Here. New file.
232 * elf/dynamic-link.h: Include "get-dynamic-info.h".
233 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
234 * elf/setup-vdso.h: Here. New file.
235 * elf/rtld.c: Include "setup-vdso.h".
236 (dl_main): Call setup_vdso.
238 2012-10-05 Joseph Myers <joseph@codesourcery.com>
240 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
241 creal in comment listing functions tested. List finite, isinf,
242 isnan, isless, islessequal, isgreater, isgreaterequal,
243 islessgreater, isunordered, lgamma_r and pow10 as functions and
244 macros not tested. Mention which functions not tested are aliases
245 for other functions. Fix typo. Note that signs of NaNs are not
248 * scripts/config.guess: Update from config.git.
249 * scripts/config.sub: Likewise.
251 2012-10-04 Roland McGrath <roland@hack.frob.com>
253 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
254 * misc/madvise.c (madvise): Renamed to __madvise.
255 Make madvise a weak alias.
256 * include/sys/mman.h: Declare __madvise.
257 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
258 * sysdeps/unix/syscalls.list
259 (madvise): Make __madvise the strong name, and madvise a weak alias.
260 * sysdeps/unix/sysv/linux/syscalls.list
261 (madvise, mmap): Remove redundant entries.
262 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
263 * malloc/malloc.c (mtrim): Likewise.
264 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
266 2012-10-03 Roland McGrath <roland@hack.frob.com>
268 * sysdeps/mach/hurd/dl-cache.c: File removed.
269 * config.h.in (USE_LDCONFIG): New #undef.
270 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
271 * configure: Regenerated.
272 * elf/Makefile (dl-routines): Add dl-cache only under
273 [$(use-ldconfig) = yes].
274 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
275 cache on [USE_LDCONFIG].
276 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
278 * elf/rtld.c (dl_main): Likewise.
280 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
282 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
283 _SC_LEVEL4_CACHE_LINESIZE.
285 2012-10-03 Roland McGrath <roland@hack.frob.com>
287 * sysdeps/unix/bsd/confstr.h: File removed.
289 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
291 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
294 2012-10-02 Roland McGrath <roland@hack.frob.com>
296 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
297 Make 'mapoff' field ElfW(Off) rather than off_t.
299 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
301 * nscd/Makefile: Remove nscd-cflags and all its users.
302 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
303 (CFLAGS-nonlib): Add compiler flags for nscd modules.
306 * malloc.c (malloc_printerr): Clarify error message.
308 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
312 Set bit_FMA_Usable if FMA is supported.
313 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
315 (bit_FMA4_Usable): Updated.
316 (index_FMA_Usable): New macro.
317 (CPUID_FMA): Likewise
318 (HAS_FMA): Defined with bit_FMA_Usable.
320 2012-10-01 Roland McGrath <roland@hack.frob.com>
322 * bits/types.h (__swblk_t): Type removed.
323 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
324 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
326 (__SWBLK_T_TYPE): Likewise.
327 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
328 (__SWBLK_T_TYPE): Likewise.
329 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
330 (__SWBLK_T_TYPE): Likewise.
331 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
332 (__SWBLK_T_TYPE): Likewise.
334 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
335 Honza Horak <hhorak@redhat.com>
337 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
338 (xdr_mapname): Use YPMAXMAP as maxsize.
339 (xdr_peername): Use YPMAXPEER as maxsize.
340 (xdr_keydat): Use YPAXRECORD as maxsize.
341 (xdr_valdat): Use YPMAXRECORD as maxsize.
343 2012-10-01 Roland McGrath <roland@hack.frob.com>
345 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
347 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
348 * csu/init-first.c: ... here.
349 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
350 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
351 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
352 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
353 * sysdeps/i386/init-first.c: File removed.
354 * sysdeps/sh/init-first.c: File removed.
356 2012-10-01 Joseph Myers <joseph@codesourcery.com>
359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
360 if x * y might underflow to zero and z is zero.
361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
362 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
363 * math/libm-test.inc (min_subnorm_value): New variable.
364 (fma_test): Add more tests.
365 (fma_test_towardzero): Likewise.
366 (fma_test_downward): Likewise
367 (fma_test_upward): Likewise.
368 (initialize): Set min_subnorm_value.
370 2012-09-29 Joseph Myers <joseph@codesourcery.com>
373 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
375 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
376 mode for addition resulting in exact zero.
377 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
378 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
380 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
381 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
382 * math/libm-test.inc (fma_test): Add more tests.
383 (fma_test_towardzero): New function.
384 (fma_test_downward): Likewise.
385 (fma_test_upward): Likewise.
386 (main): Call the new functions.
388 2012-09-28 David S. Miller <davem@davemloft.net>
390 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
392 2012-09-28 Roland McGrath <roland@hack.frob.com>
394 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
397 * sysdeps/gnu/_G_config.h: Moved to ...
398 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
399 * sysdeps/mach/hurd/_G_config.h: Moved to ...
400 * sysdeps/generic/_G_config.h: ... here.
402 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
404 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
406 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
407 Conditionalize target on [libnss_test1.so-version].
409 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
411 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
412 (elfobjdir): Move out of conditionals.
414 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
415 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
416 (__nss_lookup_function): Conditionalize label remove_from_tree on
417 [!DO_STATIC_NSS || SHARED], matching its only use.
419 2012-09-28 David S. Miller <davem@davemloft.net>
421 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
422 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
424 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
426 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
427 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
428 when HWCAP_SPARC_CRYPTO is present.
430 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
432 * io/tst-mknodat.c: Create a FIFO instead of a socket.
434 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
437 * stdio-common/vfprintf.c (process_string_arg): Revert
440 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
442 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
444 * stdio-common/tst-sprintf.c: Include <locale.h>
445 (main): Test sprintf's handling of incomplete multibyte
448 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
450 * elf/dl-runtime.c (VERSYMIDX): Removed.
451 * elf/dl-version.c (VERSYMIDX): Likewise.
452 * elf/do-rel.h (VERSYMIDX): Likewise.
454 * elf/dynamic-link.h (VERSYMIDX): Likewise.
455 * elf/rtld.c (VALIDX): Likewise.
457 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
458 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
459 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
460 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
464 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
466 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
468 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
471 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
473 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
474 addresses are in the same scope as 192.0.2/24.
475 * posix/gai.conf: Document new scope table defaults.
477 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
480 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
481 for ftell. Compute offsets from write pointers instead.
482 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
484 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
487 * libio/Makefile (tests): New test case tst-fseek.
488 * libio/tst-fseek.c: New test case to verify that fseek/ftell
489 combination works in wide mode.
490 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
491 state when the external buffer state changes.
493 2012-09-27 David S. Miller <davem@davemloft.net>
496 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
497 pass reloc->r_addend in as the 'high' argument to
498 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
502 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
504 * rt/tst-aio2.c: Include <pthread.h>.
505 * rt/tst-aio3.c: Likewise.
507 2012-09-27 Steve Ellcey <sellcey@mips.com>
509 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
511 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
513 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
514 contents on [SHARED].
516 2012-09-26 Marek Polacek <polacek@redhat.com>
520 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
521 for C++ and GCC <4.3 as well as for non GCC compilers.
523 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
527 2012-09-25 Roland McGrath <roland@hack.frob.com>
529 * Makefile.in (all, install): Declare with .PHONY.
530 Reported by Michael Hope <michael.hope@linaro.org>.
532 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
534 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
535 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
537 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
539 (sydep_routines): Add the new and the internal functions.
540 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
541 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
543 (GLIBC_2.17): Add the new function.
544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
545 (GLIBC_2.17): Likewise.
546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
547 (GLIBC_2.17): Likewise.
548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
549 (GLIBC_2.17): Likewise.
550 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
552 2012-09-25 Alan Modra <amodra@gmail.com>
554 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
555 Add release barrier before setting once_control to say
556 initialisation is done. Add hints on lwarx. Use macro in
558 (clear_once_control): Add release barrier.
560 2012-09-25 Joseph Myers <joseph@codesourcery.com>
563 * math/s_clog.c (__clog): Handle more values close to |z| = 1
565 * math/s_clog10.c (__clog10): Likewise.
566 * math/s_clog10f.c (__clog10f): Likewise.
567 * math/s_clog10l.c (__clog10l): Likewise.
568 * math/s_clogf.c (__clogf): Likewise.
569 * math/s_clogl.c (__clogl): Likewise.
570 * math/Makefile (libm-calls): Add x2y2m1.
571 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
572 (__x2y2m1): Likewise.
573 (__x2y2m1l): Likewise.
574 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
575 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
576 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
577 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
578 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
579 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
580 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
581 * sysdeps/i386/fpu/libm-test-ulps: Update.
582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
585 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
586 int as type of variable DEPTH.
587 (glob): Use size_t instead of int as type of variables NEWCOUNT
590 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
592 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
594 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
595 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
596 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
597 macros for using routine as __sincosf_ia32.
598 Use macro for function declaration and weak_alias.
599 * sysdeps/i386/fpu/libm-test-ulps: Update.
601 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
604 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
606 * math/s_cexpf.c (__cexpf): Likewise.
607 * math/s_csinf.c (__csinf): Likewise.
608 * math/s_csinhf.c (__csinhf): Likewise.
609 * math/s_ctanf.c (__ctanf): Likewise.
610 * math/s_ctanhf.c (__ctanhf): Likewise.
611 * math/s_ccosh.c (__ccoshf): Likewise.
612 * math/s_cexp.c (__cexpl): Likewise.
613 * math/s_csin.c (__csin): Likewise.
614 * math/s_csinh.c (__csinh): Likewise.
615 * math/s_ctan.c (__ctan): Likewise.
616 * math/s_ctanh.c (ctanh): Likewise.
617 * math/s_ccoshl.c (__ccoshl): Likewise.
618 * math/s_cexpl.c (__cexpl): Likewise.
619 * math/s_csinl.c (__csinl): Likewise.
620 * math/s_csinhl.c (__csinhl): Likewise.
621 * math/s_ctanl.c (__ctanl): Likewise.
622 * math/s_ctanhl.c (__ctanhl): Likewise.
624 2012-09-25 Joseph Myers <joseph@codesourcery.com>
626 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
627 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
628 (_IO_off_t): Define to __off_t, not _G_off_t.
629 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
630 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
631 (_IO_wint_t): Define to wint_t, not _G_wint_t.
632 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
633 type of __dummy and __dummy2 fields.
634 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
635 (_G_ssize_t): Likewise.
636 (_G_off_t): Likewise.
637 (_G_pid_t): Likewise.
638 (_G_uid_t): Likewise.
639 (_G_wchar_t): Likewise.
640 (_G_wint_t): Likewise.
641 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
642 (_G_ssize_t): Likewise.
643 (_G_off_t): Likewise.
644 (_G_pid_t): Likewise.
645 (_G_uid_t): Likewise.
646 (_G_wchar_t): Likewise.
647 (_G_wint_t): Likewise.
648 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
649 (_G_ssize_t): Likewise.
650 (_G_off_t): Likewise.
651 (_G_pid_t): Likewise.
652 (_G_uid_t): Likewise.
653 (_G_wchar_t): Likewise.
654 (_G_wint_t): Likewise.
656 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
658 * malloc/arena.c: Include malloc-sysdep.h.
659 (shrink_heap): Use check_may_shrink_heap to decide if madvise
660 is sufficient to shrink the heap or an unmap is needed.
661 * sysdeps/generic/malloc-sysdep.h: New file. Define
662 new function check_may_shrink_heap.
663 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
664 new function check_may_shrink_heap.
666 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
668 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
671 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
673 * catgets/test-gencat.sh: Add "set -e".
674 * elf/tst-pathopt.sh: Likewise.
675 * grp/tst_fgetgrent.sh: Likewise.
676 * iconvdata/run-iconv-test.sh: Likewise.
677 * intl/tst-gettext.sh: Likewise.
678 * intl/tst-gettext2.sh: Likewise.
679 * intl/tst-gettext4.sh: Likewise.
680 * intl/tst-gettext6.sh: Likewise.
681 * intl/tst-translit.sh: Likewise.
682 * io/ftwtest-sh: Likewise.
683 * libio/test-freopen.sh: Likewise.
684 * malloc/tst-mtrace.sh: Likewise.
685 * posix/globtest.sh: Likewise.
686 * posix/tst-getconf.sh: Likewise.
687 * posix/wordexp-tst.sh: Likewise.
688 * stdio-common/tst-printf.sh: Likewise.
689 * stdio-common/tst-unbputc.sh: Likewise.
690 * stdlib/tst-fmtmsg.sh: Likewise.
691 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
692 * catgets/Makefile: Do not specify -e option when running
693 testsuite shell scripts.
694 * elf/Makefile: Likewise.
695 * grp/Makefile: Likewise.
696 * iconvdata/Makefile: Likewise.
697 * intl/Makefile: Likewise.
698 * io/Makefile: Likewise.
699 * libio/Makefile: Likewise.
700 * malloc/Makefile: Likewise.
701 * posix/Makefile: Likewise.
702 * stdio-common/Makefile: Likewise.
703 * stdlib/Makefile: Likewise.
704 * sysdeps/x86_64/Makefile: Likewise.
706 * io/ftwtest-sh: Add copyright header.
707 * posix/globtest.sh: Likewise.
708 * posix/tst-getconf.sh: Likewise.
709 * posix/wordexp-tst.sh: Likewise.
710 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
712 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
715 * Makeconfig (+link): Defined as $(+link-static) if
716 $(build-shared) isn't yes.
717 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
719 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
721 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
724 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
725 new chunk size with MALLOC_ALIGN_MASK.
727 2012-09-24 Joseph Myers <joseph@codesourcery.com>
730 * stdio-common/printf_fphex.c: Include <stdbool.h> and
732 (__printf_fphex): Determine rounding using get_rounding_mode and
734 * stdio-common/tst-printf-round.c (struct hex_test): New
736 (hex_tests): New variable.
737 (test_hex_in_one_mode): New function.
738 (do_test): Also run tests for hex float output.
740 2012-09-21 Joseph Myers <joseph@codesourcery.com>
742 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
743 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
744 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
745 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
746 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
747 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
748 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
749 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
751 2012-09-20 Joseph Myers <joseph@codesourcery.com>
753 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
754 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
755 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
756 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
758 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
761 * elf/rtld.c (dl_main): Limit the check for self loading to normal
763 * elf/tst-rtld-load-self.sh: New test.
764 * elf/Makefile: Run it.
766 2012-09-18 Joseph Myers <joseph@codesourcery.com>
768 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
769 (tst-writev-ENV): Remove.
770 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
772 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
774 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
776 2012-09-17 Joseph Myers <joseph@codesourcery.com>
778 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
780 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
782 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
783 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
784 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
787 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
790 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
791 * config.make.in (have-cpp-asm-debuginfo): Removed.
792 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
793 * configure: Regenerated.
795 2012-09-14 Joseph Myers <joseph@codesourcery.com>
798 * stdio-common/printf_fp.c: Include <stdbool.h> and
800 (___printf_fp): Determine rounding using get_rounding_mode and
802 * stdio-common/tst-printf-round.c: New file.
803 * stdio-common/Makefile (tests): Add tst-printf-round.
804 (link-libm): New variable.
805 ($(objpfx)tst-printf-round): Depend in $(link-libm).
807 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
810 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
811 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
813 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
816 2012-09-13 Joseph Myers <joseph@codesourcery.com>
818 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
819 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
820 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
821 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
823 2012-09-12 Joseph Myers <joseph@codesourcery.com>
826 * include/rounding-mode.h: New file.
827 * sysdeps/generic/get-rounding-mode.h: Likewise.
828 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
829 * stdlib/strtod_l.c: Include <rounding-mode.h>.
830 (MAX_VALUE): New macro.
831 (MIN_VALUE): Likewise.
832 (overflow_value): New function.
833 (underflow_value): Likewise.
834 (round_and_return): Use overflow_value and underflow_value to
835 determine return values in overflow and underflow cases. Use
836 round_away to determine rounding depending on rounding mode.
837 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
838 determine return values in overflow and underflow cases.
839 * stdlib/tst-strtod-round.c: Include <fenv.h>.
840 (struct test_results): New structure.
841 (struct test): Use struct test_results to store expected results
842 for all rounding modes.
843 (TEST): Include expected results for all rounding modes.
844 (test_in_one_mode): New function.
845 (do_test): Use test_in_one_mode to compute and check results.
846 Check results for all rounding modes.
847 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
850 2012-12-09 Allan McRae <allan@archlinux.org>
852 * sysdeps/i386/fpu/libm-test-ulps: Update
854 2012-09-11 Joseph Myers <joseph@codesourcery.com>
856 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
857 (_G_int32_t): Likewise.
858 (_G_uint16_t): Likewise.
859 (_G_uint32_t): Likewise.
860 (_G_HAVE_BOOL): Likewise.
861 (_G_HAVE_ATEXIT): Likewise.
862 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
863 (_G_HAVE_IO_FILE_OPEN): Likewise.
864 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
865 (_G_int32_t): Likewise.
866 (_G_uint16_t): Likewise.
867 (_G_uint32_t): Likewise.
868 (_G_HAVE_BOOL): Likewise.
869 (_G_HAVE_ATEXIT): Likewise.
870 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
871 (_G_HAVE_IO_FILE_OPEN): Likewise.
872 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
873 (_G_int32_t): Likewise.
874 (_G_uint16_t): Likewise.
875 (_G_uint32_t): Likewise.
876 (_G_HAVE_BOOL): Likewise.
877 (_G_HAVE_ATEXIT): Likewise.
878 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
879 (_G_HAVE_IO_FILE_OPEN): Likewise.
881 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
883 * csu/libc-tls.c: Update copyright years.
885 2012-09-10 Joseph Myers <joseph@codesourcery.com>
887 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
888 [!_G_USING_THUNKS]: Remove conditional code.
889 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
890 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
892 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
893 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
894 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
895 (_G_VTABLE_LABEL_PREFIX): Likewise.
896 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
897 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
898 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
899 (_G_VTABLE_LABEL_PREFIX): Likewise.
900 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
901 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
902 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
903 (_G_VTABLE_LABEL_PREFIX): Likewise.
904 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
906 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
908 * libio/Makefile: Include ../Makeconfig before tests.
909 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
910 only if $(build-shared) is yes.
912 * iconv/gconv_db.c: Update copyright years.
914 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
916 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
917 unwind info if defined PIC. Fix special cases description.
918 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
920 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
922 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
924 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
926 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
928 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
931 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
932 (LDLIBS-tst-chk4): This.
933 (LDFLAGS-tst-chk5): Renamed to ...
934 (LDLIBS-tst-chk5): This.
935 (LDFLAGS-tst-chk6): Renamed to ...
936 (LDLIBS-tst-chk6): This.
937 (LDFLAGS-tst-lfschk4): Renamed to ...
938 (LDLIBS-tst-lfschk4): This.
939 (LDFLAGS-tst-lfschk5): Renamed to ...
940 (LDLIBS-tst-lfschk5): This.
941 (LDFLAGS-tst-lfschk6): Renamed to ...
942 (LDLIBS-tst-lfschk6): This.
944 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
945 on $(common-objpfx)soversions.mk.
947 2012-09-07 Joseph Myers <joseph@codesourcery.com>
950 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
953 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
955 * malloc/arena.c (arena_get_retry): New function that gets
956 another arena for the caller to try its request on.
957 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
958 current arena cannot fulfill the request.
959 (__libc_memalign): Likewise.
960 (__libc_memalign): Likewise.
961 (__libc_pvalloc): Likewise.
962 (__libc_calloc): Likewise.
964 2012-09-05 John Tobey <john.tobey@gmail.com>
967 * manual/arith.texi (Operations on Complex): Fix description
970 2012-09-06 Joseph Myers <joseph@codesourcery.com>
973 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
977 * manual/memory.texi (Memory): Make order of menu items match
980 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
982 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
983 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
984 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
986 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
988 * csu/libc-tls.c (static_dtv): Renamed to ...
989 (_dl_static_dtv): This. Make it global.
990 (_dl_initial_dtv): Removed.
991 (__libc_setup_tls): Updated.
992 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
993 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
996 2012-09-06 Petr Machata <pmachata@redhat.com>
998 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
999 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1000 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1001 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1003 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1006 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1007 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1010 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1013 * Makeconfig (link-static-before-libc): Replace $(+prector)
1015 (link-static-after-libc): Replace $(+postctor) with
1017 (link-bounded): Replace $(+prector)/$(+postctor) with
1018 $(+prectorT)/$(+postctorT).
1019 (+prectorT): New macro.
1020 (+postctorT): Likewise.
1022 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1024 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1025 (round_str): Handle values above the maximum for IBM long double
1027 * stdlib/tst-strtod-round.c (tests): Regenerated.
1029 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1031 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1033 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1034 zarch_nohighgprs around the zarch optimized routines.
1035 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1036 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1037 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1040 2012-09-05 David S. Miller <davem@davemloft.net>
1042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1044 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1045 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1046 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1047 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1050 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1052 * malloc/arena.c: Fold copyright years.
1053 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1055 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1057 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1059 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1061 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1063 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1065 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1066 change internal state upon failure.
1068 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1070 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1071 * malloc/memusage.c (mmap): Likewise.
1072 (mmap64, mremap): Likewise. Adjust name in comment.
1074 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1076 * libio/fileops.c: Fix typos in comments.
1077 * libio/oldfileops.c: Likewise.
1078 * libio/wfileops.c: Likewise.
1080 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1083 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1084 (tst-malloc-usable-ENV): Set environment for test case.
1085 * malloc/hooks.c (malloc_check_get_size): New function to get
1087 * malloc/malloc.c (musable): Use malloc_check_get_size.
1088 * malloc/tst-malloc-usable.c: New test case.
1090 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1092 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1094 2012-09-05 Allan McRae <allan@archlinux.org>
1097 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1098 determine header location.
1099 * configure: Regenerated.
1101 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1103 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1105 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
1106 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1110 2012-09-04 David S. Miller <davem@davemloft.net>
1112 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1113 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1114 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1116 2012-09-04 Florian Weimer <fweimer@redhat.com>
1118 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1121 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1123 2012-09-04 Joseph Myers <joseph@codesourcery.com>
1126 * libio/iogetdelim.c: Include <limits.h>.
1127 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1128 + len + 1 would overflow.
1130 2012-09-03 Andreas Jaeger <aj@suse.de>
1132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1133 * sysdeps/i386/fpu/libm-test-ulps: Update.
1135 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1137 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1138 Add s_sinf-sse2, s_conf-sse2.
1140 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1141 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1142 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1143 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1145 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1146 for using routine as __sinf_ia32.
1147 Use macro for function declaration and weak_alias.
1148 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1149 for using routine as __cosf_ia32.
1150 Use macro for function declaration and weak_alias.
1152 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1153 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1155 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1156 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1159 * math/libm-test.inc (cos_test): Add more test cases.
1160 (sin_test): Likewise.
1161 (sincos_test): Likewise.
1163 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1165 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1166 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1168 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1170 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1173 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1174 first element of the GOT.
1175 (elf_machine_load_address): Return the difference between
1176 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1178 2012-09-01 Allan McRae <allan@archlinux.org>
1181 * configure.in (AWK): Require gawk version 3.0 or later.
1182 * configure: Regenerated.
1184 2012-09-01 Joseph Myers <joseph@codesourcery.com>
1186 * sysdeps/unix/sysv/linux/kernel-features.h
1187 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1188 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1189 [__NR_clock_getres]: Make code unconditional.
1190 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1191 (clock_getcpuclockid): Remove code left unreachable by removal of
1193 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1195 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1196 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1197 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1198 Make code unconditional.
1199 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1200 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1201 * sysdeps/unix/sysv/linux/clock_settime.c
1202 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1204 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1205 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1207 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1210 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1211 scripts/test-installation.pl.
1213 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1214 and $ld_so_version if it is set.
1216 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1219 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1220 failure if reading from procfs failed.
1221 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1223 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1225 * sysdeps/unix/sysv/linux/kernel-features.h
1226 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1227 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1228 Remove conditional code.
1229 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1230 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1231 Remove conditional code.
1232 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1233 * sysdeps/unix/sysv/linux/i386/fxstat.c
1234 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1235 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1236 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1237 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1238 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1239 * sysdeps/unix/sysv/linux/i386/lxstat.c
1240 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1241 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1242 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1243 Remove conditional code.
1244 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1245 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1246 Remove conditional code.
1247 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1248 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1249 <kernel-features.h>.
1250 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1252 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1253 Remove conditional code.
1254 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1255 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1258 2012-08-27 Mike Frysinger <vapier@gentoo.org>
1261 * NEWS: Add fixed bug number.
1263 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1266 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1267 underflowing exponent in case of negative sign.
1268 * stdlib/tst-strtod-round-data: Add more tests.
1269 * stdlib/tst-strtod-round.c (tests): Regenerated.
1272 * stdlib/strtod_l.c (NDIG): Remove.
1273 (HEXNDIG): Likewise.
1274 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1275 smallest representable value.
1276 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1277 lie within an exact representation of 1/2 ulp of the result.
1278 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1280 (TENS_P9_IDX): Define unconditionally.
1281 (TENS_P9_SIZE): Likewise.
1282 (TENS_P10_IDX): Likewise.
1283 (TENS_P10_SIZE): Likewise.
1284 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1285 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1286 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1287 entries for 10^2^13 and 10^2^14.
1288 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1289 (TENS_P13_IDX): Define.
1290 (TENS_P13_SIZE): Likewise.
1291 (TENS_P14_IDX): Likewise.
1292 (TENS_P14_SIZE): Likewise.
1293 (_fpioconst_pow10): Change array size to
1294 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1296 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1297 1024]: Add entries for 10^2^13 and 10^2^14.
1298 [LAST_POW10 > _LAST_POW10]: Remove #error.
1299 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1300 (_fpioconst_pow10): Change array size to
1301 FPIOCONST_POW10_ARRAY_SIZE.
1302 * stdlib/gen-fpioconst.c: New file.
1303 * stdlib/gen-tst-strtod-round.c: Likewise.
1304 * stdlib/tst-strtod-round-data: Likewise.
1305 * stdlib/tst-strtod-round.c: Likewise.
1306 * stdlib/Makefile (tests): Add tst-strtod-round.
1309 * stdlib/strtod_l.c: Include <stdint.h>.
1310 (NDEBUG): Do not define.
1311 (round_and_return): Change EXPONENT parameter to type intmax_t.
1312 Rearrange calculations to avoid internal overflow possibilities.
1313 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1314 Rearrange calculations to avoid internal overflow possibilities.
1315 Assert that number fits inside MPNSIZE limbs.
1316 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1317 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1318 calculations and add assertions to avoid internal overflow
1319 possibilities. Add casts to avoid signed/unsigned operations.
1320 * stdlib/tst-strtod-overflow.c: New file.
1321 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1323 2012-08-25 Marek Polacek <polacek@redhat.com>
1325 * time/time.h: Fix some typos in comments.
1327 2012-08-23 Roland McGrath <roland@hack.frob.com>
1329 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1330 * posix/tst-rfc3484-2.c: Likewise.
1331 * posix/tst-rfc3484-3.c: Likewise.
1333 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1335 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1336 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1338 2012-08-23 Joseph Myers <joseph@codesourcery.com>
1340 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1341 #include of fxstatat64.c.
1343 2012-08-22 Roland McGrath <roland@hack.frob.com>
1345 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1346 * shadow/getspent_r.c: Likewise.
1347 * shadow/getspnam.c: Likewise.
1348 * shadow/getspnam_r.c: Likewise.
1349 * gshadow/getsgent.c: Likewise.
1350 * gshadow/getsgent_r.c: Likewise.
1351 * gshadow/getsgnam.c: Likewise.
1352 * gshadow/getsgnam_r.c: Likewise.
1353 * inet/getnetbyad.c: Likewise.
1354 * inet/getnetbyad_r.c: Likewise.
1355 * inet/getnetbynm.c: Likewise.
1356 * inet/getnetbynm_r.c: Likewise.
1357 * inet/getnetent.c: Likewise.
1358 * inet/getnetent_r.c: Likewise.
1359 * inet/getproto.c: Likewise.
1360 * inet/getproto_r.c: Likewise.
1361 * inet/getprtent.c: Likewise.
1362 * inet/getprtent_r.c: Likewise.
1363 * inet/getprtname.c: Likewise.
1364 * inet/getprtname_r.c: Likewise.
1365 * inet/getrpcbyname.c: Likewise.
1366 * inet/getrpcbyname_r.c: Likewise.
1367 * inet/getrpcbynumber.c: Likewise.
1368 * inet/getrpcbynumber_r.c: Likewise.
1369 * inet/getrpcent.c: Likewise.
1370 * inet/getrpcent_r.c: Likewise.
1371 * inet/getaliasent.c: Likewise.
1372 * inet/getaliasent_r.c: Likewise.
1373 * inet/getaliasname.c: Likewise.
1374 * inet/getaliasname_r.c: Likewise.
1375 * nscd/getgrgid_r.c: Likewise.
1376 * nscd/getgrnam_r.c: Likewise.
1377 * nscd/gethstbyad_r.c: Likewise.
1378 * nscd/gethstbynm3_r.c: Likewise.
1379 * nscd/getpwnam_r.c: Likewise.
1380 * nscd/getpwuid_r.c: Likewise.
1381 * nscd/getsrvbynm_r.c: Likewise.
1382 * nscd/getsrvbypt_r.c: Likewise.
1383 * nscd/gai.c: Likewise.
1385 * configure.in (build_nscd): New substituted variable, set
1386 by --disable-build-nscd and defaults to $use_nscd.
1387 * configure: Regenerated.
1388 * config.make.in (build-nscd): New substituted variable.
1389 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1390 Change conditional to require [$(build-nscd) = yes] as well.
1391 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1394 * configure.in (use_nscd): New substituted variable, set by
1395 --disable-nscd. If enabled, define USE_NSCD.
1396 * configure: Regenerated.
1397 * config.h.in: Add USE_NSCD.
1398 * config.make.in (use-nscd): New substituted variable.
1399 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1400 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1401 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1402 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1403 (CFLAGS-getgrnam_r.c): Likewise.
1404 (CFLAGS-initgroups.c): Likewise.
1405 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1406 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1408 * inet/getnetgrent_r.c
1409 (nscd_setnetgrent): New function, broken out of ...
1410 (setnetgrent): ... here. Call it.
1411 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1412 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1413 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1414 * nscd/Makefile (routines, aux): Move definitions after include of
1415 Makeconfig. Conditionalize on [$(use-nscd) != no].
1416 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1417 Conditionalize on [USE_NSCD].
1418 (is_nscd, nscd_init_cb): Likewise.
1419 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1420 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1421 * nss/nss_db/db-init.c: Likewise.
1422 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1424 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1425 (make_request): Use it.
1426 (cache_valid_p): New function.
1427 (__check_pf): Use it.
1428 * NEWS: Add item for --disable-nscd.
1430 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1432 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1433 to support sed >= 4.2.1-20-ga9bf076.
1434 * configure: Regenerated.
1436 2012-08-22 Roland McGrath <roland@hack.frob.com>
1438 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1439 Conditionalize whole body on [IREL].
1441 2012-08-22 Jeff Law <law@redhat.com>
1444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1445 if the family is PF_UNSPEC.
1447 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1449 * Makerules (lib-version): Rename from V.
1450 (install-lib-nosubdir): Change V to lib-version.
1452 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1455 * powerpc32/power6/wcschr.c: New file.
1456 * powerpc32/power6/wcscpy.c: New file.
1457 * powerpc32/power6/wcsrchr.c: New file.
1458 * powerpc64/power6/wcschr.c: New file.
1459 * powerpc64/power6/wcscpy.c: New file.
1460 * powerpc64/power6/wcsrchr.c: New file.
1462 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1464 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1465 (two_way_short_needle): Use it.
1466 * string/strstr.c (AVAILABLE1_USES_J): Define.
1467 * string/strcasestr.c: Likewise.
1469 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1471 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1474 * NEWS: Add an entry.
1475 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1476 define their defaults.
1477 (two_way_short_needle): Detect end-of-string on-the-fly.
1478 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1479 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1480 * string/bug-strcasestr1.c: New test.
1481 * string/Makefile: Run it.
1483 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1486 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1487 the first character.
1489 2012-08-21 Roland McGrath <roland@hack.frob.com>
1491 * csu/elf-init.c (__libc_csu_irel): Function removed.
1492 * csu/libc-start.c (apply_irel): New function.
1493 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1495 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1497 * sysdeps/unix/sysv/linux/kernel-features.h
1498 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1499 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1500 <kernel-features.h>.
1501 [__NR_fadvise64_64]: Make code unconditional.
1502 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1503 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1504 !__NR_fadvise64_64)]: Likewise.
1505 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1506 !__NR_fadvise64_64))]: Likewise.
1507 [__NR_fadvise64]: Make code unconditional.
1508 [!__NR_fadvise64]: Remove conditional code.
1509 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1510 <kernel-features.h>.
1511 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1513 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1516 not include <kernel-features.h>.
1517 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1519 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1521 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1522 include <kernel-features.h>.
1523 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1525 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1528 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1530 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1531 slight instruction rearrangements per scrollpipe analysis.
1532 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1534 2012-08-20 Roland McGrath <roland@hack.frob.com>
1536 * manual/syslog.texi (syslog; vsyslog, closelog):
1537 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1538 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1540 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1541 DSOCAPS to match condition on defining it.
1543 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1545 * sysdeps/unix/sysv/linux/kernel-features.h
1546 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1548 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1549 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1551 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1552 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1554 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1555 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1557 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1558 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1560 * sysdeps/unix/sysv/linux/kernel-features.h
1561 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1562 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1564 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1565 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1566 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1567 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1568 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1569 Make code unconditional.
1570 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1571 (__mmap64) [!__NR_mmap2]: Likewise.
1572 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1573 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1574 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1575 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1576 [__NR_mmap2]: Make code unconditional.
1577 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1578 (__mmap64) [!__NR_mmap2]: Likewise.
1580 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1582 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1584 2012-08-18 Andreas Jaeger <aj@suse.de>
1586 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1588 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1590 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1591 * include/unistd.h (__have_sock_cloexec): Likewise.
1592 (__have_pipe2): Likewise.
1593 (__have_dup3): Likewise.
1595 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1598 * include/unistd.h (__have_pipe2): Change define into an extern int.
1599 (__have_dup3): Likewise.
1600 * socket/have_sock_cloexec.c: Include fcntl.h.
1601 (__have_pipe2): New variable.
1602 (__have_dup3): Likewise.
1604 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1606 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1608 2012-08-17 Marek Polacek <polacek@redhat.com>
1610 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1611 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1613 2012-08-17 Roland McGrath <roland@hack.frob.com>
1615 * configure.in: Add AC_SUBST for sysheaders.
1616 * configure: Regenerated.
1617 * config.make.in (sysheaders): New substituted variable.
1619 * sysdeps/unix/mkfifo.c: Moved ...
1620 * sysdeps/posix/mkfifo.c: ... here.
1621 * sysdeps/unix/mkfifoat.c: Moved ...
1622 * sysdeps/posix/mkfifoat.c: ... here.
1624 * sysdeps/unix/utime.c: Moved ...
1625 * sysdeps/posix/utime.c: ... here.
1627 * sysdeps/unix/time.c: Moved ...
1628 * sysdeps/posix/time.c: ... here.
1629 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1630 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1632 * sysdeps/unix/nice.c: Moved ...
1633 * sysdeps/posix/nice.c: ... here.
1635 * sysdeps/unix/alarm.c: Moved ...
1636 * sysdeps/posix/alarm.c: ... here.
1638 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1640 2012-08-17 Jeff Law <law@redhat.com>
1642 * intl/Makefile (codeset_mo): New variable.
1643 ($(codeset_mo)): New target.
1644 (tst-codeset.out): Depend on that. Remove explicit rule.
1645 (tst-gettext3.out, tst-gettext5.out): Likewise.
1646 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1647 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1648 * intl/tst-codeset.sh: Remove.
1649 * intl/tst-gettext3.sh: Likewise.
1650 * intl/tst-gettext5.sh: Likewise.
1652 2012-08-17 Roland McGrath <roland@hack.frob.com>
1654 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1655 * sysdeps/unix/syscalls.list: ... here.
1657 * sysdeps/posix/getaddrinfo.c
1658 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1659 (gaiconf_init, gaiconf_reload): Use them.
1661 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1662 Define using time_t rather than struct timespec.
1664 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1665 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1667 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1669 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1670 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1673 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1674 __libc_cleanup_push argument.
1676 * bits/param.h: New file.
1677 * misc/sys/param.h: New file.
1678 * include/sys/param.h: New file.
1679 * misc/Makefile (headers): Add bits/param.h.
1680 * sysdeps/generic/sys/param.h: File removed.
1681 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1682 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1683 * sysdeps/mach/hurd/bits/param.h: New file.
1684 * sysdeps/mach/hurd/sys/param.h: New file.
1686 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1689 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1691 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1692 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1695 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1696 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1697 rather than -D_IO_MTSAFE_IO conditionally.
1698 * stdio-common/Makefile (CPPFLAGS): Likewise.
1699 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1700 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1701 Use $(libio-mtsafe).
1702 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1704 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1705 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1706 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1707 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1708 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1709 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1710 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1711 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1712 (CFLAGS-fread_u_chk.c): Likewise.
1713 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1714 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1715 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1716 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1717 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1718 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1719 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1720 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1721 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1723 * libio/Makefile: Test [$(libc-reentrant) = yes]
1724 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1727 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1728 * sysdeps/pthread/configure: File removed.
1729 * sysdeps/pthread/Makeconfig: New file.
1730 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1731 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1733 2012-08-16 Gary Benson <gbenson@redhat.com>
1735 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1736 unmapping the first object in a namespace.
1738 2012-08-16 Roland McGrath <roland@hack.frob.com>
1740 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1741 (__internal_setnetgrent): ... this. Add internal_function to
1742 definition. Add libc_hidden_def.
1743 (setnetgrent): Update caller.
1744 (internal_endnetgrent): Renamed to ...
1745 (__internal_endnetgrent): ... this. Add internal_function to
1746 definition. Add libc_hidden_def.
1747 (endnetgrent): Update caller.
1748 (internal_getnetgrent_r): Renamed to ...
1749 (__internal_getnetgrent_r): ... this. Add internal_function to
1750 definition. Add libc_hidden_def.
1751 (__getnetgrent_r): Update caller.
1752 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1754 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1756 * stdlib/longlong.h: Update from GCC.
1758 2012-08-16 Roland McGrath <roland@hack.frob.com>
1760 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1761 on _QL, which is set by umul_ppmm but never used.
1762 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1763 variables, which are set by GMP macros but never used.
1764 * stdio-common/_itowa.c (_itowa): Likewise.
1765 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1766 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1768 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1770 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1771 struct La_sh_regs is not constant.
1772 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1773 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1774 and struct La_sparc64_regs are not constant.
1776 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1778 * sysdeps/unix/sysv/linux/kernel-features.h
1779 (__ASSUME_POSIX_TIMERS): Remove.
1780 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1781 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1782 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1783 Make code unconditional.
1784 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1785 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1786 Make code unconditional.
1787 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1788 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1789 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1790 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1791 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1792 Make code unconditional.
1793 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1794 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1795 (__libc_missing_posix_timers): Remove.
1797 2012-08-15 Roland McGrath <roland@hack.frob.com>
1799 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1800 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1802 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1804 * elf/dl-sym.c: Include <stdlib.h>.
1806 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1807 constants, which avoids warnings in 32-bit builds.
1809 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1810 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1812 * misc/lseek.c: File moved to ...
1813 * io/lseek.c: ... here.
1815 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1817 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1818 shifting LEN more than 31 bits at once.
1820 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1823 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1824 segmentation fault for a case of two empty input strings.
1825 * string/test-strncasecmp.c (check1): Renamed to...
1827 (bz14195): Add new testcase for two empty input strings and N > 0.
1828 (test_main): Call new testcase, adapt for renamed function.
1830 2012-08-15 Andreas Jaeger <aj@suse.de>
1833 * crypt/md5test2.c: New test, based on test supplied by Serge
1834 Belyshev <belyshev@depni.sinp.msu.ru>.
1835 * crypt/Makefile (xtests): Add md5test-giant..
1836 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1838 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1841 * crypt/md5.c (md5_process_block): Don't assume the buffer
1842 length is less than 2**32.
1843 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1844 length is less than 2**64.
1846 2012-08-15 Roland McGrath <roland@hack.frob.com>
1848 * string/str-two-way.h: Include <sys/param.h>.
1849 (MAX): Macro removed.
1851 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1852 Move #define and #undef of memmove to just before and after
1853 including <string.h>.
1855 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1856 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1857 and after including <string.h>. Move declarations of
1858 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1859 to before #include "string/memmove.c".
1861 * include/dirent.h: Declare __getdirentries.
1863 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1864 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1866 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1868 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1869 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1870 * sysdeps/i386/configure: Regenerated.
1871 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1872 STABS_CURRENT_FILE, and STABS_FUN.
1873 (END): Remove call to STABS_FUN_END.
1874 (STABS_CURRENT_FILE1): Delete.
1875 (STABS_CURRENT_FILE): Likewise.
1876 (STABS_FUN): Likewise.
1877 (STABS_FUN_END): Likewise.
1878 (STABS_FUN2): Likewise.
1879 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1880 * sysdeps/x86_64/configure: Regenerated.
1882 2012-08-14 Roland McGrath <roland@hack.frob.com>
1884 * elf/dl-open.c: Include <atomic.h>.
1885 * elf/dl-lookup.c: Likewise.
1887 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1889 * sysdeps/unix/sysv/linux/kernel-features.h
1890 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1891 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1893 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1895 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1896 condition on __ASSUME_CLONE_THREAD_FLAGS.
1898 2012-08-14 Andreas Jaeger <aj@suse.de>
1900 * sysdeps/i386/fpu/libm-test-ulps: Update.
1902 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1904 * include/atomic.h (atomic_exchange_and_add): Split into ...
1905 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1908 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1912 2012-08-13 Jeff Law <law@redhat.com>
1914 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1915 null byte in the output string.
1917 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1919 * sysdeps/unix/sysv/linux/kernel-features.h
1920 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1921 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1922 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1923 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1924 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1925 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1926 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1928 2012-08-09 Jeff Law <law@redhat.com>
1931 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1932 When avoid_arena is set, don't retry in the that arena. Pick the
1933 next one, whatever it might be.
1934 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1935 (arena_lock): Pass in new parameter to arena_get2.
1936 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1938 (__libc_malloc): Unify retrying after main arena failure with
1939 __libc_memalign version.
1940 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1942 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1945 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1946 to __redirect_strstr.
1947 (__strstr_sse42): Use typeof __redirect_strstr.
1948 (__strstr_ia32): Likewise.
1949 (__libc_strstr): New prototype.
1950 (strstr): Renamed to ...
1951 (__libc_strstr): This.
1952 (strstr): New strong alias of __libc_strstr.
1953 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1954 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1957 (__libc_time): New prototype.
1958 (time_ifunc): Replace time with __libc_time.
1959 (time): New strong alias and hidden definition of __libc_time.
1960 (__GI_time): Remove strong alias.
1961 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1963 (memmove): Redefined to __redirect_memmove.
1964 (__memmove_sse2): Use typeof __redirect_memmove.
1965 (__memmove_ssse3): Likewise.
1966 (__memmove_ssse3_back): Likewise.
1967 (__libc_memmove): New prototype.
1968 (memmove): Renamed to ...
1969 (__libc_memmove): This.
1970 (memmove): New strong alias of __libc_memmove.
1972 2012-08-08 Mark Salter <msalter@redhat.com>
1975 (R_MN10300_TLS_GD): Define.
1976 (R_MN10300_TLS_LD): Likewise.
1977 (R_MN10300_TLS_LDO): Likewise.
1978 (R_MN10300_TLS_GOTIE): Likewise.
1979 (R_MN10300_TLS_IE): Likewise.
1980 (R_MN10300_TLS_LE): Likewise.
1981 (R_MN10300_TLS_DTPMOD): Likewise.
1982 (R_MN10300_TLS_DTPOFF): Likewise.
1983 (R_MN10300_TLS_TPOFF): Likewise.
1984 (R_MN10300_SYM_DIFF): Likewise.
1985 (R_MN10300_ALIGN): Likewise.
1986 (R_MN10300_NUM): Update.
1988 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1990 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1993 2012-08-08 Roland McGrath <roland@hack.frob.com>
1995 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1997 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1998 sysdeps/unix -> sysdeps/posix move.
1999 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2001 2012-08-07 Allan McRae <allan@archlinux.org>
2004 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2005 (SUNOS_CPP): Likewise.
2006 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2008 (open_input): Call CPP using execvp.
2010 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2012 * sysdeps/unix/sysv/linux/kernel-features.h
2013 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2014 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2015 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2016 (__ASSUME_WAITID_SYSCALL): Likewise.
2017 * sysdeps/unix/sysv/linux/dl-execstack.c
2018 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2020 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2022 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2023 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2024 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2026 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2028 [__ASSUME_WAITID_SYSCALL]: Likewise.
2029 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2031 2012-08-07 Roland McGrath <roland@hack.frob.com>
2033 * sysdeps/unix/closedir.c: Renamed to ...
2034 * sysdeps/posix/closedir.c: ... here.
2035 * sysdeps/unix/dirfd.c: Renamed to ...
2036 * sysdeps/posix/dirfd.c: ... here.
2037 * sysdeps/unix/dirstream.h: Renamed to ...
2038 * sysdeps/posix/dirstream.h: ... here.
2039 * sysdeps/unix/fdopendir.c: Renamed to ...
2040 * sysdeps/posix/fdopendir.c: ... here.
2041 * sysdeps/unix/opendir.c: Renamed to ...
2042 * sysdeps/posix/opendir.c: ... here.
2043 * sysdeps/unix/readdir.c: Renamed to ...
2044 * sysdeps/posix/readdir.c: ... here.
2045 * sysdeps/unix/readdir_r.c: Renamed to ...
2046 * sysdeps/posix/readdir_r.c: ... here.
2047 * sysdeps/unix/rewinddir.c: Renamed to ...
2048 * sysdeps/posix/rewinddir.c: ... here.
2049 * sysdeps/unix/seekdir.c: Renamed to ...
2050 * sysdeps/posix/seekdir.c: ... here.
2051 * sysdeps/unix/telldir.c: Renamed to ...
2052 * sysdeps/posix/telldir.c: ... here.
2053 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2054 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2055 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2056 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2058 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2059 * bits/fcntl.h: ... here.
2061 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2063 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2064 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2065 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2066 (struct flock): Move l_start, l_len to the beginning.
2067 Use __pid_t for l_pid.
2068 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2069 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2070 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2071 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2072 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2073 [__USE_LARGEFILE64] (struct flock64): New type.
2074 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2076 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2077 * bits/dirent.h: ... here.
2079 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2080 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2082 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2084 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2085 Change from 2.6.0 to 2.6.16.
2086 * sysdeps/unix/sysv/linux/configure: Regenerated.
2087 * sysdeps/unix/sysv/linux/kernel-features.h
2088 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2089 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2091 (__ASSUME_UTIMES): Likewise.
2092 (__ASSUME_CLONE_STOPPED): Remove.
2093 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2094 architectures, not kernel version.
2095 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2096 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2097 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2098 (__ASSUME_WAITID_SYSCALL): Likewise.
2099 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2100 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2101 * README: State 2.6.16 as minimum Linux kernel version. Do not
2102 refer to older versions.
2104 2012-08-06 Roland McGrath <roland@hack.frob.com>
2106 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2107 Define alphasort64 as an alias.
2108 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2109 Define versionsort64 as an alias.
2110 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2111 Define scandir64 as an alias.
2112 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2113 Define scandirat64 as an alias.
2114 * dirent/alphasort64.c (alphasort64):
2115 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2116 * dirent/versionsort64.c: Likewise.
2117 * dirent/scandir64.c: Likewise.
2118 * dirent/scandirat64.c: Likewise.
2119 * sysdeps/wordsize-64/alphasort.c: File removed.
2120 * sysdeps/wordsize-64/alphasort64.c: File removed.
2121 * sysdeps/wordsize-64/scandir.c: File removed.
2122 * sysdeps/wordsize-64/scandir64.c: File removed.
2123 * sysdeps/wordsize-64/scandirat.c: File removed.
2124 * sysdeps/wordsize-64/scandirat64.c: File removed.
2125 * sysdeps/wordsize-64/versionsort.c: File removed.
2126 * sysdeps/wordsize-64/versionsort64.c: File removed.
2127 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2128 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2129 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2130 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2131 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2132 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2133 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2134 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2136 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2137 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2138 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2139 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2140 [defined __arch64__ || defined __sparcv9]
2141 (__INO_T_MATCHES_INO64_T): New macro.
2142 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2143 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2144 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2145 * sysdeps/unix/sysv/linux/bits/dirent.h
2146 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2147 (_DIRENT_MATCHES_DIRENT64): New macro.
2149 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2150 Define lockf64 as an alias.
2151 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2152 Define fseeko64 as an alias.
2153 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2154 Define ftello64 as an alias.
2155 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2156 Define _IO_fgetpos64 and fgetpos64 as aliases.
2157 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2158 Define _IO_fsetpos64 and fsetpos64 as aliases.
2159 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2160 Conditionalize body on this.
2161 * libio/fseeko64.c: Likewise.
2162 * libio/ftello64.c: Likewise.
2163 * libio/iofgetpos64.c: Likewise.
2164 * libio/iofsetpos64.c: Likewise.
2165 * sysdeps/wordsize-64/lockf.c: File removed.
2166 * sysdeps/wordsize-64/lockf64.c: File removed.
2167 * sysdeps/wordsize-64/fseeko.c: File removed.
2168 * sysdeps/wordsize-64/fseeko64.c: File removed.
2169 * sysdeps/wordsize-64/ftello.c: File removed.
2170 * sysdeps/wordsize-64/ftello64.c: File removed.
2171 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2172 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2173 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2174 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2175 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2176 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2177 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2178 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2179 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2180 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2181 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2182 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2183 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2184 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2186 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2188 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2190 [defined __arch64__ || defined __sparcv9]
2191 (__OFF_T_MATCHES_OFF64_T): New macro.
2192 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2193 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2194 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2195 (__OFF_T_MATCHES_OFF64_T): New macro.
2197 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2199 * stdlib/secure-getenv.c (__secure_getenv): Replace
2200 GLIBC_2_16 with GLIBC_2_17.
2202 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2204 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2205 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2207 2012-08-03 David S. Miller <davem@davemloft.net>
2209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2211 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2213 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2215 (__ASSUME_CORRECT_SI_PID): Likewise.
2216 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2217 (__ASSUME_TMPFS_NAME): Likewise.
2218 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2219 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2220 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2221 (HAVE_AUX_SECURE): Make definition unconditional.
2222 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2223 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2225 2012-08-03 Roland McGrath <roland@hack.frob.com>
2227 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2228 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2229 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2230 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2231 __eloop_threshold instead of SYMLOOP_MAX.
2233 * sysdeps/generic/eloop-threshold.h: New file.
2234 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2236 * elf/chroot_canon.c (chroot_canon): Likewise.
2238 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2241 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2242 Change to 2.6.0 everywhere.
2243 * sysdeps/unix/sysv/linux/configure: Regenerated.
2244 * sysdeps/unix/sysv/linux/kernel-features.h
2245 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2246 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2248 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2249 (__ASSUME_FUTEX_REQUEUE): Remove.
2250 (__ASSUME_STATFS64): Define unconditionally.
2251 (__ASSUME_AT_SECURE): Likewise.
2252 (__ASSUME_CORRECT_SI_PID): Likewise.
2253 (__ASSUME_TGKILL): Define without depending on kernel version for
2255 (__ASSUME_UTIMES): Likewise.
2256 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2258 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2259 (__ASSUME_TMPFS_NAME): Likewise.
2260 * README: Update reference to Linux kernel versions.
2262 2012-08-02 Marek Polacek <polacek@redhat.com>
2265 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2266 libc_cv_asm_type_prefix with %.
2267 * configure: Regenerated.
2268 * include/libc-symbols.h: Remove comment about
2269 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2270 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2271 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2272 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2273 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2274 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2275 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2276 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2277 * elf/tst-unique2mod1.c: Likewise.
2278 * elf/tst-unique1mod2.c: Likewise.
2279 * elf/tst-unique1mod1.c: Likewise.
2280 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2281 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2282 Replace ASM_TYPE_DIRECTIVE with .type.
2283 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2284 * sysdeps/i386/sysdep.h: Likewise.
2285 * sysdeps/x86_64/sysdep.h: Likewise.
2286 * sysdeps/sh/sysdep.h: Likewise.
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2288 Do not define ASM_TYPE_DIRECTIVE.
2289 * sysdeps/powerpc/sysdep.h: Likewise.
2290 * sysdeps/powerpc/powerpc32/sysdep.h:
2291 Replace ASM_TYPE_DIRECTIVE with .type.
2292 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2293 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2294 * sysdeps/i386/fpu/e_powf.S: Likewise.
2295 * sysdeps/i386/fpu/e_expl.S: Likewise.
2296 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2297 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2298 * sysdeps/i386/fpu/e_pow.S: Likewise.
2299 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2300 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2301 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2302 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2303 * sysdeps/i386/fpu/e_log2.S: Likewise.
2304 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2305 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2306 * sysdeps/i386/fpu/e_powl.S: Likewise.
2307 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2308 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2309 * sysdeps/i386/fpu/e_logl.S: Likewise.
2310 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2311 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2312 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2313 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2314 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2315 * sysdeps/i386/fpu/e_log.S: Likewise.
2316 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2317 * sysdeps/i386/fpu/e_logf.S: Likewise.
2318 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2319 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2320 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2321 * sysdeps/i386/fpu/e_log10.S: Likewise.
2322 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2323 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2324 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2325 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2326 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2327 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2328 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2329 * sysdeps/i386/i686/strtok.S: Likewise.
2330 * sysdeps/i386/i386-mcount.S: Likewise.
2331 * sysdeps/i386/strtok.S: Likewise.
2332 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2333 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2334 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2335 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2336 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2337 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2338 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2339 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2340 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2341 * sysdeps/x86_64/_mcount.S: Likewise.
2342 * sysdeps/x86_64/strtok.S: Likewise.
2343 * sysdeps/sh/_mcount.S: Likewise.
2345 2012-08-01 Roland McGrath <roland@hack.frob.com>
2347 * libio/iofopen.c: Include <fcntl.h>.
2348 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2349 (_IO_fopen64, fopen64): Define as aliases.
2350 * libio/iofopen64.c: Include <fcntl.h>.
2351 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2352 Conditionalize body on this.
2353 * sysdeps/wordsize-64/iofopen.c: File removed.
2354 * sysdeps/wordsize-64/iofopen64.c: File removed.
2356 2012-08-01 Marek Polacek <polacek@redhat.com>
2358 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2359 Use dlfcn directly instead of a variable.
2360 (binfmt-subdir): Do not define.
2363 2012-08-01 Joseph Myers <joseph@codesourcery.com>
2365 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2366 Remove all definitions.
2367 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2368 <kernel-features.h>.
2369 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2370 (miss_F_GETOWN_EX): Remove all definitions.
2371 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2373 [!__ASSUME_FCNTL64]: Remove conditional code.
2374 [__ASSUME_FCNTL64]: Make code unconditional.
2375 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2376 <kernel-features.h>.
2377 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2378 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2379 (lockf64) [__NR_fcntl64]: Make code unconditional.
2380 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2382 * sysdeps/unix/sysv/linux/kernel-features.h
2383 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2384 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2385 Make code unconditional.
2386 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2387 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2389 [__NR_vfork]: Make code unconditional.
2390 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2391 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2393 [__NR_vfork]: Make code unconditional.
2394 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2395 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2397 2012-08-01 Roland McGrath <roland@hack.frob.com>
2399 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2400 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2402 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2403 Define mkstemp64 as an alias.
2404 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2405 Define mkstemps64 as an alias.
2406 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2407 Define mkostemp64 as an alias.
2408 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2409 Define mkostemps64 as an alias.
2410 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2411 Conditionalize body on this.
2412 * misc/mkostemp64.c: Likewise.
2413 * misc/mkostemps64.c: Likewise.
2414 * misc/mkstemps64.c: Likewise.
2415 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2416 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2417 * sysdeps/wordsize-64/mkostemp.c: File removed.
2418 * sysdeps/wordsize-64/mkstemp.c: File removed.
2419 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2420 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2421 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2422 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2425 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2426 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2427 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2428 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2430 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2431 compat_symbol macros from <shlib-compat.h> rather than the underlying
2432 default_symbol_version and symbol_version macros, so that DEFAULT
2433 lines in shlib-versions are respected.
2434 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2436 2012-08-01 Florian Weimer <fweimer@redhat.com>
2438 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2439 Declare with warn_unused_result.
2440 (setgid, setregid, setegid, setresgid): Likewise.
2441 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2443 * WUR-REPORT: Remove set*id functions.
2445 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2447 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2449 2012-07-31 Roland McGrath <roland@hack.frob.com>
2451 * include/sys/socket.h (__libc_accept, __libc_accept4):
2452 Add attribute_hidden.
2453 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2455 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2457 * inet/getnetgrent_r.c (setup): Likewise.
2459 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2461 2012-07-31 David S. Miller <davem@davemloft.net>
2463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2465 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2468 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2469 value between 1.0 and 2.0 and smaller part has absolute value less
2471 * math/s_clog10.c (__clog10): Likewise.
2472 * math/s_clog10f.c (__clog10f): Likewise.
2473 * math/s_clog10l.c (__clog10l): Likewise.
2474 * math/s_clogf.c (__clogf): Likewise.
2475 * math/s_clogl.c (__clogl): Likewise.
2476 * math/libm-test.inc (clog_test): Add more tests.
2477 (clog10_test): Likewise.
2478 * sysdeps/i386/fpu/libm-test-ulps: Update.
2479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2481 2012-07-31 Florian Weimer <fweimer@redhat.com>
2483 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2484 Exit with zero in case no suitable GID is found, and write a
2485 message to standard error.
2487 2012-07-30 Roland McGrath <roland@hack.frob.com>
2489 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2491 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2492 (MAXPATHLEN): Removed.
2493 (NOGROUP, NODEV): New macros.
2494 (setbit, clrbit, isset, isclr): New macros.
2495 (howmany, roundup, powerof2): New macros.
2496 (DEV_BSIZE): New macro.
2498 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2499 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2501 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2502 definition on [!__NO_LONG_DOUBLE_MATH].
2504 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2505 PTR_MANGLE and PTR_DEMANGLE.
2507 * socket/accept4.c (accept4): Rename to __libc_accept4.
2508 Define accept4 as a weak alias.
2510 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2511 on [_DIRENT_HAVE_D_TYPE].
2512 * io/ftw.c (ftw_dir): Likewise.
2514 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2516 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2518 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2519 Use the BSD numbers rather than the arbitrary ones we had.
2520 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2521 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2522 (SIGXCPU, SIGXFSZ): New macros.
2525 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2526 initializer on [_LIBC_REENTRANT].
2528 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2529 definitions inside [_POSIX_MAPPED_FILES].
2531 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2533 * dirent/opendir.c: Include <fcntl.h>.
2535 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2536 (__libc_getspecific): Likewise.
2537 (__libc_key_create): Likewise.
2539 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2540 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2541 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2542 (tmpfile64): Define as alias.
2543 * sysdeps/wordsize-64/tmpfile.c: File removed.
2544 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2545 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2546 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2548 * stdio-common/vfscanf.c: Include <stdbool.h>.
2549 * nss/makedb.c: Likewise.
2550 * stdio-common/_i18n_number.h: Likewise.
2551 * argp/argp-help.c: Likewise.
2552 * posix/wordexp.c: Likewise.
2553 * sysdeps/posix/spawni.c: Likewise.
2554 * nss/nss_files/files-initgroups.c: Likewise.
2555 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2556 * nss/nss_files/files-initgroups.c: Likewise.
2557 * nss/nss_db/db-netgrp.c: Likewise.
2558 * nss/nss_db/db-initgroups.c: Likewise.
2559 * io/fchmodat.c: Include <sys/stat.h>.
2561 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2562 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2564 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2567 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2568 Add multiple inclusion protection.
2570 2012-07-27 David S. Miller <davem@davemloft.net>
2572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2574 2012-07-27 Gary Benson <gbenson@redhat.com>
2577 * elf/rtld.c: Include <stap-probe.h>.
2578 (dl_main): Added static probes "init_start" and "init_complete".
2579 * elf/dl-load.c: Include <stap-probe.h>.
2580 (lose): Take new parameter "nsid".
2581 Added static probe "map_failed".
2582 (_dl_map_object_from_fd): Pass namespace id to lose.
2583 Added static probe "map_start".
2584 (open_verify): Pass namespace id to lose.
2585 * elf/dl-open.c: Include <stap-probe.h>.
2586 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2587 and "reloc_complete".
2588 * elf/dl-close.c: Include <stap-probe.h>.
2589 (_dl_close_worker): Added static probes "unmap_start" and
2591 * elf/rtld-debugger-interface.txt: New file documenting the above.
2593 2012-07-26 Roland McGrath <roland@hack.frob.com>
2595 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2596 rather than a string variable.
2597 * sunrpc/rpc_main.c (h_output): Likewise.
2598 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2600 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2602 * inet/check_native.c: New file.
2604 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2607 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2608 if larger part has absolute value 1.0.
2609 * math/s_clog10.c (__clog10): Likewise.
2610 * math/s_clog10f.c (__clog10f): Likewise.
2611 * math/s_clog10l.c (__clog10l): Likewise.
2612 * math/s_clogf.c (__clogf): Likewise.
2613 * math/s_clogl.c (__clogl): Likewise.
2614 * math/libm-test.inc (clog_test): Add more tests.
2615 (clog10_test): Likewise.
2616 * sysdeps/i386/fpu/libm-test-ulps: Update.
2617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2619 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2620 (pltexit): Likewise.
2621 (La_regs): Likewise.
2622 (La_retval): Likewise.
2623 (int_retval): Likewise.
2624 Update #error for removed macros to refer only to definitions in
2626 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2628 (pltexit): Likewise.
2629 (La_regs): Likewise.
2630 (La_retval): Likewise.
2631 (int_retval): Likewise.
2632 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2634 (pltexit): Likewise.
2635 (La_regs): Likewise.
2636 (La_retval): Likewise.
2637 (int_retval): Likewise.
2638 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2640 (pltexit): Likewise.
2641 (La_regs): Likewise.
2642 (La_retval): Likewise.
2643 (int_retval): Likewise.
2644 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2646 (pltexit): Likewise.
2647 (La_regs): Likewise.
2648 (La_retval): Likewise.
2649 (int_retval): Likewise.
2650 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2652 (pltexit): Likewise.
2653 (La_regs): Likewise.
2654 (La_retval): Likewise.
2655 (int_retval): Likewise.
2656 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2658 (pltexit): Likewise.
2659 (La_regs): Likewise.
2660 (La_retval): Likewise.
2661 (int_retval): Likewise.
2662 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2663 macro definitions in tst-audit.h.
2664 * sysdeps/i386/tst-audit.h: New file.
2665 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2666 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2667 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2668 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2669 * sysdeps/sh/tst-audit.h: Likewise.
2670 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2671 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2672 * sysdeps/x86_64/tst-audit.h: Likewise.
2674 2012-07-26 Andreas Jaeger <aj@suse.de>
2676 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2679 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2680 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2681 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2683 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2684 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2685 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2687 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2690 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2692 (si_call_addr, si_syscall, si_arch): Define new macro.
2693 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2695 (si_call_addr, si_syscall, si_arch): Define new marcro.
2696 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2698 (si_call_addr, si_syscall, si_arch): Define new macro.
2699 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2701 (si_call_addr, si_syscall, si_arch): Define new macro.
2703 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2706 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2707 Change to 2.4.21 where previously 2.4.1.
2708 * sysdeps/unix/sysv/linux/configure: Regenerated.
2709 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2710 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2711 Linux kernel version.
2712 (__ASSUME_STD_AUXV): Remove.
2713 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2715 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2716 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2717 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2718 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2719 (__ASSUME_NETLINK_SUPPORT): Likewise.
2720 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2721 (__no_netlink_support): Remove conditional definition.
2722 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2724 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2725 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2726 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2727 (if_nameindex_ioctl): Remove.
2728 (if_nameindex_netlink): Do not handle __no_netlink_support.
2729 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2731 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2732 Remove conditional code.
2733 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2735 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2737 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2738 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2739 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2741 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2742 [!__ASSUME_STD_AUXV]: Remove conditional code.
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2744 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2745 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2747 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2748 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2750 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2752 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2753 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2755 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2757 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2760 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2763 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2765 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2767 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2769 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2772 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2774 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2777 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2779 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2781 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2783 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2786 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2788 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2790 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2792 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2795 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2797 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2798 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2799 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2800 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2801 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2802 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2803 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2804 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2805 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2806 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2807 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2808 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2809 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2810 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2811 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2812 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2813 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2814 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2815 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2817 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2818 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2819 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2821 2012-07-25 Florian Weimer <fweimer@redhat.com>
2823 * Versions.def: Add GLIBC_2.17.
2824 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2825 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2826 Introduce __libc_secure_getenv.
2827 * stdlib/Versions (2.17): Add secure_getenv
2828 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2829 * stdlib/secure-getenv.c: Rename __secure_getenv to
2830 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2831 symbol __secure_getenv for GLIBC_2.0.
2832 * stdlib/tst-secure-getenv.c: New.
2833 * stdlib/Makefile (tests): Add testcase.
2834 * manual/startup.texi (Environment Access): Document
2836 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2837 __libc_secure_getenv.
2838 * inet/ruserpass.c (ruserpass): Likewise.
2839 * malloc/mtrace.c (mtrace): Likewise.
2840 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2841 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2842 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2843 * sysdeps/posix/tempname.c: Likewise. Evaluate
2845 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2846 __secure_getenv to __libc_secure_getenv.
2847 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2854 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2860 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2862 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2863 (struct La_i86_retval): Likewise.
2864 (struct La_x86_64_regs): Likewise.
2865 (struct La_x86_64_retval): Likewise.
2866 (struct La_x32_regs): Likewise.
2867 (struct La_x32_retval): Likewise.
2868 (struct La_ppc32_regs): Likewise.
2869 (struct La_ppc32_retval): Likewise.
2870 (struct La_ppc64_regs): Likewise.
2871 (struct La_ppc64_retval): Likewise.
2872 (struct La_sh_regs): Likewise.
2873 (struct La_sh_retval): Likewise.
2874 (struct La_s390_32_regs): Likewise.
2875 (struct La_s390_32_retval): Likewise.
2876 (struct La_s390_64_regs): Likewise.
2877 (struct La_s390_64_retval): Likewise.
2878 (struct La_sparc32_regs): Likewise.
2879 (struct La_sparc32_retval): Likewise.
2880 (struct La_sparc64_regs): Likewise.
2881 (struct La_sparc64_retval): Likewise.
2882 (struct audit_ifaces): Remove architecture-specific pltenter and
2884 * sysdeps/i386/ldsodefs.h: New file.
2885 * sysdeps/powerpc/ldsodefs.h: Likewise.
2886 * sysdeps/s390/ldsodefs.h: Likewise.
2887 * sysdeps/sh/ldsodefs.h: Likewise.
2888 * sysdeps/sparc/ldsodefs.h: Likewise.
2889 * sysdeps/x86_64/ldsodefs.h: Likewise.
2891 2012-07-25 Marek Polacek <polacek@redhat.com>
2894 * math/libm-test.inc (yn_test): Add another test.
2895 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2896 to ERANGE when the result is +-Inf.
2897 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2898 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2899 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2900 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2902 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2904 * conform/data/time.h-data (NULL): Use macro-constant. Require
2906 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2908 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2910 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2912 * configure.in <sysdeps resolving>: Correct printing
2914 * configure: Regenerate.
2916 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2918 * math/w_ilogb.c: Include <limits.h>.
2919 * math/w_ilogbl.c: Likewise.
2921 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2923 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2924 va_copy. Document allowing for unavailable va_copy only as
2925 pre-C99 compatibility.
2926 * manual/string.texi (Copying and Concatenation): Use va_copy
2927 instead of __va_copy in concat example.
2929 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2931 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2932 (__sendto): Use create_address_port. Initialize APORT and deallocate
2935 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2936 with O_NOLINK passed to __file_name_lookup.
2938 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2939 with O_NOLINK passed to __file_name_lookup.
2941 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2942 negative N or less than NGIDS.
2944 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2945 type to string_t. Set ERANGE as errno and return it if NAME is not big
2946 enough. Use memcpy instead of strncpy.
2948 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2950 * elf/Makefile (check-data): Remove.
2951 (localplt.data): New vpath directive.
2952 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2953 instead of $(check-data).
2954 * scripts/data/localplt-generic.data: Move to ...
2955 * sysdeps/generic/localplt.data: ... here.
2956 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2957 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2958 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2961 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2964 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2967 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2970 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2973 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2977 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2979 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2980 PPC32 and PPC64 files.
2981 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2982 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2984 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2986 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2987 __makecontext_ret to ...
2988 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2989 ... here and call exit if uc_link is NULL. New file.
2990 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2991 __makecontext_ret.S.
2992 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2993 __makecontext_ret to ...
2994 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2995 ... here and call exit if uc_link is NULL. New file.
2996 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2997 __makecontext_ret.S.
2999 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3001 * elf/elf.h (R_390_IRELATIVE): New definition.
3002 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3003 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3004 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3005 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3006 (elf_machine_lazy_rel): Likewise.
3007 * sysdeps/s390/dl-irel.h: New file.
3008 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3009 * sysdeps/s390/s390-64/memset.S: New asm code.
3010 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3011 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3012 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3013 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3014 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3015 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3016 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3017 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3018 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3019 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3020 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3021 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3022 * sysdeps/s390/s390-32/memset.S: New asm code.
3023 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3025 2012-07-17 Marek Polacek <polacek@redhat.com>
3028 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3029 * sysdeps/s390/s390-64/configure.in: Likewise.
3030 * sysdeps/sparc/configure.in: Likewise.
3031 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3032 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3033 * sysdeps/i386/configure.in: Likewise.
3034 * sysdeps/x86_64/configure.in: Likewise.
3035 * sysdeps/sh/configure.in: Likewise.
3036 * sysdeps/s390/s390-32/configure: Regenerated.
3037 * sysdeps/s390/s390-64/configure: Likewise.
3038 * sysdeps/x86_64/configure: Likewise.
3039 * sysdeps/sh/configure: Likewise.
3040 * sysdeps/powerpc/powerpc64/configure: Likewise.
3041 * sysdeps/powerpc/powerpc32/configure: Likewise.
3042 * sysdeps/sparc/configure: Likwise.
3043 * sysdeps/i386/configure: Likewise.
3045 * elf/dl-open.c: Comment fixes.
3047 2012-07-17 Joseph Myers <joseph@codesourcery.com>
3049 * Makefile [CXX] (check-data): Remove.
3050 [CXX] (c++-types.data): New vpath directive.
3051 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3052 vpath. Do not allow for C++ type data being missing.
3053 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3054 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3055 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3056 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3057 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3058 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3059 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3062 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3065 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3068 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3071 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3074 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3077 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3080 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3083 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3084 definitions to architecture-specific files.
3088 * sysdeps/i386/tls-macros.h: New file.
3089 * sysdeps/powerpc/tls-macros.h: Likewise.
3090 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3091 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3092 * sysdeps/sh/tls-macros.h: Likewise.
3093 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3094 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3095 * sysdeps/x86_64/tls-macros.h: Likewise.
3097 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3099 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3100 zero value for regular exit case.
3102 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3103 (__start_context): Preserve zero value for regular exit case.
3105 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3106 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3108 * manual/setjmp.texi (setcontext): Clarify normal process
3109 termination when uc_link is the null pointer.
3110 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3113 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3115 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3116 preprocessor. Test for each exception mask separately.
3118 2012-07-16 Andreas Jaeger <aj@suse.de>
3120 * po/ru.po: Update from translation team.
3122 2012-07-15 Joseph Myers <joseph@codesourcery.com>
3124 * conform/data/string.h-data (NULL): Use macro-constant. Require
3126 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3127 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3128 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3129 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3130 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3132 2012-07-13 Andreas Jaeger <aj@suse.de>
3134 * po/fr.po: Update from translation team.
3136 2012-07-12 Marek Polacek <polacek@redhat.com>
3139 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3140 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3143 2012-07-12 Joseph Myers <joseph@codesourcery.com>
3146 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3147 Change to 2.4.1 where previously 2.4.0.
3148 * sysdeps/unix/sysv/linux/configure: Regenerated.
3149 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3150 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3152 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3153 (__ASSUME_AT_CLKTCK): Remove.
3154 (__ASSUME_AT_PAGESIZE): Likewise.
3155 (__ASSUME_AT_XID): Likewise.
3156 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3157 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3158 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3160 (HAVE_AUX_PAGESIZE): Likewise.
3161 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3162 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3163 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3165 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3169 the temporary buffer used to invoke __gethostbyname2_r,
3170 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3171 host_data / struct gaih_addrtuple.
3172 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3173 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3174 header file nss/nsswitch.h.
3175 * nss/nsswitch.h (global scope): Add definition of implementation
3176 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3177 resolv/nss_dns/dns-host.c).
3179 2012-07-11 Andreas Jaeger <aj@suse.de>
3181 * po/fr.po: Update from translation team.
3183 * po/sv.po: Update from translation team
3184 * po/fr.po: Another update from translation team.
3186 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3188 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3189 for subnormals or multiply small sinh result by itself.
3190 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3193 2012-07-11 David S. Miller <davem@davemloft.net>
3195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3197 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3200 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3201 (INTERNAL_MARK): Shift it here.
3203 2012-07-10 Marek Polacek <polacek@redhat.com>
3206 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3207 libc_cv_asm_global_directive with .globl.
3208 * configure: Regenerated.
3209 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3211 * sysdeps/i386/configure: Regenerated.
3212 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3214 * sysdeps/x86_64/configure: Regenerated.
3215 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3216 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3217 * elf/tst-unique2mod2.c: Likewise.
3218 * elf/tst-unique2mod1.c: Likewise.
3219 * elf/tst-unique1mod2.c: Likewise.
3220 * elf/tst-unique1mod1.c: Likewise.
3221 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3222 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3223 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3224 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3225 * sysdeps/mach/sysdep.h: Likewise.
3226 * sysdeps/i386/sysdep.h: Likewise.
3227 * sysdeps/i386/i386-mcount.S: Likewise.
3228 * sysdeps/x86_64/_mcount.S: Likewise.
3229 * sysdeps/x86_64/sysdep.h: Likewise.
3230 * sysdeps/sh/_mcount.S: Likewise.
3231 * sysdeps/sh/sysdep.h: Likewise.
3232 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3233 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3234 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3235 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3236 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3237 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3238 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3239 * locale/localeinfo.h: Likewise.
3240 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3241 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3243 2012-07-09 Roland McGrath <roland@hack.frob.com>
3246 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3248 * manual/message.texi (The Uniforum approach): Likewise.
3249 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3250 (glibc iconv Implementation): Likewise.
3252 2012-07-09 Joseph Myers <joseph@codesourcery.com>
3255 * math/s_clog.c (__clog): Avoid scaling a value down where that
3256 could result in underflow.
3257 * math/s_clog10.c (__clog10): Likewise.
3258 * math/s_clog10f.c (__clog10f): Likewise.
3259 * math/s_clog10l.c (__clog10l): Likewise.
3260 * math/s_clogf.c (__clogf): Likewise.
3261 * math/s_clogl.c (__clogl): Likewise.
3262 * math/libm-test.inc (clog_test): Add more tests.
3263 (clog10_test): Likewise.
3264 * sysdeps/i386/fpu/libm-test-ulps: Update.
3265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3267 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3270 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3271 by 7 not 8 to examine high bit of fractional part.
3274 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3275 for call to __mcount_internal.
3276 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3277 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3278 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3280 2012-07-06 Joseph Myers <joseph@codesourcery.com>
3283 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3284 approximation for values within 0x1p-13f of an odd multiple of
3286 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3287 exception. Add more tests.
3288 * sysdeps/i386/fpu/libm-test-ulps: Update.
3291 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3292 inputs and return -1 for them. Do not check for +Inf in case not
3294 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3295 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3296 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3297 and return -1 for them. Do not check for +Inf in case not
3299 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3301 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3302 and return -1 for them. Do not check for +Inf in case not
3304 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3306 * sysdeps/i386/fpu/libm-test-ulps: Update.
3307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3309 2012-07-06 Mike Frysinger <vapier@gentoo.org>
3311 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3313 2012-07-05 Joseph Myers <joseph@codesourcery.com>
3317 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3318 could result in spurious underflow. Scale down values above
3319 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3320 * math/s_csqrtf.c (__csqrtf): Likewise.
3321 * math/s_csqrtl.c (__csqrtl): Likewise.
3322 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3324 * sysdeps/i386/fpu/libm-test-ulps: Update.
3325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3327 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3329 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3331 * catgets/xopen-msg.awk: New file.
3332 * catgets/xopen-msg.sed: Removed.
3334 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3336 * intl/po2test.awk: New file.
3337 * intl/po2test.sed: Removed.
3339 2012-07-04 Joseph Myers <joseph@codesourcery.com>
3342 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3343 or multiply small sinh result by itself.
3344 * math/s_ctanf.c (__ctanf): Likewise.
3345 * math/s_ctanh.c (__ctanh): Likewise.
3346 * math/s_ctanhf.c (__ctanhf): Likewise.
3347 * math/s_ctanhl.c (__ctanhl): Likewise.
3348 * math/s_ctanl.c (__ctanl): Likewise.
3349 * math/libm-test.inc (ctan_test_tonearest): New function.
3350 (ctan_test_towardzero): Likewise.
3351 (ctan_test_downward): Likewise.
3352 (ctan_test_upward): Likewise.
3353 (ctanh_test_tonearest): Likewise.
3354 (ctanh_test_towardzero): Likewise.
3355 (ctanh_test_downward): Likewise.
3356 (ctanh_test_upward): Likewise.
3357 (main): Call these new functions.
3358 * sysdeps/i386/fpu/libm-test-ulps: Update.
3359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3361 2012-07-03 Mike Frysinger <vapier@gentoo.org>
3363 * .gitignore: Delete /ports entry.
3365 2012-07-03 Andreas Jaeger <aj@suse.de>
3367 * po/bg.po: Update from translation team.
3368 * po/cs.po: Likewise.
3369 * po/de.po: Likewise.
3370 * po/hr.po: Likewise.
3371 * po/nl.pl: Likewise.
3372 * po/pl.po: Likewise.
3373 * po/vi.po: Likewise.
3375 2012-07-03 Joseph Myers <joseph@codesourcery.com>
3377 * Makeconfig [!+link] (+link-before-libc): New variable.
3378 [!+link] (+link-after-libc): Likewise.
3379 [!+link] (+link-tests): Likewise.
3380 [!+link] (+link): Define in terms of $(+link-before-libc) and
3381 $(+link-after-libc).
3382 [!+link-static] (+link-static-before-libc): New variable.
3383 [!+link-static] (+link-static-after-libc): Likewise.
3384 [!+link-static] (+link-static-tests): Likewise.
3385 [!+link-static] (+link-static): Define in terms of
3386 $(+link-static-before-libc) and $(+link-static-after-libc).
3387 [build-shared] (link-libc-before-gnulib): New variable.
3388 [build-shared] (link-libc-tests): Likewise.
3389 [build-shared] (link-libc): Define in terms of
3390 $(link-libc-before-gnulib).
3391 [!build-shared] (link-libc-tests): New variable.
3392 (link-libc-static-tests): New variable.
3393 [!gnulib] (gnulib-arch): New variable.
3394 [!gnulib] (gnulib-tests): Likewise.
3395 [!gnulib] (static-gnulib-arch): Likewise.
3396 [!gnulib] (static-gnulib-tests): Likewise.
3397 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3398 Define with "=" instead of ":=".
3399 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3400 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3401 * Rules (binaries-all-notests): New variable.
3402 (binaries-all-tests): Likewise.
3403 (binaries-static-notests): Likewise.
3404 (binaries-static-tests): Likewise.
3405 (binaries-all): Define using $(binaries-all-notests) and
3406 $(binaries-all-tests).
3407 (binaries-static): Define using $(binaries-static-notests) and
3408 $(binaries-static-tests).
3409 (binaries-shared-tests): New variable.
3410 (binaries-shared-notests): Likewise.
3411 (binaries-shared): Remove variable.
3412 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3413 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3414 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3415 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3416 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3417 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3418 * elf/Makefile (sln-modules): New variable.
3419 (extra-objs): Add $(sln-modules:=.o).
3420 (ldconfig-modules): Add static-stubs.
3421 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3422 * elf/static-stubs.c: New file.
3425 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3426 by 7 not 8 to examine high bit of fractional part. Use volatile
3427 variables when splitting into final array of floats if
3428 __FLT_EVAL_METHOD__ != 0.
3429 * math/libm-test.inc (cos_test): Add another test.
3430 (sin_test): Likewise.
3431 * sysdeps/i386/fpu/libm-test-ulps: Update.
3434 * math/libm-test.inc (cosh_test): Add more tests.
3436 * version.h (RELEASE): Set to "development".
3437 (VERSION): Set to "2.16.90".
3439 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3441 * NEWS: Update copyright. Remove last-updated date.
3442 Mention math library bug fixes and timezone data changes.
3443 * README: Mention GNU/Hurd, x32, and HPPA support status.
3445 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3447 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3449 2012-06-27 Andreas Jaeger <aj@suse.de>
3451 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3453 2012-06-25 Andreas Jaeger <aj@suse.de>
3455 * sysdeps/s390/fpu/libm-test-ulps: Update.
3457 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3458 Thomas Schwinge <thomas@codesourcery.com>
3460 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3461 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3462 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3465 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3467 * sysdeps/mach/start.c: Remove file.
3468 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3469 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3470 * sysdeps/sh/init-first.c: Likewise.
3472 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3473 registers for frame unwinding purposes, add CFI directives.
3474 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3475 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3476 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3479 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3480 __fortify_fail returning.
3481 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3483 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3484 sysdeps/sh/____longjmp_chk.S.
3485 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3486 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3487 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3488 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3490 * sysdeps/sh/abort-instr.h: New file.
3491 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3492 process in case exit returns.
3494 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3495 initialize the GOT register before use.
3497 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3498 calculation of ARGC > 4.
3500 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3501 meaningful names to some local labels.
3503 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3504 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3506 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3507 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3508 (__arch_compare_and_exchange_val_16_acq): Likewise.
3509 (__arch_compare_and_exchange_val_32_acq): Likewise.
3510 (atomic_exchange_and_add): Fix gUSA sequence.
3511 (atomic_add): Likewise.
3512 (atomic_add_negative): Likewise.
3513 (atomic_add_zero): Likewise.
3514 (atomic_bit_test_set): Likewise.
3516 2012-06-22 Andreas Schwab <schwab@redhat.com>
3519 * include/link.h (struct link_map): Add l_free_initfini.
3520 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3522 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3523 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3524 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3527 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3529 * configure.in: Use AC_LANG_SOURCE.
3530 * configure: Regenerate.
3532 2012-06-22 Roland McGrath <roland@hack.frob.com>
3534 * configure.in (libc_cv_localstatedir): New substituted variable.
3535 * configure: Regenerated.
3536 * config.make.in (localstatedir): New variable, substituted from
3537 libc_cv_localstatedir.
3538 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3539 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3540 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3541 * sysdeps/gnu/configure: Regenerated.
3543 2012-06-21 Jeff Law <law@redhat.com>
3546 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3547 free. Simplify list management for _LIBC case.
3549 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3552 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3553 Clear sign bit of 64-bit integer value before comparing against
3556 * sysdeps/mach/configure: Regenerated.
3558 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3561 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3563 2012-06-21 Jeff Law <law@redhat.com>
3566 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3567 uint16_t for elements in the "seen" array to avoid char overflows.
3568 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3569 * elf/dl-open.c (dl_open_worker): Likewise.
3571 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3573 * scripts/list-sources.sh: Scan PORTS for translations.
3574 * po/libc.pot: Regenerated.
3576 2012-06-21 Andreas Jaeger <aj@suse.de>
3579 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3581 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3582 * bits/byteswap-16.h (__bswap_16): Likewise.
3583 * bits/byteswap.h (__bswap_constant_16): Likewise.
3585 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3588 * sysdeps/i386/fpu_control.h: Removed.
3589 * sysdeps/x86_64/fpu_control.h: Moved to ...
3590 * sysdeps/x86/fpu_control.h: Here.
3592 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3593 (_FPU_SETCW): Likewise.
3595 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3598 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3599 * sysdeps/x86/fpu/bits/mathinline.h: This.
3600 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3604 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3605 functions if __x86_64__ is defined.
3607 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3609 * string/endian.h: Add !__ASSEMBLER__ condition for including
3610 conversion interfaces.
3612 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3615 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3616 of ABS(x) in calculating zero to negative powers other than odd
3618 * math/libm-test.inc (pow_test): Add more tests.
3620 2012-06-15 Andreas Jaeger <aj@suse.de>
3622 * manual/contrib.texi (Contributors): Update entry of Liubov
3623 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3626 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3628 * string/string.h: Add __wur to GNU version of strerror_r.
3630 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3633 * string/Makefile (tests): Add tst-strtok_r.
3634 * string/tst-strtok_r.c: New file.
3635 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3636 RAX_LP/RDX_LP on SAVE_PTR.
3638 2012-06-14 Roland McGrath <roland@hack.frob.com>
3640 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3642 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3644 * libm_test.inc (csqrt_test): Allow more spurious underflow
3646 (j0_test): Likewise.
3647 (j1_test): Likewise.
3648 (y0_test): Likewise.
3649 (y1_test): Likewise.
3651 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3653 * po/Makefile (libc.pot): Use UTF-8 charset.
3655 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3658 Suppress sign-conversion warning from FD_SET.
3659 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3660 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3661 not unsigned long int.
3662 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3664 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3668 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3669 __extern_always_inline instead of __extern_inline.
3670 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3671 (__signbit): Likewise.
3672 (__signbitl): Support C++ namespace.
3673 (lrintf): New inline function.
3675 (llrintf): Likewise.
3687 (nearbyint): Likewise.
3688 (nearbyintf): Likewise.
3690 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3692 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3693 non-default versions.
3695 2012-06-11 Roland McGrath <roland@hack.frob.com>
3698 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3700 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3702 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3703 (FE_UPWARD, FE_DOWNWARD): Don't define.
3704 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3705 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3707 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3709 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3710 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3712 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3714 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3715 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3716 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3717 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3719 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3722 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3723 * sysdeps/i386/fpu/Implies: New file.
3724 * sysdeps/x86_64/fpu/Implies: Likewise.
3725 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3726 * sysdeps/x86/fpu/bits/fenv.h: This.
3728 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3731 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3734 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3735 character 0xffff that matches the last element of the
3738 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3740 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3743 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3745 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3746 values higher than 25.6283.
3748 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3750 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3751 subnormal exponent extraction and add some __builtin_expect.
3752 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3753 Fix for subnormal mantissa calculation.
3755 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3757 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3758 cpu2 is -1 and errno is not ENOSYS.
3760 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3763 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3764 * sysdeps/x86/bits/string.h: This.
3765 * sysdeps/x86_64/bits/string.h: Removed.
3767 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3768 if not compiling for x86-64, but compiling for >= i486.
3770 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3771 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3773 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3774 New macro from Linux kernel 3.4.0.
3775 (FP_XSTATE_MAGIC2): Likewise.
3776 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3777 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3778 (struct _fpx_sw_bytes): New struct.
3779 (struct _xsave_hdr): Likewise.
3780 (struct _ymmh_state): Likewise.
3781 (struct _xstate): Likewise.
3783 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3784 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3785 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3786 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3787 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3788 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3790 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3791 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3792 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3793 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3794 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3795 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3797 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3800 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3801 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3802 (sysdep_headers): Include sys/platform/ppc.h.
3803 * sysdeps/powerpc/test-gettimebase.c: Test for
3804 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3805 * manual/Makefile (appendices): Include platform.texi.
3806 * manual/contrib.texi (Contributors): Update @node pointers.
3807 * manual/maint.texi (Maintenance): Likewise.
3808 (Platform): New node.
3809 * manual/platform.texi: New file. Document the new features.
3811 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3812 Jakub Jelinek <jakub@redhat.com>
3815 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3816 where __builtin_expect is unavailable.
3818 2012-06-03 David S. Miller <davem@davemloft.net>
3820 * stdlib/longlong.h: Updated from GCC.
3822 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3825 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3826 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3829 (GLIBC_2.16): Likewise.
3831 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3833 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3835 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3838 (default-abi): New variable.
3839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3840 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3842 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3844 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3846 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3849 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3850 definition. Document in comment.
3852 2012-06-01 David S. Miller <davem@davemloft.net>
3854 * stdlib/longlong.h: Updated from GCC.
3856 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3859 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3860 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3861 sys/debugreg.h sys/io.h here.
3862 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3863 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3865 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3866 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3867 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3868 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3869 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3870 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3872 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3873 Define only if __x86_64__ is defined.
3875 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3878 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3879 Use int64_t for variable i.
3880 * math/libm-test.inc (fmod_test): Add more tests.
3882 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3883 z computation is not scheduled after fetestexcept.
3884 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3885 Use math_force_eval instead of asm to ensure calculation scheduled
3886 before exception test.
3887 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3888 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3890 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3892 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3893 computation is not scheduled after fetestexcept.
3895 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3898 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3899 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3901 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3903 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3904 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3906 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3909 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3911 (__WCHAR_MIN): Support __WORDSIZE == 64.
3912 (__WCHAR_MAX): Likewise.
3914 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3915 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3918 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3919 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3922 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3923 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3925 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3926 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3928 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3929 Defined to 1 if __x86_64__ isn't defined.
3930 (_STAT_VER_LINUX_OLD): New.
3931 (st_atime): Remove duplicate.
3932 (st_mtime): Likewise.
3933 (st_ctime): Likewise.
3935 2012-05-31 David S. Miller <davem@davemloft.net>
3937 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3940 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3942 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3946 * elf/dl-reloc.c: Include <_itoa.h>.
3947 (_dl_reloc_bad_type): Remove use of INTUSE.
3948 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3949 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3950 * stdio-common/psiginfo.c (psiginfo): Likewise.
3951 * stdio-common/psignal.c (psignal): Likewise.
3952 * string/strsignal.c (strsignal): Likewise.
3953 * include/signal.h (_sys_siglist): Declare hidden proto.
3954 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3955 INTVARDEF with libc_hidden_data_def.
3956 * stdio-common/itoa-udigits.c: Likewise.
3957 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3958 (_itoa_lower_digits_internal): Remove declaration.
3959 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3960 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3961 (_sys_sigabbrev_internal): Remove aliases.
3962 (_sys_siglist): Define hidden alias.
3964 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3969 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3972 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3973 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3975 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3976 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3977 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3978 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3979 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3980 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3982 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3983 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3984 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3986 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3994 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3995 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3996 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3998 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3999 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4000 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4001 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4002 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4003 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4005 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4006 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4008 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4009 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4011 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4012 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4013 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4015 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4016 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4018 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4020 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4021 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4022 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4024 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4026 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4028 2012-05-31 Joseph Myers <joseph@codesourcery.com>
4030 * math/math.h (M_El): Use two more decimal places.
4031 (M_LOG2El): Likewise.
4032 (M_LOG10El): Likewise.
4034 (M_LN10l): Likewise.
4036 (M_PI_2l): Likewise.
4037 (M_PI_4l): Likewise.
4038 (M_1_PIl): Likewise.
4039 (M_2_PIl): Likewise.
4040 (M_2_SQRTPIl): Likewise.
4041 (M_SQRT2l): Likewise.
4042 (M_SQRT1_2l): Likewise.
4044 2012-05-31 David S. Miller <davem@davemloft.net>
4046 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4047 values between float registers.
4048 * sysdeps/sparc/sparc64/memset.S: Likewise.
4049 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4051 2012-05-31 Mike Frysinger <vapier@gentoo.org>
4053 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4054 -D_FORTIFY_SOURCE=1.
4055 (CPPFLAGS-tst-longjmp_chk.c): Define.
4056 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4057 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4058 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4059 CFLAGS-tst-wchar-h.c.
4061 2012-05-31 Marek Polacek <polacek@redhat.com>
4064 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4065 __endmntent_internal): Remove declaration.
4066 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4067 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4068 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4070 2012-05-30 David S. Miller <davem@davemloft.net>
4072 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4073 (___Q_simulate_exceptions): Use real FP ops rather than writing
4075 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4078 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4081 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4082 * sysdeps/x86/bits/xtitypes.h: This.
4084 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4085 * sysdeps/x86/bits/wordsize.h: This.
4087 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4088 * sysdeps/x86/bits/huge_vall.h: This.
4090 * sysdeps/i386/bits/select.h: Removed.
4091 * sysdeps/x86_64/bits/select.h: Renamed to ...
4092 * sysdeps/x86/bits/select.h: This.
4094 * sysdeps/i386/bits/setjmp.h: Removed.
4095 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4096 * sysdeps/x86/bits/setjmp.h: This.
4098 * sysdeps/i386/bits/mathdef.h: Removed.
4099 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4100 * sysdeps/x86/bits/mathdef.h: This.
4102 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4105 * include/sys/socket.h (__connect_internal)
4106 (__libc_sa_len_internal): Remove declaration.
4107 (__connect, __libc_sa_len): Declare hidden_proto.
4108 (SA_LEN): Remove use of INTUSE.
4109 * socket/connect.c: Add libc_hidden_def.
4110 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4111 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4112 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4114 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4115 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4116 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4117 of adding _internal alias.
4119 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4122 * sysdeps/i386/bits/link.h: Removed.
4123 * sysdeps/i386/bits/linkmap.h: Likewise.
4124 * sysdeps/x86_64/bits/link.h: Renamed to ...
4125 * sysdeps/x86/bits/link.h: This.
4126 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4127 * sysdeps/x86/bits/linkmap.h: This.
4129 * sysdeps/i386/bits/endian.h: Removed.
4130 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4131 * sysdeps/x86/bits/endian.h: This.
4133 * sysdeps/i386/bits/byteswap.h: Removed.
4134 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4135 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4136 * sysdeps/x86/bits/byteswap.h: This.
4137 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4138 * sysdeps/x86/bits/byteswap-16.h: This.
4139 * sysdeps/i386/Implies: Add x86.
4140 * sysdeps/x86_64/Implies: Likewise.
4142 2012-05-30 David S. Miller <davem@davemloft.net>
4144 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4145 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4146 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4147 (FP_TRAPPING_EXCEPTIONS): Define.
4148 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4149 (FP_TRAPPING_EXCEPTIONS): Define.
4150 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4151 subnormals only when inexact has been signalled or underflow
4152 exceptions are enabled.
4153 (_FP_PACK_CANONICAL): Likewise.
4155 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4158 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4159 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4161 2012-05-30 Richard Henderson <rth@twiddle.net>
4163 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4164 with #ifndef NOT_IN_libc.
4166 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4167 marked to avoid plt entry.
4169 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4172 * Makeconfig (default-abi): New macro.
4173 (abi-includes): Likewise.
4174 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4175 $(abi-$(default-abi)-lib-soname) for soname if defined.
4176 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4178 * Makefile (installed-stubs): Likewise.
4179 * include/stubs-biarch.h: Removed.
4180 * scripts/lib-names.awk: Only handle one library at a time.
4181 * scripts/soversions.awk: Remove WORDSIZE support.
4182 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4184 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4186 (syscall-list-default-condition): Likewise.
4187 (syscall-list-default-condition): Likewise.
4188 (syscall-list-includes): Likewise.
4189 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4190 syscall-list-* with abi-*. Handle undefined abi-variants.
4191 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4192 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4193 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4194 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4195 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4196 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4198 (syscall-list-32-options): Likewise.
4199 (syscall-list-32-condition): Likewise.
4200 (syscall-list-64-options): Likewise.
4201 (syscall-list-64-condition): Likewise.
4202 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4204 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4207 (abi-64-ld-soname): New macro.
4208 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4209 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4212 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4213 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4215 2012-05-30 Joseph Myers <joseph@codesourcery.com>
4217 * sysdeps/unix/sysv/linux/kernel-features.h
4218 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4219 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4220 include <kernel-features.h>.
4221 [!__NR_ftruncate64]: Remove conditional code.
4222 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4223 [__NR_ftruncate64]: Make code unconditional.
4224 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4225 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4226 include <kernel-features.h>.
4227 [!__NR_ftruncate64]: Remove conditional code.
4228 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4229 [__NR_ftruncate64]: Make code unconditional.
4230 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4232 include <kernel-features.h>.
4233 [!__NR_ftruncate64]: Remove conditional code.
4234 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4235 [__NR_ftruncate64]: Make code unconditional.
4236 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4238 include <kernel-features.h>.
4239 [!__NR_ftruncate64]: Remove conditional code.
4240 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4241 [__NR_ftruncate64]: Make code unconditional.
4242 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4244 * configure.in (libc_cv_fpie): Weaken to a compile test using
4246 * configure: Regenerated.
4248 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4263 2012-05-27 David S. Miller <davem@davemloft.net>
4265 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4267 (__Q_simulate_exceptions): Return void. Change to simulate
4268 exceptions by writing into the %fsr.
4269 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4270 (__Qp_handle_exceptions): Likewise.
4272 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4273 __Qp_handle_exceptions.
4274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4275 __Qp_handle_exceptions.
4276 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4277 as unused and give dummy FP_RND_NEAREST initializer.
4278 (FP_INHIBIT_RESULTS): Define.
4279 (___Q_simulate_exceptions): Update declaration.
4280 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4282 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4283 as unused and give dummy FP_RND_NEAREST initializer.
4284 (__Qp_handle_exceptions): Update declaration.
4285 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4288 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4290 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4291 the temporary FPU control word.
4292 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4293 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4294 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4295 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4296 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4297 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4298 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4299 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4300 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4301 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4302 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4304 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4306 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4309 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4311 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4312 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4313 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4314 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4316 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4317 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4320 2012-05-27 Ulrich Drepper <drepper@gmail.com>
4322 * po/h.po: Update from translation team.
4324 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4326 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4328 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4329 handling of denormals.
4330 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4331 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4332 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4333 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4334 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4335 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4336 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4339 2012-05-26 Marek Polacek <polacek@redhat.com>
4342 * math/libm-test.inc (fma_test): Don't always expect underflow
4345 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4348 * elf/tst-execstack.c: Include stackinfo.h.
4349 (do_test): Adjust test case to ensure that pthread_getattr_np
4350 behaviour remains the same after marking stack executable.
4352 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4354 * sysdeps/unix/sysv/linux/kernel-features.h
4355 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4356 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4358 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4359 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4360 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4362 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4363 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4365 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4367 * configure.in: Define the default includes to being none.
4368 * configure: Regenerated.
4370 2012-05-25 Roland McGrath <roland@hack.frob.com>
4372 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4373 * sysdeps/x86_64/setjmp.S: Likewise.
4374 * sysdeps/i386/bsd-setjmp.S: Likewise.
4375 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4376 * sysdeps/i386/setjmp.S: Likewise.
4377 * sysdeps/i386/__longjmp.S: Likewise.
4378 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4379 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4381 * include/stap-probe.h: New file.
4382 * configure.in: Handle --enable-systemtap.
4383 * configure: Regenerated.
4384 * config.h.in (USE_STAP_PROBE): New #undef.
4385 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4386 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4387 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4389 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4392 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4393 to 2.4.0 where earlier.
4394 * sysdeps/unix/sysv/linux/configure: Regenerated.
4395 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4396 <kernel-features.h>.
4397 [__ASSUME_32BITUIDS]: Make code unconditional.
4398 [!__ASSUME_32BITUIDS]: Remove conditional code.
4399 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4400 <kernel-features.h>.
4401 [__ASSUME_32BITUIDS]: Make code unconditional.
4402 [!__ASSUME_32BITUIDS]: Remove conditional code.
4403 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4404 [__ASSUME_32BITUIDS]: Make code unconditional.
4405 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4406 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4407 <kernel-features.h>.
4408 [__ASSUME_32BITUIDS]: Make code unconditional.
4409 [!__ASSUME_32BITUIDS]: Remove conditional code.
4410 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4411 <kernel-features.h>.
4412 [__ASSUME_32BITUIDS]: Make code unconditional.
4413 [!__ASSUME_32BITUIDS]: Remove conditional code.
4414 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4415 <kernel-features.h>.
4416 [__ASSUME_32BITUIDS]: Make code unconditional.
4417 [!__ASSUME_32BITUIDS]: Remove conditional code.
4418 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4419 <kernel-features.h>.
4420 [__ASSUME_32BITUIDS]: Make code unconditional.
4421 [!__ASSUME_32BITUIDS]: Remove conditional code.
4422 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4423 <kernel-features.h>.
4424 [__ASSUME_32BITUIDS]: Make code unconditional.
4425 [!__ASSUME_32BITUIDS]: Remove conditional code.
4426 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4427 <kernel-features.h>.
4428 [__ASSUME_32BITUIDS]: Make code unconditional.
4429 [!__ASSUME_32BITUIDS]: Remove conditional code.
4430 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4431 <kernel-features.h>.
4432 [__ASSUME_32BITUIDS]: Make code unconditional.
4433 [!__ASSUME_32BITUIDS]: Remove conditional code.
4434 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4435 <kernel-features.h>.
4436 [__ASSUME_32BITUIDS]: Make code unconditional.
4437 [!__ASSUME_32BITUIDS]: Remove conditional code.
4438 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4439 <kernel-features.h>.
4440 [__ASSUME_32BITUIDS]: Make code unconditional.
4441 [!__ASSUME_32BITUIDS]: Remove conditional code.
4442 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4443 <kernel-features.h>.
4444 [__ASSUME_32BITUIDS]: Make code unconditional.
4445 [!__ASSUME_32BITUIDS]: Remove conditional code.
4446 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4447 <kernel-features.h>.
4448 [__NR_setresgid] (__setresgid): Do not declare.
4449 [__ASSUME_32BITUIDS]: Make code unconditional.
4450 [!__ASSUME_32BITUIDS]: Remove conditional code.
4451 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4452 <kernel-features.h>.
4453 [__NR_setresuid] (__setresuid): Do not declare.
4454 [__ASSUME_32BITUIDS]: Make code unconditional.
4455 [!__ASSUME_32BITUIDS]: Remove conditional code.
4456 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4457 <kernel-features.h>.
4458 [__ASSUME_32BITUIDS]: Make code unconditional.
4459 [!__ASSUME_32BITUIDS]: Remove conditional code.
4460 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4461 <kernel-features.h>.
4462 [__ASSUME_32BITUIDS]: Make code unconditional.
4463 [!__ASSUME_32BITUIDS]: Remove conditional code.
4464 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4465 <kernel-features.h>.
4466 [__ASSUME_32BITUIDS]: Make code unconditional.
4467 [!__ASSUME_32BITUIDS]: Remove conditional code.
4468 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4469 <kernel-features.h>.
4470 [__ASSUME_32BITUIDS]: Make code unconditional.
4471 [!__ASSUME_32BITUIDS]: Remove conditional code.
4472 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4473 <kernel-features.h>.
4474 [__ASSUME_32BITUIDS]: Make code unconditional.
4475 [!__ASSUME_32BITUIDS]: Remove conditional code.
4476 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4477 <kernel-features.h>.
4478 [__ASSUME_32BITUIDS]: Make code unconditional.
4479 [!__ASSUME_32BITUIDS]: Remove conditional code.
4480 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4481 <kernel-features.h>.
4482 [__ASSUME_32BITUIDS]: Make code unconditional.
4483 [!__ASSUME_32BITUIDS]: Remove conditional code.
4484 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4485 <kernel-features.h>.
4486 [__ASSUME_32BITUIDS]: Make code unconditional.
4487 [!__ASSUME_32BITUIDS]: Remove conditional code.
4488 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4489 <kernel-features.h>.
4490 [__ASSUME_32BITUIDS]: Make code unconditional.
4491 [!__ASSUME_32BITUIDS]: Remove conditional code.
4492 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4493 <kernel-features.h>.
4494 [__ASSUME_32BITUIDS]: Make code unconditional.
4495 [!__ASSUME_32BITUIDS]: Remove conditional code.
4496 * sysdeps/unix/sysv/linux/kernel-features.h
4497 (__ASSUME_SETRESUID_SYSCALL): Remove.
4498 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4499 (__ASSUME_32BITUIDS): Likewise.
4500 (__ASSUME_LDT_WORKS): Likewise.
4501 (__ASSUME_O_DIRECTORY): Likewise.
4502 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4503 architecture but not kernel version.
4504 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4505 (__ASSUME_MMAP2_SYSCALL): Likewise.
4506 (__ASSUME_STAT64_SYSCALL): Likewise.
4507 (__ASSUME_IPC64): Likewise.
4508 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4509 <kernel-features.h>.
4510 [__ASSUME_32BITUIDS]: Make code unconditional.
4511 [!__ASSUME_32BITUIDS]: Remove conditional code.
4512 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4513 <kernel-features.h>.
4514 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4515 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4516 132096]: Remove conditional code.
4517 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4518 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4519 <kernel-features.h>.
4520 [__ASSUME_32BITUIDS]: Make code unconditional.
4521 [!__ASSUME_32BITUIDS]: Remove conditional code.
4522 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4523 <kernel-features.h>.
4524 [__ASSUME_32BITUIDS]: Make code unconditional.
4525 [!__ASSUME_32BITUIDS]: Remove conditional code.
4526 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4527 <kernel-features.h>.
4528 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4530 (__setresgid): Do not declare.
4531 [__ASSUME_32BITUIDS]: Make code unconditional.
4532 [!__ASSUME_32BITUIDS]: Remove conditional code.
4533 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4534 <kernel-features.h>.
4535 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4537 (__setresuid): Do not declare.
4538 [__ASSUME_32BITUIDS]: Make code unconditional.
4539 [!__ASSUME_32BITUIDS]: Remove conditional code.
4540 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4541 <kernel-features.h>.
4542 [__ASSUME_32BITUIDS]: Make code unconditional.
4543 [!__ASSUME_32BITUIDS]: Remove conditional code.
4544 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4545 <kernel-features.h>.
4546 [__ASSUME_32BITUIDS]: Make code unconditional.
4547 [!__ASSUME_32BITUIDS]: Remove conditional code.
4549 2012-05-25 Richard Henderson <rth@twiddle.net>
4551 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4552 dl_hwcap to ifunc resolver.
4553 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4555 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4556 dl_hwcap to ifunc resolver.
4557 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4559 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4562 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4563 for |x| <= 2**-26, not 2**-57.
4564 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4567 2012-05-24 Jeff Law <law@redhat.com>
4569 * stdio-common/Makefile (tests): Add bug25.
4570 * stdio-common/bug25.c: New test.
4572 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4575 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4576 multiple of MALLOC_ALIGNMENT in size.
4577 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4579 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4581 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4583 (FILENAME_MAX): Use macro-int-constant.
4584 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4585 (_IOFBF): Use macro-int-constant.
4588 (SEEK_CUR): Likewise.
4589 (SEEK_END): Likewise.
4590 (SEEK_SET): Likewise.
4591 (TMP_MAX): Likewise.
4592 (EOF): Use macro-int-constant. Require < 0.
4593 (NULL): Use macro-constant. Require == 0.
4594 (stdin): Require type to be FILE *.
4597 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4599 (EXIT_SUCCESS): Likewise.
4600 (NULL): Use macro-constant. Require == 0.
4601 (RAND_MAX): Use macro-int-constant.
4602 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4603 [C99-based standards] (strtof): Require function.
4604 [C99-based standards] (strtold): Likewise.
4605 [C99-based standards] (strtoll): Likewise.
4606 [C99-based standards] (strtoull): Likewise.
4607 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4608 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4609 [ISO || ISO99 || ISO11] (math.h): Likewise.
4610 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4611 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4612 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4614 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4617 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4618 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4619 * intl/dgettext.c (DCGETTEXT): Likewise.
4620 * intl/gettext.c (DCGETTEXT): Likewise.
4621 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4622 * posix/regex_internal.h (gettext): Likewise.
4623 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4625 * include/argz.h (__argz_count_internal)
4626 (__argz_stringify_internal): Remove declaration.
4627 (__argz_count, __argz_stringify): Declare hidden proto.
4628 * intl/dcgettext.c: Remove use of INTDEF.
4629 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4630 * string/argz-stringify.c: Likewise.
4631 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4632 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4633 Declare hidden proto.
4634 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4635 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4636 Declare hidden proto.
4637 * include/stdio.h (__asprintf_internal): Don't declare.
4638 (__asprintf): Don't define as macro. Declare hidden proto.
4639 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4640 (__fsetlocking): Declare hidden proto.
4641 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4642 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4644 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4645 (_IO_setlinebuf): Remove use of INTUSE.
4646 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4647 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4648 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4650 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4651 (_IO_do_flush): Remove use of INTUSE.
4652 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4653 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4654 (_IO_adjust_column, _IO_least_wmarker)
4655 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4656 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4657 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4658 (_IO_default_doallocate, _IO_wdefault_doallocate)
4659 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4660 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4661 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4662 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4663 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4664 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4665 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4666 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4667 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4668 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4669 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4670 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4671 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4673 (_IO_flush_all_internal, _IO_adjust_column_internal)
4674 (_IO_default_uflow_internal, _IO_default_finish_internal)
4675 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4676 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4677 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4678 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4679 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4680 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4681 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4682 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4683 (_IO_file_close_internal, _IO_file_close_it_internal)
4684 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4685 (_IO_file_init_internal, _IO_file_attach_internal)
4686 (_IO_file_fopen_internal, _IO_file_read_internal)
4687 (_IO_file_sync_internal, _IO_file_seek_internal)
4688 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4689 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4690 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4691 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4692 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4693 (_IO_list_all_internal, _IO_link_in_internal)
4694 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4695 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4696 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4697 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4698 (_IO_do_write_internal, _IO_padn_internal)
4699 (_IO_getline_info_internal, _IO_getline_internal)
4700 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4701 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4702 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4703 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4704 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4705 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4706 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4707 with libc_hidden_ver, remove use of INTUSE.
4708 * libio/genops.c: Likewise.
4709 * libio/freopen.c: Likewise.
4710 * libio/freopen64.c: Likewise.
4711 * libio/iofclose.c: Likewise.
4712 * libio/iofdopen.c: Likewise.
4713 * libio/iofflush.c: Likewise.
4714 * libio/iofflush_u.c: Likewise.
4715 * libio/iofgets.c: Likewise.
4716 * libio/iofgets_u.c: Likewise.
4717 * libio/iofopen.c: Likewise.
4718 * libio/iofopncook.c: Likewise.
4719 * libio/iofread.c: Likewise.
4720 * libio/iofread_u.c: Likewise.
4721 * libio/ioftell.c: Likewise.
4722 * libio/iofwrite.c: Likewise.
4723 * libio/iogetline.c: Likewise.
4724 * libio/iogets.c: Likewise.
4725 * libio/iogetwline.c: Likewise.
4726 * libio/iopadn.c: Likewise.
4727 * libio/iopopen.c: Likewise.
4728 * libio/ioseekoff.c: Likewise.
4729 * libio/ioseekpos.c: Likewise.
4730 * libio/iosetbuffer.c: Likewise.
4731 * libio/iosetvbuf.c: Likewise.
4732 * libio/ioungetc.c: Likewise.
4733 * libio/ioungetwc.c: Likewise.
4734 * libio/iovdprintf.c: Likewise.
4735 * libio/iovsprintf.c: Likewise.
4736 * libio/iovsscanf.c: Likewise.
4737 * libio/memstream.c: Likewise.
4738 * libio/obprintf.c: Likewise.
4739 * libio/oldfileops.c: Likewise.
4740 * libio/oldiofclose.c: Likewise.
4741 * libio/oldiofdopen.c: Likewise.
4742 * libio/oldiofopen.c: Likewise.
4743 * libio/oldiopopen.c: Likewise.
4744 * libio/oldstdfiles.c: Likewise.
4745 * libio/putc.c: Likewise.
4746 * libio/setbuf.c: Likewise.
4747 * libio/setlinebuf.c: Likewise.
4748 * libio/stdfiles.c: Likewise.
4749 * libio/strops.c: Likewise.
4750 * libio/vasprintf.c: Likewise.
4751 * libio/vscanf.c: Likewise.
4752 * libio/vsnprintf.c: Likewise.
4753 * libio/vswprintf.c: Likewise.
4754 * libio/wfiledoalloc.c: Likewise.
4755 * libio/wfileops.c: Likewise.
4756 * libio/wgenops.c: Likewise.
4757 * libio/wmemstream.c: Likewise.
4758 * libio/wstrops.c: Likewise.
4759 * libio/__fpurge.c: Likewise.
4760 * libio/__fsetlocking.c: Likewise.
4761 * assert/assert.c: Likewise.
4762 * debug/fgets_chk.c: Likewise.
4763 * debug/fgets_u_chk.c: Likewise.
4764 * debug/fread_chk.c: Likewise.
4765 * debug/fread_u_chk.c: Likewise.
4766 * debug/gets_chk.c: Likewise.
4767 * debug/obprintf_chk.c: Likewise.
4768 * debug/vasprintf_chk.c: Likewise.
4769 * debug/vdprintf_chk.c: Likewise.
4770 * debug/vsnprintf_chk.c: Likewise.
4771 * debug/vsprintf_chk.c: Likewise.
4772 * malloc/mtrace.c: Likewise.
4773 * misc/error.c: Likewise.
4774 * misc/syslog.c: Likewise.
4775 * stdio-common/asprintf.c: Likewise.
4776 * stdio-common/fxprintf.c: Likewise.
4777 * stdio-common/getw.c: Likewise.
4778 * stdio-common/isoc99_fscanf.c: Likewise.
4779 * stdio-common/isoc99_scanf.c: Likewise.
4780 * stdio-common/isoc99_vfscanf.c: Likewise.
4781 * stdio-common/isoc99_vscanf.c: Likewise.
4782 * stdio-common/isoc99_vsscanf.c: Likewise.
4783 * stdio-common/printf-prs.c: Likewise.
4784 * stdio-common/printf_fp.c: Likewise.
4785 * stdio-common/printf_fphex.c: Likewise.
4786 * stdio-common/printf_size.c: Likewise.
4787 * stdio-common/putw.c: Likewise.
4788 * stdio-common/scanf.c: Likewise.
4789 * stdio-common/sprintf.c: Likewise.
4790 * stdio-common/tmpfile.c: Likewise.
4791 * stdio-common/vfprintf.c: Likewise.
4792 * stdio-common/vfscanf.c: Likewise.
4793 * stdlib/strfmon_l.c: Likewise.
4794 * sunrpc/openchild.c: Likewise.
4795 * sunrpc/xdr_stdio.c: Likewise.
4796 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4797 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4799 2012-05-24 Roland McGrath <roland@hack.frob.com>
4801 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4803 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4804 in the third column, to generate for the shared library an IFUNC
4805 that uses _dl_vdso_vsym.
4806 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4807 * Makeconfig (object-suffixes-noshared): New variable.
4809 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4810 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4811 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4812 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4815 * include/sys/time.h (__gettimeofday): Remove macro.
4816 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4817 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4819 (__gettimeofday): Add libc_hidden_def.
4820 (gettimeofday): Add libc_hidden_weak.
4821 * sysdeps/mach/gettimeofday.c: Likewise.
4822 * sysdeps/posix/gettimeofday.c: Likewise.
4823 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4824 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4825 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4826 (__gettimeofday_internal): Remove strong_alias.
4827 (__gettimeofday): Add libc_hidden_def.
4828 (gettimeofday): Add libc_hidden_weak.
4829 * sysdeps/unix/syscalls.list (gettimeofday):
4830 Remove __gettimeofday_internal alias.
4832 2012-05-24 Daniel Jacobowitz <drow@false.org>
4833 H.J. Lu <hongjiu.lu@intel.com>
4836 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4837 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4838 (largebin_index_32_big): New.
4839 (largebin_index): Use it for 16-byte alignment.
4840 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4841 correction with front_misalign.
4843 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4871 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4872 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4874 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4878 * math/libm-test.inc (exp_test): Add test from bug 14036.
4879 (pow_test): Add test from bug 10846.
4881 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4883 (special_function): Do not include flags in test name.
4884 (parse_args): Likewise.
4885 * sysdeps/i386/fpu/libm-test-ulps: Update.
4886 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4887 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4888 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4891 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4893 * math/libm-test.inc ("Philosophy"): Update comment about
4895 (UNDERFLOW_EXCEPTION): New macro.
4896 (UNDERFLOW_EXCEPTION_OK): Likewise.
4897 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4898 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4899 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4900 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4901 (INVALID_EXCEPTION_OK): Update value.
4902 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4903 (OVERFLOW_EXCEPTION_OK): Likewise.
4904 (IGNORE_ZERO_INF_SIGN): Likewise.
4905 (test_exceptions): Handle underflow exceptions.
4906 (acos_test): Update for underflow exception expectations.
4907 (cexp_test): Likewise.
4908 (clog_test): Likewise.
4909 (clog10_test): Likewise.
4910 (csqrt_test): Likewise.
4911 (ctan_test): Likewise.
4912 (ctanh_test): Likewise.
4913 (exp_test): Likewise.
4914 (exp10_test): Likewise.
4915 (exp2_test): Likewise.
4916 (expm1_test): Likewise.
4917 (fma_test): Likewise.
4918 (j0_test): Likewise.
4919 (jn_test): Likewise.
4920 (nexttoward_test): Likewise.
4921 (pow_test): Likewise.
4922 (scalbn_test): Likewise.
4923 (scalbln_test): Likewise.
4924 (tan_test): Likewise.
4925 (y1_test): Likewise.
4926 * sysdeps/i386/fpu/libm-test-ulps: Update.
4927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4929 2012-05-23 David S. Miller <davem@davemloft.net>
4931 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4932 (__libc_sigaction): Remove unused local variables.
4934 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4936 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4938 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4940 mktime: avoid signed integer overflow
4941 * time/mktime.c (__mktime_internal): Do not mishandle the case
4942 where diff == INT_MIN.
4944 mktime: simplify computation of average
4945 * time/mktime.c (ranged_convert): Use new time_t_avg function
4946 instead of rolling our own (probably-slower) code.
4948 mktime: do not assume signed right shift propagates sign bit
4949 * time/mktime.c (isdst_differ): New static function.
4950 (__mktime_internal): No need to normalize tm_isdst now.
4951 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4954 mktime: merge another wrapv change from gnulib
4955 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4956 from some compilers.
4958 mktime: remove incorrect attempt at unusual arithmetics
4959 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4960 The code didn't really work on such machines anyway.
4961 (TYPE_MINIMUM): Assume two's complement.
4962 (twos_complement_arithmetic): Verify that long_int and time_t
4963 are two's complement (or unsigned, in the latter case).
4965 mktime: check signed shifts on long_int and time_t, too
4966 * time/mktime.c (SHR): Check that shifts work as desired
4967 on the types long_int and time_t too, as SHR is used on
4970 mktime: do not assume 'long' is wide enough
4971 * time/mktime.c (verify): Move decl up.
4972 (long_int): New type.
4973 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4974 to remove assumption in the code that 'long' is wide enough to
4975 store year values. This assumption is not true on x32 and on
4976 some non-glibc platforms.
4978 mktime: merge wrapv change from gnulib
4979 * time/mktime.c (WRAPV): New macro.
4980 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4981 (guess_time_tm, __mktime_internal): Do not assume that signed
4982 integer overflow wraps around; modern compilers generate code
4983 where this assumption is no longer valid.
4985 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4987 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4988 Replace "jmp L(pseudo_end)" with "ret".
4989 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4992 2012-05-23 Andreas Jaeger <aj@suse.de>
4994 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4995 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4997 2012-05-23 Andreas Jaeger <aj@suse.de>
4998 Maximilian Attems <max@stro.at>
5000 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5003 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5005 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5006 code so that pseudo_end is just ret and the stack pointer is
5007 correct also for static library in error case.
5009 2012-05-23 Joseph Myers <joseph@codesourcery.com>
5011 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5012 move to syscalls.list.
5013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5018 * manual/install.texi (Running make install): Do not mention Linux
5019 kernel version for which pt_chown is not needed.
5020 (Linux): Do not mention problems with nscd with 2.0 kernels.
5021 * INSTALL: Regenerated.
5023 2012-05-23 Andreas Jaeger <aj@suse.de>
5025 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5026 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5028 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5029 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5030 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5031 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5032 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5033 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5034 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5035 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5036 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5037 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5038 * sysdeps/unix/sysv/linux/bits/in.h
5039 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5041 2012-05-22 Roland McGrath <roland@hack.frob.com>
5043 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5044 (PREPARE_VERSION): Just use assert instead, it will be elided
5045 under [NDEBUG] anyway.
5047 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5049 * sysdeps/unix/sysv/linux/Makefile: Include
5050 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5051 (sysdep_routines): Remove sysctl.
5052 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5053 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5054 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5055 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5056 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5058 2012-05-22 Andreas Jaeger <aj@suse.de>
5060 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5061 that pseudo_end is just ret and the stack pointer is correct also
5062 for static library in error case.
5064 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5067 * nss/nsswitch.c (defconfig_entries): New variable.
5068 (__nss_database_lookup): Don't leak defconfig entries.
5069 (nss_parse_service_list): Don't leak on error paths.
5070 (free_database_entries): New function.
5071 (free_defconfig): New function.
5072 (free_mem): Move common code to free_database_entries.
5074 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5076 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5078 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5080 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5081 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5084 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5085 (INTERNAL_SYSCALL_TYPES): Likewise.
5086 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5087 (LOAD_REGS_TYPES_[1-6]): Likewise.
5088 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5089 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5091 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5093 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5094 copysignl for GLIBC_2_0.
5095 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5096 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5097 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5098 logbl for GLIBC_2_0.
5099 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5100 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5102 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5104 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5105 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5107 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5110 * time/mktime.c: Update copyright years.
5112 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5114 mktime: merge comment-quoting-style change from gnulib
5115 * time/mktime.c: Quote 'like this' in comments.
5116 The GNU coding standards suggest that we no longer quote `like this',
5117 as "`" and "'" are typically rendered asymmetrically nowadays.
5118 The typical gnulib style is to quote 'like this' when quoting
5119 code, and "like this" when quoting English.
5121 * time/mktime.c (compile-command): Add "-I.".
5123 mktime: merge mktime-internal.h change from gnulib
5124 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5126 mktime: merge time_r change from gnulib
5127 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5129 mktime: merge DEBUG change from gnulib
5130 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5131 case system <time.h> has a #define.
5133 mktime: merge <sys/types.h> change from gnulib
5134 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5135 since <time.t> is now guaranteed to define time_t.
5137 mktime: merge HAVE_CONFIG_H change from gnulib
5138 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5140 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5145 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5147 (struct rusage): Use anonymous union to pad each field to
5150 2012-05-21 David S. Miller <davem@davemloft.net>
5152 * Makefules (o-iterator): Remove .s cases.
5153 (compile-command.s): Delete.
5154 (COMPILE.s): Delete.
5155 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5157 2012-05-21 Joseph Myers <joseph@codesourcery.com>
5159 * configure.in (libc_cv_predef_stack_protector): Only consider
5160 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5161 * configure: Regenerated.
5163 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5165 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5166 New macro. Use R*LP on int and pointer.
5167 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
5168 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5169 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
5170 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5172 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5173 [__WORDSIZE_TIME64_COMPAT32] instead of
5174 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5175 (struct utmp): Likewise.
5176 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5177 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5179 (__WORDSIZE_TIME64_COMPAT32): This.
5180 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5181 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5182 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5183 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5184 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5185 (__WORDSIZE_TIME64_COMPAT32): New macro.
5187 2012-05-21 Andreas Jaeger <aj@suse.de>
5189 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5190 only if [SHARED]. Add prototype for __wcschr_ia32.
5192 2012-05-21 Roland McGrath <roland@hack.frob.com>
5194 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5195 of %rbp unmolested in the jmp_buf while mangling the low bits.
5196 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5197 unmolested high bits of %rbp while demangling the low bits.
5198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5200 2012-05-21 Andreas Jaeger <aj@suse.de>
5202 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5203 * sunrpc/svc_simple.c: Use it for registerrpc.
5204 * sunrpc/xcrypt.c: Use it for passwd2des.
5206 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5208 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5210 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5211 Don't define if [__SYSCALL_WORDSIZE != 32].
5212 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5215 2012-05-21 Bruno Haible <bruno@clisp.org>
5216 Andreas Jaeger <aj@suse.de>
5218 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5219 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5220 inptr and inend for must_buffer_ch.
5221 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5222 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5223 * stdio-common/Makefile (tests): Remove bug15.
5224 (bug15-ENV): Remove macro.
5225 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5228 2012-05-19 Andreas Jaeger <aj@suse.de>
5229 Roland McGrath <roland@hack.frob.com>
5231 * manual/contrib.texi: Completely rewritten. It contains now an
5232 alphabetical list of contributors and their contributions.
5234 2012-05-21 Richard Henderson <rth@twiddle.net>
5236 * misc/getauxval.c (__getauxval): Use unsigned long int.
5237 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5238 (getauxval): Use unsigned long int.
5240 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5242 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5244 2012-05-21 Roland McGrath <roland@hack.frob.com>
5246 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5247 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5248 __alignof__ (long double).
5250 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5254 2012-05-20 Richard Henderson <rth@twiddle.net>
5256 * misc/getauxval.c: New file.
5257 * misc/sys/auxv.h: New file.
5258 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5259 (routines): Add getauxval.
5260 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5261 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5262 * elf/dl-sysdep.c (_dl_auxv): Remove.
5263 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5264 * elf/dl-support.c (_dl_auxv): New variable.
5265 (_dl_aux_init): Initialize it.
5266 * manual/startup.texi (Auxiliary Vector): New node.
5267 * sysdeps/generic/bits/hwcap.h: New file.
5268 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5269 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5270 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5271 * sysdeps/sparc/sysdep.h: ... here. Include it.
5272 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5273 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
5274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5279 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5285 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5289 2012-05-19 David S. Miller <davem@davemloft.net>
5291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5293 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5296 * math/s_ccosh.c: Include <float.h>
5297 (__ccosh): Avoid internal overflow calculating sinh and cosh
5298 values before multiplying by sin and cos values.
5299 * math/s_ccoshf.c: Likewise.
5300 * math/s_ccoshl.c: Likewise.
5301 * math/s_csin.c: Likewise.
5302 * math/s_csinf.c: Likewise.
5303 * math/s_csinl.c: Likewise.
5304 * math/s_csinh.c: Likewise.
5305 * math/s_csinhf.c: Likewise.
5306 * math/s_csinhl.c: Likewise.
5307 * math/libm-test.inc (ccos_test): Add more tests.
5308 (ccosh_test): Likewise.
5309 (csin_test): Likewise.
5310 (csinh_test): Likewise.
5311 * sysdeps/i386/fpu/libm-test-ulps: Update.
5312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5314 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5316 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5317 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5319 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5321 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5323 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5324 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5325 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5326 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5327 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5328 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5329 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5330 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5331 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5332 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5333 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5334 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5335 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5336 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5337 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5338 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5339 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5340 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5341 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5342 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5343 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5344 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5345 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5346 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5347 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5348 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5349 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5350 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5351 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5352 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5353 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5355 2012-05-18 Andreas Jaeger <aj@suse.de>
5357 * csu/.gitignore: Delete.
5359 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5361 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5362 (timex): Use __syscall_slong_t.
5364 2012-05-18 Andreas Jaeger <aj@suse.de>
5365 Carlos O'Donell <carlos_odonell@mentor.com>
5367 * manual/install.texi (Configuring and compiling): Update
5368 description about files modified in the source directory.
5369 * INSTALL: Regenerated.
5371 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5373 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5374 value. Use "or" to set return value to -1.
5375 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5376 negate return value.
5378 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5380 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5381 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5382 failure if the compiler has Graphite support disabled.
5383 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5385 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5386 CFLAGS-memmove.c): Likewise.
5387 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5390 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5392 * sysdeps/x86_64/x32/_itoa.h: New file.
5394 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5395 getdents system call only if kernel and user dirents have the
5396 same d_ino and d_off.
5398 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5399 LLONG_MAX != LONG_MAX.
5400 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5401 (_fitoa_word): Likewise.
5403 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5405 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5406 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5407 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5409 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5410 include <bits/wordsize.h>. Check __x86_64__ instead of
5412 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5413 if __x86_64__ is defined. Use anonymous union on fpstate.
5415 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5418 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5420 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5421 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5422 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5423 Refer to _rtld_local_ro instead of _rtld_global_ro.
5424 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5426 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5428 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5430 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5431 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5432 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5434 * sysdeps/powerpc/powerpc32/dl-machine.c
5435 (__elf_machine_runtime_setup) [PROF]: Don't reference
5438 2012-05-18 Andreas Jaeger <aj@suse.de>
5440 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5441 function only available for GCCs before 3.4 since GCC 3.4
5442 introduced a builtin.
5444 (llrintf): Likewise.
5452 (nearbyint): Likewise.
5453 (nearbyintf): Likewise.
5459 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5461 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5462 on both fields and cast pointer to __syscall_ulong_t.
5464 * bits/types.h (__fsword_t): New type.
5465 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5466 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5467 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5468 (__FSWORD_T_TYPE): Likewise.
5469 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5470 (__FSWORD_T_TYPE): Likewise.
5471 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5472 (__FSWORD_T_TYPE): Likewise.
5473 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5474 (__FSWORD_T_TYPE): Likewise.
5475 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5476 __SWORD_TYPE with __fsword_t.
5477 (statfs64): Likewise.
5479 2012-05-17 David S. Miller <davem@davemloft.net>
5481 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5483 2012-05-17 Andreas Jaeger <aj@suse.de>
5485 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5488 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5490 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5492 2012-05-17 Andreas Jaeger <aj@suse.de>
5494 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5497 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5499 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5501 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5503 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5504 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5506 2012-05-17 Andreas Jaeger <aj@suse.de>
5507 Carlos O'Donell <carlos_odonell@mentor.com>
5510 * sysdeps/x86_64/multiarch/init-arch.h
5511 (bit_YMM_Usable): Rename to...
5512 (bit_AVX_Usable): ... this.
5513 (bit_FMA4_Usable): New macro.
5514 (bit_XMM_state): New macro.
5515 (bit_YMM_state): New macro.
5516 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5517 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5518 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5519 (CPUID_OSXSAVE): New macro.
5520 (CPUID_AVX): New macro.
5521 (CPUID_FMA4): New macro.
5522 (index_YMM_Usable): Rename to...
5523 (index_AVX_Usable): ... this.
5524 (HAS_AVX): Use HAS_ARCH_FEATURE.
5525 (HAS_FMA4): Likewise.
5526 (HAS_YMM_USABLE): Remove.
5527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5528 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5530 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5531 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5532 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5533 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5534 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5536 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5538 * math/libm-test.c: Support platforms without multiple rounding modes.
5539 * math/bug-nextafter.c: Support platforms without FP exceptions.
5540 * math/bug-nexttoward.c: Likewise.
5541 * math/test-fenv.c: Likewise.
5542 * math/test-misc.c: Likewise.
5543 * stdlib/bug-getcontext.c: Likewise.
5545 2012-05-17 Andreas Jaeger <aj@suse.de>
5547 * manual/examples/search.c (critter_cmp): Change signature to
5549 * manual/string.texi (Collation Functions): Likewise.
5551 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5553 * bits/types.h: Fold copyright years.
5554 * bits/typesizes.h: Likewise.
5555 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5556 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5558 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5559 * time/time.h: Likewise.
5561 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5564 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5565 in instead of returning them. Return void.
5566 (__libc_mallinfo): Accumulate over all arenas.
5567 (__malloc_stats): Adjust for change in int_mallinfo interface.
5569 2012-05-16 Roland McGrath <roland@hack.frob.com>
5572 * configure.in (NM): Add AC_CHECK_TOOL for it.
5573 (libc_extra_cflags): New substituted variable.
5574 Check for -fstack-protector being used implicitly.
5575 * configure: Regenerated.
5576 * config.make.in (config-extra-cflags): New variable,
5577 gets @libc_extra_cflags@.
5578 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5581 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5582 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5583 * configure: Regenerated.
5584 * config.make.in (CPPUNDEFS): New substituted variable.
5585 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5586 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5587 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5589 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5591 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5592 (mq_attr): Use __syscall_slong_t.
5594 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5596 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5597 Check __x86_64__ instead of __WORDSIZE.
5598 (_STAT_VER_LINUX): Likewise.
5599 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5600 __syscall_ulong_t and __syscall_slong_t.
5603 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5605 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5607 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5609 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5611 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5613 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5616 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5617 include <bits/wordsize.h>. Check __x86_64__ instead of
5619 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5621 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5623 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5624 include <bits/wordsize.h>. Check __x86_64__ instead of
5626 (user_regs_struct): Use "__extension__ unsigned long long"
5627 instead of "unsigned long" if __x86_64__ is defined.
5628 (user): Likewise. Pad after pointer field if __ILP32__ is
5631 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5633 * configure.in (makeinfo): Require version 4.5 or later. Allow
5635 * configure: Regenerated.
5636 * manual/install.texi (texinfo): Increase version requirement to
5638 * INSTALL: Regenerated.
5640 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5642 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5644 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5646 * sysdeps/x86_64/x32/ffs.c: New file.
5648 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5650 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5651 defined. Use __syscall_ulong_t.
5652 (shminfo): Use __syscall_ulong_t.
5653 (shm_info): Likewise.
5655 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5658 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5660 (msgqnum_t): Use __syscall_ulong_t.
5661 (msglen_t): Likewise.
5662 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5665 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5666 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5668 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5670 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5671 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5673 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5676 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5677 include <bits/wordsize.h>. Check __x86_64__ instead of
5680 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5681 "unsigned long long int" if __x86_64__ is defined.
5682 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5684 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5685 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5686 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5688 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5690 (GET_PC): Cast to uintptr_t first.
5691 (GET_FRAME): Likewise.
5692 (GET_STACK): Likewise.
5694 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5695 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5696 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5697 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5698 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5699 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5700 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5701 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5702 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5703 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5704 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5705 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5706 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5707 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5708 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5709 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5710 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5711 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5712 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5713 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5714 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5715 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5716 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5717 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5718 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5719 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5720 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5721 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5722 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5724 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5726 * Makerules (+depfiles): Also collect depfiles from .oS in
5728 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5729 .oS, $(libnldbl-routines)).
5731 * Makerules (native-compile-mkdep-flags): Define.
5732 * sunrpc/Makefile (extra-objs): Add $(addprefix
5733 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5734 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5735 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5736 calling $(make-target-directory).
5738 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5740 * bits/types.h (__snseconds_t): Removed.
5741 * time/time.h (struct timespec): Replace __snseconds_t with
5743 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5744 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5746 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5747 (__SNSECONDS_T_TYPE): Likewise.
5748 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5749 (__SNSECONDS_T_TYPE): Likewise.
5750 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5751 (__SNSECONDS_T_TYPE): Likewise.
5753 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5755 * sysdeps/mach/hurd/bits/typesizes.h
5756 (__SYSCALL_SLONG_TYPE): New macro.
5757 (__SYSCALL_ULONG_TYPE): Likewise.
5759 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5761 * bits/types.h (__syscall_slong_t): New type.
5762 (__syscall_ulong_t): Likewise.
5764 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5765 (__SYSCALL_ULONG_TYPE): Likewise.
5766 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5767 (__SYSCALL_SLONG_TYPE): Likewise.
5768 (__SYSCALL_ULONG_TYPE): Likewise.
5769 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5770 (__SYSCALL_SLONG_TYPE): Likewise.
5771 (__SYSCALL_ULONG_TYPE): Likewise.
5772 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5773 (__SYSCALL_SLONG_TYPE): Likewise.
5774 (__SYSCALL_ULONG_TYPE): Likewise.
5776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5778 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5779 Add sigaltstack-offsets.sym.
5780 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5781 <sigaltstack-offsets.h>.
5782 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5783 longjmp_msg pointer.
5784 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5785 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5787 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5789 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5791 * elf/stackguard-macros.h: Remove file.
5792 * sysdeps/generic/stackguard-macros.h: New file.
5793 * sysdeps/i386/stackguard-macros.h: Likewise.
5794 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5795 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5796 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5797 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5798 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5799 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5800 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5801 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5802 <elf/stackguard-macros.h>.
5805 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5806 __aligned__ in attribute.
5807 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5808 (gregset_t): Likewise.
5810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5812 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5813 * sysdeps/x86_64/64/Implies-after: Here. New file.
5814 * sysdeps/x86_64/x32/Implies-after: New file.
5816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5818 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5819 and access return value for _dl_profile_fixup. Use R10_LP to
5822 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5824 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5826 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5828 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5829 * sysdeps/x86_64/x32/sysdep.h: New file.
5831 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5833 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5834 * sysdeps/x86_64/setjmp.S: Likewise.
5836 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5838 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5839 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5840 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5841 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5842 remove unused global constant.
5844 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5846 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5847 include of <not-cancel.h>.
5849 2012-05-15 Roland McGrath <roland@hack.frob.com>
5851 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5853 2012-05-15 Jeff Law <law@redhat.com>
5854 Andreas Jaeger <aj@suse.de>
5857 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5859 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5860 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5861 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5862 code changing __hst_map_handle.map.
5864 2012-05-15 Roland McGrath <roland@hack.frob.com>
5866 * configure.in (sysnames): Look for Implies-before and Implies-after
5868 * configure: Regenerated.
5870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5872 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5873 8-byte data alignment with LP_SIZE alignment.
5875 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5877 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5880 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5882 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5884 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5886 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5887 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5888 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5890 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5894 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5895 (stackinfo_sub_sp): Likewise.
5897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5902 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5904 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5907 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5909 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5914 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5916 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5918 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5919 into R11_LP and load __x86_64_shared_cache_size_half into
5922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5924 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5927 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5931 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5933 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5935 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5936 powerpc32/power7/fpu/s_logb.c via #include.
5937 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5938 powerpc32/power7/fpu/s_logbf.c via #include.
5939 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5940 powerpc32/power7/fpu/s_logbl.c via #include.
5942 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5944 * README.libm: Remove file.
5946 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5948 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5949 count for x32. Use R*_LP and omit operand-size suffix.
5951 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5953 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5954 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5955 * sysdeps/x86_64/x32/shlib-versions: New file.
5957 2012-05-14 Roland McGrath <roland@hack.frob.com>
5959 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5960 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5961 Use _dl_fatal_printf instead.
5963 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5965 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5966 set if not set by the user. Do not allow for being unset.
5967 * sysdeps/unix/sysv/linux/configure: Regenerated.
5969 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5971 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5972 the `q' suffix from lea and replace .quad with ASM_ADDR.
5974 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5977 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5979 (PTR_DEMANGLE): Likewise.
5981 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5983 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5985 (ASM_ADDR): Likewise.
6003 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6005 * sysdeps/x86_64/x32/dl-machine.h: New file.
6007 2012-05-14 Andreas Jaeger <aj@suse.de>
6009 * manual/Makefile (subdir): Remove export of subdir.
6010 (all): Remove target.
6011 (.PHONY): Remove all from list.
6012 (mkinstalldirs): Remove.
6013 (.PHONY): Remove installdirs from list.
6014 ($(inst_infodir)/libc.info): Use make-target-directory.
6015 (installdirs): Remove.
6017 (glibc-targets): Remove.
6020 ($(objpfx)stubs ../po/manual.pot): Remove.
6021 ($(objpfx)stamp%): Remove.
6022 (make-target-directory): Remove.
6023 (subdir_install): Remove.
6031 * manual/.gitignore: Remove, it's not needed anymore.
6032 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6034 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6036 (texis): Renamed to $(objpfx)texis.
6037 (texis-path): New, contains path to generated files.
6038 (chapters.%): Use texis-path for complete path, add extra argument
6040 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6041 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6042 (summary,texi, stamp-summary): Use complete path of
6043 files. Generate files in build dir.
6044 (dir-add.texi): Build in build dir.
6045 (libm-err.texi,stamp-libm-err): Likewise.
6046 (version.texi, stamp-version): Likewise.
6047 (.%c.texi): Likewise.
6048 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6049 (mostlyclean): Remove target.
6050 (realclean): Remove target.
6051 (generated): Add new variable with contents from mostlyclean and
6052 realclean, remove entries duplicated in common-mostlyclean, add
6053 stamp-libm-err and stamp-version.
6054 (generated-dirs): Add libc directory.
6055 ($(inst_infodir)/libc.info): Install files from build dir.
6057 * manual/install.texi (Configuring and compiling): Adjust since
6058 the info files are not part of the tar ball anymore.
6060 2012-05-14 Andreas Jaeger <aj@suse.de>
6062 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6065 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6068 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6069 to 2.2.0 where earlier.
6070 * sysdeps/unix/sysv/linux/configure: Regenerated.
6071 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6072 Remove conditional code.
6073 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6074 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6075 Remove conditional code.
6076 [!__NR_lchown]: Likewise.
6077 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6078 [__NR_lchown]: Likewise.
6079 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6080 comment referencing __ASSUME_LCHOWN_SYSCALL.
6081 * sysdeps/unix/sysv/linux/i386/sigaction.c
6082 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6083 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6084 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6085 Remove conditional code.
6086 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6087 (__protocol_available): Remove #if 0 code.
6088 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6090 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6091 * sysdeps/unix/sysv/linux/kernel-features.h
6092 (__ASSUME_GETCWD_SYSCALL): Don't define.
6093 (__ASSUME_REALTIME_SIGNALS): Likewise.
6094 (__ASSUME_PREAD_SYSCALL): Likewise.
6095 (__ASSUME_PWRITE_SYSCALL): Likewise.
6096 (__ASSUME_POLL_SYSCALL): Likewise.
6097 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6098 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6100 (__ASSUME_SIOCGIFNAME): Don't define.
6101 (__ASSUME_MSG_NOSIGNAL): Likewise.
6102 (__ASSUME_SENDFILE): Define unconditionally.
6103 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6104 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6106 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6107 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6108 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6109 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6110 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6111 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6112 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6114 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6115 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6117 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6118 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6120 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6121 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6123 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6124 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6126 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6127 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6129 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6130 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6132 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6133 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6135 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6136 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6137 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6138 Remove conditional code.
6139 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6140 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6141 Remove conditional code.
6142 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6143 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6144 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6145 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6146 Remove conditional code.
6147 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6148 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6149 Remove conditional code.
6150 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6151 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6152 Remove conditional code.
6153 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6154 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6155 Remove conditional code.
6156 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6157 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6158 Remove conditional code.
6159 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6160 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6161 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6162 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6163 * sysdeps/unix/sysv/linux/sigaction.c
6164 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6165 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6166 * sysdeps/unix/sysv/linux/sigpending.c
6167 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6168 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6169 * sysdeps/unix/sysv/linux/sigprocmask.c
6170 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6171 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6172 * sysdeps/unix/sysv/linux/sigsuspend.c
6173 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6174 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6175 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6176 (__libc_missing_rt_sigs): Remove.
6177 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6178 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6179 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6180 Remove conditional code.
6181 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6182 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6184 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6185 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6186 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6187 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6189 2012-05-14 Andreas Jaeger <aj@suse.de>
6191 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6192 it's not used in glibc.
6193 (__coshm1): Likewise.
6194 (__acosh1p): Likewise.
6197 * manual/string.texi (Copying and Concatenation): Add missing
6198 variable in concat example.
6199 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6201 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6204 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6205 __builtin_clzl with __builtin_clzll.
6207 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6210 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6213 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6215 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6216 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6217 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6218 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6220 2012-05-14 Mike Frysinger <vapier@gentoo.org>
6222 * NEWS: Update ia64 info.
6224 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6226 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6229 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6231 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6232 * sysdeps/unix/syscalls.list (dup3): Likewise.
6233 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6234 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6236 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6238 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6239 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6241 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6243 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6245 (TLS_IE): Use mov/add instead of movq/addq to load thread
6247 (TLS_GD_PREFIX): New.
6250 2012-05-11 David S. Miller <davem@davemloft.net>
6252 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6253 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6254 (_FPU_SETCW): Likewise.
6256 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6258 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6261 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6264 * iconvdata/gb18030.c: Update tables.
6265 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6266 characters specially.
6267 (BODY for TO_LOOP): Add encoding of missing ranges.
6269 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6272 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6273 * sysdeps/mach/hurd/dup3.c: Likewise.
6274 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6275 * sysdeps/powerpc/memmove.c:: Likewise.
6277 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6279 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6280 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6282 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6284 * elf/elf.h (R_X86_64_RELATIVE64): New.
6285 (R_X86_64_NUM): Updated.
6286 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6287 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6288 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6289 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6290 tst-quad1pie tst-quad2pie
6291 (modules-names): Add tst-quadmod1 tst-quadmod2.
6292 ($(objpfx)tst-quad1): New dependency.
6293 ($(objpfx)tst-quad2): Likewise.
6294 ($(objpfx)tst-quad1pie): Likewise.
6295 ($(objpfx)tst-quad2pie): Likewise.
6296 * sysdeps/x86_64/tst-quad1.c: New file.
6297 * sysdeps/x86_64/tst-quad1pie.c: New file.
6298 * sysdeps/x86_64/tst-quad2.c: Likewise.
6299 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6300 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6301 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6302 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6303 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6305 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6307 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6308 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6309 * streams/stropts.h (t_scalar_t): Define type.
6311 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6312 (_PATH_PRESERVE): Set to "/var/lib".
6313 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6315 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6318 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6319 if __dir_mkfile succeeded.
6321 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6322 checking for _hurd_dtablesize. Unlock it right after having
6323 finished _hurd_dtable allocation.
6325 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6327 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6328 * sysdeps/mach/hurd/configure: Regenerated.
6329 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6330 special-casing to...
6331 * sysdeps/gnu/configure.in: ... this new file.
6332 * sysdeps/unix/sysv/linux/configure: Regenerated.
6333 * sysdeps/gnu/configure: New generated file.
6335 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6336 for Linux: use nsec instead of usec, as well as:
6337 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6338 members of type struct timespec.
6339 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6341 (struct stat64): Likewise.
6342 (_STATBUF_ST_NSEC): New macro.
6343 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6345 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6346 __strtoul_internal rather than strtoul.
6348 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6350 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6353 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6355 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6356 which preserves existing values.
6357 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6359 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6361 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6362 TIMEOUT values. Return EINVAL for NFDS values either negative or
6363 greater than FD_SETSIZE.
6365 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6367 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6368 allocated, call __vm_protect to finish enabling the existing space, and
6369 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6370 allocate the remainder.
6372 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6374 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6375 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6377 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6379 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6380 sysdeps/mach/hurd/readlink.c.
6382 * posix/tst-sysconf.c (posix_options): Only use
6383 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6384 _POSIX_SYNCHRONIZED_IO when they are defined
6385 * sysdeps/mach/hurd/bits/posix_opt.h:
6386 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6387 (_XOPEN_REALTIME): Undefine macro.
6388 (_XOPEN_REALTIME_THREADS): Undefine macro.
6389 (_XOPEN_SHM): Undefine macro.
6390 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6392 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6394 (_POSIX_ASYNC_IO): Undefine macro.
6395 (_POSIX_PRIORITIZED_IO): Undefine macro.
6396 (_POSIX_SPIN_LOCKS): Define macro to -1.
6398 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6399 SA_NODEFER, SA_RESETHAND.
6400 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6401 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6404 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6406 * elf/Makefile (pldd-modules): Define unconditionally.
6408 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6410 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6412 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6414 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6415 Return ENOENT when name is empty.
6416 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6418 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6420 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6422 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6424 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6426 Fix mlock in all cases except non-readable pages.
6427 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6428 instead of VM_PROT_ALL as parameter to __vm_wire function.
6430 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6431 (__mkdir): When path is `/', just fail with EEXIST.
6432 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6434 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6436 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6437 <sys/uio.h> (for writev).
6438 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6439 and <sys/param.h> (for MIN).
6441 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6443 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6444 REQUESTED_TIME. Properly set the remaining time and return EINTR
6447 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6449 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6450 Depend on against $(link-rpcuserlibs).
6452 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6454 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6455 (__libc_stack_end): Do not use attribute_relro.
6456 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6457 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6458 to libthread-provided value.
6459 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6462 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6465 * bits/libc-lock.h (__libc_once_get): New macro.
6466 * sysdeps/mach/bits/libc-lock.h: Likewise.
6467 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6468 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6469 instead of using implementation details.
6471 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6472 * libio/freopen.c: Likewise.
6473 * libio/freopen64.c: Likewise.
6474 * misc/syslog.c: Likewise.
6475 * nscd/connections.c: Likewise.
6476 * nscd/netgroupcache.c: Likewise.
6477 * sysdeps/posix/getcwd.c: Likewise.
6479 2012-05-10 Roland McGrath <roland@hack.frob.com>
6481 * math/w_ilogbf.c: Add #include <limits.h>.
6483 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6485 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6486 path instead of returning without unlocking.
6488 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6489 immediate-write ioctls.
6490 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6494 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6495 __builtin_frame_address instead of making assumptions about the
6496 location of the return address relative to DATA. Force early load of
6498 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6499 __builtin_frame_address.
6502 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6503 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6504 implement dup3 and do some further code clean-ups.
6505 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6506 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6510 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6512 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6513 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6514 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6515 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6516 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6519 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6520 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6521 when handler == SIG_ERR, not when handler != SIG_ERR.
6523 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6525 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6526 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6529 accept4 for GNU Hurd.
6530 * include/sys/socket.h (__libc_accept4): New prototype.
6531 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6532 to implement __libc_accept4.
6533 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6535 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6537 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6538 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6539 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6542 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6544 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6546 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6548 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6549 assertion on O_CLOEXEC flag.
6550 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6551 * hurd/intern-fd.c: Likewise.
6552 * hurd/port2fd.c: Likewise.
6554 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6557 * bits/in.h (IPV6_PKTINFO): Define new macro.
6558 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6560 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6565 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6566 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6567 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6568 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6569 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6570 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6571 * math/libm-test.inc (logb_test) : Additional logb tests.
6573 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6574 Andreas Jaeger <aj@suse.de>
6576 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6577 * configure: Regenerated.
6578 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6579 * config.make.in (link-obsolete-rpc): New substituted variable.
6580 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6581 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6582 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6583 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6584 so that libc.a contains the symbols.
6585 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6586 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6587 * sunrpc/auth_none.c: Likewise.
6588 * sunrpc/auth_unix.c: Likewise.
6589 * sunrpc/authdes_prot.c: Likewise.
6590 * sunrpc/authuxprot.c: Likewise.
6591 * sunrpc/clnt_gen.c: Likewise.
6592 * sunrpc/clnt_perr.c: Likewise.
6593 * sunrpc/clnt_raw.c: Likewise.
6594 * sunrpc/clnt_simp.c: Likewise.
6595 * sunrpc/clnt_tcp.c: Likewise.
6596 * sunrpc/clnt_udp.c: Likewise.
6597 * sunrpc/clnt_unix.c: Likewise.
6598 * sunrpc/des_crypt.c: Likewise.
6599 * sunrpc/des_soft.c: Likewise.
6600 * sunrpc/get_myaddr.c: Likewise.
6601 * sunrpc/key_call.c: Likewise.
6602 * sunrpc/key_prot.c: Likewise.
6603 * sunrpc/netname.c: Likewise.
6604 * sunrpc/pm_getmaps.c: Likewise.
6605 * sunrpc/pm_getport.c: Likewise.
6606 * sunrpc/pmap_clnt.c: Likewise.
6607 * sunrpc/pmap_prot.c: Likewise.
6608 * sunrpc/pmap_prot2.c: Likewise.
6609 * sunrpc/pmap_rmt.c: Likewise.
6610 * sunrpc/publickey.c: Likewise.
6611 * sunrpc/rpc_cmsg.c: Likewise.
6612 * sunrpc/rpc_common.c: Likewise.
6613 * sunrpc/rpc_dtable.c: Likewise.
6614 * sunrpc/rpc_prot.c: Likewise.
6615 * sunrpc/rpc_thread.c: Likewise.
6616 * sunrpc/rtime.c: Likewise.
6617 * sunrpc/svc.c: Likewise.
6618 * sunrpc/svc_auth.c: Likewise.
6619 * sunrpc/svc_raw.c: Likewise.
6620 * sunrpc/svc_run.c: Likewise.
6621 * sunrpc/svc_tcp.c: Likewise.
6622 * sunrpc/svc_udp.c: Likewise.
6623 * sunrpc/svc_unix.c: Likewise.
6624 * sunrpc/svcauth_des.c: Likewise.
6625 * sunrpc/xcrypt.c: Likewise.
6626 * sunrpc/xdr.c: Likewise.
6627 * sunrpc/xdr_array.c: Likewise.
6628 * sunrpc/xdr_float.c: Likewise.
6629 * sunrpc/xdr_intXX_t.c: Likewise.
6630 * sunrpc/xdr_mem.c: Likewise.
6631 * sunrpc/xdr_rec.c: Likewise.
6632 * sunrpc/xdr_ref.c: Likewise.
6633 * sunrpc/xdr_sizeof.c: Likewise.
6634 * sunrpc/xdr_stdio.c: Likewise.
6636 2012-05-10 Roland McGrath <roland@hack.frob.com>
6638 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6639 change. Update copyright years.
6641 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6643 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6645 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6646 Joseph Myers <joseph@codesourcery.com>
6647 Paul Pluzhnikov <ppluzhnikov@google.com>
6650 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6652 [cross-compiling] (extra-libs): Likewise.
6653 [cross-compiling] (extra-libs-others): Likewise.
6654 [cross-compiling] (librpcsvc-routines): Likewise.
6655 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6656 [cross-compiling] (omit-deps): Likewise.
6657 (sunrpc-CPPFLAGS): New variable.
6658 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6659 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6660 (cross-rpcgen-objs): New variable.
6661 (extra-objs): Append $(cross-rpcgen-objs).
6662 ($(cross-rpcgen-objs)): New rule.
6663 ($(objpfx)cross-rpcgen): Likewise.
6664 (rpcgen-cmd): Define to use $(built-program-file). Expand
6666 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6667 ($(objpfx)x%.stmp): Likewise.
6668 * sunrpc/proto.h [IS_IN_build] (_): Define.
6669 [IS_IN_build] (_libc_intl_domainname): Likewise.
6671 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6673 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6674 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6675 and R_X86_64_TPOFF64.
6677 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6679 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6680 sysdeps/unix/sysv/syscalls.list.
6683 * sysdeps/unix/sysv/syscalls.list: Remove file.
6685 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6688 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6689 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6690 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6691 (__LC_IDENTIFICATION): Make these macros useful in #if
6692 expressions, as required by C99.
6694 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6696 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6697 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6700 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6702 * stdlib/longlong.h: Updated from GCC.
6704 2012-05-09 Andreas Jaeger <aj@suse.de>
6706 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6707 default is first entry.
6708 (run_mode): Set type.
6709 (main): Remove informal message about syslog.
6710 (options): Fix typo.
6713 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6716 (llrintf): Likewise.
6720 (nearbyint): Likewise.
6721 (nearbyintf): Likewise.
6723 2012-05-09 Andreas Jaeger <aj@suse.de>
6724 Pedro Alves <palves@redhat.com>
6726 * nscd/nscd.c (run_mode): Use enum.
6727 (main): Cleanup coding style issue.
6729 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6730 Andreas Jaeger <aj@suse.de>
6732 * nscd/nscd.c (go_background): Replaced with...
6733 (run_mode): ... this.
6734 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6735 (options): Add -F --foreground.
6736 (main): Implement it.
6737 (parse_opt): Parse it.
6739 2012-05-09 Andreas Jaeger <aj@suse.de>
6742 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6743 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6744 -Wconversion warning.
6745 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6748 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6750 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6752 (LC_ALL): Use macro-int-constant.
6753 (LC_COLLATE): Likewise.
6754 (LC_CTYPE): Likewise.
6755 (LC_MESSAGES): Likewise.
6756 (LC_MONETARY): Likewise.
6757 (LC_NUMERIC): Likewise.
6758 (LC_TIME): Likewise.
6759 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6760 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6762 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6764 [C99-based standards] (float_t): Expect type.
6765 [C99-based standards] (double_t): Expect type.
6766 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6768 [C99-based standards] (HUGE_VALL): Likewise.
6769 [C99-based standards] (INFINITY): Likewise.
6770 [C99-based standards] (NAN): Likewise.
6771 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6772 [C99-based standards] (FP_NAN): Likewise.
6773 [C99-based standards] (FP_NORMAL): Likewise.
6774 [C99-based standards] (FP_SUBNORMAL): Likewise.
6775 [C99-based standards] (FP_ZERO): Likewise.
6776 [C99-based standards] (FP_FAST_FMA): Use
6777 optional-macro-int-constant. Specify type. Require == 1.
6778 [C99-based standards] (FP_FAST_FMAF): Likewise.
6779 [C99-based standards] (FP_FAST_FMAL): Likewise.
6780 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6781 [C99-based standards] (FP_ILOGBNAN): Likewise.
6782 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6784 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6785 [C99-based standards] (math_errhandling): Specify type.
6786 [ISO99 || ISO11] (signgam): Do not allow.
6787 [non-C99-based standards] (copysignf): Do not allow.
6788 [non-C99-based standards] (exp2f): Likewise.
6789 [non-C99-based standards] (log2f): Likewise.
6790 [non-C99-based standards] (modff): Allow.
6791 [non-C99-based standards] (erff): Do not allow.
6792 [non-C99-based standards] (erfcf): Likewise.
6793 [non-C99-based standards] (gammaf): Likewise.
6794 [non-C99-based standards] (hypotf): Likewise.
6795 [non-C99-based standards] (j0f): Likewise.
6796 [non-C99-based standards] (j1f): Likewise.
6797 [non-C99-based standards] (jnf): Likewise.
6798 [non-C99-based standards] (lgammaf): Likewise.
6799 [non-C99-based standards] (tgammaf): Likewise.
6800 [non-C99-based standards] (y0f): Likewise.
6801 [non-C99-based standards] (y1f): Likewise.
6802 [non-C99-based standards] (ynf): Likewise.
6803 [non-C99-based standards] (isnanf): Likewise.
6804 [non-C99-based standards] (acoshf): Likewise.
6805 [non-C99-based standards] (asinhf): Likewise.
6806 [non-C99-based standards] (atanhf): Likewise.
6807 [non-C99-based standards] (cbrtf): Likewise.
6808 [non-C99-based standards] (expm1f): Likewise.
6809 [non-C99-based standards] (ilogbf): Likewise.
6810 [non-C99-based standards] (log1pf): Likewise.
6811 [non-C99-based standards] (logbf): Likewise.
6812 [non-C99-based standards] (nextafterf): Likewise.
6813 [non-C99-based standards] (remainderf): Likewise.
6814 [non-C99-based standards] (rintf): Likewise.
6815 [non-C99-based standards] (scalbf): Likewise.
6816 [non-C99-based standards] (copysignl): Likewise.
6817 [non-C99-based standards] (exp2l): Likewise.
6818 [non-C99-based standards] (log2l): Likewise.
6819 [non-C99-based standards] (modfl): Allow.
6820 [non-C99-based standards] (erfl): Do not allow.
6821 [non-C99-based standards] (erfcl): Likewise.
6822 [non-C99-based standards] (gammal): Likewise.
6823 [non-C99-based standards] (hypotl): Likewise.
6824 [non-C99-based standards] (j0l): Likewise.
6825 [non-C99-based standards] (j1l): Likewise.
6826 [non-C99-based standards] (jnl): Likewise.
6827 [non-C99-based standards] (lgammal): Likewise.
6828 [non-C99-based standards] (tgammal): Likewise.
6829 [non-C99-based standards] (y0l): Likewise.
6830 [non-C99-based standards] (y1l): Likewise.
6831 [non-C99-based standards] (ynl): Likewise.
6832 [non-C99-based standards] (isnanl): Likewise.
6833 [non-C99-based standards] (acoshl): Likewise.
6834 [non-C99-based standards] (asinhl): Likewise.
6835 [non-C99-based standards] (atanhl): Likewise.
6836 [non-C99-based standards] (cbrtl): Likewise.
6837 [non-C99-based standards] (expm1l): Likewise.
6838 [non-C99-based standards] (ilogbl): Likewise.
6839 [non-C99-based standards] (log1pl): Likewise.
6840 [non-C99-based standards] (logbl): Likewise.
6841 [non-C99-based standards] (nextafterl): Likewise.
6842 [non-C99-based standards] (remainderl): Likewise.
6843 [non-C99-based standards] (rintl): Likewise.
6844 [non-C99-based standards] (scalbl): Likewise.
6845 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6846 [non-C99-based standards] (FP_*): Do not allow.
6847 [C99-based standards] (FP_*): Change to
6848 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6849 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6851 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6852 (SIG_ERR): Likewise.
6853 [X/Open-based standards] (SIG_HOLD): Likewise.
6854 (SIG_IGN): Likewise.
6855 (SIGABRT): Use macro-int-constant. Specify type. Require
6860 (SIGSEGV): Likewise.
6862 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6863 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6864 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6865 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6866 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6867 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6868 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6869 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6870 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6871 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6872 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6873 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6874 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6875 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6876 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6877 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6878 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6879 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6880 [X/Open-based standards] (SIGTRAP): Likewise.
6881 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6882 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6883 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6884 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6885 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6888 2012-05-08 Ian Wienand <ianw@vmware.com>
6891 * time/tzset.c (__tzset_parse_tz): Update default rules for
6892 daylight time changes in the Energy Policy Act of 2005.
6894 2012-05-09 Andreas Jaeger <aj@suse.de>
6897 * elf/ldconfig.c (parse_conf): Change string to make clear that
6898 ldconfig only issued a warning if ld.so.conf does not exist.
6900 2012-05-08 David S. Miller <davem@davemloft.net>
6902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6903 movxtod instead of popping the value on the stack.
6905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6907 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6909 * config.h.in: Add HAVE_ARM_PCS_VFP.
6911 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6914 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6915 checking but the checks are disabled for any reason.
6917 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6919 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6920 and ELF64_R_TYPE with ELFW(R_TYPE).
6922 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6924 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6927 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6928 (settimeofday): Likewise.
6930 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6932 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6933 a struct th_u2 inside the union, and move tu_block/tu_code into
6934 a new th_u3 union of tu_block/tu_code inside of that. Move
6935 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6936 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6937 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6938 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6939 (th_stuff): Change to th_u1.tu_stuff.
6941 (th_msg): Change to th_u1.th_u2.tu_data.
6943 2012-05-07 David S. Miller <davem@davemloft.net>
6945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6948 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6949 (SETUP_PIC_REG): Use it.
6950 (SETUP_PIC_REG_LEAF): Use it.
6952 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6956 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6958 (EXPL_FINITE): Likewise.
6960 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6961 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6963 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6965 (EXPL_FINITE): Likewise.
6967 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6968 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6970 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6971 test of -max_value argument for long double.
6972 * sysdeps/i386/fpu/libm-test-ulps: Update.
6973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6975 2012-05-06 David S. Miller <davem@davemloft.net>
6977 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6978 quad soft-float symbols whose references which are compiler
6980 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6982 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6986 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6988 (EXPL_FINITE): Likewise.
6992 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6993 Adjust comments for base varying.
6994 (__expl_finite): Change alias to EXPL_FINITE.
6995 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6997 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6998 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6999 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7000 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7001 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7003 (EXPL_FINITE): Likewise.
7007 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7008 Adjust comments for base varying.
7009 (__expl_finite): Change alias to EXPL_FINITE.
7010 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7015 * math/libm-test.inc (check_float_internal): Correct ulp
7016 calculation for subnormal expected results.
7018 2012-05-06 Andreas Jaeger <aj@suse.de>
7020 * Makeconfig (+math-flags): New, set to -frounding-math.
7021 (+cflags): Add +math-flags so that all of glibc gets compiled with
7024 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7026 2012-05-05 Joseph Myers <joseph@codesourcery.com>
7028 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7034 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7035 (__ieee754_expl): Allow for and saturate large arguments.
7036 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7037 (u_threshold): Likewise.
7038 (__exp): Call __ieee754_exp before checking for overflow and
7040 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7041 (u_threshold): Likewise.
7042 (__expf): Call __ieee754_expf before checking for overflow and
7044 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7045 (u_threshold): Likewise.
7046 (__expl): Call __ieee754_expl before checking for overflow and
7048 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7049 (__ieee754_expl): Allow for and saturate large arguments.
7050 * math/libm-test.inc (exp_test): Add another test. Do not allow
7051 missing overflow exception on overflow.
7052 (expm1_test): Do not allow missing overflow exception on overflow.
7054 * sysdeps/i386/fpu/e_expl.c: Move to ...
7055 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7056 rather than using inline asm.
7057 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7058 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7059 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7061 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7068 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7070 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7071 sysdeps/unix/common/syscalls.list.
7074 (ftruncate): Likewise.
7075 (getrusage): Likewise.
7076 (gettimeofday): Likewise.
7077 (setpgid): Likewise.
7078 (setregid): Likewise.
7079 (setreuid): Likewise.
7080 (sigaction): Likewise.
7081 (truncate): Likewise.
7082 (vhangup): Likewise.
7083 * sysdeps/unix/common/syscalls.list: Remove file.
7084 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7085 * sysdeps/unix/sysv/linux/Implies: Likewise.
7087 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7089 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7091 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7095 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7098 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7101 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7104 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7107 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7110 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7113 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7117 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7121 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7124 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7128 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7132 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7134 * sysdeps/unix/common/bits/dirent.h: Remove file.
7135 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7137 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7138 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7139 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7140 * sysdeps/unix/bsd/isatty.c: Likewise.
7141 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7142 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7143 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7145 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7148 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7149 long double comparison inaccuracies.
7150 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7153 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7155 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7156 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7158 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7161 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7162 nonzero digits before rounding a hex value.
7163 * stdlib/tst-strtod.c (tests): Add another test.
7165 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7167 * sysdeps/s390/fpu/libm-test-ulps: Update.
7169 2012-05-03 Andreas Jaeger <aj@suse.de>
7171 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7172 does not get optimized out.
7173 (malloc_opt_barrier): New.
7175 2012-05-03 Andreas Jaeger <aj@suse.de>
7176 Roland McGrath <roland@hack.frob.com>
7178 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
7179 intermediate file deletion.
7180 (generated): Add .symlist files.
7182 2012-05-03 Joseph Myers <joseph@codesourcery.com>
7185 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7186 Redirect under this condition.
7187 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7188 [__USE_GNU] (__dprintf_chk): Not under this condition.
7189 [__USE_GNU] (__vdprintf_chk): Likewise.
7190 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7191 under this condition.
7192 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7193 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7194 [__USE_XOPEN2K8] (vdprintf): Likewise.
7195 [__USE_GNU] (__dprintf_chk): Not under this condition.
7196 [__USE_GNU] (__vdprintf_chk): Likewise.
7197 [__USE_GNU] (dprintf): Likewise.
7198 [__USE_GNU] (vdprintf): Likewise.
7200 2012-05-03 Roland McGrath <roland@hack.frob.com>
7202 * elf/Makefile (common-generated): Set this instead of generated for
7203 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7204 $(all-built-dso)-derived lists.
7206 2012-05-03 Andreas Jaeger <aj@suse.de>
7208 * sysdeps/i386/fpu/libm-test-ulps: Update.
7212 * scripts/gen-FAQ.pl: Likewise.
7213 * manual/install.texi (Installation): Point to online location of
7215 * Makefile (files-for-dist): Remove FAQ.
7218 2012-05-02 Allan McRae <allan@archlinux.org>
7220 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7221 (LDFLAGS-reldepmod5.so): Likewise.
7222 (LDFLAGS-reldep6mod1.so): Likewise.
7223 (LDFLAGS-reldep6mod4.so): Likewise.
7224 (LDFLAGS-reldep8mod3.so): Likewise.
7225 (LDFLAGS-unload4mod1.so): Likewise.
7226 (LDFLAGS-unload4mod2.so): Likewise.
7227 (LDFLAGS-tst-initorder): Likewise.
7228 (LDFLAGS-tst-initordera2.so): Likewise.
7229 (LDFLAGS-tst-initordera3.so): Likewise.
7230 (LDFLAGS-tst-initordera4.so): Likewise.
7231 (LDFLAGS-tst-initorderb2.so): Likewise.
7232 (LDFLAGS-noload): Likewise.
7233 (LDFLAGS-next): Likewise.
7234 (LDFLAGS-order2mod1.so): Likewise.
7235 (LDFLAGS-order2mod2.so): Likewise.
7236 (LDFLAGS-tst-initorder2): Likewise.
7237 (LDFLAGS-tst-initorder2a.so): Likewise.
7238 (LDFLAGS-tst-initorder2b.so): Likewise.
7239 (LDFLAGS-tst-initorder2c.so): Likewise.
7240 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7242 2012-05-02 David S. Miller <davem@davemloft.net>
7244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7246 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7249 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7251 2012-05-02 Andreas Jaeger <aj@suse.de>
7253 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7254 since we manipulate rounding mode.
7255 (CPPFLAGS-test-idouble.c): Likewise.
7256 (CPPFLAGS-test-ifloat.c): Likewise.
7257 (CFLAGS-test-ldouble.c): Likewise.
7258 (CFLAGS-test-double.c): Likewise.
7259 (CFLAGS-test-float.c): Likewise.
7260 (CFLAGS-test-misc.c): Likewise.
7261 (CFLAGS-test-test-fenv.c): Likewise.
7263 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7267 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7268 comparisons to determine direction to adjust input.
7270 2012-05-01 Roland McGrath <roland@hack.frob.com>
7272 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7273 output to the target.
7275 * scripts/localplt.awk: New file.
7276 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7277 (check-localplt-CFLAGS): Variable removed.
7278 ($(all-built-dso:=.jmprel)): New static pattern rule.
7279 (generated): Add those targets.
7280 (localplt-built-dso): New variable.
7281 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7283 * elf/check-localplt.c: File removed.
7285 * scripts/check-execstack.awk: New file.
7286 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7287 (check-execstack-CFLAGS): Variable removed.
7288 ($(objpfx)check-execstack.h): Target removed.
7289 ($(objpfx)execstack-default): New target.
7290 (generated): Add that instead of check-execstack.h.
7291 ($(all-built-dso:=.phdr)): New static pattern rule.
7292 (generated): Add those targets.
7293 * elf/check-execstack.c: File removed.
7295 * scripts/check-textrel.awk: New file.
7296 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7297 (check-textrel-CFLAGS): Variable removed.
7298 (all-built-dso): Use := to define.o
7299 ($(all-built-dso:=.dyn)): New static pattern rule.
7300 (generated): Add those targets.
7301 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7302 * config.make.in (READELF): New substituted variable.
7303 * elf/check-textrel.c: File removed.
7305 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7307 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7309 * conform/data/ctype.h-data [C99-based standards] (isblank):
7311 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7312 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7313 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7314 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7315 Specify type. Require positive value.
7318 [ISO || POSIX] (EILSEQ): Do not expect.
7319 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7320 Specify type. Require positive value.
7321 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7322 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7323 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7324 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7325 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7326 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7327 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7328 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7329 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7330 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7331 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7332 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7333 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7334 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7335 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7336 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7337 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7338 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7339 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7340 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7341 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7342 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7343 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7344 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7345 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7346 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7347 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7348 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7349 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7350 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7351 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7352 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7353 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7354 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7355 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7356 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7357 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7358 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7359 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7360 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7361 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7362 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7363 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7364 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7365 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7366 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7367 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7368 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7369 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7370 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7371 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7372 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7373 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7374 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7375 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7376 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7377 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7378 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7379 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7380 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7381 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7382 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7383 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7384 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7385 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7386 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7387 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7388 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7389 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7390 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7391 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7392 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7393 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7394 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7395 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7396 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7397 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7399 (FLT_ROUNDS): Expect as macro, not constant.
7400 (FLT_MANT_DIG): Use macro-int-constant.
7401 (DBL_MANT_DIG): Likewise.
7402 (LDBL_MANT_DIG): Likewise.
7403 (FLT_DIG): Likewise.
7404 (DBL_DIG): Likewise.
7405 (LDBL_DIG): Likewise.
7406 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7407 (DBL_MIN_EXP): Likewise.
7408 (LDBL_MIN_EXP): Likewise.
7409 (FLT_MAX_EXP): Use macro-int-constant.
7410 (DBL_MAX_EXP): Likewise.
7411 (LDBL_MAX_EXP): Likewise.
7412 (FLT_MAX_10_EXP): Likewise.
7413 (DBL_MAX_10_EXP): Likewise.
7414 (LDBL_MAX_10_EXP): Likewise.
7415 (FLT_MAX): Use macro-constant.
7416 (DBL_MAX): Likewise.
7417 (LDBL_MAX): Likewise.
7418 (FLT_EPSILON): Use macro-constant. Give upper bound.
7419 (DBL_EPSILON): Likewise.
7420 (LDBL_EPSILON): Likewise.
7421 (FLT_MIN): Likewise.
7422 (DBL_MIN): Likewise.
7423 (LDBL_MIN): Likewise.
7424 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7425 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7426 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7427 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7428 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7429 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7430 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7431 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7432 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7433 [ISO11] (FLT_TRUE_MIN): Likewise.
7434 [ISO11] (LDBL_TRUE_MIN): Likewise.
7435 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7436 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7437 (SCHAR_MIN): Use macro-int-constant. Specify type.
7438 (SCHAR_MAX): Likewise.
7439 (UCHAR_MAX): Likewise.
7440 (CHAR_MIN): Likewise.
7441 (CHAR_MAX): Likewise.
7442 (MB_LEN_MAX): Use macro-int-constant.
7443 (SHRT_MIN): Use macro-int-constant. Specify type.
7444 (SHRT_MAX): Likewise.
7445 (USHRT_MAX): Likewise.
7446 (INT_MAX): Likewise.
7447 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7449 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7451 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7453 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7454 bound negative. Suffix upper bound with "L".
7455 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7457 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7459 [C99-based standards] (LLONG_MAX): Likewise.
7460 [C99-based standards] (ULLONG_MAX): Likewise.
7461 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7463 [ISO11] (max_align_t): Require type.
7464 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7466 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7467 from $CFLAGS, without defining away __attribute__ calls.
7468 (checknamespace): Use $CFLAGS_namespace.
7470 * conform/conformtest.pl (@keywords): Only include C99 keywords
7471 for standards based on C99 or C11.
7473 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7475 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7478 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7479 usability of symbols in #if.
7481 * conform/conformtest.pl: If macro or constant types start
7482 "promoted:", expect the symbol to be of the following type
7483 promoted by the integer promotions.
7485 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7486 in one place. Also handle "macro-constant".
7488 * conform/conformtest.pl: Only accept expected macro values with
7489 "==". Parse all "macro" lines in one place.
7490 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7492 * conform/conformtest.pl: Handle braced types on "constant" lines
7493 instead of handling "typed-constant".
7494 * conform/data/signal.h-data: Use "constant" instead of
7497 * conform/conformtest.pl: Handle "optional-" at start of lines in
7498 one place rather than duplicating several cases. Handle each
7499 format of "macro" line with initial "optional-".
7501 * conform/conformtest.pl: Only accept expected constant or
7502 optional-constant values with "==". Parse all "constant" lines in
7503 one place. Parse all "optional-constant" lines in one place.
7504 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7505 * conform/data/fmtmsg.h-data: Likewise.
7506 * conform/data/netinet/in.h-data: Likewise.
7507 * conform/data/tar.h-data: Likewise.
7508 * conform/data/limits.h-data: Use "==" form on "constant" and
7509 "optional-constant" lines.
7511 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7512 Use -std=c99 for XOPEN2K.
7513 (@knownproblems): Remove.
7514 (newtoken): Don't check %isknown.
7516 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7517 Do not expect macro.
7518 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7519 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7520 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7521 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7522 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7523 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7524 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7525 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7526 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7527 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7528 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7529 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7530 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7531 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7532 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7533 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7534 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7535 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7536 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7537 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7538 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7539 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7540 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7541 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7542 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7543 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7544 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7545 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7546 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7547 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7548 [XPG3] (acosh): Likewise.
7549 [XPG3] (asinh): Likewise.
7550 [XPG3] (atanh): Likewise.
7551 [XPG3] (cbrt): Likewise.
7552 [XPG3] (expm1): Likewise.
7553 [XPG3] (ilogb): Likewise.
7554 [XPG3] (log1p): Likewise.
7555 [XPG3] (logb): Likewise.
7556 [XPG3] (nextafter): Likewise.
7557 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7558 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7559 [XPG3] (remainder): Likewise.
7560 [XPG3] (rint): Likewise.
7561 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7562 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7563 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7564 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7565 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7566 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7567 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7568 [UNIX98 || XOPEN2K] (scalb): Expect.
7569 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7570 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7571 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7572 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7573 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7574 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7575 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7576 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7577 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7578 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7579 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7580 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7581 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7582 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7583 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7584 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7585 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7586 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7587 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7588 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7589 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7590 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7591 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7592 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7593 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7594 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7595 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7596 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7597 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7598 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7599 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7600 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7601 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7602 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7603 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7604 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7605 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7606 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7607 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7608 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7609 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7610 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7611 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7612 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7613 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7614 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7615 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7616 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7617 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7618 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7619 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7620 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7621 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7622 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7623 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7624 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7625 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7626 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7627 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7628 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7629 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7630 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7631 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7632 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7633 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7634 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7635 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7636 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7637 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7638 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7639 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7640 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7641 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7642 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7643 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7644 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7645 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7646 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7647 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7648 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7649 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7650 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7651 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7652 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7653 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7654 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7655 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7656 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7657 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7658 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7659 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7660 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7661 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7662 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7663 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7664 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7665 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7666 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7667 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7668 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7669 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7670 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7671 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7672 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7673 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7674 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7675 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7676 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7677 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7678 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7679 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7680 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7681 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7682 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7683 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7684 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7685 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7686 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7687 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7688 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7689 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7690 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7691 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7692 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7693 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7694 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7695 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7696 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7697 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7698 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7699 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7700 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7701 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7702 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7703 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7704 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7705 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7707 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7708 _XOPEN_SOURCE_EXTENDED for XPG4.
7710 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7712 * Makeconfig (localtime): Remove variable.
7713 (inst_localtime-file): Likewise.
7715 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7736 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7740 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7741 comparisons to determine direction to adjust input.
7742 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7743 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7744 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7746 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7748 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7750 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7751 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7753 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7755 * math/libm-test.inc (nexttoward_test): Add more tests.
7757 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7760 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7761 in version GLIBC_2.1, not GLIBC_2.0.
7762 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7765 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7768 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7770 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7771 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7772 * math/libm-test.inc (acos_test): Add more tests.
7773 (asin_test): Likewise.
7774 * sysdeps/i386/fpu/libm-test-ulps: Update.
7775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7778 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7780 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7781 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7782 * math/libm-test.inc (acos_test_tonearest): New function.
7783 (acos_test_towardzero): Likewise.
7784 (acos_test_downward): Likewise.
7785 (acos_test_upward): Likewise.
7786 (asin_test_tonearest): Likewise.
7787 (asin_test_towardzero): Likewise.
7788 (asin_test_downward): Likewise.
7789 (asin_test_upward): Likewise.
7790 (main): Call the new functions.
7791 * sysdeps/i386/fpu/libm-test-ulps: Update.
7792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7796 * math/e_exp10.c: Include <float.h>.
7797 (__ieee754_exp10): Handle underflow here rather than multiplying
7798 large negative argument by M_LN10.
7799 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7801 * math/e_exp10l.c: Include <float.h>.
7802 (__ieee754_exp10l): Handle underflow here rather than multiplying
7803 large negative argument by M_LN10l.
7804 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7805 spurious overflow exception on underflow.
7807 2012-04-29 Marek Polacek <polacek@redhat.com>
7809 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7810 (__fortify_function): New macro.
7811 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7812 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7813 __extern_always_inline.
7814 * libio/bits/stdio2.h: Likewise.
7815 * libio/bits/stdio.h: Likewise.
7816 * string/string.h: Likewise.
7817 * string/bits/string3.h: Likewise.
7818 * include/stdio.h: Likewise.
7819 * stdlib/bits/stdlib.h: Likewise.
7820 * stdlib/stdlib.h: Likewise.
7821 * rt/bits/mqueue2.h: Likewise.
7822 * rt/mqueue.h: Likewise.
7823 * posix/bits/unistd.h: Likewise.
7824 * posix/unistd.h: Likewise.
7825 * io/bits/poll2.h: Likewise.
7826 * io/bits/fcntl2.h: Likewise.
7827 * io/fcntl.h: Likewise.
7828 * io/sys/poll.h: Likewise.
7829 * misc/bits/syslog.h: Likewise.
7830 * misc/bits/syslog-ldbl.h: Likewise.
7831 * misc/sys/syslog.h: Likewise.
7832 * socket/bits/socket2.h: Likewise.
7833 * socket/sys/socket.h: Likewise.
7834 * debug/tst-chk1.c: Likewise.
7835 * wcsmbs/bits/wchar2.h: Likewise.
7836 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7837 * wcsmbs/wchar.h: Likewise.
7839 2012-04-29 Andreas Jaeger <aj@suse.de>
7841 * Makerules (tests): Remove enable-check-abi protection.
7842 (check-abi-warn): Remove.
7843 (check-abi-%): Remove check-abi-warn usage.
7845 * configure.in: Remove check-abi configure option.
7846 * configure: Regenerated.
7847 * config.make.in (enable-check-abi): Remove.
7849 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7852 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7853 double functions to double *_finite functions.
7856 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7857 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7859 * stdio-common/Makefile (tests): Add tst-sprintf3.
7860 * stdio-common/tst-sprintf3.c: New file.
7862 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7863 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7865 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7867 * conform/conformtest.pl: Remove duplicate typed-constant
7870 2012-04-28 David S. Miller <davem@davemloft.net>
7872 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7873 (check-abi-%): Remove AWK script prerequisite and explicit
7875 (check-abi): Rewrite to just diff the symlist with the abilist.
7876 (config-tls, config-abi-config): Delete, no longer used.
7877 (update-abi-%): Remove AWK script and explicit abilist directory.
7878 (update-abi): Rewrite to simply compare and conditionally copy the
7879 symlist and the sysdep abilist file. Remove update-abi-config
7881 * abilist/ld.abilist: Remove.
7882 * abilist/libBrokenLocale.abilist: Remove.
7883 * abilist/libanl.abilist: Remove.
7884 * abilist/libcrypt.abilist: Remove.
7885 * abilist/libdl.abilist: Remove.
7886 * abilist/librt.abilist: Remove.
7887 * abilist/libthread_db.abilist: Remove.
7888 * abilist/libutil.abilist: Remove.
7889 * scripts/extract-abilist.awk: Remove.
7890 * scripts/merge-abilist.awk: Remove.
7891 * sysdeps/generic/libcidn.abilist: New file.
7892 * sysdeps/generic/libnss_compat.abilist: New file.
7893 * sysdeps/generic/libnss_db.abilist: New file.
7894 * sysdeps/generic/libnss_dns.abilist: New file.
7895 * sysdeps/generic/libnss_files.abilist: New file.
7896 * sysdeps/generic/libnss_hesiod.abilist: New file.
7897 * sysdeps/generic/libnss_nis.abilist: New file.
7898 * sysdeps/generic/libnss_nisplus.abilist: New file.
7899 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7900 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7901 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7903 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7904 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7905 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7906 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7907 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7908 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7909 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7910 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7911 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7913 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7914 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7915 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7916 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7918 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7919 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7920 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7921 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7922 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7923 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7925 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7926 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7927 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7929 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8032 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8033 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8034 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8036 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8037 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8038 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8039 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8040 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8041 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8042 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8043 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8044 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8045 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8097 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8099 * conform/conformtest.pl: Fix typo in handling typed-constant from
8102 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8104 * README: Cut down references to pre-2.6 Linux kernels and
8105 Linuxthreads. Update lists of configurations in libc and ports
8106 and sort alphabetically. Say "or newer" with Linux kernel version
8109 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8111 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8114 * math/libm-test.inc (logb_test_downward): New test to expose
8115 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8118 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8121 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8123 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8124 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8126 2012-04-26 Joseph Myers <joseph@codesourcery.com>
8128 * sysdeps/unix/i386/brk.S: Remove file.
8129 * sysdeps/unix/i386/dl-brk.S: Likewise.
8130 * sysdeps/unix/i386/pipe.S: Likewise.
8131 * sysdeps/unix/i386/sigreturn.S: Likewise.
8132 * sysdeps/unix/i386/syscall.S: Likewise.
8133 * sysdeps/unix/i386/vfork.S: Likewise.
8134 * sysdeps/unix/i386/wait.S: Likewise.
8136 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8137 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8139 * configure.in (arm*-none*): Do not allow without
8140 --enable-hacker-mode.
8141 (netbsd*): Remove case setting base_os.
8142 (386bsd*): Likewise.
8143 (freebsd*): Likewise.
8147 (ultrix*): Likewise.
8148 (newsos*): Likewise.
8158 (solaris[2-9]*): Likewise.
8160 * configure: Regenerated.
8162 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8165 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8166 overflow or cancellation in calculating denominator.
8167 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8168 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8169 down expression to avoid unexpected rounding in newer GCCs.
8170 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8172 2012-04-26 David S. Miller <davem@davemloft.net>
8174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8175 long-double compat symbols.
8176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8190 2012-04-25 David S. Miller <davem@davemloft.net>
8192 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8193 HWCAP_* values only after the memory barriers have been defined.
8194 (atomic_full_barrier): Define.
8195 (atomic_read_barrier): Define.
8196 (atomic_write_barrier): Define.
8198 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8200 * shlib-versions: Add libgcc_s version information.
8201 * sysdeps/generic/libgcc_s.h: Remove.
8202 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8204 * sysdeps/gnu/unwind-resume.c: Likewise.
8205 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8207 2012-04-25 David S. Miller <davem@davemloft.net>
8209 * sysdeps/unix/sparc/brk.S: Delete.
8210 * sysdeps/unix/sparc/dl-brk.S: Delete.
8211 * sysdeps/unix/sparc/pipe.S: Delete.
8212 * sysdeps/unix/sparc/sysdep.S: Delete.
8213 * sysdeps/unix/sparc/sysdep.h: Delete.
8214 * sysdeps/unix/sparc/vfork.S: Delete.
8215 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8216 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8217 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8218 ret_ERRVAL, r0, r1, MOVE): Define.
8219 (JUMPTARGET): Remove.
8220 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8221 sysdeps/unix/sparc/sysdep.h
8222 (ENTRY, END): Remove.
8223 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8225 2012-04-25 Joseph Myers <joseph@codesourcery.com>
8227 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8228 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8231 * timezone/README: Update upstream location and email address for
8233 * timezone/zdump.c: Update from tzcode 2012b.
8234 * timezone/zic.c: Likewise.
8236 * configure.in (libc_cv_as_needed): Remove test.
8237 * configure: Regenerated.
8238 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8239 conditional definition.
8240 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8241 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8242 * config.make.in (have-as-needed): Remove variable.
8244 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8245 Paul Pluzhnikov <ppluzhnikov@google.com>
8247 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8250 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8252 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8253 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8254 * sysdeps/sh/strlen.S: Likewise.
8256 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8258 * sysdeps/unix/fork.S: Remove file.
8259 * sysdeps/unix/i386/fork.S: Likewise.
8260 * sysdeps/unix/sparc/fork.S: Likewise.
8262 * sysdeps/unix/system.c: Remove file.
8263 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8265 * sysdeps/unix/getegid.S: Remove file.
8266 * sysdeps/unix/geteuid.S: Likewise.
8268 2012-04-24 Roland McGrath <roland@hack.frob.com>
8270 * scripts/check-localplt.awk: New file.
8271 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8273 * scripts/data/localplt-generic.data: Add a comment.
8275 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8276 NODE when __dir_mkfile failed.
8277 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8278 Reported by Ludovic Courtès <ludo@gnu.org>.
8280 2012-04-24 Andreas Jaeger <aj@suse.de>
8282 * Makerules (common-clean): Also remove gen-as-const-headers
8285 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8287 * Makerules (native-compile): Do not change working directory for
8288 build. Use $(OUTPUT_OPTION) in command.
8289 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8291 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8294 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8295 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8296 * math/libm-test.inc (floor_test): Add more tests.
8297 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8299 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8301 * sysdeps/unix/getdents.c: Remove file.
8302 * sysdeps/unix/sysv/getdents.c: Likewise.
8303 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8305 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8306 sysdeps/unix/mman/syscalls.list.
8308 (mprotect): Likewise.
8311 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8312 * sysdeps/unix/mman/syscalls.list: Remove.
8313 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8315 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8316 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8317 * configure: Regenerated.
8318 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8320 * config.make.in (libgcc_s_suffix): Remove variable.
8322 2012-04-23 Joseph Myers <joseph@codesourcery.com>
8324 * sysdeps/unix/sysv/gethostname.c: Move to ...
8325 * sysdeps/posix/gethostname.c: ... here.
8327 * sysdeps/unix/execve.S: Remove file.
8329 * sysdeps/unix/_exit.S: Remove file.
8331 2012-04-23 Andreas Jaeger <aj@suse.de>
8334 * manual/Makefile: Remove make dist support, there's no
8335 need for a stand-alone documentation tar ball.
8336 (TEXI2DVI): Define always, it's not in Makeconfig.
8340 (glibc-doc-$(edition).tar): Removed
8344 (ETAGS): Remove, it's in Makeconfig.
8345 (move-if-change): Remove, it's in Makeconfig.
8347 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8350 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8351 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8352 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8353 (strtod_l, strtof_l, strtold_l): Remove __wur.
8354 It is not necessarily an error to ignore strtol's return value.
8355 One can reliably look at the stored endptr to decide whether
8356 the number had valid syntax.
8358 2012-04-21 Andreas Jaeger <aj@suse.de>
8361 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8363 2012-04-21 Joseph Myers <joseph@codesourcery.com>
8365 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8366 * sysdeps/unix/sysv/Versions: Remove file.
8368 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8373 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
8376 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8377 version from __vm86.
8379 2012-04-20 Joseph Myers <joseph@codesourcery.com>
8381 * sysdeps/unix/common/lxstat.c: Remove file.
8382 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8384 * sysdeps/unix/sysv/Makefile: Remove file.
8386 * sysdeps/unix/sysv/direct.h: Remove file.
8388 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8389 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8390 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8391 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8392 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8393 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8394 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8396 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8398 * sysdeps/unix/xmknod.c: Remove file.
8399 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8401 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8403 * sysdeps/unix/sysv/i386/time.S: Remove file.
8405 * sysdeps/unix/fxstat.c: Remove file.
8406 * sysdeps/unix/xstat.c: Likewise.
8407 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8409 * sysdeps/unix/sysv/sigaction.c: Remove file.
8411 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8412 (sysdep_headers): Remove variable.
8413 [termio.h not in sysdep_headers] (generated): Likewise.
8414 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8415 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8416 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8417 * sysdeps/unix/sysv/tcflow.c: Likewise.
8418 * sysdeps/unix/sysv/tcflush.c: Likewise.
8419 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8420 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8421 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8422 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8423 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8425 * sysdeps/unix/siglist.c: Remove file.
8427 * sysdeps/unix/getppid.S: Remove file.
8429 * sysdeps/unix/mkdir.c: Remove file.
8430 * sysdeps/unix/rmdir.c: Likewise.
8432 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8434 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8436 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8437 errlist-compat value.
8439 2012-04-18 David S. Miller <davem@davemloft.net>
8441 * sysdeps/generic/memcopy.h (reg_char): Delete.
8442 * debug/strcat_chk.c: Use char, not reg_char.
8443 * debug/strcpy_chk.c: Likewise.
8444 * debug/strncat_chk.c: Likewise.
8445 * debug/strncpy_chk.c: Likewise.
8446 * string/memchr.c: Likewise.
8447 * string/memrchr.c: Likewise.
8448 * string/rawmemchr.c: Likewise.
8449 * string/strcat.c: Likewise.
8450 * string/strchr.c: Likewise.
8451 * string/strchrnul.c: Likewise.
8452 * string/strcmp.c: Likewise.
8453 * string/strcpy.c: Likewise.
8454 * string/strncat.c: Likewise.
8455 * string/strncmp.c: Likewise.
8456 * string/strncpy.c: Likewise.
8458 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8460 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8461 __builtin_memcopy is called when src and dest ranges are known to not
8464 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8466 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8467 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8468 fwd_align_merge macro call.
8469 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8470 bwd_align_merge macro call.
8471 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8473 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8475 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8476 bwd_align_merge macros.
8477 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8478 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8479 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8481 2012-04-18 David S. Miller <davem@davemloft.net>
8483 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8485 2012-04-18 Andreas Jaeger <aj@suse.de>
8488 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8489 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8490 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8492 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8493 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8494 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8496 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8497 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8498 Adjust for changed ldbl-128 files.
8500 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8501 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8502 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8504 2012-04-17 David S. Miller <davem@davemloft.net>
8506 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8508 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8510 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8511 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8512 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8513 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8514 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8515 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8517 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8520 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8521 * math/libm-test.inc: Add ilogb errno and exception tests.
8522 * math/w_ilogb.c: New file: ilogb wrapper.
8523 * math/w_ilogbf.c: New file: ilogbf wrapper.
8524 * math/w_ilogbl.c: New file: ilogbl wrapper.
8525 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8526 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8527 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8528 exception being thrown with 0.0 as argument.
8529 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8530 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8531 exception being thrown with 0.0 as argument.
8532 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8533 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8534 exception being thrown with 0.0 as argument.
8535 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8536 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8537 exception being thrown with 0.0 as argument.
8538 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8539 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8540 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8541 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8542 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8543 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8544 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8545 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8546 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8548 2012-04-17 Petr Baudis <pasky@ucw.cz>
8550 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8553 2012-04-16 Marek Polacek <polacek@redhat.com>
8555 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8557 2012-04-16 Marek Polacek <polacek@redhat.com>
8559 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8560 operands of fdivp instruction.
8562 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8564 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8565 * elf/tst-auditmod3b.c: Likewise.
8566 * elf/tst-auditmod4b.c: Likewise.
8567 * elf/tst-auditmod5b.c: Likewise.
8568 * elf/tst-auditmod6b.c: Likewise.
8569 * elf/tst-auditmod6c.c: Likewise.
8570 * elf/tst-auditmod7b.c: Likewise.
8571 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8572 * sysdeps/x86_64/preconfigure.in: Likewise.
8573 * sysdeps/x86_64/preconfigure: Regenerated.
8575 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8577 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8580 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8582 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8583 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8585 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8588 * locale/iso-639.def: Fix gl language name. Spotted by
8591 2012-04-12 Roland McGrath <roland@hack.frob.com>
8594 * libio/libio.h (__io_write_fn): Update comment.
8596 2012-04-12 Petr Baudis <pasky@ucw.cz>
8599 * stdio.texi (Hook Functions): The user provided writer function
8600 is not allowed to return -1.
8602 2012-04-11 David S. Miller <davem@davemloft.net>
8604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8606 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8608 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8609 Add a leading slash to rtkaio.
8611 2012-04-11 Jim Meyering <meyering@redhat.com>
8614 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8615 It is not necessarily an error to ignore fwrite's return
8616 value. One can reliably use ferror to test for errors after
8619 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8621 * bits/types.h (__snseconds_t): New type.
8622 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8624 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8625 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8626 (__SNSECONDS_T_TYPE): Likewise.
8627 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8628 (__SNSECONDS_T_TYPE): Likewise.
8629 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8630 (__SNSECONDS_T_TYPE): Likewise.
8632 2012-04-10 Andreas Jaeger <aj@suse.de>
8635 * manual/time.texi (Processor Time): Return type of times is
8636 elapsed real time since an arbitrary point in the past.
8637 (CPU Time): Move CLK_TCK from here...
8638 (Processor Time): ...to here. Correct description.
8639 * manual/conf.texi (Constants for Sysconf): Correct description of
8642 2012-04-10 David S. Miller <davem@davemloft.net>
8645 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8646 where the is a gap between DT_REL(A) and DT_JMPREL.
8648 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8650 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8651 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8652 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8654 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8656 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8657 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8658 (dl_main): Handle --inhibit-cache.
8659 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8661 * elf/dl-load.c (_dl_map_object): Use it.
8662 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8664 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8667 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8668 (__ieee754_powl): Saturate large exponents rather than testing for
8669 overflow of y*log2(x).
8670 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8671 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8675 * math/s_ctan.c: Include <float.h>.
8676 (__ctan): Avoid internal overflow or cancellation in calculating
8678 * math/s_ctanf.c: Likewise.
8679 * math/s_ctanl.c: Likewise.
8680 * math/s_ctanh.c: Likewise.
8681 * math/s_ctanhf.c: Likewise.
8682 * math/s_ctanhl.c: Likewise.
8683 * math/libm-test.inc (ctan_test): Add more tests.
8684 (ctanh_test): Likewise.
8685 * sysdeps/i386/fpu/libm-test-ulps: Update.
8686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8688 2012-04-09 Andreas Jaeger <aj@suse.de>
8691 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8692 is an optional BSD extension.
8695 * manual/stdio.texi (Opening Streams): Document additional fopen
8698 2012-04-09 Roland McGrath <roland@hack.frob.com>
8700 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8701 %eax without telling the compiler.
8703 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8706 * manual/install.texi: Use sourceware.org.
8708 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8711 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8712 (__ieee754_pow): Generate overflow and underflow using huge*huge
8713 and tiny*tiny rather than just returning constant infinity or zero
8714 for large exponents.
8715 * math/libm-test.inc (pow_test): Require overflow exceptions for
8716 applicable cases of large exponents.
8719 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8720 (__ieee754_pow): Use iterative multiplication algorithm only for
8721 integer exponents with absolute value below 1024. Check for odd
8722 integer exponents when using algorithm for real exponents.
8723 * math/libm-test.inc (pow_test): Add more tests.
8724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8726 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8729 * math/libm-test.inc (exp_test): Do not allow overflow exception
8732 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8735 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8736 instead of __kernel_standard_f.
8738 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8740 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8741 * sysdeps/x86_64/memset_chk.S: Likewise.
8743 2012-04-08 Andreas Jaeger <aj@suse.de>
8746 * manual/startup.texi (Environment Access): Describe return value
8747 for putenv and setenv.
8750 * manual/filesys.texi (Directory Entries): Add description for
8754 * manual/filesys.texi (Directory Entries): Clarify that it's file
8755 system not operating system in the description of DT_UNKNOWN.
8758 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8760 2012-04-08 Stephen Compall <s11@member.fsf.org>
8763 * manual/llio.texi (Opening and Closing Files): Add cross
8764 reference to explain mode argument.
8766 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8768 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8769 * sysdeps/x86_64/memset_chk.S: Likewise.
8771 2012-04-07 David S. Miller <davem@davemloft.net>
8773 * elf/elf.h (R_SPARC_WDISP10): Define.
8774 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8776 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8777 R_SPARC_SIZE64 and R_SPARC_H34.
8779 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8781 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8782 conditions and remove no longer applicable assertion.
8784 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8786 * bits/byteswap.h: Include <features.h>.
8787 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8788 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8790 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8792 * bits/byteswap.h (__bswap_16): Removed.
8793 Include <bits/byteswap-16.h> to get __bswap_16.
8794 * sysdeps/i386/bits/byteswap.h: Likewise.
8795 * sysdeps/s390/bits/byteswap.h: Likewise.
8796 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8797 * bits/byteswap-16.h: New file.
8798 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8799 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8800 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8801 * string/Makefile (headers): Add bits/byteswap-16.h.
8803 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8806 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8808 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8809 * nss/tst-nss-static.c: New.
8811 2012-04-06 Robert Millan <rmh@gnu.org>
8814 * manual/llio.texi (File Position Primitive): lseek
8815 refers to WHENCE when it really means OFFSET.
8817 2012-04-06 Andreas Jaeger <aj@suse.de>
8819 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8820 strncmp declarations.
8822 * abilist/libc.abilist: Add __poll and __ppoll.
8824 2012-04-05 David S. Miller <davem@davemloft.net>
8826 * scripts/check-local-headers.sh: Accept a host triplet in the
8827 path matched by the exclude regexp.
8829 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8831 * sysdeps/powerpc/powerpc32/dl-machine.h
8832 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8833 * sysdeps/s390/s390-32/dl-machine.h
8834 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8835 * sysdeps/sparc/sparc32/dl-machine.h
8836 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8837 * sysdeps/sparc/sparc64/dl-machine.h
8838 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8840 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8842 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8843 undefined symbol errors.
8845 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8848 2012-04-05 Michael Matz <matz@suse.de>
8851 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8853 2012-04-05 Andreas Jaeger <aj@suse.de>
8856 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8859 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8861 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8862 which ROUND is no valid rounding mode.
8864 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8866 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8868 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8870 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8872 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8873 an exception using FPU order intentionally.
8875 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8877 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8878 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8879 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8880 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8882 2012-04-05 Simon Josefsson <simon@josefsson.org>
8885 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8886 EINVAL when BUFLEN is too smal.
8888 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8891 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8892 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8894 2012-04-03 Andreas Jaeger <aj@suse.de>
8897 * manual/setjmp.texi (System V contexts): Fix sentence.
8900 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8901 New macro for this case.
8902 [!__GNUC__] (__bswap_64): New inline function for this case.
8903 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8904 * bits/byteswap.h: Likewise.
8905 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8906 ull, guard with __GLIBC_HAVE_LONG_LONG.
8908 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8909 __GLIBC_HAVE_LONG_LONG.
8911 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8912 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8914 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8917 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8918 inptr and inend, rather than using last_ch.
8920 2012-04-02 David S. Miller <davem@davemloft.net>
8922 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8923 * stdio-common/printf-parse.h (read_int): Change return type to
8924 'int', return -1 on INT_MAX overflow.
8925 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8926 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8927 overflows INT_MAX. Check for overflow of in-format-string precision
8928 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8929 SIZE_MAX not INT_MAX for integer overflow test.
8930 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8931 skip the construct in the format string but do not record anything.
8932 * stdio-common/bug22.c: Adjust to test both width/prevision
8933 INT_MAX overflow as well as total length INT_MAX overflow. Check
8934 explicitly for proper errno values.
8936 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8938 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8940 * string/test-strcmp.c [! WIDE]: Likewise.
8941 * time/tst-mktime2.c: Likewise for INT_MAX.
8942 * string/test-string.h: #include <sys/param.h> for MIN.
8944 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8945 * sysdeps/i386/init-first.c (init): Likewise.
8946 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8947 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8948 * sysdeps/sh/init-first.c (init): Likewise.
8950 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8952 * po/ru.po: Update from translation team.
8953 * po/vi.po: Likewise.
8955 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8957 * resolv/nss_dns/dns-host.c: Merge copyright years.
8959 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8961 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8962 Optimize memcpy with prefetch if
8963 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8964 src, dst pointers have unequal 16 byte alignments.
8966 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8969 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8970 from a CNAME entry and return the minimum ttl for the query.
8971 (gaih_getanswer_slice): Likewise.
8973 2012-03-30 Jeff Law <law@redhat.com>
8975 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8977 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8978 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8980 * resolv/nss_dns/dns-host.c: Update copyright year.
8982 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8984 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8985 requests to save a system call. Fix check that all bytes are sent.
8987 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8988 comments for sendmmsg.
8990 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8993 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8994 with only 1 character between 0x0041 and 0x01b0.
8995 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8996 * wcsmbs/tst-mbsnrtowcs.c: New file.
8998 2012-03-29 David S. Miller <davem@davemloft.net>
9000 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9001 small copies by hand.
9003 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9006 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9007 _nss_compat_initgroups_dyn): Fall back to malloc/free
9008 for large group memberships.
9010 2012-03-28 David S. Miller <davem@davemloft.net>
9012 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9013 that branches into memcpy.
9014 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9015 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9016 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9017 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9018 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9020 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9022 * sysdeps/sparc/mempcpy.S: New file.
9024 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9025 the IFUNC routine in the libc case.
9026 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9028 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9029 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9030 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9031 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9032 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9033 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9034 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9035 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9037 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9038 loop to 256 bytes instead of 64 bytes and fix test signedness.
9040 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9041 * sysdeps/sparc/sparc32/Makefile: rather than here...
9042 * sysdeps/sparc/sparc64/Makefile: and here.
9044 2012-03-28 Ulrich Drepper <drepper@gmail.com>
9046 * malloc/mallocbug.c: Avoid warnings about unused variables.
9048 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9051 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9052 in the right place. Discard and retry query if response is
9053 larger than input buffer size.
9055 2012-03-28 Joseph Myers <joseph@codesourcery.com>
9060 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9061 x for large integer exponent.
9062 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9063 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9064 sign of result as needed afterwards.
9065 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9066 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9067 result for underflowing pow the same as for overflow.
9068 (__kernel_standard_l): Handle powl overflow and underflow here
9069 rather than calling __kernel_standard.
9070 * math/libm-test.inc (pow_test): Add more tests.
9085 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9086 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9087 (__kernel_standard_l): New function.
9088 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9090 * math/w_acosl.c (__acosl): Likewise.
9091 * math/w_asinl.c (__asinl): Likewise.
9092 * math/w_atan2l.c (__atan2l): Likewise.
9093 * math/w_atanhl.c (__atanhl): Likewise.
9094 * math/w_coshl.c (__coshl): Likewise.
9095 * math/w_exp10l.c (__exp10l): Likewise.
9096 * math/w_exp2l.c (__exp2l): Likewise.
9097 * math/w_fmodl.c (__fmodl): Likewise.
9098 * math/w_hypotl.c (__hypotl): Likewise.
9099 * math/w_j0l.c (__j0l, __y0l): Likewise.
9100 * math/w_j1l.c (__j1l, __y1l): Likewise.
9101 * math/w_jnl.c (__jnl, __ynl): Likewise.
9102 * math/w_lgammal.c (__lgammal): Likewise.
9103 * math/w_log10l.c (__log10l): Likewise.
9104 * math/w_log2l.c (__log2l): Likewise.
9105 * math/w_logl.c (__logl): Likewise.
9106 * math/w_powl.c (__powl): Likewise.
9107 * math/w_remainderl.c (__remainderl): Likewise.
9108 * math/w_scalbl.c (sysv_scalbl): Likewise.
9109 * math/w_sinhl.c (__sinhl): Likewise.
9110 * math/w_sqrtl.c (__sqrtl): Likewise.
9111 * math/w_tgammal.c (__tgammal): Likewise.
9112 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9113 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9114 * math/libm-test.inc (acos_test): Add more tests.
9115 (acosh_test): Likewise.
9116 (asin_test): Likewise.
9117 (atanh_test): Likewise.
9118 (exp_test): Likewise.
9119 (exp10_test): Likewise.
9120 (exp2_test): Likewise.
9121 (expm1_test): Likewise.
9122 (lgamma_test): Likewise.
9123 (log_test): Likewise.
9124 (log10_test): Likewise.
9125 (log1p_test): Likewise.
9126 (log2_test): Likewise.
9127 (pow_test): Do not allow some spurious overflow exceptions.
9128 (sqrt_test): Add more tests.
9129 (tgamma_test): Likewise.
9130 (y0_test): Likewise.
9131 (y1_test): Likewise.
9132 (yn_test): Likewise.
9134 2012-03-27 Anton Blanchard <anton@samba.org>
9136 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9138 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9139 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9140 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9142 2012-03-27 David S. Miller <davem@davemloft.net>
9144 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9146 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9149 2012-03-27 Andreas Jaeger <aj@suse.de>
9151 * sysdeps/x86_64/elf/configure.in: Moved to ...
9152 * sysdeps/x86_64/configure.in: ... here.
9153 * sysdeps/x86_64/elf/start.S: Moved to ...
9154 * sysdeps/x86_64/start.S: ... here.
9155 * sysdeps/x86_64/elf/configure: Delete.
9157 * sysdeps/x86_64/configure.in: Merge contents from
9158 sysdeps/i386/configure.in (without i686 check).
9160 * sysdeps/i386/elf/Versions: Merge into ...
9161 * sysdeps/i386/Versions: ... this.
9162 * sysdeps/i386/elf/Versions: Delete file.
9163 * sysdeps/i386/elf/start.S: Moved to ...
9164 * sysdeps/i386/start.S: ...here.
9165 * sysdeps/i386/elf/configure.in: Merge into...
9166 * sysdeps/i386/configure.in: ...here.
9167 * sysdeps/i386/elf/configure.in: Delete file.
9168 * sysdeps/i386/elf/configure: Delete file.
9170 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9171 * debug/backtracesyms.c: ... here.
9172 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9173 * debug/backtracesymsfd.c: ... here.
9174 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9175 * sysdeps/generic/ifunc-sel.h: ... here.
9177 * sysdeps/unix/i386/start.c: Delete file.
9178 * sysdeps/unix/sparc/start.c: Delete file.
9179 * sysdeps/unix/start.c: Delete file.
9181 * sysdeps/sh/elf/configure.in: Moved to ...
9182 * sysdeps/sh/configure.in: ... here.
9183 * sysdeps/sh/elf/start.S: Moved to ...
9184 * sysdeps/sh/start.S: ... here.
9185 * sysdeps/sh/elf/configure: Delete file.
9187 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9188 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9189 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9190 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9191 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9192 * sysdeps/powerpc/powerpc64/start.S: here.
9193 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9194 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9195 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9196 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9197 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9199 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9200 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9201 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9202 * sysdeps/powerpc/powerpc32/start.S: ... here.
9203 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9204 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9205 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9207 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9208 * sysdeps/powerpc/ifunc-sel.h: ... here.
9209 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9210 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9212 * sysdeps/sparc/elf/configure.in: Moved to ...
9213 * sysdeps/sparc/configure.in: ... here.
9214 * sysdeps/sparc/elf/configure: Delete file.
9215 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9216 * sysdeps/sparc/sparc32/start.S: ... here.
9217 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9218 * sysdeps/sparc/sparc64/start.S: ... here.
9219 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9220 * sysdeps/sparc/sparc32/Makefile: ... this.
9221 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9222 * sysdeps/sparc/sparc64/Makefile: ... this.
9224 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9225 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9226 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9227 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9228 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9229 * sysdeps/s390/s390-32/setjmp.S: ... here.
9230 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9231 * sysdeps/s390/s390-32/configure.in: ... here.
9232 * sysdeps/s390/s390-32/elf/configure: Delete file.
9233 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9234 * sysdeps/s390/s390-32/start.S: ... here.
9236 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9237 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9238 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9239 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9240 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9241 * sysdeps/s390/s390-64/setjmp.S: ... here.
9242 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9243 * sysdeps/s390/s390-64/configure.in: ... here
9244 * sysdeps/s390/s390-64/elf/configure: Delete file.
9245 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9246 * sysdeps/s390/s390-64/start.S: ... here.
9247 * sysdeps/s390/s390-64/elf/configure: Delete.
9249 * configure.in: Remove support for elf directories in sysdeps.
9251 * configure: Regenerated.
9252 * sysdeps/i386/configure: Regenerated.
9253 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9254 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9255 * sysdeps/s390/s390-32/configure: Regenerated.
9256 * sysdeps/s390/s390-64/configure: Regenerated.
9257 * sysdeps/sh/configure: Regenerated.
9258 * sysdeps/sparc/configure: Regenerated.
9259 * sysdeps/x86_64/configure: Regenerated.
9261 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9265 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9266 denormal result into account.
9268 2012-03-25 Roland McGrath <roland@hack.frob.com>
9270 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9271 Reported by Allan McRae <allan@archlinux.org>.
9273 2012-03-23 Jeff Law <law@redhat.com>
9275 * nss/getnssent.c (__nss_getent): Fix typo.
9277 2012-03-23 David S. Miller <davem@davemloft.net>
9279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9281 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9283 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9284 to pad to uint64_t for each field.
9285 (dl_tls_index): Replace unsigned long with uint64_t.
9287 2012-03-23 Daniel Jacobowitz <dmj@google.com>
9288 Paul Pluzhnikov <ppluzhnikov@google.com>
9291 * grp/Makefile (otherlibs): Don't set it.
9292 * inet/Makefile (otherlibs): Likewise.
9293 * login/Makefile (otherlibs): Likewise.
9294 * nscd/Makefile (otherlibs): Likewise.
9295 * posix/Makefile (otherlibs): Likewise.
9296 * pwd/Makefile (otherlibs): Likewise.
9297 * rt/Makefile (otherlibs): Likewise.
9298 * sunrpc/Makefile (otherlibs): Likewise.
9299 * nss/Makefile (otherlibs): Likewise.
9300 Add libnss_files to routines and static-only-routines.
9301 ($(objpfx)getent): Remove rule.
9302 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9303 static-only-routines.
9305 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9308 * math/s_cexp.c: Include <float.h>.
9309 (__cexp): Handle exp result overflowing not necessarily
9310 overflowing both real and imaginary parts of result.
9311 * math/s_cexpf.c: Likewise.
9312 * math/s_cexpl.c: Likewise.
9313 * math/libm-test.inc (cexp_test): Add more tests.
9314 * sysdeps/i386/fpu/libm-test-ulps: Update.
9315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9317 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9319 * include/link.h (ELFW): New macro.
9320 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9321 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9323 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9325 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9328 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9330 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9332 (struct La_x32_retval): Likewise.
9334 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9336 * sysdeps/x86_64/preconfigure.in: New file.
9337 * sysdeps/x86_64/preconfigure: New generated file.
9339 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9342 * math/e_exp2l.c: Include <float.h>.
9343 (__ieee754_exp2l): Handle overflow and underflow cases
9344 separately. Only pass fractional part of argument to
9346 * math/libm-test.inc (exp2_test): Add more tests.
9348 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9349 negating x to take absolute value.
9350 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9352 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9353 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9355 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9356 computing low part if x was negated.
9357 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9359 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9361 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9363 (pltexit): Cast int_retval to ptrdiff_t.
9364 * elf/tst-auditmod3b.c: Likewise.
9365 * elf/tst-auditmod4b.c: Likewise.
9366 * elf/tst-auditmod5b.c: Likewise.
9367 * elf/tst-auditmod6b.c: Likewise.
9368 * elf/tst-auditmod6c.c: Likewise.
9369 * elf/tst-auditmod7b.c: Likewise.
9371 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9372 and x32_gnu_pltexit.
9374 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9376 (La_x32_regs): New macro.
9377 (La_x32_retval): Likewise.
9378 (la_x32_gnu_pltenter): New function prototype.
9379 (la_x32_gnu_pltexit): Likewise.
9381 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9383 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9388 * configure.in (libc_cv_cc_nofma): Check for option to disable
9389 generation of FMA instructions.
9390 * configure: Regenerate.
9391 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9392 * sysdeps/ieee754/dbl-64/Makefile: New file.
9393 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9394 Remove brandred-fma4.
9395 (CFLAGS-brandred-fma4.c): Remove.
9396 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9397 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9399 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9402 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9404 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9405 LLONG_MAX != LONG_MAX.
9406 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9407 (_fitoa_word): Likewise.
9408 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9409 LLONG_MAX != LONG_MAX.
9410 * stdio-common/_itowa.h: Include <_itoa.h>.
9411 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9412 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9413 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9414 only if not defined.
9415 (_ITOA_WORD_TYPE): Likewise.
9416 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9417 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9419 2012-03-21 David S. Miller <davem@davemloft.net>
9421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9423 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9425 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9426 of x86_64 when setting libc_cv_slibdir, libdir and
9428 * sysdeps/unix/sysv/linux/configure: Regenerated.
9430 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9432 * manual/lang.texi (Old Varargs): Remove section.
9433 (How Variadic): Update menu.
9434 (va_start): Do not mention varargs.h.
9436 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9437 Joseph Myers <joseph@codesourcery.com>
9439 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9441 * configure: Regenerated.
9443 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9445 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9446 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9449 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9452 * Makefile (files-for-dist): Remove NOTES.
9453 (NOTES): Remove rule.
9454 * README: Don't refer to NOTES.
9455 * manual/creature.texi: Don't include macros.texi.
9456 * manual/intro.texi (creature.texi): Remove comment referring to
9459 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9460 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9461 * configure: Regenerated.
9462 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9464 (libc_cv_as_i686): Likewise.
9465 (libc_cv_cc_avx): Likewise.
9466 (libc_cv_cc_sse2avx): Likewise.
9467 (libc_cv_cc_fma4): Likewise.
9468 (libc_cv_cc_novzeroupper): Likewise.
9469 * sysdeps/i386/configure: Regenerated.
9472 * sysdeps/i386/fpu/s_cexp.S: Remove.
9473 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9474 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9475 * math/libm-test.inc (cexp_test): Add more tests.
9476 * sysdeps/i386/fpu/libm-test-ulps: Update.
9477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9479 2012-03-21 Allan McRae <allan@archlinux.org>
9481 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9483 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9486 * math/w_exp2.c: Do not include <float.h>.
9487 (o_threshold, u_threshold): Remove.
9488 (__exp2): Calculate result before checking finiteness and calling
9490 * math/w_exp2f.c: Likewise.
9491 * math/w_exp2l.c: Likewise.
9492 * math/libm-test.inc (exp2_test): Require overflow exception for
9496 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9497 range of signed 64-bit integers before using fistpll. Remove
9498 checks for whether integers fit in mantissa bits.
9499 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9500 the range of signed 32-bit integers before using fistpl. Remove
9501 checks for whether integers fit in mantissa bits.
9502 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9503 (__ieee754_powl): Test for y outside the range of signed 64-bit
9504 integers before using fistpll. Reduce 64-bit values to 63-bit
9506 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9507 divide-by-zero is raised for zero to large negative powers.
9508 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9509 (__ieee754_powl): Test for y outside the range of signed 64-bit
9510 integers before using fistpll. Reduce 64-bit values to 63-bit
9512 * math/libm-test.inc (pow_test): Add more tests.
9514 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9516 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9517 <stdio-common/_itoa.h>.
9518 * debug/segfault.c: Likewise.
9519 * elf/dl-cache.c: Likewise.
9520 * elf/dl-minimal.c: Likewise.
9521 * elf/dl-misc.c: Likewise.
9522 * elf/dl-sysdep.c: Likewise.
9523 * elf/dl-version.c: Likewise.
9524 * elf/rtld.c: Likewise.
9525 * hurd/hurdsock.c: Likewise.
9526 * hurd/lookup-retry.c: Likewise.
9527 * malloc/malloc.c: Likewise.
9528 * malloc/mtrace.c: Likewise.
9529 * nscd/nscd_getgr_r.c: Likewise.
9530 * nscd/nscd_getpw_r.c: Likewise.
9531 * nscd/nscd_getserv_r.c: Likewise.
9532 * posix/getopt_init.c: Likewise.
9533 * posix/wordexp.c: Likewise.
9534 * stdio-common/_itoa.c: Likewise.
9535 * stdio-common/printf_fphex.c: Likewise.
9536 * stdio-common/vfprintf.c: Likewise.
9537 * string/_strerror.c: Likewise.
9538 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9539 * sysdeps/i386/i686/hp-timing.h: Likewise.
9540 * sysdeps/mach/_strerror.c: Likewise.
9541 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9542 * sysdeps/mach/hurd/sethostid.c: Likewise.
9543 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9544 * sysdeps/mach/xpg-strerror.c: Likewise.
9545 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9546 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9547 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9548 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9549 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9550 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9551 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9552 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9553 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9554 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9555 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9556 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9557 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9558 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9559 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9560 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9561 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9562 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9563 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9564 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9565 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9567 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9569 * stdio-common/_itoa.h: Moved to ...
9570 * sysdeps/generic/_itoa.h: Here.
9572 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9574 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9575 instead of "_itoa.h" and "_itowa.h".
9576 * stdio-common/vfprintf.: Likewise.
9578 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9580 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9582 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9583 (__signbit): Likwise.
9587 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9589 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9592 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9594 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9595 OVERFLOW_EXCEPTION_OK.
9596 * math/libm-test.inc ("Philosophy"): Update comment about
9598 (OVERFLOW_EXCEPTION): Define.
9599 (OVERFLOW_EXCEPTION_OK): Likewise.
9600 (INVALID_EXCEPTION_OK): Renumber.
9601 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9602 (IGNORE_ZERO_INF_SIGN): Likewise.
9603 (test_exceptions): Handle FE_OVERFLOW.
9604 (exp10_test): Expect overflow exceptions.
9605 (exp2_test): Likewise.
9606 (expm1_test): Likewise.
9607 (nextafter_test): Likewise.
9608 (pow_test): Likewise.
9609 (scalbn_test): Likewise.
9610 (scalbln_test): Likewise.
9612 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9614 * sysdeps/x86_64/bits/atomic.h
9615 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9617 (atomic_exchange_acq): Likewise.
9618 (__arch_exchange_and_add_body): Likewise.
9619 (__arch_add_body): Likewise.
9620 (atomic_add_negative): Likewise.
9621 (atomic_add_zero): Likewise.
9623 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9625 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9626 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9628 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9630 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9631 Check __x86_64__ instead of __WORDSIZE.
9633 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9635 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9637 2012-03-19 David S. Miller <davem@davemloft.net>
9639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9641 * sysdeps/sparc/fpu/fenv_private.h: New file.
9642 * sysdeps/sparc/fpu/math_private.h: Use it.
9643 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9645 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9646 (libc_feholdexcept_setroundl): Remove.
9647 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9649 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9650 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9652 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9654 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9655 int64_t instead of long int.
9656 (INSERT_WORDS64): Likwise.
9658 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9660 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9661 _Unwind_GetCFA return to _Unwind_Ptr first.
9663 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9666 * math/s_clog.c: Include <float.h>.
9667 (__clog): Scale large or subnormal inputs.
9668 * math/s_clogf.c: Likewise.
9669 * math/s_clogl.c: Likewise.
9670 * math/s_clog10.c: Include <float.h>.
9671 (M_LOG10_2): Define.
9672 (__clog10): Scale large or subnormal inputs.
9673 * math/s_clog10f.c: Likewise.
9674 * math/s_clog10l.c: Likewise.
9675 * math/libm-test.inc (clog_test): Add more tests.
9676 (clog10_test): Likewise.
9677 * sysdeps/i386/fpu/libm-test-ulps: Update.
9678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9681 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9683 * math/libm-test.inc (atan2_test): Add another test.
9685 * Makerules (common-objdir-compile): Remove.
9686 * sysdeps/unix/Makefile (config-generated): Do not add
9687 $(unix-generated) to variable.
9688 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9689 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9691 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9693 [generic bits/local_lim.h] (before-compile): Do not append to
9695 [generic bits/local_lim.h] (common-generated): Likewise.
9696 [generic sys/param.h] (before-compile): Do not append to variable.
9697 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9698 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9699 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9700 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9702 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9703 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9704 [generic sys/param.h] ($(addprefix
9705 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9706 [generic sys/param.h] (common-generated): Do not append to
9708 [generic sys/param.h] (sysdep_headers): Likewise.
9709 [generic bits/errno.h] (before-compile): Do not append to
9711 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9713 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9714 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9715 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9716 [generic bits/errno.h] (common-generated): Do not append to
9718 [generic bits/ioctls.h] (before-compile): Do not append to
9720 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9722 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9723 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9724 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9726 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9727 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9728 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9729 [generic bits/ioctls.h] (common-generated): Do not append to
9731 [generic sys/syscall.h] (syscall.h): Remove variable.
9732 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9734 [generic sys/syscall.h] (before-compile): Do not append to
9736 [generic sys/syscall.h] (common-generated): Likewise.
9737 * sysdeps/unix/errnos-tmpl.c: Remove file.
9738 * sysdeps/unix/errnos.awk: Likewise.
9739 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9740 * sysdeps/unix/ioctls.awk: Likewise.
9741 * sysdeps/unix/mk-local_lim.c: Likewise.
9742 * sysdeps/unix/snarf-ioctls: Likewise.
9744 2012-03-19 Richard Henderson <rth@twiddle.net>
9746 * sysdeps/i386/fpu/fenv_private.h: New file.
9747 * sysdeps/i386/fpu/math_private.h: Use it.
9748 (math_opt_barrier, math_force_eval): Remove.
9749 (libc_feholdexcept_setround_53bit): Remove.
9750 (libc_feupdateenv_53bit): Remove.
9751 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9752 (math_opt_barrier, math_force_eval): Remove.
9753 (libc_feholdexcept): Remove.
9754 (libc_feholdexcept_setround): Remove.
9755 (libc_fetestexcept, libc_fesetenv): Remove.
9756 (libc_feupdateenv_test): Remove.
9757 (libc_feupdateenv, libc_feholdsetround): Remove.
9758 (libc_feresetround): Remove.
9760 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9761 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9763 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9764 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9765 (libc_feupdateenv_testl): New.
9766 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9767 (libc_feupdateenv_testf): New.
9768 (libc_feupdateenv): Use libc_feupdateenv_test.
9769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9770 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9772 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9773 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9774 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9775 (libc_feresetround_noex): New.
9776 (libc_feresetround_noexf): New.
9777 (libc_feresetround_noexl): New.
9778 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9779 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9780 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9781 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9783 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9784 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9786 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9787 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9788 SET_RESTORE_ROUND_NOEX.
9789 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9790 SET_RESTORE_ROUND_NOEXF.
9791 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9792 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9793 (libc_feholdsetroundf): New.
9794 (libc_feresetround, libc_feresetroundf): New.
9796 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9797 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9798 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9800 * sysdeps/generic/math_private.h: Include <fenv.h>.
9801 (default_libc_feholdexcept): New.
9802 (default_libc_feholdexcept_setround): New.
9803 (default_libc_fesetenv, default_libc_feupdateenv): New.
9804 (libc_feholdexcept): Only define if undefined.
9805 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9806 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9807 (libc_feholdexcept_setroundl): Likewise.
9808 (libc_feholdexcept_setround_53bit): Likewise.
9809 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9810 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9811 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9812 (libc_feupdateenv_53bit): Likewise.
9813 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9814 (libc_feholdexcept): Convert from macro to inline function.
9815 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9816 (libc_fesetenv, libc_feupdateenv): Likewise.
9818 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9819 not previously defined.
9820 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9821 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9822 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9823 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9824 * sysdeps/ieee754/flt-32/math_private.h: New file.
9825 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9826 math_private.h below SET_FLOAT_WORD.
9827 (__isnan, __isinf_ns, __finite): Remove.
9828 (__isnanf, __isinf_nsf, __finitef): Remove.
9830 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9834 2012-03-17 David S. Miller <davem@davemloft.net>
9837 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9840 2012-03-16 David S. Miller <davem@davemloft.net>
9842 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9846 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9848 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9849 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9850 sysdep_routines when subdir is sysvipc.
9851 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9854 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9856 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9858 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9861 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9863 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9864 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9865 (__lround): Renamed to ...
9866 (__llround): This. Replace long int with long long int.
9867 Define lround functions as aliases of llround functions.
9868 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9870 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9872 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9873 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9874 adresses to uintptr_t. Replace "long int" and "unsigned long
9875 int" with "greg_t" on va_arg.
9877 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9879 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9880 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9882 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9883 Move e_machine check before EI_CLASS check. Handle x32
9884 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9885 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9886 SKIP_EM_IA_64 and include
9887 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9889 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9890 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9891 (add_system_dir): New macro.
9893 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9894 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9896 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9907 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9909 * math/w_j0f.c (j0f): Likewise.
9911 * math/w_j0l.c (__j0l): Likewise.
9913 * math/w_j1.c (j1): Likewise.
9915 * math/w_j1f.c (j1f): Likewise.
9917 * math/w_j1l.c (__j1l): Likewise.
9919 * math/w_jn.c (jn): Likewise.
9921 * math/w_jnf.c (jnf): Likewise.
9923 * math/w_jnl.c (__jnl): Likewise.
9925 * math/libm-test.inc (j0_test): Add more tests.
9926 (j1_test): Likewise.
9927 (jn_test): Likewise. Add trailing semicolon to existing test.
9928 (y0_test): Likewise.
9929 (y1_test): Likewise.
9930 * sysdeps/i386/fpu/libm-test-ulps: Update.
9931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9935 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9936 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9937 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9938 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9939 (__tanl): Set errno for infinite argument.
9940 * sysdeps/i386/fpu/mptan.c: Remove.
9941 * sysdeps/i386/fpu/s_tan.S: Likewise.
9942 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9943 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9944 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9945 * math/libm-test.inc (tan_test): Add more tests and enable more
9946 tests for double and long double.
9947 * sysdeps/i386/fpu/libm-test-ulps: Update.
9948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9950 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9952 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9953 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9955 2012-03-16 Roland McGrath <roland@hack.frob.com>
9957 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9958 * configure.in: Use it for both main tree and add-ons.
9959 * configure: Regenerated.
9961 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9963 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9965 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9967 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9971 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9972 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9973 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9975 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9977 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9978 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9980 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9981 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9982 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9983 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9984 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9985 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9986 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9987 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9988 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9989 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9990 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9991 * math/libm-test.inc (cos_test): Add more tests and enable more
9992 tests for long double.
9993 (sin_test): Likewise.
9994 (sincos_test): Likewise.
9995 * sysdeps/i386/fpu/libm-test-ulps: Update.
9996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9998 2012-03-16 David S. Miller <davem@davemloft.net>
10000 * sysdeps/sparc/fpu/math_private.h: New file.
10002 2012-03-15 David S. Miller <davem@davemloft.net>
10004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10014 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10018 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10019 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10021 * sysdeps/sparc/sparc-ifunc.h: New file.
10022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10048 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10049 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10060 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10061 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10062 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10063 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10064 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10065 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10067 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10069 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10073 2012-03-15 Andreas Jaeger <aj@suse.de>
10076 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10077 ieee754/flt-32 implementation for sin, cos and sincos.
10078 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10079 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10080 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10081 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10082 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10083 ieee754/flt-32 implementation for tan.
10085 * math/libm-test.inc (cos_test): Enable some large input tests for
10087 (sin_test): Likewise.
10088 (sincos_test): Likewise.
10089 (tan_test): Add tests for large input.
10091 * sysdeps/i386/fpu/libm-test-ulps: Update.
10093 2012-03-15 Andreas Jaeger <aj@suse.de>
10096 * math/libm-test.inc (cos_test): Add more test cases.
10097 (sin_test): Likewise.
10098 (sincos_test): Likewise.
10100 2012-03-15 Andreas Jaeger <aj@suse.de>
10103 * math/libm-test.inc (cos_test): Add a test case for large input
10105 (sin_test): Likewise.
10106 (sincos_test): Likewise.
10108 2012-03-15 Andreas Jaeger <aj@suse.de>,
10109 Joseph Myers <joseph@codesourcery.com>
10112 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
10113 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10114 * sysdeps/i386/fpu/branred.c: Likewise.
10115 * sysdeps/i386/fpu/dosincos.c: Likewise.
10116 * sysdeps/i386/fpu/mpa.c: Likewise.
10117 * sysdeps/i386/fpu/s_cos.S: Likewise.
10118 * sysdeps/i386/fpu/s_sin.S: Likewise.
10119 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10120 * sysdeps/i386/fpu/sincos32.c: Likewise.
10122 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10124 (libc_feupdateenv_53bit): Define.
10125 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10127 (libc_feupdateenv_53bit): Define.
10129 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10130 53 bit (without extend i386 double precision).
10132 * math/libm-test.inc (sincos_test): Add tests for large input.
10136 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10138 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10142 2012-03-15 David S. Miller <davem@davemloft.net>
10144 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10145 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10146 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10147 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
10159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
10162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
10165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
10168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10172 fmin/fmax sysdep routines.
10173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10175 2012-03-14 David S. Miller <davem@davemloft.net>
10177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10179 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10181 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10183 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10184 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10197 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10199 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10200 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10201 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10203 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10204 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
10205 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
10210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
10213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
10216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
10219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
10222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
10237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
10240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
10243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
10246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10249 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10254 * sysdeps/sparc/configure.in: New file.
10255 * sysdeps/sparc/configure: Generate.
10256 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10257 * configure: Regenerate.
10258 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10259 * config.make.in (have-as-vis3): New.
10260 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10261 available use -Av9d instead of -Av9a.
10262 * sysdeps/sparc/sparc64/Makefile: Likewise.
10263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
10264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10272 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10276 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10278 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10279 fzeros/fnegs to load 0x80000000 into a float register instead of
10281 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10283 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10287 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10288 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10289 ($(inst_includedir)/bits/syscall.h): Remove rule.
10290 ($(objpfx)bits/syscall.d): Include instead of
10291 $(objpfx)syscall-list.d.
10292 (generated): Change syscall-list.h and syscall-list.d to
10293 bits/syscall.h and bits/syscall.d.
10295 2012-03-14 Roland McGrath <roland@hack.frob.com>
10298 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10300 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10303 * math/s_csqrt.c: Include <float.h>.
10304 (__csqrt): Scale large or subnormal inputs.
10305 * math/s_csqrtf.c: Likewise.
10306 * math/s_csqrtl.c: Likewise.
10307 * math/libm-test.inc (csqrt_test): Add more tests.
10308 * sysdeps/i386/fpu/libm-test-ulps: Update.
10309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10312 * math/libm-test.inc (hypot_test): Add more tests.
10314 2012-03-13 David S. Miller <davem@davemloft.net>
10317 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10318 double-precision for the calculation instead of scaling.
10320 2012-03-13 Joseph Myers <joseph@codesourcery.com>
10322 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10323 manipulate bits before adding and subtracting TWO52[sx].
10324 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10325 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10327 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10329 2012-03-13 David S. Miller <davem@davemloft.net>
10331 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10332 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10333 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10334 rtld-global-offsets.h
10335 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10337 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10340 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10342 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10343 'err' in the ifdef scope in which it is actually used.
10345 * nss/nss_db/db-init.c: Include string.h
10347 2012-03-12 David S. Miller <davem@davemloft.net>
10349 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10350 masking out of the most significant byte of random value used.
10351 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10352 Fix coding style in previous change.
10354 * sysdeps/unix/sysv/linux/kernel-features.h
10355 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10356 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10358 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10361 2012-03-11 David S. Miller <davem@davemloft.net>
10363 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10364 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10365 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10366 for 'resultvar' otherwise things get truncated on 64-bit.
10368 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10369 Fix masking out of the most significant byte of random value used.
10371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10373 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10377 2012-03-09 David S. Miller <davem@davemloft.net>
10379 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10380 variables with appropriate CPP guards.
10381 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10382 frame pointer, not the stack pointer. Correct layout comments. Fix test
10383 on resulting framesize and the management of the outregs buffer for pltexit.
10384 Preserve floating point return values across _dl_call_pltexit call.
10385 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10386 framesize and the management of the outregs buffer for pltexit.
10387 Preserve floating point return values across _dl_call_pltexit
10389 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10390 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10391 (print_exit): Fix format string for return register value.
10393 2012-03-10 Joseph Myers <joseph@codesourcery.com>
10395 * sunrpc/Makefile (others): Add rpcgen.
10396 ($(objpfx)rpcgen): Remove special build rule and dependency on
10398 * sunrpc/rpcgen.c: New file.
10400 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10403 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10404 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10405 * sysdeps/i386/crti.S: Likewise.
10406 * sysdeps/i386/crtn.S: Likewise.
10407 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10408 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10409 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10410 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10411 * sysdeps/sh/crti.S: Likewise.
10412 * sysdeps/sh/crtn.S: Likewise.
10413 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10416 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10418 * locale/programs/locfile-kw.gperf: Likewise.
10419 * locale/programs/charmap-kw.h: Regenerated.
10420 * locale/programs/locfile-kw.h: Likewise.
10423 * intl/plural.y: Replace FSF snail mail address with URL.
10424 * intl/plural.c: Regenerated.
10426 2012-03-09 Richard Henderson <rth@twiddle.net>
10428 * include/math_private.h: Remove file.
10429 * math/math_private.h: Move file ...
10430 * sysdeps/generic/math_private.h: ... here.
10432 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10433 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10434 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10436 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10437 and <math_private.h>.
10438 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10439 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10440 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10441 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10442 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10443 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10444 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10446 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10447 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10448 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10449 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10450 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10451 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10452 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10453 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10454 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10455 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10456 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10457 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10458 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10459 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10460 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10462 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10463 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10464 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10465 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10468 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10469 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10470 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10471 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10472 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10473 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10474 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10475 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10476 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10477 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10478 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10479 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10480 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10481 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10482 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10483 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10484 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10485 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10486 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10487 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10488 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10489 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10490 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10491 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10492 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10493 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10494 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10495 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10496 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10497 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10498 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10499 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10501 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10502 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10503 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10504 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10505 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10506 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10507 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10508 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10509 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10510 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10511 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10512 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10514 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10517 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10518 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10519 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10521 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10522 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10524 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10525 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10526 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10527 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10528 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10529 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10530 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10531 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10532 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10533 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10534 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10535 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10536 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10537 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10538 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10539 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10540 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10541 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10542 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10543 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10544 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10545 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10546 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10547 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10548 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10549 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10550 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10551 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10552 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10553 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10554 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10555 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10556 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10557 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10558 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10559 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10560 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10561 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10562 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10563 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10564 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10565 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10566 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10567 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10568 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10569 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10570 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10571 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10572 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10573 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10574 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10575 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10576 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10577 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10578 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10579 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10580 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10581 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10582 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10583 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10584 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10585 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10586 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10587 * sysdeps/ieee754/k_standard.c: Likewise.
10588 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10589 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10590 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10591 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10592 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10593 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10594 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10595 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10596 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10597 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10598 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10599 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10600 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10601 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10602 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10603 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10604 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10605 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10606 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10607 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10608 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10609 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10610 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10611 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10612 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10613 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10614 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10615 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10616 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10617 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10618 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10619 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10620 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10621 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10622 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10623 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10624 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10625 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10626 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10627 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10628 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10629 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10630 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10631 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10632 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10633 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10634 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10635 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10636 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10637 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10638 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10639 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10640 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10641 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10642 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10643 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10644 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10645 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10646 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10647 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10648 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10649 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10650 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10651 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10652 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10653 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10654 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10655 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10656 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10657 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10658 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10660 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10661 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10662 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10663 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10664 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10665 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10666 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10667 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10668 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10669 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10670 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10671 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10672 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10673 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10674 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10675 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10676 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10677 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10678 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10679 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10680 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10681 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10682 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10683 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10684 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10685 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10686 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10687 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10688 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10689 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10690 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10691 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10692 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10693 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10694 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10695 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10696 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10697 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10698 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10699 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10700 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10701 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10702 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10703 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10704 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10705 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10706 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10707 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10708 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10709 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10710 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10711 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10712 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10713 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10714 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10715 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10716 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10717 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10718 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10719 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10720 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10721 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10722 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10723 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10724 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10725 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10726 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10727 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10728 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10729 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10730 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10731 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10732 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10733 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10735 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10736 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10737 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10738 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10739 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10740 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10741 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10742 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10743 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10744 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10747 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10748 * sysdeps/ieee754/s_lib_version.c: Likewise.
10749 * sysdeps/ieee754/s_matherr.c: Likewise.
10750 * sysdeps/ieee754/s_signgam.c: Likewise.
10751 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10752 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10753 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10754 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10755 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10756 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10757 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10758 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10759 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10760 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10761 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10762 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10763 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10764 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10765 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10766 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10767 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10768 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10769 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10770 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10771 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10773 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10775 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10776 * sunrpc/rpc_main.c: Likewise.
10777 * sunrpc/rpc_svcout.c: Likewise.
10779 2012-03-09 David S. Miller <davem@davemloft.net>
10781 * include/math_private.h: New file.
10783 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10785 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10786 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10787 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10788 from <bits/socket_type.h>.
10789 (enum __socket_type): Don't define here.
10790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10792 bits/socket_type.h.
10795 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10796 checking __USE_GNU.
10798 * Makerules ($(inst_includedir)/%.h): New rule.
10799 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10800 (install-others): Remove variable setting.
10801 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10803 2012-03-08 Richard Henderson <rth@twiddle.net>
10805 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10806 from macro to inline function; merge with the
10807 !__LIBC_INTERNAL_MATH_INLINES version.
10808 (__ieee754_sqrtf): Likewise.
10810 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10811 to inline function.
10812 (__rintf, __floor, __floorf): Likewise.
10814 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10815 macro to inline function.
10816 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10818 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10819 not <math/math_private.h>.
10821 2012-03-08 David S. Miller <davem@davemloft.net>
10823 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10825 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10827 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10829 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10831 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10832 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10834 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10836 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10837 be defined individually, they must be defined as a block. Define
10838 S for printing a string instead of hidint the different by using a
10839 macro for adding the 'l'.
10840 * stdio-common/tst-fphex-wide.c: Adjust.
10842 2012-03-07 Marek Polacek <polacek@redhat.com>
10844 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10846 2012-03-08 Marek Polacek <polacek@redhat.com>
10849 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10850 * stdio-common/tst-fphex.c: Define a few macros to make the
10851 test reusable. Use them.
10852 * stdio-common/tst-fphex-wide.c: New file.
10854 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10857 * manual/macros.texi (gnusystems): New macro.
10858 (nongnusystems): Likewise.
10859 (gnulinuxhurdsystems): Likewise.
10860 (gnuhurdsystems): Likewise..
10861 (gnulinuxsystems): Likewise.
10862 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10863 variants of the GNU system, not "GNU system".
10864 * manual/conf.texi: Likewise.
10865 * manual/errno.texi: Likewise. Update example of errno macro
10867 * manual/filesys.texi: Likewise.
10868 (getumask): Document as specific to GNU/Hurd.
10869 * manual/install.texi: Likewise. Reword some references to
10871 * manual/intro.texi: Likewise.
10872 * manual/io.texi: Likewise.
10873 (File Name Portability): Detail which constraints are inapplicable
10874 to all GNU systems and which are only inapplicable to GNU/Hurd.
10875 * manual/job.texi: Likewise.
10876 * manual/llio.texi: Likewise.
10877 (O_NOCTTY): Document as present on GNU/Linux.
10878 * manual/maint.texi: Likewise.
10879 * manual/memory.texi: Likewise.
10880 * manual/pattern.texi: Likewise.
10881 * manual/pipe.texi: Likewise.
10882 * manual/process.texi: Likewise.
10883 * manual/resource.texi: Likewise.
10884 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10886 * manual/setjmp.texi: Likewise.
10887 * manual/signal.texi: Likewise.
10888 * manual/startup.texi: Likewise.
10889 * manual/stdio.texi: Likewise.
10890 * manual/terminal.texi: Likewise.
10891 (ONLCR): Document as POSIX.
10892 (OXTABS): Document availability on GNU/Linux as XTABS.
10893 (ONOEOT): Document availability separately from other bits.
10894 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10895 * manual/time.texi: Likewise.
10896 * manual/users.texi: Likewise.
10897 * INSTALL: Regenerated.
10898 * sysdeps/gnu/errlist.c: Regenerated.
10900 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10901 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10902 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10904 * configure: Regenerated.
10906 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10908 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10909 default includes instead of AC_HEADER_CHECK.
10910 * sysdeps/i386/configure: Regenerated.
10913 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10914 * math/s_cacoshf.c (__cacoshf): Likewise.
10915 * math/s_cacoshl.c (__cacoshl): Likewise.
10916 * math/s_casinh.c (__casinh): Set signs of result from argument.
10917 * math/s_casinhf.c (__casinhf): Likewise.
10918 * math/s_casinhl.c (__casinhl): Likewise.
10919 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10920 (casinh_test): Add more tests.
10921 * sysdeps/i386/fpu/libm-test-ulps: Update.
10922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10924 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10926 * po/zh_TW.po: Update from translation team.
10928 * login/Makefile (distribute): Remove variable.
10929 * catgets/Makefile: Likewise.
10930 * mach/Makefile: Likewise.
10931 * malloc/Makefile: Likewise.
10932 * misc/Makefile: Likewise.
10933 * iconv/Makefile: Likewise.
10934 * nscd/Makefile: Likewise.
10935 * hurd/Makefile: Likewise.
10936 * manual/Makefile: Likewise.
10937 * locale/Makefile: Likewise.
10938 * intl/Makefile: Likewise.
10939 * conform/Makefile: Likewise.
10940 * nss/Makefile: Likewise.
10941 * time/Makefile: Likewise.
10942 * soft-fp/Makefile: Likewise.
10943 * dirent/Makefile: Likewise.
10944 * gmon/Makefile: Likewise.
10945 * po/Makefile: Likewise.
10946 * rt/Makefile: Likewise.
10947 * socket/Makefile: Likewise.
10948 * math/Makefile: Likewise.
10949 * signal/Makefile: Likewise.
10950 * debug/Makefile: Likewise.
10951 * elf/Makefile: Likewise.
10952 * timezone/Makefile: Likewise.
10953 * stdlib/Makefile: Likewise.
10954 * iconvdata/Makefile: Likewise.
10955 * sunrpc/Makefile: Likewise.
10956 * io/Makefile: Likewise.
10957 * argp/Makefile: Likewise.
10958 * inet/Makefile: Likewise.
10959 * hesiod/Makefile: Likewise.
10960 * grp/Makefile: Likewise.
10961 * csu/Makefile: Likewise.
10962 * wctype/Makefile: Likewise.
10963 * crypt/Makefile: Likewise.
10964 * libio/Makefile: Likewise.
10965 * string/Makefile: Likewise.
10966 * nis/Makefile: Likewise.
10967 * resolv/Makefile: Likewise.
10968 * stdio-common/Makefile: Likewise.
10969 * wcsmbs/Makefile: Likewise.
10970 * dlfcn/Makefile: Likewise.
10971 * posix/Makefile: Likewise.
10974 * timezone/Makefile: Don't install timezone files, just the programs
10977 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10979 * nss/databases.def: Add missing gshadow entry.
10981 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10983 2012-03-06 Marek Polacek <polacek@redhat.com>
10986 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10987 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10988 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10989 * stdio-common/tst-long-dbl-fphex.c: New file.
10991 2012-03-06 David S. Miller <davem@davemloft.net>
10993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10994 (set_obp_int): New function.
10995 (get_obp_int): New function.
10996 (__get_clockfreq_via_dev_openprom): Likewise.
10997 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10998 Avoid unused variable warnings on 'val' and use builtin_expect.
10999 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11001 (INLINE_CLONE_SYSCALL): Likewise.
11003 2012-03-05 David S. Miller <davem@davemloft.net>
11005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11007 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11011 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11012 only for |x| >= 40.
11013 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11015 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
11017 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11018 Replace gettimeofday with __vdso_gettimeofday.
11020 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11021 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11022 __vdso_clock_gettime and __vdso_getcpu.
11024 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11025 time with __vdso_time.
11027 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11029 * manual/lang.texi (size_t): Note types to which size_t may be
11030 equivalent with the GNU C Library, but do not describe when
11031 differences between them are significant.
11033 2012-03-05 Andreas Jaeger <aj@suse.de>
11035 * sysdeps/i386/fpu/libm-test-ulps: Update.
11037 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11040 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11041 (__ieee754_pow): Save and restore rounding mode and use
11042 round-to-nearest for main computations.
11043 * math/libm-test.inc (pow_test_tonearest): New function.
11044 (pow_test_towardzero): Likewise.
11045 (pow_test_downward): Likewise.
11046 (pow_test_upward): Likewise.
11047 (main): Call the new functions.
11048 * sysdeps/i386/fpu/libm-test-ulps: Update.
11049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11052 * math/libm-test.inc (cosh_test_tonearest): New function.
11053 (cosh_test_towardzero): Likewise.
11054 (cosh_test_downward): Likewise.
11055 (cosh_test_upward): Likewise.
11056 (sinh_test_tonearest): Likewise.
11057 (sinh_test_towardzero): Likewise.
11058 (sinh_test_downward): Likewise.
11059 (sinh_test_upward): Likewise.
11060 (main): Call the new functions.
11061 * sysdeps/i386/fpu/libm-test-ulps: Update.
11062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11064 2012-03-05 Tom de Vries <tom@codesourcery.com>
11066 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11067 default stack guard is set in last bytes.
11068 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11070 2012-03-05 Kees Cook <keescook@chromium.org>
11072 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
11075 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11076 possibly allocate from heap instead of stack.
11077 * stdio-common/bug-vfprintf-nargs.c: New file.
11078 * stdio-common/Makefile (tests): Add nargs overflow test.
11080 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11084 2012-03-03 Marek Polacek <polacek@redhat.com>
11086 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11087 * math/math_private.h: Likewise.
11088 * stdlib/tst-strtod.c: Likewise.
11089 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11090 * sysdeps/x86_64/bits/atomic.h: Likewise.
11092 2012-03-02 David S. Miller <davem@davemloft.net>
11094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11098 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11099 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11100 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11101 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11103 2012-03-02 Roland McGrath <roland@hack.frob.com>
11106 * manual/examples/README: New file, says the example source files
11107 can be used under GPL>=2.
11108 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11109 line containing just "*/".
11110 * manual/examples/add.c: Add copyright header (GPL>=2).
11111 * manual/examples/argp-ex1.c: Likewise.
11112 * manual/examples/argp-ex2.c: Likewise.
11113 * manual/examples/argp-ex3.c: Likewise.
11114 * manual/examples/argp-ex4.c: Likewise.
11115 * manual/examples/atexit.c: Likewise.
11116 * manual/examples/db.c: Likewise.
11117 * manual/examples/dir.c: Likewise.
11118 * manual/examples/dir2.c: Likewise.
11119 * manual/examples/execinfo.c: Likewise.
11120 * manual/examples/filecli.c: Likewise.
11121 * manual/examples/filesrv.c: Likewise.
11122 * manual/examples/fmtmsgexpl.c: Likewise.
11123 * manual/examples/genpass.c: Likewise.
11124 * manual/examples/inetcli.c: Likewise.
11125 * manual/examples/inetsrv.c: Likewise.
11126 * manual/examples/isockad.c: Likewise.
11127 * manual/examples/longopt.c: Likewise.
11128 * manual/examples/memopen.c: Likewise.
11129 * manual/examples/memstrm.c: Likewise.
11130 * manual/examples/mkfsock.c: Likewise.
11131 * manual/examples/mkisock.c: Likewise.
11132 * manual/examples/mygetpass.c: Likewise.
11133 * manual/examples/pipe.c: Likewise.
11134 * manual/examples/popen.c: Likewise.
11135 * manual/examples/rprintf.c: Likewise.
11136 * manual/examples/search.c: Likewise.
11137 * manual/examples/select.c: Likewise.
11138 * manual/examples/setjmp.c: Likewise.
11139 * manual/examples/sigh1.c: Likewise.
11140 * manual/examples/sigusr.c: Likewise.
11141 * manual/examples/stpcpy.c: Likewise.
11142 * manual/examples/strdupa.c: Likewise.
11143 * manual/examples/strftim.c: Likewise.
11144 * manual/examples/strncat.c: Likewise.
11145 * manual/examples/subopt.c: Likewise.
11146 * manual/examples/swapcontext.c: Likewise.
11147 * manual/examples/termios.c: Likewise.
11148 * manual/examples/testopt.c: Likewise.
11149 * manual/examples/testpass.c: Likewise.
11150 * manual/examples/timeval_subtract.c: Likewise.
11153 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11155 * manual/timeval_subtract.c.texi: ... here, new file.
11157 2012-03-02 David S. Miller <davem@davemloft.net>
11159 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11161 2012-03-02 Joseph Myers <joseph@codesourcery.com>
11164 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11165 (__sin): Save and restore rounding mode and use round-to-nearest
11166 for all computations.
11167 (__cos): Save and restore rounding mode and use round-to-nearest
11168 for all computations.
11169 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11171 (tan): Save and restore rounding mode and use round-to-nearest for
11173 * math/libm-test.inc (cos_test_tonearest): New function.
11174 (cos_test_towardzero): Likewise.
11175 (cos_test_downward): Likewise.
11176 (cos_test_upward): Likewise.
11177 (sin_test_tonearest): Likewise.
11178 (sin_test_towardzero): Likewise.
11179 (sin_test_downward): Likewise.
11180 (sin_test_upward): Likewise.
11181 (tan_test_tonearest): Likewise.
11182 (tan_test_towardzero): Likewise.
11183 (tan_test_downward): Likewise.
11184 (tan_test_upward): Likewise.
11185 (main): Call the new functions.
11186 * sysdeps/i386/fpu/libm-test-ulps: Update.
11187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11190 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11191 small n, then large n, before computing and testing k+n.
11192 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11193 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11197 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11198 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11199 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11200 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11201 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11202 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11203 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11204 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11205 * math/libm-test.inc (scalbn_test): Add more tests.
11206 (scalbln_test): Likewise.
11208 * manual/filesys.texi (mode_t): Describe constraints on size and
11209 signedness, not exact equivalence to a particular type.
11211 (ino64_t): Likewise.
11213 (nlink_t): Likewise.
11214 (blkcnt_t): Likewise.
11215 (blkcnt64_t): Likewise.
11216 * manual/llio.texi (off_t): Likewise.
11219 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11220 (__ieee754_exp): Save and restore rounding mode and use
11221 round-to-nearest for all computations.
11222 * math/libm-test.inc (exp_test_tonearest): New function.
11223 (exp_test_towardzero): Likewise.
11224 (exp_test_downward): Likewise.
11225 (exp_test_upward): Likewise.
11226 (main): Call the new functions.
11227 * sysdeps/i386/fpu/libm-test-ulps: Update.
11228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11230 2012-03-01 Chris Demetriou <cgd@google.com>
11232 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11233 have predictable order.
11235 2012-03-01 David S. Miller <davem@davemloft.net>
11237 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11239 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11240 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11241 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11242 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11244 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11245 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11246 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11248 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11249 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11250 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11251 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11252 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11256 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11257 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11258 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11260 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11261 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11262 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11263 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11264 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11265 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11266 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11267 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11268 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11269 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11270 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11271 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11273 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11274 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11275 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11276 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11277 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11278 * sysdeps/sparc/elf/configure: Regenerated.
11280 2012-03-01 Joseph Myers <joseph@codesourcery.com>
11282 * configure.in (AS, LD): Require binutils 2.20 or later.
11283 * configure: Regenerated.
11284 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11285 as required minimum version.
11286 * INSTALL: Regenerated.
11290 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11291 before squaring exponent.
11292 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11293 bottom long double and 27 bits of top long double before squaring
11295 * math/libm-test.inc (erfc_test): Add more tests.
11296 * sysdeps/i386/fpu/libm-test-ulps: Update.
11297 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11300 2012-03-01 Kai Tietz <ktietz@redhat.com>
11302 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11303 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11304 containing bit-fields.
11305 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11306 * soft-fp/single.h (_FP_UNION_S): Likewise.
11307 * soft-fp/double.h (_FP_UNION_D): Likewise.
11309 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11312 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11313 not include ../strcmp.S.
11314 [USE_AS_STRNCASECMP_L]: Likewise.
11315 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11316 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11317 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11318 (__strncasecmp_l_ia32): Define as alias to
11319 __strncasecmp_l_nonascii.
11322 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11323 * sysdeps/i386/fpu/libm-test-ulps: Update.
11324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11326 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11329 2012-02-29 Jeff Law <law@redhat.com>
11331 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11332 out of bounds read.
11334 2012-02-29 Marek Polacek <polacek@redhat.com>
11337 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11338 * elf/Makefile: Add rules to run tst-unused-dep.out.
11340 2012-02-28 David S. Miller <davem@davemloft.net>
11342 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11343 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11344 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11345 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11346 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11347 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11349 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11351 * math/libm-test.inc (llround_test): Move one test from
11352 lround_test. Use TEST_f_L in moved test.
11353 (lround_test): Move misplaced test to llround_test. Add testcase
11356 2012-02-28 Ulrich Drepper <drepper@gmail.com>
11358 * sysdeps/x86_64/fpu/e_expf.S: New file.
11359 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11361 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11364 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11365 of remain_len that may cause incomplete multi-byte character and
11367 * posix/bug-regex33.c: New file.
11368 * posix/Makefile (tests): Add bug-regex33.
11370 2012-02-28 Joseph Myers <joseph@codesourcery.com>
11372 * manual/macros.texi: New file.
11373 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11374 * manual/libc.texinfo: Include macros.texi.
11375 * manual/creatute.texi: Likewise.
11376 * manual/install.texi: Likewise.
11377 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11378 @glibcadj{} in references to the GNU C Library.
11379 * manual/charset.texi: Likewise.
11380 * manual/conf.texi: Likewise.
11381 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11382 when not using those macros.
11383 * manual/creature.texi: Likewise.
11384 * manual/crypt.texi: Likewise.
11385 * manual/errno.texi: Likewise.
11386 * manual/filesys.texi: Likewise.
11387 * manual/header.texi: Likewise.
11388 * manual/install.texi: Likewise.
11389 * manual/intro.texi: Likewise.
11390 * manual/io.texi: Likewise.
11391 * manual/job.texi: Likewise.
11392 * manual/lang.texi: Likewise.
11393 * manual/libc.texiinfo: Likewise.
11394 * manual/llio.texi: Likewise.
11395 * manual/locale.texi: Likewise.
11396 * manual/maint.texi: Likewise.
11397 * manual/math.texi: Likewise.
11398 * manual/memory.texi: Likewise.
11399 * manual/message.texi: Likewise.
11400 * manual/nss.texi: Likewise.
11401 * manual/pattern.texi: Likewise.
11402 * manual/process.texi: Likewise.
11403 * manual/resource.texi: Likewise.
11404 * manual/search.texi: Likewise.
11405 * manual/setjmp.texi: Likewise.
11406 * manual/signal.texi: Likewise.
11407 * manual/socket.texi: Likewise.
11408 * manual/startup.texi: Likewise.
11409 * manual/stdio.texi: Likewise.
11410 * manual/string.texi: Likewise.
11411 * manual/sysinfo.texi: Likewise.
11412 * manual/syslog.texi: Likewise.
11413 * manual/terminal.texi: Likewise.
11414 * manual/time.texi: Likewise.
11415 * manual/users.texi: Likewise.
11416 * INSTALL: Regenerated.
11417 * NOTES: Regenerated.
11418 * sysdeps/gnu/errlist.c: Regenerated.
11420 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11422 * include/dirent.h: Include <dirstream.h> before
11425 2012-02-28 David S. Miller <davem@davemloft.net>
11427 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11428 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11429 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11430 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11432 2012-02-27 David S. Miller <davem@davemloft.net>
11434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11436 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11437 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11440 frame pointer instead of stack pointer relative arg slot.
11441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11442 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11443 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11445 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11448 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11450 2012-02-27 David S. Miller <davem@davemloft.net>
11452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11456 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11457 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11458 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11459 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11461 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11463 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11464 later. Allow versions 5-9.
11465 * configure: Regenerated.
11466 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11467 required minimum version and 4.6 as recommended version. Do not
11468 mention bugs in GCC 2.7 and 2.8.
11469 * INSTALL: Regenerated.
11471 2012-02-27 David S. Miller <davem@davemloft.net>
11473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11477 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11478 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11479 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11480 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11482 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11483 manipulate bits before adding and subtracting TWO112[sx].
11484 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11486 2012-02-27 Roland McGrath <roland@hack.frob.com>
11489 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11490 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11491 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11492 being in POSIX, because they are in 1003.1-2008.
11494 * rt/tst-aio.c: Include <fcntl.h>.
11495 * rt/tst-aio7.c: Likewise.
11496 * rt/tst-aio64.c: Likewise.
11498 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11500 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11502 * manual/install.texi (--with-headers): Describe headers as
11503 interface headers, not private headers.
11504 (Specific advice for GNU/Linux systems): Describe use of headers
11505 from "make headers_install", not private headers from older
11507 * INSTALL: Regenerated.
11508 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11510 * sysdeps/unix/sysv/linux/configure: Regenerated.
11512 * manual/llio.texi (fclean): Remove documentation.
11514 * manual/Makefile (libc-texi-generated): New variable. Include
11516 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11517 $(libc-texi-generated), not duplicated list of files.
11518 (version.texi, stamp-version): New rules.
11519 (realclean): Remove $(libc-texi-generated), not individual files
11520 from that list. Do not remove dir-add.texinfo.
11521 * manual/libc.texinfo: Comment out uses of edition numbers and
11522 references to printed manual. Remove last-updated dates.
11523 (EDITION): Comment out.
11525 (VERSION, UPDATED): Remove.
11526 (version.texi): Include.
11528 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11530 * sysdeps/posix/spawni.c: Include <signal.h>.
11531 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11532 * sysdeps/pthread/aio_fsync.c: Likewise.
11534 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11536 * conform/Makefile (tests): Run only when not cross-compiling and
11537 when fast-check is not defined.
11539 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11540 * conform/data/limits.h-data: Fixes for POSIX2008.
11541 * conform/run-conformtest.sh: Run all tests.
11542 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11544 * include/bits/dlfcn.h: Likewise.
11545 * include/langinfo.h: Likewise.
11546 * include/monetary.h: Likewise.
11547 * include/sys/poll.h: Likewise.
11549 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11551 * posix/spawn.h: Define __need_sigset_t.
11552 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11553 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11554 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11555 to get sigevent_t only.
11556 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11557 only for __USE_GNU.
11558 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11559 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11560 process_vm_writev only for __USE_GNU.
11561 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11563 * conform/Makefile: For now ignore errors from run-conformtest.
11564 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11565 POSIX to avoid namespace pollution. Don't prepend headers.
11566 * conform/data/aio.h-data: Fixes for POSIX testing.
11567 * conform/data/fcntl.h-data: Likewise.
11568 * conform/data/glob.h-data: Likewise.
11569 * conform/data/grp.h-data: Likewise.
11570 * conform/data/pthread.h-data: Likewise.
11571 * conform/data/pwd.h-data: Likewise.
11572 * conform/data/signal.h-data: Likewise.
11573 * conform/data/spawn.h-data: Likewise.
11574 * conform/data/stdio.h-data: Likewise.
11575 * conform/data/stdlib.h-data: Likewise.
11576 * conform/data/stropts.h-data: Likewise.
11577 * conform/data/sys/mman.h-data: Likewise.
11578 * conform/data/sys/stat.h-data: Likewise.
11579 * conform/data/sys/types.h-data: Likewise.
11580 * conform/data/sys/wait.h-data: Likewise.
11581 * conform/data/time.h-data: Likewise.
11582 * conform/data/unistd.h-data: Likewise.
11583 * conform/data/utime.h-data: Likewise.
11585 * io/sys/stat.h: fchmod was always in POSIX.
11586 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11587 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11588 * rt/aio.h: Define __need_timespec before including <time.h>.
11589 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11590 struct. Add forward declaration of pthread_attr_t and use it in
11592 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11593 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11594 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11595 always remove CLK_TCK definition.
11597 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11599 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11601 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11603 * conform/run-conformtest.sh: New file.
11604 * conform/Makefile: Run run-conformtest for tests.
11605 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11608 * conform/data/uchar.h-data: New file.
11609 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11610 * conform/data/arpa/inet.h-data: Likewise.
11611 * conform/data/assert.h-data: Likewise.
11612 * conform/data/complex.h-data: Likewise.
11613 * conform/data/cpio.h-data: Likewise.
11614 * conform/data/ctype.h-data: Likewise.
11615 * conform/data/dirent.h-data: Likewise.
11616 * conform/data/dlfcn.h-data: Likewise.
11617 * conform/data/errno.h-data: Likewise.
11618 * conform/data/fcntl.h-data: Likewise.
11619 * conform/data/float.h-data: Likewise.
11620 * conform/data/fmtmsg.h-data: Likewise.
11621 * conform/data/fnmatch.h-data: Likewise.
11622 * conform/data/ftw.h-data: Likewise.
11623 * conform/data/glob.h-data: Likewise.
11624 * conform/data/grp.h-data: Likewise.
11625 * conform/data/iconv.h-data: Likewise.
11626 * conform/data/inttypes.h-data: Likewise.
11627 * conform/data/langinfo.h-data: Likewise.
11628 * conform/data/libgen.h-data: Likewise.
11629 * conform/data/limits.h-data: Likewise.
11630 * conform/data/locale.h-data: Likewise.
11631 * conform/data/math.h-data: Likewise.
11632 * conform/data/monetary.h-data: Likewise.
11633 * conform/data/mqueue.h-data: Likewise.
11634 * conform/data/ndbm.h-data: Likewise.
11635 * conform/data/net/if.h-data: Likewise.
11636 * conform/data/netdb.h-data: Likewise.
11637 * conform/data/netinet/in.h-data: Likewise.
11638 * conform/data/nl_types.h-data: Likewise.
11639 * conform/data/poll.h-data: Likewise.
11640 * conform/data/pthread.h-data: Likewise.
11641 * conform/data/pwd.h-data: Likewise.
11642 * conform/data/regex.h-data: Likewise.
11643 * conform/data/sched.h-data: Likewise.
11644 * conform/data/search.h-data: Likewise.
11645 * conform/data/semaphore.h-data: Likewise.
11646 * conform/data/setjmp.h-data: Likewise.
11647 * conform/data/signal.h-data: Likewise.
11648 * conform/data/spawn.h-data: Likewise.
11649 * conform/data/stdarg.h-data: Likewise.
11650 * conform/data/stdio.h-data: Likewise.
11651 * conform/data/stdlib.h-data: Likewise.
11652 * conform/data/string.h-data: Likewise.
11653 * conform/data/strings.h-data: Likewise.
11654 * conform/data/stropts.h-data: Likewise.
11655 * conform/data/sys/ipc.h-data: Likewise.
11656 * conform/data/sys/mman.h-data: Likewise.
11657 * conform/data/sys/msg.h-data: Likewise.
11658 * conform/data/sys/resource.h-data: Likewise.
11659 * conform/data/sys/select.h-data: Likewise.
11660 * conform/data/sys/sem.h-data: Likewise.
11661 * conform/data/sys/shm.h-data: Likewise.
11662 * conform/data/sys/socket.h-data: Likewise.
11663 * conform/data/sys/stat.h-data: Likewise.
11664 * conform/data/sys/statvfs.h-data: Likewise.
11665 * conform/data/sys/time.h-data: Likewise.
11666 * conform/data/sys/timeb.h-data: Likewise.
11667 * conform/data/sys/times.h-data: Likewise.
11668 * conform/data/sys/types.h-data: Likewise.
11669 * conform/data/sys/uio.h-data: Likewise.
11670 * conform/data/sys/un.h-data: Likewise.
11671 * conform/data/sys/utsname.h-data: Likewise.
11672 * conform/data/sys/wait.h-data: Likewise.
11673 * conform/data/syslog.h-data: Likewise.
11674 * conform/data/tar.h-data: Likewise.
11675 * conform/data/termios.h-data: Likewise.
11676 * conform/data/utime.h-data: Likewise.
11677 * conform/data/utmpx.h-data: Likewise.
11678 * conform/data/varargs.h-data: Likewise.
11679 * conform/data/wchar.h-data: Likewise.
11680 * conform/data/wctype.h-data: Likewise.
11681 * conform/data/wordexp.h-data: Likewise.
11683 * include/stropts.h: New file.
11684 * include/uchar.h: New file.
11685 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11686 * include/assert.h: Likewise.
11687 * include/ctype.h: Likewise.
11688 * include/dirent.h: Likewise.
11689 * include/dlfcn.h: Likewise.
11690 * include/fcntl.h: Likewise.
11691 * include/fnmatch.h: Likewise.
11692 * include/glob.h: Likewise.
11693 * include/grp.h: Likewise.
11694 * include/libio.h: Likewise.
11695 * include/locale.h: Likewise.
11696 * include/math.h: Likewise.
11697 * include/net/if.h: Likewise.
11698 * include/netdb.h: Likewise.
11699 * include/netinet/in.h: Likewise.
11700 * include/pthread.h: Likewise.
11701 * include/pwd.h: Likewise.
11702 * include/regex.h: Likewise.
11703 * include/sched.h: Likewise.
11704 * include/search.h: Likewise.
11705 * include/setjmp.h: Likewise.
11706 * include/signal.h: Likewise.
11707 * include/stdio.h: Likewise.
11708 * include/stdlib.h: Likewise.
11709 * include/string.h: Likewise.
11710 * include/sys/cdefs.h: Likewise.
11711 * include/sys/mman.h: Likewise.
11712 * include/sys/msg.h: Likewise.
11713 * include/sys/resource.h: Likewise.
11714 * include/sys/select.h: Likewise.
11715 * include/sys/socket.h: Likewise.
11716 * include/sys/stat.h: Likewise.
11717 * include/sys/statvfs.h: Likewise.
11718 * include/sys/time.h: Likewise.
11719 * include/sys/times.h: Likewise.
11720 * include/sys/uio.h: Likewise.
11721 * include/sys/utsname.h: Likewise.
11722 * include/sys/wait.h: Likewise.
11723 * include/termios.h: Likewise.
11724 * include/time.h: Likewise.
11725 * include/ulimit.h: Likewise.
11726 * include/unistd.h: Likewise.
11727 * include/utime.h: Likewise.
11728 * include/wchar.h: Likewise.
11729 * include/wctype.h: Likewise.
11730 * include/wordexp.h: Likewise.
11732 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11734 * time/time.h: TIME_UTC must be a macro.
11735 Make timespec_get available for ISO C11 only as well.
11737 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11739 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11740 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11742 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11744 * configure.in: Use -o not -a in test for unsupported multi-arch.
11746 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11748 * manual/texinfo.tex: Update to version 2012-01-19.16.
11750 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11752 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11754 2012-02-24 Roland McGrath <roland@hack.frob.com>
11757 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11758 * manual/fdl-1.3.texi: New file.
11759 * manual/fdl-1.1.texi: File removed.
11762 * manual/libc.texinfo (FDL_VERSION): New @set.
11763 Use it for mention of FDL in cover text.
11764 (Documentation License): Use it in @include file name.
11766 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11767 Roland McGrath <roland@hack.frob.com>
11770 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11771 not LONG_LONG_MAX and LONG_LONG_MIN.
11772 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11773 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11775 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11777 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11781 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11782 manipulate bits before adding and subtracting TWO23[sx].
11783 * math/libm-test.inc (nearbyint_test): Add more tests.
11785 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11788 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11789 bits before adding and subtracting TWO23[sx].
11790 * math/libm-test.inc (rint_test): Add more tests.
11791 (rint_test_tonearest): Likewise.
11792 (rint_test_towardzero): Likewise.
11793 (rint_test_downward): Likewise.
11794 (rint_test_upward: Likewise.
11796 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11799 * include/stdc-predef.h: New file. Extracted from features.h.
11800 * include/features.h: Include stdc-predef.h.
11801 * Makefile (headers): Add stdc-predef.h.
11802 * CONFORMANCE (Compiler limitations): Update.
11804 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11806 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11808 2012-02-21 David S. Miller <davem@davemloft.net>
11810 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11811 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11813 2012-02-20 David S. Miller <davem@davemloft.net>
11815 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11816 using a normal save/restore sequence, rather than allocating a
11817 dummy stack frame just to store a frame pointer and restore.
11818 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11820 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11822 * manual/install.texi: Fix stray word in line-wrapped comment.
11824 2012-02-20 David S. Miller <davem@davemloft.net>
11826 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11827 both binutils and gcc support GOTDATA.
11829 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11830 "rd %pc" in the PIC register setup sequences.
11832 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11833 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11834 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11835 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11836 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11837 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11838 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11839 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11840 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11841 (SYSCALL_ERROR_HANDLER): Likewise.
11842 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11843 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11844 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11845 (SYSCALL_ERROR_HANDLER): Likewise.
11847 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11848 (HAVE_GCC_GOTDATA): New.
11849 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11850 relocation support in both binutils and gcc.
11851 * sysdeps/sparc/elf/configure: Regenerate.
11853 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11854 * sysdeps/sparc/sparc32/elf/configure: Delete.
11855 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11856 * sysdeps/sparc/sparc64/elf/configure: Delete.
11857 * sysdeps/sparc/elf/configure.in: New file.
11858 * sysdeps/sparc/elf/configure: Generate.
11860 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11861 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11862 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11863 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11864 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11866 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11868 * manual/install.texi: Do not mention specific glibc version
11870 * manual/libc.texinfo (VERSION, UPDATED): Update.
11871 (@copying): Use @copyright{} and range of years.
11873 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11876 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11877 [crti.S not in sysdirs] (generated): Do not append.
11878 [crti.S not in sysdirs] (omit-deps): Likewise.
11879 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11880 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11881 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11882 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11883 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11885 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11886 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11887 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11888 * csu/defs.awk: Remove file.
11889 * sysdeps/generic/initfini.c: Likewise.
11890 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11892 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11895 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11897 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11898 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11899 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11900 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11901 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11902 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11904 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11905 (__EPOLL_PACKED): Define to empty if not defined by
11907 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11911 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11913 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11914 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11915 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11916 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11918 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11919 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11922 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11924 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11926 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11927 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11928 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11931 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11933 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11934 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11936 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11938 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11939 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11941 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11943 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11946 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11948 * math/w_acos.c: Use non-signaling floating-point comparisons.
11949 * math/w_acosf.c: Likewise.
11950 * math/w_acosh.c: Likewise.
11951 * math/w_acoshf.c: Likewise.
11952 * math/w_acoshl.c: Likewise.
11953 * math/w_acosl.c: Likewise.
11954 * math/w_asin.c: Likewise.
11955 * math/w_asinf.c: Likewise.
11956 * math/w_asinl.c: Likewise.
11957 * math/w_atanh.c: Likewise.
11958 * math/w_atanhf.c: Likewise.
11959 * math/w_atanhl.c: Likewise.
11960 * math/w_exp2.c: Likewise.
11961 * math/w_exp2f.c: Likewise.
11962 * math/w_exp2l.c: Likewise.
11963 * math/w_j0.c: Likewise.
11964 * math/w_j0f.c: Likewise.
11965 * math/w_j0l.c: Likewise.
11966 * math/w_j1.c: Likewise.
11967 * math/w_j1f.c: Likewise.
11968 * math/w_j1l.c: Likewise.
11969 * math/w_jn.c: Likewise.
11970 * math/w_jnf.c: Likewise.
11971 * math/w_log.c: Likewise.
11972 * math/w_log10.c: Likewise.
11973 * math/w_log10f.c: Likewise.
11974 * math/w_log10l.c: Likewise.
11975 * math/w_log2.c: Likewise.
11976 * math/w_log2f.c: Likewise.
11977 * math/w_log2l.c: Likewise.
11978 * math/w_logf.c: Likewise.
11979 * math/w_logl.c: Likewise.
11980 * math/w_sqrt.c: Likewise.
11981 * math/w_sqrtf.c: Likewise.
11982 * math/w_sqrtl.c: Likewise.
11983 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11984 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11985 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11986 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11987 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11989 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11992 * manual/string.texi (strnlen): Use correct parameter name in
11993 equivalent expression.
11995 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11998 * manual/users.texi (seteuid): Consistently use neweuid for
12001 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12004 * manual/nss.texi (Services in the NSS configuration): Correct
12005 list of services in example configuration file.
12007 2012-02-19 Nick Bowler <nbowler@draconx.ca>
12010 * manual/arith.texi: Remove statements about negative zero
12011 behaving identically to zero.
12013 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12016 * manual/install.texi: Do not document upgrading from libc5.
12018 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12021 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12023 2012-02-18 David S. Miller <davem@davemloft.net>
12025 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12026 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12027 %o7 across the call.
12028 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12031 SETUP_PIC_REG_LEAF.
12032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12033 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12034 * sysdeps/sparc/crtn.S: Likewise.
12036 2012-02-17 Ulrich Drepper <drepper@gmail.com>
12038 * aout/Makefile: Remove.
12040 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12043 * manual/examples/argp-ex1.c (main): Format definition in GNU
12045 * manual/examples/argp-ex2.c (main): Likewise.
12046 * manual/examples/argp-ex3.c (main): Likewise.
12047 * manual/examples/argp-ex4.c (main): Likewise.
12048 * manual/examples/longopt.c (main): Use new-style prototype
12050 * manual/examples/strncat.c (main): Specify return type and use
12051 (void) for arguments.
12052 * manual/examples/subopt.c (main): Use char **argv argument.
12054 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12057 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12060 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12063 * manual/string.texi (strchr): Change when strchrnul is
12066 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12069 * manual/locale.texi (setlocale): Document LOCPATH.
12071 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12074 * manual/process.texi (execle): Move @dots{} before last argument.
12076 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
12079 * manual/charset.texi (Generic Charset Conversion): Fix typo
12080 (LC_TYPE -> LC_CTYPE).
12082 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12085 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12086 (scalbnf): Likewise.
12087 (scalbnl): Likewise.
12088 (scalbln): Likewise.
12089 (scalblnf): Likewise.
12090 (scalblnl): Likewise.
12091 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12092 (vwarnx): Likewise.
12095 * manual/filesys.texi (telldir): Use braces around return type.
12096 * manual/llio.texi (mmap): Add space after comma.
12097 (mmap64): Likewise.
12098 * manual/math.texi (jn): Use @var{} on parameter names.
12104 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12106 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12108 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12109 (sched_get_priority_max): Likewise.
12110 * manual/signal.texi (sigvec): Add space after comma.
12111 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12113 (if_indextoname): Likewise.
12114 (if_freenameindex): Likewise.
12115 (sendto): Use ',' instead of '.' in prototype.
12116 * manual/startup.texi (syscall): Use @dots{} instead of literal
12118 * manual/stdio.texi (__fpending): Separate initial words of
12119 paragraph from @deftypefun line.
12120 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12122 (vsyslog): Use @var{} on parameter names.
12123 * manual/terminal.texi (stty): Use @var{} on parameter names.
12124 * manual/users.texi (getutmp): Use @var{} on parameter names.
12125 (getutmpx): Likewise.
12127 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12130 * manual/stdio.texi (fopen): Fix typos in description of
12133 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12136 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12137 get clock_id definition.
12139 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
12142 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12143 (madvise): Cast every argument to void on its own.
12145 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12148 * manual/startup.texi (Exit Status): Fix typo.
12150 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12153 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12154 * manual/examples/argp-ex2.c: Likewise.
12155 * manual/examples/argp-ex3.c: Likewise.
12157 2012-02-16 Richard Henderson <rth@redhat.com>
12159 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12160 * sysdeps/s390/s390-32/initfini.c: Remove.
12161 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12162 * sysdeps/s390/s390-64/initfini.c: Remove.
12164 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12166 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12167 compiler output for sysdeps/generic/initfini.c.
12168 * sysdeps/sh/elf/initfini.c: Remove file.
12170 2012-02-16 David S. Miller <davem@davemloft.net>
12173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12175 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12176 * sysdeps/sparc/crti.S: New file.
12177 * sysdeps/sparc/crtn.S: New file.
12178 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12179 * sysdeps/sparc/sparc64/Makefile: Likewise.
12181 2012-02-15 Mike Frysinger <vapier@gentoo.org>
12184 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12186 2012-02-15 Roland McGrath <roland@hack.frob.com>
12189 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12191 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12192 (write, read, close): Likewise.
12193 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12195 2012-02-15 Joseph Myers <joseph@codesourcery.com>
12197 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12198 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12199 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12200 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12202 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12206 2012-02-14 Marek Polacek <polacek@redhat.com>
12208 * sysdeps/x86_64/crti.S: New file.
12209 * sysdeps/x86_64/crtn.S: New file.
12210 * sysdeps/x86_64/elf/initfini.c: Remove file.
12212 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12214 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12215 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12216 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12217 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12219 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12223 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12225 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12226 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12227 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12228 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12230 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12234 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12236 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12237 __feraiseexcept instead of feraiseexcept.
12239 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12240 nanosleep invocations.
12241 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12242 strings, and add error checking for a nanosleep invocations.
12244 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12246 Replace FSF snail mail address with URLs, as per GNU coding standards.
12247 Most of the snail mail addresses were wrong anyway, and omitting
12248 them makes the source code easier to maintain. Almost all of the
12249 changes are to license notices and to locale LC_IDENTIFICATION
12250 addresses, except for this one:
12251 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12252 not its snail mail address.
12254 2012-02-09 Richard Henderson <rth@twiddle.net>
12256 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12257 of kernel-features.h.
12259 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12261 2012-02-08 Marek Polacek <polacek@redhat.com>
12263 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12264 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12265 * sysdeps/gnu/_G_config.h: Likewise.
12266 * sysdeps/generic/_G_config.h: Likewise.
12268 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12270 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12274 * sysdeps/powerpc/powerpc32/crti.S: New file.
12275 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12276 * sysdeps/powerpc/powerpc64/crti.S: New file.
12277 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12279 * Makeconfig (have-initfini): Don't set.
12280 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12281 * configure.in (nopic_initfini): Don't substitute.
12282 * config.h.in (HAVE_INITFINI): Don't #undef.
12283 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12284 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12286 2012-02-08 Joseph Myers <joseph@codesourcery.com>
12288 Support crti.S and crtn.S provided directly by architectures.
12289 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12290 [crti.S in sysdirs] (omit-deps): Likewise.
12291 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12292 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12293 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12294 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12295 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12296 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12297 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12298 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12299 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12300 compiler output for sysdeps/generic/initfini.c.
12301 * sysdeps/i386/elf/Makefile: Remove file.
12302 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12304 2012-02-07 Marek Polacek <polacek@redhat.com>
12306 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12307 * sysdeps/gnu/_G_config.h: Likewise.
12308 * sysdeps/mach/hurd/_G_config.h: Likewise.
12310 2012-02-07 Marek Polacek <polacek@redhat.com>
12312 * math/Makefile (tests): Add tst-CMPLX2.
12313 * math/tst-CMPLX2.c: New file.
12315 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12317 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12319 * math/libm-test.inc (jn_test): Add missing L suffix.
12321 2012-02-06 Marek Polacek <polacek@redhat.com>
12323 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12324 * sysdeps/i386/fpu/e_powf.S: Likewise.
12325 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12326 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12327 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12328 * sysdeps/i386/fpu/e_pow.S: Likewise.
12329 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12330 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12331 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12332 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12333 * sysdeps/i386/fpu/e_log2.S: Likewise.
12334 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12335 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12336 * sysdeps/i386/fpu/e_powl.S: Likewise.
12337 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12338 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12339 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12340 * sysdeps/i386/fpu/e_logl.S: Likewise.
12341 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12342 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12343 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12344 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12345 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12346 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12347 * sysdeps/i386/fpu/e_log.S: Likewise.
12348 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12349 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12350 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12351 * sysdeps/i386/fpu/e_logf.S: Likewise.
12352 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12353 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12354 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12355 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12356 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12357 * sysdeps/i386/fpu/e_log10.S: Likewise.
12358 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12359 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12360 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12361 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12362 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12363 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12364 * sysdeps/i386/asm-syntax.h: Likewise.
12365 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12366 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12367 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12368 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12369 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12370 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12371 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12372 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12373 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12374 * sysdeps/powerpc/sysdep.h: Likewise.
12375 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12376 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12378 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12381 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12383 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12385 * sysdeps/i386/sysdep.h: Include <features.h>.
12386 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12389 2012-02-05 Joseph Myers <joseph@codesourcery.com>
12391 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12393 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12396 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12398 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12399 (SETUP_PIC_REG): Use GET_PC_THUNK.
12400 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12403 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12405 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12406 for non-PIC compilation.
12407 (SETUP_PIC_REG): Add .p2align directive.
12408 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12409 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12410 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12411 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12412 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12413 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12414 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12415 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12416 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12417 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12418 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12419 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12420 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12421 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12422 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12423 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12424 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12425 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12426 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12427 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12428 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12429 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12430 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12431 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12432 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12433 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12434 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12435 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12436 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12437 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12438 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12439 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12440 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12441 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12442 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12443 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12444 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12445 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12446 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12447 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12448 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12450 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12452 * math/tst-CMPLX.c: Include <stdio.h>.
12454 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12456 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12458 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12459 * sysdeps/sparc/bits/mathdef.h: Likewise.
12461 2012-01-31 Marek Polacek <polacek@redhat.com>
12463 * libio/libio.h: Don't define _PARAMS.
12464 * locale/programs/config.h: Don't define PARAMS.
12465 * stdlib/strtol_l.c: Likewise.
12466 (__strtol_l): Remove PARAMS from the prototype.
12468 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12470 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12471 names. Just use the correct names. Remove unnecessary wrapper
12473 * malloc/arena.c: Likewise.
12474 * malloc/hooks.c: Likewise.
12476 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12477 ARENA_TEST says not to. Simplify test for creation of a new arena.
12478 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12480 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12482 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12484 (update_get_addr): New function.
12485 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12486 GET_ADDR_MODULE parameter.
12488 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12490 * crypt/cert.c: Remove __STDC__ conditionals.
12491 * crypt/crypt-entry.c: Likewise.
12492 * crypt/crypt_util.c: Likewise.
12493 * libio/filedoalloc.c: Likewise.
12494 * libio/fileops.c: Likewise.
12495 * libio/genops.c: Likewise.
12496 * libio/iofclose.c: Likewise.
12497 * libio/iofdopen.c: Likewise.
12498 * libio/iofopen.c: Likewise.
12499 * libio/iofopen64.c: Likewise.
12500 * libio/iogetdelim.c: Likewise.
12501 * libio/iopopen.c: Likewise.
12502 * libio/obprintf.c: Likewise.
12503 * libio/oldfileops.c: Likewise.
12504 * libio/oldiofclose.c: Likewise.
12505 * libio/oldiofdopen.c: Likewise.
12506 * libio/oldiofopen.c: Likewise.
12507 * libio/oldiopopen.c: Likewise.
12508 * libio/wfiledoalloc.c: Likewise.
12509 * libio/wgenops.c: Likewise.
12510 * locale/programs/xmalloc.c: Likewise.
12511 * misc/syslog.c: Likewise.
12512 * stdio-common/xbug.c: Likewise.
12513 * string/memchr.c: Likewise.
12514 * string/memcmp.c: Likewise.
12515 * string/memrchr.c: Likewise.
12516 * string/rawmemchr.c: Likewise.
12517 * sysdeps/posix/getcwd.c: Likewise.
12518 * time/strftime_l.c: Likewise.
12520 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12522 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12523 * config.make.in (config-cflags-sse2avx): Define.
12524 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12527 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12529 * scripts/config.guess: Update from upstream config git repository.
12530 * scripts/config.sub: Likewise.
12532 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12534 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12536 (R_TILEPRO_*, R_TILEGX_*): New macros.
12538 * scripts/firstversions.awk: Fix bug in version range handling.
12540 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12542 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12544 * include/sys/epoll.h: New file.
12545 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12548 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12550 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12551 Avoid unnecessary __WORDSIZE == 64 test.
12552 (fmaxf): Use VEX format if possible.
12557 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12558 * math/math_private.h: Remove libc_fegetround* and
12560 * sysdeps/i386/configure.in: Check for -msse2avx.
12561 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12562 also if SSE2AVX is defined.
12563 Remove libc_fegetround* and libc_fesetround*.
12564 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12565 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12566 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12568 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12569 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12570 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12571 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12572 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12574 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12576 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12578 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12580 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12582 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12585 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12587 * Makeconfig (libm): Define.
12588 * elf/Makefile: Add rules to build and run tst-relsort1.
12589 * elf/tst-relsort1.c: New file.
12590 * elf/tst-relsort1mod1.c: New file.
12591 * elf/tst-relsort1mod2.c: New file.
12593 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12595 * math/s_ldexp.c: Remove __STDC__ conditionals.
12596 * math/s_ldexpf.c: Likewise.
12597 * math/s_ldexpl.c: Likewise.
12598 * math/s_nextafter.c: Likewise.
12599 * math/s_nexttowardf.c: Likewise.
12600 * math/s_significand.c: Likewise.
12601 * math/s_significandf.c: Likewise.
12602 * math/s_significandl.c: Likewise.
12603 * math/w_jnl.c: Likewise.
12604 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12605 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12606 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12607 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12608 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12609 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12610 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12611 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12612 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12613 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12614 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12615 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12616 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12617 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12621 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12623 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12624 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12625 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12626 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12627 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12628 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12629 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12630 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12631 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12632 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12633 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12634 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12635 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12636 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12637 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12638 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12639 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12640 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12641 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12642 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12643 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12644 * sysdeps/ieee754/k_standard.c: Likewise.
12645 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12646 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12647 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12648 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12649 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12650 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12651 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12652 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12653 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12655 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12663 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12664 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12665 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12666 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12674 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12677 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12678 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12680 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12681 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12682 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12685 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12686 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12689 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12690 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12691 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12692 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12693 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12695 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12697 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12699 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12700 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12701 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12702 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12703 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12704 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12705 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12706 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12707 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12708 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12709 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12710 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12711 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12712 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12713 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12714 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12715 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12716 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12717 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12718 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12719 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12720 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12721 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12722 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12723 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12724 * sysdeps/ieee754/s_matherr.c: Likewise.
12725 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12726 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12730 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12732 * crypt/md5.h: Remove __STDC__ conditionals.
12733 * libio/libioP.h: Likewise.
12734 * locale/programs/config.h: Likewise.
12735 * sysdeps/generic/sysdep.h: Likewise.
12736 * sysdeps/i386/asm-syntax.h: Likewise.
12737 * sysdeps/s390/asm-syntax.h: Likewise.
12738 * sysdeps/unix/sysdep.h: Likewise.
12739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12742 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12744 * libio/libio.h: Remove __STDC__ conditionals.
12745 * malloc/obstack.h: Likewise.
12746 * math/complex.h: Likewise.
12747 * math/math.h: Likewise.
12748 * sysdeps/generic/_G_config.h: Likewise.
12749 * sysdeps/gnu/_G_config.h: Likewise.
12750 * sysdeps/mach/hurd/_G_config.h: Likewise.
12751 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12752 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12753 * sysdeps/sparc/bits/mathdef.h: Likewise.
12755 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12758 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12759 Clean up HAS_* macros.
12760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12761 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12763 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12765 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12766 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12767 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12768 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12769 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12771 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12773 * elf/tst-unique3.cc (gets): Remove declaration.
12774 * elf/tst-unique3lib.cc (gets): Likewise.
12775 * elf/tst-unique3lib2.cc (gets): Likewise.
12776 * elf/tst-unique4.cc (gets): Likewise.
12778 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12780 * include/stdio.h: Add C++ protection. Add gets declarations and
12782 * debug/tst-chk1.c: Don't declare gets here.
12783 * stdio-common/tst-gets.c: Likewise.
12785 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12787 * posix/glob: Remove directory.
12789 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12791 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12793 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12795 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12796 of the non-standard EPFNOSUPPORT.
12798 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12800 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12801 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12802 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12804 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12806 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12808 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12810 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12812 * nscd/grpcache.c (cache_addgr): Likewise.
12813 * nscd/hstcache.c (cache_addhst): Likewise.
12814 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12815 * nscd/pwdcache.c (cache_addpw): Likewise.
12816 * nscd/servicescache.c (cache_addserv): Likewise.
12818 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12820 * malloc/malloc.c: Various cleanups.
12821 * malloc/hooks.c: Likewise.
12823 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12824 * stdlib/bug-fmtmsg1.c: New file.
12826 * stdlib/fmtmsg.c (init): Add missing unlock.
12827 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12829 2012-01-12 Marek Polacek <polacek@redhat.com>
12831 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12834 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12836 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12837 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12838 macro to ensure uniqueness of label name.
12839 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12840 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12842 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12844 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12846 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12847 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12848 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12851 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12853 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12855 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12856 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12857 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12859 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12861 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12862 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12863 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12864 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12866 * math/bits/math-finite.h: Add ldexp support.
12868 2012-01-10 Marek Polacek <polacek@redhat.com>
12870 * locale/programs/localedef.h (show_archive_content): Add noreturn
12873 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12875 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12877 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12879 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12881 * io/Makefile (headers): Add bits/poll2.h.
12883 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12886 typo #include statement.
12888 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12890 * include/sys/cdefs.h: Define __attribute_alloc_size.
12891 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12892 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12893 * elf/pldd.c: Likewise.
12894 * iconv/iconv_charmap.c: Likewise.
12895 * iconv/iconvconfig.c: Likewise.
12896 * iconv/strtab.c: Likewise.
12897 * locale/programs/locale.c: Likewise.
12898 * locale/programs/localedef.h: Likewise.
12899 * locale/programs/simple-hash.c: Likewise.
12900 * nscd/nscd.h: Likewise.
12901 * nss/makedb.c: Likewise.
12902 * sysdeps/generic/ldconfig.h: Likewise.
12903 * locale/programs/localedef.c: Remove xmalloc prototype.
12904 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12906 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12908 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12911 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12913 * math/Makefile (tests): Add tst-CMPLX.
12914 * math/tst-CMPLX.c: New file.
12916 * math/complex.h (CMPLXL): Fix typo.
12918 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12919 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12921 * debug/tst-chk1.c: Add poll and ppoll tests.
12922 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12923 * include/sys/poll.h: Add hidden proto for ppoll.
12924 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12925 * sysdeps/mach/hurd/ppoll.c: Likewise.
12926 * io/ppoll.c: Likewise.
12927 * debug/poll_chk.c: New file.
12928 * debug/ppoll_chk.c: New file.
12929 * include/bits/poll2.h: New file.
12930 * io/bits/poll2.h: New file.
12933 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12935 * configure.in: static is always set to yes. Remove.
12936 * config.make.in: Don't set build-static.
12937 * Makeconfig: Remove use of build-static.
12938 * dlfcn/Makefile: Likewise.
12939 * elf/Makefile: Likewise.
12940 * math/Makefile: Likewise.
12941 * misc/Makefile: Likewise.
12942 * nptl/Makefile: Likewise.
12943 * sysdeps/mach/hurd/Makefile: Likewise.
12945 * configure.in: PWD_P is not used anymore.
12946 * config.make.in: Remove PWD_P entry.
12948 * configure.in: Remove last remnants of RANLIB.
12949 No need to check for signed size_t anymore.
12950 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12952 Remove __builtin_expect test because we require at least gcc 3.4.
12953 * aclocal.m4: Likewise.
12955 * wcsmbs/mbrtoc16.c: Implement using towc function.
12956 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12957 * wcsmbs/wcsmbsload.c: Likewise.
12958 * iconv/gconv_simple.c: Likewise.
12959 * iconv/gconv_int.h: Likewise.
12960 * iconv/gconv_builtin.h: Likewise.
12961 * iconv/iconv_prog.c: Remove CHAR16 handling.
12963 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12965 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12967 * configure.in: Remove --with-elf and --enable-bounded options.
12968 Dont set base_machine for ia64. More non-ELF conditions removed.
12969 Remove testing and setting of leading underscore information.
12970 * config.make.in (build-bounded): Set to no.
12971 * config.h.in: Remove NO_UNDERSCORES entry.
12972 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12974 * csu/start.c: Remove !NO_UNDERSCORE code.
12975 * locale/localeinfo.h: Likewise.
12976 * sysdeps/generic/machine-gmon.h: Likewise.
12977 * sysdeps/generic/sysdep.h: Likewise.
12978 * sysdeps/i386/sysdep.h: Likewise.
12979 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12980 * sysdeps/mach/sysdep.h: Likewise.
12981 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12982 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12983 * sysdeps/sh/sysdep.h: Likewise.
12984 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12985 * sysdeps/unix/i386/sysdep.S: Likewise.
12986 * sysdeps/unix/sparc/start.c: Likewise.
12987 * sysdeps/unix/sparc/sysdep.S: Likewise.
12988 * sysdeps/unix/sparc/sysdep.h: Likewise.
12989 * sysdeps/unix/start.c: Likewise.
12990 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12991 * sysdeps/x86_64/sysdep.h: Likewise.
12993 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12996 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12998 * argp/argp-fmtstream.h: Use const instead __const.
12999 * argp/argp.h: Likewise.
13000 * assert/assert.h: Likewise.
13001 * bits/fenv.h: Likewise.
13002 * bits/sched.h: Likewise.
13003 * bits/sigset.h: Likewise.
13004 * bits/sigthread.h: Likewise.
13005 * catgets/nl_types.h: Likewise.
13006 * conform/data/pthread.h-data: Likewise.
13007 * crypt/crypt-private.h: Likewise.
13008 * crypt/crypt.h: Likewise.
13009 * crypt/crypt_util.c: Likewise.
13010 * ctype/ctype.h: Likewise.
13011 * debug/execinfo.h: Likewise.
13012 * debug/mbsnrtowcs_chk.c: Likewise.
13013 * debug/mbsrtowcs_chk.c: Likewise.
13014 * debug/wcsnrtombs_chk.c: Likewise.
13015 * debug/wcsrtombs_chk.c: Likewise.
13016 * debug/wcstombs_chk.c: Likewise.
13017 * dirent/dirent.h: Likewise.
13018 * dlfcn/dlfcn.h: Likewise.
13019 * elf/neededtest4.c: Likewise.
13020 * grp/grp.h: Likewise.
13021 * gshadow/gshadow.h: Likewise.
13022 * iconv/gconv.h: Likewise.
13023 * iconv/gconv_int.h: Likewise.
13024 * iconv/gconv_simple.c: Likewise.
13025 * iconv/iconv.h: Likewise.
13026 * iconv/loop.c: Likewise.
13027 * iconv/skeleton.c: Likewise.
13028 * include/aio.h: Likewise.
13029 * include/aliases.h: Likewise.
13030 * include/argz.h: Likewise.
13031 * include/arpa/inet.h: Likewise.
13032 * include/assert.h: Likewise.
13033 * include/dirent.h: Likewise.
13034 * include/dlfcn.h: Likewise.
13035 * include/execinfo.h: Likewise.
13036 * include/fcntl.h: Likewise.
13037 * include/fenv.h: Likewise.
13038 * include/glob.h: Likewise.
13039 * include/grp.h: Likewise.
13040 * include/libintl.h: Likewise.
13041 * include/mntent.h: Likewise.
13042 * include/netdb.h: Likewise.
13043 * include/pwd.h: Likewise.
13044 * include/rpc/netdb.h: Likewise.
13045 * include/sched.h: Likewise.
13046 * include/search.h: Likewise.
13047 * include/shadow.h: Likewise.
13048 * include/signal.h: Likewise.
13049 * include/stdio.h: Likewise.
13050 * include/stdlib.h: Likewise.
13051 * include/string.h: Likewise.
13052 * include/sys/socket.h: Likewise.
13053 * include/sys/stat.h: Likewise.
13054 * include/sys/statfs.h: Likewise.
13055 * include/sys/statvfs.h: Likewise.
13056 * include/sys/syslog.h: Likewise.
13057 * include/sys/time.h: Likewise.
13058 * include/sys/uio.h: Likewise.
13059 * include/time.h: Likewise.
13060 * include/unistd.h: Likewise.
13061 * include/utmp.h: Likewise.
13062 * include/wchar.h: Likewise.
13063 * include/wctype.h: Likewise.
13064 * inet/aliases.h: Likewise.
13065 * inet/arpa/inet.h: Likewise.
13066 * inet/netinet/ether.h: Likewise.
13067 * inet/netinet/in.h: Likewise.
13068 * intl/libintl.h: Likewise.
13069 * io/bits/fcntl2.h: Likewise.
13070 * io/fcntl.h: Likewise.
13071 * io/ftw.h: Likewise.
13072 * io/sys/poll.h: Likewise.
13073 * io/sys/stat.h: Likewise.
13074 * io/sys/statfs.h: Likewise.
13075 * io/sys/statvfs.h: Likewise.
13076 * io/utime.h: Likewise.
13077 * libio/bits/stdio.h: Likewise.
13078 * libio/bits/stdio2.h: Likewise.
13079 * libio/libio.h: Likewise.
13080 * libio/libioP.h: Likewise.
13081 * libio/stdio.h: Likewise.
13082 * locale/lc-ctype.c: Likewise.
13083 * locale/locale.h: Likewise.
13084 * login/utmp.h: Likewise.
13085 * malloc/arena.c: Likewise.
13086 * malloc/malloc.c: Likewise.
13087 * malloc/malloc.h: Likewise.
13088 * malloc/mcheck.c: Likewise.
13089 * malloc/mtrace.c: Likewise.
13090 * math/bits/mathcalls.h: Likewise.
13091 * math/fenv.h: Likewise.
13092 * math/math_private.h: Likewise.
13093 * misc/bits/error.h: Likewise.
13094 * misc/bits/syslog.h: Likewise.
13095 * misc/err.h: Likewise.
13096 * misc/error.h: Likewise.
13097 * misc/fstab.h: Likewise.
13098 * misc/mntent.h: Likewise.
13099 * misc/regexp.h: Likewise.
13100 * misc/search.h: Likewise.
13101 * misc/sgtty.h: Likewise.
13102 * misc/sys/mman.h: Likewise.
13103 * misc/sys/syslog.h: Likewise.
13104 * misc/sys/uio.h: Likewise.
13105 * misc/sys/xattr.h: Likewise.
13106 * misc/ttyent.h: Likewise.
13107 * nis/rpcsvc/ypclnt.h: Likewise.
13108 * nss/nss.h: Likewise.
13109 * posix/bits/unistd.h: Likewise.
13110 * posix/fnmatch.h: Likewise.
13111 * posix/glob.h: Likewise.
13112 * posix/sched.h: Likewise.
13113 * posix/spawn.h: Likewise.
13114 * posix/sys/wait.h: Likewise.
13115 * posix/unistd.h: Likewise.
13116 * posix/wordexp.h: Likewise.
13117 * pwd/pwd.h: Likewise.
13118 * resolv/netdb.h: Likewise.
13119 * resource/sys/resource.h: Likewise.
13120 * rt/aio.h: Likewise.
13121 * rt/bits/mqueue2.h: Likewise.
13122 * rt/mqueue.h: Likewise.
13123 * shadow/shadow.h: Likewise.
13124 * signal/signal.h: Likewise.
13125 * socket/send.c: Likewise.
13126 * socket/sendto.c: Likewise.
13127 * socket/sys/socket.h: Likewise.
13128 * stdio-common/printf.h: Likewise.
13129 * stdlib/bits/stdlib.h: Likewise.
13130 * stdlib/fmtmsg.h: Likewise.
13131 * stdlib/monetary.h: Likewise.
13132 * stdlib/stdlib.h: Likewise.
13133 * stdlib/ucontext.h: Likewise.
13134 * streams/stropts.h: Likewise.
13135 * string/argz.h: Likewise.
13136 * string/bits/string2.h: Likewise.
13137 * string/string.h: Likewise.
13138 * string/strings.h: Likewise.
13139 * sunrpc/rpc/auth.h: Likewise.
13140 * sunrpc/rpc/auth_des.h: Likewise.
13141 * sunrpc/rpc/clnt.h: Likewise.
13142 * sunrpc/rpc/netdb.h: Likewise.
13143 * sunrpc/rpc/pmap_clnt.h: Likewise.
13144 * sunrpc/rpc/xdr.h: Likewise.
13145 * sysdeps/generic/inttypes.h: Likewise.
13146 * sysdeps/generic/net/if.h: Likewise.
13147 * sysdeps/generic/sys/swap.h: Likewise.
13148 * sysdeps/gnu/net/if.h: Likewise.
13149 * sysdeps/gnu/utmpx.h: Likewise.
13150 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13151 * sysdeps/i386/i486/bits/string.h: Likewise.
13152 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13153 * sysdeps/s390/bits/string.h: Likewise.
13154 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13155 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13156 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13157 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13158 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13159 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13160 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13161 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13162 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13163 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13164 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13165 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13166 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13167 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13168 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13169 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13170 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13172 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13173 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13174 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13175 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13176 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13177 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13178 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13179 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13180 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13181 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13182 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13183 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13184 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13185 * sysvipc/sys/ipc.h: Likewise.
13186 * sysvipc/sys/msg.h: Likewise.
13187 * sysvipc/sys/sem.h: Likewise.
13188 * sysvipc/sys/shm.h: Likewise.
13189 * termios/termios.h: Likewise.
13190 * time/sys/time.h: Likewise.
13191 * time/time.h: Likewise.
13192 * wcsmbs/bits/wchar2.h: Likewise.
13193 * wcsmbs/uchar.h: Likewise.
13194 * wcsmbs/wchar.h: Likewise.
13195 * wctype/wctype.h: Likewise.
13198 * Makeconfig: Remove all but ELF support including AIX support.
13199 * Makerules: Likewise.
13200 * config.h.in: Likewise.
13201 * config.make.in: Likewise.
13202 * configure: Likewise.
13203 * configure.in: Likewise.
13204 * csu/Makefile: Likewise.
13205 * csu/version.c: Likewise.
13206 * debug/Makefile: Likewise.
13207 * dlfcn/Makefile: Likewise.
13208 * elf/Makefile: Likewise.
13209 * extra-lib.mk: Likewise.
13210 * iconv/Makefile: Likewise.
13211 * include/libc-symbols.h: Likewise.
13212 * include/shlib-compat.h: Likewise.
13213 * resolv/Makefile: Likewise.
13214 * resolv/res_libc.c: Likewise.
13215 * rt/Makefile: Likewise.
13216 * sysdeps/i386/asm-syntax.h: Likewise.
13217 * sysdeps/i386/sysdep.h: Likewise.
13218 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13219 * sysdeps/mach/sysdep.h: Likewise.
13220 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13221 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13222 * sysdeps/s390/asm-syntax.h: Likewise.
13223 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13224 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13225 * sysdeps/sh/sysdep.h: Likewise.
13226 * sysdeps/unix/sparc/sysdep.h: Likewise.
13227 * sysdeps/wordsize-32/divdi3.c: Likewise.
13228 * sysdeps/x86_64/sysdep.h: Likewise.
13230 * argp/Versions: Remove _argp_unlock_xxx.
13233 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13234 * abilist/libBrokenLocale.abilist: Likewise.
13235 * abilist/libanl.abilist: Likewise.
13236 * abilist/libc.abilist: Likewise.
13237 * abilist/libcrypt.abilist: Likewise.
13238 * abilist/libdl.abilist: Likewise.
13239 * abilist/libm.abilist: Likewise.
13240 * abilist/libnsl.abilist: Likewise.
13241 * abilist/libpthread.abilist: Likewise.
13242 * abilist/libresolv.abilist: Likewise.
13243 * abilist/librt.abilist: Likewise.
13244 * abilist/libthread_db.abilist: Likewise.
13245 * abilist/libutil.abilist: Likewise.
13246 * abilist/libnss_db.abilist: New file.
13248 * scripts/abilist.awk: Add support for indirect functions.
13250 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13252 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13254 * shlib-versions: Remove entries for ports architectures.
13256 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13258 * elf/stackguard-macros.h: Remove support for IA-64.
13259 * elf/tst-auditmod1.c: Likewise.
13260 * sysdeps/generic/ldsodefs.h: Likewise.
13262 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13263 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13267 * configure.in: Remove --enable-omitfp support.
13269 * config.make.in: Likewise.
13270 * Makeconfig: Likewise.
13271 * manual/install.texi: Likewise.
13273 In case anyone cares, the IA-64 architecture could move to ports.
13274 * sysdeps/ia64/*: Removed.
13275 * sysdeps/unix/sysv/linux/ia64/*: Removed.
13276 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
13279 * configure.in: Remove entries for unsupported architectures.
13282 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13283 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13285 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13286 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13287 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13288 fall back to using wcrtomb.
13289 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13290 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13292 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13293 * wcsmbs/tst-c16c32-1.c: New file.
13295 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13298 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13300 * elf/tst-unique3.cc: Add explicit declaration of gets.
13301 * elf/tst-unique3lib.cc: Likewise.
13302 * elf/tst-unique3lib2.cc: Likewise.
13303 * elf/tst-unique4.cc: Likewise.
13305 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13307 2012-01-06 Joseph Myers <joseph@codesourcery.com>
13310 * assert/assert.h (static_assert): Don't define for C++.
13311 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13312 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13314 2012-01-03 Ulrich Drepper <drepper@gmail.com>
13316 * iconv/loop.c (single loop): Fix assertion in storing of
13319 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13321 2012-01-01 Ulrich Drepper <drepper@gmail.com>
13323 * posix/getconf.c: Update copyright year.
13324 * nss/getent.c: Likewise.
13325 * nss/makedb.c: Likewise.
13326 * iconv/iconvconfig.c: Likewise.
13327 * iconv/iconv_prog.c: Likewise.
13328 * elf/ldconfig.c: Likewise.
13329 * elf/pldd.c: Likewise.
13330 * elf/sotruss.ksh: Likewise.
13331 * catgets/gencat.c: Likewise.
13332 * csu/version.c: Likewise.
13333 * elf/ldd.bash.in: Likewise.
13334 * elf/sprof.c (print_version): Likewise.
13335 * locale/programs/locale.c: Likewise.
13336 * locale/programs/localedef.c: Likewise.
13337 * login/programs/pt_chown.c: Likewise.
13338 * nscd/nscd.c (print_version): Likewise.
13339 * debug/xtrace.sh: Likewise.
13340 * malloc/memusage.sh: Likewise.
13341 * malloc/mtrace.pl: Likewise.
13342 * debug/catchsegv.sh: Likewise.
13344 2011-12-30 Jakub Jelinek <jakub@redhat.com>
13346 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13349 2011-12-24 Ulrich Drepper <drepper@gmail.com>
13352 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13353 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13355 * iconv/gconv_int.h: Likewise.
13356 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13357 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13358 from libc for GLIBC_2.16.
13359 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13360 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13361 * wcsmbs/uchar.h: Really define mbstate_t.
13362 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13363 * wcsmbs/c16rtomb.c: New file.
13364 * wcsmbs/mbrtoc16.c: New file.
13365 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13366 for C/POSIX locale.
13367 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13368 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13370 * wcsmbs/wchar.h: Add missing __restrict.
13372 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13375 * time/Makefile (routines): Add timespec_get.
13376 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13377 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13378 timespec for ISO C11.
13379 * time/timespec_get.c: New file.
13380 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13381 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13384 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13385 * stdlib/stdlib.h: Declare aligned_alloc.
13386 * Versions.def: Add GLIBC_2.16 for libc.
13387 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13390 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13393 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
13397 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13400 * assert/assert.h (static_assert): Define.
13402 * version.h: Update for 2.16 development version.
13405 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13408 * version.h (RELEASE): Bump for 2.15 release.
13409 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13411 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13412 Patch by Marek Polacek <mpolacek@redhat.com>.
13414 * bits/byteswap.h: Protect long long constants with __extension__.
13415 * sysdeps/i386/bits/byteswap.h: Likewise.
13416 * sysdeps/ia64/bits/byteswap.h: Likewise.
13417 * sysdeps/s390/bits/byteswap.h: Likewise.
13418 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13420 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13423 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13424 destination buffer.
13425 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13427 2011-12-23 Marek Polacek <polacek@redhat.com>
13429 * elf/dl-addr.c (determine_info): Add inline keyword.
13430 * elf/tst-auditmod4b.c (check_avx): Likewise.
13431 * elf/tst-auditmod6b.c (check_avx): Likewise.
13432 * elf/tst-auditmod6c.c (check_avx): Likewise.
13433 * elf/tst-auditmod7b.c (check_avx): Likewise.
13435 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13437 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13440 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13443 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13444 processing for last bytes.
13446 2011-08-06 Bruno Haible <bruno@clisp.org>
13449 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13450 U+0385, not to U+1FEE.
13453 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13454 entry for U+00A5 U+0301.
13456 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13459 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13460 buffer for the output is too small.
13462 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13466 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13467 SSE flags if possible.
13469 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13472 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13473 processing for last bytes.
13475 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13477 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13478 (syscall-list-default-options, syscall-list-default-condition)
13479 (syscall-list-includes): Define.
13480 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13481 list of ABIs and options and #if conditions for each ABI. Do not
13482 handle common syscalls between ABIs specially.
13483 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13485 (syscall-list-variants, syscall-list-32bit-options)
13486 (syscall-list-32bit-condition, syscall-list-64bit-options)
13487 (syscall-list-64bit-condition): Define.
13488 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13489 (syscall-list-variants, syscall-list-32bit-options)
13490 (syscall-list-32bit-condition, syscall-list-64bit-options)
13491 (syscall-list-64bit-condition): Define.
13492 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13494 (syscall-list-variants, syscall-list-32bit-options)
13495 (syscall-list-32bit-condition, syscall-list-64bit-options)
13496 (syscall-list-64bit-condition): Define.
13497 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13499 (syscall-list-variants, syscall-list-32bit-options)
13500 (syscall-list-32bit-condition, syscall-list-64bit-options)
13501 (syscall-list-64bit-condition): Define.
13503 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13505 * locale/iso-639.def: Add brx entry.
13508 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13509 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13511 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13512 __feraiseexcept_renamed.
13514 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13517 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13518 EPOLLET with unsigned values.
13519 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13520 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13522 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13523 to large cancellation.
13524 * math/s_cacoshf.c: Likewise.
13525 * math/s_cacoshl.c: Likewise.
13527 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13531 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13532 * math/s_cacoshf.c: Likewise.
13533 * math/s_cacoshl.c: Likewise.
13535 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13538 * iconv/gconv.h: Define __GCONV_SWAP.
13539 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13540 * iconvdata/utf-16.c: Likewise.
13541 * iconvdata/utf-32.c: Likewise.
13543 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13546 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13547 numerator after shifting it by one limb.
13549 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13551 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13552 under [__USE_EXTERN_INLINES].
13554 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13557 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13559 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13561 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13562 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13564 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13565 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13566 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13567 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13568 for strncasecmp/strncasecmp_l compilation.
13569 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13570 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13572 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13575 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13578 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13581 * time/tzfile.c (__tzfile_read): Check values from file header.
13583 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13585 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13586 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13587 * powerpc/powerpc32/dl-start.S: Likewise.
13588 * powerpc/powerpc32/elf/start.S: Likewise.
13589 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13590 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13591 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13592 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13593 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13594 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13595 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13596 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13597 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13598 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13599 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13600 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13601 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13602 * powerpc/powerpc32/memset.S: Likewise.
13603 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13604 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13605 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13606 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13607 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13608 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13609 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13610 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13611 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13612 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13613 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13614 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13615 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13617 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13619 * math/libm-test.inc: Added more nearbyint tests.
13620 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13621 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13622 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13623 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13625 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13627 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13630 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13632 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13633 Add wcscpy-ssse3 wcscpy-c.
13634 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13635 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13636 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13637 * sysdeps/x86_64/wcschr.S: New file.
13638 * sysdeps/x86_64/wcsrchr.S: New file.
13639 * string/test-strcmp.c: Remove checking of wcscmp function for
13641 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13642 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13643 wcsrchr-sse2 wcsrchr-c.
13644 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13645 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13646 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13647 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13648 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13649 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13650 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13651 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13652 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13653 * wcsmbc/wcschr.c (WCSCHR): New macro.
13655 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13657 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13658 * wcsmbs/test-wcsrchr.c: New file.
13659 * string/test-strrchr.c: Add wcsrchr support.
13661 * wcsmbs/test-wcscpy.c: New file.
13662 * string/test-strcpy.c: Add wcscpy support.
13665 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13667 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13670 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13673 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13675 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13677 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13678 Minor optimizations.
13680 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13681 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13682 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13684 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13686 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13687 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13688 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13689 for gcc to avoid warnings.
13690 * inet/Makefile (tests): Add tst-checks.
13691 * inet/tst-checks.c: New file.
13693 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13696 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13699 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13700 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13702 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13704 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13706 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13709 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13711 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13713 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13714 conditional on GCC version.
13715 (__arch_compare_and_exchange_val_8_acq)
13716 (__arch_compare_and_exchange_val_16_acq)
13717 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13718 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13719 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13721 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13723 * sysdeps/sh/backtrace.c: New file.
13725 2011-12-02 Andreas Schwab <schwab@redhat.com>
13727 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13730 2011-12-01 Andreas Schwab <schwab@redhat.com>
13732 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13733 falling back to utime.
13735 2011-11-30 Andreas Schwab <schwab@redhat.com>
13737 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13738 expectations for float.
13740 2011-11-29 Andreas Schwab <schwab@redhat.com>
13742 * locale/weight.h (findidx): Add parameter len.
13743 * locale/weightwc.h (findidx): Likewise.
13744 * posix/fnmatch_loop.c (FCT): Adjust caller.
13745 * posix/regcomp.c (build_equiv_class): Likewise.
13746 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13747 * posix/regexec.c (check_node_accept_bytes): Likewise.
13748 * string/strcoll_l.c (STRCOLL): Likewise.
13749 * string/strxfrm_l.c (STRXFRM): Likewise.
13751 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13753 * Makefile.in: Remove CVSOPT handling.
13754 * configure.in: Remove use of AC_REVISION.
13755 * iconvdata/Makefile (distribute): No need to filter out CVS.
13756 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13759 2011-11-16 Andreas Schwab <schwab@redhat.com>
13761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13762 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13763 [USE_AS_STRNCASECMP_L]: Likewise.
13764 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13765 NO_TLS_DIRECT_SEG_REFS.
13766 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13767 Fix argument offsets for non-PIC.
13768 [USE_AS_STRNCASECMP_L]: Likewise.
13769 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13770 NO_TLS_DIRECT_SEG_REFS.
13772 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13774 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13776 * locale/loadlocale.c (_nl_load_locale): Likewise.
13778 2011-11-15 Andreas Schwab <schwab@redhat.com>
13780 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13781 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13782 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13783 (SYSCALL_GETTIME): Set errno on error.
13785 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13786 count references to noai6ai_cached.
13788 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13790 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13792 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13793 FD_CLOEXEC for /proc/self/maps.
13795 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13796 FD_CLOEXEC for /proc/meminfo.
13798 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13801 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13802 FD_CLOEXEC for given file.
13804 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13806 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13807 FD_CLOEXEC for /etc/hosts.
13808 (_gethtent): Likewise.
13810 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13812 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13813 cancellation and set FD_CLOEXEC for /etc/netgroup.
13815 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13816 reading /etc/publickey.
13818 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13819 allow cancellation when reading /etc/group.
13821 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13823 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13825 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13826 when using data file.
13828 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13830 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13831 (write_nis_obj): Use "c" and "e" in fopen.
13833 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13835 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13837 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13839 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13841 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13844 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13846 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13848 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13850 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13851 file parsing and set FD_CLOEXEC.
13853 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13855 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13857 2011-11-14 Andreas Schwab <schwab@redhat.com>
13859 * malloc/arena.c (arena_get2): Don't call reused_arena when
13860 _int_new_arena failed.
13862 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13864 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13865 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13866 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13867 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13868 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13870 to compile strcasecmp and strncasecmp.
13871 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13872 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13874 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13876 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13878 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13879 locale-defines.sym to gen-as-const-headers.
13880 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13881 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13883 to compile strcasecmp and strncasecmp.
13884 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13885 strcasecmp_l and strncasecmp_l.
13886 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13887 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13888 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13889 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13890 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13891 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13892 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13893 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13894 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13895 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13896 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13898 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13900 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13901 result of SYSDEP_GETTIME_CPU to retval.
13902 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13903 parameter list to macro. Remove trailing semicolon. Adjust users.
13905 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13908 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13910 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13912 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13913 from unused variable.
13915 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13917 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13920 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13923 * sunrpc/rpc_prot.c (rejected): Fix case value.
13925 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13926 unsigned long long int to avoid warnings in shift.
13928 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13930 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13933 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13934 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13935 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13937 * nis/nis_table.c (nis_list): Use variable of correct type for
13938 result of __follow_path call.
13940 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13942 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13943 of math functions ceil, trunc, floor, round, and sqrt, when
13944 avaliable on the platform.
13945 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13947 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13948 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13949 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13951 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13953 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13954 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13956 2011-11-11 Roland McGrath <roland@hack.frob.com>
13958 * include/unistd.h: Fix __readlink return type.
13959 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13961 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13963 * stdlib/ucontext.h: Undo last change for makecontext.
13965 2011-11-11 Andreas Schwab <schwab@redhat.com>
13967 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13969 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13970 * setjmp/setjmp.h: Mark functions as non-leaf.
13971 * setjmp/bits/setjmp2.h: Likewise.
13972 * stdlib/ucontext.h: Likewise.
13974 2011-11-10 Andreas Schwab <schwab@redhat.com>
13976 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13977 (reused_arena): Don't check arena limit.
13978 (arena_get2): Atomically check arena limit.
13980 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13982 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13983 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13988 2011-11-07 Andreas Schwab <schwab@redhat.com>
13990 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13991 handler when locking.
13993 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13994 Fix size of allocated buffer.
13996 2011-11-04 Andreas Schwab <schwab@redhat.com>
13999 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14000 declarations for long double functions.
14001 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14003 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14005 2011-11-03 Andreas Schwab <schwab@redhat.com>
14007 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14010 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14013 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14015 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14017 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14019 * include/alloca.h (stackinfo_alloca_round): Define.
14020 (extend_alloca): Use it.
14021 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14022 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14025 * scripts/check-local-headers.sh: Ignore libaudit.h.
14027 * nscd/Makefile (extra-objs): Make recursively expanded.
14029 2011-11-01 Ulrich Drepper <drepper@gmail.com>
14031 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14032 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14034 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14035 * posix/tst-rfc3484-2.c: Likewise.
14036 * posix/tst-rfc3484-3.c: Likewise.
14038 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14040 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14042 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14043 process_vm_writev from libc using GLIBC_2.15 version.
14045 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14047 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14049 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14052 2011-10-31 Ulrich Drepper <drepper@gmail.com>
14055 * nss/getent.c (initgroups_keys): Show error message in case no group
14058 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14059 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14060 __bump_nl_timestamp.
14061 * nscd/connections (nscd_init): When host database is served open
14062 netlink socket and request notification about configuration changes.
14063 (main_loop_poll): Track netlink file descriptor and bump timestamp
14064 in case data becomes available.
14065 (main_loop_epoll): Likewise.
14066 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14067 (database_pers_head): Add extra_data fileds.
14068 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14069 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14070 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14072 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14073 in6ai data, call __free_in6ai.
14074 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14075 Add -DHAVE_NETLINK.
14076 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14077 interface information. Reuse previous data if netlink timestamp
14079 (__bump_nl_timestamp): New function.
14080 (__free_in6ai): New function.
14082 2011-10-30 Ulrich Drepper <drepper@gmail.com>
14084 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14085 close_not_cancel_no_status here.
14086 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14088 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14091 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14094 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
14095 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14096 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14098 2011-07-03 Andreas Jaeger <aj@suse.de>
14101 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14102 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14103 * math/libm-test.inc (sin_test): Add test case.
14105 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14108 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14109 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14111 * elf/chroot_canon.c (chroot_canon): Cleanups.
14113 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14116 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14117 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14119 * string/test-strchr.c: Make usable for strchrnul testing.
14120 * string/test-strchrnul.c: New file.
14121 * string/Makefile (strop-tests): Add strchrnul.
14123 * po/it.po: Update from translation team.
14124 * po/es.po: Likewise.
14126 2011-10-28 Ulrich Drepper <drepper@gmail.com>
14128 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14129 the three constants needed as parameters. Drop the others.
14130 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14131 __m128i_strloadu_tolower.
14132 Create and initialize variable zero and use it in all the places
14133 where _mm_setzero_si128 was used.
14135 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14136 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14137 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14138 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14140 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14141 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14142 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14143 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14144 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14145 __mpranred, __mptan.
14146 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14147 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14148 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14149 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14150 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14151 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14152 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14153 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14154 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14156 2011-10-28 Andreas Schwab <schwab@redhat.com>
14158 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14159 redefine if SHARED.
14160 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14163 wide char related routines to wcsmbs subdir.
14165 2011-10-27 Andreas Schwab <schwab@redhat.com>
14168 * misc/sys/cdefs.h (__THROWNL): Define.
14169 * posix/unistd.h: Use __THREADNL instead of __THREAD
14170 for memory synchronization functions.
14172 2011-10-26 Roland McGrath <roland@hack.frob.com>
14175 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14177 * manual/stdio.texi (Obstack Streams): Node removed.
14179 2011-10-26 Andreas Schwab <schwab@redhat.com>
14181 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14182 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14183 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14185 * math/math_private.h (math_force_eval): Allow non-addressable
14187 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14189 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14191 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14192 file is not needed.
14194 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14195 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14196 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14197 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14198 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14199 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14200 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14201 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14203 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14204 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14205 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14206 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14207 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14208 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14209 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14210 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14211 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14212 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14213 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14214 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14215 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14216 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14217 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14218 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14219 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14220 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14221 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14223 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14224 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14226 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14227 place. Use VEX encoding when compiling for AVX.
14229 2011-10-25 Andreas Schwab <schwab@redhat.com>
14231 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14232 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14234 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14236 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14238 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
14239 useless if() expression.
14240 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14241 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14242 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14243 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14244 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14245 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14246 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14247 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14248 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14249 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14250 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14251 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14252 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14253 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14254 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14255 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14256 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14257 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14258 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14260 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14262 2011-10-25 Andreas Schwab <schwab@redhat.com>
14264 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14266 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14268 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14270 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14271 .text section. Avoid duplicate constants.
14272 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14273 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14274 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14276 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14277 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14278 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14279 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14280 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14281 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14282 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14283 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14284 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14285 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14286 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14287 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14288 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14289 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14290 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14291 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14292 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14293 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14294 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14295 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14296 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14297 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14298 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14299 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14300 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14301 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14302 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14303 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14304 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14305 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14306 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14307 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14308 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14309 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14310 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14311 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14312 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14313 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14314 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14315 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14316 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14318 2011-10-24 Ulrich Drepper <drepper@gmail.com>
14320 * sysdeps/x86_64/dla.h: Move to ...
14321 * sysdeps/x86_64/fpu/dla.h: ...here.
14322 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14323 situations. Use __builtin_fma only for gcc 4.6 and up.
14325 * config.make.in: Add have-mfma4 entry.
14326 * configure.in: Substitute libc_cv_cc_fma4.
14327 * math/Makefile (dbl-only-routines): Add sincostab.
14328 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14329 Use __sincostab not sincos.
14330 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14335 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14337 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14338 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14339 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14340 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14342 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14343 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14345 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14346 define aliases when function name is a macro.
14347 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14348 sysdeps/ieee754/dbl-64/sincos.tbl.
14349 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14350 fma4-enabled routines.
14351 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14352 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14353 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14354 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14355 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14356 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14357 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14358 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14359 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14360 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14361 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14362 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14363 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14364 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14365 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14366 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14367 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14368 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14369 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14370 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14371 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14372 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14373 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14374 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14375 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14376 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14377 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14378 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14379 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14380 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14382 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14384 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14385 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14389 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14390 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14391 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14393 2011-10-24 Andreas Schwab <schwab@redhat.com>
14395 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14397 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14399 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14401 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14403 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14405 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14406 Remove unused variable magic_bits.
14407 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14409 * string/strnlen.c: Define and use STRNLEN macro.
14410 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14411 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14412 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14413 * wcsmbs/wcslen.c: Define and use WCSLEN.
14414 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14415 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14416 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14417 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14418 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14419 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14420 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14422 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14425 strnlen-sse2-no-bsf.
14426 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14427 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14428 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14429 Add strnlen support.
14430 (USE_AS_STRNLEN): New macro.
14431 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14432 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14433 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14434 * sysdeps/x86_64/wcslen.S: New file.
14436 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14438 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14439 XMM-moves are used for copying on small sizes.
14441 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14443 * wcsmbs/Makefile (strop-tests): Add wcschr.
14444 * wcsmbs/test-wcschr.c: New file.
14445 * string/test-strchr.c: Update.
14446 Add wcschr support.
14449 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14451 * wcsmbs/Makefile (strop-tests): Add wcslen.
14452 * wcsmbs/test-wcslen.c: New file.
14453 * string/test-strlen.c: Update.
14454 Add wcslen support.
14457 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14459 * po/it.po: Update from translation team.
14461 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14463 * sysdeps/x86_64/wcscmp.S: Update.
14464 Fix wrong comparison semantics.
14465 wcscmp shall use signed comparison not unsigned.
14466 Don't use substraction to avoid overflow bug.
14467 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14468 * wcsmbc/wcscmp.c: Likewise.
14469 * string/test-strcmp.c: Likewise.
14470 Add new tests to check cases with negative values.
14472 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14474 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14475 * sysdeps/x86_64/dla.h: ...here. New file.
14476 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14477 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14478 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14479 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14480 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14481 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14482 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14483 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14484 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14486 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14488 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14489 __ynl_finite aliases.
14491 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14495 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14497 [DLA_FMA] (EMULV): Use DLA_FMA.
14498 [DLA_FMA] (MUL12): Use EMULV.
14499 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14500 that are not needed.
14501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14504 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14505 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14507 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14509 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14511 * math/s_nan.c: Undef __nan.
14512 * math/s_nanf.c: Undef __nanf.
14513 * math/s_nanl.c: Undef __nanl.
14514 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14517 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14519 * math/s_catan.c: Add branch predictions.
14520 * math/s_catanf.c: Likewise.
14521 * math/s_catanh.c: Likewise.
14522 * math/s_catanhf.c: Likewise.
14523 * math/s_catanhl.c: Likewise.
14524 * math/s_catanl.c: Likewise.
14525 * math/s_cexp.c: Likewise.
14526 * math/s_cexpf.c: Likewise.
14527 * math/s_cexpl.c: Likewise.
14528 * math/s_clog.c: Likewise.
14529 * math/s_clog10.c: Likewise.
14530 * math/s_clog10f.c: Likewise.
14531 * math/s_clog10l.c: Likewise.
14532 * math/s_clogf.c: Likewise.
14533 * math/s_clogl.c: Likewise.
14534 * math/s_csqrt.c: Likewise.
14535 * math/s_csqrtf.c: Likewise.
14536 * math/s_csqrtl.c: Likewise.
14537 * math/s_ctanf.c: Likewise.
14538 * math/s_ctanh.c: Likewise.
14539 * math/s_ctanhf.c: Likewise.
14540 * math/s_ctanhl.c: Likewise.
14541 * math/s_ctanl.c: Likewise.
14543 * math/math_private.h: Define __nan, __nanf, __nanl.
14544 * math/s_cacosh.c: Include <math_private.h>.
14545 * math/s_cacoshl.c: Likewise.
14546 * math/s_casinh.c: Likewise.
14547 * math/s_casinhf.c: Likewise.
14548 * math/s_casinhl.c: Likewise.
14549 * math/s_ccos.c: Rely entire on ccosh.
14550 * math/s_ccosf.c: Rely entire on ccoshf.
14551 * math/s_ccosl.c: Rely entirely on ccoshl.
14552 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14553 Remove tests for FE_INVALID.
14554 * math/s_ccoshf.c: Likewise.
14555 * math/s_ccoshl.c: Likewise.
14556 * math/s_csin.c: Likewise.
14557 * math/s_csinf.c: Likewise.
14558 * math/s_csinh.c Likewise.
14559 * math/s_csinhf.c: Likewise.
14560 * math/s_csinhl.c: Likewise.
14561 * math/s_csinl.c: Likewise.
14562 * math/s_ctan.c: Likewise.
14563 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14564 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14565 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14567 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14570 compilation problems.
14572 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14575 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14577 * sysdeps/i386/configure.in: Test for -mfma4 option.
14578 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14579 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14580 COMMON_CPUID_INDEX_80000001.
14581 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14582 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14583 use it if FMA3 is not supported.
14584 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14586 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14587 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14589 2011-10-20 Andreas Schwab <schwab@redhat.com>
14592 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14593 it would create a cycle with a link time dependency.
14595 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14597 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14599 * string/Makefile (strop-tests): Add rawmemchr.
14600 * string/test-rawmemchr.c: New file.
14602 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14603 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14604 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14605 when compiling str{,n}casecmp and when AVX is available. Hook up
14606 new optimized code in initializers.
14608 2011-10-19 Andreas Schwab <schwab@redhat.com>
14610 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14611 __feraiseexcept instead of feraiseexcept.
14613 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14615 * math/math_private.h: Define defaults for libc_fetestexcept and
14617 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14618 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14619 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14620 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14621 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14622 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14623 libc_fetestexcept and libc_feupdateenv.
14625 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14626 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14627 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14628 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14629 libc_feholdexcept_setround.
14631 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14632 Add s_nearbyint-c and s_nearbyintf-c.
14633 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14634 nearbyintf inlines.
14635 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14636 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14637 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14638 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14640 * math/math_private.h: Define defaults for libc_fegetround,
14641 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14642 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14643 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14644 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14645 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14646 standard functions.
14647 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14648 Remove comments and hacks for old compiler versions.
14649 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14650 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14651 libc_feholdexceptl.
14653 2011-10-18 Andreas Schwab <schwab@redhat.com>
14655 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14656 (__feraiseexcept_renamed): Add __NTH.
14657 (feraiseexcept): Add __NTH. Rename local variables to fix
14658 namespace violations.
14660 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14662 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14664 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14666 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14667 recently added interfaces.
14668 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14670 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14671 about macro parameter expansion.
14673 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14674 __NO_MATH_INLINES is defined. Cleanups.
14676 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14677 and __floorf is target has SSE4.1.
14678 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14679 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14680 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14681 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14683 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14685 (floorf): Likewise.
14687 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14689 2011-10-17 Andreas Schwab <schwab@redhat.com>
14691 * misc/sys/cdefs.h: Fix last change.
14693 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14696 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14698 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14700 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14701 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14704 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14705 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14706 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14707 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14708 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14709 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14710 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14711 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14712 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14713 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14714 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14715 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14716 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14717 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14718 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14719 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14720 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14721 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14723 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14724 ceil, ceilf, floor, floorf.
14726 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14727 Perform IRELATIVE relocations last.
14729 * elf/do-rel.h: Add another parameter nrelative, replacing the
14730 local variable with the same name. Change name of the function
14731 to end in Rel or Rela (uppercase).
14732 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14733 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14734 elf_dynamic_do_##reloc function.
14736 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14738 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14739 is sufficient, at least on modern CPUs.
14741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14743 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14744 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14746 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14748 * math/bits/math-finite.h: Add entries for exp.
14749 * math/e_expl.c: Add __*_finite alias.
14750 * sysdeps/i386/fpu/e_exp.S: Likewise.
14751 * sysdeps/i386/fpu/e_expf.S: Likewise.
14752 * sysdeps/i386/fpu/e_expl.c: Likewise.
14753 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14754 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14755 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14756 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14757 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14758 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14759 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14761 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14762 is sufficient, at least on modern CPUs.
14764 * ctype/ctype-info.c (__ctype_init): Define.
14765 * include/ctype.h (__ctype_init): Declare.
14766 (__ctype_b_loc): The variable is always initialized.
14767 (__ctype_toupper_loc): Likewise.
14768 (__ctype_tolower_loc): Likewise.
14769 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14770 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14772 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14774 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14776 * configure.in: Also look in $cxxmachine/include for C++ system
14779 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14781 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14782 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14783 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14784 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14785 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14786 (USE_AS_WMEMCMP): New macro.
14788 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14789 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14790 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14791 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14792 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14793 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14794 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14795 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14796 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14797 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14798 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14799 (USE_AS_WMEMCMP): New macro.
14800 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14801 * sysdeps/string/test-memcmp.c: Update.
14802 Fix simple_wmemcmp.
14804 * wcsmbs/wmemcmp.c: Update.
14805 (WMEMCMP): New macro.
14808 2011-10-12 Andreas Jaeger <aj@suse.de>
14811 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14813 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14815 * libio/iofwide.c (do_length): Avoid warning.
14817 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14819 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14821 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14823 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14824 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14825 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14826 * sysdeps/i386/i686/fpu/e_log.S: New file.
14827 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14828 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14830 * ctype/ctype.h: Add support for inlined isXXX functions when
14831 compiling C++ code.
14833 2011-10-14 Andreas Schwab <schwab@redhat.com>
14835 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14837 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14839 2011-10-13 Roland McGrath <roland@hack.frob.com>
14842 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14844 2011-10-13 Andreas Schwab <schwab@redhat.com>
14846 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14847 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14850 * sysdeps/x86_64/memrchr.S: Check for zero size.
14852 * string/stratcliff.c: Add memrchr tests.
14854 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14857 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14858 rawmemchr-sse2 rawmemchr-sse2-bsf.
14859 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14860 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14861 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14862 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14863 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14864 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14865 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14866 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14867 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14868 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14869 * string/memrchr.c (MEMRCHR): New macro.
14871 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14873 Add integration with gcc's -ffinite-math-only and optimize wrapper
14875 * Versions.def: Define GLIBC_2.15 version for libm.
14876 * math/Makefile (headers): Add bits/math-finite.h.
14877 * math/bits/math-finite.h: New file.
14878 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14879 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14880 * math/e_acoshl.c: Add __*_finite alias.
14881 * math/e_acosl.c: Likewise.
14882 * math/e_asinl.c: Likewise.
14883 * math/e_atan2l.c: Likewise.
14884 * math/e_atanhl.c: Likewise.
14885 * math/e_coshl.c: Likewise.
14886 * math/e_exp10.c: Likewise.
14887 * math/e_exp10f.c: Likewise.
14888 * math/e_exp10l.c: Likewise.
14889 * math/e_exp2l.c: Likewise.
14890 * math/e_fmodl.c: Likewise.
14891 * math/e_gammal_r.c: Likewise.
14892 * math/e_hypotl.c: Likewise.
14893 * math/e_j0l.c: Likewise.
14894 * math/e_j1l.c: Likewise.
14895 * math/e_jnl.c: Likewise.
14896 * math/e_lgammal_r.c: Likewise.
14897 * math/e_log10l.c: Likewise.
14898 * math/e_log2l.c: Likewise.
14899 * math/e_logl.c: Likewise.
14900 * math/e_powl.c: Likewise.
14901 * math/e_sinhl.c: Likewise.
14902 * math/e_sqrtl.c: Likewise.
14903 * math/e_scalb.c: Completely rewritten and optimized.
14904 * math/e_scalbf.c: Likewise.
14905 * math/e_scalbl.c: Likewise.
14906 * math/w_acos.c: Likewise.
14907 * math/w_acosf.c: Likewise.
14908 * math/w_acosl.c: Likewise.
14909 * math/w_acosh.c: Likewise.
14910 * math/w_acoshf.c: Likewise.
14911 * math/w_acoshl.c: Likewise.
14912 * math/w_asin.c: Likewise.
14913 * math/w_asinf.c: Likewise.
14914 * math/w_asinl.c: Likewise.
14915 * math/w_atan2.c: Likewise.
14916 * math/w_atan2f.c: Likewise.
14917 * math/w_atan2l.c: Likewise.
14918 * math/w_atanh.c: Likewise.
14919 * math/w_atanhf.c: Likewise.
14920 * math/w_atanhl.c: Likewise.
14921 * math/w_exp10.c: Likewise.
14922 * math/w_exp10f.c: Likewise.
14923 * math/w_exp10l.c: Likewise.
14924 * math/w_fmod.c: Likewise.
14925 * math/w_fmodf.c: Likewise.
14926 * math/w_fmodl.c: Likewise.
14927 * math/w_j0.c: Likewise.
14928 * math/w_j0f.c: Likewise.
14929 * math/w_j0l.c: Likewise.
14930 * math/w_j1.c: Likewise.
14931 * math/w_j1f.c: Likewise.
14932 * math/w_j1l.c: Likewise.
14933 * math/w_jn.c: Likewise.
14934 * math/w_jnf.c: Likewise.
14935 * math/w_log.c: Likewise.
14936 * math/w_logf.c: Likewise.
14937 * math/w_logl.c: Likewise.
14938 * math/w_log10.c: Likewise.
14939 * math/w_log10f.c: Likewise.
14940 * math/w_log10l.c: Likewise.
14941 * math/w_log2.c: Likewise.
14942 * math/w_log2f.c: Likewise.
14943 * math/w_log2l.c: Likewise.
14944 * math/w_pow.c: Likewise.
14945 * math/w_powf.c: Likewise.
14946 * math/w_powl.c: Likewise.
14947 * math/w_remainder.c: Likewise.
14948 * math/w_remainderf.c: Likewise.
14949 * math/w_remainderl.c: Likewise.
14950 * math/w_scalb.c: Likewise.
14951 * math/w_scalbf.c: Likewise.
14952 * math/w_scalbl.c: Likewise.
14953 * math/w_sqrt.c: Likewise.
14954 * math/w_sqrtf.c: Likewise.
14955 * math/w_sqrtl.c: Likewise.
14956 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14957 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14959 * math/math_private.h: Declare __kernel_standard_f.
14960 * math/w_cosh.c: Remove cruft and optimize a bit.
14961 * math/w_coshf.c: Likewise.
14962 * math/w_coshl.c: Likewise.
14963 * math/w_exp2.c: Likewise.
14964 * math/w_exp2f.c: Likewise.
14965 * math/w_exp2l.c: Likewise.
14966 * math/w_hypot.c: Likewise.
14967 * math/w_hypotf.c: Likewise.
14968 * math/w_hypotl.c: Likewise.
14969 * math/w_lgamma.c: Likewise.
14970 * math/w_lgamma_r.c: Likewise.
14971 * math/w_lgammaf.c: Likewise.
14972 * math/w_lgammaf_r.c: Likewise.
14973 * math/w_lgammal.c: Likewise.
14974 * math/w_lgammal_r.c: Likewise.
14975 * math/w_sinh.c: Likewise.
14976 * math/w_sinhf.c: Likewise.
14977 * math/w_sinhl.c: Likewise.
14978 * math/w_tgamma.c: Likewise.
14979 * math/w_tgammaf.c: Likewise.
14980 * math/w_tgammal.c: Likewise.
14981 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14982 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14983 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14984 Minor optimizations. Pretty printing. Remove cruft.
14985 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14986 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14987 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14988 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14989 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14990 * sysdeps/i386/fpu/e_asin.S: Likewise.
14991 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14992 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14993 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14994 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14995 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14996 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14997 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14998 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14999 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15000 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15001 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15002 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15003 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15004 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15005 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15006 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15007 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15008 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15009 * sysdeps/i386/fpu/e_log.S: Likewise.
15010 * sysdeps/i386/fpu/e_log10.S: Likewise.
15011 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15012 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15013 * sysdeps/i386/fpu/e_log2.S: Likewise.
15014 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15015 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15016 * sysdeps/i386/fpu/e_logf.S: Likewise.
15017 * sysdeps/i386/fpu/e_logl.S: Likewise.
15018 * sysdeps/i386/fpu/e_pow.S: Likewise.
15019 * sysdeps/i386/fpu/e_powf.S: Likewise.
15020 * sysdeps/i386/fpu/e_powl.S: Likewise.
15021 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15022 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15023 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15024 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15025 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15026 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15027 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15028 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15029 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15030 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15031 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15032 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15033 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15034 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15035 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15036 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15037 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15038 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15039 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15040 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15041 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15042 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15043 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15044 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15045 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15046 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15047 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15048 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15049 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15050 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15051 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15052 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15053 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15054 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15055 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15056 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15057 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15058 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15059 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15060 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15061 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15062 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15063 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15064 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15065 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15066 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15067 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15068 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15069 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15070 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15071 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15072 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15073 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15074 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15075 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15076 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15077 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15078 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15079 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15080 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15081 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15082 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15083 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15084 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15085 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15086 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15087 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15088 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15089 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15090 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15091 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15093 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15094 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15095 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15096 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15097 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15098 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15099 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15100 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15101 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15102 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15103 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15104 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15105 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15106 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15107 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15108 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15109 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15110 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15111 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15112 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15113 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15114 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15115 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15116 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15117 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15118 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15119 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15120 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15121 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15122 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15123 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15124 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15125 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15126 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15127 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15128 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15129 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15130 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15131 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15132 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15133 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15134 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15135 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15136 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15137 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15138 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15139 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15140 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15141 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15142 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15143 (__isnanf): Likewise.
15144 (__isinf_ns): Likewise.
15145 (__isinf_nsf): Likewise.
15146 (__finite): Likewise.
15147 (__finitef): Likewise.
15148 (__ieee754_sqrt): Define as macro.
15149 (__ieee754_sqrtf): Define as macro.
15150 (__ieee754_sqrtl): Define as macro.
15151 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15153 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15154 __FINITE_MATH_ONLY__ consistent.
15155 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15157 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15159 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15162 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15164 2011-10-09 Ulrich Drepper <drepper@gmail.com>
15166 * po/ja.po: Update from translation team.
15168 2011-10-08 Roland McGrath <roland@hack.frob.com>
15170 * locale/programs/locarchive.c (prepare_address_space): New function.
15171 (create_archive, enlarge_archive, open_archive): Use it.
15173 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15174 inside [SHARED], where it is used.
15176 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15178 * nss/getent.c (netgroup_keys): Remove unused variable.
15179 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15181 2011-10-08 Ulrich Drepper <drepper@gmail.com>
15183 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15184 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15185 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15186 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15187 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15188 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15189 * math/Makefile (libm-calls): Add s_isinf_ns.
15190 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15191 * math/multc3.c: Likewise.
15192 * math/s_casin.c: Likewise.
15193 * math/s_casinf.c: Likewise.
15194 * math/s_casinl.c: Likewise.
15195 * math/s_ccos.c: Likewise.
15196 * math/s_ccosf.c: Likewise.
15197 * math/s_ccosl.c: Likewise.
15198 * math/s_ctan.c: Likewise.
15199 * math/s_ctanf.c: Likewise.
15200 * math/s_ctanh.c: Likewise.
15201 * math/s_ctanhf.c: Likewise.
15202 * math/s_ctanhl.c: Likewise.
15203 * math/s_ctanl.c: Likewise.
15204 * math/w_fmod.c: Likewise.
15205 * math/w_fmodf.c: Likewise.
15206 * math/w_fmodl.c: Likewise.
15207 * math/w_remainder.c: Likewise.
15208 * math/w_remainderf.c: Likewise.
15209 * math/w_remainderl.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15211 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15212 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15213 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15214 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15215 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15216 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15217 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15219 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15221 * stdio-common/printf_fphex.c: Likewise.
15222 * stdio-common/printf_size.c: Likewise.
15224 * math/e_exp10.c: Include math_private.h using <...> not "...".
15225 * math/e_exp10f.c: Likewise.
15226 * math/e_exp10l.c: Likewise.
15227 * math/e_exp2l.c: Likewise.
15228 * math/e_j0l.c: Likewise.
15229 * math/e_j1l.c: Likewise.
15230 * math/e_jnl.c: Likewise.
15231 * math/e_lgammal_r.c: Likewise.
15232 * math/e_rem_pio2l.c: Likewise.
15233 * math/e_scalb.c: Likewise.
15234 * math/e_scalbf.c: Likewise.
15235 * math/e_scalbl.c: Likewise.
15236 * math/k_cosl.c: Likewise.
15237 * math/k_sinl.c: Likewise.
15238 * math/k_tanl.c: Likewise.
15239 * math/s_cacoshf.c: Likewise.
15240 * math/s_catan.c: Likewise.
15241 * math/s_catanf.c: Likewise.
15242 * math/s_catanh.c: Likewise.
15243 * math/s_catanhf.c: Likewise.
15244 * math/s_catanhl.c: Likewise.
15245 * math/s_catanl.c: Likewise.
15246 * math/s_ccosh.c: Likewise.
15247 * math/s_ccoshf.c: Likewise.
15248 * math/s_ccoshl.c: Likewise.
15249 * math/s_cexp.c: Likewise.
15250 * math/s_cexpf.c: Likewise.
15251 * math/s_cexpl.c: Likewise.
15252 * math/s_clog.c: Likewise.
15253 * math/s_clog10.c: Likewise.
15254 * math/s_clog10f.c: Likewise.
15255 * math/s_clog10l.c: Likewise.
15256 * math/s_clogf.c: Likewise.
15257 * math/s_clogl.c: Likewise.
15258 * math/s_csin.c: Likewise.
15259 * math/s_csinf.c: Likewise.
15260 * math/s_csinh.c: Likewise.
15261 * math/s_csinhf.c: Likewise.
15262 * math/s_csinhl.c: Likewise.
15263 * math/s_csinl.c: Likewise.
15264 * math/s_csqrt.c: Likewise.
15265 * math/s_csqrtf.c: Likewise.
15266 * math/s_csqrtl.c: Likewise.
15267 * math/s_ctan.c: Likewise.
15268 * math/s_ctanf.c: Likewise.
15269 * math/s_ctanh.c: Likewise.
15270 * math/s_ctanhf.c: Likewise.
15271 * math/s_ctanhl.c: Likewise.
15272 * math/s_ctanl.c: Likewise.
15273 * math/s_ldexp.c: Likewise.
15274 * math/s_ldexpf.c: Likewise.
15275 * math/s_ldexpl.c: Likewise.
15276 * math/s_significand.c: Likewise.
15277 * math/s_significandf.c: Likewise.
15278 * math/s_significandl.c: Likewise.
15279 * math/w_acos.c: Likewise.
15280 * math/w_acosf.c: Likewise.
15281 * math/w_acosh.c: Likewise.
15282 * math/w_acoshf.c: Likewise.
15283 * math/w_acoshl.c: Likewise.
15284 * math/w_acosl.c: Likewise.
15285 * math/w_asin.c: Likewise.
15286 * math/w_asinf.c: Likewise.
15287 * math/w_asinl.c: Likewise.
15288 * math/w_atan2.c: Likewise.
15289 * math/w_atan2f.c: Likewise.
15290 * math/w_atan2l.c: Likewise.
15291 * math/w_atanh.c: Likewise.
15292 * math/w_atanhf.c: Likewise.
15293 * math/w_atanhl.c: Likewise.
15294 * math/w_cosh.c: Likewise.
15295 * math/w_coshf.c: Likewise.
15296 * math/w_coshl.c: Likewise.
15297 * math/w_dremf.c: Likewise.
15298 * math/w_exp10.c: Likewise.
15299 * math/w_exp10f.c: Likewise.
15300 * math/w_exp10l.c: Likewise.
15301 * math/w_exp2.c: Likewise.
15302 * math/w_exp2f.c: Likewise.
15303 * math/w_fmod.c: Likewise.
15304 * math/w_fmodf.c: Likewise.
15305 * math/w_fmodl.c: Likewise.
15306 * math/w_hypot.c: Likewise.
15307 * math/w_hypotf.c: Likewise.
15308 * math/w_hypotl.c: Likewise.
15309 * math/w_j0.c: Likewise.
15310 * math/w_j0f.c: Likewise.
15311 * math/w_j0l.c: Likewise.
15312 * math/w_j1.c: Likewise.
15313 * math/w_j1f.c: Likewise.
15314 * math/w_j1l.c: Likewise.
15315 * math/w_jn.c: Likewise.
15316 * math/w_jnf.c: Likewise.
15317 * math/w_jnl.c: Likewise.
15318 * math/w_lgamma.c: Likewise.
15319 * math/w_lgamma_r.c: Likewise.
15320 * math/w_lgammaf.c: Likewise.
15321 * math/w_lgammaf_r.c: Likewise.
15322 * math/w_lgammal.c: Likewise.
15323 * math/w_lgammal_r.c: Likewise.
15324 * math/w_log.c: Likewise.
15325 * math/w_log10.c: Likewise.
15326 * math/w_log10f.c: Likewise.
15327 * math/w_log10l.c: Likewise.
15328 * math/w_log2.c: Likewise.
15329 * math/w_log2f.c: Likewise.
15330 * math/w_log2l.c: Likewise.
15331 * math/w_logf.c: Likewise.
15332 * math/w_logl.c: Likewise.
15333 * math/w_pow.c: Likewise.
15334 * math/w_powf.c: Likewise.
15335 * math/w_powl.c: Likewise.
15336 * math/w_remainder.c: Likewise.
15337 * math/w_remainderf.c: Likewise.
15338 * math/w_remainderl.c: Likewise.
15339 * math/w_scalb.c: Likewise.
15340 * math/w_scalbf.c: Likewise.
15341 * math/w_scalbl.c: Likewise.
15342 * math/w_sinh.c: Likewise.
15343 * math/w_sinhf.c: Likewise.
15344 * math/w_sinhl.c: Likewise.
15345 * math/w_sqrt.c: Likewise.
15346 * math/w_sqrtf.c: Likewise.
15347 * math/w_sqrtl.c: Likewise.
15348 * math/w_tgamma.c: Likewise.
15349 * math/w_tgammaf.c: Likewise.
15350 * math/w_tgammal.c: Likewise.
15352 * po/ja.po: Update from translation team.
15354 2011-09-29 Andreas Jaeger <aj@suse.de>
15357 * sunrpc/netname.c (netname2host): Fix logic.
15361 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15363 * math/w_remainder.c (__remainder): Likewise.
15364 * math/w_remainderf.c (__remainderf): Likewise.
15365 * math/libm-test.inc (remainder_test): Add test cases.
15367 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15369 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15372 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15374 * string/test-memcmp.c: Avoid unncessary #defines.
15375 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15377 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15379 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15380 Use new sse2 version for core i3 - i7 as it's faster
15381 than sse42 version.
15382 (bit_Prefer_PMINUB_for_stringop): New.
15383 * sysdeps/x86_64/rawmemchr.S: Update.
15384 Replace with faster SSE2 version.
15385 * sysdeps/x86_64/memrchr.S: New file.
15386 * sysdeps/x86_64/memchr.S: Update.
15387 Replace with faster SSE2 version.
15389 2011-09-12 Marek Polacek <mpolacek@redhat.com>
15391 * elf/dl-load.c (lose): Add cast to avoid warning.
15393 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15395 * po/ca.po: Update from translation team.
15397 * inet/getnetgrent_r.c: Hook up nscd.
15398 * nscd/Makefile (routines): Add nscd_netgroup.
15399 (nscd-modules): Add netgroupcache.
15400 (CFLAGS-netgroupcache.c): Define.
15401 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15402 (cache_search): Add const to second parameter.
15403 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15405 (dbs): Add netgrdb entry.
15406 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15407 (verify_persistent_db): Handle netgrdb.
15408 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15409 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15411 (netgroup_response_header): Define.
15412 (innetgroup_response_header): Define.
15413 (datahead): Add netgroup_response_header and innetgroup_response_header
15415 * nscd/nscd.conf: Add entries for netgroup cache.
15416 * nscd/nscd.h (dbtype): Add netgrdb.
15417 (_PATH_NSCD_NETGROUP_DB): Define.
15418 (netgroup_iov_disabled): Declare.
15419 (xmalloc, xcalloc, xrealloc): Move declarations here.
15420 (cache_search): Adjust prototype.
15421 Add netgroup-related prototypes.
15422 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15423 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15424 (__nscd_innetgr): Declare.
15425 * nscd/selinux.c (perms): Use access_vector_t as element type and
15426 add netgroup-related initializers.
15427 * nscd/netgroupcache.c: New file.
15428 * nscd/nscd_netgroup.c: New file.
15429 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15430 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15431 For four parameters use innetgr.
15432 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15433 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15434 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15435 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15437 * nscd/connections.c (register_traced_file): Don't register file
15438 for disabled databases.
15440 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15442 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15444 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15445 from tree and freeing node.
15447 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15449 * nss/nsswitch.c (__nss_database_lookup): Handle
15450 nss_parse_service_list out of memory case.
15452 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15454 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15455 out of memory case.
15457 2011-10-04 Andreas Schwab <schwab@redhat.com>
15459 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15460 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15462 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15463 elf_machine_rela, elf_machine_lazy_rel.
15464 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15465 (ELF_DYNAMIC_DO_REL): Likewise.
15466 (ELF_DYNAMIC_DO_RELA): Likewise.
15467 (ELF_DYNAMIC_RELOCATE): Likewise.
15468 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15469 to ELF_DYNAMIC_DO_REL.
15470 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15471 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15472 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15474 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15475 skip_ifunc, don't call ifunc function if non-zero.
15476 (elf_machine_rela): Likewise.
15477 (elf_machine_lazy_rel): Likewise.
15478 (elf_machine_lazy_rela): Likewise.
15479 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15480 (elf_machine_lazy_rel): Likewise.
15481 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15483 (elf_machine_lazy_rel): Likewise.
15484 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15486 (elf_machine_lazy_rel): Likewise.
15487 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15488 (elf_machine_lazy_rel): Likewise.
15489 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15490 (elf_machine_lazy_rel): Likewise.
15491 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15492 (elf_machine_lazy_rel): Likewise.
15493 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15494 (elf_machine_lazy_rel): Likewise.
15495 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15496 (elf_machine_lazy_rel): Likewise.
15497 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15498 (elf_machine_lazy_rel): Likewise.
15500 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15502 * nss/nss_files/files-init.c (_nss_files_init): Use static
15503 initialization for all the *_traced_file variables.
15505 2011-09-28 Andreas Schwab <schwab@redhat.com>
15507 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15509 2011-09-27 Roland McGrath <roland@hack.frob.com>
15512 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15514 2011-09-27 Andreas Schwab <schwab@redhat.com>
15516 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15517 Reread the line before reparsing it.
15519 2011-09-26 Andreas Schwab <schwab@redhat.com>
15521 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15523 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15524 Maxim Kuvyrkov <maxim@codesourcery.com>
15525 Joseph Myers <joseph@codesourcery.com>
15527 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15528 if needed for __stack_chk_guard.
15530 2011-09-19 Roland McGrath <roland@hack.frob.com>
15532 * sysdeps/posix/spawni.c (script_execute): Always define it.
15533 It will be optimized away if unused.
15534 (maybe_script_execute): New function.
15535 (__spawni): Call it.
15537 * Makerules: Don't include tls.make.
15538 (config-tls): Always set to thread.
15539 * tls.make.c: File removed.
15541 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15543 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15544 * config.make.in (CPPFLAGS-config): New substituted variable.
15546 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15548 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15551 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15552 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15554 2011-09-15 Roland McGrath <roland@hack.frob.com>
15556 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15557 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15558 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15559 (CALL_FAIL): Likewise.
15560 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15561 (CALL_FAIL): Macro removed.
15562 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15564 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15566 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15567 for __FINITE_MATH_ONLY__ == 1.
15569 2011-09-15 Andreas Schwab <schwab@redhat.com>
15571 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15572 __ieee754_sqrt instead of sqrt.
15573 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15574 __ieee754_sqrtf instead of sqrtf.
15575 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15576 __floorf instead of floorf.
15577 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15578 __floorf, __truncf instead of floorf, truncf.
15580 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15582 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15584 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15585 __extern_always_inline.
15586 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15589 2011-09-14 Andreas Schwab <schwab@redhat.com>
15591 * elf/rtld.c (dl_main): Also relocate in dependency order when
15592 doing symbol dependency testing.
15594 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15596 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15597 Always define `refsym'.
15599 2011-09-13 Andreas Schwab <schwab@redhat.com>
15601 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15602 (__FD_ELT): Renamed from __FDELT.
15603 * misc/bits/select2.h (__FD_ELT): Likewise.
15604 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15605 __FD_MASK instead of __FDELT, __FDMASK.
15606 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15608 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15611 * elf/Makefile (gen-ldd): Fix pattern.
15613 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15614 (init_tls): Likewise.
15616 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15618 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15620 2011-09-12 Andreas Schwab <schwab@redhat.com>
15622 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15623 `struct cmsghdr *' instead of `void *'.
15624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15627 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15629 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15631 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15632 ldd_rewrite_script.
15634 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15636 * configure.in: Remove --with-tls option.
15637 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15638 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15639 out in case it is missing.
15640 * sysdeps/ia64/elf/configure.in: Likewise.
15641 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15642 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15643 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15644 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15645 * sysdeps/sh/elf/configure.in: Likewise.
15646 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15647 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15648 * sysdeps/x86_64/elf/configure.in: Likewise.
15649 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15650 * sysdeps/mach/hurd/tls.h: Likewise.
15653 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15656 * configure.in: Fix use of AC_INIT.
15658 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15660 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15662 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15664 * malloc/hooks.c: Likewise.
15667 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15668 variables statically.
15669 (narenas): Initialize.
15670 (list_lock): Initialize.
15671 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15672 initializtion of main_arena and list_lock. Small cleanups.
15673 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15674 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15675 Add initializers to main_arena and mp_.
15676 (malloc_state): Remove pagesize member. Change all users to use
15679 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15680 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15681 is always initialized.
15683 * malloc/malloc.c: Removed unused configurations and dead code.
15684 * malloc/arena.c: Likewise.
15685 * malloc/hooks.c: Likewise.
15686 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15688 * include/tls.h: Removed. USE___THREAD must always be defined.
15689 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15690 * elf/dl-libc.c: Likewise.
15691 * elf/dl-tsd.c: Likewise.
15692 * include/errno.h: Likewise.
15693 * include/netdb.h: Likewise.
15694 * include/resolv.h: Likewise.
15695 * inet/herrno-loc.c: Likewise.
15696 * inet/herrno.c: Likewise.
15697 * malloc/arena.c: Likewise.
15698 * malloc/hooks.c: Likewise.
15699 * malloc/malloc.c: Likewise.
15700 * resolv/res-state.c: Likewise.
15701 * resolv/res_libc.c: Likewise.
15702 * sysdeps/i386/dl-machine.h: Likewise.
15703 * sysdeps/ia64/dl-machine.h: Likewise.
15704 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15705 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15706 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15707 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15708 * sysdeps/sh/dl-machine.h: Likewise.
15709 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15710 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15711 * sysdeps/unix/i386/sysdep.S: Likewise.
15712 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15713 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15714 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15715 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15716 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15717 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15718 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15720 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15722 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15723 * sysdeps/x86_64/dl-machine.h: Likewise.
15724 * tls.make.c: Likewise.
15726 * configure.in: Remove --with-__thread option. Make tests for
15727 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15728 tls_model attribute fail if no support is available. Remove
15730 * Makeconfig: Adjust for dropped configure option. All features are
15732 * Makerules: Likewise.
15733 * Versions.def: Likewise.
15734 * argp/argp-fmtstream.c: Likewise.
15735 * argp/argp-fmtstream.h: Likewise.
15736 * argp/argp-help.c: Likewise.
15737 * assert/assert.c: Likewise.
15738 * config.h.in: Likewise.
15739 * config.make.in: Likewise.
15740 * configure: Likewise.
15741 * configure.in: Likewise.
15742 * csu/Versions: Likewise.
15743 * csu/init.c: Likewise.
15744 * elf/tst-audit2.c: Likewise.
15745 * elf/tst-tls10.c: Likewise.
15746 * elf/tst-tls10.h: Likewise.
15747 * elf/tst-tls11.c: Likewise.
15748 * elf/tst-tls12.c: Likewise.
15749 * elf/tst-tls14.c: Likewise.
15750 * elf/tst-tlsmod11.c: Likewise.
15751 * elf/tst-tlsmod12.c: Likewise.
15752 * elf/tst-tlsmod13.c: Likewise.
15753 * elf/tst-tlsmod13a.c: Likewise.
15754 * elf/tst-tlsmod14a.c: Likewise.
15755 * elf/tst-tlsmod15b.c: Likewise.
15756 * elf/tst-tlsmod16a.c: Likewise.
15757 * elf/tst-tlsmod16b.c: Likewise.
15758 * elf/tst-tlsmod7.c: Likewise.
15759 * elf/tst-tlsmod8.c: Likewise.
15760 * elf/tst-tlsmod9.c: Likewise.
15761 * gmon/gmon.c: Likewise.
15762 * grp/fgetgrent_r.c: Likewise.
15763 * grp/putgrent.c: Likewise.
15764 * hurd/fopenport.c: Likewise.
15765 * include/libc-symbols.h: Likewise.
15766 * include/tls.h: Likewise.
15767 * intl/gettextP.h: Likewise.
15768 * intl/loadinfo.h: Likewise.
15769 * locale/global-locale.c: Likewise.
15770 * locale/localeinfo.h: Likewise.
15771 * mach/devstream.c: Likewise.
15772 * malloc/arena.c: Likewise.
15773 * malloc/set-freeres.c: Likewise.
15774 * misc/err.c: Likewise.
15775 * misc/getttyent.c: Likewise.
15776 * misc/mntent_r.c: Likewise.
15777 * posix/getopt.c: Likewise.
15778 * posix/wordexp.c: Likewise.
15779 * pwd/fgetpwent_r.c: Likewise.
15780 * resolv/Versions: Likewise.
15781 * resolv/res_hconf.c: Likewise.
15782 * shadow/fgetspent_r.c: Likewise.
15783 * shadow/putspent.c: Likewise.
15784 * stdio-common/printf_fphex.c: Likewise.
15785 * stdio-common/tmpfile.c: Likewise.
15786 * stdlib/abort.c: Likewise.
15787 * stdlib/fmtmsg.c: Likewise.
15788 * sunrpc/auth_unix.c: Likewise.
15789 * sunrpc/clnt_perr.c: Likewise.
15790 * sunrpc/clnt_tcp.c: Likewise.
15791 * sunrpc/clnt_udp.c: Likewise.
15792 * sunrpc/clnt_unix.c: Likewise.
15793 * sunrpc/openchild.c: Likewise.
15794 * sunrpc/svc_simple.c: Likewise.
15795 * sunrpc/svc_tcp.c: Likewise.
15796 * sunrpc/svc_udp.c: Likewise.
15797 * sunrpc/svc_unix.c: Likewise.
15798 * sunrpc/xdr.c: Likewise.
15799 * sunrpc/xdr_array.c: Likewise.
15800 * sunrpc/xdr_rec.c: Likewise.
15801 * sunrpc/xdr_ref.c: Likewise.
15802 * sunrpc/xdr_stdio.c: Likewise.
15804 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15806 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15808 2011-07-03 Andreas Jaeger <aj@suse.de>
15810 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15811 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15812 regenerate with gen-libm-tests.pl.
15814 2010-05-12 Petr Baudis <pasky@suse.cz>
15817 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15818 around j0() zero points by switching to j1().
15819 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15820 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15821 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15822 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15824 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15826 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15828 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15831 Patch in part by Pavel Roskin <proski@gnu.org>.
15834 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15836 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15837 Free memory block if necessary.
15840 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15841 be NULL. Don't lock in this case.
15843 2011-09-09 Roland McGrath <roland@hack.frob.com>
15845 * elf/elf.h (ELFOSABI_GNU): New macro.
15846 (ELFOSABI_LINUX): Define to that.
15848 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15850 * string/strncat.c (strncat): Undef the symbol in case it has been
15851 defined in bits/string.h.
15853 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15855 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15857 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15860 2011-08-17 Andreas Jaeger <aj@suse.de>
15862 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15864 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15865 Ian Lance Taylor <iant@google.com>
15867 * math/libm-test.inc (lround_test): New testcase.
15868 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15870 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15872 * Makefile: Remove support for automatic cvs check-ins.
15873 * Makerules: Likewise.
15874 * config.make.in: Likewise.
15875 * configure.in: Likewise.
15876 * intl/Makefile: Likewise.
15877 * locale/Makefile: Likewise.
15878 * po/Makefile: Likewise.
15879 * posix/Makefile: Likewise.
15880 * sysdeps/gnu/Makefile: Likewise.
15881 * sysdeps/mach/hurd/Makefile: Likewise.
15882 * sysdeps/sparc/sparc32/Makefile: Likewise.
15885 * posix/Makefile (bug-regex32-ENV): Define.
15886 Patch by John Stanley <jpsinthemix@verizon.net>.
15888 * misc/Makefile (headers): Add bits/select2.h.
15889 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15890 * misc/bits/select2.h: New file.
15891 * include/bits/select2.h: New file.
15892 * debug/Makefile (routines): Add fdelt_chk.
15893 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15894 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15896 * debug/fdelt_chk.c: New file.
15898 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15899 * wcsmbs/test-wmemcmp.c: Likewise.
15900 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15901 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15903 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15905 * string/Makefile (strop-tests): Add memcmp.
15906 * string/test-wmemcmp.c: New file.
15907 * string/test-memcmp.c: Add wmemcmp support.
15909 2011-09-08 Roland McGrath <roland@hack.frob.com>
15912 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15915 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15916 garbage value in a __mach_port_mod_refs call in the cases of the
15917 task-self and thread-self ports.
15919 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15921 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15923 2011-09-08 Andreas Schwab <schwab@redhat.com>
15925 * elf/dl-load.c (lose): Check for non-null L.
15927 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15929 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15931 * elf/dl-libc.c (dlerror_run): Pass back error code from
15935 * elf/dl-load.c (lose): Free l_origin if it is valid.
15937 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15939 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15940 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15941 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15942 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15943 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15944 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15946 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15948 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15949 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15950 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15951 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15952 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15953 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15954 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15955 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15956 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15957 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15959 2011-08-15 Alan Modra <amodra@gmail.com>
15962 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15963 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15964 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15965 ppc_mcount to static-only-routines.
15966 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15968 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15969 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15971 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15973 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15974 for finite and infinity parameters.
15976 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15978 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15979 and add nop instructions for throughput optimization.
15980 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15982 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15984 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15985 aligned copy for power7 with vector-scalar instructions.
15986 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15988 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15990 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15993 2011-09-07 Andreas Schwab <schwab@redhat.com>
15996 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15999 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16001 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16002 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16003 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16004 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16007 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16009 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16010 Forgot to demangle the pointer.
16012 * sysdeps/i386/sysdep.h: Define atom_text_section.
16013 * sysdeps/x86_64/sysdep.h: Likewise.
16014 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16015 section with atom_text_section.
16016 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16017 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16018 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16019 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16020 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16022 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16023 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16024 already be defined. Change to take two parameters and don't assign
16025 result to variable. Adjust all users.
16026 Define INTERNAL_GETTIME if not already defined.
16027 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16030 HAVE_CLOCK_GETTIME_VSYSCALL.
16031 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16033 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16034 gettimeofday vsyscall, just use time.
16036 2011-09-06 Andreas Schwab <schwab@redhat.com>
16038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16041 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16043 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16045 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16047 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16048 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16049 syscall if possible.
16051 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16053 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16054 e_ident. Don't pass to find_mapsXX.
16055 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16057 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16060 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16061 * sysdeps/x86_64/multiarch/strchr.S: Update.
16062 Check bit_slow_BSF bit.
16063 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16064 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16065 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16067 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16070 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16072 (tryshell): Define.
16073 (__spawni): Change last parameter to be flag. Test
16074 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16075 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16076 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16077 * posix/spawni.c: Likewise.
16078 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16079 * posix/spawnp.c: Likewise. Change normal version to use
16080 SPAWN_XFLAGS_USE_PATH.
16081 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16082 SPAWN_XFLAGS_TRY_SHELL.
16085 * posix/glob.h: Remove gcc 1.x support.
16088 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16090 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16092 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16093 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16095 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16096 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16097 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16098 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16099 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16100 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16102 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16104 * sysdeps/x86_64/wcscmp.S: New file.
16106 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16107 wcscmp-c wcscmp-sse2
16108 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16109 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16110 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16111 * wcsmbs/wcscmp.c: Allow renaming.
16113 2011-09-05 David S. Miller <davem@davemloft.net>
16115 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16116 stack slot, rather than the struct return pointer slot.
16117 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16118 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16120 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16122 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16124 * po/ja.po: Update from translation team.
16127 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16128 kernel in 64-bit binaries.
16130 2011-09-01 David S. Miller <davem@davemloft.net>
16132 * elf/elf.h (HWCAP_SPARC_*): Move to..
16133 * sysdeps/sparc/sysdep.h: this new file and add new values.
16134 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16135 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16136 _DL_HWCAP_COUNT to 24.
16137 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16139 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16140 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16141 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16143 instead of magic constants.
16144 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16146 2011-08-31 David S. Miller <davem@davemloft.net>
16148 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16149 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16150 Reimplement to do errno handling inline.
16151 (SYSCALL_ERROR_HANDLER): New macro.
16152 (__SYSCALL_STRING): Do not do errno handling in asm.
16153 (__CLONE_SYSCALL_STRING): Delete.
16154 (__INTERNAL_SYSCALL_STRING): Delete.
16155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16156 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16157 (PSEUDO): Reimplement to do errno handling inline.
16158 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16159 (SYSCALL_ERROR_HANDLER): New macro.
16160 (__SYSCALL_STRING): Do not do errno handling in asm.
16161 (__CLONE_SYSCALL_STRING): Delete.
16162 (__INTERNAL_SYSCALL_STRING): Delete.
16163 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16164 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16166 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16167 (inline_syscall*): Add 'err' argument.
16168 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16169 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16170 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16171 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16173 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16174 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16176 2011-08-30 Andreas Schwab <schwab@redhat.com>
16178 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16180 2011-08-29 Jiri Olsa <jolsa@redhat.com>
16182 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16185 2011-08-24 David S. Miller <davem@davemloft.net>
16187 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16189 2011-08-24 Andreas Schwab <schwab@redhat.com>
16191 * elf/Makefile: Add rules to build and run unload8 test.
16192 * elf/unload8.c: New file.
16193 * elf/unload8mod1.c: New file.
16194 * elf/unload8mod1x.c: New file.
16195 * elf/unload8mod2.c: New file.
16196 * elf/unload8mod3.c: New file.
16198 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16201 2011-08-23 David S. Miller <davem@davemloft.net>
16203 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16204 subtract stack bias.
16205 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16206 %sp not %fp in calculations.
16207 (_JMPBUF_UNWINDS_ADJ): Likewise.
16209 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16210 (aio_suspend): Call it to force an exception region around the
16211 AIO_MISC_WAIT() invocation.
16213 2011-08-23 Andreas Schwab <schwab@redhat.com>
16215 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16218 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16220 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16222 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16223 and <dl-machine.h>.
16224 (Elf64_FuncDesc): Remove.
16226 2011-08-22 David S. Miller <davem@davemloft.net>
16228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16229 sigaltstack check, add missing cfi directives.
16230 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16231 missing cfi directives, and sigaltstack handling.
16233 2011-08-16 Andreas Schwab <schwab@redhat.com>
16236 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16237 object is seen twice.
16238 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16240 * elf/Makefile (distribute): Add tst-initorder2.c.
16241 (tests): Add tst-initorder2.
16242 (modules-names): Add tst-initorder2a tst-initorder2b
16243 tst-initorder2c tst-initorder2d. Add rules to build them.
16244 ($(objpfx)tst-initorder2.out): New rule.
16245 * elf/tst-initorder2.c: New file.
16246 * elf/tst-initorder2.exp: New file.
16248 2011-08-22 Andreas Schwab <schwab@redhat.com>
16250 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16252 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16253 dependencies back to end of function.
16255 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16256 $(elfobjdir)/ld.so.
16258 2011-08-21 Ulrich Drepper <drepper@gmail.com>
16260 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16261 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16262 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16263 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16264 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16265 of __vdso_gettimeofday.
16266 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16267 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16269 (_libc_vdso_platform_setup): Remove initialization of
16270 __vdso_gettimeofday and __vdso_time.
16272 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16274 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16275 and fgetc_unlocked.
16276 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16279 * elf/dl-open.c (add_to_global): Report additions to the global scope
16280 for LD_DEBUG=scopes.
16281 (dl_open_worker): Also print scope of newly loaded dependencies.
16282 (_dl_show_scope): Indicate if there is no scope.
16285 * stdio-common/Makefile (tests): Add bug24.
16286 * stdio-common/bug24.c: New file.
16288 2011-08-19 Andreas Jaeger <aj@suse.de>
16291 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16292 non-existant file when using close-on-exec mode.
16294 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16296 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16297 the very first instruction.
16299 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16300 the CFI state in the end.
16301 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16302 inclusion of dl-trampoline.h.
16303 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16305 2011-08-19 Andreas Schwab <schwab@redhat.com>
16307 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16308 expectations for long double.
16310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16311 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16313 2011-08-14 David S. Miller <davem@davemloft.net>
16315 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16316 artificual limit depends upon the system page size.
16318 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16320 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16321 * resolv/Makefile: Define CFLAGS-libresolv.
16323 2011-08-17 Andreas Schwab <schwab@redhat.com>
16325 * nss/makedb.c (compute_tables): Make variables used in nested
16328 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16330 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16331 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16332 if buffer was too small.
16334 * elf/pldd.c (main): Attach to all threads in the process.
16335 Rewrite /proc handling to use *at functions.
16337 2011-08-16 Ulrich Drepper <drepper@gmail.com>
16339 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16340 specifies first scope to show.
16341 (dl_open_worker): Update callers. Move printing scope of new
16342 object to before the relocation.
16343 * elf/rtld.c (dl_main): Update _dl_show_scope call.
16344 * sysdeps/generic/ldsodefs.h: Update declaration.
16346 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16347 string for the scope number.
16349 2011-08-14 Ulrich Drepper <drepper@gmail.com>
16351 * nscd/servicescache.c (cache_addserv): Make sure written is always
16354 2011-08-14 Roland McGrath <roland@hack.frob.com>
16356 * sysdeps/i386/i486/bits/atomic.h
16357 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16358 statement expression, so as to suppress "set but not used" warning.
16359 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16361 * string/strncat.c (STRNCAT): Use prototype definition.
16363 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16364 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16366 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16367 (localedef-modules): Add localedef.
16368 (locale-modules): Add locale.
16370 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16371 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16372 to avoid a warning.
16374 2011-08-14 David S. Miller <davem@davemloft.net>
16376 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16377 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16379 2011-08-13 Ulrich Drepper <drepper@gmail.com>
16381 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
16382 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16383 * elf/rtld.c (dl_main): Set l_name of vDSO.
16384 Call _dl_show_scope when DL_DEBUG_SCOPES.
16385 (process_dl_debug): Recognize scopes flag and also set it for all.
16386 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16387 Declare _dl_show_scope.
16389 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16390 (do_dlopen): Pass caller_dlopen to dl_open.
16391 (__libc_dlopen_mode): Initialize caller_dlopen.
16393 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16394 of libc. Make tolower call locale-independent. Optimize a bit by
16395 using isdigit instead of isalnum.
16396 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16398 2011-08-12 Ulrich Drepper <drepper@gmail.com>
16400 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16401 was a dependency or dynamically loaded.
16403 2011-08-11 Ulrich Drepper <drepper@gmail.com>
16405 * intl/l10nflist.c: Allow architecture-specific pop function.
16406 * sysdeps/x86_64/l10nflist.c: New file.
16408 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16411 2011-08-10 Andreas Schwab <schwab@redhat.com>
16413 * include/dirent.h: Add libc_hidden_proto for scandirat and
16414 scandirat64. Don't declare __scandirat64.
16415 * dirent/scandirat.c: Add libc_hidden_def.
16416 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16417 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16419 2011-08-10 David S. Miller <davem@davemloft.net>
16421 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16423 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16424 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16425 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16427 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16429 * Versions.def [libc]: Add GLIBC_2.15.
16430 * dirent/Makefile (routines): Add scandirat and scandirat64.
16431 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16433 * dirent/dirent.h: Declare scandirat and scandirat64.
16434 * dirent/scandirat.c: New file.
16435 * dirent/scandirat64.c: New file.
16436 * sysdeps/wordsize-64/scandirat.c: New file.
16437 * sysdeps/wordsize-64/scandirat64.c: New file.
16438 * dirent/opendir.c: Define opendirat.
16439 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16441 * dirent/scandir64.c: Adjust for scandir.c change.
16442 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16443 __scandirat64, and __scandir_cancel_handler.
16444 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16445 additional parameter and use openat instead of open (outside of ld.so).
16446 Add new __opendir as wrapper around __opendirat.
16447 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16448 here without requiring old scandirat implementation.
16450 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16452 * dirent/scandir.c (cancel_handler): Renamed to
16453 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16454 defined. Adjust users.
16455 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16456 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16458 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16460 * string/test-string.h (IMPL): Use __STRING to expand name and then
16463 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16466 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16468 * string/Makefile: Update.
16469 (strop-tests): Append strncat.
16470 * string/test-wcscmp.c: New file.
16471 New comprehensive test for wcscmp.
16472 * string/test-strcmp.c: Update.
16473 (WIDE): New define.
16475 2011-07-22 Andreas Schwab <schwab@redhat.com>
16477 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16480 2011-07-26 Andreas Schwab <schwab@redhat.com>
16482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16483 encoding to ACE if AI_IDN.
16485 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16487 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16488 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16490 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16492 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16493 Fix overflow bug in strncat.
16494 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16496 * string/test-strncat.c: Update.
16497 Add new tests for checking overflow bugs.
16499 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16502 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16503 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16504 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16505 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16506 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16507 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16508 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16509 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16511 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16512 (USE_AS_STRCAT): Define.
16513 Add strcat and strncat support.
16514 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16516 2011-07-25 Andreas Schwab <schwab@redhat.com>
16518 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16519 __n bigger than INT_MAX+1.
16520 (__strncmp_g): Likewise.
16522 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16524 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16525 * libio/stido.h: Likewise.
16527 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16529 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16532 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16533 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16534 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16535 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16536 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16539 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16544 (_dl_x86_64_save_sse): Likewise.
16546 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16548 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16550 (_dl_x86_64_save_sse): Likewise.
16552 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16554 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16556 2011-07-21 Andreas Schwab <schwab@redhat.com>
16558 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16560 (_dl_x86_64_save_sse): Use correct AVX check.
16562 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16564 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16565 bug in strncpy/strncat.
16566 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16568 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16570 * string/tester.c (test_strcat): Add tests for different alignments
16571 of source and destination.
16572 (test_strncat): Likewise.
16574 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16577 * posix/glob.c (glob): Check passed in values before using them in
16578 expressions to avoid some overflows.
16579 (glob_in_dir): Likewise.
16582 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16583 check for AVX enablement so that we don't crash with old kernels and
16585 * elf/tst-audit4.c: Add same checks here.
16586 * elf/tst-audit6.c: Likewise.
16588 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16590 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16592 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16594 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16596 * po/cs.po: Update from translation team.
16597 * po/bg.po: Likewise.
16599 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16601 * misc/sys/cdefs.h: Add support for const attribute.
16602 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16603 to gnu_dev_{major,minor,makedev} functions.
16605 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16607 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16609 2011-07-20 Andreas Schwab <schwab@redhat.com>
16611 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16614 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16616 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16617 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16618 register in order to avoid conflicts with the soft frame pointer
16619 being held in r11 when necessary.
16620 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16621 (INTERNAL_VSYSCALL_NCS): Likewise.
16623 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16625 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16626 * elf/dl-fini.c (_dl_fini): Adjust caller.
16627 * elf/dl-close.c (_dl_close_worker): Likewise.
16628 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16630 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16632 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16633 "aux_cache->nlibs < 0".
16635 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16636 in the reload-count case.
16638 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16641 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16642 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16643 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16644 * sysdeps/x86_64/multiarch/strcat.S: New file.
16645 * sysdeps/x86_64/multiarch/strncat.S: New file.
16646 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16647 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16648 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16649 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16650 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16651 (USE_AS_STRCAT): Define.
16652 Add strcat and strncat support.
16653 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16654 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16655 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16656 * string/strncat.c: Update.
16657 (USE_AS_STRNCAT): Define.
16658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16659 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16661 * sysdeps/x86_64/multiarch/init-arch.h
16662 (bit_Prefer_PMINUB_for_stringop): New.
16663 (index_Prefer_PMINUB_for_stringop): Likewise.
16664 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16665 bit_Prefer_PMINUB_for_stringop.
16667 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16669 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16671 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16672 of casting of buffer.
16673 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16674 buffer32 and buffer64.
16675 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16676 writes instead of casting of buffer.
16677 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16679 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16682 2011-07-19 Andreas Schwab <schwab@redhat.com>
16684 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16686 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16688 * nscd/nscd.c (termination_handler): Don't do anything for a database
16689 if it has not yet been initialized.
16691 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16693 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16695 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16697 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16699 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16701 * po/nl.po: Update from translation team.
16702 * po/sv.po: Likewise.
16704 2011-07-16 Roland McGrath <roland@hack.frob.com>
16706 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16707 now disallowed by GCC.
16709 * configure.in (use-default-link): Default to yes if a test -shared
16710 link meets our qualifications.
16711 * configure: Regenerated.
16713 * config.make.in (output-format): New variable.
16714 * configure.in: Check for ld --print-output-format support.
16715 * configure: Regenerated.
16716 * Makerules ($(common-objpfx)format.lds)
16717 [$(output-format) != unknown]: Just use $(output-format),
16718 instead of the linker-script munging.
16720 2011-07-14 Roland McGrath <roland@hack.frob.com>
16722 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16723 of $(common-objpfx)shlib.lds.
16724 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16726 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16727 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16729 * configure.in (-z relro check): Adjust test code to add a large
16730 writable data section after it.
16731 * configure: Regenerated.
16733 2011-07-11 Roland McGrath <roland@hack.frob.com>
16735 * configure.in (-z relro check): Fix test code to make the variable
16737 * configure: Regenerated.
16739 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16741 * nscd/nscd.h (struct traced_file): Define.
16742 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16743 elements. Add traced_files.
16744 (inotify_fd): Declare.
16745 (register_traced_file): Declare.
16746 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16747 (inotify_fd): Export.
16748 (resolv_conf_descr): Remove.
16749 (nscd_init): Move inotify descriptor creation to main.
16750 Don't register files for notification here.
16751 (register_traced_file): New function.
16752 (invalidate_cache): Don't use reset_res to determine whether to call
16753 res_init, go through the list of registered files.
16754 (main_loop_poll): The inotify descriptors are now stored in the
16755 structures for the traced files.
16756 (main_loop_epoll): Likewise
16757 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16758 to __nss_disable_nscd.
16759 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16760 for a database anymore. Check the records for all the registered
16762 * nss/Makefile (libnss_files-routines): Add files-init.
16763 (libnss_db-routines): Add db-init.
16764 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16765 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16766 * nss/nss_db/db-init.c: New file.
16767 * nss/nss_files/files-init.c: New file.
16768 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16769 __nss_lookup_function.
16770 (__nss_lookup_function): Call nss_load_library.
16771 (nss_load_all_libraries): New function.
16772 (__nss_disable_nscd): Take parameter with callback function for files
16773 to register. Set is_nscd. Load all the DSOs for the NSS modules
16774 used for the cached services.
16775 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16776 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16777 options for features to all the files in nscd.
16779 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16781 2011-07-10 Roland McGrath <roland@hack.frob.com>
16783 * csu/elf-init.c (__libc_csu_init): Comment typo.
16785 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16787 * po/pl.po: Update from translation team.
16788 * po/ja.po: Likewise.
16789 * po/ru.po: Likewise.
16790 * po/ko.po: Likewise.
16791 * po/fr.po: Likewise.
16793 2011-07-09 Roland McGrath <roland@hack.frob.com>
16795 * configure.in (.ctors/.dtors header and trailer check):
16796 Use an empirical test on a built program.
16797 * configure: Regenerated.
16799 * configure.in (-z relro check): Use an empirical test on a built DSO.
16800 Detect, but do not require, on ia64.
16801 * configure: Regenerated.
16803 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16804 Update tests that use readelf to use $READELF instead.
16805 * configure: Regenerated.
16807 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16809 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16810 if the result is not used.
16812 2011-07-05 Andreas Jaeger <aj@suse.de>
16815 * stdlib/tst-strtod.c: Add testcase.
16817 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16819 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16820 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16821 The latter has a higher limit. Take additional parameter to pass to
16823 (__pathconf): Pass file to __statfs_link_max.
16824 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16826 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16830 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16831 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16833 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16834 (__statfs_filesize_max): Likewise.
16835 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16837 2011-07-05 Andreas Jaeger <aj@suse.de>
16839 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16841 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16843 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16845 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16848 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16850 * Makefile (strop-tests): Add strncat.
16851 * string/test-strncat.c: New file.
16853 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16855 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16857 2011-06-21 Andreas Jaeger <aj@suse.de>
16859 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16860 Copy rule from iconvdata/Makefile.
16862 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16865 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16866 but no long options are defined, just return 'W'.
16868 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16871 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16873 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16875 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16877 (innetgr): Likewise.
16879 2011-07-05 Roland McGrath <roland@hack.frob.com>
16881 * config.make.in (install_root): Default to $(DESTDIR).
16883 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16885 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16887 2011-07-02 Roland McGrath <roland@hack.frob.com>
16889 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16891 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16892 containing directory rather than embedding absolute directory names.
16894 * scripts/check-local-headers.sh: Rewritten using awk.
16895 Match by word, not by line. Print error messages for matches.
16896 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16898 * Makerules [shlib-lds-flags empty]:
16899 ($(common-objpfx)libc_pic.opts): New target.
16900 ($(common-objpfx)libc_pic.os.clean): New target.
16901 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16903 * config.make.in (OBJCOPY): New variable.
16904 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16905 * configure: Regenerated.
16907 * config.make.in (use-default-link): New variable.
16908 * configure.in (use_default_link): Grok --with-default-link to set it.
16909 * configure: Regenerated.
16910 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16911 (shlib-lds, shlib-lds-flags): Define to empty.
16913 * Makerules (shlib-lds): New variable.
16914 (shlib-lds-flags): New variable.
16915 (build-shlib, build-moduile, build-module-asneeded): Use it.
16916 ($(common-objpfx)libc.so): Use $(shlib-lds).
16917 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16918 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16920 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16921 DT_FLAGS/DT_FLAGS_1 with zero flags.
16923 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16924 linker script munging.
16926 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16928 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16930 * crypt/sha512.c (sha512_process_block): Perform total addition using
16931 128-bit if possible.
16932 (__sha512_finish_ctx): Likewise.
16933 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16935 * crypt/sha256.c (SWAP64): Define.
16936 (sha256_process_block): Perform total addition using 64-bit if
16938 (__sha256_finish_ctx): Likewise.
16940 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16942 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16943 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16944 * nscd/hstcache.c (cache_addhst): Likewise.
16945 * nscd/grpcache.c (cache_addgr): Likewise.
16946 * nscd/aicache.c (addhstaiX): Likewise
16947 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16949 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16951 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16952 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16953 * nscd/hstcache.c (cache_addhst): Likewise.
16954 * nscd/grpcache.c (cache_addgr): Likewise.
16955 * nscd/aicache.c (addhstaiX): Likewise
16957 2011-07-01 Andreas Schwab <schwab@redhat.com>
16959 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16960 domain only when needed.
16962 2011-06-30 Andreas Schwab <schwab@redhat.com>
16964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16965 is always restored.
16967 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16969 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16970 are re-adding the entry.
16971 * nscd/servicescache.c (cache_addserv): Likewise.
16973 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16975 * sysdeps/generic/dl-irel.h: fix protection against multiple
16977 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16979 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16982 * malloc/memusage.sh: Fix quoting in message.
16983 * debug/xtrace.sh: Likewise.
16985 * configure.in: Remove support for --experimental-malloc option, make
16987 * config.make.in: Likewise.
16988 * malloc/Makefile: Likewise.
16990 2011-06-27 Andreas Schwab <schwab@redhat.com>
16992 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16993 two-byte characters.
16995 2011-06-27 Roland McGrath <roland@hack.frob.com>
16997 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16998 AC_CACHE_CHECK invocation.
16999 * configure: Regenerated.
17001 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17003 2011-06-27 Ulrich Drepper <drepper@gmail.com>
17006 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17007 bit from old_res_options.
17009 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17011 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17012 value type for setfct.
17014 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17016 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17017 __gettimeofday instead of gettimeofday.
17019 2011-06-26 Ulrich Drepper <drepper@gmail.com>
17021 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17023 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17025 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17027 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17030 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17033 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17034 strcpy-sse2-unaligned strncpy-sse2-unaligned
17035 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17036 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17037 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17038 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17039 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17040 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17041 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17042 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17043 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17044 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17045 (STRCPY): Support SSE2 and SSSE3 versions.
17047 2011-06-24 Ulrich Drepper <drepper@gmail.com>
17050 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17051 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17052 kernels which artificially limit size of requests.
17054 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17057 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17058 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17059 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17060 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17061 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17062 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17063 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17064 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17065 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17066 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17067 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17068 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17069 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17070 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17072 Enable unaligned load optimization for Intel Core i3, i5 and i7
17074 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17076 (index_Fast_Unaligned_Load): Define.
17077 (HAS_FAST_UNALIGNED_LOAD): Define.
17079 2011-06-23 Marek Polacek <mpolacek@redhat.com>
17081 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17083 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17086 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17087 until it is clear that the information is realy needed.
17088 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17090 2011-06-22 Andreas Schwab <schwab@redhat.com>
17092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17094 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17096 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17097 /sys/devices/system/cpu/online if it is usable.
17099 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17100 reading the information from the /proc filesystem to once a second.
17102 2011-06-21 Andreas Jaeger <aj@suse.de>
17104 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17105 NULL after inclusion of kernel headers.
17107 2011-06-21 Ulrich Drepper <drepper@gmail.com>
17109 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17110 calls to internal_setent.
17113 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17114 addresses using gethostbyname4_r ignore IPv4 addresses.
17116 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17117 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17119 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17121 2011-06-20 David S. Miller <davem@davemloft.net>
17123 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17125 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17127 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17128 (elf_irel): Use it.
17129 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17130 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17131 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17132 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17133 * sysdeps/x86_64/dl-irel.h: Likewise.
17135 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17136 * elf/dl-sym.c: Likewise.
17138 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17140 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17141 need to dereference resplen2.
17143 2011-06-14 Andreas Schwab <schwab@redhat.com>
17145 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17147 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17149 * Makeconfig: Define vardbdir and inst_vardbdir.
17150 * nss/Makefile: Add rules to install db-Makefile.
17152 * nss/nss_db/db-XXX.c: Cleanup.
17154 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17155 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17157 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17158 * nss/makedb.c: Implement -g option to specify that value strings
17159 are generated and should not be added to table iterated over for
17161 * nss/nss_db/db-initgroups.c: New file.
17163 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17166 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17167 (internal_getgrouplist): Adjust to name change.
17168 Update use_initgroups_entry if this is not the first call.
17169 * nss/databases.def: Add initgroups entry.
17171 * nss/makedb.c (compute_tables): Check result of multiple hash table
17172 sizes to minimize maximum chain length.
17174 2011-06-14 Ulrich Drepper <drepper@gmail.com>
17176 * Versions.def: Add entry for libnss_db.
17177 * shlib-versions: Likewise.
17178 * nss/Makefile: Add rules to build libnss_db.
17179 * nss/Versions: Add libnss_db information. Organize libnss_files
17181 * nss/db-Makefile: Add gshadow support. Change rules for the new
17182 makedb progra. Some minor improvements to generate smaller files.
17183 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17185 * nss/makedb.c: ...here.
17186 Improve database format to be smaller and require less memory at
17188 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17190 * nss/nss_db/db-netgrp.c: Likewise.
17191 * nss/nss_db/db-open.c: Likewise.
17192 * nss/nss_files/flies-XXX.x: Adjust comments.
17193 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17194 * nss/nss_files/files-grp.c: Likewise.
17195 * nss/nss_files/files-hosts.c: Likewise.
17196 * nss/nss_files/files-network.c: Likewise.
17197 * nss/nss_files/files-proto.c: Likewise.
17198 * nss/nss_files/files-pwd.c: Likewise.
17199 * nss/nss_files/files-rpc.c: Likewise.
17200 * nss/nss_files/files-service.c: Likewise.
17201 * nss/nss_files/files-sgrp.c: Likewise.
17202 * nss/nss_files/files-spwd.c: Likewise.
17203 * nss/nss_db/db-alias.c: Removed.
17204 * nss/nss_db/dummy-db.h: Removed.
17206 2011-06-02 Ulrich Drepper <drepper@gmail.com>
17208 * nss/makedb.c: Rewritten to not use database library.
17209 * nss/Makefile: Update to build new makedb program.
17211 2011-06-14 Andreas Jaeger <aj@suse.de>
17213 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17214 memset declaration.
17216 2011-06-10 Andreas Schwab <schwab@redhat.com>
17218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17221 2011-06-10 Roland McGrath <roland@hack.frob.com>
17223 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17224 * elf/Makefile ($(objpfx)ld.so): Likewise.
17226 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17227 Don't list ld.so twice in dependencies.
17229 * posix/bug-regex31.c: Include <stdlib.h>.
17231 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17233 * nis/nss_compat/compat-spwd.c
17234 (getspent_next_nss_netgr): Remove unused variable.
17235 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17237 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17238 nonmembers" output to use the right array.
17240 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17242 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17244 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17245 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17246 * catgets/gencat.c (read_input_file): Likewise.
17247 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17249 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17250 variable definition inside #if's controlling its use.
17252 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17254 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17256 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17258 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17261 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17263 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17264 * configure: Regenerated.
17266 * Makerules: Revert last change.
17267 * elf/Makefile: Likewise.
17269 2011-06-09 Roland McGrath <roland@hack.frob.com>
17271 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17272 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17273 (reloc-link): Likewise.
17275 2011-06-09 Ulrich Drepper <drepper@gmail.com>
17277 * elf/Makefile: Add rules to build pldd.
17278 * elf/pldd.c: New file.
17279 * elf/pldd-xx.c: New file.
17281 2011-06-07 Ulrich Drepper <drepper@gmail.com>
17283 * version.h: Update for 2.15 development version.
17285 2011-06-07 David S. Miller <davem@davemloft.net>
17287 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17289 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17290 elf_machine_lazy_rel): Likewise.
17291 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17292 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17293 elf_machine_lazy_rel): Likewise.
17294 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17295 dl_hwcap via passed in argument.
17296 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17299 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17301 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17303 2011-06-06 Roland McGrath <roland@hack.frob.com>
17306 * manual/fdl-1.1.texi: New file, verbatim from:
17307 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17308 * manual/lgpl-2.1.texi: New file, verbatim from:
17309 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17310 * manual/Makefile (licenses): New variable, list those new file names.
17312 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17314 * manual/fdl.texi: File removed.
17315 * manual/lesser.texi: File removed.
17316 * manual/libc.texinfo (Copying, Documentation License):
17317 Use new @include file names, put @appendix directive before @include.
17319 2011-06-04 Jakub Jelinek <jakub@redhat.com>
17322 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17323 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17324 (mq_open): Add __NTH.
17326 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17329 Assume Intel Core i3/i5/i7 processor if AVX is available.
17331 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17333 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17336 2011-05-31 Andreas Schwab <schwab@redhat.com>
17338 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17339 memory. Use alloca_account. Fix memory leak when retrying.
17341 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17343 * version.h (RELEASE): Bump for 2.14 release.
17344 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17346 * config.make.in (RANLIB): Remove entry.
17348 2011-05-30 Ulrich Drepper <drepper@gmail.com>
17350 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17351 (libc.pot): Work around missing support for .ksh extension in xgettext.
17354 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17355 if both request failed.
17356 (send_dg): In case of server errors clear resplen or *resplen2.
17359 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17360 when there are multiple maps.
17361 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17362 (_dl_fini): Remove test here.
17364 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17366 2011-05-29 Ulrich Drepper <drepper@gmail.com>
17369 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17370 bit from old_res_options.
17371 (gaih_inet): Likewise.
17374 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
17377 * resolv/res_init.c (res_setoptions): Make the code more compact.
17380 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17384 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17386 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17389 * malloc/malloc.h: Declare malloc hook variables as volatile.
17391 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17395 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
17396 raise in the comment.
17397 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17398 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17399 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
17401 2011-05-28 Ulrich Drepper <drepper@gmail.com>
17404 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17405 grow the buffers more if it already has to be sufficient.
17406 (build_wcs_upper_buffer): Likewise.
17407 * posix/regexec.c (check_matching): Likewise.
17408 (clean_state_log_if_needed): Likewise.
17409 (extend_buffers): Don't enlarge buffers beyond size of the input
17411 Patches mostly by Emil Wojak <emil@wojak.eu>.
17412 * posix/bug-regex32.c: New file.
17413 * posix/Makefile (tests): Add bug-regex32.
17415 * locale/findlocale.c (_nl_find_locale): Return right away if
17416 _nl_explode_name failed.
17417 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17419 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17421 * debug/xtrace.sh: Unify messages.
17422 * malloc/memusage.sh: Likewise.
17425 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17426 time symbol from vDSO. Substitute with vsyscall if not available.
17427 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17430 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17431 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17432 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17433 Add sendmmsg and internal_sendmmsg.
17434 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17435 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17436 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17438 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17439 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17440 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17442 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17445 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17446 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17448 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17452 * iconvdata/Makefile (tests): Add bug-iconv9.
17453 * iconvdata/bug-iconv9.c: New file.
17455 2011-05-27 Andreas Schwab <schwab@redhat.com>
17458 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17460 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17462 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17463 (struct user_regs_struct): Change intcs field back to cs.
17465 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17467 * po/ja.po: Update from translation team.
17469 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17472 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17473 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17475 2011-05-20 Andreas Schwab <schwab@redhat.com>
17477 * stdlib/longlong.h: Update from GCC.
17479 2011-05-23 Andreas Schwab <schwab@redhat.com>
17481 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17483 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17484 Add parameter name.
17485 (__sysconf): Pass it down.
17487 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17490 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17492 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17493 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17494 add in in __libc_use_alloca calls. Adjust callers.
17495 (glob): Use malloc in some situations.
17497 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17498 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17501 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17503 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17504 and CLOCK_BOOTTIME_ALARM.
17507 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17510 * string/_strerror.c (__strerror_r): Print negative errors as signed
17514 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17515 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17516 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17518 * configure.in: Fix typo in redirection and correct removal of test
17519 files in two cases.
17522 * locale/setlocale.c (new_composite_name): Fix test to check for
17523 identical name of all categories.
17526 * libio/filedoalloc.c (local_isatty): New function.
17527 (_IO_file_doallocate): Use local_isatty.
17528 * stdio-common/perror.c (perror): In case a new stream is used
17529 forward the stream error.
17530 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17533 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17538 * include/alloca.h (extend_alloca_account): Define.
17541 * posix/regex.h: Fix comments with documentation of user-accessible
17542 fields after compilation and describe correct free'ing of pattern
17543 after re_compile_pattern.
17544 Patch by Reuben Thomas <rrt@sc3d.org>.
17546 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17548 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17549 and -mno-altivec to prevent the compiler from using Altivec and/or
17550 VSX instructions when the corresponding registers are not available.
17552 2011-05-19 Andreas Schwab <schwab@redhat.com>
17554 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17556 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17558 * libio/freopen.c (freopen): Use __dup2, not dup2.
17559 * libio/freopen64.c (freopen64): Likewise.
17561 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17564 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17565 * math/Makefile (tests): Add test-powl.
17566 (CFLAGS-test-powl.c): Define.
17567 * math/test-powl.c: New file.
17569 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17571 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17573 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17576 * iconvdata/gb18030.c: Update to GB18020-2005.
17578 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17580 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17581 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17582 Patch by Aharon Robbins <arnold@skeeve.com>.
17585 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17589 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17590 through underflows.
17593 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17594 point to strings before performing equality test for error_one_per_line
17598 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17601 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17602 (struct user_fpregs_struct): Avoid __uint*_t types.
17605 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17606 symbol info. Use it instead of calling _dl_addr locally.
17607 (lock_and_info): New function.
17608 (tr_freehook): Call lock_and_info and pass symbol info as additional
17609 parameter to tr_where.
17610 (tr_mallochook): Likewise.
17611 (tr_reallochook): Likewise.
17612 (tr_memalignhook): Likewise.
17614 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17615 used and couldn't be at all thread-safe.
17617 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17619 * libio/freopen.c (freopen): Don't close old file descriptor
17620 before the new one is opened. Instead dup the new file descriptor
17621 to the old one after the new stream is created.
17622 * libio/freopen64.c (freopen64): Likewise.
17623 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17624 * libio/fileops.c (_IO_new_file_close_it): Handle new
17625 _IO_FLAGS2_NOCLOSE flag.
17626 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17627 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17628 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17629 _IO_FLAGS2_NOCLOSE flag.
17630 * include/unistd.h: Add hidden_proto for dup3.
17631 Define __have_dup3.
17632 * io/dup3.c: Define hidden symbol.
17633 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17636 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17637 when an incomplete long option is used.
17638 * posix/tst-getopt_long1.c: New file.
17639 * posix/Makefile (tests): Add tst-getopt_long1.
17642 * scripts/config.guess: Update from autoconf-2.68.
17643 * scripts/config.sub: Likewise.
17646 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17648 (has_cpuclock): ...this. New function.
17649 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17650 macro here based on has_cpuclock code.
17653 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17654 First byte (not low byte) is now always NUL.
17655 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17657 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17658 Use non-cancelable interfaces.
17661 * locale/iso-639.def: Add entry for Sorani.
17664 * include/stdlib.h: Move include protection to the right place.
17665 Define abort_msg_s. Declare __abort_msg with it.
17666 * stdlib/abort.c (__abort_msg): Adjust type.
17667 * assert/assert.c (__assert_fail_base): New function. Majority
17668 of code from __assert_fail. Allocate memory for __abort_msg with
17670 (__assert_fail): Now call __assert_fail_base.
17671 * assert/assert-perr.c: Remove bulk of implementation. Use
17672 __assert_fail_base.
17673 * include/assert.hL Declare __assert_fail_base.
17674 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17676 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17678 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17682 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17683 until all modules are registered in the DTV.
17684 * elf/Makefile: Add rules to build and run tst-tls19.
17685 * elf/tst-tls19.c: New file.
17686 * elf/tst-tls19mod1.c: New file.
17687 * elf/tst-tls19mod2.c: New file.
17688 * elf/tst-tls19mod3.c: New file.
17689 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17692 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17696 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17697 two-byte sequence errors.
17698 * iconvdata/Makefile (tests): Add bug-iconv8.
17699 * iconvdata/bug-iconv8.c: New file.
17702 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17705 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17708 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17709 (dummy_getcfa): New function.
17710 (init): Get _Unwind_GetCFA address, use dummy if not found.
17711 (backtrace_helper): In recursion check, also check whether CFA changes.
17712 (__backtrace): Completely initialize arg.
17714 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17715 storing incomplete byte sequence in state object. Avoid testing for
17716 guaranteed too small input if we know there is enough data available.
17718 2011-05-11 Andreas Schwab <schwab@redhat.com>
17720 * Makeconfig (+link-pie): Indent.
17721 * Rules (binaries-pie): Define if $(have-fpie) and
17723 (binaries-shared): Also filter out $(binaries-pie).
17724 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17725 * nscd/Makefile (others-pie): Add nscd.
17726 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17727 ($(objpfx)nscd): Remove command override.
17728 * login/Makefile (others-pie): Add pt_chown.
17729 ($(objpfx)pt_chown): Remove command override.
17730 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17731 remove command overrides.
17733 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17735 * libio/tst_putwc.c: Fix error messages.
17738 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17739 currently writing and seek to current position when not.
17740 * libio/Makefile (tests): Add bug-fclose1.
17741 * libio/bug-fclose1.c: New file.
17743 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17746 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17747 don't set DF_1_NODELETE here.
17748 (do_lookup_x): When entering new entry test for copy relocation
17749 and if necessary set DF_1_NODELETE flag.
17750 * elf/tst-unique4.cc: New file.
17751 * elf/tst-unique4.h: New file.
17752 * elf/tst-unique4lib.cc: New file.
17753 * elf/Makefile: Add rules to build and run tst-unique4.
17754 Patch by Piotr Bury <pbury@goahead.com>.
17756 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17759 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17762 * misc/mntent_r.c (addmntent): Flush the stream after the output
17765 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17766 (is_trusted_path_normalize): Skip initial colon. Append slash
17767 to empty buffer. Duplicate is_trusted_path code but allow
17768 constructed patch to be prefix.
17769 (is_dst): Allow $ORIGIN followed by /.
17770 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17771 Correct testing of result of is_trusted_path_normalize
17772 (decompose_rpath): Fix warning.
17774 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17777 * grp/initgroups.c (internal_getgrouplist): When we found the service
17778 list through the initgroups entry in nsswitch.conf do not always
17779 continue on a successful lookup. Don't always use the
17780 __nss_group_database value if it is set.
17781 * nss/nsswitch.conf (initgroups): Change action for successful db
17782 lookup to continue for compatibility.
17784 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17787 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17789 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17791 * iconvdata/tst-tables.sh: Likewise.
17792 * iconvdata/cp770.c: New file.
17793 * iconvdata/cp771.c: New file.
17794 * iconvdata/cp772.c: New file.
17795 * iconvdata/cp773.c: New file.
17796 * iconvdata/cp774.c: New file.
17797 * iconvdata/testdata/CP770: New file.
17798 * iconvdata/testdata/CP770..UTF8: New file.
17799 * iconvdata/testdata/CP771: New file.
17800 * iconvdata/testdata/CP771..UTF8: New file.
17801 * iconvdata/testdata/CP772: New file.
17802 * iconvdata/testdata/CP772..UTF8: New file.
17803 * iconvdata/testdata/CP773: New file.
17804 * iconvdata/testdata/CP773..UTF8: New file.
17805 * iconvdata/testdata/CP774: New file.
17806 * iconvdata/testdata/CP774..UTF8: New file.
17808 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17810 * iconvdata/gen-8bit-gap.sh: Likewise.
17811 * iconvdata/gen-8bit.sh: Likewise.
17813 * locale/iso-639.def: Add ary entry.
17816 * locale/C-translit.h.in: Add U20A1 transliteration.
17819 * locale/iso-639.def: Add wae entry.
17820 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17823 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17827 * locale/C-translit.h.in: Add entry for U20B9.
17828 Patch by pravin.d.s@gmail.com.
17830 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17833 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17834 ENAMETOOLONG use generic getcwd.
17835 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17836 in rtld. Use *stat64.
17837 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17838 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17839 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17840 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17841 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17842 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17843 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17844 __fstatat64 macros.
17845 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17846 * dirent/rewinddir.c: Add libc_hidden_def.
17847 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17848 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17850 * include/dirent.h (__alloc_dir): Add flags parameter.
17851 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17852 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17854 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17855 from fdopendir if O_CLOEXEC is already set.
17857 2011-03-15 Alan Modra <amodra@gmail.com>
17859 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17860 l_tls_firstbyte_offset non-zero. Save padding offset in
17861 l_tls_firstbyte_offset for later use.
17862 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17863 freeing static tls block.
17865 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17867 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17868 where #ifdef was intended. The intent is to prevent ARG_MAX from
17869 being defined by the kernel headers.
17871 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17874 * resolv/resolv.h: Define RES_NOTLDQUERY.
17875 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17876 no-tld-query and set RES_NOTLDQUERY.
17877 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17878 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17879 modern BIND to search name as TLD unless forbidden.
17881 2011-05-07 Petr Baudis <pasky@suse.cz>
17882 Ulrich Drepper <drepper@gmail.com>
17885 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17886 (is_trusted_path): ...to here.
17887 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17888 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17889 using is_trusted_path_normalize() in setuid scripts.
17891 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17893 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17894 __BEGIN/__END_DECLS.
17896 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17898 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17899 NSS_STATUS_NOTFOUND if no record was found.
17901 2011-05-05 Andreas Schwab <schwab@redhat.com>
17903 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17904 (headers-not-in-tirpc): Remove rpc/netdb.h
17905 * resolv/netdb.h: Revert last change.
17907 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17909 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17910 circular dependency between libgcc.a and libc.a.
17912 2011-05-05 Andreas Schwab <schwab@redhat.com>
17914 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17915 * nis/Makefile: Don't install rpcsvc/*.
17916 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17917 instead of <rpc/types.h>.
17918 (MAXHOSTNAMELEN): Define.
17920 2011-05-03 Andreas Schwab <schwab@redhat.com>
17922 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17924 2011-04-28 Maciej Babinski <mbabinski@google.com>
17927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17928 gethostbyname4_r when IPv6 results are possible.
17930 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17933 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17934 _PC_PIPE_BUF handling.
17936 2011-04-30 Bruno Haible <bruno@clisp.org>
17939 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17940 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17942 * inet/getnameinfo.c (getnameinfo): Likewise.
17944 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17946 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17947 to groups setting in database lookup.
17948 * nss/nsswitch.conf: Add initgroups entry.
17950 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17953 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17955 Patch by Eric Blake <eblake@redhat.com>.
17957 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17959 * sunrpc/Makefile (need-export-routines): Add svc_run.
17960 (routines): Remove svc_run.
17961 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17962 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17963 * sunrpc/svc_run.c (svc_run): Likewise.
17964 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17966 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17968 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17969 problem in reallocation in last patch.
17971 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17973 * sunrpc/Makefile: Move inclusion of Rules.
17975 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17977 * nss/nss_files/files-initgroups.c: New file.
17978 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17979 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17980 _nss_files_initgroups_dyn.
17982 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17984 * elf/elf.h (R_ARM_IRELATIVE): Define.
17986 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17988 * po/ru.po: Update from translation team.
17990 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17992 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17995 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17998 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17999 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18000 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18001 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18002 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18004 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18006 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18008 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18009 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18010 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18012 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18015 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18017 * stdlib/bug-getcontext.c: New file.
18018 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18020 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18022 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18023 instructions into .machine "z9-109".
18024 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18025 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18027 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18029 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18030 between environment variables and auxiliary vector.
18032 2011-04-16 Ulrich Drepper <drepper@gmail.com>
18034 * Makefile: Add rules to build linkobj/libc.so.
18035 * include/libc-symbols.h: Define libc_hidden_nolink.
18036 * include/rpc/auth.h: Mark functions which are to be hidden.
18037 * include/rpc/auth_des.h: Likewise.
18038 * include/rpc/auth_unix.h: Likewise.
18039 * include/rpc/clnt.h: Likewise.
18040 * include/rpc/des_crypt.h: Likewise.
18041 * include/rpc/key_prot.h: Likewise.
18042 * include/rpc/pmap_clnt.h: Likewise.
18043 * include/rpc/pmap_prot.h: Likewise.
18044 * include/rpc/pmap_rmt.h: Likewise.
18045 * include/rpc/rpc_msg.h: Likewise.
18046 * include/rpc/svc.h: Likewise.
18047 * include/rpc/svc_auth.h: Likewise.
18048 * include/rpc/xdr.h: Likewise.
18049 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18050 * nss/Makefile: Likewise.
18051 * sunrpc/Makefile: Don't install headers. Build library with normal
18052 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18053 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18054 for the compat linking library. Remove use of INTDEF/INTUSE.
18055 * sunrpc/auth_none.c: Likewise.
18056 * sunrpc/auth_unix.c: Likewise.
18057 * sunrpc/authdes_prot.c: Likewise.
18058 * sunrpc/authuxprot.c: Likewise.
18059 * sunrpc/clnt_gen.c: Likewise.
18060 * sunrpc/clnt_perr.c: Likewise.
18061 * sunrpc/clnt_raw.c: Likewise.
18062 * sunrpc/clnt_simp.c: Likewise.
18063 * sunrpc/clnt_tcp.c: Likewise.
18064 * sunrpc/clnt_udp.c: Likewise.
18065 * sunrpc/clnt_unix.c: Likewise.
18066 * sunrpc/des_crypt.c: Likewise.
18067 * sunrpc/des_soft.c: Likewise.
18068 * sunrpc/get_myaddr.c: Likewise.
18069 * sunrpc/key_call.c: Likewise.
18070 * sunrpc/key_prot.c: Likewise.
18071 * sunrpc/netname.c: Likewise.
18072 * sunrpc/pm_getmaps.c: Likewise.
18073 * sunrpc/pm_getport.c: Likewise.
18074 * sunrpc/pmap_clnt.c: Likewise.
18075 * sunrpc/pmap_prot.c: Likewise.
18076 * sunrpc/pmap_prot2.c: Likewise.
18077 * sunrpc/pmap_rmt.c: Likewise.
18078 * sunrpc/publickey.c: Likewise.
18079 * sunrpc/rpc_cmsg.c: Likewise.
18080 * sunrpc/rpc_common.c: Likewise.
18081 * sunrpc/rpc_dtable.c: Likewise.
18082 * sunrpc/rpc_prot.c: Likewise.
18083 * sunrpc/rpc_thread.c: Likewise.
18084 * sunrpc/rtime.c: Likewise.
18085 * sunrpc/svc.c: Likewise.
18086 * sunrpc/svc_auth.c: Likewise.
18087 * sunrpc/svc_authux.c: Likewise.
18088 * sunrpc/svc_raw.c: Likewise.
18089 * sunrpc/svc_run.c: Likewise.
18090 * sunrpc/svc_simple.c: Likewise.
18091 * sunrpc/svc_tcp.c: Likewise.
18092 * sunrpc/svc_udp.c: Likewise.
18093 * sunrpc/svc_unix.c: Likewise.
18094 * sunrpc/svcauth_des.c: Likewise.
18095 * sunrpc/xcrypt.c: Likewise.
18096 * sunrpc/xdr.c: Likewise.
18097 * sunrpc/xdr_array.c: Likewise.
18098 * sunrpc/xdr_float.c: Likewise.
18099 * sunrpc/xdr_intXX_t.c: Likewise.
18100 * sunrpc/xdr_mem.c: Likewise.
18101 * sunrpc/xdr_rec.c: Likewise.
18102 * sunrpc/xdr_ref.c: Likewise.
18103 * sunrpc/xdr_sizeof.c: Likewise.
18104 * sunrpc/xdr_stdio.c: Likewise.
18106 2011-04-10 Ulrich Drepper <drepper@gmail.com>
18109 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18110 * sysdeps/ia64/dl-tls.h: Likewise.
18111 * sysdeps/powerpc/dl-tls.h: Likewise.
18112 * sysdeps/s390/dl-tls.h: Likewise.
18113 * sysdeps/sh/dl-tls.h: Likewise.
18114 * sysdeps/sparc/dl-tls.h: Likewise.
18115 * sysdeps/x86_64/dl-tls.h: Likewise.
18116 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18118 2011-03-14 Andreas Schwab <schwab@redhat.com>
18120 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18121 rpath element also skip the following colon.
18122 (expand_dynamic_string_token): Add is_path parameter and pass
18123 down to DL_DST_REQUIRED and _dl_dst_substitute.
18124 (decompose_rpath): Call expand_dynamic_string_token with
18125 non-zero is_path. Ignore empty rpaths.
18126 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18129 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18134 2011-04-09 Ulrich Drepper <drepper@gmail.com>
18137 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18138 Patch by Filipe David Manana <fdmanana@apache.org>.
18140 2011-04-07 Andreas Schwab <schwab@redhat.com>
18142 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18143 Maintain aligned stack.
18144 (CHECK_RSP): Remove unused macro.
18146 2011-04-03 Ulrich Drepper <drepper@gmail.com>
18148 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18149 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18151 2011-04-02 Ulrich Drepper <drepper@gmail.com>
18153 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18155 * include/features.h: Mention __USE_XOPEN2K8 in comment.
18157 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18160 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18161 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18162 * sysdeps/x86_64/memmove.c: New file.
18163 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18164 (memcpy): Renamed to ...
18165 (__new_memcpy): This.
18166 (memcpy): Provide GLIBC_2_14 memcpy.
18167 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18168 (memcpy): Provide GLIBC_2_2_5 memcpy.
18170 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18173 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18175 2011-03-30 Andreas Schwab <schwab@redhat.com>
18177 * misc/syncfs.c: New file.
18178 * misc/Makefile (routines): Add syncfs.
18179 * posix/unistd.h: Declare syncfs.
18180 * sysdeps/unix/syscalls.list: Add syncfs.
18182 2011-04-01 Andreas Schwab <schwab@redhat.com>
18184 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18186 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18187 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18189 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18191 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18194 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18196 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18197 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18198 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18200 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18204 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18205 sync_file_range.c with -fexceptions.
18206 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18207 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18208 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18209 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18210 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18211 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18212 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
18213 sync_file_range as cancellation point
18214 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18215 now a wrapper around __call_sync_file_range with cancellation handling.
18216 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18217 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18218 function name to __call_sync_file_range.
18219 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18220 Add call_sync_file_range.
18222 2011-04-01 Andreas Schwab <schwab@redhat.com>
18224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18227 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18229 * iconv/iconv.h: Fix typo in comment.
18230 * io/fcntl.h: Likewise.
18231 * libio/stdio.h: Likewise.
18232 * posix/spawn.h: Likewise.
18233 * posix/unistd.h: Likewise.
18234 * stdlib/stdlib.h: Likewise.
18235 * time/time.h: Likewise.
18236 * wcsmbs/wchar.h: Likewise.
18238 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18239 open_by_handle): Add.
18240 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18241 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18242 Augment a few comments.
18243 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18245 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18247 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18248 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18251 * io/fcntl.h (AT_EMPTY_PATH): Define.
18253 2011-03-30 Ulrich Drepper <drepper@gmail.com>
18255 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18256 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18257 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18259 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
18260 * Versions.def: Add GLIBC_2.14.
18261 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18264 2011-03-22 Ulrich Drepper <drepper@gmail.com>
18266 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18268 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18270 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18273 * string/test-strncmp.c (do_page_test): New function.
18274 (check2): Likewise.
18275 (test_main): Call check2.
18276 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18278 2011-03-20 Ulrich Drepper <drepper@gmail.com>
18281 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18282 Handle cache information in CPU leaf 4.
18283 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18285 2011-03-18 Ulrich Drepper <drepper@gmail.com>
18288 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18289 character representation.
18290 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18292 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18294 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18295 END(__isnan) to END(__isnanf) to match function entry point/label
18296 EALIGN(__isnanf,...).
18298 2011-03-10 Jakub Jelinek <jakub@redhat.com>
18300 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18302 2011-03-10 Ulrich Drepper <drepper@gmail.com>
18305 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18306 copy from the symbol referenced in the relocation to initialize the
18308 Patch by Piotr Bury <pbury@goahead.com>.
18309 * elf/Makefile: Add rules to build and tst-unique3.
18310 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18311 * elf/tst-unique3.cc: New file.
18312 * elf/tst-unique3.h: New file.
18313 * elf/tst-unique3lib.cc: New file.
18314 * elf/tst-unique3lib2.cc: New file.
18316 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18318 2011-03-10 Mike Frysinger <vapier@gentoo.org>
18320 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18321 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18324 2011-03-06 Ulrich Drepper <drepper@gmail.com>
18326 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18327 to-be-loaded object along a path to loader is ld.so.
18329 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18330 Ulrich Drepper <drepper@gmail.com>
18332 * sysdeps/x86_64/memset.S: After aligning destination, code
18333 branches to different locations depending on the value of
18334 misalignment, when multiarch is enabled. Fix this.
18336 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18338 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18339 Set _x86_64_preferred_memory_instruction for AMD processsors.
18340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18341 Set bit_Prefer_SSE_for_memop for AMD processors.
18343 2011-03-04 Ulrich Drepper <drepper@gmail.com>
18345 * libio/fmemopen.c (fmemopen): Optimize a bit.
18347 2011-03-03 Andreas Schwab <schwab@redhat.com>
18349 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18351 2011-03-03 Roland McGrath <roland@redhat.com>
18353 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18355 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18357 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
18358 __bzero_ultra1 instead of __memset_ultra1.
18360 2011-02-23 Andreas Schwab <schwab@redhat.com>
18361 Ulrich Drepper <drepper@gmail.com>
18364 * include/link.h (struct link_map): Add l_orig_initfini.
18365 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18366 returning unsuccessfully.
18367 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18368 close of a file loaded at startup, restore the original l_initfini
18370 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18371 list, store the pointer.
18372 * elf/Makefile ($(objpfx)noload-mem): New rule.
18373 (noload-ENV): Define.
18374 (tests): Add $(objpfx)noload-mem.
18375 * elf/noload.c: Include <memcheck.h>.
18376 (main): Call mtrace. Close all opened handles.
18378 2011-02-17 Andreas Schwab <schwab@redhat.com>
18381 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18382 dependencies are missing.
18384 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18386 Fix __if_freereq crash: Unlike the generic version which uses free,
18388 * sysdeps/mach/hurd/ifreq.h: New file.
18390 2011-01-27 Petr Baudis <pasky@suse.cz>
18391 Ulrich Drepper <drepper@gmail.com>
18394 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18395 to extend_alloca().
18396 * stdio-common/bug23.c: New file.
18397 * stdio-common/Makefile (tests): Add bug23.
18399 2010-09-28 Andreas Schwab <schwab@redhat.com>
18400 Ulrich Drepper <drepper@gmail.com>
18403 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18404 before performing relro protection. At old place add assertion
18405 to make sure nothing changed.
18407 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18408 Glauber de Oliveira Costa <glommer@gmail.com>
18410 * elf/elf.h: Add new ARM TLS relocs.
18412 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18415 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18417 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18419 * sysdeps/wordsize-64/tst-writev.c: New file.
18421 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18423 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18424 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18425 insns in _dl_start to prevent a TOC reference before relocs are
18428 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18431 * Makeconfig: Remove RANLIB definition.
18432 * Makerules: Don't use RANLIB.
18433 * aclocal.m4: Remove ranlib test.
18434 * configure.in: No need to check for ranlib.
18435 * elf/rtld-Rules: Don't use RANLIB.
18437 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18439 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18441 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18442 inclusion protection macro.
18444 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18445 SIGRTMIN and SIGRTMAX and print information in that case only when
18446 SIGRTMIN is defined.
18448 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18450 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18451 arginfo fn returning -1.
18453 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18454 and thousands string is zero terminated.
18456 2011-02-03 Andreas Schwab <schwab@redhat.com>
18458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18459 sysdeps/unix/sysv/linux/bits/socket.h.
18461 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18463 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18464 (__CPU_COUNT): Remove old macros.
18465 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18466 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18467 (__CPU_ALLOC, __CPU_FREE): Add macros.
18468 (__sched_cpualloc, __sched_cpufree): Add declarations.
18470 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18472 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18473 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18474 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18475 (readdhstai): Return value of addhstaiX call.
18476 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18477 (addgrbyX): Return value returned by cache_addgr.
18478 (readdgrbyname): Return value returned by addgrbyX.
18479 (readdgrbygid): Likewise.
18480 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18481 (addpwbyX): Return value returned by cache_addpw.
18482 (readdpwbyname): Return value returned by addhstbyX.
18483 (readdpwbyuid): Likewise.
18484 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18485 (addservbyX): Return value returned by cache_addserv.
18486 (readdservbyname): Return value returned by addservbyX:
18487 (readdservbyport): Likewise.
18488 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18489 (addhstbyX): Return value returned by cache_addhst.
18490 (readdhstbyname): Return value returned by addhstbyX.
18491 (readdhstbyaddr): Likewise.
18492 (readdhstbynamev6): Likewise.
18493 (readdhstbyaddrv6): Likewise.
18494 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18495 (readdinitgroups): Return value returned by addinitgroupsX.
18496 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18497 (prune_cache): Keep track of timeout value of re-added entries.
18498 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18499 * nscd/nscd.h: Adjust prototypes of readd* functions.
18501 2011-02-04 Roland McGrath <roland@redhat.com>
18503 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18504 (nis_stats): Likewise.
18505 * nis/nis_modify.c (nis_modify): Likewise.
18506 * nis/nis_remove.c (nis_remove): Likewise.
18507 * nis/nis_add.c (nis_add): Likewise.
18509 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18511 * posix/fnmatch_loop.c: Add some consts.
18513 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18515 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18518 * config.make.in (config-cflags-novzeroupper): Define.
18519 * configure.in: Substitute libc_cv_cc_novzeroupper.
18520 * elf/Makefile (AVX-CFLAGS): Define.
18521 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18522 (CFLAGS-tst-auditmod4a.c): Likewise.
18523 (CFLAGS-tst-auditmod4b.c): Likewise.
18524 (CFLAGS-tst-auditmod6b.c): Likewise.
18525 (CFLAGS-tst-auditmod6c.c): Likewise.
18526 (CFLAGS-tst-auditmod7b.c): Likewise.
18527 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18529 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18531 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18532 function to the callback.
18533 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18535 2011-02-02 Andreas Schwab <schwab@redhat.com>
18537 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18540 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18543 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18545 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18547 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18550 * elf/Makefile: Add rules to build and run new test.
18551 * elf/tst-initorder.c: New file.
18552 * elf/tst-initorder.exp: New file.
18553 * elf/tst-initordera1.c: New file.
18554 * elf/tst-initordera2.c: New file.
18555 * elf/tst-initordera3.c: New file.
18556 * elf/tst-initordera4.c: New file.
18557 * elf/tst-initorderb1.c: New file.
18558 * elf/tst-initorderb2.c: New file.
18559 * elf/tst-order-a1.c: New file.
18560 * elf/tst-order-a2.c: New file.
18561 * elf/tst-order-a3.c: New file.
18562 * elf/tst-order-a4.c: New file.
18563 * elf/tst-order-b1.c: New file.
18564 * elf/tst-order-b2.c: New file.
18565 * elf/tst-order-main.c: New file.
18566 New test case by George Gensure <werkt0@gmail.com>.
18568 2010-10-01 Andreas Schwab <schwab@redhat.com>
18570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18571 decoding ACE if AI_CANONIDN.
18573 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18575 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18577 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18579 * version.h (RELEASE): Bump for 2.13 release.
18580 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18582 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18584 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18586 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18587 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18588 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18589 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18591 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18593 * posix/getconf.c: Update copyright year.
18594 * catgets/gencat.c: Likewise.
18595 * csu/version.c: Likewise.
18596 * debug/catchsegv.sh: Likewise.
18597 * debug/xtrace.sh: Likewise.
18598 * elf/ldconfig.c: Likewise.
18599 * elf/ldd.bash.in: Likewise.
18600 * elf/sprof.c (print_version): Likewise.
18601 * iconv/iconv_prog.c: Likewise.
18602 * iconv/iconvconfig.c: Likewise.
18603 * locale/programs/locale.c: Likewise.
18604 * locale/programs/localedef.c: Likewise.
18605 * malloc/memusage.sh: Likewise.
18606 * malloc/mtrace.pl: Likewise.
18607 * nscd/nscd.c (print_version): Likewise.
18608 * nss/getent.c: Likewise.
18610 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18611 PF_CAIF, and PF_ALG.
18612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18614 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18616 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18617 (modules-names): Use them.
18618 (ifunc-test-modules, ifunc-pie-tests): Define.
18619 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18620 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18621 (test-extras): Likewise.
18622 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18623 $(compile-command.c).
18624 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18625 (all-built-dso): Define.
18626 (check-textrel.out, check-execstack.out): Depend on it.
18628 * configure.in: Don't override --enable-multi-arch.
18630 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18633 * nscd/hstcache.c (tryagain): Define.
18634 (cache_addhst): Return tryagain not notfound for temporary errors.
18635 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18638 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18641 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18642 to make the syscall.
18643 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18646 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18647 and fall back to matching as normal character if the string ends before
18648 the matching ']' is found. This is what POSIX requires.
18649 * posix/testfnm.c: Adjust test result.
18650 * posix/globtest.sh: Adjust test result. Add new test.
18651 * posix/tst-fnmatch.input: Likewise.
18652 * posix/tst-fnmatch2.c: Add new test.
18654 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18656 * elf/Makefile (check-execstack): Revert last change. Depend on
18658 (check-execstack.h): New target.
18659 (generated): Add check-execstack.h.
18660 * elf/check-execstack.c: Include "check-execstack.h".
18661 (main): Revert last change.
18662 (handle_file): Return zero if GNU_STACK is absent and
18663 DEFAULT_STACK_PERMS doesn't include PF_X.
18665 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18667 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18668 in child fails because the descriptor is already closed.
18669 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18670 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18671 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18674 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18678 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18679 temporary buffer used to handle multi lookups locally.
18680 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18682 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18684 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18687 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18689 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18690 alignment for SSE2.
18692 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18695 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18696 characters. When rounding increased number of integer digits recompute
18698 * stdio-common/tst-grouping.c: New file.
18699 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18701 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18703 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18704 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18706 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18708 * bits/select.h: Likewise.
18710 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18712 * po/ja.po: Update from translation team.
18714 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18717 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18718 implementation just like for lxstat, fxstatat, et al.
18720 2010-12-27 Jim Meyering <meyering@redhat.com>
18723 * posix/regexec.c (build_trtable): Return failure indication upon
18724 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18726 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18729 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18730 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18731 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18732 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18735 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18738 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18739 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18741 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18743 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18744 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18745 script has SORT_BY_INIT_PRIORITY.
18746 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18747 NO_CTORS_DTORS_SECTIONS is defined.
18748 * elf/soinit.c: Likewise.
18749 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18750 NO_CTORS_DTORS_SECTIONS is defined.
18751 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18752 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18753 * sysdeps/sh/init-first.c: Likewise.
18754 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18756 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18758 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18759 always use the slow path.
18761 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18763 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18764 similar rule which adds the sysdep directories to the header search in
18765 order to pick up the correct platform stackinfo.h.
18766 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18767 perform test if it is, otherwise return successfully without testing.
18768 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18769 DEFAULT_STACK_PERMS define in stackinfo.h.
18770 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18771 defined in stackinfo.h.
18772 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18773 DEFAULT_STACK_PERMS defined in stackinfo.h.
18774 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18775 * sysdeps/ia64/stackinfo.h: Likewise.
18776 * sysdeps/s390/stackinfo.h: Likewise.
18777 * sysdeps/sh/stackinfo.h: Likewise.
18778 * sysdeps/sparc/stackinfo.h: Likewise.
18779 * sysdeps/x86_64/stackinfo.h: Likewise.
18780 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18781 PF_X for powerpc64. Retain PF_X for powerpc32.
18783 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18785 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18787 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18788 GETDENTS_64BIT_ALIGNED.
18790 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18792 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18794 2010-12-10 Andreas Schwab <schwab@redhat.com>
18796 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18799 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18800 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18802 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18803 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18805 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18808 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18811 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18813 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18815 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18817 * po/it.po: Update from translation team.
18819 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18821 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18824 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18826 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18828 2010-11-24 Andreas Schwab <schwab@redhat.com>
18830 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18832 (gaih_getanswer_slice): Likewise.
18834 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18838 2010-05-31 Petr Baudis <pasky@suse.cz>
18841 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18842 silently even in the chroot mode.
18844 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18846 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18847 last patch a bit. Pretty printing
18849 2010-05-31 Petr Baudis <pasky@suse.cz>
18852 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18853 initialization of skip_initgroups_dyn.
18855 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18857 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18858 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18860 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18862 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18864 2010-11-11 Andreas Schwab <schwab@redhat.com>
18866 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18867 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18868 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18869 ($(objpfx)tst-fnmatch-mem): New rule.
18870 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18871 * posix/tst-fnmatch.c (main): Call mtrace.
18873 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18876 Support Intel processor model 6 and model 0x2c.
18878 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18880 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18883 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18886 * string/test-strncasecmp.c (check_result): New function.
18887 (do_one_test): Use it.
18888 (check1): New function.
18889 (test_main): Use it.
18890 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18891 Support strcasecmp and strncasecmp.
18893 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18896 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18897 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18899 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18901 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18905 * sysdeps/x86_64/multiarch/bzero.S: New file.
18906 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18907 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18908 * sysdeps/x86_64/multiarch/memset.S: New file.
18909 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18911 Set bit_Prefer_SSE_for_memop for Intel processors.
18912 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18914 (index_Prefer_SSE_for_memop): Define.
18915 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18917 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18919 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18920 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18922 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18925 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18926 (__x86_64_raw_data_cache_size_half): Likewise.
18927 (__x86_64_raw_shared_cache_size): Likewise.
18928 (__x86_64_raw_shared_cache_size_half): Likewise.
18930 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18931 (__x86_64_raw_data_cache_size_half): Likewise.
18932 (__x86_64_raw_shared_cache_size): Likewise.
18933 (__x86_64_raw_shared_cache_size_half): Likewise.
18934 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18935 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18936 and __x86_64_raw_shared_cache_size_half. Round
18937 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18938 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18939 to multiple of 256 bytes.
18941 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18944 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18945 of inacessible symlinks. Verify result of symlink before returning it.
18946 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18947 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18949 2010-10-28 Erich Ritz <erichritz@gmail.com>
18951 * math/math.h (isinf): Fix typo in comment.
18953 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18955 * po/da.po: Update from translation team.
18957 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18959 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18960 is added to the list.
18962 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18963 Ulrich Drepper <drepper@gmail.com>
18965 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18966 the global list here. Move code to...
18967 (_dl_add_to_namespace_list): ...here. New function.
18968 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18969 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18970 * elf/dl-load.c (lose): Don't remove the element from the list.
18971 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18972 (_dl_map_object): Likewise.
18974 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18977 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18978 into all bytes of SSE register.
18979 Patch by Richard Li <richardpku@gmail.com>.
18981 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18984 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18987 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18989 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18990 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18991 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18992 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18997 2010-10-22 Andreas Schwab <schwab@redhat.com>
18999 * include/dlfcn.h (__RTLD_SECURE): Define.
19000 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19001 mode & __RTLD_SECURE instead.
19002 (open_path): Rename preloaded parameter to secure.
19003 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19004 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19005 * elf/dl-deps.c (openaux): Likewise.
19006 * elf/rtld.c (struct map_args): Remove is_preloaded.
19007 (map_doit): Don't use it.
19008 (dl_main): Likewise.
19009 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19010 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19012 2010-09-09 Andreas Schwab <schwab@redhat.com>
19014 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19015 (sysd-rules-targets): Remove duplicates.
19016 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19017 rtld-%.$o dependency.
19019 2010-10-18 Andreas Schwab <schwab@redhat.com>
19021 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19022 _dl_map_object do it.
19024 2010-10-19 Ulrich Drepper <drepper@gmail.com>
19026 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19027 fast fma builtins, define the macros in the C99 standard.
19028 (FP_FAST_FMAF): Likewise.
19029 (FP_FAST_FMAL): Likewise.
19030 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19032 * bits/mathdef.h: Update copyright year.
19033 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19035 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19037 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19038 builtins, define the macros in the C99 standard.
19039 (FP_FAST_FMAF): Likewise.
19040 (FP_FAST_FMAL): Likewise.
19041 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19043 (FP_FAST_FMAF): Likewise.
19045 2010-10-15 Jakub Jelinek <jakub@redhat.com>
19048 * math/libm-test.inc (fma_test): Some new testcases.
19049 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19050 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19051 y and infinite z. Do multiplication by C already in long double.
19052 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19054 y and infinite z. Do bitwise or of inexact bit into u.d.
19055 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19056 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19057 * sysdeps/i386/fpu/s_fma.S: Removed.
19058 * sysdeps/i386/fpu/s_fmal.S: Removed.
19060 2010-10-16 Jakub Jelinek <jakub@redhat.com>
19063 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19065 computation is not scheduled after fetestexcept. Fix value
19066 of minimum denormal long double.
19068 2010-10-14 Jakub Jelinek <jakub@redhat.com>
19071 * math/libm-test.inc (fma_test): Add some more tests.
19072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19075 2010-10-15 Andreas Schwab <schwab@redhat.com>
19077 * scripts/data/localplt-s390-linux-gnu.data: New file.
19078 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19080 2010-10-13 Jakub Jelinek <jakub@redhat.com>
19083 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19084 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19086 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19088 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19090 if one of x and y is very large and the other is subnormal.
19091 * sysdeps/s390/fpu/s_fmaf.c: New file.
19092 * sysdeps/s390/fpu/s_fma.c: New file.
19093 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19094 * sysdeps/powerpc/fpu/s_fma.S: New file.
19095 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19096 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19097 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19099 2010-10-12 Jakub Jelinek <jakub@redhat.com>
19102 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19104 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19105 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19106 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19107 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19108 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19109 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19110 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19112 2010-10-12 Ulrich Drepper <drepper@redhat.com>
19115 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19116 * posix/bug-regex31.input: Add test case.
19118 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19120 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19121 * posix/bug-regex31.input: New file.
19124 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19125 (parse_sub_exp): Fix last change, use postorder.
19127 * posix/bug-regex31.c: New file.
19128 * posix/Makefile: Add rules to build and run bug-regex31.
19130 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19133 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19136 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19137 to have entries in sys_siglist.
19140 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19143 2010-10-07 Jakub Jelinek <jakub@redhat.com>
19146 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19147 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19148 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19149 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19150 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19151 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19152 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19153 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19154 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19155 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19156 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19157 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19158 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19159 * math/ftestexcept.c (fetestexcept): Likewise.
19160 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19161 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19162 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19163 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19164 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19165 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19166 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19168 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19171 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19174 2010-10-06 Ulrich Drepper <drepper@gmail.com>
19176 * string/bug-strstr1.c: New file.
19177 * string/Makefile: Add rules to build and run bug-strstr1.
19179 2010-10-05 Eric Blake <eblake@redhat.com>
19182 * string/str-two-way.h (two_way_long_needle): Always clear memory
19183 when skipping input due to the shift table.
19185 2010-10-03 Ulrich Drepper <drepper@gmail.com>
19188 * malloc/mcheck.c: Handle large requests.
19191 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19192 for strncmp and strncasecmp.
19193 * string/stratcliff.c: Add tests for strcmp and strncmp.
19194 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19196 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19198 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19201 2010-09-30 Andreas Jaeger <aj@suse.de>
19203 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19204 (CGROUP_SUPER_MAGIC): Define.
19205 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19206 Handle btrfs and cgroup file systems.
19207 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19210 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
19212 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19213 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19215 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19218 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19219 trying to locate the ELF header.
19221 2010-09-27 Andreas Schwab <schwab@redhat.com>
19224 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19225 Mask out sign-bit copies when constructing f_fsid.
19227 2010-09-24 Petr Baudis <pasky@suse.cz>
19229 * debug/stack_chk_fail_local.c: Add missing licence exception.
19230 * debug/warning-nop.c: Likewise.
19232 2010-09-15 Joseph Myers <joseph@codesourcery.com>
19234 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19235 implementing getdents64 using getdents syscall, set d_type if
19236 __ASSUME_GETDENTS32_D_TYPE.
19238 2010-09-16 Andreas Schwab <schwab@redhat.com>
19240 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19241 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19243 2010-09-21 Ulrich Drepper <drepper@redhat.com>
19246 * posix/unistd.h: Undo change of feature selection for ftruncate from
19249 2010-09-20 Ulrich Drepper <drepper@redhat.com>
19251 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
19254 2010-09-20 Andreas Schwab <schwab@redhat.com>
19256 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19258 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19260 2010-09-14 Andreas Schwab <schwab@redhat.com>
19262 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19263 variables after CHECK_SP call.
19264 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19266 2010-09-13 Andreas Schwab <schwab@redhat.com>
19267 Ulrich Drepper <drepper@redhat.com>
19269 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19270 re-relocationg ld.so.
19271 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19272 _dl_init_paths call.
19273 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19276 2010-09-14 Ulrich Drepper <drepper@redhat.com>
19278 * resolv/res_init.c (__res_vinit): Count the default server we added.
19280 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19281 Ulrich Drepper <drepper@redhat.com>
19284 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19285 (____longjmp_chk): Use %ebx for saving value across system call.
19288 2010-09-06 Andreas Schwab <schwab@redhat.com>
19290 * manual/Makefile: Don't mix pattern rules with normal rules.
19292 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19294 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19296 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19297 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19298 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19299 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19300 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19303 2010-09-04 Ulrich Drepper <drepper@redhat.com>
19306 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19307 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19309 2010-09-02 Ulrich Drepper <drepper@redhat.com>
19311 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19312 * sysdeps/x86_64/addmul_1.S: Likewise.
19313 * sysdeps/x86_64/lshift.S: Likewise.
19314 * sysdeps/x86_64/mul_1.S: Likewise.
19315 * sysdeps/x86_64/rshift.S: Likewise.
19316 * sysdeps/x86_64/sub_n.S: Likewise.
19317 * sysdeps/x86_64/submul_1.S: Likewise.
19319 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19321 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19322 Define __sched_param instead of SCHED_* and sched_param when
19323 <bits/sched.h> is included with __need_schedparam defined.
19324 * bits/sched.h [__need_schedparam]
19325 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
19326 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19327 (__defined_schedparam): Define to 1.
19328 (__sched_param): New structure, identical to sched_param.
19329 (__need_schedparam): Undefine.
19331 2010-08-31 Mike Frysinger <vapier@gentoo.org>
19333 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19334 (epoll_create1): Declare.
19336 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19338 2010-08-31 Andreas Schwab <schwab@redhat.com>
19341 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19342 shifting retval into place.
19344 2010-09-01 Ulrich Drepper <drepper@redhat.com>
19346 * nis/rpcsvc/nis.h: Update copyright notice.
19347 * nis/rpcsvc/nis.x: Likewise.
19348 * nis/rpcsvc/nis_callback.h: Likewise.
19349 * nis/rpcsvc/nis_callback.x: Likewise.
19350 * nis/rpcsvc/nis_object.x: Likewise.
19351 * nis/rpcsvc/nis_tags.h: Likewise.
19352 * nis/rpcsvc/yp.h: Likewise.
19353 * nis/rpcsvc/yp.x: Likewise.
19354 * nis/rpcsvc/ypupd.h: Likewise.
19355 * nis/yp_xdr.c: Likewise.
19356 * nis/ypupdate_xdr.c: Likewise.
19358 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19359 mainly the body of pmap_getport. Add parameters to specify timeouts.
19360 (pmap_getport): Use __libc_rpc_getport.
19361 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19362 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19363 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19365 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19370 2010-08-27 Roland McGrath <roland@redhat.com>
19372 * sysdeps/i386/i686/multiarch/Makefile
19373 (CFLAGS-varshift.c): New variable.
19375 2010-08-27 Ulrich Drepper <drepper@redhat.com>
19377 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19378 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19380 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19382 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19384 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19386 * sysdeps/x86_64/strlen.S: Unroll the loop.
19387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19388 strlen-sse2 strlen-sse2-bsf.
19389 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19390 __strlen_no_bsf if bit_Slow_BSF is set.
19391 (__strlen_sse42): Removed.
19392 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19393 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19395 2010-08-25 Roland McGrath <roland@redhat.com>
19397 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19398 * sysdeps/x86_64/multiarch/varshift.c: New file.
19399 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19400 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19401 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19402 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19404 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19407 strlen-sse2 strlen-sse2-bsf.
19408 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19409 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19410 (__strlen_sse2): Removed.
19411 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19412 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19414 bit_Slow_BSF for Atom.
19415 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19416 (index_Slow_BSF): Define.
19417 (HAS_SLOW_BSF): Define.
19419 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19422 * resolv/res_init.c (__res_vinit): When no server address at all
19423 is given default to loopback.
19425 2010-08-24 Roland McGrath <roland@redhat.com>
19427 * configure.in: Remove config-name.h generation.
19428 * configure: Regenerated.
19429 * config-name.in: File removed.
19430 * scripts/config-uname.sh: New file.
19431 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19432 ($(objdir)config-name.h): New target.
19434 * sunrpc/rpc_parse.h: Avoid nested comment.
19436 2010-08-24 Richard Henderson <rth@redhat.com>
19437 Ulrich Drepper <drepper@redhat.com>
19438 H.J. Lu <hongjiu.lu@intel.com>
19440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19442 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19443 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19444 _mm_alignr_epi8 with _mm_loadu_si128.
19445 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19446 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19447 (__m128i_shift_right): Removed.
19448 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19449 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19450 * sysdeps/x86_64/multiarch/varshift.h: New file.
19451 * sysdeps/x86_64/multiarch/varshift.S: New file.
19453 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19455 * configure.in: Move assembler checks to before sysdep dir checking.
19457 2010-08-20 Petr Baudis <pasky@suse.cz>
19459 * LICENSES: Sync the sunrpc license.
19461 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19463 * sunrpc/auth_des.c: Update copyright notice once again.
19464 * sunrpc/auth_none.c: Likewise.
19465 * sunrpc/auth_unix.c: Likewise.
19466 * sunrpc/authdes_prot.c: Likewise.
19467 * sunrpc/authuxprot.c: Likewise.
19468 * sunrpc/bindrsvprt.c: Likewise.
19469 * sunrpc/clnt_gen.c: Likewise.
19470 * sunrpc/clnt_perr.c: Likewise.
19471 * sunrpc/clnt_raw.c: Likewise.
19472 * sunrpc/clnt_simp.c: Likewise.
19473 * sunrpc/clnt_tcp.c: Likewise.
19474 * sunrpc/clnt_udp.c: Likewise.
19475 * sunrpc/clnt_unix.c: Likewise.
19476 * sunrpc/des_crypt.c: Likewise.
19477 * sunrpc/des_soft.c: Likewise.
19478 * sunrpc/get_myaddr.c: Likewise.
19479 * sunrpc/getrpcport.c: Likewise.
19480 * sunrpc/key_call.c: Likewise.
19481 * sunrpc/key_prot.c: Likewise.
19482 * sunrpc/openchild.c: Likewise.
19483 * sunrpc/pm_getmaps.c: Likewise.
19484 * sunrpc/pm_getport.c: Likewise.
19485 * sunrpc/pmap_clnt.c: Likewise.
19486 * sunrpc/pmap_prot.c: Likewise.
19487 * sunrpc/pmap_prot2.c: Likewise.
19488 * sunrpc/pmap_rmt.c: Likewise.
19489 * sunrpc/rpc/auth.h: Likewise.
19490 * sunrpc/rpc/auth_unix.h: Likewise.
19491 * sunrpc/rpc/clnt.h: Likewise.
19492 * sunrpc/rpc/des_crypt.h: Likewise.
19493 * sunrpc/rpc/key_prot.h: Likewise.
19494 * sunrpc/rpc/netdb.h: Likewise.
19495 * sunrpc/rpc/pmap_clnt.h: Likewise.
19496 * sunrpc/rpc/pmap_prot.h: Likewise.
19497 * sunrpc/rpc/pmap_rmt.h: Likewise.
19498 * sunrpc/rpc/rpc.h: Likewise.
19499 * sunrpc/rpc/rpc_des.h: Likewise.
19500 * sunrpc/rpc/rpc_msg.h: Likewise.
19501 * sunrpc/rpc/svc.h: Likewise.
19502 * sunrpc/rpc/svc_auth.h: Likewise.
19503 * sunrpc/rpc/types.h: Likewise.
19504 * sunrpc/rpc/xdr.h: Likewise.
19505 * sunrpc/rpc_clntout.c: Likewise.
19506 * sunrpc/rpc_cmsg.c: Likewise.
19507 * sunrpc/rpc_common.c: Likewise.
19508 * sunrpc/rpc_cout.c: Likewise.
19509 * sunrpc/rpc_dtable.c: Likewise.
19510 * sunrpc/rpc_hout.c: Likewise.
19511 * sunrpc/rpc_main.c: Likewise.
19512 * sunrpc/rpc_parse.c: Likewise.
19513 * sunrpc/rpc_parse.h: Likewise.
19514 * sunrpc/rpc_prot.c: Likewise.
19515 * sunrpc/rpc_sample.c: Likewise.
19516 * sunrpc/rpc_scan.c: Likewise.
19517 * sunrpc/rpc_scan.h: Likewise.
19518 * sunrpc/rpc_svcout.c: Likewise.
19519 * sunrpc/rpc_tblout.c: Likewise.
19520 * sunrpc/rpc_util.c: Likewise.
19521 * sunrpc/rpc_util.h: Likewise.
19522 * sunrpc/rpcinfo.c: Likewise.
19523 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19524 * sunrpc/rpcsvc/key_prot.x: Likewise.
19525 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19526 * sunrpc/rpcsvc/mount.x: Likewise.
19527 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19528 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19529 * sunrpc/rpcsvc/rex.x: Likewise.
19530 * sunrpc/rpcsvc/rstat.x: Likewise.
19531 * sunrpc/rpcsvc/rusers.x: Likewise.
19532 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19533 * sunrpc/rpcsvc/spray.x: Likewise.
19534 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19535 * sunrpc/rtime.c: Likewise.
19536 * sunrpc/svc.c: Likewise.
19537 * sunrpc/svc_auth.c: Likewise.
19538 * sunrpc/svc_authux.c: Likewise.
19539 * sunrpc/svc_raw.c: Likewise.
19540 * sunrpc/svc_run.c: Likewise.
19541 * sunrpc/svc_simple.c: Likewise.
19542 * sunrpc/svc_tcp.c: Likewise.
19543 * sunrpc/svc_udp.c: Likewise.
19544 * sunrpc/svc_unix.c: Likewise.
19545 * sunrpc/svcauth_des.c: Likewise.
19546 * sunrpc/xcrypt.c: Likewise.
19547 * sunrpc/xdr.c: Likewise.
19548 * sunrpc/xdr_array.c: Likewise.
19549 * sunrpc/xdr_float.c: Likewise.
19550 * sunrpc/xdr_mem.c: Likewise.
19551 * sunrpc/xdr_rec.c: Likewise.
19552 * sunrpc/xdr_ref.c: Likewise.
19553 * sunrpc/xdr_sizeof.c: Likewise.
19554 * sunrpc/xdr_stdio.c: Likewise.
19556 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19559 2010-08-19 Andreas Schwab <schwab@redhat.com>
19561 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19563 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19565 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19566 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19567 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19568 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19569 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19570 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19571 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19572 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19573 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19574 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19575 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19576 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19577 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19578 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19580 2010-07-26 Anton Blanchard <anton@samba.org>
19582 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19583 * malloc/arena.c (heap_trim): Likewise.
19585 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19587 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19589 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19590 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19592 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19594 * sysdeps/i386/elf/Makefile: New file.
19596 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19598 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19599 from fanotify_init.
19600 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19603 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19605 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19607 * sysdeps/multiarch/strcmp.S: Likewise.
19609 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19611 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19612 strncase_l-nonascii.
19613 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19614 Add strncase_l-ssse3.
19615 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19616 * sysdeps/x86_64/strcmp.S: Likewise.
19617 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19618 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19619 * sysdeps/x86_64/strncase.S: New file.
19620 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19621 * sysdeps/x86_64/strncase_l.S: New file.
19622 * string/Makefile (strop-tests): Add strncasecmp.
19623 * string/test-strncasecmp.c: New file.
19625 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19628 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19629 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19631 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19633 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19635 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19637 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19638 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19639 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19641 2010-05-01 Alan Modra <amodra@gmail.com>
19643 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19644 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19645 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19646 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19647 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19648 tidying. Don't tail-call __sigjmp_save for static lib.
19649 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19651 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19652 (CALL_MCOUNT): Add eh info, and nop after bl.
19653 (TAIL_CALL_SYSCALL_ERROR): New macro.
19654 (PSEUDO_RET): Use it.
19655 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19656 Correct save location of integer regs and cr.
19657 (_dl_profile_resolve): Correct cr save location. Delete nops
19658 after bl when SHARED. Reduce cfi size a little by better
19659 placement of cfi directives.
19660 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19661 make a stack frame. Instead use parm save area as a temp.
19662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19663 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19665 Don't make a stack frame for parent, use parm save area.
19666 Increase child stack frame to 112 bytes. Don't save unused reg,
19667 and adjust reg usage. Set up cfi on error recovery and
19668 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19670 (__makecontext): Add dummy nop after jump to exit.
19671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19672 Use correct parm save area and cr save, reduce stack frame.
19673 Correct cfi for possible PSEUDO_RET frame setup.
19674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19675 Branch to local label emitted by PSEUDO_RET rather than
19678 2010-08-12 Andreas Schwab <schwab@redhat.com>
19681 * locale/programs/locale.c (print_assignment): New function.
19682 (show_locale_vars): Use it.
19684 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19686 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19688 (struct statfs64): Likewise.
19689 (_STATFS_F_FLAGS): Define.
19690 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19691 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19692 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19693 (ST_VALID): Define locally.
19694 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19695 __statvfs_getflags, use the provided value.
19696 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19697 __ASSUME_STATFS_F_FLAGS.
19699 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19701 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19702 Add sys/fanotify.h.
19703 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19704 fanotify_mask for GLIBC_2.13.
19705 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19706 fanotify_init and fanotify_mark.
19707 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19708 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19710 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19712 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19713 prlimit64 for GLIBC_2.13.
19714 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19716 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19719 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19720 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19721 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19722 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19724 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19727 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19728 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19730 * nss/Makefile: Add rules to build and run tst-nss-test1.
19731 * shlib-versions: Add entry for libnss_test1.
19732 * nss/nss_test1.c: New file.
19733 * nss/tst-nss-test1.c: New file.
19735 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19736 (__nss_configure_lookup): Set appropriate entry in
19737 __nss_configure_lookup to true.
19738 * nss/nsswitch.h: Define enum with indeces of databases in
19739 databases and __nss_database_custom arrays. Declare
19740 __nss_database_custom.
19741 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19742 to avoid using nscd when custom rules are installed.
19743 * nss/getXXbyYY_r.c: Likewise.
19744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19746 * nss/nss_files/files-parse.c: Whitespace fixes.
19748 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19751 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19752 * posix/fnmatch_loop.c: Likewise.
19754 2010-07-17 Andi Kleen <ak@linux.intel.com>
19756 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19757 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19758 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19759 * Versions.def [GLIBC_2.13]: Add.
19761 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19763 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19764 Also fail if tpwd after pwuid call is NULL.
19766 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19768 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19769 when converting to ms.
19771 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19773 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19774 EOPNOTSUPP errors with ENOTTY.
19775 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19776 EOPNOTSUPP errors with ENOTTY.
19778 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19780 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19781 Add strcasecmp_l-ssse3.
19782 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19784 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19785 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19786 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19788 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19790 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19792 * string/Makefile (strop-tests): Add strcasecmp.
19793 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19794 strcasecmp_l-nonascii.
19795 (gen-as-const-headers): Add locale-defines.sym.
19796 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19797 * sysdeps/x86_64/strcasecmp.S: New file.
19798 * sysdeps/x86_64/strcasecmp_l.S: New file.
19799 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19800 * sysdeps/x86_64/locale-defines.sym: New file.
19801 * string/test-strcasecmp.c: New file.
19803 * string/test-strcasestr.c: Test both ends of the range of characters.
19804 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19806 2010-07-29 Roland McGrath <roland@redhat.com>
19809 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19811 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19813 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19816 2010-07-27 Andreas Schwab <schwab@redhat.com>
19818 * manual/memory.texi (Malloc Tunable Parameters): Document
19821 2010-07-26 Roland McGrath <roland@redhat.com>
19824 * configure.in (-fgnu89-inline check): Set and substitute
19825 gnu89_inline, not libc_cv_gnu89_inline.
19826 * configure: Regenerated.
19827 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19829 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19831 * string/test-strnlen.c: New file.
19832 * string/Makefile (strop-tests): Add strnlen.
19833 * string/tester.c (test_strnlen): Add a few more test cases.
19834 * string/tst-strlen.c: Better error reporting.
19836 * sysdeps/x86_64/strnlen.S: New file.
19838 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19840 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19841 lower-latency instructions.
19843 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19845 * string/test-strcasestr.c: New file.
19846 * string/test-strstr.c: New file.
19847 * string/Makefile (strop-tests): Add strstr and strcasestr.
19848 * string/str-two-way.h: Don't undefine MAX.
19849 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19851 2010-07-21 Andreas Schwab <schwab@redhat.com>
19853 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19854 strcasestr-nonascii.
19855 (CFLAGS-strcasestr-nonascii.c): Define.
19856 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19857 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19858 Remove unused attribute.
19860 2010-07-20 Roland McGrath <roland@redhat.com>
19862 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19863 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19864 ld.so.cache was broken. With it, there is no way to disable dsocaps
19865 like LD_HWCAP_MASK can disable hwcaps.
19867 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19869 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19871 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19873 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19874 call in strcasestr.
19875 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19876 __strcasestr_sse42_nonascii.
19877 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19878 strcasestr-nonascii.c.
19879 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19881 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19883 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19884 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19885 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19886 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19888 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19890 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19893 2010-07-06 Andreas Schwab <schwab@redhat.com>
19896 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19899 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19901 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19902 _PC_PIPE_BUF using F_GETPIPE_SZ.
19904 2010-07-05 Roland McGrath <roland@redhat.com>
19906 * manual/arith.texi (Rounding Functions): Fix rint description
19907 implicit in round description.
19909 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19911 * elf/Makefile: Fix linking for a few tests to make recent linker
19914 2010-06-30 Andreas Schwab <schwab@redhat.com>
19916 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19917 $(common-objpfx)libc_nonshared.a.
19919 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19921 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19922 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19923 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19924 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19925 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19926 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19927 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19928 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19943 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19944 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19945 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19946 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19947 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19948 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19949 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19950 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19951 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19952 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19953 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19954 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19970 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19972 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19973 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19974 * string/memmove.c (memmove): Renamed to ...
19975 (MEMMOVE): ...this. Default to memmove.
19976 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19977 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19980 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19981 mempcpy-ssse3-back memmove-ssse3-back.
19982 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19983 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19984 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19985 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19986 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19987 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19988 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19989 * sysdeps/x86_64/multiarch/memmove.c: New file.
19990 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19991 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19992 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19993 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19994 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19995 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19997 (index_Fast_Copy_Backward): Define.
19998 (HAS_ARCH_FEATURE): Define.
19999 (HAS_FAST_REP_STRING): Define.
20000 (HAS_FAST_COPY_BACKWARD): Define.
20002 2010-06-21 Andreas Schwab <schwab@redhat.com>
20004 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20005 Restore proper fallback handling.
20007 2010-06-19 Ulrich Drepper <drepper@redhat.com>
20010 * posix/group_member.c (__group_member): Correct checking loop.
20012 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20013 OOM in getpwuid_r correctly. Return error number when the caller
20014 should return, otherwise -1.
20015 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20016 call returning > 0 value.
20017 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20019 2010-06-07 Andreas Schwab <schwab@redhat.com>
20021 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20022 libc_nonshared.a from targets in modules-names.
20024 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20026 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20029 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
20031 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20032 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20033 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20034 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20036 2010-06-02 Andreas Schwab <schwab@redhat.com>
20038 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20040 2010-06-14 Ulrich Drepper <drepper@redhat.com>
20042 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20044 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20045 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20048 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20049 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20051 2010-06-14 Roland McGrath <roland@redhat.com>
20053 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20055 2010-06-07 Jakub Jelinek <jakub@redhat.com>
20057 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20058 __REDIRECT followed by __THROW.
20059 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20060 * posix/getopt.h (getopt): Likewise.
20062 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20064 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20065 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20066 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20068 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20069 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20071 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
20073 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20075 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20079 Properly check family and model.
20081 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20083 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20085 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
20087 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20089 2010-05-21 Ulrich Drepper <drepper@redhat.com>
20091 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20094 2010-05-19 Andreas Schwab <schwab@redhat.com>
20096 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20099 2010-05-21 Andreas Schwab <schwab@redhat.com>
20101 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20102 and internal_recvmmsg.
20103 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20104 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20105 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20106 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20108 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20109 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20110 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20112 2010-05-20 Andreas Schwab <schwab@redhat.com>
20114 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20116 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
20118 POWER7 optimizations.
20119 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20120 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20122 2010-05-19 Ulrich Drepper <drepper@redhat.com>
20124 * version.h: Update for 2.13 development version.
20126 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
20128 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20129 exceptions. Return 0.
20131 2010-05-07 Roland McGrath <roland@redhat.com>
20133 * elf/ldconfig.c (main): Add a const.
20135 2010-05-06 Ulrich Drepper <drepper@redhat.com>
20137 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20138 (args_options): Add no-idn option.
20139 (ahosts_keys_int): Add idn_flags to ai_flags.
20140 (parse_option): Handle 'i' option to clear idn_flags.
20142 * malloc/malloc.c (_int_free): Possible race in the most recently
20143 added check. Only act on the data if no current modification
20146 See ChangeLog.17 for earlier changes.