1 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
48 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
51 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
61 * include/ifunc-impl-list.h: New file.
62 * misc/ifunc-impl-list.c: Likewise.
63 * misc/Makefile (routines): Add ifunc-impl-list.
64 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65 * string/test-string.h: Include <ifunc-impl-list.h>.
66 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
67 impl_array): New variables.
68 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
70 (test_init): Call __libc_ifunc_impl_list to initialize
71 func_list if TEST_IFUNC and TEST_NAME are defined.
73 * string/Makefile (strop-tests): Add bcopy and bzero.
74 * string/test-bcopy.c: New file.
75 * string/test-bzero.c: Likewise.
76 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
78 * string/test-memset.c: Support bzero test if TEST_BZERO is
80 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
82 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
84 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
87 2012-10-10 Joseph Myers <joseph@codesourcery.com>
89 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
90 * configure: Regenerated.
92 * Makeconfig (+link-static-before-libc): Don't include
95 * libio/libio.h (_IO_pos_t): Remove.
97 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
99 * NEWS: Add note about FIPS mode. Wording suggested by Roland
102 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
104 * crypt/crypt-entry.c: Include fips-private.h.
105 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
106 * crypt/md5c-test.c (main): Tolerate disabled MD5.
107 * sysdeps/unix/sysv/linux/fips-private.h: New file.
108 * sysdeps/generic/fips-private.h: New file, dummy fallback.
110 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
112 * crypt/crypt-private.h: Include stdbool.h.
113 (_ufc_setup_salt_r): Return bool.
114 * crypt/crypt-entry.c: Include errno.h.
115 (__crypt_r): Return NULL with EINVAL for bad salt.
116 * crypt/crypt_util.c (bad_for_salt): New.
117 (_ufc_setup_salt_r): Check that salt is long enough and within
118 the specified alphabet.
119 * crypt/badsalttest.c: New file.
120 * crypt/Makefile (tests): Add it.
121 ($(objpfx)badsalttest): New.
123 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
125 * NEWS: Add entry for BZ #14602.
127 2012-10-09 Joseph Myers <joseph@codesourcery.com>
129 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
131 * math/libm-test.inc: Update comment listing what functions and
133 (isgreater_test): New function.
134 (isgreaterequal_test): Likewise.
135 (isless_test): Likewise.
136 (islessequal_test): Likewise.
137 (islessgreater_test): Likewise.
138 (isunordered_test): Likewise.
139 (main): Call the new functions.
141 2012-10-09 Roland McGrath <roland@hack.frob.com>
143 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
144 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
145 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
146 * sysdeps/i386/configure: Regenerated.
147 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
148 * sysdeps/mach/configure: Regenerated.
149 * sysdeps/mach/hurd/configure: Regenerated.
150 * sysdeps/powerpc/configure: Regenerated.
151 * sysdeps/powerpc/powerpc32/configure: Regenerated.
152 * sysdeps/powerpc/powerpc64/configure: Regenerated.
153 * sysdeps/s390/s390-32/configure: Regenerated.
154 * sysdeps/s390/s390-64/configure: Regenerated.
155 * sysdeps/sh/configure: Regenerated.
156 * sysdeps/sparc/configure: Regenerated.
157 * sysdeps/unix/sysv/linux/configure: Regenerated.
158 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
159 * sysdeps/x86_64/configure: Regenerated.
161 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
162 defined. Don't check if MAP is NULL.
164 2012-10-09 Joseph Myers <joseph@codesourcery.com>
166 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
167 (_G_stat64): Likewise.
168 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
169 (_G_stat64): Likewise.
170 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
171 instead of struct _G_stat64.
172 * libio/fileops.c (mmap_remap_check): Likewise.
173 (decide_maybe_mmap): Likewise.
174 (_IO_new_file_seekoff): Likewise.
175 (_IO_file_stat): Likewise.
176 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
178 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
179 instead of struct _G_stat64.
180 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
182 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
185 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
187 (CHECK_EOL): New macro.
188 (two_way_short_needle): Check beginning of haystack for EOL. Use
190 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
191 Replace with CHECK_EOL.
192 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
193 Replace with CHECK_EOL.
195 2012-10-08 Joseph Myers <joseph@codesourcery.com>
197 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
199 * math/libm-test.inc: Update comment listing what functions and
201 (finite_test): New function.
202 (isinf_test): Likewise.
203 (isnan_test): Likewise.
204 (fpclassify_test): Test subnormal input.
205 (isfinite_test): Likewise.
206 (isnormal_test): Likewise.
207 (main): Call the new functions.
209 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
212 * Makerules (%.dynsym): Force C locale when running
213 $(OBJDUMP) --dynamic-syms.
215 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
217 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
220 2012-10-06 David S. Miller <davem@davemloft.net>
222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
223 upper 32-bits of the length value in %o2 since we use branch-on-register
224 tests which consider the entire 64-bit register.
226 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
228 * string/test-strstr.c (check2): Add a test for page boundary.
230 2012-10-05 David S. Miller <davem@davemloft.net>
232 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
233 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
235 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
237 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
238 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
239 and bzero when HWCAP_SPARC_CRYPTO is present.
241 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
244 * string/test-strstr.c (check2): New function.
245 (test_main): Call check2.
247 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
249 * string/bug-strcasestr1.c (do_test): Moved to ...
250 * string/test-strcasestr.c (check1): Here. New function.
251 (do_one_test): Break out result checking code into ...
252 (check_result): This. New function.
253 (do_one_test): Call check_result.
254 (test_main): Call check1.
255 * string/bug-strchr1.c (do_test): Moved to ...
256 * string/test-strchr.c (check1): Here. New function.
257 (do_one_test): Break out result checking code into ...
258 (check_result): This. New function.
259 (do_one_test): Call check_result.
260 (test_main): Call check1.
261 * string/bug-strstr1.c (main): Moved to ...
262 * string/test-strchr.c (check1): Here. New function.
263 (do_one_test): Break out result checking code into ...
264 (check_result): This. New function.
265 (do_one_test): Call check_result.
266 (test_main): Call check1.
267 * string/bug-strcasestr1.c: Removed.
268 * string/bug-strchr1.c: Likewise.
269 * string/bug-strstr1.c: Likewise.
271 * elf/Makefile (dl-routines): Add hwcaps.
272 * elf/dl-support.c (_dl_important_hwcaps): Removed.
273 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
274 (_dl_important_hwcaps): Moved to ...
275 * elf/dl-hwcaps.c: Here. New file.
276 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
279 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
280 if IS_IN_rtld isn't defined.
282 * elf/dl-support.c (_dl_sysinfo_map): New.
283 Include "get-dynamic-info.h" and "setup-vdso.h".
284 (_dl_non_dynamic_init): Call setup_vdso.
285 * elf/dynamic-link.h: Don't include <assert.h>.
286 (elf_get_dynamic_info): Moved to ...
287 * elf/get-dynamic-info.h: Here. New file.
288 * elf/dynamic-link.h: Include "get-dynamic-info.h".
289 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
290 * elf/setup-vdso.h: Here. New file.
291 * elf/rtld.c: Include "setup-vdso.h".
292 (dl_main): Call setup_vdso.
294 2012-10-05 Joseph Myers <joseph@codesourcery.com>
296 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
297 creal in comment listing functions tested. List finite, isinf,
298 isnan, isless, islessequal, isgreater, isgreaterequal,
299 islessgreater, isunordered, lgamma_r and pow10 as functions and
300 macros not tested. Mention which functions not tested are aliases
301 for other functions. Fix typo. Note that signs of NaNs are not
304 * scripts/config.guess: Update from config.git.
305 * scripts/config.sub: Likewise.
307 2012-10-04 Roland McGrath <roland@hack.frob.com>
309 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
310 * misc/madvise.c (madvise): Renamed to __madvise.
311 Make madvise a weak alias.
312 * include/sys/mman.h: Declare __madvise.
313 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
314 * sysdeps/unix/syscalls.list
315 (madvise): Make __madvise the strong name, and madvise a weak alias.
316 * sysdeps/unix/sysv/linux/syscalls.list
317 (madvise, mmap): Remove redundant entries.
318 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
319 * malloc/malloc.c (mtrim): Likewise.
320 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
322 2012-10-03 Roland McGrath <roland@hack.frob.com>
324 * sysdeps/mach/hurd/dl-cache.c: File removed.
325 * config.h.in (USE_LDCONFIG): New #undef.
326 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
327 * configure: Regenerated.
328 * elf/Makefile (dl-routines): Add dl-cache only under
329 [$(use-ldconfig) = yes].
330 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
331 cache on [USE_LDCONFIG].
332 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
334 * elf/rtld.c (dl_main): Likewise.
336 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
338 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
339 _SC_LEVEL4_CACHE_LINESIZE.
341 2012-10-03 Roland McGrath <roland@hack.frob.com>
343 * sysdeps/unix/bsd/confstr.h: File removed.
345 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
347 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
350 2012-10-02 Roland McGrath <roland@hack.frob.com>
352 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
353 Make 'mapoff' field ElfW(Off) rather than off_t.
355 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
357 * nscd/Makefile: Remove nscd-cflags and all its users.
358 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
359 (CFLAGS-nonlib): Add compiler flags for nscd modules.
362 * malloc.c (malloc_printerr): Clarify error message.
364 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
368 Set bit_FMA_Usable if FMA is supported.
369 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
371 (bit_FMA4_Usable): Updated.
372 (index_FMA_Usable): New macro.
373 (CPUID_FMA): Likewise
374 (HAS_FMA): Defined with bit_FMA_Usable.
376 2012-10-01 Roland McGrath <roland@hack.frob.com>
378 * bits/types.h (__swblk_t): Type removed.
379 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
380 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
381 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
382 (__SWBLK_T_TYPE): Likewise.
383 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
384 (__SWBLK_T_TYPE): Likewise.
385 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
386 (__SWBLK_T_TYPE): Likewise.
387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
388 (__SWBLK_T_TYPE): Likewise.
390 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
391 Honza Horak <hhorak@redhat.com>
393 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
394 (xdr_mapname): Use YPMAXMAP as maxsize.
395 (xdr_peername): Use YPMAXPEER as maxsize.
396 (xdr_keydat): Use YPAXRECORD as maxsize.
397 (xdr_valdat): Use YPMAXRECORD as maxsize.
399 2012-10-01 Roland McGrath <roland@hack.frob.com>
401 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
403 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
404 * csu/init-first.c: ... here.
405 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
406 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
407 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
408 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
409 * sysdeps/i386/init-first.c: File removed.
410 * sysdeps/sh/init-first.c: File removed.
412 2012-10-01 Joseph Myers <joseph@codesourcery.com>
415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
416 if x * y might underflow to zero and z is zero.
417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
418 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
419 * math/libm-test.inc (min_subnorm_value): New variable.
420 (fma_test): Add more tests.
421 (fma_test_towardzero): Likewise.
422 (fma_test_downward): Likewise
423 (fma_test_upward): Likewise.
424 (initialize): Set min_subnorm_value.
426 2012-09-29 Joseph Myers <joseph@codesourcery.com>
429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
431 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
432 mode for addition resulting in exact zero.
433 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
436 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
437 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
438 * math/libm-test.inc (fma_test): Add more tests.
439 (fma_test_towardzero): New function.
440 (fma_test_downward): Likewise.
441 (fma_test_upward): Likewise.
442 (main): Call the new functions.
444 2012-09-28 David S. Miller <davem@davemloft.net>
446 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
448 2012-09-28 Roland McGrath <roland@hack.frob.com>
450 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
453 * sysdeps/gnu/_G_config.h: Moved to ...
454 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
455 * sysdeps/mach/hurd/_G_config.h: Moved to ...
456 * sysdeps/generic/_G_config.h: ... here.
458 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
460 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
462 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
463 Conditionalize target on [libnss_test1.so-version].
465 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
467 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
468 (elfobjdir): Move out of conditionals.
470 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
471 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
472 (__nss_lookup_function): Conditionalize label remove_from_tree on
473 [!DO_STATIC_NSS || SHARED], matching its only use.
475 2012-09-28 David S. Miller <davem@davemloft.net>
477 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
478 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
480 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
482 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
484 when HWCAP_SPARC_CRYPTO is present.
486 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
488 * io/tst-mknodat.c: Create a FIFO instead of a socket.
490 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
493 * stdio-common/vfprintf.c (process_string_arg): Revert
496 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
498 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
500 * stdio-common/tst-sprintf.c: Include <locale.h>
501 (main): Test sprintf's handling of incomplete multibyte
504 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
506 * elf/dl-runtime.c (VERSYMIDX): Removed.
507 * elf/dl-version.c (VERSYMIDX): Likewise.
508 * elf/do-rel.h (VERSYMIDX): Likewise.
510 * elf/dynamic-link.h (VERSYMIDX): Likewise.
511 * elf/rtld.c (VALIDX): Likewise.
513 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
514 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
515 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
516 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
520 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
522 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
524 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
527 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
529 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
530 addresses are in the same scope as 192.0.2/24.
531 * posix/gai.conf: Document new scope table defaults.
533 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
536 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
537 for ftell. Compute offsets from write pointers instead.
538 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
540 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
543 * libio/Makefile (tests): New test case tst-fseek.
544 * libio/tst-fseek.c: New test case to verify that fseek/ftell
545 combination works in wide mode.
546 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
547 state when the external buffer state changes.
549 2012-09-27 David S. Miller <davem@davemloft.net>
552 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
553 pass reloc->r_addend in as the 'high' argument to
554 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
558 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
560 * rt/tst-aio2.c: Include <pthread.h>.
561 * rt/tst-aio3.c: Likewise.
563 2012-09-27 Steve Ellcey <sellcey@mips.com>
565 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
567 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
569 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
570 contents on [SHARED].
572 2012-09-26 Marek Polacek <polacek@redhat.com>
576 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
577 for C++ and GCC <4.3 as well as for non GCC compilers.
579 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
583 2012-09-25 Roland McGrath <roland@hack.frob.com>
585 * Makefile.in (all, install): Declare with .PHONY.
586 Reported by Michael Hope <michael.hope@linaro.org>.
588 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
590 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
591 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
593 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
595 (sydep_routines): Add the new and the internal functions.
596 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
597 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
599 (GLIBC_2.17): Add the new function.
600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
601 (GLIBC_2.17): Likewise.
602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
603 (GLIBC_2.17): Likewise.
604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
605 (GLIBC_2.17): Likewise.
606 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
608 2012-09-25 Alan Modra <amodra@gmail.com>
610 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
611 Add release barrier before setting once_control to say
612 initialisation is done. Add hints on lwarx. Use macro in
614 (clear_once_control): Add release barrier.
616 2012-09-25 Joseph Myers <joseph@codesourcery.com>
619 * math/s_clog.c (__clog): Handle more values close to |z| = 1
621 * math/s_clog10.c (__clog10): Likewise.
622 * math/s_clog10f.c (__clog10f): Likewise.
623 * math/s_clog10l.c (__clog10l): Likewise.
624 * math/s_clogf.c (__clogf): Likewise.
625 * math/s_clogl.c (__clogl): Likewise.
626 * math/Makefile (libm-calls): Add x2y2m1.
627 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
628 (__x2y2m1): Likewise.
629 (__x2y2m1l): Likewise.
630 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
631 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
632 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
633 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
634 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
635 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
636 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
637 * sysdeps/i386/fpu/libm-test-ulps: Update.
638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
641 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
642 int as type of variable DEPTH.
643 (glob): Use size_t instead of int as type of variables NEWCOUNT
646 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
648 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
650 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
651 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
652 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
653 macros for using routine as __sincosf_ia32.
654 Use macro for function declaration and weak_alias.
655 * sysdeps/i386/fpu/libm-test-ulps: Update.
657 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
660 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
662 * math/s_cexpf.c (__cexpf): Likewise.
663 * math/s_csinf.c (__csinf): Likewise.
664 * math/s_csinhf.c (__csinhf): Likewise.
665 * math/s_ctanf.c (__ctanf): Likewise.
666 * math/s_ctanhf.c (__ctanhf): Likewise.
667 * math/s_ccosh.c (__ccoshf): Likewise.
668 * math/s_cexp.c (__cexpl): Likewise.
669 * math/s_csin.c (__csin): Likewise.
670 * math/s_csinh.c (__csinh): Likewise.
671 * math/s_ctan.c (__ctan): Likewise.
672 * math/s_ctanh.c (ctanh): Likewise.
673 * math/s_ccoshl.c (__ccoshl): Likewise.
674 * math/s_cexpl.c (__cexpl): Likewise.
675 * math/s_csinl.c (__csinl): Likewise.
676 * math/s_csinhl.c (__csinhl): Likewise.
677 * math/s_ctanl.c (__ctanl): Likewise.
678 * math/s_ctanhl.c (__ctanhl): Likewise.
680 2012-09-25 Joseph Myers <joseph@codesourcery.com>
682 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
683 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
684 (_IO_off_t): Define to __off_t, not _G_off_t.
685 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
686 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
687 (_IO_wint_t): Define to wint_t, not _G_wint_t.
688 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
689 type of __dummy and __dummy2 fields.
690 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
691 (_G_ssize_t): Likewise.
692 (_G_off_t): Likewise.
693 (_G_pid_t): Likewise.
694 (_G_uid_t): Likewise.
695 (_G_wchar_t): Likewise.
696 (_G_wint_t): Likewise.
697 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
698 (_G_ssize_t): Likewise.
699 (_G_off_t): Likewise.
700 (_G_pid_t): Likewise.
701 (_G_uid_t): Likewise.
702 (_G_wchar_t): Likewise.
703 (_G_wint_t): Likewise.
704 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
705 (_G_ssize_t): Likewise.
706 (_G_off_t): Likewise.
707 (_G_pid_t): Likewise.
708 (_G_uid_t): Likewise.
709 (_G_wchar_t): Likewise.
710 (_G_wint_t): Likewise.
712 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
714 * malloc/arena.c: Include malloc-sysdep.h.
715 (shrink_heap): Use check_may_shrink_heap to decide if madvise
716 is sufficient to shrink the heap or an unmap is needed.
717 * sysdeps/generic/malloc-sysdep.h: New file. Define
718 new function check_may_shrink_heap.
719 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
720 new function check_may_shrink_heap.
722 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
724 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
727 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
729 * catgets/test-gencat.sh: Add "set -e".
730 * elf/tst-pathopt.sh: Likewise.
731 * grp/tst_fgetgrent.sh: Likewise.
732 * iconvdata/run-iconv-test.sh: Likewise.
733 * intl/tst-gettext.sh: Likewise.
734 * intl/tst-gettext2.sh: Likewise.
735 * intl/tst-gettext4.sh: Likewise.
736 * intl/tst-gettext6.sh: Likewise.
737 * intl/tst-translit.sh: Likewise.
738 * io/ftwtest-sh: Likewise.
739 * libio/test-freopen.sh: Likewise.
740 * malloc/tst-mtrace.sh: Likewise.
741 * posix/globtest.sh: Likewise.
742 * posix/tst-getconf.sh: Likewise.
743 * posix/wordexp-tst.sh: Likewise.
744 * stdio-common/tst-printf.sh: Likewise.
745 * stdio-common/tst-unbputc.sh: Likewise.
746 * stdlib/tst-fmtmsg.sh: Likewise.
747 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
748 * catgets/Makefile: Do not specify -e option when running
749 testsuite shell scripts.
750 * elf/Makefile: Likewise.
751 * grp/Makefile: Likewise.
752 * iconvdata/Makefile: Likewise.
753 * intl/Makefile: Likewise.
754 * io/Makefile: Likewise.
755 * libio/Makefile: Likewise.
756 * malloc/Makefile: Likewise.
757 * posix/Makefile: Likewise.
758 * stdio-common/Makefile: Likewise.
759 * stdlib/Makefile: Likewise.
760 * sysdeps/x86_64/Makefile: Likewise.
762 * io/ftwtest-sh: Add copyright header.
763 * posix/globtest.sh: Likewise.
764 * posix/tst-getconf.sh: Likewise.
765 * posix/wordexp-tst.sh: Likewise.
766 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
768 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
771 * Makeconfig (+link): Defined as $(+link-static) if
772 $(build-shared) isn't yes.
773 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
775 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
777 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
780 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
781 new chunk size with MALLOC_ALIGN_MASK.
783 2012-09-24 Joseph Myers <joseph@codesourcery.com>
786 * stdio-common/printf_fphex.c: Include <stdbool.h> and
788 (__printf_fphex): Determine rounding using get_rounding_mode and
790 * stdio-common/tst-printf-round.c (struct hex_test): New
792 (hex_tests): New variable.
793 (test_hex_in_one_mode): New function.
794 (do_test): Also run tests for hex float output.
796 2012-09-21 Joseph Myers <joseph@codesourcery.com>
798 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
799 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
800 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
801 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
802 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
803 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
804 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
805 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
807 2012-09-20 Joseph Myers <joseph@codesourcery.com>
809 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
810 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
811 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
812 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
814 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
817 * elf/rtld.c (dl_main): Limit the check for self loading to normal
819 * elf/tst-rtld-load-self.sh: New test.
820 * elf/Makefile: Run it.
822 2012-09-18 Joseph Myers <joseph@codesourcery.com>
824 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
825 (tst-writev-ENV): Remove.
826 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
828 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
830 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
832 2012-09-17 Joseph Myers <joseph@codesourcery.com>
834 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
836 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
838 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
839 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
840 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
843 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
846 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
847 * config.make.in (have-cpp-asm-debuginfo): Removed.
848 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
849 * configure: Regenerated.
851 2012-09-14 Joseph Myers <joseph@codesourcery.com>
854 * stdio-common/printf_fp.c: Include <stdbool.h> and
856 (___printf_fp): Determine rounding using get_rounding_mode and
858 * stdio-common/tst-printf-round.c: New file.
859 * stdio-common/Makefile (tests): Add tst-printf-round.
860 (link-libm): New variable.
861 ($(objpfx)tst-printf-round): Depend in $(link-libm).
863 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
866 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
867 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
869 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
872 2012-09-13 Joseph Myers <joseph@codesourcery.com>
874 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
875 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
876 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
877 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
879 2012-09-12 Joseph Myers <joseph@codesourcery.com>
882 * include/rounding-mode.h: New file.
883 * sysdeps/generic/get-rounding-mode.h: Likewise.
884 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
885 * stdlib/strtod_l.c: Include <rounding-mode.h>.
886 (MAX_VALUE): New macro.
887 (MIN_VALUE): Likewise.
888 (overflow_value): New function.
889 (underflow_value): Likewise.
890 (round_and_return): Use overflow_value and underflow_value to
891 determine return values in overflow and underflow cases. Use
892 round_away to determine rounding depending on rounding mode.
893 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
894 determine return values in overflow and underflow cases.
895 * stdlib/tst-strtod-round.c: Include <fenv.h>.
896 (struct test_results): New structure.
897 (struct test): Use struct test_results to store expected results
898 for all rounding modes.
899 (TEST): Include expected results for all rounding modes.
900 (test_in_one_mode): New function.
901 (do_test): Use test_in_one_mode to compute and check results.
902 Check results for all rounding modes.
903 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
906 2012-12-09 Allan McRae <allan@archlinux.org>
908 * sysdeps/i386/fpu/libm-test-ulps: Update
910 2012-09-11 Joseph Myers <joseph@codesourcery.com>
912 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
913 (_G_int32_t): Likewise.
914 (_G_uint16_t): Likewise.
915 (_G_uint32_t): Likewise.
916 (_G_HAVE_BOOL): Likewise.
917 (_G_HAVE_ATEXIT): Likewise.
918 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
919 (_G_HAVE_IO_FILE_OPEN): Likewise.
920 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
921 (_G_int32_t): Likewise.
922 (_G_uint16_t): Likewise.
923 (_G_uint32_t): Likewise.
924 (_G_HAVE_BOOL): Likewise.
925 (_G_HAVE_ATEXIT): Likewise.
926 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
927 (_G_HAVE_IO_FILE_OPEN): Likewise.
928 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
929 (_G_int32_t): Likewise.
930 (_G_uint16_t): Likewise.
931 (_G_uint32_t): Likewise.
932 (_G_HAVE_BOOL): Likewise.
933 (_G_HAVE_ATEXIT): Likewise.
934 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
935 (_G_HAVE_IO_FILE_OPEN): Likewise.
937 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
939 * csu/libc-tls.c: Update copyright years.
941 2012-09-10 Joseph Myers <joseph@codesourcery.com>
943 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
944 [!_G_USING_THUNKS]: Remove conditional code.
945 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
946 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
948 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
949 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
950 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
951 (_G_VTABLE_LABEL_PREFIX): Likewise.
952 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
953 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
954 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
955 (_G_VTABLE_LABEL_PREFIX): Likewise.
956 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
957 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
958 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
959 (_G_VTABLE_LABEL_PREFIX): Likewise.
960 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
962 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
964 * libio/Makefile: Include ../Makeconfig before tests.
965 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
966 only if $(build-shared) is yes.
968 * iconv/gconv_db.c: Update copyright years.
970 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
972 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
973 unwind info if defined PIC. Fix special cases description.
974 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
976 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
978 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
980 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
982 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
984 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
987 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
988 (LDLIBS-tst-chk4): This.
989 (LDFLAGS-tst-chk5): Renamed to ...
990 (LDLIBS-tst-chk5): This.
991 (LDFLAGS-tst-chk6): Renamed to ...
992 (LDLIBS-tst-chk6): This.
993 (LDFLAGS-tst-lfschk4): Renamed to ...
994 (LDLIBS-tst-lfschk4): This.
995 (LDFLAGS-tst-lfschk5): Renamed to ...
996 (LDLIBS-tst-lfschk5): This.
997 (LDFLAGS-tst-lfschk6): Renamed to ...
998 (LDLIBS-tst-lfschk6): This.
1000 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1001 on $(common-objpfx)soversions.mk.
1003 2012-09-07 Joseph Myers <joseph@codesourcery.com>
1006 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1009 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1011 * malloc/arena.c (arena_get_retry): New function that gets
1012 another arena for the caller to try its request on.
1013 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1014 current arena cannot fulfill the request.
1015 (__libc_memalign): Likewise.
1016 (__libc_memalign): Likewise.
1017 (__libc_pvalloc): Likewise.
1018 (__libc_calloc): Likewise.
1020 2012-09-05 John Tobey <john.tobey@gmail.com>
1023 * manual/arith.texi (Operations on Complex): Fix description
1026 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1029 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1033 * manual/memory.texi (Memory): Make order of menu items match
1036 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1038 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1039 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1040 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1042 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1044 * csu/libc-tls.c (static_dtv): Renamed to ...
1045 (_dl_static_dtv): This. Make it global.
1046 (_dl_initial_dtv): Removed.
1047 (__libc_setup_tls): Updated.
1048 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1049 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1052 2012-09-06 Petr Machata <pmachata@redhat.com>
1054 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1055 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1056 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1057 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1059 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1062 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1063 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1066 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1069 * Makeconfig (link-static-before-libc): Replace $(+prector)
1071 (link-static-after-libc): Replace $(+postctor) with
1073 (link-bounded): Replace $(+prector)/$(+postctor) with
1074 $(+prectorT)/$(+postctorT).
1075 (+prectorT): New macro.
1076 (+postctorT): Likewise.
1078 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1080 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1081 (round_str): Handle values above the maximum for IBM long double
1083 * stdlib/tst-strtod-round.c (tests): Regenerated.
1085 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1087 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1089 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1090 zarch_nohighgprs around the zarch optimized routines.
1091 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1092 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1093 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1096 2012-09-05 David S. Miller <davem@davemloft.net>
1098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1100 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1101 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1102 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1103 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1106 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1108 * malloc/arena.c: Fold copyright years.
1109 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1111 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1113 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1115 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1117 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1119 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1121 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1122 change internal state upon failure.
1124 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1126 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1127 * malloc/memusage.c (mmap): Likewise.
1128 (mmap64, mremap): Likewise. Adjust name in comment.
1130 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1132 * libio/fileops.c: Fix typos in comments.
1133 * libio/oldfileops.c: Likewise.
1134 * libio/wfileops.c: Likewise.
1136 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1139 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1140 (tst-malloc-usable-ENV): Set environment for test case.
1141 * malloc/hooks.c (malloc_check_get_size): New function to get
1143 * malloc/malloc.c (musable): Use malloc_check_get_size.
1144 * malloc/tst-malloc-usable.c: New test case.
1146 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1148 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1150 2012-09-05 Allan McRae <allan@archlinux.org>
1153 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1154 determine header location.
1155 * configure: Regenerated.
1157 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1159 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1161 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
1162 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1166 2012-09-04 David S. Miller <davem@davemloft.net>
1168 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1169 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1170 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1172 2012-09-04 Florian Weimer <fweimer@redhat.com>
1174 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1177 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1179 2012-09-04 Joseph Myers <joseph@codesourcery.com>
1182 * libio/iogetdelim.c: Include <limits.h>.
1183 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1184 + len + 1 would overflow.
1186 2012-09-03 Andreas Jaeger <aj@suse.de>
1188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1189 * sysdeps/i386/fpu/libm-test-ulps: Update.
1191 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1193 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1194 Add s_sinf-sse2, s_conf-sse2.
1196 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1197 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1198 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1199 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1201 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1202 for using routine as __sinf_ia32.
1203 Use macro for function declaration and weak_alias.
1204 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1205 for using routine as __cosf_ia32.
1206 Use macro for function declaration and weak_alias.
1208 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1209 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1211 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1212 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1215 * math/libm-test.inc (cos_test): Add more test cases.
1216 (sin_test): Likewise.
1217 (sincos_test): Likewise.
1219 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1221 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1222 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1224 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1226 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1229 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1230 first element of the GOT.
1231 (elf_machine_load_address): Return the difference between
1232 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1234 2012-09-01 Allan McRae <allan@archlinux.org>
1237 * configure.in (AWK): Require gawk version 3.0 or later.
1238 * configure: Regenerated.
1240 2012-09-01 Joseph Myers <joseph@codesourcery.com>
1242 * sysdeps/unix/sysv/linux/kernel-features.h
1243 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1244 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1245 [__NR_clock_getres]: Make code unconditional.
1246 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1247 (clock_getcpuclockid): Remove code left unreachable by removal of
1249 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1251 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1252 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1253 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1254 Make code unconditional.
1255 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1256 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1257 * sysdeps/unix/sysv/linux/clock_settime.c
1258 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1260 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1261 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1263 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1266 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1267 scripts/test-installation.pl.
1269 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1270 and $ld_so_version if it is set.
1272 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1275 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1276 failure if reading from procfs failed.
1277 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1279 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1281 * sysdeps/unix/sysv/linux/kernel-features.h
1282 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1283 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1284 Remove conditional code.
1285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1286 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1287 Remove conditional code.
1288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1289 * sysdeps/unix/sysv/linux/i386/fxstat.c
1290 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1292 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1293 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1295 * sysdeps/unix/sysv/linux/i386/lxstat.c
1296 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1298 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1299 Remove conditional code.
1300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1301 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1302 Remove conditional code.
1303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1304 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1305 <kernel-features.h>.
1306 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1308 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1309 Remove conditional code.
1310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1311 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1314 2012-08-27 Mike Frysinger <vapier@gentoo.org>
1317 * NEWS: Add fixed bug number.
1319 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1322 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1323 underflowing exponent in case of negative sign.
1324 * stdlib/tst-strtod-round-data: Add more tests.
1325 * stdlib/tst-strtod-round.c (tests): Regenerated.
1328 * stdlib/strtod_l.c (NDIG): Remove.
1329 (HEXNDIG): Likewise.
1330 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1331 smallest representable value.
1332 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1333 lie within an exact representation of 1/2 ulp of the result.
1334 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1336 (TENS_P9_IDX): Define unconditionally.
1337 (TENS_P9_SIZE): Likewise.
1338 (TENS_P10_IDX): Likewise.
1339 (TENS_P10_SIZE): Likewise.
1340 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1341 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1342 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1343 entries for 10^2^13 and 10^2^14.
1344 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1345 (TENS_P13_IDX): Define.
1346 (TENS_P13_SIZE): Likewise.
1347 (TENS_P14_IDX): Likewise.
1348 (TENS_P14_SIZE): Likewise.
1349 (_fpioconst_pow10): Change array size to
1350 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1352 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1353 1024]: Add entries for 10^2^13 and 10^2^14.
1354 [LAST_POW10 > _LAST_POW10]: Remove #error.
1355 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1356 (_fpioconst_pow10): Change array size to
1357 FPIOCONST_POW10_ARRAY_SIZE.
1358 * stdlib/gen-fpioconst.c: New file.
1359 * stdlib/gen-tst-strtod-round.c: Likewise.
1360 * stdlib/tst-strtod-round-data: Likewise.
1361 * stdlib/tst-strtod-round.c: Likewise.
1362 * stdlib/Makefile (tests): Add tst-strtod-round.
1365 * stdlib/strtod_l.c: Include <stdint.h>.
1366 (NDEBUG): Do not define.
1367 (round_and_return): Change EXPONENT parameter to type intmax_t.
1368 Rearrange calculations to avoid internal overflow possibilities.
1369 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1370 Rearrange calculations to avoid internal overflow possibilities.
1371 Assert that number fits inside MPNSIZE limbs.
1372 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1373 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1374 calculations and add assertions to avoid internal overflow
1375 possibilities. Add casts to avoid signed/unsigned operations.
1376 * stdlib/tst-strtod-overflow.c: New file.
1377 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1379 2012-08-25 Marek Polacek <polacek@redhat.com>
1381 * time/time.h: Fix some typos in comments.
1383 2012-08-23 Roland McGrath <roland@hack.frob.com>
1385 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1386 * posix/tst-rfc3484-2.c: Likewise.
1387 * posix/tst-rfc3484-3.c: Likewise.
1389 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1391 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1392 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1394 2012-08-23 Joseph Myers <joseph@codesourcery.com>
1396 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1397 #include of fxstatat64.c.
1399 2012-08-22 Roland McGrath <roland@hack.frob.com>
1401 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1402 * shadow/getspent_r.c: Likewise.
1403 * shadow/getspnam.c: Likewise.
1404 * shadow/getspnam_r.c: Likewise.
1405 * gshadow/getsgent.c: Likewise.
1406 * gshadow/getsgent_r.c: Likewise.
1407 * gshadow/getsgnam.c: Likewise.
1408 * gshadow/getsgnam_r.c: Likewise.
1409 * inet/getnetbyad.c: Likewise.
1410 * inet/getnetbyad_r.c: Likewise.
1411 * inet/getnetbynm.c: Likewise.
1412 * inet/getnetbynm_r.c: Likewise.
1413 * inet/getnetent.c: Likewise.
1414 * inet/getnetent_r.c: Likewise.
1415 * inet/getproto.c: Likewise.
1416 * inet/getproto_r.c: Likewise.
1417 * inet/getprtent.c: Likewise.
1418 * inet/getprtent_r.c: Likewise.
1419 * inet/getprtname.c: Likewise.
1420 * inet/getprtname_r.c: Likewise.
1421 * inet/getrpcbyname.c: Likewise.
1422 * inet/getrpcbyname_r.c: Likewise.
1423 * inet/getrpcbynumber.c: Likewise.
1424 * inet/getrpcbynumber_r.c: Likewise.
1425 * inet/getrpcent.c: Likewise.
1426 * inet/getrpcent_r.c: Likewise.
1427 * inet/getaliasent.c: Likewise.
1428 * inet/getaliasent_r.c: Likewise.
1429 * inet/getaliasname.c: Likewise.
1430 * inet/getaliasname_r.c: Likewise.
1431 * nscd/getgrgid_r.c: Likewise.
1432 * nscd/getgrnam_r.c: Likewise.
1433 * nscd/gethstbyad_r.c: Likewise.
1434 * nscd/gethstbynm3_r.c: Likewise.
1435 * nscd/getpwnam_r.c: Likewise.
1436 * nscd/getpwuid_r.c: Likewise.
1437 * nscd/getsrvbynm_r.c: Likewise.
1438 * nscd/getsrvbypt_r.c: Likewise.
1439 * nscd/gai.c: Likewise.
1441 * configure.in (build_nscd): New substituted variable, set
1442 by --disable-build-nscd and defaults to $use_nscd.
1443 * configure: Regenerated.
1444 * config.make.in (build-nscd): New substituted variable.
1445 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1446 Change conditional to require [$(build-nscd) = yes] as well.
1447 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1450 * configure.in (use_nscd): New substituted variable, set by
1451 --disable-nscd. If enabled, define USE_NSCD.
1452 * configure: Regenerated.
1453 * config.h.in: Add USE_NSCD.
1454 * config.make.in (use-nscd): New substituted variable.
1455 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1456 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1457 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1458 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1459 (CFLAGS-getgrnam_r.c): Likewise.
1460 (CFLAGS-initgroups.c): Likewise.
1461 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1462 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1464 * inet/getnetgrent_r.c
1465 (nscd_setnetgrent): New function, broken out of ...
1466 (setnetgrent): ... here. Call it.
1467 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1468 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1469 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1470 * nscd/Makefile (routines, aux): Move definitions after include of
1471 Makeconfig. Conditionalize on [$(use-nscd) != no].
1472 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1473 Conditionalize on [USE_NSCD].
1474 (is_nscd, nscd_init_cb): Likewise.
1475 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1476 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1477 * nss/nss_db/db-init.c: Likewise.
1478 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1480 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1481 (make_request): Use it.
1482 (cache_valid_p): New function.
1483 (__check_pf): Use it.
1484 * NEWS: Add item for --disable-nscd.
1486 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1488 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1489 to support sed >= 4.2.1-20-ga9bf076.
1490 * configure: Regenerated.
1492 2012-08-22 Roland McGrath <roland@hack.frob.com>
1494 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1495 Conditionalize whole body on [IREL].
1497 2012-08-22 Jeff Law <law@redhat.com>
1500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1501 if the family is PF_UNSPEC.
1503 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1505 * Makerules (lib-version): Rename from V.
1506 (install-lib-nosubdir): Change V to lib-version.
1508 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1511 * powerpc32/power6/wcschr.c: New file.
1512 * powerpc32/power6/wcscpy.c: New file.
1513 * powerpc32/power6/wcsrchr.c: New file.
1514 * powerpc64/power6/wcschr.c: New file.
1515 * powerpc64/power6/wcscpy.c: New file.
1516 * powerpc64/power6/wcsrchr.c: New file.
1518 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1520 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1521 (two_way_short_needle): Use it.
1522 * string/strstr.c (AVAILABLE1_USES_J): Define.
1523 * string/strcasestr.c: Likewise.
1525 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1527 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1530 * NEWS: Add an entry.
1531 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1532 define their defaults.
1533 (two_way_short_needle): Detect end-of-string on-the-fly.
1534 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1535 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1536 * string/bug-strcasestr1.c: New test.
1537 * string/Makefile: Run it.
1539 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1542 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1543 the first character.
1545 2012-08-21 Roland McGrath <roland@hack.frob.com>
1547 * csu/elf-init.c (__libc_csu_irel): Function removed.
1548 * csu/libc-start.c (apply_irel): New function.
1549 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1551 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1553 * sysdeps/unix/sysv/linux/kernel-features.h
1554 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1555 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1556 <kernel-features.h>.
1557 [__NR_fadvise64_64]: Make code unconditional.
1558 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1559 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1560 !__NR_fadvise64_64)]: Likewise.
1561 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1562 !__NR_fadvise64_64))]: Likewise.
1563 [__NR_fadvise64]: Make code unconditional.
1564 [!__NR_fadvise64]: Remove conditional code.
1565 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1566 <kernel-features.h>.
1567 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1569 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1572 not include <kernel-features.h>.
1573 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1575 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1577 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1578 include <kernel-features.h>.
1579 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1581 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1584 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1586 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1587 slight instruction rearrangements per scrollpipe analysis.
1588 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1590 2012-08-20 Roland McGrath <roland@hack.frob.com>
1592 * manual/syslog.texi (syslog; vsyslog, closelog):
1593 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1594 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1596 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1597 DSOCAPS to match condition on defining it.
1599 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1601 * sysdeps/unix/sysv/linux/kernel-features.h
1602 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1604 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1605 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1607 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1608 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1610 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1611 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1613 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1614 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1616 * sysdeps/unix/sysv/linux/kernel-features.h
1617 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1618 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1620 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1621 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1622 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1623 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1624 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1625 Make code unconditional.
1626 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1627 (__mmap64) [!__NR_mmap2]: Likewise.
1628 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1629 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1630 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1631 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1632 [__NR_mmap2]: Make code unconditional.
1633 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1634 (__mmap64) [!__NR_mmap2]: Likewise.
1636 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1638 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1640 2012-08-18 Andreas Jaeger <aj@suse.de>
1642 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1644 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1646 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1647 * include/unistd.h (__have_sock_cloexec): Likewise.
1648 (__have_pipe2): Likewise.
1649 (__have_dup3): Likewise.
1651 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1654 * include/unistd.h (__have_pipe2): Change define into an extern int.
1655 (__have_dup3): Likewise.
1656 * socket/have_sock_cloexec.c: Include fcntl.h.
1657 (__have_pipe2): New variable.
1658 (__have_dup3): Likewise.
1660 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1662 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1664 2012-08-17 Marek Polacek <polacek@redhat.com>
1666 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1667 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1669 2012-08-17 Roland McGrath <roland@hack.frob.com>
1671 * configure.in: Add AC_SUBST for sysheaders.
1672 * configure: Regenerated.
1673 * config.make.in (sysheaders): New substituted variable.
1675 * sysdeps/unix/mkfifo.c: Moved ...
1676 * sysdeps/posix/mkfifo.c: ... here.
1677 * sysdeps/unix/mkfifoat.c: Moved ...
1678 * sysdeps/posix/mkfifoat.c: ... here.
1680 * sysdeps/unix/utime.c: Moved ...
1681 * sysdeps/posix/utime.c: ... here.
1683 * sysdeps/unix/time.c: Moved ...
1684 * sysdeps/posix/time.c: ... here.
1685 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1686 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1688 * sysdeps/unix/nice.c: Moved ...
1689 * sysdeps/posix/nice.c: ... here.
1691 * sysdeps/unix/alarm.c: Moved ...
1692 * sysdeps/posix/alarm.c: ... here.
1694 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1696 2012-08-17 Jeff Law <law@redhat.com>
1698 * intl/Makefile (codeset_mo): New variable.
1699 ($(codeset_mo)): New target.
1700 (tst-codeset.out): Depend on that. Remove explicit rule.
1701 (tst-gettext3.out, tst-gettext5.out): Likewise.
1702 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1703 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1704 * intl/tst-codeset.sh: Remove.
1705 * intl/tst-gettext3.sh: Likewise.
1706 * intl/tst-gettext5.sh: Likewise.
1708 2012-08-17 Roland McGrath <roland@hack.frob.com>
1710 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1711 * sysdeps/unix/syscalls.list: ... here.
1713 * sysdeps/posix/getaddrinfo.c
1714 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1715 (gaiconf_init, gaiconf_reload): Use them.
1717 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1718 Define using time_t rather than struct timespec.
1720 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1721 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1723 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1725 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1726 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1729 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1730 __libc_cleanup_push argument.
1732 * bits/param.h: New file.
1733 * misc/sys/param.h: New file.
1734 * include/sys/param.h: New file.
1735 * misc/Makefile (headers): Add bits/param.h.
1736 * sysdeps/generic/sys/param.h: File removed.
1737 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1738 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1739 * sysdeps/mach/hurd/bits/param.h: New file.
1740 * sysdeps/mach/hurd/sys/param.h: New file.
1742 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1745 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1747 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1748 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1751 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1752 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1753 rather than -D_IO_MTSAFE_IO conditionally.
1754 * stdio-common/Makefile (CPPFLAGS): Likewise.
1755 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1756 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1757 Use $(libio-mtsafe).
1758 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1760 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1761 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1762 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1763 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1764 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1765 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1766 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1767 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1768 (CFLAGS-fread_u_chk.c): Likewise.
1769 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1770 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1771 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1772 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1773 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1774 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1775 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1776 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1777 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1779 * libio/Makefile: Test [$(libc-reentrant) = yes]
1780 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1783 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1784 * sysdeps/pthread/configure: File removed.
1785 * sysdeps/pthread/Makeconfig: New file.
1786 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1787 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1789 2012-08-16 Gary Benson <gbenson@redhat.com>
1791 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1792 unmapping the first object in a namespace.
1794 2012-08-16 Roland McGrath <roland@hack.frob.com>
1796 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1797 (__internal_setnetgrent): ... this. Add internal_function to
1798 definition. Add libc_hidden_def.
1799 (setnetgrent): Update caller.
1800 (internal_endnetgrent): Renamed to ...
1801 (__internal_endnetgrent): ... this. Add internal_function to
1802 definition. Add libc_hidden_def.
1803 (endnetgrent): Update caller.
1804 (internal_getnetgrent_r): Renamed to ...
1805 (__internal_getnetgrent_r): ... this. Add internal_function to
1806 definition. Add libc_hidden_def.
1807 (__getnetgrent_r): Update caller.
1808 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1810 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1812 * stdlib/longlong.h: Update from GCC.
1814 2012-08-16 Roland McGrath <roland@hack.frob.com>
1816 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1817 on _QL, which is set by umul_ppmm but never used.
1818 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1819 variables, which are set by GMP macros but never used.
1820 * stdio-common/_itowa.c (_itowa): Likewise.
1821 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1822 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1824 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1826 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1827 struct La_sh_regs is not constant.
1828 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1829 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1830 and struct La_sparc64_regs are not constant.
1832 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1834 * sysdeps/unix/sysv/linux/kernel-features.h
1835 (__ASSUME_POSIX_TIMERS): Remove.
1836 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1837 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1838 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1839 Make code unconditional.
1840 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1841 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1842 Make code unconditional.
1843 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1844 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1845 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1846 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1847 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1848 Make code unconditional.
1849 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1850 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1851 (__libc_missing_posix_timers): Remove.
1853 2012-08-15 Roland McGrath <roland@hack.frob.com>
1855 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1856 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1858 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1860 * elf/dl-sym.c: Include <stdlib.h>.
1862 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1863 constants, which avoids warnings in 32-bit builds.
1865 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1866 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1868 * misc/lseek.c: File moved to ...
1869 * io/lseek.c: ... here.
1871 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1873 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1874 shifting LEN more than 31 bits at once.
1876 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1879 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1880 segmentation fault for a case of two empty input strings.
1881 * string/test-strncasecmp.c (check1): Renamed to...
1883 (bz14195): Add new testcase for two empty input strings and N > 0.
1884 (test_main): Call new testcase, adapt for renamed function.
1886 2012-08-15 Andreas Jaeger <aj@suse.de>
1889 * crypt/md5test2.c: New test, based on test supplied by Serge
1890 Belyshev <belyshev@depni.sinp.msu.ru>.
1891 * crypt/Makefile (xtests): Add md5test-giant..
1892 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1894 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1897 * crypt/md5.c (md5_process_block): Don't assume the buffer
1898 length is less than 2**32.
1899 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1900 length is less than 2**64.
1902 2012-08-15 Roland McGrath <roland@hack.frob.com>
1904 * string/str-two-way.h: Include <sys/param.h>.
1905 (MAX): Macro removed.
1907 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1908 Move #define and #undef of memmove to just before and after
1909 including <string.h>.
1911 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1912 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1913 and after including <string.h>. Move declarations of
1914 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1915 to before #include "string/memmove.c".
1917 * include/dirent.h: Declare __getdirentries.
1919 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1920 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1922 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1924 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1925 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1926 * sysdeps/i386/configure: Regenerated.
1927 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1928 STABS_CURRENT_FILE, and STABS_FUN.
1929 (END): Remove call to STABS_FUN_END.
1930 (STABS_CURRENT_FILE1): Delete.
1931 (STABS_CURRENT_FILE): Likewise.
1932 (STABS_FUN): Likewise.
1933 (STABS_FUN_END): Likewise.
1934 (STABS_FUN2): Likewise.
1935 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1936 * sysdeps/x86_64/configure: Regenerated.
1938 2012-08-14 Roland McGrath <roland@hack.frob.com>
1940 * elf/dl-open.c: Include <atomic.h>.
1941 * elf/dl-lookup.c: Likewise.
1943 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1945 * sysdeps/unix/sysv/linux/kernel-features.h
1946 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1947 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1949 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1951 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1952 condition on __ASSUME_CLONE_THREAD_FLAGS.
1954 2012-08-14 Andreas Jaeger <aj@suse.de>
1956 * sysdeps/i386/fpu/libm-test-ulps: Update.
1958 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1960 * include/atomic.h (atomic_exchange_and_add): Split into ...
1961 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1964 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1968 2012-08-13 Jeff Law <law@redhat.com>
1970 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1971 null byte in the output string.
1973 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1975 * sysdeps/unix/sysv/linux/kernel-features.h
1976 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1977 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1978 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1979 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1980 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1981 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1982 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1984 2012-08-09 Jeff Law <law@redhat.com>
1987 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1988 When avoid_arena is set, don't retry in the that arena. Pick the
1989 next one, whatever it might be.
1990 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1991 (arena_lock): Pass in new parameter to arena_get2.
1992 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1994 (__libc_malloc): Unify retrying after main arena failure with
1995 __libc_memalign version.
1996 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1998 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2001 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2002 to __redirect_strstr.
2003 (__strstr_sse42): Use typeof __redirect_strstr.
2004 (__strstr_ia32): Likewise.
2005 (__libc_strstr): New prototype.
2006 (strstr): Renamed to ...
2007 (__libc_strstr): This.
2008 (strstr): New strong alias of __libc_strstr.
2009 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2010 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2013 (__libc_time): New prototype.
2014 (time_ifunc): Replace time with __libc_time.
2015 (time): New strong alias and hidden definition of __libc_time.
2016 (__GI_time): Remove strong alias.
2017 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2019 (memmove): Redefined to __redirect_memmove.
2020 (__memmove_sse2): Use typeof __redirect_memmove.
2021 (__memmove_ssse3): Likewise.
2022 (__memmove_ssse3_back): Likewise.
2023 (__libc_memmove): New prototype.
2024 (memmove): Renamed to ...
2025 (__libc_memmove): This.
2026 (memmove): New strong alias of __libc_memmove.
2028 2012-08-08 Mark Salter <msalter@redhat.com>
2031 (R_MN10300_TLS_GD): Define.
2032 (R_MN10300_TLS_LD): Likewise.
2033 (R_MN10300_TLS_LDO): Likewise.
2034 (R_MN10300_TLS_GOTIE): Likewise.
2035 (R_MN10300_TLS_IE): Likewise.
2036 (R_MN10300_TLS_LE): Likewise.
2037 (R_MN10300_TLS_DTPMOD): Likewise.
2038 (R_MN10300_TLS_DTPOFF): Likewise.
2039 (R_MN10300_TLS_TPOFF): Likewise.
2040 (R_MN10300_SYM_DIFF): Likewise.
2041 (R_MN10300_ALIGN): Likewise.
2042 (R_MN10300_NUM): Update.
2044 2012-08-08 Joseph Myers <joseph@codesourcery.com>
2046 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2049 2012-08-08 Roland McGrath <roland@hack.frob.com>
2051 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2053 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2054 sysdeps/unix -> sysdeps/posix move.
2055 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2057 2012-08-07 Allan McRae <allan@archlinux.org>
2060 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2061 (SUNOS_CPP): Likewise.
2062 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2064 (open_input): Call CPP using execvp.
2066 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2068 * sysdeps/unix/sysv/linux/kernel-features.h
2069 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2070 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2071 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2072 (__ASSUME_WAITID_SYSCALL): Likewise.
2073 * sysdeps/unix/sysv/linux/dl-execstack.c
2074 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2076 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2078 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2079 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2080 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2082 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2084 [__ASSUME_WAITID_SYSCALL]: Likewise.
2085 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2087 2012-08-07 Roland McGrath <roland@hack.frob.com>
2089 * sysdeps/unix/closedir.c: Renamed to ...
2090 * sysdeps/posix/closedir.c: ... here.
2091 * sysdeps/unix/dirfd.c: Renamed to ...
2092 * sysdeps/posix/dirfd.c: ... here.
2093 * sysdeps/unix/dirstream.h: Renamed to ...
2094 * sysdeps/posix/dirstream.h: ... here.
2095 * sysdeps/unix/fdopendir.c: Renamed to ...
2096 * sysdeps/posix/fdopendir.c: ... here.
2097 * sysdeps/unix/opendir.c: Renamed to ...
2098 * sysdeps/posix/opendir.c: ... here.
2099 * sysdeps/unix/readdir.c: Renamed to ...
2100 * sysdeps/posix/readdir.c: ... here.
2101 * sysdeps/unix/readdir_r.c: Renamed to ...
2102 * sysdeps/posix/readdir_r.c: ... here.
2103 * sysdeps/unix/rewinddir.c: Renamed to ...
2104 * sysdeps/posix/rewinddir.c: ... here.
2105 * sysdeps/unix/seekdir.c: Renamed to ...
2106 * sysdeps/posix/seekdir.c: ... here.
2107 * sysdeps/unix/telldir.c: Renamed to ...
2108 * sysdeps/posix/telldir.c: ... here.
2109 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2110 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2111 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2112 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2114 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2115 * bits/fcntl.h: ... here.
2117 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2119 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2120 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2121 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2122 (struct flock): Move l_start, l_len to the beginning.
2123 Use __pid_t for l_pid.
2124 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2125 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2126 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2127 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2128 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2129 [__USE_LARGEFILE64] (struct flock64): New type.
2130 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2132 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2133 * bits/dirent.h: ... here.
2135 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2136 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2138 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2140 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2141 Change from 2.6.0 to 2.6.16.
2142 * sysdeps/unix/sysv/linux/configure: Regenerated.
2143 * sysdeps/unix/sysv/linux/kernel-features.h
2144 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2145 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2147 (__ASSUME_UTIMES): Likewise.
2148 (__ASSUME_CLONE_STOPPED): Remove.
2149 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2150 architectures, not kernel version.
2151 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2152 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2153 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2154 (__ASSUME_WAITID_SYSCALL): Likewise.
2155 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2156 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2157 * README: State 2.6.16 as minimum Linux kernel version. Do not
2158 refer to older versions.
2160 2012-08-06 Roland McGrath <roland@hack.frob.com>
2162 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2163 Define alphasort64 as an alias.
2164 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2165 Define versionsort64 as an alias.
2166 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2167 Define scandir64 as an alias.
2168 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2169 Define scandirat64 as an alias.
2170 * dirent/alphasort64.c (alphasort64):
2171 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2172 * dirent/versionsort64.c: Likewise.
2173 * dirent/scandir64.c: Likewise.
2174 * dirent/scandirat64.c: Likewise.
2175 * sysdeps/wordsize-64/alphasort.c: File removed.
2176 * sysdeps/wordsize-64/alphasort64.c: File removed.
2177 * sysdeps/wordsize-64/scandir.c: File removed.
2178 * sysdeps/wordsize-64/scandir64.c: File removed.
2179 * sysdeps/wordsize-64/scandirat.c: File removed.
2180 * sysdeps/wordsize-64/scandirat64.c: File removed.
2181 * sysdeps/wordsize-64/versionsort.c: File removed.
2182 * sysdeps/wordsize-64/versionsort64.c: File removed.
2183 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2184 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2185 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2186 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2187 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2188 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2189 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2190 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2192 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2193 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2194 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2195 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2196 [defined __arch64__ || defined __sparcv9]
2197 (__INO_T_MATCHES_INO64_T): New macro.
2198 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2199 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2200 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2201 * sysdeps/unix/sysv/linux/bits/dirent.h
2202 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2203 (_DIRENT_MATCHES_DIRENT64): New macro.
2205 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2206 Define lockf64 as an alias.
2207 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2208 Define fseeko64 as an alias.
2209 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2210 Define ftello64 as an alias.
2211 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2212 Define _IO_fgetpos64 and fgetpos64 as aliases.
2213 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2214 Define _IO_fsetpos64 and fsetpos64 as aliases.
2215 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2216 Conditionalize body on this.
2217 * libio/fseeko64.c: Likewise.
2218 * libio/ftello64.c: Likewise.
2219 * libio/iofgetpos64.c: Likewise.
2220 * libio/iofsetpos64.c: Likewise.
2221 * sysdeps/wordsize-64/lockf.c: File removed.
2222 * sysdeps/wordsize-64/lockf64.c: File removed.
2223 * sysdeps/wordsize-64/fseeko.c: File removed.
2224 * sysdeps/wordsize-64/fseeko64.c: File removed.
2225 * sysdeps/wordsize-64/ftello.c: File removed.
2226 * sysdeps/wordsize-64/ftello64.c: File removed.
2227 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2228 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2229 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2230 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2231 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2232 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2234 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2236 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2237 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2238 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2239 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2240 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2242 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2244 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2246 [defined __arch64__ || defined __sparcv9]
2247 (__OFF_T_MATCHES_OFF64_T): New macro.
2248 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2249 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2251 (__OFF_T_MATCHES_OFF64_T): New macro.
2253 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2255 * stdlib/secure-getenv.c (__secure_getenv): Replace
2256 GLIBC_2_16 with GLIBC_2_17.
2258 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2260 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2261 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2263 2012-08-03 David S. Miller <davem@davemloft.net>
2265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2267 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2269 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2271 (__ASSUME_CORRECT_SI_PID): Likewise.
2272 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2273 (__ASSUME_TMPFS_NAME): Likewise.
2274 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2275 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2276 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2277 (HAVE_AUX_SECURE): Make definition unconditional.
2278 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2279 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2281 2012-08-03 Roland McGrath <roland@hack.frob.com>
2283 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2284 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2285 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2286 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2287 __eloop_threshold instead of SYMLOOP_MAX.
2289 * sysdeps/generic/eloop-threshold.h: New file.
2290 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2292 * elf/chroot_canon.c (chroot_canon): Likewise.
2294 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2297 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2298 Change to 2.6.0 everywhere.
2299 * sysdeps/unix/sysv/linux/configure: Regenerated.
2300 * sysdeps/unix/sysv/linux/kernel-features.h
2301 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2302 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2304 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2305 (__ASSUME_FUTEX_REQUEUE): Remove.
2306 (__ASSUME_STATFS64): Define unconditionally.
2307 (__ASSUME_AT_SECURE): Likewise.
2308 (__ASSUME_CORRECT_SI_PID): Likewise.
2309 (__ASSUME_TGKILL): Define without depending on kernel version for
2311 (__ASSUME_UTIMES): Likewise.
2312 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2314 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2315 (__ASSUME_TMPFS_NAME): Likewise.
2316 * README: Update reference to Linux kernel versions.
2318 2012-08-02 Marek Polacek <polacek@redhat.com>
2321 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2322 libc_cv_asm_type_prefix with %.
2323 * configure: Regenerated.
2324 * include/libc-symbols.h: Remove comment about
2325 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2326 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2327 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2328 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2329 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2330 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2331 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2332 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2333 * elf/tst-unique2mod1.c: Likewise.
2334 * elf/tst-unique1mod2.c: Likewise.
2335 * elf/tst-unique1mod1.c: Likewise.
2336 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2337 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2338 Replace ASM_TYPE_DIRECTIVE with .type.
2339 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2340 * sysdeps/i386/sysdep.h: Likewise.
2341 * sysdeps/x86_64/sysdep.h: Likewise.
2342 * sysdeps/sh/sysdep.h: Likewise.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2344 Do not define ASM_TYPE_DIRECTIVE.
2345 * sysdeps/powerpc/sysdep.h: Likewise.
2346 * sysdeps/powerpc/powerpc32/sysdep.h:
2347 Replace ASM_TYPE_DIRECTIVE with .type.
2348 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2349 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2350 * sysdeps/i386/fpu/e_powf.S: Likewise.
2351 * sysdeps/i386/fpu/e_expl.S: Likewise.
2352 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2353 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2354 * sysdeps/i386/fpu/e_pow.S: Likewise.
2355 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2356 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2357 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2358 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2359 * sysdeps/i386/fpu/e_log2.S: Likewise.
2360 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2361 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2362 * sysdeps/i386/fpu/e_powl.S: Likewise.
2363 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2364 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2365 * sysdeps/i386/fpu/e_logl.S: Likewise.
2366 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2367 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2368 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2369 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2370 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2371 * sysdeps/i386/fpu/e_log.S: Likewise.
2372 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2373 * sysdeps/i386/fpu/e_logf.S: Likewise.
2374 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2375 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2376 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2377 * sysdeps/i386/fpu/e_log10.S: Likewise.
2378 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2379 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2380 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2381 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2382 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2383 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2384 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2385 * sysdeps/i386/i686/strtok.S: Likewise.
2386 * sysdeps/i386/i386-mcount.S: Likewise.
2387 * sysdeps/i386/strtok.S: Likewise.
2388 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2389 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2390 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2391 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2392 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2393 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2394 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2395 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2396 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2397 * sysdeps/x86_64/_mcount.S: Likewise.
2398 * sysdeps/x86_64/strtok.S: Likewise.
2399 * sysdeps/sh/_mcount.S: Likewise.
2401 2012-08-01 Roland McGrath <roland@hack.frob.com>
2403 * libio/iofopen.c: Include <fcntl.h>.
2404 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2405 (_IO_fopen64, fopen64): Define as aliases.
2406 * libio/iofopen64.c: Include <fcntl.h>.
2407 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2408 Conditionalize body on this.
2409 * sysdeps/wordsize-64/iofopen.c: File removed.
2410 * sysdeps/wordsize-64/iofopen64.c: File removed.
2412 2012-08-01 Marek Polacek <polacek@redhat.com>
2414 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2415 Use dlfcn directly instead of a variable.
2416 (binfmt-subdir): Do not define.
2419 2012-08-01 Joseph Myers <joseph@codesourcery.com>
2421 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2422 Remove all definitions.
2423 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2424 <kernel-features.h>.
2425 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2426 (miss_F_GETOWN_EX): Remove all definitions.
2427 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2429 [!__ASSUME_FCNTL64]: Remove conditional code.
2430 [__ASSUME_FCNTL64]: Make code unconditional.
2431 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2432 <kernel-features.h>.
2433 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2434 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2435 (lockf64) [__NR_fcntl64]: Make code unconditional.
2436 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2438 * sysdeps/unix/sysv/linux/kernel-features.h
2439 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2440 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2441 Make code unconditional.
2442 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2443 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2445 [__NR_vfork]: Make code unconditional.
2446 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2447 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2449 [__NR_vfork]: Make code unconditional.
2450 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2451 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2453 2012-08-01 Roland McGrath <roland@hack.frob.com>
2455 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2456 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2458 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2459 Define mkstemp64 as an alias.
2460 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2461 Define mkstemps64 as an alias.
2462 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2463 Define mkostemp64 as an alias.
2464 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2465 Define mkostemps64 as an alias.
2466 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2467 Conditionalize body on this.
2468 * misc/mkostemp64.c: Likewise.
2469 * misc/mkostemps64.c: Likewise.
2470 * misc/mkstemps64.c: Likewise.
2471 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2472 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2473 * sysdeps/wordsize-64/mkostemp.c: File removed.
2474 * sysdeps/wordsize-64/mkstemp.c: File removed.
2475 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2476 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2477 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2478 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2481 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2482 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2483 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2484 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2486 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2487 compat_symbol macros from <shlib-compat.h> rather than the underlying
2488 default_symbol_version and symbol_version macros, so that DEFAULT
2489 lines in shlib-versions are respected.
2490 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2492 2012-08-01 Florian Weimer <fweimer@redhat.com>
2494 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2495 Declare with warn_unused_result.
2496 (setgid, setregid, setegid, setresgid): Likewise.
2497 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2499 * WUR-REPORT: Remove set*id functions.
2501 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2503 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2505 2012-07-31 Roland McGrath <roland@hack.frob.com>
2507 * include/sys/socket.h (__libc_accept, __libc_accept4):
2508 Add attribute_hidden.
2509 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2511 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2513 * inet/getnetgrent_r.c (setup): Likewise.
2515 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2517 2012-07-31 David S. Miller <davem@davemloft.net>
2519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2521 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2524 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2525 value between 1.0 and 2.0 and smaller part has absolute value less
2527 * math/s_clog10.c (__clog10): Likewise.
2528 * math/s_clog10f.c (__clog10f): Likewise.
2529 * math/s_clog10l.c (__clog10l): Likewise.
2530 * math/s_clogf.c (__clogf): Likewise.
2531 * math/s_clogl.c (__clogl): Likewise.
2532 * math/libm-test.inc (clog_test): Add more tests.
2533 (clog10_test): Likewise.
2534 * sysdeps/i386/fpu/libm-test-ulps: Update.
2535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2537 2012-07-31 Florian Weimer <fweimer@redhat.com>
2539 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2540 Exit with zero in case no suitable GID is found, and write a
2541 message to standard error.
2543 2012-07-30 Roland McGrath <roland@hack.frob.com>
2545 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2547 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2548 (MAXPATHLEN): Removed.
2549 (NOGROUP, NODEV): New macros.
2550 (setbit, clrbit, isset, isclr): New macros.
2551 (howmany, roundup, powerof2): New macros.
2552 (DEV_BSIZE): New macro.
2554 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2555 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2557 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2558 definition on [!__NO_LONG_DOUBLE_MATH].
2560 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2561 PTR_MANGLE and PTR_DEMANGLE.
2563 * socket/accept4.c (accept4): Rename to __libc_accept4.
2564 Define accept4 as a weak alias.
2566 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2567 on [_DIRENT_HAVE_D_TYPE].
2568 * io/ftw.c (ftw_dir): Likewise.
2570 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2572 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2574 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2575 Use the BSD numbers rather than the arbitrary ones we had.
2576 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2577 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2578 (SIGXCPU, SIGXFSZ): New macros.
2581 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2582 initializer on [_LIBC_REENTRANT].
2584 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2585 definitions inside [_POSIX_MAPPED_FILES].
2587 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2589 * dirent/opendir.c: Include <fcntl.h>.
2591 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2592 (__libc_getspecific): Likewise.
2593 (__libc_key_create): Likewise.
2595 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2596 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2597 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2598 (tmpfile64): Define as alias.
2599 * sysdeps/wordsize-64/tmpfile.c: File removed.
2600 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2601 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2602 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2604 * stdio-common/vfscanf.c: Include <stdbool.h>.
2605 * nss/makedb.c: Likewise.
2606 * stdio-common/_i18n_number.h: Likewise.
2607 * argp/argp-help.c: Likewise.
2608 * posix/wordexp.c: Likewise.
2609 * sysdeps/posix/spawni.c: Likewise.
2610 * nss/nss_files/files-initgroups.c: Likewise.
2611 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2612 * nss/nss_files/files-initgroups.c: Likewise.
2613 * nss/nss_db/db-netgrp.c: Likewise.
2614 * nss/nss_db/db-initgroups.c: Likewise.
2615 * io/fchmodat.c: Include <sys/stat.h>.
2617 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2618 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2620 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2623 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2624 Add multiple inclusion protection.
2626 2012-07-27 David S. Miller <davem@davemloft.net>
2628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2630 2012-07-27 Gary Benson <gbenson@redhat.com>
2633 * elf/rtld.c: Include <stap-probe.h>.
2634 (dl_main): Added static probes "init_start" and "init_complete".
2635 * elf/dl-load.c: Include <stap-probe.h>.
2636 (lose): Take new parameter "nsid".
2637 Added static probe "map_failed".
2638 (_dl_map_object_from_fd): Pass namespace id to lose.
2639 Added static probe "map_start".
2640 (open_verify): Pass namespace id to lose.
2641 * elf/dl-open.c: Include <stap-probe.h>.
2642 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2643 and "reloc_complete".
2644 * elf/dl-close.c: Include <stap-probe.h>.
2645 (_dl_close_worker): Added static probes "unmap_start" and
2647 * elf/rtld-debugger-interface.txt: New file documenting the above.
2649 2012-07-26 Roland McGrath <roland@hack.frob.com>
2651 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2652 rather than a string variable.
2653 * sunrpc/rpc_main.c (h_output): Likewise.
2654 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2656 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2658 * inet/check_native.c: New file.
2660 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2663 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2664 if larger part has absolute value 1.0.
2665 * math/s_clog10.c (__clog10): Likewise.
2666 * math/s_clog10f.c (__clog10f): Likewise.
2667 * math/s_clog10l.c (__clog10l): Likewise.
2668 * math/s_clogf.c (__clogf): Likewise.
2669 * math/s_clogl.c (__clogl): Likewise.
2670 * math/libm-test.inc (clog_test): Add more tests.
2671 (clog10_test): Likewise.
2672 * sysdeps/i386/fpu/libm-test-ulps: Update.
2673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2675 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2676 (pltexit): Likewise.
2677 (La_regs): Likewise.
2678 (La_retval): Likewise.
2679 (int_retval): Likewise.
2680 Update #error for removed macros to refer only to definitions in
2682 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2684 (pltexit): Likewise.
2685 (La_regs): Likewise.
2686 (La_retval): Likewise.
2687 (int_retval): Likewise.
2688 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2690 (pltexit): Likewise.
2691 (La_regs): Likewise.
2692 (La_retval): Likewise.
2693 (int_retval): Likewise.
2694 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2696 (pltexit): Likewise.
2697 (La_regs): Likewise.
2698 (La_retval): Likewise.
2699 (int_retval): Likewise.
2700 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2702 (pltexit): Likewise.
2703 (La_regs): Likewise.
2704 (La_retval): Likewise.
2705 (int_retval): Likewise.
2706 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2708 (pltexit): Likewise.
2709 (La_regs): Likewise.
2710 (La_retval): Likewise.
2711 (int_retval): Likewise.
2712 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2714 (pltexit): Likewise.
2715 (La_regs): Likewise.
2716 (La_retval): Likewise.
2717 (int_retval): Likewise.
2718 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2719 macro definitions in tst-audit.h.
2720 * sysdeps/i386/tst-audit.h: New file.
2721 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2722 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2723 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2724 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2725 * sysdeps/sh/tst-audit.h: Likewise.
2726 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2727 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2728 * sysdeps/x86_64/tst-audit.h: Likewise.
2730 2012-07-26 Andreas Jaeger <aj@suse.de>
2732 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2735 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2736 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2737 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2739 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2740 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2741 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2743 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2746 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2748 (si_call_addr, si_syscall, si_arch): Define new macro.
2749 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2751 (si_call_addr, si_syscall, si_arch): Define new marcro.
2752 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2754 (si_call_addr, si_syscall, si_arch): Define new macro.
2755 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2757 (si_call_addr, si_syscall, si_arch): Define new macro.
2759 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2763 Change to 2.4.21 where previously 2.4.1.
2764 * sysdeps/unix/sysv/linux/configure: Regenerated.
2765 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2766 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2767 Linux kernel version.
2768 (__ASSUME_STD_AUXV): Remove.
2769 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2771 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2772 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2773 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2774 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2775 (__ASSUME_NETLINK_SUPPORT): Likewise.
2776 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2777 (__no_netlink_support): Remove conditional definition.
2778 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2780 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2781 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2782 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2783 (if_nameindex_ioctl): Remove.
2784 (if_nameindex_netlink): Do not handle __no_netlink_support.
2785 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2787 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2788 Remove conditional code.
2789 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2791 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2793 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2794 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2795 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2797 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2798 [!__ASSUME_STD_AUXV]: Remove conditional code.
2799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2800 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2801 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2803 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2804 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2806 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2808 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2809 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2811 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2813 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2816 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2819 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2821 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2823 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2825 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2828 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2830 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2833 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2835 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2837 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2839 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2842 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2844 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2846 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2848 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2851 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2853 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2854 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2855 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2856 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2857 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2858 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2859 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2860 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2861 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2862 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2863 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2864 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2865 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2866 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2867 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2868 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2869 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2870 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2871 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2873 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2874 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2875 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2877 2012-07-25 Florian Weimer <fweimer@redhat.com>
2879 * Versions.def: Add GLIBC_2.17.
2880 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2881 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2882 Introduce __libc_secure_getenv.
2883 * stdlib/Versions (2.17): Add secure_getenv
2884 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2885 * stdlib/secure-getenv.c: Rename __secure_getenv to
2886 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2887 symbol __secure_getenv for GLIBC_2.0.
2888 * stdlib/tst-secure-getenv.c: New.
2889 * stdlib/Makefile (tests): Add testcase.
2890 * manual/startup.texi (Environment Access): Document
2892 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2893 __libc_secure_getenv.
2894 * inet/ruserpass.c (ruserpass): Likewise.
2895 * malloc/mtrace.c (mtrace): Likewise.
2896 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2897 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2898 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2899 * sysdeps/posix/tempname.c: Likewise. Evaluate
2901 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2902 __secure_getenv to __libc_secure_getenv.
2903 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2910 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2916 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2918 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2919 (struct La_i86_retval): Likewise.
2920 (struct La_x86_64_regs): Likewise.
2921 (struct La_x86_64_retval): Likewise.
2922 (struct La_x32_regs): Likewise.
2923 (struct La_x32_retval): Likewise.
2924 (struct La_ppc32_regs): Likewise.
2925 (struct La_ppc32_retval): Likewise.
2926 (struct La_ppc64_regs): Likewise.
2927 (struct La_ppc64_retval): Likewise.
2928 (struct La_sh_regs): Likewise.
2929 (struct La_sh_retval): Likewise.
2930 (struct La_s390_32_regs): Likewise.
2931 (struct La_s390_32_retval): Likewise.
2932 (struct La_s390_64_regs): Likewise.
2933 (struct La_s390_64_retval): Likewise.
2934 (struct La_sparc32_regs): Likewise.
2935 (struct La_sparc32_retval): Likewise.
2936 (struct La_sparc64_regs): Likewise.
2937 (struct La_sparc64_retval): Likewise.
2938 (struct audit_ifaces): Remove architecture-specific pltenter and
2940 * sysdeps/i386/ldsodefs.h: New file.
2941 * sysdeps/powerpc/ldsodefs.h: Likewise.
2942 * sysdeps/s390/ldsodefs.h: Likewise.
2943 * sysdeps/sh/ldsodefs.h: Likewise.
2944 * sysdeps/sparc/ldsodefs.h: Likewise.
2945 * sysdeps/x86_64/ldsodefs.h: Likewise.
2947 2012-07-25 Marek Polacek <polacek@redhat.com>
2950 * math/libm-test.inc (yn_test): Add another test.
2951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2952 to ERANGE when the result is +-Inf.
2953 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2954 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2955 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2956 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2958 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2960 * conform/data/time.h-data (NULL): Use macro-constant. Require
2962 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2964 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2966 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2968 * configure.in <sysdeps resolving>: Correct printing
2970 * configure: Regenerate.
2972 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2974 * math/w_ilogb.c: Include <limits.h>.
2975 * math/w_ilogbl.c: Likewise.
2977 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2979 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2980 va_copy. Document allowing for unavailable va_copy only as
2981 pre-C99 compatibility.
2982 * manual/string.texi (Copying and Concatenation): Use va_copy
2983 instead of __va_copy in concat example.
2985 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2987 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2988 (__sendto): Use create_address_port. Initialize APORT and deallocate
2991 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2992 with O_NOLINK passed to __file_name_lookup.
2994 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2995 with O_NOLINK passed to __file_name_lookup.
2997 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2998 negative N or less than NGIDS.
3000 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3001 type to string_t. Set ERANGE as errno and return it if NAME is not big
3002 enough. Use memcpy instead of strncpy.
3004 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3006 * elf/Makefile (check-data): Remove.
3007 (localplt.data): New vpath directive.
3008 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3009 instead of $(check-data).
3010 * scripts/data/localplt-generic.data: Move to ...
3011 * sysdeps/generic/localplt.data: ... here.
3012 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3013 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3014 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3017 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3020 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3023 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3026 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3029 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3033 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3035 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3036 PPC32 and PPC64 files.
3037 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3038 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3040 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3042 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3043 __makecontext_ret to ...
3044 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3045 ... here and call exit if uc_link is NULL. New file.
3046 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3047 __makecontext_ret.S.
3048 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3049 __makecontext_ret to ...
3050 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3051 ... here and call exit if uc_link is NULL. New file.
3052 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3053 __makecontext_ret.S.
3055 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3057 * elf/elf.h (R_390_IRELATIVE): New definition.
3058 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3059 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3060 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3061 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3062 (elf_machine_lazy_rel): Likewise.
3063 * sysdeps/s390/dl-irel.h: New file.
3064 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3065 * sysdeps/s390/s390-64/memset.S: New asm code.
3066 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3067 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3068 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3069 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3070 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3071 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3072 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3073 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3074 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3075 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3076 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3077 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3078 * sysdeps/s390/s390-32/memset.S: New asm code.
3079 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3081 2012-07-17 Marek Polacek <polacek@redhat.com>
3084 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3085 * sysdeps/s390/s390-64/configure.in: Likewise.
3086 * sysdeps/sparc/configure.in: Likewise.
3087 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3088 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3089 * sysdeps/i386/configure.in: Likewise.
3090 * sysdeps/x86_64/configure.in: Likewise.
3091 * sysdeps/sh/configure.in: Likewise.
3092 * sysdeps/s390/s390-32/configure: Regenerated.
3093 * sysdeps/s390/s390-64/configure: Likewise.
3094 * sysdeps/x86_64/configure: Likewise.
3095 * sysdeps/sh/configure: Likewise.
3096 * sysdeps/powerpc/powerpc64/configure: Likewise.
3097 * sysdeps/powerpc/powerpc32/configure: Likewise.
3098 * sysdeps/sparc/configure: Likwise.
3099 * sysdeps/i386/configure: Likewise.
3101 * elf/dl-open.c: Comment fixes.
3103 2012-07-17 Joseph Myers <joseph@codesourcery.com>
3105 * Makefile [CXX] (check-data): Remove.
3106 [CXX] (c++-types.data): New vpath directive.
3107 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3108 vpath. Do not allow for C++ type data being missing.
3109 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3110 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3111 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3112 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3113 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3114 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3115 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3118 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3121 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3124 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3127 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3130 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3133 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3136 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3139 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3140 definitions to architecture-specific files.
3144 * sysdeps/i386/tls-macros.h: New file.
3145 * sysdeps/powerpc/tls-macros.h: Likewise.
3146 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3147 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3148 * sysdeps/sh/tls-macros.h: Likewise.
3149 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3150 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3151 * sysdeps/x86_64/tls-macros.h: Likewise.
3153 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3155 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3156 zero value for regular exit case.
3158 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3159 (__start_context): Preserve zero value for regular exit case.
3161 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3162 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3164 * manual/setjmp.texi (setcontext): Clarify normal process
3165 termination when uc_link is the null pointer.
3166 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3169 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3171 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3172 preprocessor. Test for each exception mask separately.
3174 2012-07-16 Andreas Jaeger <aj@suse.de>
3176 * po/ru.po: Update from translation team.
3178 2012-07-15 Joseph Myers <joseph@codesourcery.com>
3180 * conform/data/string.h-data (NULL): Use macro-constant. Require
3182 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3183 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3184 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3185 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3186 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3188 2012-07-13 Andreas Jaeger <aj@suse.de>
3190 * po/fr.po: Update from translation team.
3192 2012-07-12 Marek Polacek <polacek@redhat.com>
3195 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3196 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3199 2012-07-12 Joseph Myers <joseph@codesourcery.com>
3202 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3203 Change to 2.4.1 where previously 2.4.0.
3204 * sysdeps/unix/sysv/linux/configure: Regenerated.
3205 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3206 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3208 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3209 (__ASSUME_AT_CLKTCK): Remove.
3210 (__ASSUME_AT_PAGESIZE): Likewise.
3211 (__ASSUME_AT_XID): Likewise.
3212 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3213 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3214 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3216 (HAVE_AUX_PAGESIZE): Likewise.
3217 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3218 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3219 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3221 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3225 the temporary buffer used to invoke __gethostbyname2_r,
3226 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3227 host_data / struct gaih_addrtuple.
3228 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3229 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3230 header file nss/nsswitch.h.
3231 * nss/nsswitch.h (global scope): Add definition of implementation
3232 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3233 resolv/nss_dns/dns-host.c).
3235 2012-07-11 Andreas Jaeger <aj@suse.de>
3237 * po/fr.po: Update from translation team.
3239 * po/sv.po: Update from translation team
3240 * po/fr.po: Another update from translation team.
3242 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3244 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3245 for subnormals or multiply small sinh result by itself.
3246 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3249 2012-07-11 David S. Miller <davem@davemloft.net>
3251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3253 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3256 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3257 (INTERNAL_MARK): Shift it here.
3259 2012-07-10 Marek Polacek <polacek@redhat.com>
3262 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3263 libc_cv_asm_global_directive with .globl.
3264 * configure: Regenerated.
3265 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3267 * sysdeps/i386/configure: Regenerated.
3268 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3270 * sysdeps/x86_64/configure: Regenerated.
3271 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3272 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3273 * elf/tst-unique2mod2.c: Likewise.
3274 * elf/tst-unique2mod1.c: Likewise.
3275 * elf/tst-unique1mod2.c: Likewise.
3276 * elf/tst-unique1mod1.c: Likewise.
3277 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3278 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3279 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3280 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3281 * sysdeps/mach/sysdep.h: Likewise.
3282 * sysdeps/i386/sysdep.h: Likewise.
3283 * sysdeps/i386/i386-mcount.S: Likewise.
3284 * sysdeps/x86_64/_mcount.S: Likewise.
3285 * sysdeps/x86_64/sysdep.h: Likewise.
3286 * sysdeps/sh/_mcount.S: Likewise.
3287 * sysdeps/sh/sysdep.h: Likewise.
3288 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3289 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3290 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3291 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3292 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3293 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3294 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3295 * locale/localeinfo.h: Likewise.
3296 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3297 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3299 2012-07-09 Roland McGrath <roland@hack.frob.com>
3302 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3304 * manual/message.texi (The Uniforum approach): Likewise.
3305 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3306 (glibc iconv Implementation): Likewise.
3308 2012-07-09 Joseph Myers <joseph@codesourcery.com>
3311 * math/s_clog.c (__clog): Avoid scaling a value down where that
3312 could result in underflow.
3313 * math/s_clog10.c (__clog10): Likewise.
3314 * math/s_clog10f.c (__clog10f): Likewise.
3315 * math/s_clog10l.c (__clog10l): Likewise.
3316 * math/s_clogf.c (__clogf): Likewise.
3317 * math/s_clogl.c (__clogl): Likewise.
3318 * math/libm-test.inc (clog_test): Add more tests.
3319 (clog10_test): Likewise.
3320 * sysdeps/i386/fpu/libm-test-ulps: Update.
3321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3323 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3326 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3327 by 7 not 8 to examine high bit of fractional part.
3330 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3331 for call to __mcount_internal.
3332 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3333 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3334 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3336 2012-07-06 Joseph Myers <joseph@codesourcery.com>
3339 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3340 approximation for values within 0x1p-13f of an odd multiple of
3342 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3343 exception. Add more tests.
3344 * sysdeps/i386/fpu/libm-test-ulps: Update.
3347 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3348 inputs and return -1 for them. Do not check for +Inf in case not
3350 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3351 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3352 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3353 and return -1 for them. Do not check for +Inf in case not
3355 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3357 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3358 and return -1 for them. Do not check for +Inf in case not
3360 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3362 * sysdeps/i386/fpu/libm-test-ulps: Update.
3363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3365 2012-07-06 Mike Frysinger <vapier@gentoo.org>
3367 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3369 2012-07-05 Joseph Myers <joseph@codesourcery.com>
3373 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3374 could result in spurious underflow. Scale down values above
3375 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3376 * math/s_csqrtf.c (__csqrtf): Likewise.
3377 * math/s_csqrtl.c (__csqrtl): Likewise.
3378 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3380 * sysdeps/i386/fpu/libm-test-ulps: Update.
3381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3383 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3385 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3387 * catgets/xopen-msg.awk: New file.
3388 * catgets/xopen-msg.sed: Removed.
3390 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3392 * intl/po2test.awk: New file.
3393 * intl/po2test.sed: Removed.
3395 2012-07-04 Joseph Myers <joseph@codesourcery.com>
3398 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3399 or multiply small sinh result by itself.
3400 * math/s_ctanf.c (__ctanf): Likewise.
3401 * math/s_ctanh.c (__ctanh): Likewise.
3402 * math/s_ctanhf.c (__ctanhf): Likewise.
3403 * math/s_ctanhl.c (__ctanhl): Likewise.
3404 * math/s_ctanl.c (__ctanl): Likewise.
3405 * math/libm-test.inc (ctan_test_tonearest): New function.
3406 (ctan_test_towardzero): Likewise.
3407 (ctan_test_downward): Likewise.
3408 (ctan_test_upward): Likewise.
3409 (ctanh_test_tonearest): Likewise.
3410 (ctanh_test_towardzero): Likewise.
3411 (ctanh_test_downward): Likewise.
3412 (ctanh_test_upward): Likewise.
3413 (main): Call these new functions.
3414 * sysdeps/i386/fpu/libm-test-ulps: Update.
3415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3417 2012-07-03 Mike Frysinger <vapier@gentoo.org>
3419 * .gitignore: Delete /ports entry.
3421 2012-07-03 Andreas Jaeger <aj@suse.de>
3423 * po/bg.po: Update from translation team.
3424 * po/cs.po: Likewise.
3425 * po/de.po: Likewise.
3426 * po/hr.po: Likewise.
3427 * po/nl.pl: Likewise.
3428 * po/pl.po: Likewise.
3429 * po/vi.po: Likewise.
3431 2012-07-03 Joseph Myers <joseph@codesourcery.com>
3433 * Makeconfig [!+link] (+link-before-libc): New variable.
3434 [!+link] (+link-after-libc): Likewise.
3435 [!+link] (+link-tests): Likewise.
3436 [!+link] (+link): Define in terms of $(+link-before-libc) and
3437 $(+link-after-libc).
3438 [!+link-static] (+link-static-before-libc): New variable.
3439 [!+link-static] (+link-static-after-libc): Likewise.
3440 [!+link-static] (+link-static-tests): Likewise.
3441 [!+link-static] (+link-static): Define in terms of
3442 $(+link-static-before-libc) and $(+link-static-after-libc).
3443 [build-shared] (link-libc-before-gnulib): New variable.
3444 [build-shared] (link-libc-tests): Likewise.
3445 [build-shared] (link-libc): Define in terms of
3446 $(link-libc-before-gnulib).
3447 [!build-shared] (link-libc-tests): New variable.
3448 (link-libc-static-tests): New variable.
3449 [!gnulib] (gnulib-arch): New variable.
3450 [!gnulib] (gnulib-tests): Likewise.
3451 [!gnulib] (static-gnulib-arch): Likewise.
3452 [!gnulib] (static-gnulib-tests): Likewise.
3453 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3454 Define with "=" instead of ":=".
3455 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3456 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3457 * Rules (binaries-all-notests): New variable.
3458 (binaries-all-tests): Likewise.
3459 (binaries-static-notests): Likewise.
3460 (binaries-static-tests): Likewise.
3461 (binaries-all): Define using $(binaries-all-notests) and
3462 $(binaries-all-tests).
3463 (binaries-static): Define using $(binaries-static-notests) and
3464 $(binaries-static-tests).
3465 (binaries-shared-tests): New variable.
3466 (binaries-shared-notests): Likewise.
3467 (binaries-shared): Remove variable.
3468 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3469 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3470 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3471 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3472 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3473 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3474 * elf/Makefile (sln-modules): New variable.
3475 (extra-objs): Add $(sln-modules:=.o).
3476 (ldconfig-modules): Add static-stubs.
3477 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3478 * elf/static-stubs.c: New file.
3481 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3482 by 7 not 8 to examine high bit of fractional part. Use volatile
3483 variables when splitting into final array of floats if
3484 __FLT_EVAL_METHOD__ != 0.
3485 * math/libm-test.inc (cos_test): Add another test.
3486 (sin_test): Likewise.
3487 * sysdeps/i386/fpu/libm-test-ulps: Update.
3490 * math/libm-test.inc (cosh_test): Add more tests.
3492 * version.h (RELEASE): Set to "development".
3493 (VERSION): Set to "2.16.90".
3495 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3497 * NEWS: Update copyright. Remove last-updated date.
3498 Mention math library bug fixes and timezone data changes.
3499 * README: Mention GNU/Hurd, x32, and HPPA support status.
3501 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3503 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3505 2012-06-27 Andreas Jaeger <aj@suse.de>
3507 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3509 2012-06-25 Andreas Jaeger <aj@suse.de>
3511 * sysdeps/s390/fpu/libm-test-ulps: Update.
3513 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3514 Thomas Schwinge <thomas@codesourcery.com>
3516 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3517 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3518 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3521 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3523 * sysdeps/mach/start.c: Remove file.
3524 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3525 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3526 * sysdeps/sh/init-first.c: Likewise.
3528 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3529 registers for frame unwinding purposes, add CFI directives.
3530 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3531 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3532 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3535 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3536 __fortify_fail returning.
3537 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3539 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3540 sysdeps/sh/____longjmp_chk.S.
3541 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3542 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3543 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3544 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3546 * sysdeps/sh/abort-instr.h: New file.
3547 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3548 process in case exit returns.
3550 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3551 initialize the GOT register before use.
3553 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3554 calculation of ARGC > 4.
3556 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3557 meaningful names to some local labels.
3559 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3560 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3562 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3563 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3564 (__arch_compare_and_exchange_val_16_acq): Likewise.
3565 (__arch_compare_and_exchange_val_32_acq): Likewise.
3566 (atomic_exchange_and_add): Fix gUSA sequence.
3567 (atomic_add): Likewise.
3568 (atomic_add_negative): Likewise.
3569 (atomic_add_zero): Likewise.
3570 (atomic_bit_test_set): Likewise.
3572 2012-06-22 Andreas Schwab <schwab@redhat.com>
3575 * include/link.h (struct link_map): Add l_free_initfini.
3576 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3578 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3579 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3580 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3583 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3585 * configure.in: Use AC_LANG_SOURCE.
3586 * configure: Regenerate.
3588 2012-06-22 Roland McGrath <roland@hack.frob.com>
3590 * configure.in (libc_cv_localstatedir): New substituted variable.
3591 * configure: Regenerated.
3592 * config.make.in (localstatedir): New variable, substituted from
3593 libc_cv_localstatedir.
3594 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3595 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3596 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3597 * sysdeps/gnu/configure: Regenerated.
3599 2012-06-21 Jeff Law <law@redhat.com>
3602 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3603 free. Simplify list management for _LIBC case.
3605 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3608 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3609 Clear sign bit of 64-bit integer value before comparing against
3612 * sysdeps/mach/configure: Regenerated.
3614 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3617 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3619 2012-06-21 Jeff Law <law@redhat.com>
3622 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3623 uint16_t for elements in the "seen" array to avoid char overflows.
3624 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3625 * elf/dl-open.c (dl_open_worker): Likewise.
3627 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3629 * scripts/list-sources.sh: Scan PORTS for translations.
3630 * po/libc.pot: Regenerated.
3632 2012-06-21 Andreas Jaeger <aj@suse.de>
3635 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3637 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3638 * bits/byteswap-16.h (__bswap_16): Likewise.
3639 * bits/byteswap.h (__bswap_constant_16): Likewise.
3641 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3644 * sysdeps/i386/fpu_control.h: Removed.
3645 * sysdeps/x86_64/fpu_control.h: Moved to ...
3646 * sysdeps/x86/fpu_control.h: Here.
3648 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3649 (_FPU_SETCW): Likewise.
3651 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3654 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3655 * sysdeps/x86/fpu/bits/mathinline.h: This.
3656 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3660 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3661 functions if __x86_64__ is defined.
3663 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3665 * string/endian.h: Add !__ASSEMBLER__ condition for including
3666 conversion interfaces.
3668 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3671 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3672 of ABS(x) in calculating zero to negative powers other than odd
3674 * math/libm-test.inc (pow_test): Add more tests.
3676 2012-06-15 Andreas Jaeger <aj@suse.de>
3678 * manual/contrib.texi (Contributors): Update entry of Liubov
3679 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3682 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3684 * string/string.h: Add __wur to GNU version of strerror_r.
3686 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3689 * string/Makefile (tests): Add tst-strtok_r.
3690 * string/tst-strtok_r.c: New file.
3691 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3692 RAX_LP/RDX_LP on SAVE_PTR.
3694 2012-06-14 Roland McGrath <roland@hack.frob.com>
3696 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3698 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3700 * libm_test.inc (csqrt_test): Allow more spurious underflow
3702 (j0_test): Likewise.
3703 (j1_test): Likewise.
3704 (y0_test): Likewise.
3705 (y1_test): Likewise.
3707 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3709 * po/Makefile (libc.pot): Use UTF-8 charset.
3711 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3714 Suppress sign-conversion warning from FD_SET.
3715 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3716 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3717 not unsigned long int.
3718 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3720 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3724 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3725 __extern_always_inline instead of __extern_inline.
3726 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3727 (__signbit): Likewise.
3728 (__signbitl): Support C++ namespace.
3729 (lrintf): New inline function.
3731 (llrintf): Likewise.
3743 (nearbyint): Likewise.
3744 (nearbyintf): Likewise.
3746 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3748 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3749 non-default versions.
3751 2012-06-11 Roland McGrath <roland@hack.frob.com>
3754 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3756 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3758 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3759 (FE_UPWARD, FE_DOWNWARD): Don't define.
3760 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3761 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3763 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3765 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3766 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3768 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3770 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3772 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3773 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3775 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3778 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3779 * sysdeps/i386/fpu/Implies: New file.
3780 * sysdeps/x86_64/fpu/Implies: Likewise.
3781 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3782 * sysdeps/x86/fpu/bits/fenv.h: This.
3784 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3787 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3790 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3791 character 0xffff that matches the last element of the
3794 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3796 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3799 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3802 values higher than 25.6283.
3804 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3807 subnormal exponent extraction and add some __builtin_expect.
3808 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3809 Fix for subnormal mantissa calculation.
3811 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3813 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3814 cpu2 is -1 and errno is not ENOSYS.
3816 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3819 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3820 * sysdeps/x86/bits/string.h: This.
3821 * sysdeps/x86_64/bits/string.h: Removed.
3823 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3824 if not compiling for x86-64, but compiling for >= i486.
3826 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3827 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3829 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3830 New macro from Linux kernel 3.4.0.
3831 (FP_XSTATE_MAGIC2): Likewise.
3832 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3833 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3834 (struct _fpx_sw_bytes): New struct.
3835 (struct _xsave_hdr): Likewise.
3836 (struct _ymmh_state): Likewise.
3837 (struct _xstate): Likewise.
3839 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3840 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3841 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3842 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3843 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3844 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3846 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3847 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3848 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3849 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3850 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3851 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3853 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3856 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3857 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3858 (sysdep_headers): Include sys/platform/ppc.h.
3859 * sysdeps/powerpc/test-gettimebase.c: Test for
3860 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3861 * manual/Makefile (appendices): Include platform.texi.
3862 * manual/contrib.texi (Contributors): Update @node pointers.
3863 * manual/maint.texi (Maintenance): Likewise.
3864 (Platform): New node.
3865 * manual/platform.texi: New file. Document the new features.
3867 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3868 Jakub Jelinek <jakub@redhat.com>
3871 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3872 where __builtin_expect is unavailable.
3874 2012-06-03 David S. Miller <davem@davemloft.net>
3876 * stdlib/longlong.h: Updated from GCC.
3878 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3881 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3882 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3885 (GLIBC_2.16): Likewise.
3887 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3889 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3891 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3894 (default-abi): New variable.
3895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3896 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3898 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3900 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3902 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3905 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3906 definition. Document in comment.
3908 2012-06-01 David S. Miller <davem@davemloft.net>
3910 * stdlib/longlong.h: Updated from GCC.
3912 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3915 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3916 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3917 sys/debugreg.h sys/io.h here.
3918 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3919 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3921 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3922 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3923 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3924 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3925 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3926 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3928 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3929 Define only if __x86_64__ is defined.
3931 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3934 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3935 Use int64_t for variable i.
3936 * math/libm-test.inc (fmod_test): Add more tests.
3938 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3939 z computation is not scheduled after fetestexcept.
3940 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3941 Use math_force_eval instead of asm to ensure calculation scheduled
3942 before exception test.
3943 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3944 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3946 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3949 computation is not scheduled after fetestexcept.
3951 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3954 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3955 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3957 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3959 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3960 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3962 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3965 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3967 (__WCHAR_MIN): Support __WORDSIZE == 64.
3968 (__WCHAR_MAX): Likewise.
3970 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3971 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3974 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3975 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3978 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3979 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3981 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3982 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3984 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3985 Defined to 1 if __x86_64__ isn't defined.
3986 (_STAT_VER_LINUX_OLD): New.
3987 (st_atime): Remove duplicate.
3988 (st_mtime): Likewise.
3989 (st_ctime): Likewise.
3991 2012-05-31 David S. Miller <davem@davemloft.net>
3993 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3996 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3998 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4002 * elf/dl-reloc.c: Include <_itoa.h>.
4003 (_dl_reloc_bad_type): Remove use of INTUSE.
4004 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4005 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4006 * stdio-common/psiginfo.c (psiginfo): Likewise.
4007 * stdio-common/psignal.c (psignal): Likewise.
4008 * string/strsignal.c (strsignal): Likewise.
4009 * include/signal.h (_sys_siglist): Declare hidden proto.
4010 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4011 INTVARDEF with libc_hidden_data_def.
4012 * stdio-common/itoa-udigits.c: Likewise.
4013 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4014 (_itoa_lower_digits_internal): Remove declaration.
4015 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4016 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4017 (_sys_sigabbrev_internal): Remove aliases.
4018 (_sys_siglist): Define hidden alias.
4020 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4025 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4028 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4029 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4031 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4032 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4033 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4034 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4036 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4038 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4039 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4040 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4042 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4050 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4051 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4052 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4054 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4055 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4056 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4057 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4058 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4059 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4061 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4062 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4064 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4065 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4067 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4068 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4069 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4071 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4072 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4074 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4076 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4077 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4078 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4080 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4082 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4084 2012-05-31 Joseph Myers <joseph@codesourcery.com>
4086 * math/math.h (M_El): Use two more decimal places.
4087 (M_LOG2El): Likewise.
4088 (M_LOG10El): Likewise.
4090 (M_LN10l): Likewise.
4092 (M_PI_2l): Likewise.
4093 (M_PI_4l): Likewise.
4094 (M_1_PIl): Likewise.
4095 (M_2_PIl): Likewise.
4096 (M_2_SQRTPIl): Likewise.
4097 (M_SQRT2l): Likewise.
4098 (M_SQRT1_2l): Likewise.
4100 2012-05-31 David S. Miller <davem@davemloft.net>
4102 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4103 values between float registers.
4104 * sysdeps/sparc/sparc64/memset.S: Likewise.
4105 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4107 2012-05-31 Mike Frysinger <vapier@gentoo.org>
4109 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4110 -D_FORTIFY_SOURCE=1.
4111 (CPPFLAGS-tst-longjmp_chk.c): Define.
4112 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4113 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4114 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4115 CFLAGS-tst-wchar-h.c.
4117 2012-05-31 Marek Polacek <polacek@redhat.com>
4120 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4121 __endmntent_internal): Remove declaration.
4122 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4123 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4124 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4126 2012-05-30 David S. Miller <davem@davemloft.net>
4128 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4129 (___Q_simulate_exceptions): Use real FP ops rather than writing
4131 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4134 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4137 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4138 * sysdeps/x86/bits/xtitypes.h: This.
4140 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4141 * sysdeps/x86/bits/wordsize.h: This.
4143 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4144 * sysdeps/x86/bits/huge_vall.h: This.
4146 * sysdeps/i386/bits/select.h: Removed.
4147 * sysdeps/x86_64/bits/select.h: Renamed to ...
4148 * sysdeps/x86/bits/select.h: This.
4150 * sysdeps/i386/bits/setjmp.h: Removed.
4151 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4152 * sysdeps/x86/bits/setjmp.h: This.
4154 * sysdeps/i386/bits/mathdef.h: Removed.
4155 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4156 * sysdeps/x86/bits/mathdef.h: This.
4158 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4161 * include/sys/socket.h (__connect_internal)
4162 (__libc_sa_len_internal): Remove declaration.
4163 (__connect, __libc_sa_len): Declare hidden_proto.
4164 (SA_LEN): Remove use of INTUSE.
4165 * socket/connect.c: Add libc_hidden_def.
4166 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4167 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4168 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4170 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4171 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4172 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4173 of adding _internal alias.
4175 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4178 * sysdeps/i386/bits/link.h: Removed.
4179 * sysdeps/i386/bits/linkmap.h: Likewise.
4180 * sysdeps/x86_64/bits/link.h: Renamed to ...
4181 * sysdeps/x86/bits/link.h: This.
4182 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4183 * sysdeps/x86/bits/linkmap.h: This.
4185 * sysdeps/i386/bits/endian.h: Removed.
4186 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4187 * sysdeps/x86/bits/endian.h: This.
4189 * sysdeps/i386/bits/byteswap.h: Removed.
4190 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4191 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4192 * sysdeps/x86/bits/byteswap.h: This.
4193 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4194 * sysdeps/x86/bits/byteswap-16.h: This.
4195 * sysdeps/i386/Implies: Add x86.
4196 * sysdeps/x86_64/Implies: Likewise.
4198 2012-05-30 David S. Miller <davem@davemloft.net>
4200 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4201 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4202 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4203 (FP_TRAPPING_EXCEPTIONS): Define.
4204 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4205 (FP_TRAPPING_EXCEPTIONS): Define.
4206 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4207 subnormals only when inexact has been signalled or underflow
4208 exceptions are enabled.
4209 (_FP_PACK_CANONICAL): Likewise.
4211 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4214 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4215 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4217 2012-05-30 Richard Henderson <rth@twiddle.net>
4219 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4220 with #ifndef NOT_IN_libc.
4222 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4223 marked to avoid plt entry.
4225 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4228 * Makeconfig (default-abi): New macro.
4229 (abi-includes): Likewise.
4230 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4231 $(abi-$(default-abi)-lib-soname) for soname if defined.
4232 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4234 * Makefile (installed-stubs): Likewise.
4235 * include/stubs-biarch.h: Removed.
4236 * scripts/lib-names.awk: Only handle one library at a time.
4237 * scripts/soversions.awk: Remove WORDSIZE support.
4238 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4240 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4242 (syscall-list-default-condition): Likewise.
4243 (syscall-list-default-condition): Likewise.
4244 (syscall-list-includes): Likewise.
4245 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4246 syscall-list-* with abi-*. Handle undefined abi-variants.
4247 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4248 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4249 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4250 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4251 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4252 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4254 (syscall-list-32-options): Likewise.
4255 (syscall-list-32-condition): Likewise.
4256 (syscall-list-64-options): Likewise.
4257 (syscall-list-64-condition): Likewise.
4258 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4260 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4263 (abi-64-ld-soname): New macro.
4264 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4265 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4268 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4269 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4271 2012-05-30 Joseph Myers <joseph@codesourcery.com>
4273 * sysdeps/unix/sysv/linux/kernel-features.h
4274 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4275 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4276 include <kernel-features.h>.
4277 [!__NR_ftruncate64]: Remove conditional code.
4278 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4279 [__NR_ftruncate64]: Make code unconditional.
4280 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4281 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4282 include <kernel-features.h>.
4283 [!__NR_ftruncate64]: Remove conditional code.
4284 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4285 [__NR_ftruncate64]: Make code unconditional.
4286 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4288 include <kernel-features.h>.
4289 [!__NR_ftruncate64]: Remove conditional code.
4290 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4291 [__NR_ftruncate64]: Make code unconditional.
4292 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4294 include <kernel-features.h>.
4295 [!__NR_ftruncate64]: Remove conditional code.
4296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4297 [__NR_ftruncate64]: Make code unconditional.
4298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4300 * configure.in (libc_cv_fpie): Weaken to a compile test using
4302 * configure: Regenerated.
4304 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4319 2012-05-27 David S. Miller <davem@davemloft.net>
4321 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4323 (__Q_simulate_exceptions): Return void. Change to simulate
4324 exceptions by writing into the %fsr.
4325 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4326 (__Qp_handle_exceptions): Likewise.
4328 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4329 __Qp_handle_exceptions.
4330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4331 __Qp_handle_exceptions.
4332 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4333 as unused and give dummy FP_RND_NEAREST initializer.
4334 (FP_INHIBIT_RESULTS): Define.
4335 (___Q_simulate_exceptions): Update declaration.
4336 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4338 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4339 as unused and give dummy FP_RND_NEAREST initializer.
4340 (__Qp_handle_exceptions): Update declaration.
4341 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4344 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4346 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4347 the temporary FPU control word.
4348 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4349 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4350 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4351 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4352 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4353 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4354 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4355 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4356 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4357 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4358 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4360 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4362 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4365 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4367 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4368 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4369 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4370 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4372 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4373 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4376 2012-05-27 Ulrich Drepper <drepper@gmail.com>
4378 * po/h.po: Update from translation team.
4380 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4382 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4384 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4385 handling of denormals.
4386 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4387 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4388 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4389 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4390 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4395 2012-05-26 Marek Polacek <polacek@redhat.com>
4398 * math/libm-test.inc (fma_test): Don't always expect underflow
4401 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4404 * elf/tst-execstack.c: Include stackinfo.h.
4405 (do_test): Adjust test case to ensure that pthread_getattr_np
4406 behaviour remains the same after marking stack executable.
4408 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4410 * sysdeps/unix/sysv/linux/kernel-features.h
4411 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4412 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4414 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4415 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4416 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4418 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4419 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4421 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4423 * configure.in: Define the default includes to being none.
4424 * configure: Regenerated.
4426 2012-05-25 Roland McGrath <roland@hack.frob.com>
4428 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4429 * sysdeps/x86_64/setjmp.S: Likewise.
4430 * sysdeps/i386/bsd-setjmp.S: Likewise.
4431 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4432 * sysdeps/i386/setjmp.S: Likewise.
4433 * sysdeps/i386/__longjmp.S: Likewise.
4434 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4435 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4437 * include/stap-probe.h: New file.
4438 * configure.in: Handle --enable-systemtap.
4439 * configure: Regenerated.
4440 * config.h.in (USE_STAP_PROBE): New #undef.
4441 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4442 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4443 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4445 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4448 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4449 to 2.4.0 where earlier.
4450 * sysdeps/unix/sysv/linux/configure: Regenerated.
4451 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4452 <kernel-features.h>.
4453 [__ASSUME_32BITUIDS]: Make code unconditional.
4454 [!__ASSUME_32BITUIDS]: Remove conditional code.
4455 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4456 <kernel-features.h>.
4457 [__ASSUME_32BITUIDS]: Make code unconditional.
4458 [!__ASSUME_32BITUIDS]: Remove conditional code.
4459 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4460 [__ASSUME_32BITUIDS]: Make code unconditional.
4461 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4462 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4463 <kernel-features.h>.
4464 [__ASSUME_32BITUIDS]: Make code unconditional.
4465 [!__ASSUME_32BITUIDS]: Remove conditional code.
4466 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4467 <kernel-features.h>.
4468 [__ASSUME_32BITUIDS]: Make code unconditional.
4469 [!__ASSUME_32BITUIDS]: Remove conditional code.
4470 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4471 <kernel-features.h>.
4472 [__ASSUME_32BITUIDS]: Make code unconditional.
4473 [!__ASSUME_32BITUIDS]: Remove conditional code.
4474 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4475 <kernel-features.h>.
4476 [__ASSUME_32BITUIDS]: Make code unconditional.
4477 [!__ASSUME_32BITUIDS]: Remove conditional code.
4478 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4479 <kernel-features.h>.
4480 [__ASSUME_32BITUIDS]: Make code unconditional.
4481 [!__ASSUME_32BITUIDS]: Remove conditional code.
4482 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4483 <kernel-features.h>.
4484 [__ASSUME_32BITUIDS]: Make code unconditional.
4485 [!__ASSUME_32BITUIDS]: Remove conditional code.
4486 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4487 <kernel-features.h>.
4488 [__ASSUME_32BITUIDS]: Make code unconditional.
4489 [!__ASSUME_32BITUIDS]: Remove conditional code.
4490 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4491 <kernel-features.h>.
4492 [__ASSUME_32BITUIDS]: Make code unconditional.
4493 [!__ASSUME_32BITUIDS]: Remove conditional code.
4494 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4495 <kernel-features.h>.
4496 [__ASSUME_32BITUIDS]: Make code unconditional.
4497 [!__ASSUME_32BITUIDS]: Remove conditional code.
4498 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4499 <kernel-features.h>.
4500 [__ASSUME_32BITUIDS]: Make code unconditional.
4501 [!__ASSUME_32BITUIDS]: Remove conditional code.
4502 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4503 <kernel-features.h>.
4504 [__NR_setresgid] (__setresgid): Do not declare.
4505 [__ASSUME_32BITUIDS]: Make code unconditional.
4506 [!__ASSUME_32BITUIDS]: Remove conditional code.
4507 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4508 <kernel-features.h>.
4509 [__NR_setresuid] (__setresuid): Do not declare.
4510 [__ASSUME_32BITUIDS]: Make code unconditional.
4511 [!__ASSUME_32BITUIDS]: Remove conditional code.
4512 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4513 <kernel-features.h>.
4514 [__ASSUME_32BITUIDS]: Make code unconditional.
4515 [!__ASSUME_32BITUIDS]: Remove conditional code.
4516 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4517 <kernel-features.h>.
4518 [__ASSUME_32BITUIDS]: Make code unconditional.
4519 [!__ASSUME_32BITUIDS]: Remove conditional code.
4520 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4521 <kernel-features.h>.
4522 [__ASSUME_32BITUIDS]: Make code unconditional.
4523 [!__ASSUME_32BITUIDS]: Remove conditional code.
4524 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4525 <kernel-features.h>.
4526 [__ASSUME_32BITUIDS]: Make code unconditional.
4527 [!__ASSUME_32BITUIDS]: Remove conditional code.
4528 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4529 <kernel-features.h>.
4530 [__ASSUME_32BITUIDS]: Make code unconditional.
4531 [!__ASSUME_32BITUIDS]: Remove conditional code.
4532 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4533 <kernel-features.h>.
4534 [__ASSUME_32BITUIDS]: Make code unconditional.
4535 [!__ASSUME_32BITUIDS]: Remove conditional code.
4536 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4537 <kernel-features.h>.
4538 [__ASSUME_32BITUIDS]: Make code unconditional.
4539 [!__ASSUME_32BITUIDS]: Remove conditional code.
4540 * sysdeps/unix/sysv/linux/i386/setreuid.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/i386/setuid.c: Do not include
4545 <kernel-features.h>.
4546 [__ASSUME_32BITUIDS]: Make code unconditional.
4547 [!__ASSUME_32BITUIDS]: Remove conditional code.
4548 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4549 <kernel-features.h>.
4550 [__ASSUME_32BITUIDS]: Make code unconditional.
4551 [!__ASSUME_32BITUIDS]: Remove conditional code.
4552 * sysdeps/unix/sysv/linux/kernel-features.h
4553 (__ASSUME_SETRESUID_SYSCALL): Remove.
4554 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4555 (__ASSUME_32BITUIDS): Likewise.
4556 (__ASSUME_LDT_WORKS): Likewise.
4557 (__ASSUME_O_DIRECTORY): Likewise.
4558 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4559 architecture but not kernel version.
4560 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4561 (__ASSUME_MMAP2_SYSCALL): Likewise.
4562 (__ASSUME_STAT64_SYSCALL): Likewise.
4563 (__ASSUME_IPC64): Likewise.
4564 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4565 <kernel-features.h>.
4566 [__ASSUME_32BITUIDS]: Make code unconditional.
4567 [!__ASSUME_32BITUIDS]: Remove conditional code.
4568 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4569 <kernel-features.h>.
4570 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4571 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4572 132096]: Remove conditional code.
4573 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4574 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4575 <kernel-features.h>.
4576 [__ASSUME_32BITUIDS]: Make code unconditional.
4577 [!__ASSUME_32BITUIDS]: Remove conditional code.
4578 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4579 <kernel-features.h>.
4580 [__ASSUME_32BITUIDS]: Make code unconditional.
4581 [!__ASSUME_32BITUIDS]: Remove conditional code.
4582 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4583 <kernel-features.h>.
4584 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4586 (__setresgid): Do not declare.
4587 [__ASSUME_32BITUIDS]: Make code unconditional.
4588 [!__ASSUME_32BITUIDS]: Remove conditional code.
4589 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4590 <kernel-features.h>.
4591 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4593 (__setresuid): Do not declare.
4594 [__ASSUME_32BITUIDS]: Make code unconditional.
4595 [!__ASSUME_32BITUIDS]: Remove conditional code.
4596 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4597 <kernel-features.h>.
4598 [__ASSUME_32BITUIDS]: Make code unconditional.
4599 [!__ASSUME_32BITUIDS]: Remove conditional code.
4600 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4601 <kernel-features.h>.
4602 [__ASSUME_32BITUIDS]: Make code unconditional.
4603 [!__ASSUME_32BITUIDS]: Remove conditional code.
4605 2012-05-25 Richard Henderson <rth@twiddle.net>
4607 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4608 dl_hwcap to ifunc resolver.
4609 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4611 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4612 dl_hwcap to ifunc resolver.
4613 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4615 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4618 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4619 for |x| <= 2**-26, not 2**-57.
4620 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4623 2012-05-24 Jeff Law <law@redhat.com>
4625 * stdio-common/Makefile (tests): Add bug25.
4626 * stdio-common/bug25.c: New test.
4628 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4631 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4632 multiple of MALLOC_ALIGNMENT in size.
4633 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4635 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4637 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4639 (FILENAME_MAX): Use macro-int-constant.
4640 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4641 (_IOFBF): Use macro-int-constant.
4644 (SEEK_CUR): Likewise.
4645 (SEEK_END): Likewise.
4646 (SEEK_SET): Likewise.
4647 (TMP_MAX): Likewise.
4648 (EOF): Use macro-int-constant. Require < 0.
4649 (NULL): Use macro-constant. Require == 0.
4650 (stdin): Require type to be FILE *.
4653 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4655 (EXIT_SUCCESS): Likewise.
4656 (NULL): Use macro-constant. Require == 0.
4657 (RAND_MAX): Use macro-int-constant.
4658 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4659 [C99-based standards] (strtof): Require function.
4660 [C99-based standards] (strtold): Likewise.
4661 [C99-based standards] (strtoll): Likewise.
4662 [C99-based standards] (strtoull): Likewise.
4663 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4664 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4665 [ISO || ISO99 || ISO11] (math.h): Likewise.
4666 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4667 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4668 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4670 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4673 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4674 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4675 * intl/dgettext.c (DCGETTEXT): Likewise.
4676 * intl/gettext.c (DCGETTEXT): Likewise.
4677 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4678 * posix/regex_internal.h (gettext): Likewise.
4679 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4681 * include/argz.h (__argz_count_internal)
4682 (__argz_stringify_internal): Remove declaration.
4683 (__argz_count, __argz_stringify): Declare hidden proto.
4684 * intl/dcgettext.c: Remove use of INTDEF.
4685 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4686 * string/argz-stringify.c: Likewise.
4687 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4688 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4689 Declare hidden proto.
4690 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4691 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4692 Declare hidden proto.
4693 * include/stdio.h (__asprintf_internal): Don't declare.
4694 (__asprintf): Don't define as macro. Declare hidden proto.
4695 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4696 (__fsetlocking): Declare hidden proto.
4697 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4698 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4700 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4701 (_IO_setlinebuf): Remove use of INTUSE.
4702 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4703 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4704 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4706 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4707 (_IO_do_flush): Remove use of INTUSE.
4708 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4709 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4710 (_IO_adjust_column, _IO_least_wmarker)
4711 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4712 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4713 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4714 (_IO_default_doallocate, _IO_wdefault_doallocate)
4715 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4716 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4717 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4718 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4719 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4720 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4721 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4722 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4723 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4724 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4725 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4726 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4727 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4729 (_IO_flush_all_internal, _IO_adjust_column_internal)
4730 (_IO_default_uflow_internal, _IO_default_finish_internal)
4731 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4732 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4733 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4734 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4735 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4736 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4737 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4738 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4739 (_IO_file_close_internal, _IO_file_close_it_internal)
4740 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4741 (_IO_file_init_internal, _IO_file_attach_internal)
4742 (_IO_file_fopen_internal, _IO_file_read_internal)
4743 (_IO_file_sync_internal, _IO_file_seek_internal)
4744 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4745 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4746 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4747 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4748 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4749 (_IO_list_all_internal, _IO_link_in_internal)
4750 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4751 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4752 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4753 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4754 (_IO_do_write_internal, _IO_padn_internal)
4755 (_IO_getline_info_internal, _IO_getline_internal)
4756 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4757 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4758 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4759 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4760 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4761 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4762 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4763 with libc_hidden_ver, remove use of INTUSE.
4764 * libio/genops.c: Likewise.
4765 * libio/freopen.c: Likewise.
4766 * libio/freopen64.c: Likewise.
4767 * libio/iofclose.c: Likewise.
4768 * libio/iofdopen.c: Likewise.
4769 * libio/iofflush.c: Likewise.
4770 * libio/iofflush_u.c: Likewise.
4771 * libio/iofgets.c: Likewise.
4772 * libio/iofgets_u.c: Likewise.
4773 * libio/iofopen.c: Likewise.
4774 * libio/iofopncook.c: Likewise.
4775 * libio/iofread.c: Likewise.
4776 * libio/iofread_u.c: Likewise.
4777 * libio/ioftell.c: Likewise.
4778 * libio/iofwrite.c: Likewise.
4779 * libio/iogetline.c: Likewise.
4780 * libio/iogets.c: Likewise.
4781 * libio/iogetwline.c: Likewise.
4782 * libio/iopadn.c: Likewise.
4783 * libio/iopopen.c: Likewise.
4784 * libio/ioseekoff.c: Likewise.
4785 * libio/ioseekpos.c: Likewise.
4786 * libio/iosetbuffer.c: Likewise.
4787 * libio/iosetvbuf.c: Likewise.
4788 * libio/ioungetc.c: Likewise.
4789 * libio/ioungetwc.c: Likewise.
4790 * libio/iovdprintf.c: Likewise.
4791 * libio/iovsprintf.c: Likewise.
4792 * libio/iovsscanf.c: Likewise.
4793 * libio/memstream.c: Likewise.
4794 * libio/obprintf.c: Likewise.
4795 * libio/oldfileops.c: Likewise.
4796 * libio/oldiofclose.c: Likewise.
4797 * libio/oldiofdopen.c: Likewise.
4798 * libio/oldiofopen.c: Likewise.
4799 * libio/oldiopopen.c: Likewise.
4800 * libio/oldstdfiles.c: Likewise.
4801 * libio/putc.c: Likewise.
4802 * libio/setbuf.c: Likewise.
4803 * libio/setlinebuf.c: Likewise.
4804 * libio/stdfiles.c: Likewise.
4805 * libio/strops.c: Likewise.
4806 * libio/vasprintf.c: Likewise.
4807 * libio/vscanf.c: Likewise.
4808 * libio/vsnprintf.c: Likewise.
4809 * libio/vswprintf.c: Likewise.
4810 * libio/wfiledoalloc.c: Likewise.
4811 * libio/wfileops.c: Likewise.
4812 * libio/wgenops.c: Likewise.
4813 * libio/wmemstream.c: Likewise.
4814 * libio/wstrops.c: Likewise.
4815 * libio/__fpurge.c: Likewise.
4816 * libio/__fsetlocking.c: Likewise.
4817 * assert/assert.c: Likewise.
4818 * debug/fgets_chk.c: Likewise.
4819 * debug/fgets_u_chk.c: Likewise.
4820 * debug/fread_chk.c: Likewise.
4821 * debug/fread_u_chk.c: Likewise.
4822 * debug/gets_chk.c: Likewise.
4823 * debug/obprintf_chk.c: Likewise.
4824 * debug/vasprintf_chk.c: Likewise.
4825 * debug/vdprintf_chk.c: Likewise.
4826 * debug/vsnprintf_chk.c: Likewise.
4827 * debug/vsprintf_chk.c: Likewise.
4828 * malloc/mtrace.c: Likewise.
4829 * misc/error.c: Likewise.
4830 * misc/syslog.c: Likewise.
4831 * stdio-common/asprintf.c: Likewise.
4832 * stdio-common/fxprintf.c: Likewise.
4833 * stdio-common/getw.c: Likewise.
4834 * stdio-common/isoc99_fscanf.c: Likewise.
4835 * stdio-common/isoc99_scanf.c: Likewise.
4836 * stdio-common/isoc99_vfscanf.c: Likewise.
4837 * stdio-common/isoc99_vscanf.c: Likewise.
4838 * stdio-common/isoc99_vsscanf.c: Likewise.
4839 * stdio-common/printf-prs.c: Likewise.
4840 * stdio-common/printf_fp.c: Likewise.
4841 * stdio-common/printf_fphex.c: Likewise.
4842 * stdio-common/printf_size.c: Likewise.
4843 * stdio-common/putw.c: Likewise.
4844 * stdio-common/scanf.c: Likewise.
4845 * stdio-common/sprintf.c: Likewise.
4846 * stdio-common/tmpfile.c: Likewise.
4847 * stdio-common/vfprintf.c: Likewise.
4848 * stdio-common/vfscanf.c: Likewise.
4849 * stdlib/strfmon_l.c: Likewise.
4850 * sunrpc/openchild.c: Likewise.
4851 * sunrpc/xdr_stdio.c: Likewise.
4852 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4853 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4855 2012-05-24 Roland McGrath <roland@hack.frob.com>
4857 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4859 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4860 in the third column, to generate for the shared library an IFUNC
4861 that uses _dl_vdso_vsym.
4862 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4863 * Makeconfig (object-suffixes-noshared): New variable.
4865 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4866 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4867 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4868 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4871 * include/sys/time.h (__gettimeofday): Remove macro.
4872 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4873 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4875 (__gettimeofday): Add libc_hidden_def.
4876 (gettimeofday): Add libc_hidden_weak.
4877 * sysdeps/mach/gettimeofday.c: Likewise.
4878 * sysdeps/posix/gettimeofday.c: Likewise.
4879 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4880 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4881 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4882 (__gettimeofday_internal): Remove strong_alias.
4883 (__gettimeofday): Add libc_hidden_def.
4884 (gettimeofday): Add libc_hidden_weak.
4885 * sysdeps/unix/syscalls.list (gettimeofday):
4886 Remove __gettimeofday_internal alias.
4888 2012-05-24 Daniel Jacobowitz <drow@false.org>
4889 H.J. Lu <hongjiu.lu@intel.com>
4892 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4893 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4894 (largebin_index_32_big): New.
4895 (largebin_index): Use it for 16-byte alignment.
4896 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4897 correction with front_misalign.
4899 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4927 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4928 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4930 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4934 * math/libm-test.inc (exp_test): Add test from bug 14036.
4935 (pow_test): Add test from bug 10846.
4937 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4939 (special_function): Do not include flags in test name.
4940 (parse_args): Likewise.
4941 * sysdeps/i386/fpu/libm-test-ulps: Update.
4942 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4943 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4944 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4947 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4949 * math/libm-test.inc ("Philosophy"): Update comment about
4951 (UNDERFLOW_EXCEPTION): New macro.
4952 (UNDERFLOW_EXCEPTION_OK): Likewise.
4953 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4954 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4955 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4956 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4957 (INVALID_EXCEPTION_OK): Update value.
4958 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4959 (OVERFLOW_EXCEPTION_OK): Likewise.
4960 (IGNORE_ZERO_INF_SIGN): Likewise.
4961 (test_exceptions): Handle underflow exceptions.
4962 (acos_test): Update for underflow exception expectations.
4963 (cexp_test): Likewise.
4964 (clog_test): Likewise.
4965 (clog10_test): Likewise.
4966 (csqrt_test): Likewise.
4967 (ctan_test): Likewise.
4968 (ctanh_test): Likewise.
4969 (exp_test): Likewise.
4970 (exp10_test): Likewise.
4971 (exp2_test): Likewise.
4972 (expm1_test): Likewise.
4973 (fma_test): Likewise.
4974 (j0_test): Likewise.
4975 (jn_test): Likewise.
4976 (nexttoward_test): Likewise.
4977 (pow_test): Likewise.
4978 (scalbn_test): Likewise.
4979 (scalbln_test): Likewise.
4980 (tan_test): Likewise.
4981 (y1_test): Likewise.
4982 * sysdeps/i386/fpu/libm-test-ulps: Update.
4983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4985 2012-05-23 David S. Miller <davem@davemloft.net>
4987 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4988 (__libc_sigaction): Remove unused local variables.
4990 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4992 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4994 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4996 mktime: avoid signed integer overflow
4997 * time/mktime.c (__mktime_internal): Do not mishandle the case
4998 where diff == INT_MIN.
5000 mktime: simplify computation of average
5001 * time/mktime.c (ranged_convert): Use new time_t_avg function
5002 instead of rolling our own (probably-slower) code.
5004 mktime: do not assume signed right shift propagates sign bit
5005 * time/mktime.c (isdst_differ): New static function.
5006 (__mktime_internal): No need to normalize tm_isdst now.
5007 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5010 mktime: merge another wrapv change from gnulib
5011 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5012 from some compilers.
5014 mktime: remove incorrect attempt at unusual arithmetics
5015 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5016 The code didn't really work on such machines anyway.
5017 (TYPE_MINIMUM): Assume two's complement.
5018 (twos_complement_arithmetic): Verify that long_int and time_t
5019 are two's complement (or unsigned, in the latter case).
5021 mktime: check signed shifts on long_int and time_t, too
5022 * time/mktime.c (SHR): Check that shifts work as desired
5023 on the types long_int and time_t too, as SHR is used on
5026 mktime: do not assume 'long' is wide enough
5027 * time/mktime.c (verify): Move decl up.
5028 (long_int): New type.
5029 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5030 to remove assumption in the code that 'long' is wide enough to
5031 store year values. This assumption is not true on x32 and on
5032 some non-glibc platforms.
5034 mktime: merge wrapv change from gnulib
5035 * time/mktime.c (WRAPV): New macro.
5036 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5037 (guess_time_tm, __mktime_internal): Do not assume that signed
5038 integer overflow wraps around; modern compilers generate code
5039 where this assumption is no longer valid.
5041 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5043 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5044 Replace "jmp L(pseudo_end)" with "ret".
5045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5048 2012-05-23 Andreas Jaeger <aj@suse.de>
5050 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5051 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5053 2012-05-23 Andreas Jaeger <aj@suse.de>
5054 Maximilian Attems <max@stro.at>
5056 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5059 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5061 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5062 code so that pseudo_end is just ret and the stack pointer is
5063 correct also for static library in error case.
5065 2012-05-23 Joseph Myers <joseph@codesourcery.com>
5067 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5068 move to syscalls.list.
5069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5074 * manual/install.texi (Running make install): Do not mention Linux
5075 kernel version for which pt_chown is not needed.
5076 (Linux): Do not mention problems with nscd with 2.0 kernels.
5077 * INSTALL: Regenerated.
5079 2012-05-23 Andreas Jaeger <aj@suse.de>
5081 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5082 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5084 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5085 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5086 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5087 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5088 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5089 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5090 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5091 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5092 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5093 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5094 * sysdeps/unix/sysv/linux/bits/in.h
5095 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5097 2012-05-22 Roland McGrath <roland@hack.frob.com>
5099 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5100 (PREPARE_VERSION): Just use assert instead, it will be elided
5101 under [NDEBUG] anyway.
5103 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5105 * sysdeps/unix/sysv/linux/Makefile: Include
5106 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5107 (sysdep_routines): Remove sysctl.
5108 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5109 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5110 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5111 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5112 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5114 2012-05-22 Andreas Jaeger <aj@suse.de>
5116 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5117 that pseudo_end is just ret and the stack pointer is correct also
5118 for static library in error case.
5120 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5123 * nss/nsswitch.c (defconfig_entries): New variable.
5124 (__nss_database_lookup): Don't leak defconfig entries.
5125 (nss_parse_service_list): Don't leak on error paths.
5126 (free_database_entries): New function.
5127 (free_defconfig): New function.
5128 (free_mem): Move common code to free_database_entries.
5130 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5132 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5134 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5136 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5137 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5140 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5141 (INTERNAL_SYSCALL_TYPES): Likewise.
5142 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5143 (LOAD_REGS_TYPES_[1-6]): Likewise.
5144 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5145 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5147 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5149 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5150 copysignl for GLIBC_2_0.
5151 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5152 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5153 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5154 logbl for GLIBC_2_0.
5155 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5156 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5158 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5160 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5161 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5163 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5166 * time/mktime.c: Update copyright years.
5168 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5170 mktime: merge comment-quoting-style change from gnulib
5171 * time/mktime.c: Quote 'like this' in comments.
5172 The GNU coding standards suggest that we no longer quote `like this',
5173 as "`" and "'" are typically rendered asymmetrically nowadays.
5174 The typical gnulib style is to quote 'like this' when quoting
5175 code, and "like this" when quoting English.
5177 * time/mktime.c (compile-command): Add "-I.".
5179 mktime: merge mktime-internal.h change from gnulib
5180 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5182 mktime: merge time_r change from gnulib
5183 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5185 mktime: merge DEBUG change from gnulib
5186 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5187 case system <time.h> has a #define.
5189 mktime: merge <sys/types.h> change from gnulib
5190 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5191 since <time.t> is now guaranteed to define time_t.
5193 mktime: merge HAVE_CONFIG_H change from gnulib
5194 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5196 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5201 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5203 (struct rusage): Use anonymous union to pad each field to
5206 2012-05-21 David S. Miller <davem@davemloft.net>
5208 * Makefules (o-iterator): Remove .s cases.
5209 (compile-command.s): Delete.
5210 (COMPILE.s): Delete.
5211 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5213 2012-05-21 Joseph Myers <joseph@codesourcery.com>
5215 * configure.in (libc_cv_predef_stack_protector): Only consider
5216 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5217 * configure: Regenerated.
5219 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5222 New macro. Use R*LP on int and pointer.
5223 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
5224 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5225 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
5226 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5228 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5229 [__WORDSIZE_TIME64_COMPAT32] instead of
5230 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5231 (struct utmp): Likewise.
5232 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5233 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5235 (__WORDSIZE_TIME64_COMPAT32): This.
5236 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5237 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5238 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5239 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5240 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5241 (__WORDSIZE_TIME64_COMPAT32): New macro.
5243 2012-05-21 Andreas Jaeger <aj@suse.de>
5245 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5246 only if [SHARED]. Add prototype for __wcschr_ia32.
5248 2012-05-21 Roland McGrath <roland@hack.frob.com>
5250 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5251 of %rbp unmolested in the jmp_buf while mangling the low bits.
5252 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5253 unmolested high bits of %rbp while demangling the low bits.
5254 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5256 2012-05-21 Andreas Jaeger <aj@suse.de>
5258 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5259 * sunrpc/svc_simple.c: Use it for registerrpc.
5260 * sunrpc/xcrypt.c: Use it for passwd2des.
5262 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5264 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5266 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5267 Don't define if [__SYSCALL_WORDSIZE != 32].
5268 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5271 2012-05-21 Bruno Haible <bruno@clisp.org>
5272 Andreas Jaeger <aj@suse.de>
5274 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5275 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5276 inptr and inend for must_buffer_ch.
5277 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5278 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5279 * stdio-common/Makefile (tests): Remove bug15.
5280 (bug15-ENV): Remove macro.
5281 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5284 2012-05-19 Andreas Jaeger <aj@suse.de>
5285 Roland McGrath <roland@hack.frob.com>
5287 * manual/contrib.texi: Completely rewritten. It contains now an
5288 alphabetical list of contributors and their contributions.
5290 2012-05-21 Richard Henderson <rth@twiddle.net>
5292 * misc/getauxval.c (__getauxval): Use unsigned long int.
5293 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5294 (getauxval): Use unsigned long int.
5296 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5298 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5300 2012-05-21 Roland McGrath <roland@hack.frob.com>
5302 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5303 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5304 __alignof__ (long double).
5306 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5310 2012-05-20 Richard Henderson <rth@twiddle.net>
5312 * misc/getauxval.c: New file.
5313 * misc/sys/auxv.h: New file.
5314 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5315 (routines): Add getauxval.
5316 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5317 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5318 * elf/dl-sysdep.c (_dl_auxv): Remove.
5319 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5320 * elf/dl-support.c (_dl_auxv): New variable.
5321 (_dl_aux_init): Initialize it.
5322 * manual/startup.texi (Auxiliary Vector): New node.
5323 * sysdeps/generic/bits/hwcap.h: New file.
5324 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5325 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5326 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5327 * sysdeps/sparc/sysdep.h: ... here. Include it.
5328 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5329 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
5330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5335 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5341 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5345 2012-05-19 David S. Miller <davem@davemloft.net>
5347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5349 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5352 * math/s_ccosh.c: Include <float.h>
5353 (__ccosh): Avoid internal overflow calculating sinh and cosh
5354 values before multiplying by sin and cos values.
5355 * math/s_ccoshf.c: Likewise.
5356 * math/s_ccoshl.c: Likewise.
5357 * math/s_csin.c: Likewise.
5358 * math/s_csinf.c: Likewise.
5359 * math/s_csinl.c: Likewise.
5360 * math/s_csinh.c: Likewise.
5361 * math/s_csinhf.c: Likewise.
5362 * math/s_csinhl.c: Likewise.
5363 * math/libm-test.inc (ccos_test): Add more tests.
5364 (ccosh_test): Likewise.
5365 (csin_test): Likewise.
5366 (csinh_test): Likewise.
5367 * sysdeps/i386/fpu/libm-test-ulps: Update.
5368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5370 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5372 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5373 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5375 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5377 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5379 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5380 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5381 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5382 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5383 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5384 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5385 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5386 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5387 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5388 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5389 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5390 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5391 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5392 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5393 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5394 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5395 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5396 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5397 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5398 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5399 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5400 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5401 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5402 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5403 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5404 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5405 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5406 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5407 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5408 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5409 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5411 2012-05-18 Andreas Jaeger <aj@suse.de>
5413 * csu/.gitignore: Delete.
5415 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5417 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5418 (timex): Use __syscall_slong_t.
5420 2012-05-18 Andreas Jaeger <aj@suse.de>
5421 Carlos O'Donell <carlos_odonell@mentor.com>
5423 * manual/install.texi (Configuring and compiling): Update
5424 description about files modified in the source directory.
5425 * INSTALL: Regenerated.
5427 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5429 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5430 value. Use "or" to set return value to -1.
5431 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5432 negate return value.
5434 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5436 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5437 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5438 failure if the compiler has Graphite support disabled.
5439 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5441 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5442 CFLAGS-memmove.c): Likewise.
5443 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5446 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5448 * sysdeps/x86_64/x32/_itoa.h: New file.
5450 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5451 getdents system call only if kernel and user dirents have the
5452 same d_ino and d_off.
5454 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5455 LLONG_MAX != LONG_MAX.
5456 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5457 (_fitoa_word): Likewise.
5459 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5461 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5462 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5463 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5465 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5466 include <bits/wordsize.h>. Check __x86_64__ instead of
5468 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5469 if __x86_64__ is defined. Use anonymous union on fpstate.
5471 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5474 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5476 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5477 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5478 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5479 Refer to _rtld_local_ro instead of _rtld_global_ro.
5480 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5482 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5484 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5486 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5487 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5488 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5490 * sysdeps/powerpc/powerpc32/dl-machine.c
5491 (__elf_machine_runtime_setup) [PROF]: Don't reference
5494 2012-05-18 Andreas Jaeger <aj@suse.de>
5496 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5497 function only available for GCCs before 3.4 since GCC 3.4
5498 introduced a builtin.
5500 (llrintf): Likewise.
5508 (nearbyint): Likewise.
5509 (nearbyintf): Likewise.
5515 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5517 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5518 on both fields and cast pointer to __syscall_ulong_t.
5520 * bits/types.h (__fsword_t): New type.
5521 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5522 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5523 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5524 (__FSWORD_T_TYPE): Likewise.
5525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5526 (__FSWORD_T_TYPE): Likewise.
5527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5528 (__FSWORD_T_TYPE): Likewise.
5529 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5530 (__FSWORD_T_TYPE): Likewise.
5531 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5532 __SWORD_TYPE with __fsword_t.
5533 (statfs64): Likewise.
5535 2012-05-17 David S. Miller <davem@davemloft.net>
5537 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5539 2012-05-17 Andreas Jaeger <aj@suse.de>
5541 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5544 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5546 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5548 2012-05-17 Andreas Jaeger <aj@suse.de>
5550 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5553 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5555 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5557 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5559 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5560 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5562 2012-05-17 Andreas Jaeger <aj@suse.de>
5563 Carlos O'Donell <carlos_odonell@mentor.com>
5566 * sysdeps/x86_64/multiarch/init-arch.h
5567 (bit_YMM_Usable): Rename to...
5568 (bit_AVX_Usable): ... this.
5569 (bit_FMA4_Usable): New macro.
5570 (bit_XMM_state): New macro.
5571 (bit_YMM_state): New macro.
5572 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5573 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5574 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5575 (CPUID_OSXSAVE): New macro.
5576 (CPUID_AVX): New macro.
5577 (CPUID_FMA4): New macro.
5578 (index_YMM_Usable): Rename to...
5579 (index_AVX_Usable): ... this.
5580 (HAS_AVX): Use HAS_ARCH_FEATURE.
5581 (HAS_FMA4): Likewise.
5582 (HAS_YMM_USABLE): Remove.
5583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5584 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5586 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5587 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5588 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5589 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5590 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5592 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5594 * math/libm-test.c: Support platforms without multiple rounding modes.
5595 * math/bug-nextafter.c: Support platforms without FP exceptions.
5596 * math/bug-nexttoward.c: Likewise.
5597 * math/test-fenv.c: Likewise.
5598 * math/test-misc.c: Likewise.
5599 * stdlib/bug-getcontext.c: Likewise.
5601 2012-05-17 Andreas Jaeger <aj@suse.de>
5603 * manual/examples/search.c (critter_cmp): Change signature to
5605 * manual/string.texi (Collation Functions): Likewise.
5607 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5609 * bits/types.h: Fold copyright years.
5610 * bits/typesizes.h: Likewise.
5611 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5612 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5614 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5615 * time/time.h: Likewise.
5617 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5620 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5621 in instead of returning them. Return void.
5622 (__libc_mallinfo): Accumulate over all arenas.
5623 (__malloc_stats): Adjust for change in int_mallinfo interface.
5625 2012-05-16 Roland McGrath <roland@hack.frob.com>
5628 * configure.in (NM): Add AC_CHECK_TOOL for it.
5629 (libc_extra_cflags): New substituted variable.
5630 Check for -fstack-protector being used implicitly.
5631 * configure: Regenerated.
5632 * config.make.in (config-extra-cflags): New variable,
5633 gets @libc_extra_cflags@.
5634 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5637 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5638 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5639 * configure: Regenerated.
5640 * config.make.in (CPPUNDEFS): New substituted variable.
5641 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5642 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5643 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5645 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5647 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5648 (mq_attr): Use __syscall_slong_t.
5650 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5652 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5653 Check __x86_64__ instead of __WORDSIZE.
5654 (_STAT_VER_LINUX): Likewise.
5655 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5656 __syscall_ulong_t and __syscall_slong_t.
5659 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5661 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5663 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5665 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5667 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5669 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5672 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5673 include <bits/wordsize.h>. Check __x86_64__ instead of
5675 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5677 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5679 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5680 include <bits/wordsize.h>. Check __x86_64__ instead of
5682 (user_regs_struct): Use "__extension__ unsigned long long"
5683 instead of "unsigned long" if __x86_64__ is defined.
5684 (user): Likewise. Pad after pointer field if __ILP32__ is
5687 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5689 * configure.in (makeinfo): Require version 4.5 or later. Allow
5691 * configure: Regenerated.
5692 * manual/install.texi (texinfo): Increase version requirement to
5694 * INSTALL: Regenerated.
5696 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5698 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5700 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5702 * sysdeps/x86_64/x32/ffs.c: New file.
5704 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5706 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5707 defined. Use __syscall_ulong_t.
5708 (shminfo): Use __syscall_ulong_t.
5709 (shm_info): Likewise.
5711 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5714 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5716 (msgqnum_t): Use __syscall_ulong_t.
5717 (msglen_t): Likewise.
5718 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5721 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5722 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5724 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5726 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5727 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5729 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5732 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5733 include <bits/wordsize.h>. Check __x86_64__ instead of
5736 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5737 "unsigned long long int" if __x86_64__ is defined.
5738 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5740 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5741 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5742 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5744 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5746 (GET_PC): Cast to uintptr_t first.
5747 (GET_FRAME): Likewise.
5748 (GET_STACK): Likewise.
5750 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5751 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5752 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5753 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5754 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5755 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5756 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5757 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5758 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5759 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5760 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5761 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5762 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5763 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5764 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5765 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5766 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5767 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5768 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5769 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5770 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5771 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5772 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5773 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5774 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5775 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5776 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5777 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5778 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5780 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5782 * Makerules (+depfiles): Also collect depfiles from .oS in
5784 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5785 .oS, $(libnldbl-routines)).
5787 * Makerules (native-compile-mkdep-flags): Define.
5788 * sunrpc/Makefile (extra-objs): Add $(addprefix
5789 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5790 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5791 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5792 calling $(make-target-directory).
5794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5796 * bits/types.h (__snseconds_t): Removed.
5797 * time/time.h (struct timespec): Replace __snseconds_t with
5799 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5800 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5802 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5803 (__SNSECONDS_T_TYPE): Likewise.
5804 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5805 (__SNSECONDS_T_TYPE): Likewise.
5806 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5807 (__SNSECONDS_T_TYPE): Likewise.
5809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5811 * sysdeps/mach/hurd/bits/typesizes.h
5812 (__SYSCALL_SLONG_TYPE): New macro.
5813 (__SYSCALL_ULONG_TYPE): Likewise.
5815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5817 * bits/types.h (__syscall_slong_t): New type.
5818 (__syscall_ulong_t): Likewise.
5820 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5821 (__SYSCALL_ULONG_TYPE): Likewise.
5822 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5823 (__SYSCALL_SLONG_TYPE): Likewise.
5824 (__SYSCALL_ULONG_TYPE): Likewise.
5825 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5826 (__SYSCALL_SLONG_TYPE): Likewise.
5827 (__SYSCALL_ULONG_TYPE): Likewise.
5828 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5829 (__SYSCALL_SLONG_TYPE): Likewise.
5830 (__SYSCALL_ULONG_TYPE): Likewise.
5832 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5834 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5835 Add sigaltstack-offsets.sym.
5836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5837 <sigaltstack-offsets.h>.
5838 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5839 longjmp_msg pointer.
5840 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5841 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5843 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5845 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5847 * elf/stackguard-macros.h: Remove file.
5848 * sysdeps/generic/stackguard-macros.h: New file.
5849 * sysdeps/i386/stackguard-macros.h: Likewise.
5850 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5851 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5852 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5853 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5854 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5855 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5856 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5857 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5858 <elf/stackguard-macros.h>.
5861 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5862 __aligned__ in attribute.
5863 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5864 (gregset_t): Likewise.
5866 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5868 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5869 * sysdeps/x86_64/64/Implies-after: Here. New file.
5870 * sysdeps/x86_64/x32/Implies-after: New file.
5872 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5874 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5875 and access return value for _dl_profile_fixup. Use R10_LP to
5878 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5880 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5884 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5885 * sysdeps/x86_64/x32/sysdep.h: New file.
5887 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5889 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5890 * sysdeps/x86_64/setjmp.S: Likewise.
5892 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5894 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5895 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5896 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5897 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5898 remove unused global constant.
5900 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5902 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5903 include of <not-cancel.h>.
5905 2012-05-15 Roland McGrath <roland@hack.frob.com>
5907 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5909 2012-05-15 Jeff Law <law@redhat.com>
5910 Andreas Jaeger <aj@suse.de>
5913 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5915 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5916 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5917 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5918 code changing __hst_map_handle.map.
5920 2012-05-15 Roland McGrath <roland@hack.frob.com>
5922 * configure.in (sysnames): Look for Implies-before and Implies-after
5924 * configure: Regenerated.
5926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5928 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5929 8-byte data alignment with LP_SIZE alignment.
5931 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5933 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5938 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5942 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5943 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5944 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5946 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5950 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5951 (stackinfo_sub_sp): Likewise.
5953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5955 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5960 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5965 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5968 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5970 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5972 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5974 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5975 into R11_LP and load __x86_64_shared_cache_size_half into
5978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5980 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5983 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5987 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5989 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5991 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5992 powerpc32/power7/fpu/s_logb.c via #include.
5993 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5994 powerpc32/power7/fpu/s_logbf.c via #include.
5995 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5996 powerpc32/power7/fpu/s_logbl.c via #include.
5998 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6000 * README.libm: Remove file.
6002 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6004 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6005 count for x32. Use R*_LP and omit operand-size suffix.
6007 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6009 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6010 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6011 * sysdeps/x86_64/x32/shlib-versions: New file.
6013 2012-05-14 Roland McGrath <roland@hack.frob.com>
6015 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6016 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6017 Use _dl_fatal_printf instead.
6019 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6021 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6022 set if not set by the user. Do not allow for being unset.
6023 * sysdeps/unix/sysv/linux/configure: Regenerated.
6025 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6027 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6028 the `q' suffix from lea and replace .quad with ASM_ADDR.
6030 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6033 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6035 (PTR_DEMANGLE): Likewise.
6037 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6039 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6041 (ASM_ADDR): Likewise.
6059 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6061 * sysdeps/x86_64/x32/dl-machine.h: New file.
6063 2012-05-14 Andreas Jaeger <aj@suse.de>
6065 * manual/Makefile (subdir): Remove export of subdir.
6066 (all): Remove target.
6067 (.PHONY): Remove all from list.
6068 (mkinstalldirs): Remove.
6069 (.PHONY): Remove installdirs from list.
6070 ($(inst_infodir)/libc.info): Use make-target-directory.
6071 (installdirs): Remove.
6073 (glibc-targets): Remove.
6076 ($(objpfx)stubs ../po/manual.pot): Remove.
6077 ($(objpfx)stamp%): Remove.
6078 (make-target-directory): Remove.
6079 (subdir_install): Remove.
6087 * manual/.gitignore: Remove, it's not needed anymore.
6088 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6090 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6092 (texis): Renamed to $(objpfx)texis.
6093 (texis-path): New, contains path to generated files.
6094 (chapters.%): Use texis-path for complete path, add extra argument
6096 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6097 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6098 (summary,texi, stamp-summary): Use complete path of
6099 files. Generate files in build dir.
6100 (dir-add.texi): Build in build dir.
6101 (libm-err.texi,stamp-libm-err): Likewise.
6102 (version.texi, stamp-version): Likewise.
6103 (.%c.texi): Likewise.
6104 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6105 (mostlyclean): Remove target.
6106 (realclean): Remove target.
6107 (generated): Add new variable with contents from mostlyclean and
6108 realclean, remove entries duplicated in common-mostlyclean, add
6109 stamp-libm-err and stamp-version.
6110 (generated-dirs): Add libc directory.
6111 ($(inst_infodir)/libc.info): Install files from build dir.
6113 * manual/install.texi (Configuring and compiling): Adjust since
6114 the info files are not part of the tar ball anymore.
6116 2012-05-14 Andreas Jaeger <aj@suse.de>
6118 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6121 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6125 to 2.2.0 where earlier.
6126 * sysdeps/unix/sysv/linux/configure: Regenerated.
6127 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6128 Remove conditional code.
6129 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6130 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6131 Remove conditional code.
6132 [!__NR_lchown]: Likewise.
6133 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6134 [__NR_lchown]: Likewise.
6135 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6136 comment referencing __ASSUME_LCHOWN_SYSCALL.
6137 * sysdeps/unix/sysv/linux/i386/sigaction.c
6138 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6139 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6140 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6141 Remove conditional code.
6142 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6143 (__protocol_available): Remove #if 0 code.
6144 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6146 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6147 * sysdeps/unix/sysv/linux/kernel-features.h
6148 (__ASSUME_GETCWD_SYSCALL): Don't define.
6149 (__ASSUME_REALTIME_SIGNALS): Likewise.
6150 (__ASSUME_PREAD_SYSCALL): Likewise.
6151 (__ASSUME_PWRITE_SYSCALL): Likewise.
6152 (__ASSUME_POLL_SYSCALL): Likewise.
6153 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6154 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6156 (__ASSUME_SIOCGIFNAME): Don't define.
6157 (__ASSUME_MSG_NOSIGNAL): Likewise.
6158 (__ASSUME_SENDFILE): Define unconditionally.
6159 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6160 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6162 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6163 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6164 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6165 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6166 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6167 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6168 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6170 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6173 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6176 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6177 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6179 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6180 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6182 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6185 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6186 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6188 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6191 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6193 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6194 Remove conditional code.
6195 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6196 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6197 Remove conditional code.
6198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6199 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6200 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6201 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6202 Remove conditional code.
6203 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6204 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6205 Remove conditional code.
6206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6207 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6208 Remove conditional code.
6209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6210 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6211 Remove conditional code.
6212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6213 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6214 Remove conditional code.
6215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6216 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6217 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6219 * sysdeps/unix/sysv/linux/sigaction.c
6220 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6221 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6222 * sysdeps/unix/sysv/linux/sigpending.c
6223 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6224 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6225 * sysdeps/unix/sysv/linux/sigprocmask.c
6226 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6227 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6228 * sysdeps/unix/sysv/linux/sigsuspend.c
6229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6231 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6232 (__libc_missing_rt_sigs): Remove.
6233 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6234 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6235 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6236 Remove conditional code.
6237 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6238 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6240 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6241 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6242 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6243 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6245 2012-05-14 Andreas Jaeger <aj@suse.de>
6247 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6248 it's not used in glibc.
6249 (__coshm1): Likewise.
6250 (__acosh1p): Likewise.
6253 * manual/string.texi (Copying and Concatenation): Add missing
6254 variable in concat example.
6255 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6257 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6261 __builtin_clzl with __builtin_clzll.
6263 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6266 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6269 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6271 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6272 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6273 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6274 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6276 2012-05-14 Mike Frysinger <vapier@gentoo.org>
6278 * NEWS: Update ia64 info.
6280 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6282 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6285 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6287 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6288 * sysdeps/unix/syscalls.list (dup3): Likewise.
6289 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6290 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6292 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6294 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6295 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6297 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6299 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6301 (TLS_IE): Use mov/add instead of movq/addq to load thread
6303 (TLS_GD_PREFIX): New.
6306 2012-05-11 David S. Miller <davem@davemloft.net>
6308 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6309 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6310 (_FPU_SETCW): Likewise.
6312 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6314 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6317 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6320 * iconvdata/gb18030.c: Update tables.
6321 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6322 characters specially.
6323 (BODY for TO_LOOP): Add encoding of missing ranges.
6325 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6328 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6329 * sysdeps/mach/hurd/dup3.c: Likewise.
6330 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6331 * sysdeps/powerpc/memmove.c:: Likewise.
6333 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6335 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6336 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6338 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6340 * elf/elf.h (R_X86_64_RELATIVE64): New.
6341 (R_X86_64_NUM): Updated.
6342 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6343 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6344 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6345 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6346 tst-quad1pie tst-quad2pie
6347 (modules-names): Add tst-quadmod1 tst-quadmod2.
6348 ($(objpfx)tst-quad1): New dependency.
6349 ($(objpfx)tst-quad2): Likewise.
6350 ($(objpfx)tst-quad1pie): Likewise.
6351 ($(objpfx)tst-quad2pie): Likewise.
6352 * sysdeps/x86_64/tst-quad1.c: New file.
6353 * sysdeps/x86_64/tst-quad1pie.c: New file.
6354 * sysdeps/x86_64/tst-quad2.c: Likewise.
6355 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6356 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6357 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6358 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6359 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6361 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6363 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6364 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6365 * streams/stropts.h (t_scalar_t): Define type.
6367 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6368 (_PATH_PRESERVE): Set to "/var/lib".
6369 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6371 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6374 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6375 if __dir_mkfile succeeded.
6377 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6378 checking for _hurd_dtablesize. Unlock it right after having
6379 finished _hurd_dtable allocation.
6381 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6383 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6384 * sysdeps/mach/hurd/configure: Regenerated.
6385 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6386 special-casing to...
6387 * sysdeps/gnu/configure.in: ... this new file.
6388 * sysdeps/unix/sysv/linux/configure: Regenerated.
6389 * sysdeps/gnu/configure: New generated file.
6391 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6392 for Linux: use nsec instead of usec, as well as:
6393 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6394 members of type struct timespec.
6395 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6397 (struct stat64): Likewise.
6398 (_STATBUF_ST_NSEC): New macro.
6399 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6401 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6402 __strtoul_internal rather than strtoul.
6404 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6406 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6409 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6411 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6412 which preserves existing values.
6413 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6415 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6417 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6418 TIMEOUT values. Return EINVAL for NFDS values either negative or
6419 greater than FD_SETSIZE.
6421 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6423 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6424 allocated, call __vm_protect to finish enabling the existing space, and
6425 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6426 allocate the remainder.
6428 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6430 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6431 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6433 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6435 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6436 sysdeps/mach/hurd/readlink.c.
6438 * posix/tst-sysconf.c (posix_options): Only use
6439 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6440 _POSIX_SYNCHRONIZED_IO when they are defined
6441 * sysdeps/mach/hurd/bits/posix_opt.h:
6442 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6443 (_XOPEN_REALTIME): Undefine macro.
6444 (_XOPEN_REALTIME_THREADS): Undefine macro.
6445 (_XOPEN_SHM): Undefine macro.
6446 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6448 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6450 (_POSIX_ASYNC_IO): Undefine macro.
6451 (_POSIX_PRIORITIZED_IO): Undefine macro.
6452 (_POSIX_SPIN_LOCKS): Define macro to -1.
6454 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6455 SA_NODEFER, SA_RESETHAND.
6456 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6457 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6460 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6462 * elf/Makefile (pldd-modules): Define unconditionally.
6464 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6466 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6468 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6470 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6471 Return ENOENT when name is empty.
6472 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6474 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6476 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6478 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6480 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6482 Fix mlock in all cases except non-readable pages.
6483 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6484 instead of VM_PROT_ALL as parameter to __vm_wire function.
6486 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6487 (__mkdir): When path is `/', just fail with EEXIST.
6488 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6490 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6492 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6493 <sys/uio.h> (for writev).
6494 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6495 and <sys/param.h> (for MIN).
6497 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6499 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6500 REQUESTED_TIME. Properly set the remaining time and return EINTR
6503 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6505 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6506 Depend on against $(link-rpcuserlibs).
6508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6510 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6511 (__libc_stack_end): Do not use attribute_relro.
6512 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6513 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6514 to libthread-provided value.
6515 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6518 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6521 * bits/libc-lock.h (__libc_once_get): New macro.
6522 * sysdeps/mach/bits/libc-lock.h: Likewise.
6523 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6524 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6525 instead of using implementation details.
6527 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6528 * libio/freopen.c: Likewise.
6529 * libio/freopen64.c: Likewise.
6530 * misc/syslog.c: Likewise.
6531 * nscd/connections.c: Likewise.
6532 * nscd/netgroupcache.c: Likewise.
6533 * sysdeps/posix/getcwd.c: Likewise.
6535 2012-05-10 Roland McGrath <roland@hack.frob.com>
6537 * math/w_ilogbf.c: Add #include <limits.h>.
6539 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6541 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6542 path instead of returning without unlocking.
6544 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6545 immediate-write ioctls.
6546 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6548 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6550 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6551 __builtin_frame_address instead of making assumptions about the
6552 location of the return address relative to DATA. Force early load of
6554 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6555 __builtin_frame_address.
6558 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6559 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6560 implement dup3 and do some further code clean-ups.
6561 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6562 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6564 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6566 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6568 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6569 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6570 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6571 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6572 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6575 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6576 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6577 when handler == SIG_ERR, not when handler != SIG_ERR.
6579 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6581 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6582 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6585 accept4 for GNU Hurd.
6586 * include/sys/socket.h (__libc_accept4): New prototype.
6587 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6588 to implement __libc_accept4.
6589 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6591 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6593 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6594 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6595 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6598 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6600 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6602 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6604 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6605 assertion on O_CLOEXEC flag.
6606 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6607 * hurd/intern-fd.c: Likewise.
6608 * hurd/port2fd.c: Likewise.
6610 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6613 * bits/in.h (IPV6_PKTINFO): Define new macro.
6614 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6616 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6621 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6622 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6623 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6624 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6625 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6626 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6627 * math/libm-test.inc (logb_test) : Additional logb tests.
6629 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6630 Andreas Jaeger <aj@suse.de>
6632 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6633 * configure: Regenerated.
6634 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6635 * config.make.in (link-obsolete-rpc): New substituted variable.
6636 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6637 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6638 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6639 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6640 so that libc.a contains the symbols.
6641 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6642 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6643 * sunrpc/auth_none.c: Likewise.
6644 * sunrpc/auth_unix.c: Likewise.
6645 * sunrpc/authdes_prot.c: Likewise.
6646 * sunrpc/authuxprot.c: Likewise.
6647 * sunrpc/clnt_gen.c: Likewise.
6648 * sunrpc/clnt_perr.c: Likewise.
6649 * sunrpc/clnt_raw.c: Likewise.
6650 * sunrpc/clnt_simp.c: Likewise.
6651 * sunrpc/clnt_tcp.c: Likewise.
6652 * sunrpc/clnt_udp.c: Likewise.
6653 * sunrpc/clnt_unix.c: Likewise.
6654 * sunrpc/des_crypt.c: Likewise.
6655 * sunrpc/des_soft.c: Likewise.
6656 * sunrpc/get_myaddr.c: Likewise.
6657 * sunrpc/key_call.c: Likewise.
6658 * sunrpc/key_prot.c: Likewise.
6659 * sunrpc/netname.c: Likewise.
6660 * sunrpc/pm_getmaps.c: Likewise.
6661 * sunrpc/pm_getport.c: Likewise.
6662 * sunrpc/pmap_clnt.c: Likewise.
6663 * sunrpc/pmap_prot.c: Likewise.
6664 * sunrpc/pmap_prot2.c: Likewise.
6665 * sunrpc/pmap_rmt.c: Likewise.
6666 * sunrpc/publickey.c: Likewise.
6667 * sunrpc/rpc_cmsg.c: Likewise.
6668 * sunrpc/rpc_common.c: Likewise.
6669 * sunrpc/rpc_dtable.c: Likewise.
6670 * sunrpc/rpc_prot.c: Likewise.
6671 * sunrpc/rpc_thread.c: Likewise.
6672 * sunrpc/rtime.c: Likewise.
6673 * sunrpc/svc.c: Likewise.
6674 * sunrpc/svc_auth.c: Likewise.
6675 * sunrpc/svc_raw.c: Likewise.
6676 * sunrpc/svc_run.c: Likewise.
6677 * sunrpc/svc_tcp.c: Likewise.
6678 * sunrpc/svc_udp.c: Likewise.
6679 * sunrpc/svc_unix.c: Likewise.
6680 * sunrpc/svcauth_des.c: Likewise.
6681 * sunrpc/xcrypt.c: Likewise.
6682 * sunrpc/xdr.c: Likewise.
6683 * sunrpc/xdr_array.c: Likewise.
6684 * sunrpc/xdr_float.c: Likewise.
6685 * sunrpc/xdr_intXX_t.c: Likewise.
6686 * sunrpc/xdr_mem.c: Likewise.
6687 * sunrpc/xdr_rec.c: Likewise.
6688 * sunrpc/xdr_ref.c: Likewise.
6689 * sunrpc/xdr_sizeof.c: Likewise.
6690 * sunrpc/xdr_stdio.c: Likewise.
6692 2012-05-10 Roland McGrath <roland@hack.frob.com>
6694 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6695 change. Update copyright years.
6697 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6699 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6701 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6702 Joseph Myers <joseph@codesourcery.com>
6703 Paul Pluzhnikov <ppluzhnikov@google.com>
6706 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6708 [cross-compiling] (extra-libs): Likewise.
6709 [cross-compiling] (extra-libs-others): Likewise.
6710 [cross-compiling] (librpcsvc-routines): Likewise.
6711 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6712 [cross-compiling] (omit-deps): Likewise.
6713 (sunrpc-CPPFLAGS): New variable.
6714 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6715 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6716 (cross-rpcgen-objs): New variable.
6717 (extra-objs): Append $(cross-rpcgen-objs).
6718 ($(cross-rpcgen-objs)): New rule.
6719 ($(objpfx)cross-rpcgen): Likewise.
6720 (rpcgen-cmd): Define to use $(built-program-file). Expand
6722 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6723 ($(objpfx)x%.stmp): Likewise.
6724 * sunrpc/proto.h [IS_IN_build] (_): Define.
6725 [IS_IN_build] (_libc_intl_domainname): Likewise.
6727 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6730 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6731 and R_X86_64_TPOFF64.
6733 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6735 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6736 sysdeps/unix/sysv/syscalls.list.
6739 * sysdeps/unix/sysv/syscalls.list: Remove file.
6741 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6744 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6745 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6746 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6747 (__LC_IDENTIFICATION): Make these macros useful in #if
6748 expressions, as required by C99.
6750 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6752 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6753 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6756 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6758 * stdlib/longlong.h: Updated from GCC.
6760 2012-05-09 Andreas Jaeger <aj@suse.de>
6762 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6763 default is first entry.
6764 (run_mode): Set type.
6765 (main): Remove informal message about syslog.
6766 (options): Fix typo.
6769 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6772 (llrintf): Likewise.
6776 (nearbyint): Likewise.
6777 (nearbyintf): Likewise.
6779 2012-05-09 Andreas Jaeger <aj@suse.de>
6780 Pedro Alves <palves@redhat.com>
6782 * nscd/nscd.c (run_mode): Use enum.
6783 (main): Cleanup coding style issue.
6785 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6786 Andreas Jaeger <aj@suse.de>
6788 * nscd/nscd.c (go_background): Replaced with...
6789 (run_mode): ... this.
6790 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6791 (options): Add -F --foreground.
6792 (main): Implement it.
6793 (parse_opt): Parse it.
6795 2012-05-09 Andreas Jaeger <aj@suse.de>
6798 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6799 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6800 -Wconversion warning.
6801 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6804 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6806 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6808 (LC_ALL): Use macro-int-constant.
6809 (LC_COLLATE): Likewise.
6810 (LC_CTYPE): Likewise.
6811 (LC_MESSAGES): Likewise.
6812 (LC_MONETARY): Likewise.
6813 (LC_NUMERIC): Likewise.
6814 (LC_TIME): Likewise.
6815 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6816 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6817 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6818 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6820 [C99-based standards] (float_t): Expect type.
6821 [C99-based standards] (double_t): Expect type.
6822 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6824 [C99-based standards] (HUGE_VALL): Likewise.
6825 [C99-based standards] (INFINITY): Likewise.
6826 [C99-based standards] (NAN): Likewise.
6827 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6828 [C99-based standards] (FP_NAN): Likewise.
6829 [C99-based standards] (FP_NORMAL): Likewise.
6830 [C99-based standards] (FP_SUBNORMAL): Likewise.
6831 [C99-based standards] (FP_ZERO): Likewise.
6832 [C99-based standards] (FP_FAST_FMA): Use
6833 optional-macro-int-constant. Specify type. Require == 1.
6834 [C99-based standards] (FP_FAST_FMAF): Likewise.
6835 [C99-based standards] (FP_FAST_FMAL): Likewise.
6836 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6837 [C99-based standards] (FP_ILOGBNAN): Likewise.
6838 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6840 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6841 [C99-based standards] (math_errhandling): Specify type.
6842 [ISO99 || ISO11] (signgam): Do not allow.
6843 [non-C99-based standards] (copysignf): Do not allow.
6844 [non-C99-based standards] (exp2f): Likewise.
6845 [non-C99-based standards] (log2f): Likewise.
6846 [non-C99-based standards] (modff): Allow.
6847 [non-C99-based standards] (erff): Do not allow.
6848 [non-C99-based standards] (erfcf): Likewise.
6849 [non-C99-based standards] (gammaf): Likewise.
6850 [non-C99-based standards] (hypotf): Likewise.
6851 [non-C99-based standards] (j0f): Likewise.
6852 [non-C99-based standards] (j1f): Likewise.
6853 [non-C99-based standards] (jnf): Likewise.
6854 [non-C99-based standards] (lgammaf): Likewise.
6855 [non-C99-based standards] (tgammaf): Likewise.
6856 [non-C99-based standards] (y0f): Likewise.
6857 [non-C99-based standards] (y1f): Likewise.
6858 [non-C99-based standards] (ynf): Likewise.
6859 [non-C99-based standards] (isnanf): Likewise.
6860 [non-C99-based standards] (acoshf): Likewise.
6861 [non-C99-based standards] (asinhf): Likewise.
6862 [non-C99-based standards] (atanhf): Likewise.
6863 [non-C99-based standards] (cbrtf): Likewise.
6864 [non-C99-based standards] (expm1f): Likewise.
6865 [non-C99-based standards] (ilogbf): Likewise.
6866 [non-C99-based standards] (log1pf): Likewise.
6867 [non-C99-based standards] (logbf): Likewise.
6868 [non-C99-based standards] (nextafterf): Likewise.
6869 [non-C99-based standards] (remainderf): Likewise.
6870 [non-C99-based standards] (rintf): Likewise.
6871 [non-C99-based standards] (scalbf): Likewise.
6872 [non-C99-based standards] (copysignl): Likewise.
6873 [non-C99-based standards] (exp2l): Likewise.
6874 [non-C99-based standards] (log2l): Likewise.
6875 [non-C99-based standards] (modfl): Allow.
6876 [non-C99-based standards] (erfl): Do not allow.
6877 [non-C99-based standards] (erfcl): Likewise.
6878 [non-C99-based standards] (gammal): Likewise.
6879 [non-C99-based standards] (hypotl): Likewise.
6880 [non-C99-based standards] (j0l): Likewise.
6881 [non-C99-based standards] (j1l): Likewise.
6882 [non-C99-based standards] (jnl): Likewise.
6883 [non-C99-based standards] (lgammal): Likewise.
6884 [non-C99-based standards] (tgammal): Likewise.
6885 [non-C99-based standards] (y0l): Likewise.
6886 [non-C99-based standards] (y1l): Likewise.
6887 [non-C99-based standards] (ynl): Likewise.
6888 [non-C99-based standards] (isnanl): Likewise.
6889 [non-C99-based standards] (acoshl): Likewise.
6890 [non-C99-based standards] (asinhl): Likewise.
6891 [non-C99-based standards] (atanhl): Likewise.
6892 [non-C99-based standards] (cbrtl): Likewise.
6893 [non-C99-based standards] (expm1l): Likewise.
6894 [non-C99-based standards] (ilogbl): Likewise.
6895 [non-C99-based standards] (log1pl): Likewise.
6896 [non-C99-based standards] (logbl): Likewise.
6897 [non-C99-based standards] (nextafterl): Likewise.
6898 [non-C99-based standards] (remainderl): Likewise.
6899 [non-C99-based standards] (rintl): Likewise.
6900 [non-C99-based standards] (scalbl): Likewise.
6901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6902 [non-C99-based standards] (FP_*): Do not allow.
6903 [C99-based standards] (FP_*): Change to
6904 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6905 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6907 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6908 (SIG_ERR): Likewise.
6909 [X/Open-based standards] (SIG_HOLD): Likewise.
6910 (SIG_IGN): Likewise.
6911 (SIGABRT): Use macro-int-constant. Specify type. Require
6916 (SIGSEGV): Likewise.
6918 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6919 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6920 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6921 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6922 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6923 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6924 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6925 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6926 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6927 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6928 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6929 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6930 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6931 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6932 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6933 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6934 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6935 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6936 [X/Open-based standards] (SIGTRAP): Likewise.
6937 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6938 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6939 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6940 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6941 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6944 2012-05-08 Ian Wienand <ianw@vmware.com>
6947 * time/tzset.c (__tzset_parse_tz): Update default rules for
6948 daylight time changes in the Energy Policy Act of 2005.
6950 2012-05-09 Andreas Jaeger <aj@suse.de>
6953 * elf/ldconfig.c (parse_conf): Change string to make clear that
6954 ldconfig only issued a warning if ld.so.conf does not exist.
6956 2012-05-08 David S. Miller <davem@davemloft.net>
6958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6959 movxtod instead of popping the value on the stack.
6961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6963 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6965 * config.h.in: Add HAVE_ARM_PCS_VFP.
6967 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6970 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6971 checking but the checks are disabled for any reason.
6973 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6975 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6976 and ELF64_R_TYPE with ELFW(R_TYPE).
6978 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6980 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6983 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6984 (settimeofday): Likewise.
6986 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6988 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6989 a struct th_u2 inside the union, and move tu_block/tu_code into
6990 a new th_u3 union of tu_block/tu_code inside of that. Move
6991 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6992 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6993 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6994 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6995 (th_stuff): Change to th_u1.tu_stuff.
6997 (th_msg): Change to th_u1.th_u2.tu_data.
6999 2012-05-07 David S. Miller <davem@davemloft.net>
7001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7004 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7005 (SETUP_PIC_REG): Use it.
7006 (SETUP_PIC_REG_LEAF): Use it.
7008 2012-05-07 Joseph Myers <joseph@codesourcery.com>
7012 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7014 (EXPL_FINITE): Likewise.
7016 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7017 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7019 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7021 (EXPL_FINITE): Likewise.
7023 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7024 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7026 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7027 test of -max_value argument for long double.
7028 * sysdeps/i386/fpu/libm-test-ulps: Update.
7029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7031 2012-05-06 David S. Miller <davem@davemloft.net>
7033 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7034 quad soft-float symbols whose references which are compiler
7036 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7038 2012-05-06 Joseph Myers <joseph@codesourcery.com>
7042 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7044 (EXPL_FINITE): Likewise.
7048 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7049 Adjust comments for base varying.
7050 (__expl_finite): Change alias to EXPL_FINITE.
7051 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7053 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7054 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7055 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7056 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7057 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7059 (EXPL_FINITE): Likewise.
7063 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7064 Adjust comments for base varying.
7065 (__expl_finite): Change alias to EXPL_FINITE.
7066 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7071 * math/libm-test.inc (check_float_internal): Correct ulp
7072 calculation for subnormal expected results.
7074 2012-05-06 Andreas Jaeger <aj@suse.de>
7076 * Makeconfig (+math-flags): New, set to -frounding-math.
7077 (+cflags): Add +math-flags so that all of glibc gets compiled with
7080 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7082 2012-05-05 Joseph Myers <joseph@codesourcery.com>
7084 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7090 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7091 (__ieee754_expl): Allow for and saturate large arguments.
7092 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7093 (u_threshold): Likewise.
7094 (__exp): Call __ieee754_exp before checking for overflow and
7096 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7097 (u_threshold): Likewise.
7098 (__expf): Call __ieee754_expf before checking for overflow and
7100 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7101 (u_threshold): Likewise.
7102 (__expl): Call __ieee754_expl before checking for overflow and
7104 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7105 (__ieee754_expl): Allow for and saturate large arguments.
7106 * math/libm-test.inc (exp_test): Add another test. Do not allow
7107 missing overflow exception on overflow.
7108 (expm1_test): Do not allow missing overflow exception on overflow.
7110 * sysdeps/i386/fpu/e_expl.c: Move to ...
7111 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7112 rather than using inline asm.
7113 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7114 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7115 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7117 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7124 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7126 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7127 sysdeps/unix/common/syscalls.list.
7130 (ftruncate): Likewise.
7131 (getrusage): Likewise.
7132 (gettimeofday): Likewise.
7133 (setpgid): Likewise.
7134 (setregid): Likewise.
7135 (setreuid): Likewise.
7136 (sigaction): Likewise.
7137 (truncate): Likewise.
7138 (vhangup): Likewise.
7139 * sysdeps/unix/common/syscalls.list: Remove file.
7140 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7141 * sysdeps/unix/sysv/linux/Implies: Likewise.
7143 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7145 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7147 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7151 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7154 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7157 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7160 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7163 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7166 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7169 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7173 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7177 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7180 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7184 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7188 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7190 * sysdeps/unix/common/bits/dirent.h: Remove file.
7191 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7193 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7194 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7195 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7196 * sysdeps/unix/bsd/isatty.c: Likewise.
7197 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7198 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7199 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7201 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7205 long double comparison inaccuracies.
7206 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7209 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7211 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7212 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7214 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7217 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7218 nonzero digits before rounding a hex value.
7219 * stdlib/tst-strtod.c (tests): Add another test.
7221 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7223 * sysdeps/s390/fpu/libm-test-ulps: Update.
7225 2012-05-03 Andreas Jaeger <aj@suse.de>
7227 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7228 does not get optimized out.
7229 (malloc_opt_barrier): New.
7231 2012-05-03 Andreas Jaeger <aj@suse.de>
7232 Roland McGrath <roland@hack.frob.com>
7234 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
7235 intermediate file deletion.
7236 (generated): Add .symlist files.
7238 2012-05-03 Joseph Myers <joseph@codesourcery.com>
7241 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7242 Redirect under this condition.
7243 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7244 [__USE_GNU] (__dprintf_chk): Not under this condition.
7245 [__USE_GNU] (__vdprintf_chk): Likewise.
7246 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7247 under this condition.
7248 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7249 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7250 [__USE_XOPEN2K8] (vdprintf): Likewise.
7251 [__USE_GNU] (__dprintf_chk): Not under this condition.
7252 [__USE_GNU] (__vdprintf_chk): Likewise.
7253 [__USE_GNU] (dprintf): Likewise.
7254 [__USE_GNU] (vdprintf): Likewise.
7256 2012-05-03 Roland McGrath <roland@hack.frob.com>
7258 * elf/Makefile (common-generated): Set this instead of generated for
7259 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7260 $(all-built-dso)-derived lists.
7262 2012-05-03 Andreas Jaeger <aj@suse.de>
7264 * sysdeps/i386/fpu/libm-test-ulps: Update.
7268 * scripts/gen-FAQ.pl: Likewise.
7269 * manual/install.texi (Installation): Point to online location of
7271 * Makefile (files-for-dist): Remove FAQ.
7274 2012-05-02 Allan McRae <allan@archlinux.org>
7276 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7277 (LDFLAGS-reldepmod5.so): Likewise.
7278 (LDFLAGS-reldep6mod1.so): Likewise.
7279 (LDFLAGS-reldep6mod4.so): Likewise.
7280 (LDFLAGS-reldep8mod3.so): Likewise.
7281 (LDFLAGS-unload4mod1.so): Likewise.
7282 (LDFLAGS-unload4mod2.so): Likewise.
7283 (LDFLAGS-tst-initorder): Likewise.
7284 (LDFLAGS-tst-initordera2.so): Likewise.
7285 (LDFLAGS-tst-initordera3.so): Likewise.
7286 (LDFLAGS-tst-initordera4.so): Likewise.
7287 (LDFLAGS-tst-initorderb2.so): Likewise.
7288 (LDFLAGS-noload): Likewise.
7289 (LDFLAGS-next): Likewise.
7290 (LDFLAGS-order2mod1.so): Likewise.
7291 (LDFLAGS-order2mod2.so): Likewise.
7292 (LDFLAGS-tst-initorder2): Likewise.
7293 (LDFLAGS-tst-initorder2a.so): Likewise.
7294 (LDFLAGS-tst-initorder2b.so): Likewise.
7295 (LDFLAGS-tst-initorder2c.so): Likewise.
7296 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7298 2012-05-02 David S. Miller <davem@davemloft.net>
7300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7302 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7305 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7307 2012-05-02 Andreas Jaeger <aj@suse.de>
7309 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7310 since we manipulate rounding mode.
7311 (CPPFLAGS-test-idouble.c): Likewise.
7312 (CPPFLAGS-test-ifloat.c): Likewise.
7313 (CFLAGS-test-ldouble.c): Likewise.
7314 (CFLAGS-test-double.c): Likewise.
7315 (CFLAGS-test-float.c): Likewise.
7316 (CFLAGS-test-misc.c): Likewise.
7317 (CFLAGS-test-test-fenv.c): Likewise.
7319 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7324 comparisons to determine direction to adjust input.
7326 2012-05-01 Roland McGrath <roland@hack.frob.com>
7328 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7329 output to the target.
7331 * scripts/localplt.awk: New file.
7332 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7333 (check-localplt-CFLAGS): Variable removed.
7334 ($(all-built-dso:=.jmprel)): New static pattern rule.
7335 (generated): Add those targets.
7336 (localplt-built-dso): New variable.
7337 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7339 * elf/check-localplt.c: File removed.
7341 * scripts/check-execstack.awk: New file.
7342 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7343 (check-execstack-CFLAGS): Variable removed.
7344 ($(objpfx)check-execstack.h): Target removed.
7345 ($(objpfx)execstack-default): New target.
7346 (generated): Add that instead of check-execstack.h.
7347 ($(all-built-dso:=.phdr)): New static pattern rule.
7348 (generated): Add those targets.
7349 * elf/check-execstack.c: File removed.
7351 * scripts/check-textrel.awk: New file.
7352 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7353 (check-textrel-CFLAGS): Variable removed.
7354 (all-built-dso): Use := to define.o
7355 ($(all-built-dso:=.dyn)): New static pattern rule.
7356 (generated): Add those targets.
7357 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7358 * config.make.in (READELF): New substituted variable.
7359 * elf/check-textrel.c: File removed.
7361 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7363 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7365 * conform/data/ctype.h-data [C99-based standards] (isblank):
7367 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7368 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7369 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7370 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7371 Specify type. Require positive value.
7374 [ISO || POSIX] (EILSEQ): Do not expect.
7375 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7376 Specify type. Require positive value.
7377 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7378 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7379 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7380 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7381 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7382 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7383 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7384 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7385 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7386 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7387 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7388 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7389 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7390 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7391 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7392 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7393 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7394 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7395 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7396 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7397 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7398 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7399 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7400 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7401 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7402 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7403 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7404 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7405 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7406 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7407 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7408 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7409 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7410 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7411 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7412 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7413 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7414 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7415 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7416 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7417 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7418 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7419 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7420 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7421 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7422 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7423 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7424 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7425 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7426 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7427 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7428 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7429 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7430 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7431 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7432 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7433 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7434 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7435 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7436 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7437 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7438 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7439 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7440 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7441 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7442 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7443 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7444 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7445 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7446 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7447 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7448 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7449 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7450 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7451 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7452 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7453 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7455 (FLT_ROUNDS): Expect as macro, not constant.
7456 (FLT_MANT_DIG): Use macro-int-constant.
7457 (DBL_MANT_DIG): Likewise.
7458 (LDBL_MANT_DIG): Likewise.
7459 (FLT_DIG): Likewise.
7460 (DBL_DIG): Likewise.
7461 (LDBL_DIG): Likewise.
7462 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7463 (DBL_MIN_EXP): Likewise.
7464 (LDBL_MIN_EXP): Likewise.
7465 (FLT_MAX_EXP): Use macro-int-constant.
7466 (DBL_MAX_EXP): Likewise.
7467 (LDBL_MAX_EXP): Likewise.
7468 (FLT_MAX_10_EXP): Likewise.
7469 (DBL_MAX_10_EXP): Likewise.
7470 (LDBL_MAX_10_EXP): Likewise.
7471 (FLT_MAX): Use macro-constant.
7472 (DBL_MAX): Likewise.
7473 (LDBL_MAX): Likewise.
7474 (FLT_EPSILON): Use macro-constant. Give upper bound.
7475 (DBL_EPSILON): Likewise.
7476 (LDBL_EPSILON): Likewise.
7477 (FLT_MIN): Likewise.
7478 (DBL_MIN): Likewise.
7479 (LDBL_MIN): Likewise.
7480 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7481 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7482 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7483 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7484 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7485 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7486 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7487 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7488 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7489 [ISO11] (FLT_TRUE_MIN): Likewise.
7490 [ISO11] (LDBL_TRUE_MIN): Likewise.
7491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7492 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7493 (SCHAR_MIN): Use macro-int-constant. Specify type.
7494 (SCHAR_MAX): Likewise.
7495 (UCHAR_MAX): Likewise.
7496 (CHAR_MIN): Likewise.
7497 (CHAR_MAX): Likewise.
7498 (MB_LEN_MAX): Use macro-int-constant.
7499 (SHRT_MIN): Use macro-int-constant. Specify type.
7500 (SHRT_MAX): Likewise.
7501 (USHRT_MAX): Likewise.
7502 (INT_MAX): Likewise.
7503 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7505 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7507 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7509 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7510 bound negative. Suffix upper bound with "L".
7511 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7513 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7515 [C99-based standards] (LLONG_MAX): Likewise.
7516 [C99-based standards] (ULLONG_MAX): Likewise.
7517 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7519 [ISO11] (max_align_t): Require type.
7520 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7522 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7523 from $CFLAGS, without defining away __attribute__ calls.
7524 (checknamespace): Use $CFLAGS_namespace.
7526 * conform/conformtest.pl (@keywords): Only include C99 keywords
7527 for standards based on C99 or C11.
7529 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7531 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7534 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7535 usability of symbols in #if.
7537 * conform/conformtest.pl: If macro or constant types start
7538 "promoted:", expect the symbol to be of the following type
7539 promoted by the integer promotions.
7541 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7542 in one place. Also handle "macro-constant".
7544 * conform/conformtest.pl: Only accept expected macro values with
7545 "==". Parse all "macro" lines in one place.
7546 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7548 * conform/conformtest.pl: Handle braced types on "constant" lines
7549 instead of handling "typed-constant".
7550 * conform/data/signal.h-data: Use "constant" instead of
7553 * conform/conformtest.pl: Handle "optional-" at start of lines in
7554 one place rather than duplicating several cases. Handle each
7555 format of "macro" line with initial "optional-".
7557 * conform/conformtest.pl: Only accept expected constant or
7558 optional-constant values with "==". Parse all "constant" lines in
7559 one place. Parse all "optional-constant" lines in one place.
7560 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7561 * conform/data/fmtmsg.h-data: Likewise.
7562 * conform/data/netinet/in.h-data: Likewise.
7563 * conform/data/tar.h-data: Likewise.
7564 * conform/data/limits.h-data: Use "==" form on "constant" and
7565 "optional-constant" lines.
7567 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7568 Use -std=c99 for XOPEN2K.
7569 (@knownproblems): Remove.
7570 (newtoken): Don't check %isknown.
7572 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7573 Do not expect macro.
7574 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7575 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7576 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7577 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7578 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7579 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7580 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7581 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7582 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7583 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7584 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7585 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7586 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7587 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7588 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7589 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7590 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7591 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7592 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7593 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7594 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7595 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7596 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7597 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7598 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7599 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7600 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7601 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7602 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7603 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7604 [XPG3] (acosh): Likewise.
7605 [XPG3] (asinh): Likewise.
7606 [XPG3] (atanh): Likewise.
7607 [XPG3] (cbrt): Likewise.
7608 [XPG3] (expm1): Likewise.
7609 [XPG3] (ilogb): Likewise.
7610 [XPG3] (log1p): Likewise.
7611 [XPG3] (logb): Likewise.
7612 [XPG3] (nextafter): Likewise.
7613 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7614 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7615 [XPG3] (remainder): Likewise.
7616 [XPG3] (rint): Likewise.
7617 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7618 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7619 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7620 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7621 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7622 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7623 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7624 [UNIX98 || XOPEN2K] (scalb): Expect.
7625 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7626 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7627 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7628 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7629 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7630 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7631 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7632 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7633 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7634 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7635 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7636 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7637 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7638 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7639 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7640 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7641 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7642 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7643 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7644 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7645 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7646 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7647 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7648 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7649 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7650 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7651 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7652 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7653 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7654 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7655 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7656 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7657 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7658 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7659 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7660 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7661 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7662 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7663 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7664 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7665 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7666 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7667 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7668 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7669 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7670 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7671 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7672 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7673 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7674 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7675 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7676 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7677 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7678 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7679 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7680 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7681 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7682 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7683 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7684 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7685 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7686 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7687 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7688 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7689 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7690 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7691 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7692 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7693 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7694 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7695 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7696 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7697 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7698 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7699 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7700 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7701 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7702 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7703 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7704 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7705 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7706 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7707 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7708 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7709 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7710 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7711 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7712 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7713 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7714 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7715 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7716 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7717 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7718 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7719 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7720 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7721 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7722 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7723 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7724 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7725 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7726 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7727 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7728 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7729 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7730 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7731 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7732 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7733 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7734 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7735 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7736 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7737 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7738 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7739 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7740 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7741 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7742 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7743 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7744 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7745 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7746 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7747 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7748 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7749 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7750 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7751 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7752 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7753 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7754 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7755 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7756 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7757 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7758 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7759 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7760 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7761 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7763 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7764 _XOPEN_SOURCE_EXTENDED for XPG4.
7766 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7768 * Makeconfig (localtime): Remove variable.
7769 (inst_localtime-file): Likewise.
7771 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7792 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7796 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7797 comparisons to determine direction to adjust input.
7798 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7799 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7800 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7802 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7804 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7806 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7807 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7809 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7811 * math/libm-test.inc (nexttoward_test): Add more tests.
7813 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7816 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7817 in version GLIBC_2.1, not GLIBC_2.0.
7818 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7821 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7824 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7826 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7827 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7828 * math/libm-test.inc (acos_test): Add more tests.
7829 (asin_test): Likewise.
7830 * sysdeps/i386/fpu/libm-test-ulps: Update.
7831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7834 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7836 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7837 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7838 * math/libm-test.inc (acos_test_tonearest): New function.
7839 (acos_test_towardzero): Likewise.
7840 (acos_test_downward): Likewise.
7841 (acos_test_upward): Likewise.
7842 (asin_test_tonearest): Likewise.
7843 (asin_test_towardzero): Likewise.
7844 (asin_test_downward): Likewise.
7845 (asin_test_upward): Likewise.
7846 (main): Call the new functions.
7847 * sysdeps/i386/fpu/libm-test-ulps: Update.
7848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7852 * math/e_exp10.c: Include <float.h>.
7853 (__ieee754_exp10): Handle underflow here rather than multiplying
7854 large negative argument by M_LN10.
7855 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7857 * math/e_exp10l.c: Include <float.h>.
7858 (__ieee754_exp10l): Handle underflow here rather than multiplying
7859 large negative argument by M_LN10l.
7860 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7861 spurious overflow exception on underflow.
7863 2012-04-29 Marek Polacek <polacek@redhat.com>
7865 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7866 (__fortify_function): New macro.
7867 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7868 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7869 __extern_always_inline.
7870 * libio/bits/stdio2.h: Likewise.
7871 * libio/bits/stdio.h: Likewise.
7872 * string/string.h: Likewise.
7873 * string/bits/string3.h: Likewise.
7874 * include/stdio.h: Likewise.
7875 * stdlib/bits/stdlib.h: Likewise.
7876 * stdlib/stdlib.h: Likewise.
7877 * rt/bits/mqueue2.h: Likewise.
7878 * rt/mqueue.h: Likewise.
7879 * posix/bits/unistd.h: Likewise.
7880 * posix/unistd.h: Likewise.
7881 * io/bits/poll2.h: Likewise.
7882 * io/bits/fcntl2.h: Likewise.
7883 * io/fcntl.h: Likewise.
7884 * io/sys/poll.h: Likewise.
7885 * misc/bits/syslog.h: Likewise.
7886 * misc/bits/syslog-ldbl.h: Likewise.
7887 * misc/sys/syslog.h: Likewise.
7888 * socket/bits/socket2.h: Likewise.
7889 * socket/sys/socket.h: Likewise.
7890 * debug/tst-chk1.c: Likewise.
7891 * wcsmbs/bits/wchar2.h: Likewise.
7892 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7893 * wcsmbs/wchar.h: Likewise.
7895 2012-04-29 Andreas Jaeger <aj@suse.de>
7897 * Makerules (tests): Remove enable-check-abi protection.
7898 (check-abi-warn): Remove.
7899 (check-abi-%): Remove check-abi-warn usage.
7901 * configure.in: Remove check-abi configure option.
7902 * configure: Regenerated.
7903 * config.make.in (enable-check-abi): Remove.
7905 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7908 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7909 double functions to double *_finite functions.
7912 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7913 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7915 * stdio-common/Makefile (tests): Add tst-sprintf3.
7916 * stdio-common/tst-sprintf3.c: New file.
7918 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7919 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7921 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7923 * conform/conformtest.pl: Remove duplicate typed-constant
7926 2012-04-28 David S. Miller <davem@davemloft.net>
7928 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7929 (check-abi-%): Remove AWK script prerequisite and explicit
7931 (check-abi): Rewrite to just diff the symlist with the abilist.
7932 (config-tls, config-abi-config): Delete, no longer used.
7933 (update-abi-%): Remove AWK script and explicit abilist directory.
7934 (update-abi): Rewrite to simply compare and conditionally copy the
7935 symlist and the sysdep abilist file. Remove update-abi-config
7937 * abilist/ld.abilist: Remove.
7938 * abilist/libBrokenLocale.abilist: Remove.
7939 * abilist/libanl.abilist: Remove.
7940 * abilist/libcrypt.abilist: Remove.
7941 * abilist/libdl.abilist: Remove.
7942 * abilist/librt.abilist: Remove.
7943 * abilist/libthread_db.abilist: Remove.
7944 * abilist/libutil.abilist: Remove.
7945 * scripts/extract-abilist.awk: Remove.
7946 * scripts/merge-abilist.awk: Remove.
7947 * sysdeps/generic/libcidn.abilist: New file.
7948 * sysdeps/generic/libnss_compat.abilist: New file.
7949 * sysdeps/generic/libnss_db.abilist: New file.
7950 * sysdeps/generic/libnss_dns.abilist: New file.
7951 * sysdeps/generic/libnss_files.abilist: New file.
7952 * sysdeps/generic/libnss_hesiod.abilist: New file.
7953 * sysdeps/generic/libnss_nis.abilist: New file.
7954 * sysdeps/generic/libnss_nisplus.abilist: New file.
7955 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7956 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7957 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7959 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7960 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7961 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7962 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7963 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7964 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7965 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7966 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7967 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7969 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7970 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7971 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7972 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7974 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7975 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7976 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7977 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7978 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7979 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7981 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7982 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7983 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7985 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8088 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8089 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8090 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8092 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8093 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8094 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8095 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8096 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8097 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8098 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8099 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8100 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8101 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8153 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8155 * conform/conformtest.pl: Fix typo in handling typed-constant from
8158 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8160 * README: Cut down references to pre-2.6 Linux kernels and
8161 Linuxthreads. Update lists of configurations in libc and ports
8162 and sort alphabetically. Say "or newer" with Linux kernel version
8165 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8167 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8170 * math/libm-test.inc (logb_test_downward): New test to expose
8171 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8174 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8177 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8179 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8180 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8182 2012-04-26 Joseph Myers <joseph@codesourcery.com>
8184 * sysdeps/unix/i386/brk.S: Remove file.
8185 * sysdeps/unix/i386/dl-brk.S: Likewise.
8186 * sysdeps/unix/i386/pipe.S: Likewise.
8187 * sysdeps/unix/i386/sigreturn.S: Likewise.
8188 * sysdeps/unix/i386/syscall.S: Likewise.
8189 * sysdeps/unix/i386/vfork.S: Likewise.
8190 * sysdeps/unix/i386/wait.S: Likewise.
8192 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8193 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8195 * configure.in (arm*-none*): Do not allow without
8196 --enable-hacker-mode.
8197 (netbsd*): Remove case setting base_os.
8198 (386bsd*): Likewise.
8199 (freebsd*): Likewise.
8203 (ultrix*): Likewise.
8204 (newsos*): Likewise.
8214 (solaris[2-9]*): Likewise.
8216 * configure: Regenerated.
8218 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8221 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8222 overflow or cancellation in calculating denominator.
8223 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8224 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8225 down expression to avoid unexpected rounding in newer GCCs.
8226 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8228 2012-04-26 David S. Miller <davem@davemloft.net>
8230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8231 long-double compat symbols.
8232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8246 2012-04-25 David S. Miller <davem@davemloft.net>
8248 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8249 HWCAP_* values only after the memory barriers have been defined.
8250 (atomic_full_barrier): Define.
8251 (atomic_read_barrier): Define.
8252 (atomic_write_barrier): Define.
8254 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8256 * shlib-versions: Add libgcc_s version information.
8257 * sysdeps/generic/libgcc_s.h: Remove.
8258 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8260 * sysdeps/gnu/unwind-resume.c: Likewise.
8261 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8263 2012-04-25 David S. Miller <davem@davemloft.net>
8265 * sysdeps/unix/sparc/brk.S: Delete.
8266 * sysdeps/unix/sparc/dl-brk.S: Delete.
8267 * sysdeps/unix/sparc/pipe.S: Delete.
8268 * sysdeps/unix/sparc/sysdep.S: Delete.
8269 * sysdeps/unix/sparc/sysdep.h: Delete.
8270 * sysdeps/unix/sparc/vfork.S: Delete.
8271 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8272 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8273 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8274 ret_ERRVAL, r0, r1, MOVE): Define.
8275 (JUMPTARGET): Remove.
8276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8277 sysdeps/unix/sparc/sysdep.h
8278 (ENTRY, END): Remove.
8279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8281 2012-04-25 Joseph Myers <joseph@codesourcery.com>
8283 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8284 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8287 * timezone/README: Update upstream location and email address for
8289 * timezone/zdump.c: Update from tzcode 2012b.
8290 * timezone/zic.c: Likewise.
8292 * configure.in (libc_cv_as_needed): Remove test.
8293 * configure: Regenerated.
8294 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8295 conditional definition.
8296 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8297 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8298 * config.make.in (have-as-needed): Remove variable.
8300 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8301 Paul Pluzhnikov <ppluzhnikov@google.com>
8303 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8306 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8308 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8309 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8310 * sysdeps/sh/strlen.S: Likewise.
8312 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8314 * sysdeps/unix/fork.S: Remove file.
8315 * sysdeps/unix/i386/fork.S: Likewise.
8316 * sysdeps/unix/sparc/fork.S: Likewise.
8318 * sysdeps/unix/system.c: Remove file.
8319 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8321 * sysdeps/unix/getegid.S: Remove file.
8322 * sysdeps/unix/geteuid.S: Likewise.
8324 2012-04-24 Roland McGrath <roland@hack.frob.com>
8326 * scripts/check-localplt.awk: New file.
8327 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8329 * scripts/data/localplt-generic.data: Add a comment.
8331 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8332 NODE when __dir_mkfile failed.
8333 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8334 Reported by Ludovic Courtès <ludo@gnu.org>.
8336 2012-04-24 Andreas Jaeger <aj@suse.de>
8338 * Makerules (common-clean): Also remove gen-as-const-headers
8341 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8343 * Makerules (native-compile): Do not change working directory for
8344 build. Use $(OUTPUT_OPTION) in command.
8345 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8347 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8350 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8351 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8352 * math/libm-test.inc (floor_test): Add more tests.
8353 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8355 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8357 * sysdeps/unix/getdents.c: Remove file.
8358 * sysdeps/unix/sysv/getdents.c: Likewise.
8359 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8361 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8362 sysdeps/unix/mman/syscalls.list.
8364 (mprotect): Likewise.
8367 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8368 * sysdeps/unix/mman/syscalls.list: Remove.
8369 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8371 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8372 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8373 * configure: Regenerated.
8374 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8376 * config.make.in (libgcc_s_suffix): Remove variable.
8378 2012-04-23 Joseph Myers <joseph@codesourcery.com>
8380 * sysdeps/unix/sysv/gethostname.c: Move to ...
8381 * sysdeps/posix/gethostname.c: ... here.
8383 * sysdeps/unix/execve.S: Remove file.
8385 * sysdeps/unix/_exit.S: Remove file.
8387 2012-04-23 Andreas Jaeger <aj@suse.de>
8390 * manual/Makefile: Remove make dist support, there's no
8391 need for a stand-alone documentation tar ball.
8392 (TEXI2DVI): Define always, it's not in Makeconfig.
8396 (glibc-doc-$(edition).tar): Removed
8400 (ETAGS): Remove, it's in Makeconfig.
8401 (move-if-change): Remove, it's in Makeconfig.
8403 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8406 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8407 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8408 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8409 (strtod_l, strtof_l, strtold_l): Remove __wur.
8410 It is not necessarily an error to ignore strtol's return value.
8411 One can reliably look at the stored endptr to decide whether
8412 the number had valid syntax.
8414 2012-04-21 Andreas Jaeger <aj@suse.de>
8417 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8419 2012-04-21 Joseph Myers <joseph@codesourcery.com>
8421 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8422 * sysdeps/unix/sysv/Versions: Remove file.
8424 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8429 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
8432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8433 version from __vm86.
8435 2012-04-20 Joseph Myers <joseph@codesourcery.com>
8437 * sysdeps/unix/common/lxstat.c: Remove file.
8438 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8440 * sysdeps/unix/sysv/Makefile: Remove file.
8442 * sysdeps/unix/sysv/direct.h: Remove file.
8444 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8445 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8446 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8447 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8448 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8449 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8450 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8452 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8454 * sysdeps/unix/xmknod.c: Remove file.
8455 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8457 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8459 * sysdeps/unix/sysv/i386/time.S: Remove file.
8461 * sysdeps/unix/fxstat.c: Remove file.
8462 * sysdeps/unix/xstat.c: Likewise.
8463 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8465 * sysdeps/unix/sysv/sigaction.c: Remove file.
8467 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8468 (sysdep_headers): Remove variable.
8469 [termio.h not in sysdep_headers] (generated): Likewise.
8470 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8471 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8472 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8473 * sysdeps/unix/sysv/tcflow.c: Likewise.
8474 * sysdeps/unix/sysv/tcflush.c: Likewise.
8475 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8476 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8477 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8478 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8479 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8481 * sysdeps/unix/siglist.c: Remove file.
8483 * sysdeps/unix/getppid.S: Remove file.
8485 * sysdeps/unix/mkdir.c: Remove file.
8486 * sysdeps/unix/rmdir.c: Likewise.
8488 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8490 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8492 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8493 errlist-compat value.
8495 2012-04-18 David S. Miller <davem@davemloft.net>
8497 * sysdeps/generic/memcopy.h (reg_char): Delete.
8498 * debug/strcat_chk.c: Use char, not reg_char.
8499 * debug/strcpy_chk.c: Likewise.
8500 * debug/strncat_chk.c: Likewise.
8501 * debug/strncpy_chk.c: Likewise.
8502 * string/memchr.c: Likewise.
8503 * string/memrchr.c: Likewise.
8504 * string/rawmemchr.c: Likewise.
8505 * string/strcat.c: Likewise.
8506 * string/strchr.c: Likewise.
8507 * string/strchrnul.c: Likewise.
8508 * string/strcmp.c: Likewise.
8509 * string/strcpy.c: Likewise.
8510 * string/strncat.c: Likewise.
8511 * string/strncmp.c: Likewise.
8512 * string/strncpy.c: Likewise.
8514 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8516 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8517 __builtin_memcopy is called when src and dest ranges are known to not
8520 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8522 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8523 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8524 fwd_align_merge macro call.
8525 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8526 bwd_align_merge macro call.
8527 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8529 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8531 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8532 bwd_align_merge macros.
8533 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8534 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8535 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8537 2012-04-18 David S. Miller <davem@davemloft.net>
8539 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8541 2012-04-18 Andreas Jaeger <aj@suse.de>
8544 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8545 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8546 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8548 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8549 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8550 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8552 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8553 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8554 Adjust for changed ldbl-128 files.
8556 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8557 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8558 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8560 2012-04-17 David S. Miller <davem@davemloft.net>
8562 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8564 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8566 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8567 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8568 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8569 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8570 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8571 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8573 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8576 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8577 * math/libm-test.inc: Add ilogb errno and exception tests.
8578 * math/w_ilogb.c: New file: ilogb wrapper.
8579 * math/w_ilogbf.c: New file: ilogbf wrapper.
8580 * math/w_ilogbl.c: New file: ilogbl wrapper.
8581 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8582 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8583 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8584 exception being thrown with 0.0 as argument.
8585 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8586 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8587 exception being thrown with 0.0 as argument.
8588 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8589 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8590 exception being thrown with 0.0 as argument.
8591 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8592 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8593 exception being thrown with 0.0 as argument.
8594 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8595 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8596 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8597 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8598 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8599 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8600 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8601 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8602 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8604 2012-04-17 Petr Baudis <pasky@ucw.cz>
8606 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8609 2012-04-16 Marek Polacek <polacek@redhat.com>
8611 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8613 2012-04-16 Marek Polacek <polacek@redhat.com>
8615 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8616 operands of fdivp instruction.
8618 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8620 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8621 * elf/tst-auditmod3b.c: Likewise.
8622 * elf/tst-auditmod4b.c: Likewise.
8623 * elf/tst-auditmod5b.c: Likewise.
8624 * elf/tst-auditmod6b.c: Likewise.
8625 * elf/tst-auditmod6c.c: Likewise.
8626 * elf/tst-auditmod7b.c: Likewise.
8627 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8628 * sysdeps/x86_64/preconfigure.in: Likewise.
8629 * sysdeps/x86_64/preconfigure: Regenerated.
8631 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8633 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8636 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8638 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8639 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8641 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8644 * locale/iso-639.def: Fix gl language name. Spotted by
8647 2012-04-12 Roland McGrath <roland@hack.frob.com>
8650 * libio/libio.h (__io_write_fn): Update comment.
8652 2012-04-12 Petr Baudis <pasky@ucw.cz>
8655 * stdio.texi (Hook Functions): The user provided writer function
8656 is not allowed to return -1.
8658 2012-04-11 David S. Miller <davem@davemloft.net>
8660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8662 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8664 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8665 Add a leading slash to rtkaio.
8667 2012-04-11 Jim Meyering <meyering@redhat.com>
8670 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8671 It is not necessarily an error to ignore fwrite's return
8672 value. One can reliably use ferror to test for errors after
8675 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8677 * bits/types.h (__snseconds_t): New type.
8678 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8680 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8681 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8682 (__SNSECONDS_T_TYPE): Likewise.
8683 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8684 (__SNSECONDS_T_TYPE): Likewise.
8685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8686 (__SNSECONDS_T_TYPE): Likewise.
8688 2012-04-10 Andreas Jaeger <aj@suse.de>
8691 * manual/time.texi (Processor Time): Return type of times is
8692 elapsed real time since an arbitrary point in the past.
8693 (CPU Time): Move CLK_TCK from here...
8694 (Processor Time): ...to here. Correct description.
8695 * manual/conf.texi (Constants for Sysconf): Correct description of
8698 2012-04-10 David S. Miller <davem@davemloft.net>
8701 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8702 where the is a gap between DT_REL(A) and DT_JMPREL.
8704 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8706 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8707 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8708 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8710 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8712 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8713 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8714 (dl_main): Handle --inhibit-cache.
8715 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8717 * elf/dl-load.c (_dl_map_object): Use it.
8718 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8720 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8723 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8724 (__ieee754_powl): Saturate large exponents rather than testing for
8725 overflow of y*log2(x).
8726 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8727 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8731 * math/s_ctan.c: Include <float.h>.
8732 (__ctan): Avoid internal overflow or cancellation in calculating
8734 * math/s_ctanf.c: Likewise.
8735 * math/s_ctanl.c: Likewise.
8736 * math/s_ctanh.c: Likewise.
8737 * math/s_ctanhf.c: Likewise.
8738 * math/s_ctanhl.c: Likewise.
8739 * math/libm-test.inc (ctan_test): Add more tests.
8740 (ctanh_test): Likewise.
8741 * sysdeps/i386/fpu/libm-test-ulps: Update.
8742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8744 2012-04-09 Andreas Jaeger <aj@suse.de>
8747 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8748 is an optional BSD extension.
8751 * manual/stdio.texi (Opening Streams): Document additional fopen
8754 2012-04-09 Roland McGrath <roland@hack.frob.com>
8756 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8757 %eax without telling the compiler.
8759 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8762 * manual/install.texi: Use sourceware.org.
8764 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8767 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8768 (__ieee754_pow): Generate overflow and underflow using huge*huge
8769 and tiny*tiny rather than just returning constant infinity or zero
8770 for large exponents.
8771 * math/libm-test.inc (pow_test): Require overflow exceptions for
8772 applicable cases of large exponents.
8775 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8776 (__ieee754_pow): Use iterative multiplication algorithm only for
8777 integer exponents with absolute value below 1024. Check for odd
8778 integer exponents when using algorithm for real exponents.
8779 * math/libm-test.inc (pow_test): Add more tests.
8780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8782 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8785 * math/libm-test.inc (exp_test): Do not allow overflow exception
8788 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8791 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8792 instead of __kernel_standard_f.
8794 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8796 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8797 * sysdeps/x86_64/memset_chk.S: Likewise.
8799 2012-04-08 Andreas Jaeger <aj@suse.de>
8802 * manual/startup.texi (Environment Access): Describe return value
8803 for putenv and setenv.
8806 * manual/filesys.texi (Directory Entries): Add description for
8810 * manual/filesys.texi (Directory Entries): Clarify that it's file
8811 system not operating system in the description of DT_UNKNOWN.
8814 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8816 2012-04-08 Stephen Compall <s11@member.fsf.org>
8819 * manual/llio.texi (Opening and Closing Files): Add cross
8820 reference to explain mode argument.
8822 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8824 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8825 * sysdeps/x86_64/memset_chk.S: Likewise.
8827 2012-04-07 David S. Miller <davem@davemloft.net>
8829 * elf/elf.h (R_SPARC_WDISP10): Define.
8830 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8832 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8833 R_SPARC_SIZE64 and R_SPARC_H34.
8835 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8837 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8838 conditions and remove no longer applicable assertion.
8840 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8842 * bits/byteswap.h: Include <features.h>.
8843 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8844 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8846 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8848 * bits/byteswap.h (__bswap_16): Removed.
8849 Include <bits/byteswap-16.h> to get __bswap_16.
8850 * sysdeps/i386/bits/byteswap.h: Likewise.
8851 * sysdeps/s390/bits/byteswap.h: Likewise.
8852 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8853 * bits/byteswap-16.h: New file.
8854 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8855 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8856 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8857 * string/Makefile (headers): Add bits/byteswap-16.h.
8859 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8862 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8864 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8865 * nss/tst-nss-static.c: New.
8867 2012-04-06 Robert Millan <rmh@gnu.org>
8870 * manual/llio.texi (File Position Primitive): lseek
8871 refers to WHENCE when it really means OFFSET.
8873 2012-04-06 Andreas Jaeger <aj@suse.de>
8875 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8876 strncmp declarations.
8878 * abilist/libc.abilist: Add __poll and __ppoll.
8880 2012-04-05 David S. Miller <davem@davemloft.net>
8882 * scripts/check-local-headers.sh: Accept a host triplet in the
8883 path matched by the exclude regexp.
8885 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8887 * sysdeps/powerpc/powerpc32/dl-machine.h
8888 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8889 * sysdeps/s390/s390-32/dl-machine.h
8890 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8891 * sysdeps/sparc/sparc32/dl-machine.h
8892 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8893 * sysdeps/sparc/sparc64/dl-machine.h
8894 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8896 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8898 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8899 undefined symbol errors.
8901 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8904 2012-04-05 Michael Matz <matz@suse.de>
8907 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8909 2012-04-05 Andreas Jaeger <aj@suse.de>
8912 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8915 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8917 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8918 which ROUND is no valid rounding mode.
8920 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8922 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8924 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8926 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8928 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8929 an exception using FPU order intentionally.
8931 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8933 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8934 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8935 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8936 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8938 2012-04-05 Simon Josefsson <simon@josefsson.org>
8941 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8942 EINVAL when BUFLEN is too smal.
8944 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8947 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8948 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8950 2012-04-03 Andreas Jaeger <aj@suse.de>
8953 * manual/setjmp.texi (System V contexts): Fix sentence.
8956 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8957 New macro for this case.
8958 [!__GNUC__] (__bswap_64): New inline function for this case.
8959 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8960 * bits/byteswap.h: Likewise.
8961 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8962 ull, guard with __GLIBC_HAVE_LONG_LONG.
8964 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8965 __GLIBC_HAVE_LONG_LONG.
8967 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8968 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8970 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8973 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8974 inptr and inend, rather than using last_ch.
8976 2012-04-02 David S. Miller <davem@davemloft.net>
8978 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8979 * stdio-common/printf-parse.h (read_int): Change return type to
8980 'int', return -1 on INT_MAX overflow.
8981 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8982 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8983 overflows INT_MAX. Check for overflow of in-format-string precision
8984 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8985 SIZE_MAX not INT_MAX for integer overflow test.
8986 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8987 skip the construct in the format string but do not record anything.
8988 * stdio-common/bug22.c: Adjust to test both width/prevision
8989 INT_MAX overflow as well as total length INT_MAX overflow. Check
8990 explicitly for proper errno values.
8992 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8994 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8996 * string/test-strcmp.c [! WIDE]: Likewise.
8997 * time/tst-mktime2.c: Likewise for INT_MAX.
8998 * string/test-string.h: #include <sys/param.h> for MIN.
9000 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9001 * sysdeps/i386/init-first.c (init): Likewise.
9002 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9003 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9004 * sysdeps/sh/init-first.c (init): Likewise.
9006 2012-04-01 Ulrich Drepper <drepper@gmail.com>
9008 * po/ru.po: Update from translation team.
9009 * po/vi.po: Likewise.
9011 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9013 * resolv/nss_dns/dns-host.c: Merge copyright years.
9015 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9017 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9018 Optimize memcpy with prefetch if
9019 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9020 src, dst pointers have unequal 16 byte alignments.
9022 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9025 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9026 from a CNAME entry and return the minimum ttl for the query.
9027 (gaih_getanswer_slice): Likewise.
9029 2012-03-30 Jeff Law <law@redhat.com>
9031 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9033 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9034 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9036 * resolv/nss_dns/dns-host.c: Update copyright year.
9038 2012-03-30 Ulrich Drepper <drepper@gmail.com>
9040 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9041 requests to save a system call. Fix check that all bytes are sent.
9043 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9044 comments for sendmmsg.
9046 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9049 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9050 with only 1 character between 0x0041 and 0x01b0.
9051 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9052 * wcsmbs/tst-mbsnrtowcs.c: New file.
9054 2012-03-29 David S. Miller <davem@davemloft.net>
9056 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9057 small copies by hand.
9059 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9062 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9063 _nss_compat_initgroups_dyn): Fall back to malloc/free
9064 for large group memberships.
9066 2012-03-28 David S. Miller <davem@davemloft.net>
9068 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9069 that branches into memcpy.
9070 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9071 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9072 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9073 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9074 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9076 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9078 * sysdeps/sparc/mempcpy.S: New file.
9080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9081 the IFUNC routine in the libc case.
9082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9084 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9085 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9086 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9087 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9088 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9089 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9090 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9091 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9093 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9094 loop to 256 bytes instead of 64 bytes and fix test signedness.
9096 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9097 * sysdeps/sparc/sparc32/Makefile: rather than here...
9098 * sysdeps/sparc/sparc64/Makefile: and here.
9100 2012-03-28 Ulrich Drepper <drepper@gmail.com>
9102 * malloc/mallocbug.c: Avoid warnings about unused variables.
9104 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9107 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9108 in the right place. Discard and retry query if response is
9109 larger than input buffer size.
9111 2012-03-28 Joseph Myers <joseph@codesourcery.com>
9116 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9117 x for large integer exponent.
9118 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9119 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9120 sign of result as needed afterwards.
9121 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9122 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9123 result for underflowing pow the same as for overflow.
9124 (__kernel_standard_l): Handle powl overflow and underflow here
9125 rather than calling __kernel_standard.
9126 * math/libm-test.inc (pow_test): Add more tests.
9141 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9142 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9143 (__kernel_standard_l): New function.
9144 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9146 * math/w_acosl.c (__acosl): Likewise.
9147 * math/w_asinl.c (__asinl): Likewise.
9148 * math/w_atan2l.c (__atan2l): Likewise.
9149 * math/w_atanhl.c (__atanhl): Likewise.
9150 * math/w_coshl.c (__coshl): Likewise.
9151 * math/w_exp10l.c (__exp10l): Likewise.
9152 * math/w_exp2l.c (__exp2l): Likewise.
9153 * math/w_fmodl.c (__fmodl): Likewise.
9154 * math/w_hypotl.c (__hypotl): Likewise.
9155 * math/w_j0l.c (__j0l, __y0l): Likewise.
9156 * math/w_j1l.c (__j1l, __y1l): Likewise.
9157 * math/w_jnl.c (__jnl, __ynl): Likewise.
9158 * math/w_lgammal.c (__lgammal): Likewise.
9159 * math/w_log10l.c (__log10l): Likewise.
9160 * math/w_log2l.c (__log2l): Likewise.
9161 * math/w_logl.c (__logl): Likewise.
9162 * math/w_powl.c (__powl): Likewise.
9163 * math/w_remainderl.c (__remainderl): Likewise.
9164 * math/w_scalbl.c (sysv_scalbl): Likewise.
9165 * math/w_sinhl.c (__sinhl): Likewise.
9166 * math/w_sqrtl.c (__sqrtl): Likewise.
9167 * math/w_tgammal.c (__tgammal): Likewise.
9168 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9169 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9170 * math/libm-test.inc (acos_test): Add more tests.
9171 (acosh_test): Likewise.
9172 (asin_test): Likewise.
9173 (atanh_test): Likewise.
9174 (exp_test): Likewise.
9175 (exp10_test): Likewise.
9176 (exp2_test): Likewise.
9177 (expm1_test): Likewise.
9178 (lgamma_test): Likewise.
9179 (log_test): Likewise.
9180 (log10_test): Likewise.
9181 (log1p_test): Likewise.
9182 (log2_test): Likewise.
9183 (pow_test): Do not allow some spurious overflow exceptions.
9184 (sqrt_test): Add more tests.
9185 (tgamma_test): Likewise.
9186 (y0_test): Likewise.
9187 (y1_test): Likewise.
9188 (yn_test): Likewise.
9190 2012-03-27 Anton Blanchard <anton@samba.org>
9192 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9194 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9195 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9196 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9198 2012-03-27 David S. Miller <davem@davemloft.net>
9200 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9202 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9205 2012-03-27 Andreas Jaeger <aj@suse.de>
9207 * sysdeps/x86_64/elf/configure.in: Moved to ...
9208 * sysdeps/x86_64/configure.in: ... here.
9209 * sysdeps/x86_64/elf/start.S: Moved to ...
9210 * sysdeps/x86_64/start.S: ... here.
9211 * sysdeps/x86_64/elf/configure: Delete.
9213 * sysdeps/x86_64/configure.in: Merge contents from
9214 sysdeps/i386/configure.in (without i686 check).
9216 * sysdeps/i386/elf/Versions: Merge into ...
9217 * sysdeps/i386/Versions: ... this.
9218 * sysdeps/i386/elf/Versions: Delete file.
9219 * sysdeps/i386/elf/start.S: Moved to ...
9220 * sysdeps/i386/start.S: ...here.
9221 * sysdeps/i386/elf/configure.in: Merge into...
9222 * sysdeps/i386/configure.in: ...here.
9223 * sysdeps/i386/elf/configure.in: Delete file.
9224 * sysdeps/i386/elf/configure: Delete file.
9226 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9227 * debug/backtracesyms.c: ... here.
9228 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9229 * debug/backtracesymsfd.c: ... here.
9230 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9231 * sysdeps/generic/ifunc-sel.h: ... here.
9233 * sysdeps/unix/i386/start.c: Delete file.
9234 * sysdeps/unix/sparc/start.c: Delete file.
9235 * sysdeps/unix/start.c: Delete file.
9237 * sysdeps/sh/elf/configure.in: Moved to ...
9238 * sysdeps/sh/configure.in: ... here.
9239 * sysdeps/sh/elf/start.S: Moved to ...
9240 * sysdeps/sh/start.S: ... here.
9241 * sysdeps/sh/elf/configure: Delete file.
9243 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9244 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9245 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9246 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9247 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9248 * sysdeps/powerpc/powerpc64/start.S: here.
9249 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9250 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9251 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9252 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9253 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9255 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9256 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9257 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9258 * sysdeps/powerpc/powerpc32/start.S: ... here.
9259 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9260 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9261 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9263 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9264 * sysdeps/powerpc/ifunc-sel.h: ... here.
9265 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9266 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9268 * sysdeps/sparc/elf/configure.in: Moved to ...
9269 * sysdeps/sparc/configure.in: ... here.
9270 * sysdeps/sparc/elf/configure: Delete file.
9271 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9272 * sysdeps/sparc/sparc32/start.S: ... here.
9273 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9274 * sysdeps/sparc/sparc64/start.S: ... here.
9275 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9276 * sysdeps/sparc/sparc32/Makefile: ... this.
9277 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9278 * sysdeps/sparc/sparc64/Makefile: ... this.
9280 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9281 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9282 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9283 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9284 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9285 * sysdeps/s390/s390-32/setjmp.S: ... here.
9286 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9287 * sysdeps/s390/s390-32/configure.in: ... here.
9288 * sysdeps/s390/s390-32/elf/configure: Delete file.
9289 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9290 * sysdeps/s390/s390-32/start.S: ... here.
9292 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9293 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9294 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9295 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9296 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9297 * sysdeps/s390/s390-64/setjmp.S: ... here.
9298 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9299 * sysdeps/s390/s390-64/configure.in: ... here
9300 * sysdeps/s390/s390-64/elf/configure: Delete file.
9301 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9302 * sysdeps/s390/s390-64/start.S: ... here.
9303 * sysdeps/s390/s390-64/elf/configure: Delete.
9305 * configure.in: Remove support for elf directories in sysdeps.
9307 * configure: Regenerated.
9308 * sysdeps/i386/configure: Regenerated.
9309 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9310 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9311 * sysdeps/s390/s390-32/configure: Regenerated.
9312 * sysdeps/s390/s390-64/configure: Regenerated.
9313 * sysdeps/sh/configure: Regenerated.
9314 * sysdeps/sparc/configure: Regenerated.
9315 * sysdeps/x86_64/configure: Regenerated.
9317 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9322 denormal result into account.
9324 2012-03-25 Roland McGrath <roland@hack.frob.com>
9326 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9327 Reported by Allan McRae <allan@archlinux.org>.
9329 2012-03-23 Jeff Law <law@redhat.com>
9331 * nss/getnssent.c (__nss_getent): Fix typo.
9333 2012-03-23 David S. Miller <davem@davemloft.net>
9335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9337 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9339 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9340 to pad to uint64_t for each field.
9341 (dl_tls_index): Replace unsigned long with uint64_t.
9343 2012-03-23 Daniel Jacobowitz <dmj@google.com>
9344 Paul Pluzhnikov <ppluzhnikov@google.com>
9347 * grp/Makefile (otherlibs): Don't set it.
9348 * inet/Makefile (otherlibs): Likewise.
9349 * login/Makefile (otherlibs): Likewise.
9350 * nscd/Makefile (otherlibs): Likewise.
9351 * posix/Makefile (otherlibs): Likewise.
9352 * pwd/Makefile (otherlibs): Likewise.
9353 * rt/Makefile (otherlibs): Likewise.
9354 * sunrpc/Makefile (otherlibs): Likewise.
9355 * nss/Makefile (otherlibs): Likewise.
9356 Add libnss_files to routines and static-only-routines.
9357 ($(objpfx)getent): Remove rule.
9358 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9359 static-only-routines.
9361 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9364 * math/s_cexp.c: Include <float.h>.
9365 (__cexp): Handle exp result overflowing not necessarily
9366 overflowing both real and imaginary parts of result.
9367 * math/s_cexpf.c: Likewise.
9368 * math/s_cexpl.c: Likewise.
9369 * math/libm-test.inc (cexp_test): Add more tests.
9370 * sysdeps/i386/fpu/libm-test-ulps: Update.
9371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9373 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9375 * include/link.h (ELFW): New macro.
9376 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9377 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9379 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9381 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9384 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9386 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9388 (struct La_x32_retval): Likewise.
9390 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9392 * sysdeps/x86_64/preconfigure.in: New file.
9393 * sysdeps/x86_64/preconfigure: New generated file.
9395 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9398 * math/e_exp2l.c: Include <float.h>.
9399 (__ieee754_exp2l): Handle overflow and underflow cases
9400 separately. Only pass fractional part of argument to
9402 * math/libm-test.inc (exp2_test): Add more tests.
9404 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9405 negating x to take absolute value.
9406 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9408 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9409 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9411 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9412 computing low part if x was negated.
9413 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9415 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9417 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9419 (pltexit): Cast int_retval to ptrdiff_t.
9420 * elf/tst-auditmod3b.c: Likewise.
9421 * elf/tst-auditmod4b.c: Likewise.
9422 * elf/tst-auditmod5b.c: Likewise.
9423 * elf/tst-auditmod6b.c: Likewise.
9424 * elf/tst-auditmod6c.c: Likewise.
9425 * elf/tst-auditmod7b.c: Likewise.
9427 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9428 and x32_gnu_pltexit.
9430 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9432 (La_x32_regs): New macro.
9433 (La_x32_retval): Likewise.
9434 (la_x32_gnu_pltenter): New function prototype.
9435 (la_x32_gnu_pltexit): Likewise.
9437 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9439 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9444 * configure.in (libc_cv_cc_nofma): Check for option to disable
9445 generation of FMA instructions.
9446 * configure: Regenerate.
9447 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9448 * sysdeps/ieee754/dbl-64/Makefile: New file.
9449 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9450 Remove brandred-fma4.
9451 (CFLAGS-brandred-fma4.c): Remove.
9452 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9453 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9455 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9458 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9460 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9461 LLONG_MAX != LONG_MAX.
9462 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9463 (_fitoa_word): Likewise.
9464 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9465 LLONG_MAX != LONG_MAX.
9466 * stdio-common/_itowa.h: Include <_itoa.h>.
9467 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9468 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9469 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9470 only if not defined.
9471 (_ITOA_WORD_TYPE): Likewise.
9472 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9473 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9475 2012-03-21 David S. Miller <davem@davemloft.net>
9477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9479 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9481 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9482 of x86_64 when setting libc_cv_slibdir, libdir and
9484 * sysdeps/unix/sysv/linux/configure: Regenerated.
9486 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9488 * manual/lang.texi (Old Varargs): Remove section.
9489 (How Variadic): Update menu.
9490 (va_start): Do not mention varargs.h.
9492 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9493 Joseph Myers <joseph@codesourcery.com>
9495 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9497 * configure: Regenerated.
9499 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9501 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9502 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9505 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9508 * Makefile (files-for-dist): Remove NOTES.
9509 (NOTES): Remove rule.
9510 * README: Don't refer to NOTES.
9511 * manual/creature.texi: Don't include macros.texi.
9512 * manual/intro.texi (creature.texi): Remove comment referring to
9515 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9516 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9517 * configure: Regenerated.
9518 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9520 (libc_cv_as_i686): Likewise.
9521 (libc_cv_cc_avx): Likewise.
9522 (libc_cv_cc_sse2avx): Likewise.
9523 (libc_cv_cc_fma4): Likewise.
9524 (libc_cv_cc_novzeroupper): Likewise.
9525 * sysdeps/i386/configure: Regenerated.
9528 * sysdeps/i386/fpu/s_cexp.S: Remove.
9529 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9530 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9531 * math/libm-test.inc (cexp_test): Add more tests.
9532 * sysdeps/i386/fpu/libm-test-ulps: Update.
9533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9535 2012-03-21 Allan McRae <allan@archlinux.org>
9537 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9539 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9542 * math/w_exp2.c: Do not include <float.h>.
9543 (o_threshold, u_threshold): Remove.
9544 (__exp2): Calculate result before checking finiteness and calling
9546 * math/w_exp2f.c: Likewise.
9547 * math/w_exp2l.c: Likewise.
9548 * math/libm-test.inc (exp2_test): Require overflow exception for
9552 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9553 range of signed 64-bit integers before using fistpll. Remove
9554 checks for whether integers fit in mantissa bits.
9555 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9556 the range of signed 32-bit integers before using fistpl. Remove
9557 checks for whether integers fit in mantissa bits.
9558 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9559 (__ieee754_powl): Test for y outside the range of signed 64-bit
9560 integers before using fistpll. Reduce 64-bit values to 63-bit
9562 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9563 divide-by-zero is raised for zero to large negative powers.
9564 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9565 (__ieee754_powl): Test for y outside the range of signed 64-bit
9566 integers before using fistpll. Reduce 64-bit values to 63-bit
9568 * math/libm-test.inc (pow_test): Add more tests.
9570 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9572 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9573 <stdio-common/_itoa.h>.
9574 * debug/segfault.c: Likewise.
9575 * elf/dl-cache.c: Likewise.
9576 * elf/dl-minimal.c: Likewise.
9577 * elf/dl-misc.c: Likewise.
9578 * elf/dl-sysdep.c: Likewise.
9579 * elf/dl-version.c: Likewise.
9580 * elf/rtld.c: Likewise.
9581 * hurd/hurdsock.c: Likewise.
9582 * hurd/lookup-retry.c: Likewise.
9583 * malloc/malloc.c: Likewise.
9584 * malloc/mtrace.c: Likewise.
9585 * nscd/nscd_getgr_r.c: Likewise.
9586 * nscd/nscd_getpw_r.c: Likewise.
9587 * nscd/nscd_getserv_r.c: Likewise.
9588 * posix/getopt_init.c: Likewise.
9589 * posix/wordexp.c: Likewise.
9590 * stdio-common/_itoa.c: Likewise.
9591 * stdio-common/printf_fphex.c: Likewise.
9592 * stdio-common/vfprintf.c: Likewise.
9593 * string/_strerror.c: Likewise.
9594 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9595 * sysdeps/i386/i686/hp-timing.h: Likewise.
9596 * sysdeps/mach/_strerror.c: Likewise.
9597 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9598 * sysdeps/mach/hurd/sethostid.c: Likewise.
9599 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9600 * sysdeps/mach/xpg-strerror.c: Likewise.
9601 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9602 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9603 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9604 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9605 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9606 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9607 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9608 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9609 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9610 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9611 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9612 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9613 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9614 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9615 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9616 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9617 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9618 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9619 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9620 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9621 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9623 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9625 * stdio-common/_itoa.h: Moved to ...
9626 * sysdeps/generic/_itoa.h: Here.
9628 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9630 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9631 instead of "_itoa.h" and "_itowa.h".
9632 * stdio-common/vfprintf.: Likewise.
9634 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9636 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9638 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9639 (__signbit): Likwise.
9643 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9645 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9648 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9650 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9651 OVERFLOW_EXCEPTION_OK.
9652 * math/libm-test.inc ("Philosophy"): Update comment about
9654 (OVERFLOW_EXCEPTION): Define.
9655 (OVERFLOW_EXCEPTION_OK): Likewise.
9656 (INVALID_EXCEPTION_OK): Renumber.
9657 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9658 (IGNORE_ZERO_INF_SIGN): Likewise.
9659 (test_exceptions): Handle FE_OVERFLOW.
9660 (exp10_test): Expect overflow exceptions.
9661 (exp2_test): Likewise.
9662 (expm1_test): Likewise.
9663 (nextafter_test): Likewise.
9664 (pow_test): Likewise.
9665 (scalbn_test): Likewise.
9666 (scalbln_test): Likewise.
9668 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9670 * sysdeps/x86_64/bits/atomic.h
9671 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9673 (atomic_exchange_acq): Likewise.
9674 (__arch_exchange_and_add_body): Likewise.
9675 (__arch_add_body): Likewise.
9676 (atomic_add_negative): Likewise.
9677 (atomic_add_zero): Likewise.
9679 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9681 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9682 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9684 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9686 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9687 Check __x86_64__ instead of __WORDSIZE.
9689 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9691 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9693 2012-03-19 David S. Miller <davem@davemloft.net>
9695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9697 * sysdeps/sparc/fpu/fenv_private.h: New file.
9698 * sysdeps/sparc/fpu/math_private.h: Use it.
9699 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9701 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9702 (libc_feholdexcept_setroundl): Remove.
9703 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9705 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9706 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9708 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9710 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9711 int64_t instead of long int.
9712 (INSERT_WORDS64): Likwise.
9714 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9716 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9717 _Unwind_GetCFA return to _Unwind_Ptr first.
9719 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9722 * math/s_clog.c: Include <float.h>.
9723 (__clog): Scale large or subnormal inputs.
9724 * math/s_clogf.c: Likewise.
9725 * math/s_clogl.c: Likewise.
9726 * math/s_clog10.c: Include <float.h>.
9727 (M_LOG10_2): Define.
9728 (__clog10): Scale large or subnormal inputs.
9729 * math/s_clog10f.c: Likewise.
9730 * math/s_clog10l.c: Likewise.
9731 * math/libm-test.inc (clog_test): Add more tests.
9732 (clog10_test): Likewise.
9733 * sysdeps/i386/fpu/libm-test-ulps: Update.
9734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9737 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9739 * math/libm-test.inc (atan2_test): Add another test.
9741 * Makerules (common-objdir-compile): Remove.
9742 * sysdeps/unix/Makefile (config-generated): Do not add
9743 $(unix-generated) to variable.
9744 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9745 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9747 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9749 [generic bits/local_lim.h] (before-compile): Do not append to
9751 [generic bits/local_lim.h] (common-generated): Likewise.
9752 [generic sys/param.h] (before-compile): Do not append to variable.
9753 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9754 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9755 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9756 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9758 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9759 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9760 [generic sys/param.h] ($(addprefix
9761 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9762 [generic sys/param.h] (common-generated): Do not append to
9764 [generic sys/param.h] (sysdep_headers): Likewise.
9765 [generic bits/errno.h] (before-compile): Do not append to
9767 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9769 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9770 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9771 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9772 [generic bits/errno.h] (common-generated): Do not append to
9774 [generic bits/ioctls.h] (before-compile): Do not append to
9776 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9778 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9779 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9780 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9782 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9783 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9784 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9785 [generic bits/ioctls.h] (common-generated): Do not append to
9787 [generic sys/syscall.h] (syscall.h): Remove variable.
9788 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9790 [generic sys/syscall.h] (before-compile): Do not append to
9792 [generic sys/syscall.h] (common-generated): Likewise.
9793 * sysdeps/unix/errnos-tmpl.c: Remove file.
9794 * sysdeps/unix/errnos.awk: Likewise.
9795 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9796 * sysdeps/unix/ioctls.awk: Likewise.
9797 * sysdeps/unix/mk-local_lim.c: Likewise.
9798 * sysdeps/unix/snarf-ioctls: Likewise.
9800 2012-03-19 Richard Henderson <rth@twiddle.net>
9802 * sysdeps/i386/fpu/fenv_private.h: New file.
9803 * sysdeps/i386/fpu/math_private.h: Use it.
9804 (math_opt_barrier, math_force_eval): Remove.
9805 (libc_feholdexcept_setround_53bit): Remove.
9806 (libc_feupdateenv_53bit): Remove.
9807 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9808 (math_opt_barrier, math_force_eval): Remove.
9809 (libc_feholdexcept): Remove.
9810 (libc_feholdexcept_setround): Remove.
9811 (libc_fetestexcept, libc_fesetenv): Remove.
9812 (libc_feupdateenv_test): Remove.
9813 (libc_feupdateenv, libc_feholdsetround): Remove.
9814 (libc_feresetround): Remove.
9816 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9817 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9819 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9820 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9821 (libc_feupdateenv_testl): New.
9822 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9823 (libc_feupdateenv_testf): New.
9824 (libc_feupdateenv): Use libc_feupdateenv_test.
9825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9826 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9828 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9829 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9830 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9831 (libc_feresetround_noex): New.
9832 (libc_feresetround_noexf): New.
9833 (libc_feresetround_noexl): New.
9834 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9835 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9836 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9837 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9839 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9840 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9842 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9843 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9844 SET_RESTORE_ROUND_NOEX.
9845 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9846 SET_RESTORE_ROUND_NOEXF.
9847 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9848 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9849 (libc_feholdsetroundf): New.
9850 (libc_feresetround, libc_feresetroundf): New.
9852 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9853 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9854 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9856 * sysdeps/generic/math_private.h: Include <fenv.h>.
9857 (default_libc_feholdexcept): New.
9858 (default_libc_feholdexcept_setround): New.
9859 (default_libc_fesetenv, default_libc_feupdateenv): New.
9860 (libc_feholdexcept): Only define if undefined.
9861 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9862 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9863 (libc_feholdexcept_setroundl): Likewise.
9864 (libc_feholdexcept_setround_53bit): Likewise.
9865 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9866 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9867 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9868 (libc_feupdateenv_53bit): Likewise.
9869 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9870 (libc_feholdexcept): Convert from macro to inline function.
9871 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9872 (libc_fesetenv, libc_feupdateenv): Likewise.
9874 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9875 not previously defined.
9876 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9877 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9878 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9879 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9880 * sysdeps/ieee754/flt-32/math_private.h: New file.
9881 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9882 math_private.h below SET_FLOAT_WORD.
9883 (__isnan, __isinf_ns, __finite): Remove.
9884 (__isnanf, __isinf_nsf, __finitef): Remove.
9886 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9890 2012-03-17 David S. Miller <davem@davemloft.net>
9893 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9896 2012-03-16 David S. Miller <davem@davemloft.net>
9898 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9902 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9904 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9905 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9906 sysdep_routines when subdir is sysvipc.
9907 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9910 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9912 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9914 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9917 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9919 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9920 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9921 (__lround): Renamed to ...
9922 (__llround): This. Replace long int with long long int.
9923 Define lround functions as aliases of llround functions.
9924 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9926 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9928 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9929 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9930 adresses to uintptr_t. Replace "long int" and "unsigned long
9931 int" with "greg_t" on va_arg.
9933 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9935 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9936 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9938 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9939 Move e_machine check before EI_CLASS check. Handle x32
9940 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9941 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9942 SKIP_EM_IA_64 and include
9943 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9945 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9946 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9947 (add_system_dir): New macro.
9949 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9950 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9952 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9963 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9965 * math/w_j0f.c (j0f): Likewise.
9967 * math/w_j0l.c (__j0l): Likewise.
9969 * math/w_j1.c (j1): Likewise.
9971 * math/w_j1f.c (j1f): Likewise.
9973 * math/w_j1l.c (__j1l): Likewise.
9975 * math/w_jn.c (jn): Likewise.
9977 * math/w_jnf.c (jnf): Likewise.
9979 * math/w_jnl.c (__jnl): Likewise.
9981 * math/libm-test.inc (j0_test): Add more tests.
9982 (j1_test): Likewise.
9983 (jn_test): Likewise. Add trailing semicolon to existing test.
9984 (y0_test): Likewise.
9985 (y1_test): Likewise.
9986 * sysdeps/i386/fpu/libm-test-ulps: Update.
9987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9991 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9992 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9993 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9994 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9995 (__tanl): Set errno for infinite argument.
9996 * sysdeps/i386/fpu/mptan.c: Remove.
9997 * sysdeps/i386/fpu/s_tan.S: Likewise.
9998 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9999 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10000 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10001 * math/libm-test.inc (tan_test): Add more tests and enable more
10002 tests for double and long double.
10003 * sysdeps/i386/fpu/libm-test-ulps: Update.
10004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10006 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10008 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10009 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10011 2012-03-16 Roland McGrath <roland@hack.frob.com>
10013 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10014 * configure.in: Use it for both main tree and add-ons.
10015 * configure: Regenerated.
10017 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10019 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10021 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10023 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10027 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10028 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10029 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10030 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10031 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10033 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10034 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10035 != 0 for prec == 2.
10036 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10037 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10038 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10039 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10040 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10041 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10042 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10043 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10044 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10045 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10046 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10047 * math/libm-test.inc (cos_test): Add more tests and enable more
10048 tests for long double.
10049 (sin_test): Likewise.
10050 (sincos_test): Likewise.
10051 * sysdeps/i386/fpu/libm-test-ulps: Update.
10052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10054 2012-03-16 David S. Miller <davem@davemloft.net>
10056 * sysdeps/sparc/fpu/math_private.h: New file.
10058 2012-03-15 David S. Miller <davem@davemloft.net>
10060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10070 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10074 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10075 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10077 * sysdeps/sparc/sparc-ifunc.h: New file.
10078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10104 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10105 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10120 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10121 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10123 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10125 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10129 2012-03-15 Andreas Jaeger <aj@suse.de>
10132 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10133 ieee754/flt-32 implementation for sin, cos and sincos.
10134 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10135 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10136 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10137 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10138 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10139 ieee754/flt-32 implementation for tan.
10141 * math/libm-test.inc (cos_test): Enable some large input tests for
10143 (sin_test): Likewise.
10144 (sincos_test): Likewise.
10145 (tan_test): Add tests for large input.
10147 * sysdeps/i386/fpu/libm-test-ulps: Update.
10149 2012-03-15 Andreas Jaeger <aj@suse.de>
10152 * math/libm-test.inc (cos_test): Add more test cases.
10153 (sin_test): Likewise.
10154 (sincos_test): Likewise.
10156 2012-03-15 Andreas Jaeger <aj@suse.de>
10159 * math/libm-test.inc (cos_test): Add a test case for large input
10161 (sin_test): Likewise.
10162 (sincos_test): Likewise.
10164 2012-03-15 Andreas Jaeger <aj@suse.de>,
10165 Joseph Myers <joseph@codesourcery.com>
10168 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
10169 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10170 * sysdeps/i386/fpu/branred.c: Likewise.
10171 * sysdeps/i386/fpu/dosincos.c: Likewise.
10172 * sysdeps/i386/fpu/mpa.c: Likewise.
10173 * sysdeps/i386/fpu/s_cos.S: Likewise.
10174 * sysdeps/i386/fpu/s_sin.S: Likewise.
10175 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10176 * sysdeps/i386/fpu/sincos32.c: Likewise.
10178 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10180 (libc_feupdateenv_53bit): Define.
10181 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10183 (libc_feupdateenv_53bit): Define.
10185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10186 53 bit (without extend i386 double precision).
10188 * math/libm-test.inc (sincos_test): Add tests for large input.
10192 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10194 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10198 2012-03-15 David S. Miller <davem@davemloft.net>
10200 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10201 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10202 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10203 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
10215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
10218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
10221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
10224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10228 fmin/fmax sysdep routines.
10229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10231 2012-03-14 David S. Miller <davem@davemloft.net>
10233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10237 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10253 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10257 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
10261 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
10266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
10269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
10272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
10275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
10278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
10293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
10296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
10299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
10302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10305 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10310 * sysdeps/sparc/configure.in: New file.
10311 * sysdeps/sparc/configure: Generate.
10312 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10313 * configure: Regenerate.
10314 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10315 * config.make.in (have-as-vis3): New.
10316 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10317 available use -Av9d instead of -Av9a.
10318 * sysdeps/sparc/sparc64/Makefile: Likewise.
10319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
10320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10334 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10335 fzeros/fnegs to load 0x80000000 into a float register instead of
10337 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10339 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10343 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10344 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10345 ($(inst_includedir)/bits/syscall.h): Remove rule.
10346 ($(objpfx)bits/syscall.d): Include instead of
10347 $(objpfx)syscall-list.d.
10348 (generated): Change syscall-list.h and syscall-list.d to
10349 bits/syscall.h and bits/syscall.d.
10351 2012-03-14 Roland McGrath <roland@hack.frob.com>
10354 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10356 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10359 * math/s_csqrt.c: Include <float.h>.
10360 (__csqrt): Scale large or subnormal inputs.
10361 * math/s_csqrtf.c: Likewise.
10362 * math/s_csqrtl.c: Likewise.
10363 * math/libm-test.inc (csqrt_test): Add more tests.
10364 * sysdeps/i386/fpu/libm-test-ulps: Update.
10365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10368 * math/libm-test.inc (hypot_test): Add more tests.
10370 2012-03-13 David S. Miller <davem@davemloft.net>
10373 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10374 double-precision for the calculation instead of scaling.
10376 2012-03-13 Joseph Myers <joseph@codesourcery.com>
10378 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10379 manipulate bits before adding and subtracting TWO52[sx].
10380 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10381 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10383 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10385 2012-03-13 David S. Miller <davem@davemloft.net>
10387 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10388 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10390 rtld-global-offsets.h
10391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10393 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10396 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10398 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10399 'err' in the ifdef scope in which it is actually used.
10401 * nss/nss_db/db-init.c: Include string.h
10403 2012-03-12 David S. Miller <davem@davemloft.net>
10405 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10406 masking out of the most significant byte of random value used.
10407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10408 Fix coding style in previous change.
10410 * sysdeps/unix/sysv/linux/kernel-features.h
10411 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10412 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10414 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10417 2012-03-11 David S. Miller <davem@davemloft.net>
10419 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10420 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10421 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10422 for 'resultvar' otherwise things get truncated on 64-bit.
10424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10425 Fix masking out of the most significant byte of random value used.
10427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10429 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10433 2012-03-09 David S. Miller <davem@davemloft.net>
10435 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10436 variables with appropriate CPP guards.
10437 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10438 frame pointer, not the stack pointer. Correct layout comments. Fix test
10439 on resulting framesize and the management of the outregs buffer for pltexit.
10440 Preserve floating point return values across _dl_call_pltexit call.
10441 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10442 framesize and the management of the outregs buffer for pltexit.
10443 Preserve floating point return values across _dl_call_pltexit
10445 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10446 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10447 (print_exit): Fix format string for return register value.
10449 2012-03-10 Joseph Myers <joseph@codesourcery.com>
10451 * sunrpc/Makefile (others): Add rpcgen.
10452 ($(objpfx)rpcgen): Remove special build rule and dependency on
10454 * sunrpc/rpcgen.c: New file.
10456 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10459 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10460 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10461 * sysdeps/i386/crti.S: Likewise.
10462 * sysdeps/i386/crtn.S: Likewise.
10463 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10464 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10465 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10466 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10467 * sysdeps/sh/crti.S: Likewise.
10468 * sysdeps/sh/crtn.S: Likewise.
10469 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10472 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10474 * locale/programs/locfile-kw.gperf: Likewise.
10475 * locale/programs/charmap-kw.h: Regenerated.
10476 * locale/programs/locfile-kw.h: Likewise.
10479 * intl/plural.y: Replace FSF snail mail address with URL.
10480 * intl/plural.c: Regenerated.
10482 2012-03-09 Richard Henderson <rth@twiddle.net>
10484 * include/math_private.h: Remove file.
10485 * math/math_private.h: Move file ...
10486 * sysdeps/generic/math_private.h: ... here.
10488 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10489 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10490 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10492 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10493 and <math_private.h>.
10494 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10495 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10496 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10497 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10498 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10499 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10500 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10502 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10503 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10505 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10506 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10507 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10508 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10509 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10510 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10511 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10512 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10513 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10515 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10516 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10518 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10519 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10521 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10523 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10524 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10525 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10526 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10527 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10528 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10529 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10530 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10531 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10532 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10533 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10534 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10535 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10536 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10537 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10538 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10539 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10540 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10541 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10542 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10543 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10545 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10546 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10547 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10548 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10549 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10550 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10551 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10552 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10553 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10554 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10555 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10557 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10558 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10559 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10560 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10561 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10562 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10563 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10564 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10565 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10566 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10567 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10568 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10570 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10572 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10573 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10574 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10575 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10576 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10577 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10578 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10579 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10581 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10582 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10583 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10584 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10585 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10586 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10587 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10588 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10589 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10590 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10591 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10592 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10593 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10594 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10595 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10596 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10597 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10598 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10599 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10600 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10601 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10602 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10603 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10604 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10605 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10606 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10607 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10608 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10609 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10610 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10611 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10612 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10613 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10614 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10615 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10616 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10617 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10618 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10619 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10620 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10621 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10622 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10623 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10624 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10625 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10626 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10627 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10628 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10629 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10630 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10631 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10632 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10633 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10634 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10635 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10636 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10637 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10638 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10639 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10640 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10641 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10642 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10643 * sysdeps/ieee754/k_standard.c: Likewise.
10644 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10645 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10646 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10647 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10648 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10649 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10650 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10651 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10652 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10653 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10654 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10655 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10656 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10657 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10658 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10659 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10660 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10661 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10662 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10663 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10664 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10665 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10666 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10667 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10668 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10669 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10670 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10671 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10672 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10673 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10674 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10675 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10676 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10677 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10678 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10679 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10680 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10681 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10682 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10683 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10684 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10685 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10686 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10687 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10688 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10689 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10690 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10691 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10692 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10693 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10694 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10695 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10696 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10697 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10698 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10699 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10700 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10701 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10702 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10703 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10704 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10705 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10706 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10710 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10711 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10712 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10713 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10714 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10716 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10717 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10718 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10720 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10721 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10722 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10723 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10724 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10725 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10726 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10727 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10728 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10729 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10730 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10731 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10732 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10733 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10735 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10736 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10737 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10738 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10739 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10740 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10741 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10742 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10743 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10759 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10762 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10763 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10764 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10766 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10767 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10770 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10771 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10772 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10773 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10774 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10775 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10776 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10777 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10778 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10779 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10780 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10782 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10783 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10784 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10785 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10790 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10792 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10793 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10794 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10795 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10796 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10797 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10798 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10799 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10800 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10801 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10803 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10804 * sysdeps/ieee754/s_lib_version.c: Likewise.
10805 * sysdeps/ieee754/s_matherr.c: Likewise.
10806 * sysdeps/ieee754/s_signgam.c: Likewise.
10807 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10808 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10809 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10810 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10811 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10812 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10813 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10814 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10815 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10816 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10817 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10818 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10819 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10820 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10821 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10822 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10823 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10824 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10825 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10829 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10831 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10832 * sunrpc/rpc_main.c: Likewise.
10833 * sunrpc/rpc_svcout.c: Likewise.
10835 2012-03-09 David S. Miller <davem@davemloft.net>
10837 * include/math_private.h: New file.
10839 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10841 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10842 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10843 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10844 from <bits/socket_type.h>.
10845 (enum __socket_type): Don't define here.
10846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10848 bits/socket_type.h.
10851 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10852 checking __USE_GNU.
10854 * Makerules ($(inst_includedir)/%.h): New rule.
10855 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10856 (install-others): Remove variable setting.
10857 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10859 2012-03-08 Richard Henderson <rth@twiddle.net>
10861 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10862 from macro to inline function; merge with the
10863 !__LIBC_INTERNAL_MATH_INLINES version.
10864 (__ieee754_sqrtf): Likewise.
10866 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10867 to inline function.
10868 (__rintf, __floor, __floorf): Likewise.
10870 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10871 macro to inline function.
10872 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10875 not <math/math_private.h>.
10877 2012-03-08 David S. Miller <davem@davemloft.net>
10879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10881 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10883 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10885 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10887 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10888 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10890 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10892 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10893 be defined individually, they must be defined as a block. Define
10894 S for printing a string instead of hidint the different by using a
10895 macro for adding the 'l'.
10896 * stdio-common/tst-fphex-wide.c: Adjust.
10898 2012-03-07 Marek Polacek <polacek@redhat.com>
10900 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10902 2012-03-08 Marek Polacek <polacek@redhat.com>
10905 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10906 * stdio-common/tst-fphex.c: Define a few macros to make the
10907 test reusable. Use them.
10908 * stdio-common/tst-fphex-wide.c: New file.
10910 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10913 * manual/macros.texi (gnusystems): New macro.
10914 (nongnusystems): Likewise.
10915 (gnulinuxhurdsystems): Likewise.
10916 (gnuhurdsystems): Likewise..
10917 (gnulinuxsystems): Likewise.
10918 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10919 variants of the GNU system, not "GNU system".
10920 * manual/conf.texi: Likewise.
10921 * manual/errno.texi: Likewise. Update example of errno macro
10923 * manual/filesys.texi: Likewise.
10924 (getumask): Document as specific to GNU/Hurd.
10925 * manual/install.texi: Likewise. Reword some references to
10927 * manual/intro.texi: Likewise.
10928 * manual/io.texi: Likewise.
10929 (File Name Portability): Detail which constraints are inapplicable
10930 to all GNU systems and which are only inapplicable to GNU/Hurd.
10931 * manual/job.texi: Likewise.
10932 * manual/llio.texi: Likewise.
10933 (O_NOCTTY): Document as present on GNU/Linux.
10934 * manual/maint.texi: Likewise.
10935 * manual/memory.texi: Likewise.
10936 * manual/pattern.texi: Likewise.
10937 * manual/pipe.texi: Likewise.
10938 * manual/process.texi: Likewise.
10939 * manual/resource.texi: Likewise.
10940 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10942 * manual/setjmp.texi: Likewise.
10943 * manual/signal.texi: Likewise.
10944 * manual/startup.texi: Likewise.
10945 * manual/stdio.texi: Likewise.
10946 * manual/terminal.texi: Likewise.
10947 (ONLCR): Document as POSIX.
10948 (OXTABS): Document availability on GNU/Linux as XTABS.
10949 (ONOEOT): Document availability separately from other bits.
10950 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10951 * manual/time.texi: Likewise.
10952 * manual/users.texi: Likewise.
10953 * INSTALL: Regenerated.
10954 * sysdeps/gnu/errlist.c: Regenerated.
10956 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10957 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10958 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10960 * configure: Regenerated.
10962 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10964 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10965 default includes instead of AC_HEADER_CHECK.
10966 * sysdeps/i386/configure: Regenerated.
10969 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10970 * math/s_cacoshf.c (__cacoshf): Likewise.
10971 * math/s_cacoshl.c (__cacoshl): Likewise.
10972 * math/s_casinh.c (__casinh): Set signs of result from argument.
10973 * math/s_casinhf.c (__casinhf): Likewise.
10974 * math/s_casinhl.c (__casinhl): Likewise.
10975 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10976 (casinh_test): Add more tests.
10977 * sysdeps/i386/fpu/libm-test-ulps: Update.
10978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10980 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10982 * po/zh_TW.po: Update from translation team.
10984 * login/Makefile (distribute): Remove variable.
10985 * catgets/Makefile: Likewise.
10986 * mach/Makefile: Likewise.
10987 * malloc/Makefile: Likewise.
10988 * misc/Makefile: Likewise.
10989 * iconv/Makefile: Likewise.
10990 * nscd/Makefile: Likewise.
10991 * hurd/Makefile: Likewise.
10992 * manual/Makefile: Likewise.
10993 * locale/Makefile: Likewise.
10994 * intl/Makefile: Likewise.
10995 * conform/Makefile: Likewise.
10996 * nss/Makefile: Likewise.
10997 * time/Makefile: Likewise.
10998 * soft-fp/Makefile: Likewise.
10999 * dirent/Makefile: Likewise.
11000 * gmon/Makefile: Likewise.
11001 * po/Makefile: Likewise.
11002 * rt/Makefile: Likewise.
11003 * socket/Makefile: Likewise.
11004 * math/Makefile: Likewise.
11005 * signal/Makefile: Likewise.
11006 * debug/Makefile: Likewise.
11007 * elf/Makefile: Likewise.
11008 * timezone/Makefile: Likewise.
11009 * stdlib/Makefile: Likewise.
11010 * iconvdata/Makefile: Likewise.
11011 * sunrpc/Makefile: Likewise.
11012 * io/Makefile: Likewise.
11013 * argp/Makefile: Likewise.
11014 * inet/Makefile: Likewise.
11015 * hesiod/Makefile: Likewise.
11016 * grp/Makefile: Likewise.
11017 * csu/Makefile: Likewise.
11018 * wctype/Makefile: Likewise.
11019 * crypt/Makefile: Likewise.
11020 * libio/Makefile: Likewise.
11021 * string/Makefile: Likewise.
11022 * nis/Makefile: Likewise.
11023 * resolv/Makefile: Likewise.
11024 * stdio-common/Makefile: Likewise.
11025 * wcsmbs/Makefile: Likewise.
11026 * dlfcn/Makefile: Likewise.
11027 * posix/Makefile: Likewise.
11030 * timezone/Makefile: Don't install timezone files, just the programs
11033 2012-03-06 Ulrich Drepper <drepper@gmail.com>
11035 * nss/databases.def: Add missing gshadow entry.
11037 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11039 2012-03-06 Marek Polacek <polacek@redhat.com>
11042 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11043 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11044 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11045 * stdio-common/tst-long-dbl-fphex.c: New file.
11047 2012-03-06 David S. Miller <davem@davemloft.net>
11049 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11050 (set_obp_int): New function.
11051 (get_obp_int): New function.
11052 (__get_clockfreq_via_dev_openprom): Likewise.
11053 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11054 Avoid unused variable warnings on 'val' and use builtin_expect.
11055 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11057 (INLINE_CLONE_SYSCALL): Likewise.
11059 2012-03-05 David S. Miller <davem@davemloft.net>
11061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11063 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11067 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11068 only for |x| >= 40.
11069 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11071 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
11073 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11074 Replace gettimeofday with __vdso_gettimeofday.
11076 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11077 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11078 __vdso_clock_gettime and __vdso_getcpu.
11080 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11081 time with __vdso_time.
11083 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11085 * manual/lang.texi (size_t): Note types to which size_t may be
11086 equivalent with the GNU C Library, but do not describe when
11087 differences between them are significant.
11089 2012-03-05 Andreas Jaeger <aj@suse.de>
11091 * sysdeps/i386/fpu/libm-test-ulps: Update.
11093 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11096 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11097 (__ieee754_pow): Save and restore rounding mode and use
11098 round-to-nearest for main computations.
11099 * math/libm-test.inc (pow_test_tonearest): New function.
11100 (pow_test_towardzero): Likewise.
11101 (pow_test_downward): Likewise.
11102 (pow_test_upward): Likewise.
11103 (main): Call the new functions.
11104 * sysdeps/i386/fpu/libm-test-ulps: Update.
11105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11108 * math/libm-test.inc (cosh_test_tonearest): New function.
11109 (cosh_test_towardzero): Likewise.
11110 (cosh_test_downward): Likewise.
11111 (cosh_test_upward): Likewise.
11112 (sinh_test_tonearest): Likewise.
11113 (sinh_test_towardzero): Likewise.
11114 (sinh_test_downward): Likewise.
11115 (sinh_test_upward): Likewise.
11116 (main): Call the new functions.
11117 * sysdeps/i386/fpu/libm-test-ulps: Update.
11118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11120 2012-03-05 Tom de Vries <tom@codesourcery.com>
11122 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11123 default stack guard is set in last bytes.
11124 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11126 2012-03-05 Kees Cook <keescook@chromium.org>
11128 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
11131 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11132 possibly allocate from heap instead of stack.
11133 * stdio-common/bug-vfprintf-nargs.c: New file.
11134 * stdio-common/Makefile (tests): Add nargs overflow test.
11136 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11140 2012-03-03 Marek Polacek <polacek@redhat.com>
11142 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11143 * math/math_private.h: Likewise.
11144 * stdlib/tst-strtod.c: Likewise.
11145 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11146 * sysdeps/x86_64/bits/atomic.h: Likewise.
11148 2012-03-02 David S. Miller <davem@davemloft.net>
11150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11154 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11155 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11156 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11157 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11159 2012-03-02 Roland McGrath <roland@hack.frob.com>
11162 * manual/examples/README: New file, says the example source files
11163 can be used under GPL>=2.
11164 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11165 line containing just "*/".
11166 * manual/examples/add.c: Add copyright header (GPL>=2).
11167 * manual/examples/argp-ex1.c: Likewise.
11168 * manual/examples/argp-ex2.c: Likewise.
11169 * manual/examples/argp-ex3.c: Likewise.
11170 * manual/examples/argp-ex4.c: Likewise.
11171 * manual/examples/atexit.c: Likewise.
11172 * manual/examples/db.c: Likewise.
11173 * manual/examples/dir.c: Likewise.
11174 * manual/examples/dir2.c: Likewise.
11175 * manual/examples/execinfo.c: Likewise.
11176 * manual/examples/filecli.c: Likewise.
11177 * manual/examples/filesrv.c: Likewise.
11178 * manual/examples/fmtmsgexpl.c: Likewise.
11179 * manual/examples/genpass.c: Likewise.
11180 * manual/examples/inetcli.c: Likewise.
11181 * manual/examples/inetsrv.c: Likewise.
11182 * manual/examples/isockad.c: Likewise.
11183 * manual/examples/longopt.c: Likewise.
11184 * manual/examples/memopen.c: Likewise.
11185 * manual/examples/memstrm.c: Likewise.
11186 * manual/examples/mkfsock.c: Likewise.
11187 * manual/examples/mkisock.c: Likewise.
11188 * manual/examples/mygetpass.c: Likewise.
11189 * manual/examples/pipe.c: Likewise.
11190 * manual/examples/popen.c: Likewise.
11191 * manual/examples/rprintf.c: Likewise.
11192 * manual/examples/search.c: Likewise.
11193 * manual/examples/select.c: Likewise.
11194 * manual/examples/setjmp.c: Likewise.
11195 * manual/examples/sigh1.c: Likewise.
11196 * manual/examples/sigusr.c: Likewise.
11197 * manual/examples/stpcpy.c: Likewise.
11198 * manual/examples/strdupa.c: Likewise.
11199 * manual/examples/strftim.c: Likewise.
11200 * manual/examples/strncat.c: Likewise.
11201 * manual/examples/subopt.c: Likewise.
11202 * manual/examples/swapcontext.c: Likewise.
11203 * manual/examples/termios.c: Likewise.
11204 * manual/examples/testopt.c: Likewise.
11205 * manual/examples/testpass.c: Likewise.
11206 * manual/examples/timeval_subtract.c: Likewise.
11209 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11211 * manual/timeval_subtract.c.texi: ... here, new file.
11213 2012-03-02 David S. Miller <davem@davemloft.net>
11215 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11217 2012-03-02 Joseph Myers <joseph@codesourcery.com>
11220 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11221 (__sin): Save and restore rounding mode and use round-to-nearest
11222 for all computations.
11223 (__cos): Save and restore rounding mode and use round-to-nearest
11224 for all computations.
11225 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11227 (tan): Save and restore rounding mode and use round-to-nearest for
11229 * math/libm-test.inc (cos_test_tonearest): New function.
11230 (cos_test_towardzero): Likewise.
11231 (cos_test_downward): Likewise.
11232 (cos_test_upward): Likewise.
11233 (sin_test_tonearest): Likewise.
11234 (sin_test_towardzero): Likewise.
11235 (sin_test_downward): Likewise.
11236 (sin_test_upward): Likewise.
11237 (tan_test_tonearest): Likewise.
11238 (tan_test_towardzero): Likewise.
11239 (tan_test_downward): Likewise.
11240 (tan_test_upward): Likewise.
11241 (main): Call the new functions.
11242 * sysdeps/i386/fpu/libm-test-ulps: Update.
11243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11246 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11247 small n, then large n, before computing and testing k+n.
11248 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11249 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11253 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11254 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11255 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11256 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11259 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11260 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11261 * math/libm-test.inc (scalbn_test): Add more tests.
11262 (scalbln_test): Likewise.
11264 * manual/filesys.texi (mode_t): Describe constraints on size and
11265 signedness, not exact equivalence to a particular type.
11267 (ino64_t): Likewise.
11269 (nlink_t): Likewise.
11270 (blkcnt_t): Likewise.
11271 (blkcnt64_t): Likewise.
11272 * manual/llio.texi (off_t): Likewise.
11275 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11276 (__ieee754_exp): Save and restore rounding mode and use
11277 round-to-nearest for all computations.
11278 * math/libm-test.inc (exp_test_tonearest): New function.
11279 (exp_test_towardzero): Likewise.
11280 (exp_test_downward): Likewise.
11281 (exp_test_upward): Likewise.
11282 (main): Call the new functions.
11283 * sysdeps/i386/fpu/libm-test-ulps: Update.
11284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11286 2012-03-01 Chris Demetriou <cgd@google.com>
11288 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11289 have predictable order.
11291 2012-03-01 David S. Miller <davem@davemloft.net>
11293 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11295 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11296 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11297 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11298 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11300 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11301 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11302 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11304 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11305 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11306 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11307 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11308 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11312 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11313 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11314 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11316 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11317 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11318 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11319 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11320 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11321 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11322 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11323 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11324 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11325 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11326 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11329 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11330 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11332 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11333 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11334 * sysdeps/sparc/elf/configure: Regenerated.
11336 2012-03-01 Joseph Myers <joseph@codesourcery.com>
11338 * configure.in (AS, LD): Require binutils 2.20 or later.
11339 * configure: Regenerated.
11340 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11341 as required minimum version.
11342 * INSTALL: Regenerated.
11346 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11347 before squaring exponent.
11348 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11349 bottom long double and 27 bits of top long double before squaring
11351 * math/libm-test.inc (erfc_test): Add more tests.
11352 * sysdeps/i386/fpu/libm-test-ulps: Update.
11353 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11356 2012-03-01 Kai Tietz <ktietz@redhat.com>
11358 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11359 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11360 containing bit-fields.
11361 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11362 * soft-fp/single.h (_FP_UNION_S): Likewise.
11363 * soft-fp/double.h (_FP_UNION_D): Likewise.
11365 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11368 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11369 not include ../strcmp.S.
11370 [USE_AS_STRNCASECMP_L]: Likewise.
11371 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11372 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11373 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11374 (__strncasecmp_l_ia32): Define as alias to
11375 __strncasecmp_l_nonascii.
11378 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11379 * sysdeps/i386/fpu/libm-test-ulps: Update.
11380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11382 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11385 2012-02-29 Jeff Law <law@redhat.com>
11387 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11388 out of bounds read.
11390 2012-02-29 Marek Polacek <polacek@redhat.com>
11393 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11394 * elf/Makefile: Add rules to run tst-unused-dep.out.
11396 2012-02-28 David S. Miller <davem@davemloft.net>
11398 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11399 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11400 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11401 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11402 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11403 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11405 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11407 * math/libm-test.inc (llround_test): Move one test from
11408 lround_test. Use TEST_f_L in moved test.
11409 (lround_test): Move misplaced test to llround_test. Add testcase
11412 2012-02-28 Ulrich Drepper <drepper@gmail.com>
11414 * sysdeps/x86_64/fpu/e_expf.S: New file.
11415 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11417 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11420 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11421 of remain_len that may cause incomplete multi-byte character and
11423 * posix/bug-regex33.c: New file.
11424 * posix/Makefile (tests): Add bug-regex33.
11426 2012-02-28 Joseph Myers <joseph@codesourcery.com>
11428 * manual/macros.texi: New file.
11429 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11430 * manual/libc.texinfo: Include macros.texi.
11431 * manual/creatute.texi: Likewise.
11432 * manual/install.texi: Likewise.
11433 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11434 @glibcadj{} in references to the GNU C Library.
11435 * manual/charset.texi: Likewise.
11436 * manual/conf.texi: Likewise.
11437 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11438 when not using those macros.
11439 * manual/creature.texi: Likewise.
11440 * manual/crypt.texi: Likewise.
11441 * manual/errno.texi: Likewise.
11442 * manual/filesys.texi: Likewise.
11443 * manual/header.texi: Likewise.
11444 * manual/install.texi: Likewise.
11445 * manual/intro.texi: Likewise.
11446 * manual/io.texi: Likewise.
11447 * manual/job.texi: Likewise.
11448 * manual/lang.texi: Likewise.
11449 * manual/libc.texiinfo: Likewise.
11450 * manual/llio.texi: Likewise.
11451 * manual/locale.texi: Likewise.
11452 * manual/maint.texi: Likewise.
11453 * manual/math.texi: Likewise.
11454 * manual/memory.texi: Likewise.
11455 * manual/message.texi: Likewise.
11456 * manual/nss.texi: Likewise.
11457 * manual/pattern.texi: Likewise.
11458 * manual/process.texi: Likewise.
11459 * manual/resource.texi: Likewise.
11460 * manual/search.texi: Likewise.
11461 * manual/setjmp.texi: Likewise.
11462 * manual/signal.texi: Likewise.
11463 * manual/socket.texi: Likewise.
11464 * manual/startup.texi: Likewise.
11465 * manual/stdio.texi: Likewise.
11466 * manual/string.texi: Likewise.
11467 * manual/sysinfo.texi: Likewise.
11468 * manual/syslog.texi: Likewise.
11469 * manual/terminal.texi: Likewise.
11470 * manual/time.texi: Likewise.
11471 * manual/users.texi: Likewise.
11472 * INSTALL: Regenerated.
11473 * NOTES: Regenerated.
11474 * sysdeps/gnu/errlist.c: Regenerated.
11476 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11478 * include/dirent.h: Include <dirstream.h> before
11481 2012-02-28 David S. Miller <davem@davemloft.net>
11483 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11484 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11485 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11486 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11488 2012-02-27 David S. Miller <davem@davemloft.net>
11490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11492 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11493 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11496 frame pointer instead of stack pointer relative arg slot.
11497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11498 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11499 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11501 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11504 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11506 2012-02-27 David S. Miller <davem@davemloft.net>
11508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11512 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11513 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11514 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11515 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11517 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11519 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11520 later. Allow versions 5-9.
11521 * configure: Regenerated.
11522 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11523 required minimum version and 4.6 as recommended version. Do not
11524 mention bugs in GCC 2.7 and 2.8.
11525 * INSTALL: Regenerated.
11527 2012-02-27 David S. Miller <davem@davemloft.net>
11529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11533 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11534 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11535 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11536 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11538 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11539 manipulate bits before adding and subtracting TWO112[sx].
11540 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11542 2012-02-27 Roland McGrath <roland@hack.frob.com>
11545 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11546 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11547 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11548 being in POSIX, because they are in 1003.1-2008.
11550 * rt/tst-aio.c: Include <fcntl.h>.
11551 * rt/tst-aio7.c: Likewise.
11552 * rt/tst-aio64.c: Likewise.
11554 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11556 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11558 * manual/install.texi (--with-headers): Describe headers as
11559 interface headers, not private headers.
11560 (Specific advice for GNU/Linux systems): Describe use of headers
11561 from "make headers_install", not private headers from older
11563 * INSTALL: Regenerated.
11564 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11566 * sysdeps/unix/sysv/linux/configure: Regenerated.
11568 * manual/llio.texi (fclean): Remove documentation.
11570 * manual/Makefile (libc-texi-generated): New variable. Include
11572 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11573 $(libc-texi-generated), not duplicated list of files.
11574 (version.texi, stamp-version): New rules.
11575 (realclean): Remove $(libc-texi-generated), not individual files
11576 from that list. Do not remove dir-add.texinfo.
11577 * manual/libc.texinfo: Comment out uses of edition numbers and
11578 references to printed manual. Remove last-updated dates.
11579 (EDITION): Comment out.
11581 (VERSION, UPDATED): Remove.
11582 (version.texi): Include.
11584 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11586 * sysdeps/posix/spawni.c: Include <signal.h>.
11587 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11588 * sysdeps/pthread/aio_fsync.c: Likewise.
11590 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11592 * conform/Makefile (tests): Run only when not cross-compiling and
11593 when fast-check is not defined.
11595 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11596 * conform/data/limits.h-data: Fixes for POSIX2008.
11597 * conform/run-conformtest.sh: Run all tests.
11598 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11600 * include/bits/dlfcn.h: Likewise.
11601 * include/langinfo.h: Likewise.
11602 * include/monetary.h: Likewise.
11603 * include/sys/poll.h: Likewise.
11605 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11607 * posix/spawn.h: Define __need_sigset_t.
11608 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11609 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11610 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11611 to get sigevent_t only.
11612 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11613 only for __USE_GNU.
11614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11615 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11616 process_vm_writev only for __USE_GNU.
11617 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11619 * conform/Makefile: For now ignore errors from run-conformtest.
11620 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11621 POSIX to avoid namespace pollution. Don't prepend headers.
11622 * conform/data/aio.h-data: Fixes for POSIX testing.
11623 * conform/data/fcntl.h-data: Likewise.
11624 * conform/data/glob.h-data: Likewise.
11625 * conform/data/grp.h-data: Likewise.
11626 * conform/data/pthread.h-data: Likewise.
11627 * conform/data/pwd.h-data: Likewise.
11628 * conform/data/signal.h-data: Likewise.
11629 * conform/data/spawn.h-data: Likewise.
11630 * conform/data/stdio.h-data: Likewise.
11631 * conform/data/stdlib.h-data: Likewise.
11632 * conform/data/stropts.h-data: Likewise.
11633 * conform/data/sys/mman.h-data: Likewise.
11634 * conform/data/sys/stat.h-data: Likewise.
11635 * conform/data/sys/types.h-data: Likewise.
11636 * conform/data/sys/wait.h-data: Likewise.
11637 * conform/data/time.h-data: Likewise.
11638 * conform/data/unistd.h-data: Likewise.
11639 * conform/data/utime.h-data: Likewise.
11641 * io/sys/stat.h: fchmod was always in POSIX.
11642 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11643 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11644 * rt/aio.h: Define __need_timespec before including <time.h>.
11645 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11646 struct. Add forward declaration of pthread_attr_t and use it in
11648 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11649 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11650 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11651 always remove CLK_TCK definition.
11653 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11655 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11657 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11659 * conform/run-conformtest.sh: New file.
11660 * conform/Makefile: Run run-conformtest for tests.
11661 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11664 * conform/data/uchar.h-data: New file.
11665 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11666 * conform/data/arpa/inet.h-data: Likewise.
11667 * conform/data/assert.h-data: Likewise.
11668 * conform/data/complex.h-data: Likewise.
11669 * conform/data/cpio.h-data: Likewise.
11670 * conform/data/ctype.h-data: Likewise.
11671 * conform/data/dirent.h-data: Likewise.
11672 * conform/data/dlfcn.h-data: Likewise.
11673 * conform/data/errno.h-data: Likewise.
11674 * conform/data/fcntl.h-data: Likewise.
11675 * conform/data/float.h-data: Likewise.
11676 * conform/data/fmtmsg.h-data: Likewise.
11677 * conform/data/fnmatch.h-data: Likewise.
11678 * conform/data/ftw.h-data: Likewise.
11679 * conform/data/glob.h-data: Likewise.
11680 * conform/data/grp.h-data: Likewise.
11681 * conform/data/iconv.h-data: Likewise.
11682 * conform/data/inttypes.h-data: Likewise.
11683 * conform/data/langinfo.h-data: Likewise.
11684 * conform/data/libgen.h-data: Likewise.
11685 * conform/data/limits.h-data: Likewise.
11686 * conform/data/locale.h-data: Likewise.
11687 * conform/data/math.h-data: Likewise.
11688 * conform/data/monetary.h-data: Likewise.
11689 * conform/data/mqueue.h-data: Likewise.
11690 * conform/data/ndbm.h-data: Likewise.
11691 * conform/data/net/if.h-data: Likewise.
11692 * conform/data/netdb.h-data: Likewise.
11693 * conform/data/netinet/in.h-data: Likewise.
11694 * conform/data/nl_types.h-data: Likewise.
11695 * conform/data/poll.h-data: Likewise.
11696 * conform/data/pthread.h-data: Likewise.
11697 * conform/data/pwd.h-data: Likewise.
11698 * conform/data/regex.h-data: Likewise.
11699 * conform/data/sched.h-data: Likewise.
11700 * conform/data/search.h-data: Likewise.
11701 * conform/data/semaphore.h-data: Likewise.
11702 * conform/data/setjmp.h-data: Likewise.
11703 * conform/data/signal.h-data: Likewise.
11704 * conform/data/spawn.h-data: Likewise.
11705 * conform/data/stdarg.h-data: Likewise.
11706 * conform/data/stdio.h-data: Likewise.
11707 * conform/data/stdlib.h-data: Likewise.
11708 * conform/data/string.h-data: Likewise.
11709 * conform/data/strings.h-data: Likewise.
11710 * conform/data/stropts.h-data: Likewise.
11711 * conform/data/sys/ipc.h-data: Likewise.
11712 * conform/data/sys/mman.h-data: Likewise.
11713 * conform/data/sys/msg.h-data: Likewise.
11714 * conform/data/sys/resource.h-data: Likewise.
11715 * conform/data/sys/select.h-data: Likewise.
11716 * conform/data/sys/sem.h-data: Likewise.
11717 * conform/data/sys/shm.h-data: Likewise.
11718 * conform/data/sys/socket.h-data: Likewise.
11719 * conform/data/sys/stat.h-data: Likewise.
11720 * conform/data/sys/statvfs.h-data: Likewise.
11721 * conform/data/sys/time.h-data: Likewise.
11722 * conform/data/sys/timeb.h-data: Likewise.
11723 * conform/data/sys/times.h-data: Likewise.
11724 * conform/data/sys/types.h-data: Likewise.
11725 * conform/data/sys/uio.h-data: Likewise.
11726 * conform/data/sys/un.h-data: Likewise.
11727 * conform/data/sys/utsname.h-data: Likewise.
11728 * conform/data/sys/wait.h-data: Likewise.
11729 * conform/data/syslog.h-data: Likewise.
11730 * conform/data/tar.h-data: Likewise.
11731 * conform/data/termios.h-data: Likewise.
11732 * conform/data/utime.h-data: Likewise.
11733 * conform/data/utmpx.h-data: Likewise.
11734 * conform/data/varargs.h-data: Likewise.
11735 * conform/data/wchar.h-data: Likewise.
11736 * conform/data/wctype.h-data: Likewise.
11737 * conform/data/wordexp.h-data: Likewise.
11739 * include/stropts.h: New file.
11740 * include/uchar.h: New file.
11741 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11742 * include/assert.h: Likewise.
11743 * include/ctype.h: Likewise.
11744 * include/dirent.h: Likewise.
11745 * include/dlfcn.h: Likewise.
11746 * include/fcntl.h: Likewise.
11747 * include/fnmatch.h: Likewise.
11748 * include/glob.h: Likewise.
11749 * include/grp.h: Likewise.
11750 * include/libio.h: Likewise.
11751 * include/locale.h: Likewise.
11752 * include/math.h: Likewise.
11753 * include/net/if.h: Likewise.
11754 * include/netdb.h: Likewise.
11755 * include/netinet/in.h: Likewise.
11756 * include/pthread.h: Likewise.
11757 * include/pwd.h: Likewise.
11758 * include/regex.h: Likewise.
11759 * include/sched.h: Likewise.
11760 * include/search.h: Likewise.
11761 * include/setjmp.h: Likewise.
11762 * include/signal.h: Likewise.
11763 * include/stdio.h: Likewise.
11764 * include/stdlib.h: Likewise.
11765 * include/string.h: Likewise.
11766 * include/sys/cdefs.h: Likewise.
11767 * include/sys/mman.h: Likewise.
11768 * include/sys/msg.h: Likewise.
11769 * include/sys/resource.h: Likewise.
11770 * include/sys/select.h: Likewise.
11771 * include/sys/socket.h: Likewise.
11772 * include/sys/stat.h: Likewise.
11773 * include/sys/statvfs.h: Likewise.
11774 * include/sys/time.h: Likewise.
11775 * include/sys/times.h: Likewise.
11776 * include/sys/uio.h: Likewise.
11777 * include/sys/utsname.h: Likewise.
11778 * include/sys/wait.h: Likewise.
11779 * include/termios.h: Likewise.
11780 * include/time.h: Likewise.
11781 * include/ulimit.h: Likewise.
11782 * include/unistd.h: Likewise.
11783 * include/utime.h: Likewise.
11784 * include/wchar.h: Likewise.
11785 * include/wctype.h: Likewise.
11786 * include/wordexp.h: Likewise.
11788 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11790 * time/time.h: TIME_UTC must be a macro.
11791 Make timespec_get available for ISO C11 only as well.
11793 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11795 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11796 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11798 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11800 * configure.in: Use -o not -a in test for unsupported multi-arch.
11802 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11804 * manual/texinfo.tex: Update to version 2012-01-19.16.
11806 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11808 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11810 2012-02-24 Roland McGrath <roland@hack.frob.com>
11813 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11814 * manual/fdl-1.3.texi: New file.
11815 * manual/fdl-1.1.texi: File removed.
11818 * manual/libc.texinfo (FDL_VERSION): New @set.
11819 Use it for mention of FDL in cover text.
11820 (Documentation License): Use it in @include file name.
11822 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11823 Roland McGrath <roland@hack.frob.com>
11826 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11827 not LONG_LONG_MAX and LONG_LONG_MIN.
11828 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11829 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11831 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11833 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11837 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11838 manipulate bits before adding and subtracting TWO23[sx].
11839 * math/libm-test.inc (nearbyint_test): Add more tests.
11841 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11844 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11845 bits before adding and subtracting TWO23[sx].
11846 * math/libm-test.inc (rint_test): Add more tests.
11847 (rint_test_tonearest): Likewise.
11848 (rint_test_towardzero): Likewise.
11849 (rint_test_downward): Likewise.
11850 (rint_test_upward: Likewise.
11852 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11855 * include/stdc-predef.h: New file. Extracted from features.h.
11856 * include/features.h: Include stdc-predef.h.
11857 * Makefile (headers): Add stdc-predef.h.
11858 * CONFORMANCE (Compiler limitations): Update.
11860 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11862 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11864 2012-02-21 David S. Miller <davem@davemloft.net>
11866 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11867 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11869 2012-02-20 David S. Miller <davem@davemloft.net>
11871 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11872 using a normal save/restore sequence, rather than allocating a
11873 dummy stack frame just to store a frame pointer and restore.
11874 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11876 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11878 * manual/install.texi: Fix stray word in line-wrapped comment.
11880 2012-02-20 David S. Miller <davem@davemloft.net>
11882 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11883 both binutils and gcc support GOTDATA.
11885 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11886 "rd %pc" in the PIC register setup sequences.
11888 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11889 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11890 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11891 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11892 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11895 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11897 (SYSCALL_ERROR_HANDLER): Likewise.
11898 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11899 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11901 (SYSCALL_ERROR_HANDLER): Likewise.
11903 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11904 (HAVE_GCC_GOTDATA): New.
11905 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11906 relocation support in both binutils and gcc.
11907 * sysdeps/sparc/elf/configure: Regenerate.
11909 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11910 * sysdeps/sparc/sparc32/elf/configure: Delete.
11911 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11912 * sysdeps/sparc/sparc64/elf/configure: Delete.
11913 * sysdeps/sparc/elf/configure.in: New file.
11914 * sysdeps/sparc/elf/configure: Generate.
11916 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11917 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11918 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11919 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11920 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11922 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11924 * manual/install.texi: Do not mention specific glibc version
11926 * manual/libc.texinfo (VERSION, UPDATED): Update.
11927 (@copying): Use @copyright{} and range of years.
11929 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11932 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11933 [crti.S not in sysdirs] (generated): Do not append.
11934 [crti.S not in sysdirs] (omit-deps): Likewise.
11935 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11936 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11937 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11938 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11939 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11941 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11942 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11943 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11944 * csu/defs.awk: Remove file.
11945 * sysdeps/generic/initfini.c: Likewise.
11946 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11948 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11951 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11953 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11954 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11955 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11956 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11957 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11958 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11960 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11961 (__EPOLL_PACKED): Define to empty if not defined by
11963 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11967 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11969 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11970 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11971 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11972 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11974 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11978 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11980 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11982 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11983 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11984 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11987 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11989 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11990 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11992 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11994 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11995 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11997 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11999 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12002 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12004 * math/w_acos.c: Use non-signaling floating-point comparisons.
12005 * math/w_acosf.c: Likewise.
12006 * math/w_acosh.c: Likewise.
12007 * math/w_acoshf.c: Likewise.
12008 * math/w_acoshl.c: Likewise.
12009 * math/w_acosl.c: Likewise.
12010 * math/w_asin.c: Likewise.
12011 * math/w_asinf.c: Likewise.
12012 * math/w_asinl.c: Likewise.
12013 * math/w_atanh.c: Likewise.
12014 * math/w_atanhf.c: Likewise.
12015 * math/w_atanhl.c: Likewise.
12016 * math/w_exp2.c: Likewise.
12017 * math/w_exp2f.c: Likewise.
12018 * math/w_exp2l.c: Likewise.
12019 * math/w_j0.c: Likewise.
12020 * math/w_j0f.c: Likewise.
12021 * math/w_j0l.c: Likewise.
12022 * math/w_j1.c: Likewise.
12023 * math/w_j1f.c: Likewise.
12024 * math/w_j1l.c: Likewise.
12025 * math/w_jn.c: Likewise.
12026 * math/w_jnf.c: Likewise.
12027 * math/w_log.c: Likewise.
12028 * math/w_log10.c: Likewise.
12029 * math/w_log10f.c: Likewise.
12030 * math/w_log10l.c: Likewise.
12031 * math/w_log2.c: Likewise.
12032 * math/w_log2f.c: Likewise.
12033 * math/w_log2l.c: Likewise.
12034 * math/w_logf.c: Likewise.
12035 * math/w_logl.c: Likewise.
12036 * math/w_sqrt.c: Likewise.
12037 * math/w_sqrtf.c: Likewise.
12038 * math/w_sqrtl.c: Likewise.
12039 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12040 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12041 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12042 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12043 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12045 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12048 * manual/string.texi (strnlen): Use correct parameter name in
12049 equivalent expression.
12051 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12054 * manual/users.texi (seteuid): Consistently use neweuid for
12057 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12060 * manual/nss.texi (Services in the NSS configuration): Correct
12061 list of services in example configuration file.
12063 2012-02-19 Nick Bowler <nbowler@draconx.ca>
12066 * manual/arith.texi: Remove statements about negative zero
12067 behaving identically to zero.
12069 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12072 * manual/install.texi: Do not document upgrading from libc5.
12074 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12077 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12079 2012-02-18 David S. Miller <davem@davemloft.net>
12081 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12082 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12083 %o7 across the call.
12084 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12087 SETUP_PIC_REG_LEAF.
12088 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12089 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12090 * sysdeps/sparc/crtn.S: Likewise.
12092 2012-02-17 Ulrich Drepper <drepper@gmail.com>
12094 * aout/Makefile: Remove.
12096 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12099 * manual/examples/argp-ex1.c (main): Format definition in GNU
12101 * manual/examples/argp-ex2.c (main): Likewise.
12102 * manual/examples/argp-ex3.c (main): Likewise.
12103 * manual/examples/argp-ex4.c (main): Likewise.
12104 * manual/examples/longopt.c (main): Use new-style prototype
12106 * manual/examples/strncat.c (main): Specify return type and use
12107 (void) for arguments.
12108 * manual/examples/subopt.c (main): Use char **argv argument.
12110 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12113 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12116 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12119 * manual/string.texi (strchr): Change when strchrnul is
12122 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12125 * manual/locale.texi (setlocale): Document LOCPATH.
12127 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12130 * manual/process.texi (execle): Move @dots{} before last argument.
12132 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
12135 * manual/charset.texi (Generic Charset Conversion): Fix typo
12136 (LC_TYPE -> LC_CTYPE).
12138 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12141 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12142 (scalbnf): Likewise.
12143 (scalbnl): Likewise.
12144 (scalbln): Likewise.
12145 (scalblnf): Likewise.
12146 (scalblnl): Likewise.
12147 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12148 (vwarnx): Likewise.
12151 * manual/filesys.texi (telldir): Use braces around return type.
12152 * manual/llio.texi (mmap): Add space after comma.
12153 (mmap64): Likewise.
12154 * manual/math.texi (jn): Use @var{} on parameter names.
12160 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12162 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12164 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12165 (sched_get_priority_max): Likewise.
12166 * manual/signal.texi (sigvec): Add space after comma.
12167 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12169 (if_indextoname): Likewise.
12170 (if_freenameindex): Likewise.
12171 (sendto): Use ',' instead of '.' in prototype.
12172 * manual/startup.texi (syscall): Use @dots{} instead of literal
12174 * manual/stdio.texi (__fpending): Separate initial words of
12175 paragraph from @deftypefun line.
12176 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12178 (vsyslog): Use @var{} on parameter names.
12179 * manual/terminal.texi (stty): Use @var{} on parameter names.
12180 * manual/users.texi (getutmp): Use @var{} on parameter names.
12181 (getutmpx): Likewise.
12183 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12186 * manual/stdio.texi (fopen): Fix typos in description of
12189 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12192 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12193 get clock_id definition.
12195 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
12198 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12199 (madvise): Cast every argument to void on its own.
12201 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12204 * manual/startup.texi (Exit Status): Fix typo.
12206 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12209 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12210 * manual/examples/argp-ex2.c: Likewise.
12211 * manual/examples/argp-ex3.c: Likewise.
12213 2012-02-16 Richard Henderson <rth@redhat.com>
12215 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12216 * sysdeps/s390/s390-32/initfini.c: Remove.
12217 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12218 * sysdeps/s390/s390-64/initfini.c: Remove.
12220 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12222 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12223 compiler output for sysdeps/generic/initfini.c.
12224 * sysdeps/sh/elf/initfini.c: Remove file.
12226 2012-02-16 David S. Miller <davem@davemloft.net>
12229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12231 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12232 * sysdeps/sparc/crti.S: New file.
12233 * sysdeps/sparc/crtn.S: New file.
12234 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12235 * sysdeps/sparc/sparc64/Makefile: Likewise.
12237 2012-02-15 Mike Frysinger <vapier@gentoo.org>
12240 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12242 2012-02-15 Roland McGrath <roland@hack.frob.com>
12245 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12247 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12248 (write, read, close): Likewise.
12249 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12251 2012-02-15 Joseph Myers <joseph@codesourcery.com>
12253 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12254 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12255 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12256 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12258 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12262 2012-02-14 Marek Polacek <polacek@redhat.com>
12264 * sysdeps/x86_64/crti.S: New file.
12265 * sysdeps/x86_64/crtn.S: New file.
12266 * sysdeps/x86_64/elf/initfini.c: Remove file.
12268 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12270 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12271 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12272 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12273 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12275 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12279 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12281 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12282 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12283 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12284 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12286 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12290 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12292 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12293 __feraiseexcept instead of feraiseexcept.
12295 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12296 nanosleep invocations.
12297 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12298 strings, and add error checking for a nanosleep invocations.
12300 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12302 Replace FSF snail mail address with URLs, as per GNU coding standards.
12303 Most of the snail mail addresses were wrong anyway, and omitting
12304 them makes the source code easier to maintain. Almost all of the
12305 changes are to license notices and to locale LC_IDENTIFICATION
12306 addresses, except for this one:
12307 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12308 not its snail mail address.
12310 2012-02-09 Richard Henderson <rth@twiddle.net>
12312 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12313 of kernel-features.h.
12315 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12317 2012-02-08 Marek Polacek <polacek@redhat.com>
12319 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12320 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12321 * sysdeps/gnu/_G_config.h: Likewise.
12322 * sysdeps/generic/_G_config.h: Likewise.
12324 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12326 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12330 * sysdeps/powerpc/powerpc32/crti.S: New file.
12331 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12332 * sysdeps/powerpc/powerpc64/crti.S: New file.
12333 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12335 * Makeconfig (have-initfini): Don't set.
12336 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12337 * configure.in (nopic_initfini): Don't substitute.
12338 * config.h.in (HAVE_INITFINI): Don't #undef.
12339 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12340 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12342 2012-02-08 Joseph Myers <joseph@codesourcery.com>
12344 Support crti.S and crtn.S provided directly by architectures.
12345 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12346 [crti.S in sysdirs] (omit-deps): Likewise.
12347 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12348 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12349 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12350 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12351 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12352 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12353 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12354 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12355 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12356 compiler output for sysdeps/generic/initfini.c.
12357 * sysdeps/i386/elf/Makefile: Remove file.
12358 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12360 2012-02-07 Marek Polacek <polacek@redhat.com>
12362 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12363 * sysdeps/gnu/_G_config.h: Likewise.
12364 * sysdeps/mach/hurd/_G_config.h: Likewise.
12366 2012-02-07 Marek Polacek <polacek@redhat.com>
12368 * math/Makefile (tests): Add tst-CMPLX2.
12369 * math/tst-CMPLX2.c: New file.
12371 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12373 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12375 * math/libm-test.inc (jn_test): Add missing L suffix.
12377 2012-02-06 Marek Polacek <polacek@redhat.com>
12379 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12380 * sysdeps/i386/fpu/e_powf.S: Likewise.
12381 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12382 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12383 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12384 * sysdeps/i386/fpu/e_pow.S: Likewise.
12385 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12386 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12387 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12388 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12389 * sysdeps/i386/fpu/e_log2.S: Likewise.
12390 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12391 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12392 * sysdeps/i386/fpu/e_powl.S: Likewise.
12393 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12394 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12395 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12396 * sysdeps/i386/fpu/e_logl.S: Likewise.
12397 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12398 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12399 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12400 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12401 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12402 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12403 * sysdeps/i386/fpu/e_log.S: Likewise.
12404 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12405 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12406 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12407 * sysdeps/i386/fpu/e_logf.S: Likewise.
12408 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12409 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12410 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12411 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12412 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12413 * sysdeps/i386/fpu/e_log10.S: Likewise.
12414 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12415 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12416 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12417 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12418 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12419 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12420 * sysdeps/i386/asm-syntax.h: Likewise.
12421 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12422 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12423 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12424 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12425 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12426 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12427 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12428 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12429 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12430 * sysdeps/powerpc/sysdep.h: Likewise.
12431 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12432 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12434 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12437 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12439 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12441 * sysdeps/i386/sysdep.h: Include <features.h>.
12442 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12445 2012-02-05 Joseph Myers <joseph@codesourcery.com>
12447 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12449 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12452 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12454 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12455 (SETUP_PIC_REG): Use GET_PC_THUNK.
12456 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12459 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12461 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12462 for non-PIC compilation.
12463 (SETUP_PIC_REG): Add .p2align directive.
12464 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12465 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12466 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12467 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12468 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12469 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12470 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12471 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12472 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12473 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12474 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12475 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12476 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12477 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12478 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12479 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12480 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12481 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12482 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12483 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12484 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12485 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12486 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12487 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12488 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12490 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12491 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12492 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12493 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12494 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12495 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12496 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12497 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12498 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12499 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12500 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12501 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12502 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12503 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12504 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12506 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12508 * math/tst-CMPLX.c: Include <stdio.h>.
12510 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12512 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12514 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12515 * sysdeps/sparc/bits/mathdef.h: Likewise.
12517 2012-01-31 Marek Polacek <polacek@redhat.com>
12519 * libio/libio.h: Don't define _PARAMS.
12520 * locale/programs/config.h: Don't define PARAMS.
12521 * stdlib/strtol_l.c: Likewise.
12522 (__strtol_l): Remove PARAMS from the prototype.
12524 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12526 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12527 names. Just use the correct names. Remove unnecessary wrapper
12529 * malloc/arena.c: Likewise.
12530 * malloc/hooks.c: Likewise.
12532 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12533 ARENA_TEST says not to. Simplify test for creation of a new arena.
12534 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12536 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12538 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12540 (update_get_addr): New function.
12541 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12542 GET_ADDR_MODULE parameter.
12544 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12546 * crypt/cert.c: Remove __STDC__ conditionals.
12547 * crypt/crypt-entry.c: Likewise.
12548 * crypt/crypt_util.c: Likewise.
12549 * libio/filedoalloc.c: Likewise.
12550 * libio/fileops.c: Likewise.
12551 * libio/genops.c: Likewise.
12552 * libio/iofclose.c: Likewise.
12553 * libio/iofdopen.c: Likewise.
12554 * libio/iofopen.c: Likewise.
12555 * libio/iofopen64.c: Likewise.
12556 * libio/iogetdelim.c: Likewise.
12557 * libio/iopopen.c: Likewise.
12558 * libio/obprintf.c: Likewise.
12559 * libio/oldfileops.c: Likewise.
12560 * libio/oldiofclose.c: Likewise.
12561 * libio/oldiofdopen.c: Likewise.
12562 * libio/oldiofopen.c: Likewise.
12563 * libio/oldiopopen.c: Likewise.
12564 * libio/wfiledoalloc.c: Likewise.
12565 * libio/wgenops.c: Likewise.
12566 * locale/programs/xmalloc.c: Likewise.
12567 * misc/syslog.c: Likewise.
12568 * stdio-common/xbug.c: Likewise.
12569 * string/memchr.c: Likewise.
12570 * string/memcmp.c: Likewise.
12571 * string/memrchr.c: Likewise.
12572 * string/rawmemchr.c: Likewise.
12573 * sysdeps/posix/getcwd.c: Likewise.
12574 * time/strftime_l.c: Likewise.
12576 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12578 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12579 * config.make.in (config-cflags-sse2avx): Define.
12580 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12583 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12585 * scripts/config.guess: Update from upstream config git repository.
12586 * scripts/config.sub: Likewise.
12588 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12590 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12592 (R_TILEPRO_*, R_TILEGX_*): New macros.
12594 * scripts/firstversions.awk: Fix bug in version range handling.
12596 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12598 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12600 * include/sys/epoll.h: New file.
12601 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12604 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12606 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12607 Avoid unnecessary __WORDSIZE == 64 test.
12608 (fmaxf): Use VEX format if possible.
12613 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12614 * math/math_private.h: Remove libc_fegetround* and
12616 * sysdeps/i386/configure.in: Check for -msse2avx.
12617 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12618 also if SSE2AVX is defined.
12619 Remove libc_fegetround* and libc_fesetround*.
12620 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12621 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12622 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12625 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12626 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12627 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12628 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12630 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12632 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12634 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12636 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12638 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12641 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12643 * Makeconfig (libm): Define.
12644 * elf/Makefile: Add rules to build and run tst-relsort1.
12645 * elf/tst-relsort1.c: New file.
12646 * elf/tst-relsort1mod1.c: New file.
12647 * elf/tst-relsort1mod2.c: New file.
12649 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12651 * math/s_ldexp.c: Remove __STDC__ conditionals.
12652 * math/s_ldexpf.c: Likewise.
12653 * math/s_ldexpl.c: Likewise.
12654 * math/s_nextafter.c: Likewise.
12655 * math/s_nexttowardf.c: Likewise.
12656 * math/s_significand.c: Likewise.
12657 * math/s_significandf.c: Likewise.
12658 * math/s_significandl.c: Likewise.
12659 * math/w_jnl.c: Likewise.
12660 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12661 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12662 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12663 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12664 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12665 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12666 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12667 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12668 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12669 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12670 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12671 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12672 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12673 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12674 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12675 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12676 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12677 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12679 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12680 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12681 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12682 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12683 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12684 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12685 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12686 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12687 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12688 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12689 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12690 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12691 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12692 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12693 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12694 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12695 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12696 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12697 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12698 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12699 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12700 * sysdeps/ieee754/k_standard.c: Likewise.
12701 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12702 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12703 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12704 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12705 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12706 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12707 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12708 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12709 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12710 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12711 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12712 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12713 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12714 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12715 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12716 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12717 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12718 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12719 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12720 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12722 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12723 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12724 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12725 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12726 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12727 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12728 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12729 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12730 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12731 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12732 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12733 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12734 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12736 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12737 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12738 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12739 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12740 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12741 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12742 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12747 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12748 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12749 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12750 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12751 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12752 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12753 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12754 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12755 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12756 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12757 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12758 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12759 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12760 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12761 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12762 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12763 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12764 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12765 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12766 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12767 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12768 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12769 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12770 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12771 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12772 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12773 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12774 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12775 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12776 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12777 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12778 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12779 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12780 * sysdeps/ieee754/s_matherr.c: Likewise.
12781 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12782 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12783 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12786 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12788 * crypt/md5.h: Remove __STDC__ conditionals.
12789 * libio/libioP.h: Likewise.
12790 * locale/programs/config.h: Likewise.
12791 * sysdeps/generic/sysdep.h: Likewise.
12792 * sysdeps/i386/asm-syntax.h: Likewise.
12793 * sysdeps/s390/asm-syntax.h: Likewise.
12794 * sysdeps/unix/sysdep.h: Likewise.
12795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12798 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12800 * libio/libio.h: Remove __STDC__ conditionals.
12801 * malloc/obstack.h: Likewise.
12802 * math/complex.h: Likewise.
12803 * math/math.h: Likewise.
12804 * sysdeps/generic/_G_config.h: Likewise.
12805 * sysdeps/gnu/_G_config.h: Likewise.
12806 * sysdeps/mach/hurd/_G_config.h: Likewise.
12807 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12808 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12809 * sysdeps/sparc/bits/mathdef.h: Likewise.
12811 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12814 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12815 Clean up HAS_* macros.
12816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12817 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12819 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12821 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12822 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12823 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12824 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12825 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12827 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12829 * elf/tst-unique3.cc (gets): Remove declaration.
12830 * elf/tst-unique3lib.cc (gets): Likewise.
12831 * elf/tst-unique3lib2.cc (gets): Likewise.
12832 * elf/tst-unique4.cc (gets): Likewise.
12834 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12836 * include/stdio.h: Add C++ protection. Add gets declarations and
12838 * debug/tst-chk1.c: Don't declare gets here.
12839 * stdio-common/tst-gets.c: Likewise.
12841 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12843 * posix/glob: Remove directory.
12845 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12847 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12849 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12851 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12852 of the non-standard EPFNOSUPPORT.
12854 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12856 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12857 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12858 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12860 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12862 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12864 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12866 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12868 * nscd/grpcache.c (cache_addgr): Likewise.
12869 * nscd/hstcache.c (cache_addhst): Likewise.
12870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12871 * nscd/pwdcache.c (cache_addpw): Likewise.
12872 * nscd/servicescache.c (cache_addserv): Likewise.
12874 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12876 * malloc/malloc.c: Various cleanups.
12877 * malloc/hooks.c: Likewise.
12879 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12880 * stdlib/bug-fmtmsg1.c: New file.
12882 * stdlib/fmtmsg.c (init): Add missing unlock.
12883 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12885 2012-01-12 Marek Polacek <polacek@redhat.com>
12887 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12890 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12892 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12893 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12894 macro to ensure uniqueness of label name.
12895 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12896 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12898 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12900 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12902 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12903 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12904 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12907 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12909 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12911 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12912 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12913 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12915 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12917 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12918 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12919 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12920 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12922 * math/bits/math-finite.h: Add ldexp support.
12924 2012-01-10 Marek Polacek <polacek@redhat.com>
12926 * locale/programs/localedef.h (show_archive_content): Add noreturn
12929 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12931 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12933 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12935 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12937 * io/Makefile (headers): Add bits/poll2.h.
12939 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12942 typo #include statement.
12944 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12946 * include/sys/cdefs.h: Define __attribute_alloc_size.
12947 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12948 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12949 * elf/pldd.c: Likewise.
12950 * iconv/iconv_charmap.c: Likewise.
12951 * iconv/iconvconfig.c: Likewise.
12952 * iconv/strtab.c: Likewise.
12953 * locale/programs/locale.c: Likewise.
12954 * locale/programs/localedef.h: Likewise.
12955 * locale/programs/simple-hash.c: Likewise.
12956 * nscd/nscd.h: Likewise.
12957 * nss/makedb.c: Likewise.
12958 * sysdeps/generic/ldconfig.h: Likewise.
12959 * locale/programs/localedef.c: Remove xmalloc prototype.
12960 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12962 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12964 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12967 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12969 * math/Makefile (tests): Add tst-CMPLX.
12970 * math/tst-CMPLX.c: New file.
12972 * math/complex.h (CMPLXL): Fix typo.
12974 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12975 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12977 * debug/tst-chk1.c: Add poll and ppoll tests.
12978 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12979 * include/sys/poll.h: Add hidden proto for ppoll.
12980 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12981 * sysdeps/mach/hurd/ppoll.c: Likewise.
12982 * io/ppoll.c: Likewise.
12983 * debug/poll_chk.c: New file.
12984 * debug/ppoll_chk.c: New file.
12985 * include/bits/poll2.h: New file.
12986 * io/bits/poll2.h: New file.
12989 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12991 * configure.in: static is always set to yes. Remove.
12992 * config.make.in: Don't set build-static.
12993 * Makeconfig: Remove use of build-static.
12994 * dlfcn/Makefile: Likewise.
12995 * elf/Makefile: Likewise.
12996 * math/Makefile: Likewise.
12997 * misc/Makefile: Likewise.
12998 * nptl/Makefile: Likewise.
12999 * sysdeps/mach/hurd/Makefile: Likewise.
13001 * configure.in: PWD_P is not used anymore.
13002 * config.make.in: Remove PWD_P entry.
13004 * configure.in: Remove last remnants of RANLIB.
13005 No need to check for signed size_t anymore.
13006 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13008 Remove __builtin_expect test because we require at least gcc 3.4.
13009 * aclocal.m4: Likewise.
13011 * wcsmbs/mbrtoc16.c: Implement using towc function.
13012 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13013 * wcsmbs/wcsmbsload.c: Likewise.
13014 * iconv/gconv_simple.c: Likewise.
13015 * iconv/gconv_int.h: Likewise.
13016 * iconv/gconv_builtin.h: Likewise.
13017 * iconv/iconv_prog.c: Remove CHAR16 handling.
13019 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13021 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13023 * configure.in: Remove --with-elf and --enable-bounded options.
13024 Dont set base_machine for ia64. More non-ELF conditions removed.
13025 Remove testing and setting of leading underscore information.
13026 * config.make.in (build-bounded): Set to no.
13027 * config.h.in: Remove NO_UNDERSCORES entry.
13028 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13030 * csu/start.c: Remove !NO_UNDERSCORE code.
13031 * locale/localeinfo.h: Likewise.
13032 * sysdeps/generic/machine-gmon.h: Likewise.
13033 * sysdeps/generic/sysdep.h: Likewise.
13034 * sysdeps/i386/sysdep.h: Likewise.
13035 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13036 * sysdeps/mach/sysdep.h: Likewise.
13037 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13038 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13039 * sysdeps/sh/sysdep.h: Likewise.
13040 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13041 * sysdeps/unix/i386/sysdep.S: Likewise.
13042 * sysdeps/unix/sparc/start.c: Likewise.
13043 * sysdeps/unix/sparc/sysdep.S: Likewise.
13044 * sysdeps/unix/sparc/sysdep.h: Likewise.
13045 * sysdeps/unix/start.c: Likewise.
13046 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13047 * sysdeps/x86_64/sysdep.h: Likewise.
13049 2012-01-07 Ulrich Drepper <drepper@gmail.com>
13052 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13054 * argp/argp-fmtstream.h: Use const instead __const.
13055 * argp/argp.h: Likewise.
13056 * assert/assert.h: Likewise.
13057 * bits/fenv.h: Likewise.
13058 * bits/sched.h: Likewise.
13059 * bits/sigset.h: Likewise.
13060 * bits/sigthread.h: Likewise.
13061 * catgets/nl_types.h: Likewise.
13062 * conform/data/pthread.h-data: Likewise.
13063 * crypt/crypt-private.h: Likewise.
13064 * crypt/crypt.h: Likewise.
13065 * crypt/crypt_util.c: Likewise.
13066 * ctype/ctype.h: Likewise.
13067 * debug/execinfo.h: Likewise.
13068 * debug/mbsnrtowcs_chk.c: Likewise.
13069 * debug/mbsrtowcs_chk.c: Likewise.
13070 * debug/wcsnrtombs_chk.c: Likewise.
13071 * debug/wcsrtombs_chk.c: Likewise.
13072 * debug/wcstombs_chk.c: Likewise.
13073 * dirent/dirent.h: Likewise.
13074 * dlfcn/dlfcn.h: Likewise.
13075 * elf/neededtest4.c: Likewise.
13076 * grp/grp.h: Likewise.
13077 * gshadow/gshadow.h: Likewise.
13078 * iconv/gconv.h: Likewise.
13079 * iconv/gconv_int.h: Likewise.
13080 * iconv/gconv_simple.c: Likewise.
13081 * iconv/iconv.h: Likewise.
13082 * iconv/loop.c: Likewise.
13083 * iconv/skeleton.c: Likewise.
13084 * include/aio.h: Likewise.
13085 * include/aliases.h: Likewise.
13086 * include/argz.h: Likewise.
13087 * include/arpa/inet.h: Likewise.
13088 * include/assert.h: Likewise.
13089 * include/dirent.h: Likewise.
13090 * include/dlfcn.h: Likewise.
13091 * include/execinfo.h: Likewise.
13092 * include/fcntl.h: Likewise.
13093 * include/fenv.h: Likewise.
13094 * include/glob.h: Likewise.
13095 * include/grp.h: Likewise.
13096 * include/libintl.h: Likewise.
13097 * include/mntent.h: Likewise.
13098 * include/netdb.h: Likewise.
13099 * include/pwd.h: Likewise.
13100 * include/rpc/netdb.h: Likewise.
13101 * include/sched.h: Likewise.
13102 * include/search.h: Likewise.
13103 * include/shadow.h: Likewise.
13104 * include/signal.h: Likewise.
13105 * include/stdio.h: Likewise.
13106 * include/stdlib.h: Likewise.
13107 * include/string.h: Likewise.
13108 * include/sys/socket.h: Likewise.
13109 * include/sys/stat.h: Likewise.
13110 * include/sys/statfs.h: Likewise.
13111 * include/sys/statvfs.h: Likewise.
13112 * include/sys/syslog.h: Likewise.
13113 * include/sys/time.h: Likewise.
13114 * include/sys/uio.h: Likewise.
13115 * include/time.h: Likewise.
13116 * include/unistd.h: Likewise.
13117 * include/utmp.h: Likewise.
13118 * include/wchar.h: Likewise.
13119 * include/wctype.h: Likewise.
13120 * inet/aliases.h: Likewise.
13121 * inet/arpa/inet.h: Likewise.
13122 * inet/netinet/ether.h: Likewise.
13123 * inet/netinet/in.h: Likewise.
13124 * intl/libintl.h: Likewise.
13125 * io/bits/fcntl2.h: Likewise.
13126 * io/fcntl.h: Likewise.
13127 * io/ftw.h: Likewise.
13128 * io/sys/poll.h: Likewise.
13129 * io/sys/stat.h: Likewise.
13130 * io/sys/statfs.h: Likewise.
13131 * io/sys/statvfs.h: Likewise.
13132 * io/utime.h: Likewise.
13133 * libio/bits/stdio.h: Likewise.
13134 * libio/bits/stdio2.h: Likewise.
13135 * libio/libio.h: Likewise.
13136 * libio/libioP.h: Likewise.
13137 * libio/stdio.h: Likewise.
13138 * locale/lc-ctype.c: Likewise.
13139 * locale/locale.h: Likewise.
13140 * login/utmp.h: Likewise.
13141 * malloc/arena.c: Likewise.
13142 * malloc/malloc.c: Likewise.
13143 * malloc/malloc.h: Likewise.
13144 * malloc/mcheck.c: Likewise.
13145 * malloc/mtrace.c: Likewise.
13146 * math/bits/mathcalls.h: Likewise.
13147 * math/fenv.h: Likewise.
13148 * math/math_private.h: Likewise.
13149 * misc/bits/error.h: Likewise.
13150 * misc/bits/syslog.h: Likewise.
13151 * misc/err.h: Likewise.
13152 * misc/error.h: Likewise.
13153 * misc/fstab.h: Likewise.
13154 * misc/mntent.h: Likewise.
13155 * misc/regexp.h: Likewise.
13156 * misc/search.h: Likewise.
13157 * misc/sgtty.h: Likewise.
13158 * misc/sys/mman.h: Likewise.
13159 * misc/sys/syslog.h: Likewise.
13160 * misc/sys/uio.h: Likewise.
13161 * misc/sys/xattr.h: Likewise.
13162 * misc/ttyent.h: Likewise.
13163 * nis/rpcsvc/ypclnt.h: Likewise.
13164 * nss/nss.h: Likewise.
13165 * posix/bits/unistd.h: Likewise.
13166 * posix/fnmatch.h: Likewise.
13167 * posix/glob.h: Likewise.
13168 * posix/sched.h: Likewise.
13169 * posix/spawn.h: Likewise.
13170 * posix/sys/wait.h: Likewise.
13171 * posix/unistd.h: Likewise.
13172 * posix/wordexp.h: Likewise.
13173 * pwd/pwd.h: Likewise.
13174 * resolv/netdb.h: Likewise.
13175 * resource/sys/resource.h: Likewise.
13176 * rt/aio.h: Likewise.
13177 * rt/bits/mqueue2.h: Likewise.
13178 * rt/mqueue.h: Likewise.
13179 * shadow/shadow.h: Likewise.
13180 * signal/signal.h: Likewise.
13181 * socket/send.c: Likewise.
13182 * socket/sendto.c: Likewise.
13183 * socket/sys/socket.h: Likewise.
13184 * stdio-common/printf.h: Likewise.
13185 * stdlib/bits/stdlib.h: Likewise.
13186 * stdlib/fmtmsg.h: Likewise.
13187 * stdlib/monetary.h: Likewise.
13188 * stdlib/stdlib.h: Likewise.
13189 * stdlib/ucontext.h: Likewise.
13190 * streams/stropts.h: Likewise.
13191 * string/argz.h: Likewise.
13192 * string/bits/string2.h: Likewise.
13193 * string/string.h: Likewise.
13194 * string/strings.h: Likewise.
13195 * sunrpc/rpc/auth.h: Likewise.
13196 * sunrpc/rpc/auth_des.h: Likewise.
13197 * sunrpc/rpc/clnt.h: Likewise.
13198 * sunrpc/rpc/netdb.h: Likewise.
13199 * sunrpc/rpc/pmap_clnt.h: Likewise.
13200 * sunrpc/rpc/xdr.h: Likewise.
13201 * sysdeps/generic/inttypes.h: Likewise.
13202 * sysdeps/generic/net/if.h: Likewise.
13203 * sysdeps/generic/sys/swap.h: Likewise.
13204 * sysdeps/gnu/net/if.h: Likewise.
13205 * sysdeps/gnu/utmpx.h: Likewise.
13206 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13207 * sysdeps/i386/i486/bits/string.h: Likewise.
13208 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13209 * sysdeps/s390/bits/string.h: Likewise.
13210 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13211 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13212 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13213 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13214 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13215 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13216 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13217 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13218 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13219 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13220 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13221 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13222 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13223 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13224 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13225 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13226 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13228 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13229 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13230 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13231 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13232 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13233 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13234 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13235 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13236 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13237 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13238 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13239 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13240 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13241 * sysvipc/sys/ipc.h: Likewise.
13242 * sysvipc/sys/msg.h: Likewise.
13243 * sysvipc/sys/sem.h: Likewise.
13244 * sysvipc/sys/shm.h: Likewise.
13245 * termios/termios.h: Likewise.
13246 * time/sys/time.h: Likewise.
13247 * time/time.h: Likewise.
13248 * wcsmbs/bits/wchar2.h: Likewise.
13249 * wcsmbs/uchar.h: Likewise.
13250 * wcsmbs/wchar.h: Likewise.
13251 * wctype/wctype.h: Likewise.
13254 * Makeconfig: Remove all but ELF support including AIX support.
13255 * Makerules: Likewise.
13256 * config.h.in: Likewise.
13257 * config.make.in: Likewise.
13258 * configure: Likewise.
13259 * configure.in: Likewise.
13260 * csu/Makefile: Likewise.
13261 * csu/version.c: Likewise.
13262 * debug/Makefile: Likewise.
13263 * dlfcn/Makefile: Likewise.
13264 * elf/Makefile: Likewise.
13265 * extra-lib.mk: Likewise.
13266 * iconv/Makefile: Likewise.
13267 * include/libc-symbols.h: Likewise.
13268 * include/shlib-compat.h: Likewise.
13269 * resolv/Makefile: Likewise.
13270 * resolv/res_libc.c: Likewise.
13271 * rt/Makefile: Likewise.
13272 * sysdeps/i386/asm-syntax.h: Likewise.
13273 * sysdeps/i386/sysdep.h: Likewise.
13274 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13275 * sysdeps/mach/sysdep.h: Likewise.
13276 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13277 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13278 * sysdeps/s390/asm-syntax.h: Likewise.
13279 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13281 * sysdeps/sh/sysdep.h: Likewise.
13282 * sysdeps/unix/sparc/sysdep.h: Likewise.
13283 * sysdeps/wordsize-32/divdi3.c: Likewise.
13284 * sysdeps/x86_64/sysdep.h: Likewise.
13286 * argp/Versions: Remove _argp_unlock_xxx.
13289 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13290 * abilist/libBrokenLocale.abilist: Likewise.
13291 * abilist/libanl.abilist: Likewise.
13292 * abilist/libc.abilist: Likewise.
13293 * abilist/libcrypt.abilist: Likewise.
13294 * abilist/libdl.abilist: Likewise.
13295 * abilist/libm.abilist: Likewise.
13296 * abilist/libnsl.abilist: Likewise.
13297 * abilist/libpthread.abilist: Likewise.
13298 * abilist/libresolv.abilist: Likewise.
13299 * abilist/librt.abilist: Likewise.
13300 * abilist/libthread_db.abilist: Likewise.
13301 * abilist/libutil.abilist: Likewise.
13302 * abilist/libnss_db.abilist: New file.
13304 * scripts/abilist.awk: Add support for indirect functions.
13306 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13308 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13310 * shlib-versions: Remove entries for ports architectures.
13312 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13314 * elf/stackguard-macros.h: Remove support for IA-64.
13315 * elf/tst-auditmod1.c: Likewise.
13316 * sysdeps/generic/ldsodefs.h: Likewise.
13318 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13319 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13323 * configure.in: Remove --enable-omitfp support.
13325 * config.make.in: Likewise.
13326 * Makeconfig: Likewise.
13327 * manual/install.texi: Likewise.
13329 In case anyone cares, the IA-64 architecture could move to ports.
13330 * sysdeps/ia64/*: Removed.
13331 * sysdeps/unix/sysv/linux/ia64/*: Removed.
13332 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
13335 * configure.in: Remove entries for unsupported architectures.
13338 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13339 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13341 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13342 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13343 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13344 fall back to using wcrtomb.
13345 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13346 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13348 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13349 * wcsmbs/tst-c16c32-1.c: New file.
13351 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13354 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13356 * elf/tst-unique3.cc: Add explicit declaration of gets.
13357 * elf/tst-unique3lib.cc: Likewise.
13358 * elf/tst-unique3lib2.cc: Likewise.
13359 * elf/tst-unique4.cc: Likewise.
13361 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13363 2012-01-06 Joseph Myers <joseph@codesourcery.com>
13366 * assert/assert.h (static_assert): Don't define for C++.
13367 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13368 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13370 2012-01-03 Ulrich Drepper <drepper@gmail.com>
13372 * iconv/loop.c (single loop): Fix assertion in storing of
13375 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13377 2012-01-01 Ulrich Drepper <drepper@gmail.com>
13379 * posix/getconf.c: Update copyright year.
13380 * nss/getent.c: Likewise.
13381 * nss/makedb.c: Likewise.
13382 * iconv/iconvconfig.c: Likewise.
13383 * iconv/iconv_prog.c: Likewise.
13384 * elf/ldconfig.c: Likewise.
13385 * elf/pldd.c: Likewise.
13386 * elf/sotruss.ksh: Likewise.
13387 * catgets/gencat.c: Likewise.
13388 * csu/version.c: Likewise.
13389 * elf/ldd.bash.in: Likewise.
13390 * elf/sprof.c (print_version): Likewise.
13391 * locale/programs/locale.c: Likewise.
13392 * locale/programs/localedef.c: Likewise.
13393 * login/programs/pt_chown.c: Likewise.
13394 * nscd/nscd.c (print_version): Likewise.
13395 * debug/xtrace.sh: Likewise.
13396 * malloc/memusage.sh: Likewise.
13397 * malloc/mtrace.pl: Likewise.
13398 * debug/catchsegv.sh: Likewise.
13400 2011-12-30 Jakub Jelinek <jakub@redhat.com>
13402 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13405 2011-12-24 Ulrich Drepper <drepper@gmail.com>
13408 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13409 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13411 * iconv/gconv_int.h: Likewise.
13412 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13413 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13414 from libc for GLIBC_2.16.
13415 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13416 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13417 * wcsmbs/uchar.h: Really define mbstate_t.
13418 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13419 * wcsmbs/c16rtomb.c: New file.
13420 * wcsmbs/mbrtoc16.c: New file.
13421 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13422 for C/POSIX locale.
13423 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13424 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13426 * wcsmbs/wchar.h: Add missing __restrict.
13428 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13431 * time/Makefile (routines): Add timespec_get.
13432 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13433 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13434 timespec for ISO C11.
13435 * time/timespec_get.c: New file.
13436 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13437 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13440 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13441 * stdlib/stdlib.h: Declare aligned_alloc.
13442 * Versions.def: Add GLIBC_2.16 for libc.
13443 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13446 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13449 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
13453 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13456 * assert/assert.h (static_assert): Define.
13458 * version.h: Update for 2.16 development version.
13461 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13464 * version.h (RELEASE): Bump for 2.15 release.
13465 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13467 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13468 Patch by Marek Polacek <mpolacek@redhat.com>.
13470 * bits/byteswap.h: Protect long long constants with __extension__.
13471 * sysdeps/i386/bits/byteswap.h: Likewise.
13472 * sysdeps/ia64/bits/byteswap.h: Likewise.
13473 * sysdeps/s390/bits/byteswap.h: Likewise.
13474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13476 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13480 destination buffer.
13481 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13483 2011-12-23 Marek Polacek <polacek@redhat.com>
13485 * elf/dl-addr.c (determine_info): Add inline keyword.
13486 * elf/tst-auditmod4b.c (check_avx): Likewise.
13487 * elf/tst-auditmod6b.c (check_avx): Likewise.
13488 * elf/tst-auditmod6c.c (check_avx): Likewise.
13489 * elf/tst-auditmod7b.c (check_avx): Likewise.
13491 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13493 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13496 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13499 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13500 processing for last bytes.
13502 2011-08-06 Bruno Haible <bruno@clisp.org>
13505 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13506 U+0385, not to U+1FEE.
13509 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13510 entry for U+00A5 U+0301.
13512 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13515 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13516 buffer for the output is too small.
13518 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13522 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13523 SSE flags if possible.
13525 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13528 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13529 processing for last bytes.
13531 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13533 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13534 (syscall-list-default-options, syscall-list-default-condition)
13535 (syscall-list-includes): Define.
13536 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13537 list of ABIs and options and #if conditions for each ABI. Do not
13538 handle common syscalls between ABIs specially.
13539 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13541 (syscall-list-variants, syscall-list-32bit-options)
13542 (syscall-list-32bit-condition, syscall-list-64bit-options)
13543 (syscall-list-64bit-condition): Define.
13544 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13545 (syscall-list-variants, syscall-list-32bit-options)
13546 (syscall-list-32bit-condition, syscall-list-64bit-options)
13547 (syscall-list-64bit-condition): Define.
13548 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13550 (syscall-list-variants, syscall-list-32bit-options)
13551 (syscall-list-32bit-condition, syscall-list-64bit-options)
13552 (syscall-list-64bit-condition): Define.
13553 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13555 (syscall-list-variants, syscall-list-32bit-options)
13556 (syscall-list-32bit-condition, syscall-list-64bit-options)
13557 (syscall-list-64bit-condition): Define.
13559 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13561 * locale/iso-639.def: Add brx entry.
13564 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13565 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13567 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13568 __feraiseexcept_renamed.
13570 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13573 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13574 EPOLLET with unsigned values.
13575 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13576 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13578 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13579 to large cancellation.
13580 * math/s_cacoshf.c: Likewise.
13581 * math/s_cacoshl.c: Likewise.
13583 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13587 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13588 * math/s_cacoshf.c: Likewise.
13589 * math/s_cacoshl.c: Likewise.
13591 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13594 * iconv/gconv.h: Define __GCONV_SWAP.
13595 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13596 * iconvdata/utf-16.c: Likewise.
13597 * iconvdata/utf-32.c: Likewise.
13599 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13602 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13603 numerator after shifting it by one limb.
13605 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13607 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13608 under [__USE_EXTERN_INLINES].
13610 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13613 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13615 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13617 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13618 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13620 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13621 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13622 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13623 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13624 for strncasecmp/strncasecmp_l compilation.
13625 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13626 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13628 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13631 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13634 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13637 * time/tzfile.c (__tzfile_read): Check values from file header.
13639 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13641 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13642 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13643 * powerpc/powerpc32/dl-start.S: Likewise.
13644 * powerpc/powerpc32/elf/start.S: Likewise.
13645 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13646 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13647 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13648 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13649 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13650 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13651 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13652 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13653 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13654 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13655 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13656 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13657 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13658 * powerpc/powerpc32/memset.S: Likewise.
13659 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13660 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13661 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13662 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13663 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13664 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13665 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13666 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13667 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13668 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13669 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13670 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13671 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13673 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13675 * math/libm-test.inc: Added more nearbyint tests.
13676 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13677 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13678 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13679 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13681 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13683 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13686 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13688 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13689 Add wcscpy-ssse3 wcscpy-c.
13690 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13691 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13692 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13693 * sysdeps/x86_64/wcschr.S: New file.
13694 * sysdeps/x86_64/wcsrchr.S: New file.
13695 * string/test-strcmp.c: Remove checking of wcscmp function for
13697 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13698 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13699 wcsrchr-sse2 wcsrchr-c.
13700 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13701 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13702 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13703 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13704 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13705 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13706 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13707 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13708 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13709 * wcsmbc/wcschr.c (WCSCHR): New macro.
13711 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13713 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13714 * wcsmbs/test-wcsrchr.c: New file.
13715 * string/test-strrchr.c: Add wcsrchr support.
13717 * wcsmbs/test-wcscpy.c: New file.
13718 * string/test-strcpy.c: Add wcscpy support.
13721 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13723 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13726 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13729 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13731 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13733 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13734 Minor optimizations.
13736 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13737 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13738 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13740 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13742 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13743 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13744 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13745 for gcc to avoid warnings.
13746 * inet/Makefile (tests): Add tst-checks.
13747 * inet/tst-checks.c: New file.
13749 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13752 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13755 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13756 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13758 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13760 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13762 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13765 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13767 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13769 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13770 conditional on GCC version.
13771 (__arch_compare_and_exchange_val_8_acq)
13772 (__arch_compare_and_exchange_val_16_acq)
13773 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13774 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13775 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13777 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13779 * sysdeps/sh/backtrace.c: New file.
13781 2011-12-02 Andreas Schwab <schwab@redhat.com>
13783 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13786 2011-12-01 Andreas Schwab <schwab@redhat.com>
13788 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13789 falling back to utime.
13791 2011-11-30 Andreas Schwab <schwab@redhat.com>
13793 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13794 expectations for float.
13796 2011-11-29 Andreas Schwab <schwab@redhat.com>
13798 * locale/weight.h (findidx): Add parameter len.
13799 * locale/weightwc.h (findidx): Likewise.
13800 * posix/fnmatch_loop.c (FCT): Adjust caller.
13801 * posix/regcomp.c (build_equiv_class): Likewise.
13802 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13803 * posix/regexec.c (check_node_accept_bytes): Likewise.
13804 * string/strcoll_l.c (STRCOLL): Likewise.
13805 * string/strxfrm_l.c (STRXFRM): Likewise.
13807 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13809 * Makefile.in: Remove CVSOPT handling.
13810 * configure.in: Remove use of AC_REVISION.
13811 * iconvdata/Makefile (distribute): No need to filter out CVS.
13812 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13815 2011-11-16 Andreas Schwab <schwab@redhat.com>
13817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13818 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13819 [USE_AS_STRNCASECMP_L]: Likewise.
13820 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13821 NO_TLS_DIRECT_SEG_REFS.
13822 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13823 Fix argument offsets for non-PIC.
13824 [USE_AS_STRNCASECMP_L]: Likewise.
13825 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13826 NO_TLS_DIRECT_SEG_REFS.
13828 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13830 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13832 * locale/loadlocale.c (_nl_load_locale): Likewise.
13834 2011-11-15 Andreas Schwab <schwab@redhat.com>
13836 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13837 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13838 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13839 (SYSCALL_GETTIME): Set errno on error.
13841 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13842 count references to noai6ai_cached.
13844 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13846 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13848 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13849 FD_CLOEXEC for /proc/self/maps.
13851 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13852 FD_CLOEXEC for /proc/meminfo.
13854 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13857 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13858 FD_CLOEXEC for given file.
13860 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13862 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13863 FD_CLOEXEC for /etc/hosts.
13864 (_gethtent): Likewise.
13866 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13868 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13869 cancellation and set FD_CLOEXEC for /etc/netgroup.
13871 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13872 reading /etc/publickey.
13874 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13875 allow cancellation when reading /etc/group.
13877 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13879 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13881 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13882 when using data file.
13884 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13886 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13887 (write_nis_obj): Use "c" and "e" in fopen.
13889 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13891 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13893 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13895 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13897 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13900 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13902 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13904 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13906 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13907 file parsing and set FD_CLOEXEC.
13909 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13911 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13913 2011-11-14 Andreas Schwab <schwab@redhat.com>
13915 * malloc/arena.c (arena_get2): Don't call reused_arena when
13916 _int_new_arena failed.
13918 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13920 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13921 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13922 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13923 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13924 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13925 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13926 to compile strcasecmp and strncasecmp.
13927 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13928 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13930 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13932 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13934 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13935 locale-defines.sym to gen-as-const-headers.
13936 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13937 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13939 to compile strcasecmp and strncasecmp.
13940 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13941 strcasecmp_l and strncasecmp_l.
13942 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13943 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13944 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13945 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13946 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13947 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13948 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13949 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13950 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13951 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13952 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13954 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13956 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13957 result of SYSDEP_GETTIME_CPU to retval.
13958 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13959 parameter list to macro. Remove trailing semicolon. Adjust users.
13961 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13964 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13966 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13968 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13969 from unused variable.
13971 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13973 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13976 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13979 * sunrpc/rpc_prot.c (rejected): Fix case value.
13981 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13982 unsigned long long int to avoid warnings in shift.
13984 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13986 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13989 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13990 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13991 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13993 * nis/nis_table.c (nis_list): Use variable of correct type for
13994 result of __follow_path call.
13996 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13998 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13999 of math functions ceil, trunc, floor, round, and sqrt, when
14000 avaliable on the platform.
14001 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14003 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14004 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14005 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14007 2011-10-30 Marek Polacek <mpolacek@redhat.com>
14009 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14010 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14012 2011-11-11 Roland McGrath <roland@hack.frob.com>
14014 * include/unistd.h: Fix __readlink return type.
14015 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14017 2011-11-11 Ulrich Drepper <drepper@gmail.com>
14019 * stdlib/ucontext.h: Undo last change for makecontext.
14021 2011-11-11 Andreas Schwab <schwab@redhat.com>
14023 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14025 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14026 * setjmp/setjmp.h: Mark functions as non-leaf.
14027 * setjmp/bits/setjmp2.h: Likewise.
14028 * stdlib/ucontext.h: Likewise.
14030 2011-11-10 Andreas Schwab <schwab@redhat.com>
14032 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14033 (reused_arena): Don't check arena limit.
14034 (arena_get2): Atomically check arena limit.
14036 2011-11-08 Ulrich Drepper <drepper@gmail.com>
14038 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14039 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14041 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14044 2011-11-07 Andreas Schwab <schwab@redhat.com>
14046 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14047 handler when locking.
14049 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14050 Fix size of allocated buffer.
14052 2011-11-04 Andreas Schwab <schwab@redhat.com>
14055 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14056 declarations for long double functions.
14057 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14059 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14061 2011-11-03 Andreas Schwab <schwab@redhat.com>
14063 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14066 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14069 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14071 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14073 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14075 * include/alloca.h (stackinfo_alloca_round): Define.
14076 (extend_alloca): Use it.
14077 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14078 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14081 * scripts/check-local-headers.sh: Ignore libaudit.h.
14083 * nscd/Makefile (extra-objs): Make recursively expanded.
14085 2011-11-01 Ulrich Drepper <drepper@gmail.com>
14087 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14088 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14090 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14091 * posix/tst-rfc3484-2.c: Likewise.
14092 * posix/tst-rfc3484-3.c: Likewise.
14094 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14096 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14098 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14099 process_vm_writev from libc using GLIBC_2.15 version.
14101 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14103 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14105 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14108 2011-10-31 Ulrich Drepper <drepper@gmail.com>
14111 * nss/getent.c (initgroups_keys): Show error message in case no group
14114 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14115 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14116 __bump_nl_timestamp.
14117 * nscd/connections (nscd_init): When host database is served open
14118 netlink socket and request notification about configuration changes.
14119 (main_loop_poll): Track netlink file descriptor and bump timestamp
14120 in case data becomes available.
14121 (main_loop_epoll): Likewise.
14122 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14123 (database_pers_head): Add extra_data fileds.
14124 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14125 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14126 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14128 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14129 in6ai data, call __free_in6ai.
14130 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14131 Add -DHAVE_NETLINK.
14132 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14133 interface information. Reuse previous data if netlink timestamp
14135 (__bump_nl_timestamp): New function.
14136 (__free_in6ai): New function.
14138 2011-10-30 Ulrich Drepper <drepper@gmail.com>
14140 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14141 close_not_cancel_no_status here.
14142 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14144 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14147 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14150 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
14151 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14152 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14154 2011-07-03 Andreas Jaeger <aj@suse.de>
14157 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14158 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14159 * math/libm-test.inc (sin_test): Add test case.
14161 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14164 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14165 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14167 * elf/chroot_canon.c (chroot_canon): Cleanups.
14169 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14172 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14173 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14175 * string/test-strchr.c: Make usable for strchrnul testing.
14176 * string/test-strchrnul.c: New file.
14177 * string/Makefile (strop-tests): Add strchrnul.
14179 * po/it.po: Update from translation team.
14180 * po/es.po: Likewise.
14182 2011-10-28 Ulrich Drepper <drepper@gmail.com>
14184 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14185 the three constants needed as parameters. Drop the others.
14186 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14187 __m128i_strloadu_tolower.
14188 Create and initialize variable zero and use it in all the places
14189 where _mm_setzero_si128 was used.
14191 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14192 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14193 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14194 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14196 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14197 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14198 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14199 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14200 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14201 __mpranred, __mptan.
14202 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14203 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14204 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14205 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14206 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14207 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14209 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14210 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14212 2011-10-28 Andreas Schwab <schwab@redhat.com>
14214 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14215 redefine if SHARED.
14216 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14219 wide char related routines to wcsmbs subdir.
14221 2011-10-27 Andreas Schwab <schwab@redhat.com>
14224 * misc/sys/cdefs.h (__THROWNL): Define.
14225 * posix/unistd.h: Use __THREADNL instead of __THREAD
14226 for memory synchronization functions.
14228 2011-10-26 Roland McGrath <roland@hack.frob.com>
14231 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14233 * manual/stdio.texi (Obstack Streams): Node removed.
14235 2011-10-26 Andreas Schwab <schwab@redhat.com>
14237 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14238 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14239 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14241 * math/math_private.h (math_force_eval): Allow non-addressable
14243 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14245 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14247 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14248 file is not needed.
14250 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14251 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14252 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14253 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14254 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14255 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14256 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14257 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14259 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14260 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14261 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14262 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14263 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14264 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14265 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14266 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14267 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14268 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14269 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14270 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14271 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14272 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14273 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14274 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14275 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14276 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14277 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14279 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14280 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14282 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14283 place. Use VEX encoding when compiling for AVX.
14285 2011-10-25 Andreas Schwab <schwab@redhat.com>
14287 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14288 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14290 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14292 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14294 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
14295 useless if() expression.
14296 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14297 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14298 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14299 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14300 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14301 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14302 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14303 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14304 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14305 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14306 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14307 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14308 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14309 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14310 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14311 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14312 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14313 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14314 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14316 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14318 2011-10-25 Andreas Schwab <schwab@redhat.com>
14320 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14322 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14324 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14326 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14327 .text section. Avoid duplicate constants.
14328 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14330 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14331 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
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/halfulp.c: Likewise.
14336 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14337 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14338 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14339 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14340 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14341 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14342 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14343 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14344 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14345 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14346 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14348 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14349 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14350 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14351 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14352 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14353 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14354 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14355 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14356 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14357 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14358 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14359 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14360 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14361 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14362 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14363 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14364 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14365 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14366 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14367 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14368 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14369 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14370 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14371 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14372 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14374 2011-10-24 Ulrich Drepper <drepper@gmail.com>
14376 * sysdeps/x86_64/dla.h: Move to ...
14377 * sysdeps/x86_64/fpu/dla.h: ...here.
14378 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14379 situations. Use __builtin_fma only for gcc 4.6 and up.
14381 * config.make.in: Add have-mfma4 entry.
14382 * configure.in: Substitute libc_cv_cc_fma4.
14383 * math/Makefile (dbl-only-routines): Add sincostab.
14384 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14385 Use __sincostab not sincos.
14386 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14388 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14389 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14393 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14394 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14395 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14396 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14398 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14399 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14401 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14402 define aliases when function name is a macro.
14403 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14404 sysdeps/ieee754/dbl-64/sincos.tbl.
14405 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14406 fma4-enabled routines.
14407 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14408 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14409 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14410 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14411 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14412 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14413 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14414 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14415 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14416 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14417 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14418 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14419 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14420 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14421 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14422 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14423 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14424 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14425 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14426 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14427 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14428 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14429 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14430 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14431 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14432 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14433 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14434 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14435 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14436 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14438 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14440 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14445 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14446 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14447 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14449 2011-10-24 Andreas Schwab <schwab@redhat.com>
14451 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14453 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14455 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14457 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14459 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14461 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14462 Remove unused variable magic_bits.
14463 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14465 * string/strnlen.c: Define and use STRNLEN macro.
14466 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14467 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14469 * wcsmbs/wcslen.c: Define and use WCSLEN.
14470 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14471 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14472 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14473 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14474 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14475 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14476 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14478 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14481 strnlen-sse2-no-bsf.
14482 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14483 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14484 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14485 Add strnlen support.
14486 (USE_AS_STRNLEN): New macro.
14487 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14488 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14489 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14490 * sysdeps/x86_64/wcslen.S: New file.
14492 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14494 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14495 XMM-moves are used for copying on small sizes.
14497 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14499 * wcsmbs/Makefile (strop-tests): Add wcschr.
14500 * wcsmbs/test-wcschr.c: New file.
14501 * string/test-strchr.c: Update.
14502 Add wcschr support.
14505 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14507 * wcsmbs/Makefile (strop-tests): Add wcslen.
14508 * wcsmbs/test-wcslen.c: New file.
14509 * string/test-strlen.c: Update.
14510 Add wcslen support.
14513 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14515 * po/it.po: Update from translation team.
14517 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14519 * sysdeps/x86_64/wcscmp.S: Update.
14520 Fix wrong comparison semantics.
14521 wcscmp shall use signed comparison not unsigned.
14522 Don't use substraction to avoid overflow bug.
14523 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14524 * wcsmbc/wcscmp.c: Likewise.
14525 * string/test-strcmp.c: Likewise.
14526 Add new tests to check cases with negative values.
14528 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14530 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14531 * sysdeps/x86_64/dla.h: ...here. New file.
14532 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14533 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14535 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14536 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14537 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14538 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14539 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14540 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14542 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14545 __ynl_finite aliases.
14547 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14551 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14553 [DLA_FMA] (EMULV): Use DLA_FMA.
14554 [DLA_FMA] (MUL12): Use EMULV.
14555 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14556 that are not needed.
14557 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14559 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14562 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14565 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14567 * math/s_nan.c: Undef __nan.
14568 * math/s_nanf.c: Undef __nanf.
14569 * math/s_nanl.c: Undef __nanl.
14570 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14573 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14575 * math/s_catan.c: Add branch predictions.
14576 * math/s_catanf.c: Likewise.
14577 * math/s_catanh.c: Likewise.
14578 * math/s_catanhf.c: Likewise.
14579 * math/s_catanhl.c: Likewise.
14580 * math/s_catanl.c: Likewise.
14581 * math/s_cexp.c: Likewise.
14582 * math/s_cexpf.c: Likewise.
14583 * math/s_cexpl.c: Likewise.
14584 * math/s_clog.c: Likewise.
14585 * math/s_clog10.c: Likewise.
14586 * math/s_clog10f.c: Likewise.
14587 * math/s_clog10l.c: Likewise.
14588 * math/s_clogf.c: Likewise.
14589 * math/s_clogl.c: Likewise.
14590 * math/s_csqrt.c: Likewise.
14591 * math/s_csqrtf.c: Likewise.
14592 * math/s_csqrtl.c: Likewise.
14593 * math/s_ctanf.c: Likewise.
14594 * math/s_ctanh.c: Likewise.
14595 * math/s_ctanhf.c: Likewise.
14596 * math/s_ctanhl.c: Likewise.
14597 * math/s_ctanl.c: Likewise.
14599 * math/math_private.h: Define __nan, __nanf, __nanl.
14600 * math/s_cacosh.c: Include <math_private.h>.
14601 * math/s_cacoshl.c: Likewise.
14602 * math/s_casinh.c: Likewise.
14603 * math/s_casinhf.c: Likewise.
14604 * math/s_casinhl.c: Likewise.
14605 * math/s_ccos.c: Rely entire on ccosh.
14606 * math/s_ccosf.c: Rely entire on ccoshf.
14607 * math/s_ccosl.c: Rely entirely on ccoshl.
14608 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14609 Remove tests for FE_INVALID.
14610 * math/s_ccoshf.c: Likewise.
14611 * math/s_ccoshl.c: Likewise.
14612 * math/s_csin.c: Likewise.
14613 * math/s_csinf.c: Likewise.
14614 * math/s_csinh.c Likewise.
14615 * math/s_csinhf.c: Likewise.
14616 * math/s_csinhl.c: Likewise.
14617 * math/s_csinl.c: Likewise.
14618 * math/s_ctan.c: Likewise.
14619 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14620 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14621 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14623 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14626 compilation problems.
14628 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14631 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14633 * sysdeps/i386/configure.in: Test for -mfma4 option.
14634 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14635 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14636 COMMON_CPUID_INDEX_80000001.
14637 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14638 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14639 use it if FMA3 is not supported.
14640 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14642 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14643 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14645 2011-10-20 Andreas Schwab <schwab@redhat.com>
14648 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14649 it would create a cycle with a link time dependency.
14651 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14653 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14655 * string/Makefile (strop-tests): Add rawmemchr.
14656 * string/test-rawmemchr.c: New file.
14658 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14660 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14661 when compiling str{,n}casecmp and when AVX is available. Hook up
14662 new optimized code in initializers.
14664 2011-10-19 Andreas Schwab <schwab@redhat.com>
14666 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14667 __feraiseexcept instead of feraiseexcept.
14669 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14671 * math/math_private.h: Define defaults for libc_fetestexcept and
14673 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14674 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14675 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14676 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14677 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14678 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14679 libc_fetestexcept and libc_feupdateenv.
14681 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14682 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14683 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14684 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14685 libc_feholdexcept_setround.
14687 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14688 Add s_nearbyint-c and s_nearbyintf-c.
14689 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14690 nearbyintf inlines.
14691 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14692 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14693 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14694 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14696 * math/math_private.h: Define defaults for libc_fegetround,
14697 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14698 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14699 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14700 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14701 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14702 standard functions.
14703 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14704 Remove comments and hacks for old compiler versions.
14705 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14706 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14707 libc_feholdexceptl.
14709 2011-10-18 Andreas Schwab <schwab@redhat.com>
14711 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14712 (__feraiseexcept_renamed): Add __NTH.
14713 (feraiseexcept): Add __NTH. Rename local variables to fix
14714 namespace violations.
14716 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14718 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14720 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14722 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14723 recently added interfaces.
14724 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14726 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14727 about macro parameter expansion.
14729 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14730 __NO_MATH_INLINES is defined. Cleanups.
14732 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14733 and __floorf is target has SSE4.1.
14734 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14735 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14736 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14737 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14739 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14741 (floorf): Likewise.
14743 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14745 2011-10-17 Andreas Schwab <schwab@redhat.com>
14747 * misc/sys/cdefs.h: Fix last change.
14749 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14752 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14754 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14756 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14758 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14759 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14760 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14761 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14762 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14763 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14764 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14765 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14766 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14767 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14768 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14769 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14770 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14771 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14772 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14773 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14774 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14775 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14776 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14777 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14779 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14780 ceil, ceilf, floor, floorf.
14782 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14783 Perform IRELATIVE relocations last.
14785 * elf/do-rel.h: Add another parameter nrelative, replacing the
14786 local variable with the same name. Change name of the function
14787 to end in Rel or Rela (uppercase).
14788 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14789 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14790 elf_dynamic_do_##reloc function.
14792 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14794 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14795 is sufficient, at least on modern CPUs.
14797 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14799 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14800 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14802 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14804 * math/bits/math-finite.h: Add entries for exp.
14805 * math/e_expl.c: Add __*_finite alias.
14806 * sysdeps/i386/fpu/e_exp.S: Likewise.
14807 * sysdeps/i386/fpu/e_expf.S: Likewise.
14808 * sysdeps/i386/fpu/e_expl.c: Likewise.
14809 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14810 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14811 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14812 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14814 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14815 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14817 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14818 is sufficient, at least on modern CPUs.
14820 * ctype/ctype-info.c (__ctype_init): Define.
14821 * include/ctype.h (__ctype_init): Declare.
14822 (__ctype_b_loc): The variable is always initialized.
14823 (__ctype_toupper_loc): Likewise.
14824 (__ctype_tolower_loc): Likewise.
14825 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14826 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14828 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14830 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14832 * configure.in: Also look in $cxxmachine/include for C++ system
14835 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14837 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14838 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14839 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14840 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14841 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14842 (USE_AS_WMEMCMP): New macro.
14844 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14845 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14846 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14847 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14849 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14850 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14851 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14852 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14853 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14854 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14855 (USE_AS_WMEMCMP): New macro.
14856 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14857 * sysdeps/string/test-memcmp.c: Update.
14858 Fix simple_wmemcmp.
14860 * wcsmbs/wmemcmp.c: Update.
14861 (WMEMCMP): New macro.
14864 2011-10-12 Andreas Jaeger <aj@suse.de>
14867 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14869 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14871 * libio/iofwide.c (do_length): Avoid warning.
14873 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14875 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14877 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14879 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14880 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14881 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14882 * sysdeps/i386/i686/fpu/e_log.S: New file.
14883 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14884 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14886 * ctype/ctype.h: Add support for inlined isXXX functions when
14887 compiling C++ code.
14889 2011-10-14 Andreas Schwab <schwab@redhat.com>
14891 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14893 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14895 2011-10-13 Roland McGrath <roland@hack.frob.com>
14898 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14900 2011-10-13 Andreas Schwab <schwab@redhat.com>
14902 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14903 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14906 * sysdeps/x86_64/memrchr.S: Check for zero size.
14908 * string/stratcliff.c: Add memrchr tests.
14910 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14913 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14914 rawmemchr-sse2 rawmemchr-sse2-bsf.
14915 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14916 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14917 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14918 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14919 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14920 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14921 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14922 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14923 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14924 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14925 * string/memrchr.c (MEMRCHR): New macro.
14927 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14929 Add integration with gcc's -ffinite-math-only and optimize wrapper
14931 * Versions.def: Define GLIBC_2.15 version for libm.
14932 * math/Makefile (headers): Add bits/math-finite.h.
14933 * math/bits/math-finite.h: New file.
14934 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14935 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14936 * math/e_acoshl.c: Add __*_finite alias.
14937 * math/e_acosl.c: Likewise.
14938 * math/e_asinl.c: Likewise.
14939 * math/e_atan2l.c: Likewise.
14940 * math/e_atanhl.c: Likewise.
14941 * math/e_coshl.c: Likewise.
14942 * math/e_exp10.c: Likewise.
14943 * math/e_exp10f.c: Likewise.
14944 * math/e_exp10l.c: Likewise.
14945 * math/e_exp2l.c: Likewise.
14946 * math/e_fmodl.c: Likewise.
14947 * math/e_gammal_r.c: Likewise.
14948 * math/e_hypotl.c: Likewise.
14949 * math/e_j0l.c: Likewise.
14950 * math/e_j1l.c: Likewise.
14951 * math/e_jnl.c: Likewise.
14952 * math/e_lgammal_r.c: Likewise.
14953 * math/e_log10l.c: Likewise.
14954 * math/e_log2l.c: Likewise.
14955 * math/e_logl.c: Likewise.
14956 * math/e_powl.c: Likewise.
14957 * math/e_sinhl.c: Likewise.
14958 * math/e_sqrtl.c: Likewise.
14959 * math/e_scalb.c: Completely rewritten and optimized.
14960 * math/e_scalbf.c: Likewise.
14961 * math/e_scalbl.c: Likewise.
14962 * math/w_acos.c: Likewise.
14963 * math/w_acosf.c: Likewise.
14964 * math/w_acosl.c: Likewise.
14965 * math/w_acosh.c: Likewise.
14966 * math/w_acoshf.c: Likewise.
14967 * math/w_acoshl.c: Likewise.
14968 * math/w_asin.c: Likewise.
14969 * math/w_asinf.c: Likewise.
14970 * math/w_asinl.c: Likewise.
14971 * math/w_atan2.c: Likewise.
14972 * math/w_atan2f.c: Likewise.
14973 * math/w_atan2l.c: Likewise.
14974 * math/w_atanh.c: Likewise.
14975 * math/w_atanhf.c: Likewise.
14976 * math/w_atanhl.c: Likewise.
14977 * math/w_exp10.c: Likewise.
14978 * math/w_exp10f.c: Likewise.
14979 * math/w_exp10l.c: Likewise.
14980 * math/w_fmod.c: Likewise.
14981 * math/w_fmodf.c: Likewise.
14982 * math/w_fmodl.c: Likewise.
14983 * math/w_j0.c: Likewise.
14984 * math/w_j0f.c: Likewise.
14985 * math/w_j0l.c: Likewise.
14986 * math/w_j1.c: Likewise.
14987 * math/w_j1f.c: Likewise.
14988 * math/w_j1l.c: Likewise.
14989 * math/w_jn.c: Likewise.
14990 * math/w_jnf.c: Likewise.
14991 * math/w_log.c: Likewise.
14992 * math/w_logf.c: Likewise.
14993 * math/w_logl.c: Likewise.
14994 * math/w_log10.c: Likewise.
14995 * math/w_log10f.c: Likewise.
14996 * math/w_log10l.c: Likewise.
14997 * math/w_log2.c: Likewise.
14998 * math/w_log2f.c: Likewise.
14999 * math/w_log2l.c: Likewise.
15000 * math/w_pow.c: Likewise.
15001 * math/w_powf.c: Likewise.
15002 * math/w_powl.c: Likewise.
15003 * math/w_remainder.c: Likewise.
15004 * math/w_remainderf.c: Likewise.
15005 * math/w_remainderl.c: Likewise.
15006 * math/w_scalb.c: Likewise.
15007 * math/w_scalbf.c: Likewise.
15008 * math/w_scalbl.c: Likewise.
15009 * math/w_sqrt.c: Likewise.
15010 * math/w_sqrtf.c: Likewise.
15011 * math/w_sqrtl.c: Likewise.
15012 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15013 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15015 * math/math_private.h: Declare __kernel_standard_f.
15016 * math/w_cosh.c: Remove cruft and optimize a bit.
15017 * math/w_coshf.c: Likewise.
15018 * math/w_coshl.c: Likewise.
15019 * math/w_exp2.c: Likewise.
15020 * math/w_exp2f.c: Likewise.
15021 * math/w_exp2l.c: Likewise.
15022 * math/w_hypot.c: Likewise.
15023 * math/w_hypotf.c: Likewise.
15024 * math/w_hypotl.c: Likewise.
15025 * math/w_lgamma.c: Likewise.
15026 * math/w_lgamma_r.c: Likewise.
15027 * math/w_lgammaf.c: Likewise.
15028 * math/w_lgammaf_r.c: Likewise.
15029 * math/w_lgammal.c: Likewise.
15030 * math/w_lgammal_r.c: Likewise.
15031 * math/w_sinh.c: Likewise.
15032 * math/w_sinhf.c: Likewise.
15033 * math/w_sinhl.c: Likewise.
15034 * math/w_tgamma.c: Likewise.
15035 * math/w_tgammaf.c: Likewise.
15036 * math/w_tgammal.c: Likewise.
15037 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15038 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15039 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15040 Minor optimizations. Pretty printing. Remove cruft.
15041 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15042 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15043 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15044 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15045 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15046 * sysdeps/i386/fpu/e_asin.S: Likewise.
15047 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15048 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15049 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15050 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15051 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15052 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15053 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15054 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15055 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15056 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15057 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15058 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15059 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15060 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15061 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15062 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15063 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15064 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15065 * sysdeps/i386/fpu/e_log.S: Likewise.
15066 * sysdeps/i386/fpu/e_log10.S: Likewise.
15067 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15068 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15069 * sysdeps/i386/fpu/e_log2.S: Likewise.
15070 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15071 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15072 * sysdeps/i386/fpu/e_logf.S: Likewise.
15073 * sysdeps/i386/fpu/e_logl.S: Likewise.
15074 * sysdeps/i386/fpu/e_pow.S: Likewise.
15075 * sysdeps/i386/fpu/e_powf.S: Likewise.
15076 * sysdeps/i386/fpu/e_powl.S: Likewise.
15077 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15078 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15079 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15080 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15081 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15082 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15083 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15084 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15085 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15086 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15087 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15088 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15089 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15090 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15091 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15092 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15093 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15094 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15095 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15096 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15097 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15098 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15099 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15100 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15102 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15103 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15104 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15106 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15107 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15108 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15109 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15110 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15111 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15112 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15113 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15114 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15115 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15116 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15117 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15118 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15119 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15120 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15121 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15122 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15123 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15124 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15125 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15126 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15127 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15128 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15129 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15130 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15131 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15132 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15133 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15134 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15135 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15136 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15137 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15138 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15139 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15140 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15141 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15142 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15143 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15144 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15145 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15146 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15147 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15148 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15149 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15150 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15151 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15152 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15153 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15154 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15155 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15156 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15157 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15158 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15159 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15160 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15161 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15162 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15163 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15164 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15165 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15166 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15167 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15168 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15169 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15170 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15171 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15172 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15173 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15174 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15175 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15176 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15177 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15178 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15179 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15180 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15181 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15182 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15183 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15184 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15185 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15186 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15187 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15188 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15189 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15190 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15191 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15192 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15193 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15194 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15195 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15196 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15197 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15198 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15199 (__isnanf): Likewise.
15200 (__isinf_ns): Likewise.
15201 (__isinf_nsf): Likewise.
15202 (__finite): Likewise.
15203 (__finitef): Likewise.
15204 (__ieee754_sqrt): Define as macro.
15205 (__ieee754_sqrtf): Define as macro.
15206 (__ieee754_sqrtl): Define as macro.
15207 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15209 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15210 __FINITE_MATH_ONLY__ consistent.
15211 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15213 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15215 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15218 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15220 2011-10-09 Ulrich Drepper <drepper@gmail.com>
15222 * po/ja.po: Update from translation team.
15224 2011-10-08 Roland McGrath <roland@hack.frob.com>
15226 * locale/programs/locarchive.c (prepare_address_space): New function.
15227 (create_archive, enlarge_archive, open_archive): Use it.
15229 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15230 inside [SHARED], where it is used.
15232 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15234 * nss/getent.c (netgroup_keys): Remove unused variable.
15235 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15237 2011-10-08 Ulrich Drepper <drepper@gmail.com>
15239 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15240 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15241 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15242 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15243 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15244 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15245 * math/Makefile (libm-calls): Add s_isinf_ns.
15246 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15247 * math/multc3.c: Likewise.
15248 * math/s_casin.c: Likewise.
15249 * math/s_casinf.c: Likewise.
15250 * math/s_casinl.c: Likewise.
15251 * math/s_ccos.c: Likewise.
15252 * math/s_ccosf.c: Likewise.
15253 * math/s_ccosl.c: Likewise.
15254 * math/s_ctan.c: Likewise.
15255 * math/s_ctanf.c: Likewise.
15256 * math/s_ctanh.c: Likewise.
15257 * math/s_ctanhf.c: Likewise.
15258 * math/s_ctanhl.c: Likewise.
15259 * math/s_ctanl.c: Likewise.
15260 * math/w_fmod.c: Likewise.
15261 * math/w_fmodf.c: Likewise.
15262 * math/w_fmodl.c: Likewise.
15263 * math/w_remainder.c: Likewise.
15264 * math/w_remainderf.c: Likewise.
15265 * math/w_remainderl.c: Likewise.
15266 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15267 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15268 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15270 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15271 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15272 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15273 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15275 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15277 * stdio-common/printf_fphex.c: Likewise.
15278 * stdio-common/printf_size.c: Likewise.
15280 * math/e_exp10.c: Include math_private.h using <...> not "...".
15281 * math/e_exp10f.c: Likewise.
15282 * math/e_exp10l.c: Likewise.
15283 * math/e_exp2l.c: Likewise.
15284 * math/e_j0l.c: Likewise.
15285 * math/e_j1l.c: Likewise.
15286 * math/e_jnl.c: Likewise.
15287 * math/e_lgammal_r.c: Likewise.
15288 * math/e_rem_pio2l.c: Likewise.
15289 * math/e_scalb.c: Likewise.
15290 * math/e_scalbf.c: Likewise.
15291 * math/e_scalbl.c: Likewise.
15292 * math/k_cosl.c: Likewise.
15293 * math/k_sinl.c: Likewise.
15294 * math/k_tanl.c: Likewise.
15295 * math/s_cacoshf.c: Likewise.
15296 * math/s_catan.c: Likewise.
15297 * math/s_catanf.c: Likewise.
15298 * math/s_catanh.c: Likewise.
15299 * math/s_catanhf.c: Likewise.
15300 * math/s_catanhl.c: Likewise.
15301 * math/s_catanl.c: Likewise.
15302 * math/s_ccosh.c: Likewise.
15303 * math/s_ccoshf.c: Likewise.
15304 * math/s_ccoshl.c: Likewise.
15305 * math/s_cexp.c: Likewise.
15306 * math/s_cexpf.c: Likewise.
15307 * math/s_cexpl.c: Likewise.
15308 * math/s_clog.c: Likewise.
15309 * math/s_clog10.c: Likewise.
15310 * math/s_clog10f.c: Likewise.
15311 * math/s_clog10l.c: Likewise.
15312 * math/s_clogf.c: Likewise.
15313 * math/s_clogl.c: Likewise.
15314 * math/s_csin.c: Likewise.
15315 * math/s_csinf.c: Likewise.
15316 * math/s_csinh.c: Likewise.
15317 * math/s_csinhf.c: Likewise.
15318 * math/s_csinhl.c: Likewise.
15319 * math/s_csinl.c: Likewise.
15320 * math/s_csqrt.c: Likewise.
15321 * math/s_csqrtf.c: Likewise.
15322 * math/s_csqrtl.c: Likewise.
15323 * math/s_ctan.c: Likewise.
15324 * math/s_ctanf.c: Likewise.
15325 * math/s_ctanh.c: Likewise.
15326 * math/s_ctanhf.c: Likewise.
15327 * math/s_ctanhl.c: Likewise.
15328 * math/s_ctanl.c: Likewise.
15329 * math/s_ldexp.c: Likewise.
15330 * math/s_ldexpf.c: Likewise.
15331 * math/s_ldexpl.c: Likewise.
15332 * math/s_significand.c: Likewise.
15333 * math/s_significandf.c: Likewise.
15334 * math/s_significandl.c: Likewise.
15335 * math/w_acos.c: Likewise.
15336 * math/w_acosf.c: Likewise.
15337 * math/w_acosh.c: Likewise.
15338 * math/w_acoshf.c: Likewise.
15339 * math/w_acoshl.c: Likewise.
15340 * math/w_acosl.c: Likewise.
15341 * math/w_asin.c: Likewise.
15342 * math/w_asinf.c: Likewise.
15343 * math/w_asinl.c: Likewise.
15344 * math/w_atan2.c: Likewise.
15345 * math/w_atan2f.c: Likewise.
15346 * math/w_atan2l.c: Likewise.
15347 * math/w_atanh.c: Likewise.
15348 * math/w_atanhf.c: Likewise.
15349 * math/w_atanhl.c: Likewise.
15350 * math/w_cosh.c: Likewise.
15351 * math/w_coshf.c: Likewise.
15352 * math/w_coshl.c: Likewise.
15353 * math/w_dremf.c: Likewise.
15354 * math/w_exp10.c: Likewise.
15355 * math/w_exp10f.c: Likewise.
15356 * math/w_exp10l.c: Likewise.
15357 * math/w_exp2.c: Likewise.
15358 * math/w_exp2f.c: Likewise.
15359 * math/w_fmod.c: Likewise.
15360 * math/w_fmodf.c: Likewise.
15361 * math/w_fmodl.c: Likewise.
15362 * math/w_hypot.c: Likewise.
15363 * math/w_hypotf.c: Likewise.
15364 * math/w_hypotl.c: Likewise.
15365 * math/w_j0.c: Likewise.
15366 * math/w_j0f.c: Likewise.
15367 * math/w_j0l.c: Likewise.
15368 * math/w_j1.c: Likewise.
15369 * math/w_j1f.c: Likewise.
15370 * math/w_j1l.c: Likewise.
15371 * math/w_jn.c: Likewise.
15372 * math/w_jnf.c: Likewise.
15373 * math/w_jnl.c: Likewise.
15374 * math/w_lgamma.c: Likewise.
15375 * math/w_lgamma_r.c: Likewise.
15376 * math/w_lgammaf.c: Likewise.
15377 * math/w_lgammaf_r.c: Likewise.
15378 * math/w_lgammal.c: Likewise.
15379 * math/w_lgammal_r.c: Likewise.
15380 * math/w_log.c: Likewise.
15381 * math/w_log10.c: Likewise.
15382 * math/w_log10f.c: Likewise.
15383 * math/w_log10l.c: Likewise.
15384 * math/w_log2.c: Likewise.
15385 * math/w_log2f.c: Likewise.
15386 * math/w_log2l.c: Likewise.
15387 * math/w_logf.c: Likewise.
15388 * math/w_logl.c: Likewise.
15389 * math/w_pow.c: Likewise.
15390 * math/w_powf.c: Likewise.
15391 * math/w_powl.c: Likewise.
15392 * math/w_remainder.c: Likewise.
15393 * math/w_remainderf.c: Likewise.
15394 * math/w_remainderl.c: Likewise.
15395 * math/w_scalb.c: Likewise.
15396 * math/w_scalbf.c: Likewise.
15397 * math/w_scalbl.c: Likewise.
15398 * math/w_sinh.c: Likewise.
15399 * math/w_sinhf.c: Likewise.
15400 * math/w_sinhl.c: Likewise.
15401 * math/w_sqrt.c: Likewise.
15402 * math/w_sqrtf.c: Likewise.
15403 * math/w_sqrtl.c: Likewise.
15404 * math/w_tgamma.c: Likewise.
15405 * math/w_tgammaf.c: Likewise.
15406 * math/w_tgammal.c: Likewise.
15408 * po/ja.po: Update from translation team.
15410 2011-09-29 Andreas Jaeger <aj@suse.de>
15413 * sunrpc/netname.c (netname2host): Fix logic.
15417 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15419 * math/w_remainder.c (__remainder): Likewise.
15420 * math/w_remainderf.c (__remainderf): Likewise.
15421 * math/libm-test.inc (remainder_test): Add test cases.
15423 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15425 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15428 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15430 * string/test-memcmp.c: Avoid unncessary #defines.
15431 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15433 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15435 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15436 Use new sse2 version for core i3 - i7 as it's faster
15437 than sse42 version.
15438 (bit_Prefer_PMINUB_for_stringop): New.
15439 * sysdeps/x86_64/rawmemchr.S: Update.
15440 Replace with faster SSE2 version.
15441 * sysdeps/x86_64/memrchr.S: New file.
15442 * sysdeps/x86_64/memchr.S: Update.
15443 Replace with faster SSE2 version.
15445 2011-09-12 Marek Polacek <mpolacek@redhat.com>
15447 * elf/dl-load.c (lose): Add cast to avoid warning.
15449 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15451 * po/ca.po: Update from translation team.
15453 * inet/getnetgrent_r.c: Hook up nscd.
15454 * nscd/Makefile (routines): Add nscd_netgroup.
15455 (nscd-modules): Add netgroupcache.
15456 (CFLAGS-netgroupcache.c): Define.
15457 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15458 (cache_search): Add const to second parameter.
15459 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15461 (dbs): Add netgrdb entry.
15462 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15463 (verify_persistent_db): Handle netgrdb.
15464 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15465 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15467 (netgroup_response_header): Define.
15468 (innetgroup_response_header): Define.
15469 (datahead): Add netgroup_response_header and innetgroup_response_header
15471 * nscd/nscd.conf: Add entries for netgroup cache.
15472 * nscd/nscd.h (dbtype): Add netgrdb.
15473 (_PATH_NSCD_NETGROUP_DB): Define.
15474 (netgroup_iov_disabled): Declare.
15475 (xmalloc, xcalloc, xrealloc): Move declarations here.
15476 (cache_search): Adjust prototype.
15477 Add netgroup-related prototypes.
15478 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15479 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15480 (__nscd_innetgr): Declare.
15481 * nscd/selinux.c (perms): Use access_vector_t as element type and
15482 add netgroup-related initializers.
15483 * nscd/netgroupcache.c: New file.
15484 * nscd/nscd_netgroup.c: New file.
15485 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15486 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15487 For four parameters use innetgr.
15488 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15489 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15490 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15491 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15493 * nscd/connections.c (register_traced_file): Don't register file
15494 for disabled databases.
15496 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15498 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15500 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15501 from tree and freeing node.
15503 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15505 * nss/nsswitch.c (__nss_database_lookup): Handle
15506 nss_parse_service_list out of memory case.
15508 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15510 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15511 out of memory case.
15513 2011-10-04 Andreas Schwab <schwab@redhat.com>
15515 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15516 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15518 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15519 elf_machine_rela, elf_machine_lazy_rel.
15520 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15521 (ELF_DYNAMIC_DO_REL): Likewise.
15522 (ELF_DYNAMIC_DO_RELA): Likewise.
15523 (ELF_DYNAMIC_RELOCATE): Likewise.
15524 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15525 to ELF_DYNAMIC_DO_REL.
15526 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15527 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15528 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15530 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15531 skip_ifunc, don't call ifunc function if non-zero.
15532 (elf_machine_rela): Likewise.
15533 (elf_machine_lazy_rel): Likewise.
15534 (elf_machine_lazy_rela): Likewise.
15535 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15536 (elf_machine_lazy_rel): Likewise.
15537 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15539 (elf_machine_lazy_rel): Likewise.
15540 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15542 (elf_machine_lazy_rel): Likewise.
15543 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15544 (elf_machine_lazy_rel): Likewise.
15545 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15546 (elf_machine_lazy_rel): Likewise.
15547 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15548 (elf_machine_lazy_rel): Likewise.
15549 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15550 (elf_machine_lazy_rel): Likewise.
15551 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15552 (elf_machine_lazy_rel): Likewise.
15553 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15554 (elf_machine_lazy_rel): Likewise.
15556 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15558 * nss/nss_files/files-init.c (_nss_files_init): Use static
15559 initialization for all the *_traced_file variables.
15561 2011-09-28 Andreas Schwab <schwab@redhat.com>
15563 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15565 2011-09-27 Roland McGrath <roland@hack.frob.com>
15568 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15570 2011-09-27 Andreas Schwab <schwab@redhat.com>
15572 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15573 Reread the line before reparsing it.
15575 2011-09-26 Andreas Schwab <schwab@redhat.com>
15577 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15579 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15580 Maxim Kuvyrkov <maxim@codesourcery.com>
15581 Joseph Myers <joseph@codesourcery.com>
15583 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15584 if needed for __stack_chk_guard.
15586 2011-09-19 Roland McGrath <roland@hack.frob.com>
15588 * sysdeps/posix/spawni.c (script_execute): Always define it.
15589 It will be optimized away if unused.
15590 (maybe_script_execute): New function.
15591 (__spawni): Call it.
15593 * Makerules: Don't include tls.make.
15594 (config-tls): Always set to thread.
15595 * tls.make.c: File removed.
15597 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15599 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15600 * config.make.in (CPPFLAGS-config): New substituted variable.
15602 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15604 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15607 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15608 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15610 2011-09-15 Roland McGrath <roland@hack.frob.com>
15612 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15613 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15614 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15615 (CALL_FAIL): Likewise.
15616 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15617 (CALL_FAIL): Macro removed.
15618 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15620 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15622 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15623 for __FINITE_MATH_ONLY__ == 1.
15625 2011-09-15 Andreas Schwab <schwab@redhat.com>
15627 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15628 __ieee754_sqrt instead of sqrt.
15629 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15630 __ieee754_sqrtf instead of sqrtf.
15631 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15632 __floorf instead of floorf.
15633 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15634 __floorf, __truncf instead of floorf, truncf.
15636 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15638 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15640 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15641 __extern_always_inline.
15642 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15645 2011-09-14 Andreas Schwab <schwab@redhat.com>
15647 * elf/rtld.c (dl_main): Also relocate in dependency order when
15648 doing symbol dependency testing.
15650 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15652 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15653 Always define `refsym'.
15655 2011-09-13 Andreas Schwab <schwab@redhat.com>
15657 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15658 (__FD_ELT): Renamed from __FDELT.
15659 * misc/bits/select2.h (__FD_ELT): Likewise.
15660 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15661 __FD_MASK instead of __FDELT, __FDMASK.
15662 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15664 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15667 * elf/Makefile (gen-ldd): Fix pattern.
15669 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15670 (init_tls): Likewise.
15672 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15674 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15676 2011-09-12 Andreas Schwab <schwab@redhat.com>
15678 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15679 `struct cmsghdr *' instead of `void *'.
15680 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15683 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15685 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15687 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15688 ldd_rewrite_script.
15690 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15692 * configure.in: Remove --with-tls option.
15693 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15694 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15695 out in case it is missing.
15696 * sysdeps/ia64/elf/configure.in: Likewise.
15697 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15698 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15699 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15700 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15701 * sysdeps/sh/elf/configure.in: Likewise.
15702 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15703 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15704 * sysdeps/x86_64/elf/configure.in: Likewise.
15705 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15706 * sysdeps/mach/hurd/tls.h: Likewise.
15709 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15712 * configure.in: Fix use of AC_INIT.
15714 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15716 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15718 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15720 * malloc/hooks.c: Likewise.
15723 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15724 variables statically.
15725 (narenas): Initialize.
15726 (list_lock): Initialize.
15727 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15728 initializtion of main_arena and list_lock. Small cleanups.
15729 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15730 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15731 Add initializers to main_arena and mp_.
15732 (malloc_state): Remove pagesize member. Change all users to use
15735 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15736 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15737 is always initialized.
15739 * malloc/malloc.c: Removed unused configurations and dead code.
15740 * malloc/arena.c: Likewise.
15741 * malloc/hooks.c: Likewise.
15742 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15744 * include/tls.h: Removed. USE___THREAD must always be defined.
15745 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15746 * elf/dl-libc.c: Likewise.
15747 * elf/dl-tsd.c: Likewise.
15748 * include/errno.h: Likewise.
15749 * include/netdb.h: Likewise.
15750 * include/resolv.h: Likewise.
15751 * inet/herrno-loc.c: Likewise.
15752 * inet/herrno.c: Likewise.
15753 * malloc/arena.c: Likewise.
15754 * malloc/hooks.c: Likewise.
15755 * malloc/malloc.c: Likewise.
15756 * resolv/res-state.c: Likewise.
15757 * resolv/res_libc.c: Likewise.
15758 * sysdeps/i386/dl-machine.h: Likewise.
15759 * sysdeps/ia64/dl-machine.h: Likewise.
15760 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15761 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15762 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15763 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15764 * sysdeps/sh/dl-machine.h: Likewise.
15765 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15766 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15767 * sysdeps/unix/i386/sysdep.S: Likewise.
15768 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15769 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15770 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15772 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15774 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15775 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15776 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15778 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15779 * sysdeps/x86_64/dl-machine.h: Likewise.
15780 * tls.make.c: Likewise.
15782 * configure.in: Remove --with-__thread option. Make tests for
15783 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15784 tls_model attribute fail if no support is available. Remove
15786 * Makeconfig: Adjust for dropped configure option. All features are
15788 * Makerules: Likewise.
15789 * Versions.def: Likewise.
15790 * argp/argp-fmtstream.c: Likewise.
15791 * argp/argp-fmtstream.h: Likewise.
15792 * argp/argp-help.c: Likewise.
15793 * assert/assert.c: Likewise.
15794 * config.h.in: Likewise.
15795 * config.make.in: Likewise.
15796 * configure: Likewise.
15797 * configure.in: Likewise.
15798 * csu/Versions: Likewise.
15799 * csu/init.c: Likewise.
15800 * elf/tst-audit2.c: Likewise.
15801 * elf/tst-tls10.c: Likewise.
15802 * elf/tst-tls10.h: Likewise.
15803 * elf/tst-tls11.c: Likewise.
15804 * elf/tst-tls12.c: Likewise.
15805 * elf/tst-tls14.c: Likewise.
15806 * elf/tst-tlsmod11.c: Likewise.
15807 * elf/tst-tlsmod12.c: Likewise.
15808 * elf/tst-tlsmod13.c: Likewise.
15809 * elf/tst-tlsmod13a.c: Likewise.
15810 * elf/tst-tlsmod14a.c: Likewise.
15811 * elf/tst-tlsmod15b.c: Likewise.
15812 * elf/tst-tlsmod16a.c: Likewise.
15813 * elf/tst-tlsmod16b.c: Likewise.
15814 * elf/tst-tlsmod7.c: Likewise.
15815 * elf/tst-tlsmod8.c: Likewise.
15816 * elf/tst-tlsmod9.c: Likewise.
15817 * gmon/gmon.c: Likewise.
15818 * grp/fgetgrent_r.c: Likewise.
15819 * grp/putgrent.c: Likewise.
15820 * hurd/fopenport.c: Likewise.
15821 * include/libc-symbols.h: Likewise.
15822 * include/tls.h: Likewise.
15823 * intl/gettextP.h: Likewise.
15824 * intl/loadinfo.h: Likewise.
15825 * locale/global-locale.c: Likewise.
15826 * locale/localeinfo.h: Likewise.
15827 * mach/devstream.c: Likewise.
15828 * malloc/arena.c: Likewise.
15829 * malloc/set-freeres.c: Likewise.
15830 * misc/err.c: Likewise.
15831 * misc/getttyent.c: Likewise.
15832 * misc/mntent_r.c: Likewise.
15833 * posix/getopt.c: Likewise.
15834 * posix/wordexp.c: Likewise.
15835 * pwd/fgetpwent_r.c: Likewise.
15836 * resolv/Versions: Likewise.
15837 * resolv/res_hconf.c: Likewise.
15838 * shadow/fgetspent_r.c: Likewise.
15839 * shadow/putspent.c: Likewise.
15840 * stdio-common/printf_fphex.c: Likewise.
15841 * stdio-common/tmpfile.c: Likewise.
15842 * stdlib/abort.c: Likewise.
15843 * stdlib/fmtmsg.c: Likewise.
15844 * sunrpc/auth_unix.c: Likewise.
15845 * sunrpc/clnt_perr.c: Likewise.
15846 * sunrpc/clnt_tcp.c: Likewise.
15847 * sunrpc/clnt_udp.c: Likewise.
15848 * sunrpc/clnt_unix.c: Likewise.
15849 * sunrpc/openchild.c: Likewise.
15850 * sunrpc/svc_simple.c: Likewise.
15851 * sunrpc/svc_tcp.c: Likewise.
15852 * sunrpc/svc_udp.c: Likewise.
15853 * sunrpc/svc_unix.c: Likewise.
15854 * sunrpc/xdr.c: Likewise.
15855 * sunrpc/xdr_array.c: Likewise.
15856 * sunrpc/xdr_rec.c: Likewise.
15857 * sunrpc/xdr_ref.c: Likewise.
15858 * sunrpc/xdr_stdio.c: Likewise.
15860 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15862 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15864 2011-07-03 Andreas Jaeger <aj@suse.de>
15866 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15867 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15868 regenerate with gen-libm-tests.pl.
15870 2010-05-12 Petr Baudis <pasky@suse.cz>
15873 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15874 around j0() zero points by switching to j1().
15875 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15876 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15878 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15880 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15882 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15884 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15886 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15887 Patch in part by Pavel Roskin <proski@gnu.org>.
15890 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15892 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15893 Free memory block if necessary.
15896 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15897 be NULL. Don't lock in this case.
15899 2011-09-09 Roland McGrath <roland@hack.frob.com>
15901 * elf/elf.h (ELFOSABI_GNU): New macro.
15902 (ELFOSABI_LINUX): Define to that.
15904 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15906 * string/strncat.c (strncat): Undef the symbol in case it has been
15907 defined in bits/string.h.
15909 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15911 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15913 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15916 2011-08-17 Andreas Jaeger <aj@suse.de>
15918 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15920 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15921 Ian Lance Taylor <iant@google.com>
15923 * math/libm-test.inc (lround_test): New testcase.
15924 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15926 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15928 * Makefile: Remove support for automatic cvs check-ins.
15929 * Makerules: Likewise.
15930 * config.make.in: Likewise.
15931 * configure.in: Likewise.
15932 * intl/Makefile: Likewise.
15933 * locale/Makefile: Likewise.
15934 * po/Makefile: Likewise.
15935 * posix/Makefile: Likewise.
15936 * sysdeps/gnu/Makefile: Likewise.
15937 * sysdeps/mach/hurd/Makefile: Likewise.
15938 * sysdeps/sparc/sparc32/Makefile: Likewise.
15941 * posix/Makefile (bug-regex32-ENV): Define.
15942 Patch by John Stanley <jpsinthemix@verizon.net>.
15944 * misc/Makefile (headers): Add bits/select2.h.
15945 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15946 * misc/bits/select2.h: New file.
15947 * include/bits/select2.h: New file.
15948 * debug/Makefile (routines): Add fdelt_chk.
15949 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15950 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15952 * debug/fdelt_chk.c: New file.
15954 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15955 * wcsmbs/test-wmemcmp.c: Likewise.
15956 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15957 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15959 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15961 * string/Makefile (strop-tests): Add memcmp.
15962 * string/test-wmemcmp.c: New file.
15963 * string/test-memcmp.c: Add wmemcmp support.
15965 2011-09-08 Roland McGrath <roland@hack.frob.com>
15968 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15971 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15972 garbage value in a __mach_port_mod_refs call in the cases of the
15973 task-self and thread-self ports.
15975 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15977 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15979 2011-09-08 Andreas Schwab <schwab@redhat.com>
15981 * elf/dl-load.c (lose): Check for non-null L.
15983 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15985 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15987 * elf/dl-libc.c (dlerror_run): Pass back error code from
15991 * elf/dl-load.c (lose): Free l_origin if it is valid.
15993 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15995 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15996 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15997 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15998 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15999 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16000 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16002 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16004 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16005 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16006 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16007 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16008 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16009 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16010 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16011 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16012 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16013 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16015 2011-08-15 Alan Modra <amodra@gmail.com>
16018 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16019 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16020 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16021 ppc_mcount to static-only-routines.
16022 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16024 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16025 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16027 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16029 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16030 for finite and infinity parameters.
16032 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16034 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16035 and add nop instructions for throughput optimization.
16036 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16038 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16040 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16041 aligned copy for power7 with vector-scalar instructions.
16042 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16044 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16049 2011-09-07 Andreas Schwab <schwab@redhat.com>
16052 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16055 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16057 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16058 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16059 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16060 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16063 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16065 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16066 Forgot to demangle the pointer.
16068 * sysdeps/i386/sysdep.h: Define atom_text_section.
16069 * sysdeps/x86_64/sysdep.h: Likewise.
16070 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16071 section with atom_text_section.
16072 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16073 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16074 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16075 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16076 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16078 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16079 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16080 already be defined. Change to take two parameters and don't assign
16081 result to variable. Adjust all users.
16082 Define INTERNAL_GETTIME if not already defined.
16083 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16085 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16086 HAVE_CLOCK_GETTIME_VSYSCALL.
16087 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16089 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16090 gettimeofday vsyscall, just use time.
16092 2011-09-06 Andreas Schwab <schwab@redhat.com>
16094 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16097 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16099 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16103 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16104 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16105 syscall if possible.
16107 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16109 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16110 e_ident. Don't pass to find_mapsXX.
16111 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16113 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16115 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16116 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16117 * sysdeps/x86_64/multiarch/strchr.S: Update.
16118 Check bit_slow_BSF bit.
16119 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16120 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16121 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16123 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16126 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16128 (tryshell): Define.
16129 (__spawni): Change last parameter to be flag. Test
16130 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16131 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16132 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16133 * posix/spawni.c: Likewise.
16134 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16135 * posix/spawnp.c: Likewise. Change normal version to use
16136 SPAWN_XFLAGS_USE_PATH.
16137 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16138 SPAWN_XFLAGS_TRY_SHELL.
16141 * posix/glob.h: Remove gcc 1.x support.
16144 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16146 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16149 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16151 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16152 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16153 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16154 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16155 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16156 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16158 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16160 * sysdeps/x86_64/wcscmp.S: New file.
16162 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16163 wcscmp-c wcscmp-sse2
16164 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16165 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16166 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16167 * wcsmbs/wcscmp.c: Allow renaming.
16169 2011-09-05 David S. Miller <davem@davemloft.net>
16171 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16172 stack slot, rather than the struct return pointer slot.
16173 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16174 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16176 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16178 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16180 * po/ja.po: Update from translation team.
16183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16184 kernel in 64-bit binaries.
16186 2011-09-01 David S. Miller <davem@davemloft.net>
16188 * elf/elf.h (HWCAP_SPARC_*): Move to..
16189 * sysdeps/sparc/sysdep.h: this new file and add new values.
16190 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16191 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16192 _DL_HWCAP_COUNT to 24.
16193 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16195 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16196 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16197 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16199 instead of magic constants.
16200 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16202 2011-08-31 David S. Miller <davem@davemloft.net>
16204 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16205 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16206 Reimplement to do errno handling inline.
16207 (SYSCALL_ERROR_HANDLER): New macro.
16208 (__SYSCALL_STRING): Do not do errno handling in asm.
16209 (__CLONE_SYSCALL_STRING): Delete.
16210 (__INTERNAL_SYSCALL_STRING): Delete.
16211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16212 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16213 (PSEUDO): Reimplement to do errno handling inline.
16214 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16215 (SYSCALL_ERROR_HANDLER): New macro.
16216 (__SYSCALL_STRING): Do not do errno handling in asm.
16217 (__CLONE_SYSCALL_STRING): Delete.
16218 (__INTERNAL_SYSCALL_STRING): Delete.
16219 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16220 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16222 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16223 (inline_syscall*): Add 'err' argument.
16224 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16225 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16226 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16227 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16229 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16230 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16232 2011-08-30 Andreas Schwab <schwab@redhat.com>
16234 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16236 2011-08-29 Jiri Olsa <jolsa@redhat.com>
16238 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16241 2011-08-24 David S. Miller <davem@davemloft.net>
16243 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16245 2011-08-24 Andreas Schwab <schwab@redhat.com>
16247 * elf/Makefile: Add rules to build and run unload8 test.
16248 * elf/unload8.c: New file.
16249 * elf/unload8mod1.c: New file.
16250 * elf/unload8mod1x.c: New file.
16251 * elf/unload8mod2.c: New file.
16252 * elf/unload8mod3.c: New file.
16254 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16257 2011-08-23 David S. Miller <davem@davemloft.net>
16259 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16260 subtract stack bias.
16261 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16262 %sp not %fp in calculations.
16263 (_JMPBUF_UNWINDS_ADJ): Likewise.
16265 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16266 (aio_suspend): Call it to force an exception region around the
16267 AIO_MISC_WAIT() invocation.
16269 2011-08-23 Andreas Schwab <schwab@redhat.com>
16271 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16274 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16276 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16278 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16279 and <dl-machine.h>.
16280 (Elf64_FuncDesc): Remove.
16282 2011-08-22 David S. Miller <davem@davemloft.net>
16284 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16285 sigaltstack check, add missing cfi directives.
16286 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16287 missing cfi directives, and sigaltstack handling.
16289 2011-08-16 Andreas Schwab <schwab@redhat.com>
16292 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16293 object is seen twice.
16294 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16296 * elf/Makefile (distribute): Add tst-initorder2.c.
16297 (tests): Add tst-initorder2.
16298 (modules-names): Add tst-initorder2a tst-initorder2b
16299 tst-initorder2c tst-initorder2d. Add rules to build them.
16300 ($(objpfx)tst-initorder2.out): New rule.
16301 * elf/tst-initorder2.c: New file.
16302 * elf/tst-initorder2.exp: New file.
16304 2011-08-22 Andreas Schwab <schwab@redhat.com>
16306 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16308 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16309 dependencies back to end of function.
16311 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16312 $(elfobjdir)/ld.so.
16314 2011-08-21 Ulrich Drepper <drepper@gmail.com>
16316 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16317 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16318 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16319 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16320 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16321 of __vdso_gettimeofday.
16322 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16323 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16325 (_libc_vdso_platform_setup): Remove initialization of
16326 __vdso_gettimeofday and __vdso_time.
16328 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16330 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16331 and fgetc_unlocked.
16332 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16335 * elf/dl-open.c (add_to_global): Report additions to the global scope
16336 for LD_DEBUG=scopes.
16337 (dl_open_worker): Also print scope of newly loaded dependencies.
16338 (_dl_show_scope): Indicate if there is no scope.
16341 * stdio-common/Makefile (tests): Add bug24.
16342 * stdio-common/bug24.c: New file.
16344 2011-08-19 Andreas Jaeger <aj@suse.de>
16347 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16348 non-existant file when using close-on-exec mode.
16350 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16352 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16353 the very first instruction.
16355 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16356 the CFI state in the end.
16357 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16358 inclusion of dl-trampoline.h.
16359 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16361 2011-08-19 Andreas Schwab <schwab@redhat.com>
16363 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16364 expectations for long double.
16366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16367 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16369 2011-08-14 David S. Miller <davem@davemloft.net>
16371 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16372 artificual limit depends upon the system page size.
16374 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16376 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16377 * resolv/Makefile: Define CFLAGS-libresolv.
16379 2011-08-17 Andreas Schwab <schwab@redhat.com>
16381 * nss/makedb.c (compute_tables): Make variables used in nested
16384 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16386 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16387 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16388 if buffer was too small.
16390 * elf/pldd.c (main): Attach to all threads in the process.
16391 Rewrite /proc handling to use *at functions.
16393 2011-08-16 Ulrich Drepper <drepper@gmail.com>
16395 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16396 specifies first scope to show.
16397 (dl_open_worker): Update callers. Move printing scope of new
16398 object to before the relocation.
16399 * elf/rtld.c (dl_main): Update _dl_show_scope call.
16400 * sysdeps/generic/ldsodefs.h: Update declaration.
16402 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16403 string for the scope number.
16405 2011-08-14 Ulrich Drepper <drepper@gmail.com>
16407 * nscd/servicescache.c (cache_addserv): Make sure written is always
16410 2011-08-14 Roland McGrath <roland@hack.frob.com>
16412 * sysdeps/i386/i486/bits/atomic.h
16413 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16414 statement expression, so as to suppress "set but not used" warning.
16415 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16417 * string/strncat.c (STRNCAT): Use prototype definition.
16419 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16420 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16422 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16423 (localedef-modules): Add localedef.
16424 (locale-modules): Add locale.
16426 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16427 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16428 to avoid a warning.
16430 2011-08-14 David S. Miller <davem@davemloft.net>
16432 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16433 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16435 2011-08-13 Ulrich Drepper <drepper@gmail.com>
16437 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
16438 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16439 * elf/rtld.c (dl_main): Set l_name of vDSO.
16440 Call _dl_show_scope when DL_DEBUG_SCOPES.
16441 (process_dl_debug): Recognize scopes flag and also set it for all.
16442 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16443 Declare _dl_show_scope.
16445 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16446 (do_dlopen): Pass caller_dlopen to dl_open.
16447 (__libc_dlopen_mode): Initialize caller_dlopen.
16449 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16450 of libc. Make tolower call locale-independent. Optimize a bit by
16451 using isdigit instead of isalnum.
16452 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16454 2011-08-12 Ulrich Drepper <drepper@gmail.com>
16456 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16457 was a dependency or dynamically loaded.
16459 2011-08-11 Ulrich Drepper <drepper@gmail.com>
16461 * intl/l10nflist.c: Allow architecture-specific pop function.
16462 * sysdeps/x86_64/l10nflist.c: New file.
16464 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16467 2011-08-10 Andreas Schwab <schwab@redhat.com>
16469 * include/dirent.h: Add libc_hidden_proto for scandirat and
16470 scandirat64. Don't declare __scandirat64.
16471 * dirent/scandirat.c: Add libc_hidden_def.
16472 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16473 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16475 2011-08-10 David S. Miller <davem@davemloft.net>
16477 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16479 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16480 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16481 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16483 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16485 * Versions.def [libc]: Add GLIBC_2.15.
16486 * dirent/Makefile (routines): Add scandirat and scandirat64.
16487 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16489 * dirent/dirent.h: Declare scandirat and scandirat64.
16490 * dirent/scandirat.c: New file.
16491 * dirent/scandirat64.c: New file.
16492 * sysdeps/wordsize-64/scandirat.c: New file.
16493 * sysdeps/wordsize-64/scandirat64.c: New file.
16494 * dirent/opendir.c: Define opendirat.
16495 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16497 * dirent/scandir64.c: Adjust for scandir.c change.
16498 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16499 __scandirat64, and __scandir_cancel_handler.
16500 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16501 additional parameter and use openat instead of open (outside of ld.so).
16502 Add new __opendir as wrapper around __opendirat.
16503 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16504 here without requiring old scandirat implementation.
16506 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16508 * dirent/scandir.c (cancel_handler): Renamed to
16509 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16510 defined. Adjust users.
16511 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16512 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16514 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16516 * string/test-string.h (IMPL): Use __STRING to expand name and then
16519 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16522 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16524 * string/Makefile: Update.
16525 (strop-tests): Append strncat.
16526 * string/test-wcscmp.c: New file.
16527 New comprehensive test for wcscmp.
16528 * string/test-strcmp.c: Update.
16529 (WIDE): New define.
16531 2011-07-22 Andreas Schwab <schwab@redhat.com>
16533 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16536 2011-07-26 Andreas Schwab <schwab@redhat.com>
16538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16539 encoding to ACE if AI_IDN.
16541 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16544 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16546 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16548 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16549 Fix overflow bug in strncat.
16550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16552 * string/test-strncat.c: Update.
16553 Add new tests for checking overflow bugs.
16555 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16557 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16558 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16559 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16560 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16561 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16562 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16563 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16564 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16565 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16568 (USE_AS_STRCAT): Define.
16569 Add strcat and strncat support.
16570 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16572 2011-07-25 Andreas Schwab <schwab@redhat.com>
16574 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16575 __n bigger than INT_MAX+1.
16576 (__strncmp_g): Likewise.
16578 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16580 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16581 * libio/stido.h: Likewise.
16583 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16588 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16589 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16591 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16592 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16595 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16600 (_dl_x86_64_save_sse): Likewise.
16602 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16604 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16606 (_dl_x86_64_save_sse): Likewise.
16608 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16610 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16612 2011-07-21 Andreas Schwab <schwab@redhat.com>
16614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16616 (_dl_x86_64_save_sse): Use correct AVX check.
16618 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16620 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16621 bug in strncpy/strncat.
16622 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16624 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16626 * string/tester.c (test_strcat): Add tests for different alignments
16627 of source and destination.
16628 (test_strncat): Likewise.
16630 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16633 * posix/glob.c (glob): Check passed in values before using them in
16634 expressions to avoid some overflows.
16635 (glob_in_dir): Likewise.
16638 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16639 check for AVX enablement so that we don't crash with old kernels and
16641 * elf/tst-audit4.c: Add same checks here.
16642 * elf/tst-audit6.c: Likewise.
16644 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16646 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16648 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16650 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16652 * po/cs.po: Update from translation team.
16653 * po/bg.po: Likewise.
16655 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16657 * misc/sys/cdefs.h: Add support for const attribute.
16658 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16659 to gnu_dev_{major,minor,makedev} functions.
16661 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16663 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16665 2011-07-20 Andreas Schwab <schwab@redhat.com>
16667 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16670 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16673 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16674 register in order to avoid conflicts with the soft frame pointer
16675 being held in r11 when necessary.
16676 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16677 (INTERNAL_VSYSCALL_NCS): Likewise.
16679 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16681 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16682 * elf/dl-fini.c (_dl_fini): Adjust caller.
16683 * elf/dl-close.c (_dl_close_worker): Likewise.
16684 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16686 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16688 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16689 "aux_cache->nlibs < 0".
16691 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16692 in the reload-count case.
16694 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16697 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16698 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16699 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16700 * sysdeps/x86_64/multiarch/strcat.S: New file.
16701 * sysdeps/x86_64/multiarch/strncat.S: New file.
16702 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16703 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16704 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16705 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16707 (USE_AS_STRCAT): Define.
16708 Add strcat and strncat support.
16709 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16710 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16711 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16712 * string/strncat.c: Update.
16713 (USE_AS_STRNCAT): Define.
16714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16715 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16717 * sysdeps/x86_64/multiarch/init-arch.h
16718 (bit_Prefer_PMINUB_for_stringop): New.
16719 (index_Prefer_PMINUB_for_stringop): Likewise.
16720 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16721 bit_Prefer_PMINUB_for_stringop.
16723 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16725 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16727 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16728 of casting of buffer.
16729 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16730 buffer32 and buffer64.
16731 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16732 writes instead of casting of buffer.
16733 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16735 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16738 2011-07-19 Andreas Schwab <schwab@redhat.com>
16740 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16742 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16744 * nscd/nscd.c (termination_handler): Don't do anything for a database
16745 if it has not yet been initialized.
16747 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16749 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16751 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16753 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16755 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16757 * po/nl.po: Update from translation team.
16758 * po/sv.po: Likewise.
16760 2011-07-16 Roland McGrath <roland@hack.frob.com>
16762 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16763 now disallowed by GCC.
16765 * configure.in (use-default-link): Default to yes if a test -shared
16766 link meets our qualifications.
16767 * configure: Regenerated.
16769 * config.make.in (output-format): New variable.
16770 * configure.in: Check for ld --print-output-format support.
16771 * configure: Regenerated.
16772 * Makerules ($(common-objpfx)format.lds)
16773 [$(output-format) != unknown]: Just use $(output-format),
16774 instead of the linker-script munging.
16776 2011-07-14 Roland McGrath <roland@hack.frob.com>
16778 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16779 of $(common-objpfx)shlib.lds.
16780 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16782 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16783 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16785 * configure.in (-z relro check): Adjust test code to add a large
16786 writable data section after it.
16787 * configure: Regenerated.
16789 2011-07-11 Roland McGrath <roland@hack.frob.com>
16791 * configure.in (-z relro check): Fix test code to make the variable
16793 * configure: Regenerated.
16795 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16797 * nscd/nscd.h (struct traced_file): Define.
16798 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16799 elements. Add traced_files.
16800 (inotify_fd): Declare.
16801 (register_traced_file): Declare.
16802 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16803 (inotify_fd): Export.
16804 (resolv_conf_descr): Remove.
16805 (nscd_init): Move inotify descriptor creation to main.
16806 Don't register files for notification here.
16807 (register_traced_file): New function.
16808 (invalidate_cache): Don't use reset_res to determine whether to call
16809 res_init, go through the list of registered files.
16810 (main_loop_poll): The inotify descriptors are now stored in the
16811 structures for the traced files.
16812 (main_loop_epoll): Likewise
16813 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16814 to __nss_disable_nscd.
16815 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16816 for a database anymore. Check the records for all the registered
16818 * nss/Makefile (libnss_files-routines): Add files-init.
16819 (libnss_db-routines): Add db-init.
16820 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16821 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16822 * nss/nss_db/db-init.c: New file.
16823 * nss/nss_files/files-init.c: New file.
16824 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16825 __nss_lookup_function.
16826 (__nss_lookup_function): Call nss_load_library.
16827 (nss_load_all_libraries): New function.
16828 (__nss_disable_nscd): Take parameter with callback function for files
16829 to register. Set is_nscd. Load all the DSOs for the NSS modules
16830 used for the cached services.
16831 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16832 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16833 options for features to all the files in nscd.
16835 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16837 2011-07-10 Roland McGrath <roland@hack.frob.com>
16839 * csu/elf-init.c (__libc_csu_init): Comment typo.
16841 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16843 * po/pl.po: Update from translation team.
16844 * po/ja.po: Likewise.
16845 * po/ru.po: Likewise.
16846 * po/ko.po: Likewise.
16847 * po/fr.po: Likewise.
16849 2011-07-09 Roland McGrath <roland@hack.frob.com>
16851 * configure.in (.ctors/.dtors header and trailer check):
16852 Use an empirical test on a built program.
16853 * configure: Regenerated.
16855 * configure.in (-z relro check): Use an empirical test on a built DSO.
16856 Detect, but do not require, on ia64.
16857 * configure: Regenerated.
16859 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16860 Update tests that use readelf to use $READELF instead.
16861 * configure: Regenerated.
16863 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16865 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16866 if the result is not used.
16868 2011-07-05 Andreas Jaeger <aj@suse.de>
16871 * stdlib/tst-strtod.c: Add testcase.
16873 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16875 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16876 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16877 The latter has a higher limit. Take additional parameter to pass to
16879 (__pathconf): Pass file to __statfs_link_max.
16880 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16882 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16886 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16887 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16889 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16890 (__statfs_filesize_max): Likewise.
16891 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16893 2011-07-05 Andreas Jaeger <aj@suse.de>
16895 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16897 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16899 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16901 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16904 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16906 * Makefile (strop-tests): Add strncat.
16907 * string/test-strncat.c: New file.
16909 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16911 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16913 2011-06-21 Andreas Jaeger <aj@suse.de>
16915 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16916 Copy rule from iconvdata/Makefile.
16918 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16921 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16922 but no long options are defined, just return 'W'.
16924 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16927 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16929 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16931 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16933 (innetgr): Likewise.
16935 2011-07-05 Roland McGrath <roland@hack.frob.com>
16937 * config.make.in (install_root): Default to $(DESTDIR).
16939 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16941 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16943 2011-07-02 Roland McGrath <roland@hack.frob.com>
16945 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16947 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16948 containing directory rather than embedding absolute directory names.
16950 * scripts/check-local-headers.sh: Rewritten using awk.
16951 Match by word, not by line. Print error messages for matches.
16952 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16954 * Makerules [shlib-lds-flags empty]:
16955 ($(common-objpfx)libc_pic.opts): New target.
16956 ($(common-objpfx)libc_pic.os.clean): New target.
16957 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16959 * config.make.in (OBJCOPY): New variable.
16960 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16961 * configure: Regenerated.
16963 * config.make.in (use-default-link): New variable.
16964 * configure.in (use_default_link): Grok --with-default-link to set it.
16965 * configure: Regenerated.
16966 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16967 (shlib-lds, shlib-lds-flags): Define to empty.
16969 * Makerules (shlib-lds): New variable.
16970 (shlib-lds-flags): New variable.
16971 (build-shlib, build-moduile, build-module-asneeded): Use it.
16972 ($(common-objpfx)libc.so): Use $(shlib-lds).
16973 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16974 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16976 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16977 DT_FLAGS/DT_FLAGS_1 with zero flags.
16979 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16980 linker script munging.
16982 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16984 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16986 * crypt/sha512.c (sha512_process_block): Perform total addition using
16987 128-bit if possible.
16988 (__sha512_finish_ctx): Likewise.
16989 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16991 * crypt/sha256.c (SWAP64): Define.
16992 (sha256_process_block): Perform total addition using 64-bit if
16994 (__sha256_finish_ctx): Likewise.
16996 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16998 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17000 * nscd/hstcache.c (cache_addhst): Likewise.
17001 * nscd/grpcache.c (cache_addgr): Likewise.
17002 * nscd/aicache.c (addhstaiX): Likewise
17003 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17005 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
17007 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17008 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17009 * nscd/hstcache.c (cache_addhst): Likewise.
17010 * nscd/grpcache.c (cache_addgr): Likewise.
17011 * nscd/aicache.c (addhstaiX): Likewise
17013 2011-07-01 Andreas Schwab <schwab@redhat.com>
17015 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17016 domain only when needed.
17018 2011-06-30 Andreas Schwab <schwab@redhat.com>
17020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17021 is always restored.
17023 2011-06-29 Ulrich Drepper <drepper@gmail.com>
17025 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17026 are re-adding the entry.
17027 * nscd/servicescache.c (cache_addserv): Likewise.
17029 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17031 * sysdeps/generic/dl-irel.h: fix protection against multiple
17033 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17035 2011-06-28 Ulrich Drepper <drepper@gmail.com>
17038 * malloc/memusage.sh: Fix quoting in message.
17039 * debug/xtrace.sh: Likewise.
17041 * configure.in: Remove support for --experimental-malloc option, make
17043 * config.make.in: Likewise.
17044 * malloc/Makefile: Likewise.
17046 2011-06-27 Andreas Schwab <schwab@redhat.com>
17048 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17049 two-byte characters.
17051 2011-06-27 Roland McGrath <roland@hack.frob.com>
17053 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17054 AC_CACHE_CHECK invocation.
17055 * configure: Regenerated.
17057 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17059 2011-06-27 Ulrich Drepper <drepper@gmail.com>
17062 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17063 bit from old_res_options.
17065 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17067 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17068 value type for setfct.
17070 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17072 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17073 __gettimeofday instead of gettimeofday.
17075 2011-06-26 Ulrich Drepper <drepper@gmail.com>
17077 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17079 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17081 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17086 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17089 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17090 strcpy-sse2-unaligned strncpy-sse2-unaligned
17091 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17092 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17093 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17094 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17095 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17097 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17098 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17099 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17100 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17101 (STRCPY): Support SSE2 and SSSE3 versions.
17103 2011-06-24 Ulrich Drepper <drepper@gmail.com>
17106 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17107 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17108 kernels which artificially limit size of requests.
17110 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17113 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17114 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17115 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17116 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17117 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17118 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17119 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17120 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17121 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17122 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17123 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17124 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17125 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17126 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17128 Enable unaligned load optimization for Intel Core i3, i5 and i7
17130 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17132 (index_Fast_Unaligned_Load): Define.
17133 (HAS_FAST_UNALIGNED_LOAD): Define.
17135 2011-06-23 Marek Polacek <mpolacek@redhat.com>
17137 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17139 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17142 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17143 until it is clear that the information is realy needed.
17144 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17146 2011-06-22 Andreas Schwab <schwab@redhat.com>
17148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17150 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17152 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17153 /sys/devices/system/cpu/online if it is usable.
17155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17156 reading the information from the /proc filesystem to once a second.
17158 2011-06-21 Andreas Jaeger <aj@suse.de>
17160 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17161 NULL after inclusion of kernel headers.
17163 2011-06-21 Ulrich Drepper <drepper@gmail.com>
17165 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17166 calls to internal_setent.
17169 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17170 addresses using gethostbyname4_r ignore IPv4 addresses.
17172 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17173 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17175 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17177 2011-06-20 David S. Miller <davem@davemloft.net>
17179 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17181 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17183 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17184 (elf_irel): Use it.
17185 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17186 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17187 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17188 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17189 * sysdeps/x86_64/dl-irel.h: Likewise.
17191 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17192 * elf/dl-sym.c: Likewise.
17194 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17196 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17197 need to dereference resplen2.
17199 2011-06-14 Andreas Schwab <schwab@redhat.com>
17201 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17203 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17205 * Makeconfig: Define vardbdir and inst_vardbdir.
17206 * nss/Makefile: Add rules to install db-Makefile.
17208 * nss/nss_db/db-XXX.c: Cleanup.
17210 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17211 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17213 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17214 * nss/makedb.c: Implement -g option to specify that value strings
17215 are generated and should not be added to table iterated over for
17217 * nss/nss_db/db-initgroups.c: New file.
17219 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17222 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17223 (internal_getgrouplist): Adjust to name change.
17224 Update use_initgroups_entry if this is not the first call.
17225 * nss/databases.def: Add initgroups entry.
17227 * nss/makedb.c (compute_tables): Check result of multiple hash table
17228 sizes to minimize maximum chain length.
17230 2011-06-14 Ulrich Drepper <drepper@gmail.com>
17232 * Versions.def: Add entry for libnss_db.
17233 * shlib-versions: Likewise.
17234 * nss/Makefile: Add rules to build libnss_db.
17235 * nss/Versions: Add libnss_db information. Organize libnss_files
17237 * nss/db-Makefile: Add gshadow support. Change rules for the new
17238 makedb progra. Some minor improvements to generate smaller files.
17239 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17241 * nss/makedb.c: ...here.
17242 Improve database format to be smaller and require less memory at
17244 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17246 * nss/nss_db/db-netgrp.c: Likewise.
17247 * nss/nss_db/db-open.c: Likewise.
17248 * nss/nss_files/flies-XXX.x: Adjust comments.
17249 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17250 * nss/nss_files/files-grp.c: Likewise.
17251 * nss/nss_files/files-hosts.c: Likewise.
17252 * nss/nss_files/files-network.c: Likewise.
17253 * nss/nss_files/files-proto.c: Likewise.
17254 * nss/nss_files/files-pwd.c: Likewise.
17255 * nss/nss_files/files-rpc.c: Likewise.
17256 * nss/nss_files/files-service.c: Likewise.
17257 * nss/nss_files/files-sgrp.c: Likewise.
17258 * nss/nss_files/files-spwd.c: Likewise.
17259 * nss/nss_db/db-alias.c: Removed.
17260 * nss/nss_db/dummy-db.h: Removed.
17262 2011-06-02 Ulrich Drepper <drepper@gmail.com>
17264 * nss/makedb.c: Rewritten to not use database library.
17265 * nss/Makefile: Update to build new makedb program.
17267 2011-06-14 Andreas Jaeger <aj@suse.de>
17269 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17270 memset declaration.
17272 2011-06-10 Andreas Schwab <schwab@redhat.com>
17274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17277 2011-06-10 Roland McGrath <roland@hack.frob.com>
17279 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17280 * elf/Makefile ($(objpfx)ld.so): Likewise.
17282 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17283 Don't list ld.so twice in dependencies.
17285 * posix/bug-regex31.c: Include <stdlib.h>.
17287 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17289 * nis/nss_compat/compat-spwd.c
17290 (getspent_next_nss_netgr): Remove unused variable.
17291 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17293 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17294 nonmembers" output to use the right array.
17296 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17298 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17300 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17301 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17302 * catgets/gencat.c (read_input_file): Likewise.
17303 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17305 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17306 variable definition inside #if's controlling its use.
17308 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17310 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17312 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17314 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17317 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17319 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17320 * configure: Regenerated.
17322 * Makerules: Revert last change.
17323 * elf/Makefile: Likewise.
17325 2011-06-09 Roland McGrath <roland@hack.frob.com>
17327 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17328 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17329 (reloc-link): Likewise.
17331 2011-06-09 Ulrich Drepper <drepper@gmail.com>
17333 * elf/Makefile: Add rules to build pldd.
17334 * elf/pldd.c: New file.
17335 * elf/pldd-xx.c: New file.
17337 2011-06-07 Ulrich Drepper <drepper@gmail.com>
17339 * version.h: Update for 2.15 development version.
17341 2011-06-07 David S. Miller <davem@davemloft.net>
17343 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17345 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17346 elf_machine_lazy_rel): Likewise.
17347 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17348 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17349 elf_machine_lazy_rel): Likewise.
17350 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17351 dl_hwcap via passed in argument.
17352 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17355 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17357 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17359 2011-06-06 Roland McGrath <roland@hack.frob.com>
17362 * manual/fdl-1.1.texi: New file, verbatim from:
17363 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17364 * manual/lgpl-2.1.texi: New file, verbatim from:
17365 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17366 * manual/Makefile (licenses): New variable, list those new file names.
17368 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17370 * manual/fdl.texi: File removed.
17371 * manual/lesser.texi: File removed.
17372 * manual/libc.texinfo (Copying, Documentation License):
17373 Use new @include file names, put @appendix directive before @include.
17375 2011-06-04 Jakub Jelinek <jakub@redhat.com>
17378 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17379 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17380 (mq_open): Add __NTH.
17382 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17385 Assume Intel Core i3/i5/i7 processor if AVX is available.
17387 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17389 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17392 2011-05-31 Andreas Schwab <schwab@redhat.com>
17394 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17395 memory. Use alloca_account. Fix memory leak when retrying.
17397 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17399 * version.h (RELEASE): Bump for 2.14 release.
17400 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17402 * config.make.in (RANLIB): Remove entry.
17404 2011-05-30 Ulrich Drepper <drepper@gmail.com>
17406 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17407 (libc.pot): Work around missing support for .ksh extension in xgettext.
17410 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17411 if both request failed.
17412 (send_dg): In case of server errors clear resplen or *resplen2.
17415 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17416 when there are multiple maps.
17417 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17418 (_dl_fini): Remove test here.
17420 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17422 2011-05-29 Ulrich Drepper <drepper@gmail.com>
17425 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17426 bit from old_res_options.
17427 (gaih_inet): Likewise.
17430 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
17433 * resolv/res_init.c (res_setoptions): Make the code more compact.
17436 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17440 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17442 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17445 * malloc/malloc.h: Declare malloc hook variables as volatile.
17447 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17451 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
17452 raise in the comment.
17453 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17454 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17455 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
17457 2011-05-28 Ulrich Drepper <drepper@gmail.com>
17460 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17461 grow the buffers more if it already has to be sufficient.
17462 (build_wcs_upper_buffer): Likewise.
17463 * posix/regexec.c (check_matching): Likewise.
17464 (clean_state_log_if_needed): Likewise.
17465 (extend_buffers): Don't enlarge buffers beyond size of the input
17467 Patches mostly by Emil Wojak <emil@wojak.eu>.
17468 * posix/bug-regex32.c: New file.
17469 * posix/Makefile (tests): Add bug-regex32.
17471 * locale/findlocale.c (_nl_find_locale): Return right away if
17472 _nl_explode_name failed.
17473 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17475 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17477 * debug/xtrace.sh: Unify messages.
17478 * malloc/memusage.sh: Likewise.
17481 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17482 time symbol from vDSO. Substitute with vsyscall if not available.
17483 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17486 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17487 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17488 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17489 Add sendmmsg and internal_sendmmsg.
17490 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17491 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17492 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17494 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17495 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17496 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17498 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17501 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17502 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17504 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17508 * iconvdata/Makefile (tests): Add bug-iconv9.
17509 * iconvdata/bug-iconv9.c: New file.
17511 2011-05-27 Andreas Schwab <schwab@redhat.com>
17514 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17516 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17519 (struct user_regs_struct): Change intcs field back to cs.
17521 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17523 * po/ja.po: Update from translation team.
17525 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17528 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17529 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17531 2011-05-20 Andreas Schwab <schwab@redhat.com>
17533 * stdlib/longlong.h: Update from GCC.
17535 2011-05-23 Andreas Schwab <schwab@redhat.com>
17537 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17539 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17540 Add parameter name.
17541 (__sysconf): Pass it down.
17543 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17546 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17548 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17549 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17550 add in in __libc_use_alloca calls. Adjust callers.
17551 (glob): Use malloc in some situations.
17553 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17554 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17557 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17559 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17560 and CLOCK_BOOTTIME_ALARM.
17563 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17566 * string/_strerror.c (__strerror_r): Print negative errors as signed
17570 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17571 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17572 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17574 * configure.in: Fix typo in redirection and correct removal of test
17575 files in two cases.
17578 * locale/setlocale.c (new_composite_name): Fix test to check for
17579 identical name of all categories.
17582 * libio/filedoalloc.c (local_isatty): New function.
17583 (_IO_file_doallocate): Use local_isatty.
17584 * stdio-common/perror.c (perror): In case a new stream is used
17585 forward the stream error.
17586 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17589 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17594 * include/alloca.h (extend_alloca_account): Define.
17597 * posix/regex.h: Fix comments with documentation of user-accessible
17598 fields after compilation and describe correct free'ing of pattern
17599 after re_compile_pattern.
17600 Patch by Reuben Thomas <rrt@sc3d.org>.
17602 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17604 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17605 and -mno-altivec to prevent the compiler from using Altivec and/or
17606 VSX instructions when the corresponding registers are not available.
17608 2011-05-19 Andreas Schwab <schwab@redhat.com>
17610 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17612 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17614 * libio/freopen.c (freopen): Use __dup2, not dup2.
17615 * libio/freopen64.c (freopen64): Likewise.
17617 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17620 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17621 * math/Makefile (tests): Add test-powl.
17622 (CFLAGS-test-powl.c): Define.
17623 * math/test-powl.c: New file.
17625 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17627 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17629 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17632 * iconvdata/gb18030.c: Update to GB18020-2005.
17634 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17636 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17637 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17638 Patch by Aharon Robbins <arnold@skeeve.com>.
17641 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17645 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17646 through underflows.
17649 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17650 point to strings before performing equality test for error_one_per_line
17654 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17657 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17658 (struct user_fpregs_struct): Avoid __uint*_t types.
17661 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17662 symbol info. Use it instead of calling _dl_addr locally.
17663 (lock_and_info): New function.
17664 (tr_freehook): Call lock_and_info and pass symbol info as additional
17665 parameter to tr_where.
17666 (tr_mallochook): Likewise.
17667 (tr_reallochook): Likewise.
17668 (tr_memalignhook): Likewise.
17670 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17671 used and couldn't be at all thread-safe.
17673 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17675 * libio/freopen.c (freopen): Don't close old file descriptor
17676 before the new one is opened. Instead dup the new file descriptor
17677 to the old one after the new stream is created.
17678 * libio/freopen64.c (freopen64): Likewise.
17679 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17680 * libio/fileops.c (_IO_new_file_close_it): Handle new
17681 _IO_FLAGS2_NOCLOSE flag.
17682 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17683 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17684 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17685 _IO_FLAGS2_NOCLOSE flag.
17686 * include/unistd.h: Add hidden_proto for dup3.
17687 Define __have_dup3.
17688 * io/dup3.c: Define hidden symbol.
17689 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17692 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17693 when an incomplete long option is used.
17694 * posix/tst-getopt_long1.c: New file.
17695 * posix/Makefile (tests): Add tst-getopt_long1.
17698 * scripts/config.guess: Update from autoconf-2.68.
17699 * scripts/config.sub: Likewise.
17702 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17704 (has_cpuclock): ...this. New function.
17705 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17706 macro here based on has_cpuclock code.
17709 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17710 First byte (not low byte) is now always NUL.
17711 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17713 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17714 Use non-cancelable interfaces.
17717 * locale/iso-639.def: Add entry for Sorani.
17720 * include/stdlib.h: Move include protection to the right place.
17721 Define abort_msg_s. Declare __abort_msg with it.
17722 * stdlib/abort.c (__abort_msg): Adjust type.
17723 * assert/assert.c (__assert_fail_base): New function. Majority
17724 of code from __assert_fail. Allocate memory for __abort_msg with
17726 (__assert_fail): Now call __assert_fail_base.
17727 * assert/assert-perr.c: Remove bulk of implementation. Use
17728 __assert_fail_base.
17729 * include/assert.hL Declare __assert_fail_base.
17730 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17732 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17734 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17738 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17739 until all modules are registered in the DTV.
17740 * elf/Makefile: Add rules to build and run tst-tls19.
17741 * elf/tst-tls19.c: New file.
17742 * elf/tst-tls19mod1.c: New file.
17743 * elf/tst-tls19mod2.c: New file.
17744 * elf/tst-tls19mod3.c: New file.
17745 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17748 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17752 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17753 two-byte sequence errors.
17754 * iconvdata/Makefile (tests): Add bug-iconv8.
17755 * iconvdata/bug-iconv8.c: New file.
17758 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17761 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17764 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17765 (dummy_getcfa): New function.
17766 (init): Get _Unwind_GetCFA address, use dummy if not found.
17767 (backtrace_helper): In recursion check, also check whether CFA changes.
17768 (__backtrace): Completely initialize arg.
17770 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17771 storing incomplete byte sequence in state object. Avoid testing for
17772 guaranteed too small input if we know there is enough data available.
17774 2011-05-11 Andreas Schwab <schwab@redhat.com>
17776 * Makeconfig (+link-pie): Indent.
17777 * Rules (binaries-pie): Define if $(have-fpie) and
17779 (binaries-shared): Also filter out $(binaries-pie).
17780 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17781 * nscd/Makefile (others-pie): Add nscd.
17782 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17783 ($(objpfx)nscd): Remove command override.
17784 * login/Makefile (others-pie): Add pt_chown.
17785 ($(objpfx)pt_chown): Remove command override.
17786 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17787 remove command overrides.
17789 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17791 * libio/tst_putwc.c: Fix error messages.
17794 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17795 currently writing and seek to current position when not.
17796 * libio/Makefile (tests): Add bug-fclose1.
17797 * libio/bug-fclose1.c: New file.
17799 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17802 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17803 don't set DF_1_NODELETE here.
17804 (do_lookup_x): When entering new entry test for copy relocation
17805 and if necessary set DF_1_NODELETE flag.
17806 * elf/tst-unique4.cc: New file.
17807 * elf/tst-unique4.h: New file.
17808 * elf/tst-unique4lib.cc: New file.
17809 * elf/Makefile: Add rules to build and run tst-unique4.
17810 Patch by Piotr Bury <pbury@goahead.com>.
17812 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17815 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17818 * misc/mntent_r.c (addmntent): Flush the stream after the output
17821 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17822 (is_trusted_path_normalize): Skip initial colon. Append slash
17823 to empty buffer. Duplicate is_trusted_path code but allow
17824 constructed patch to be prefix.
17825 (is_dst): Allow $ORIGIN followed by /.
17826 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17827 Correct testing of result of is_trusted_path_normalize
17828 (decompose_rpath): Fix warning.
17830 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17833 * grp/initgroups.c (internal_getgrouplist): When we found the service
17834 list through the initgroups entry in nsswitch.conf do not always
17835 continue on a successful lookup. Don't always use the
17836 __nss_group_database value if it is set.
17837 * nss/nsswitch.conf (initgroups): Change action for successful db
17838 lookup to continue for compatibility.
17840 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17843 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17845 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17847 * iconvdata/tst-tables.sh: Likewise.
17848 * iconvdata/cp770.c: New file.
17849 * iconvdata/cp771.c: New file.
17850 * iconvdata/cp772.c: New file.
17851 * iconvdata/cp773.c: New file.
17852 * iconvdata/cp774.c: New file.
17853 * iconvdata/testdata/CP770: New file.
17854 * iconvdata/testdata/CP770..UTF8: New file.
17855 * iconvdata/testdata/CP771: New file.
17856 * iconvdata/testdata/CP771..UTF8: New file.
17857 * iconvdata/testdata/CP772: New file.
17858 * iconvdata/testdata/CP772..UTF8: New file.
17859 * iconvdata/testdata/CP773: New file.
17860 * iconvdata/testdata/CP773..UTF8: New file.
17861 * iconvdata/testdata/CP774: New file.
17862 * iconvdata/testdata/CP774..UTF8: New file.
17864 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17866 * iconvdata/gen-8bit-gap.sh: Likewise.
17867 * iconvdata/gen-8bit.sh: Likewise.
17869 * locale/iso-639.def: Add ary entry.
17872 * locale/C-translit.h.in: Add U20A1 transliteration.
17875 * locale/iso-639.def: Add wae entry.
17876 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17879 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17883 * locale/C-translit.h.in: Add entry for U20B9.
17884 Patch by pravin.d.s@gmail.com.
17886 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17889 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17890 ENAMETOOLONG use generic getcwd.
17891 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17892 in rtld. Use *stat64.
17893 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17894 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17895 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17896 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17897 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17898 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17899 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17900 __fstatat64 macros.
17901 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17902 * dirent/rewinddir.c: Add libc_hidden_def.
17903 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17904 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17906 * include/dirent.h (__alloc_dir): Add flags parameter.
17907 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17908 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17910 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17911 from fdopendir if O_CLOEXEC is already set.
17913 2011-03-15 Alan Modra <amodra@gmail.com>
17915 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17916 l_tls_firstbyte_offset non-zero. Save padding offset in
17917 l_tls_firstbyte_offset for later use.
17918 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17919 freeing static tls block.
17921 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17923 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17924 where #ifdef was intended. The intent is to prevent ARG_MAX from
17925 being defined by the kernel headers.
17927 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17930 * resolv/resolv.h: Define RES_NOTLDQUERY.
17931 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17932 no-tld-query and set RES_NOTLDQUERY.
17933 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17934 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17935 modern BIND to search name as TLD unless forbidden.
17937 2011-05-07 Petr Baudis <pasky@suse.cz>
17938 Ulrich Drepper <drepper@gmail.com>
17941 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17942 (is_trusted_path): ...to here.
17943 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17944 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17945 using is_trusted_path_normalize() in setuid scripts.
17947 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17949 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17950 __BEGIN/__END_DECLS.
17952 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17954 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17955 NSS_STATUS_NOTFOUND if no record was found.
17957 2011-05-05 Andreas Schwab <schwab@redhat.com>
17959 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17960 (headers-not-in-tirpc): Remove rpc/netdb.h
17961 * resolv/netdb.h: Revert last change.
17963 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17965 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17966 circular dependency between libgcc.a and libc.a.
17968 2011-05-05 Andreas Schwab <schwab@redhat.com>
17970 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17971 * nis/Makefile: Don't install rpcsvc/*.
17972 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17973 instead of <rpc/types.h>.
17974 (MAXHOSTNAMELEN): Define.
17976 2011-05-03 Andreas Schwab <schwab@redhat.com>
17978 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17980 2011-04-28 Maciej Babinski <mbabinski@google.com>
17983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17984 gethostbyname4_r when IPv6 results are possible.
17986 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17989 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17990 _PC_PIPE_BUF handling.
17992 2011-04-30 Bruno Haible <bruno@clisp.org>
17995 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17996 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17998 * inet/getnameinfo.c (getnameinfo): Likewise.
18000 2011-04-29 Ulrich Drepper <drepper@gmail.com>
18002 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18003 to groups setting in database lookup.
18004 * nss/nsswitch.conf: Add initgroups entry.
18006 2011-04-22 Ulrich Drepper <drepper@gmail.com>
18009 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18011 Patch by Eric Blake <eblake@redhat.com>.
18013 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18015 * sunrpc/Makefile (need-export-routines): Add svc_run.
18016 (routines): Remove svc_run.
18017 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18018 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18019 * sunrpc/svc_run.c (svc_run): Likewise.
18020 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18022 2011-04-21 Ulrich Drepper <drepper@gmail.com>
18024 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18025 problem in reallocation in last patch.
18027 2011-04-20 Ulrich Drepper <drepper@gmail.com>
18029 * sunrpc/Makefile: Move inclusion of Rules.
18031 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18033 * nss/nss_files/files-initgroups.c: New file.
18034 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18035 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18036 _nss_files_initgroups_dyn.
18038 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18040 * elf/elf.h (R_ARM_IRELATIVE): Define.
18042 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18044 * po/ru.po: Update from translation team.
18046 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18048 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18051 2011-02-06 Mike Frysinger <vapier@gentoo.org>
18054 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18055 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18057 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18058 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18060 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18062 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18064 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18065 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18066 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18068 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18071 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18073 * stdlib/bug-getcontext.c: New file.
18074 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18076 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18078 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18079 instructions into .machine "z9-109".
18080 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18081 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18083 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18085 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18086 between environment variables and auxiliary vector.
18088 2011-04-16 Ulrich Drepper <drepper@gmail.com>
18090 * Makefile: Add rules to build linkobj/libc.so.
18091 * include/libc-symbols.h: Define libc_hidden_nolink.
18092 * include/rpc/auth.h: Mark functions which are to be hidden.
18093 * include/rpc/auth_des.h: Likewise.
18094 * include/rpc/auth_unix.h: Likewise.
18095 * include/rpc/clnt.h: Likewise.
18096 * include/rpc/des_crypt.h: Likewise.
18097 * include/rpc/key_prot.h: Likewise.
18098 * include/rpc/pmap_clnt.h: Likewise.
18099 * include/rpc/pmap_prot.h: Likewise.
18100 * include/rpc/pmap_rmt.h: Likewise.
18101 * include/rpc/rpc_msg.h: Likewise.
18102 * include/rpc/svc.h: Likewise.
18103 * include/rpc/svc_auth.h: Likewise.
18104 * include/rpc/xdr.h: Likewise.
18105 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18106 * nss/Makefile: Likewise.
18107 * sunrpc/Makefile: Don't install headers. Build library with normal
18108 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18109 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18110 for the compat linking library. Remove use of INTDEF/INTUSE.
18111 * sunrpc/auth_none.c: Likewise.
18112 * sunrpc/auth_unix.c: Likewise.
18113 * sunrpc/authdes_prot.c: Likewise.
18114 * sunrpc/authuxprot.c: Likewise.
18115 * sunrpc/clnt_gen.c: Likewise.
18116 * sunrpc/clnt_perr.c: Likewise.
18117 * sunrpc/clnt_raw.c: Likewise.
18118 * sunrpc/clnt_simp.c: Likewise.
18119 * sunrpc/clnt_tcp.c: Likewise.
18120 * sunrpc/clnt_udp.c: Likewise.
18121 * sunrpc/clnt_unix.c: Likewise.
18122 * sunrpc/des_crypt.c: Likewise.
18123 * sunrpc/des_soft.c: Likewise.
18124 * sunrpc/get_myaddr.c: Likewise.
18125 * sunrpc/key_call.c: Likewise.
18126 * sunrpc/key_prot.c: Likewise.
18127 * sunrpc/netname.c: Likewise.
18128 * sunrpc/pm_getmaps.c: Likewise.
18129 * sunrpc/pm_getport.c: Likewise.
18130 * sunrpc/pmap_clnt.c: Likewise.
18131 * sunrpc/pmap_prot.c: Likewise.
18132 * sunrpc/pmap_prot2.c: Likewise.
18133 * sunrpc/pmap_rmt.c: Likewise.
18134 * sunrpc/publickey.c: Likewise.
18135 * sunrpc/rpc_cmsg.c: Likewise.
18136 * sunrpc/rpc_common.c: Likewise.
18137 * sunrpc/rpc_dtable.c: Likewise.
18138 * sunrpc/rpc_prot.c: Likewise.
18139 * sunrpc/rpc_thread.c: Likewise.
18140 * sunrpc/rtime.c: Likewise.
18141 * sunrpc/svc.c: Likewise.
18142 * sunrpc/svc_auth.c: Likewise.
18143 * sunrpc/svc_authux.c: Likewise.
18144 * sunrpc/svc_raw.c: Likewise.
18145 * sunrpc/svc_run.c: Likewise.
18146 * sunrpc/svc_simple.c: Likewise.
18147 * sunrpc/svc_tcp.c: Likewise.
18148 * sunrpc/svc_udp.c: Likewise.
18149 * sunrpc/svc_unix.c: Likewise.
18150 * sunrpc/svcauth_des.c: Likewise.
18151 * sunrpc/xcrypt.c: Likewise.
18152 * sunrpc/xdr.c: Likewise.
18153 * sunrpc/xdr_array.c: Likewise.
18154 * sunrpc/xdr_float.c: Likewise.
18155 * sunrpc/xdr_intXX_t.c: Likewise.
18156 * sunrpc/xdr_mem.c: Likewise.
18157 * sunrpc/xdr_rec.c: Likewise.
18158 * sunrpc/xdr_ref.c: Likewise.
18159 * sunrpc/xdr_sizeof.c: Likewise.
18160 * sunrpc/xdr_stdio.c: Likewise.
18162 2011-04-10 Ulrich Drepper <drepper@gmail.com>
18165 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18166 * sysdeps/ia64/dl-tls.h: Likewise.
18167 * sysdeps/powerpc/dl-tls.h: Likewise.
18168 * sysdeps/s390/dl-tls.h: Likewise.
18169 * sysdeps/sh/dl-tls.h: Likewise.
18170 * sysdeps/sparc/dl-tls.h: Likewise.
18171 * sysdeps/x86_64/dl-tls.h: Likewise.
18172 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18174 2011-03-14 Andreas Schwab <schwab@redhat.com>
18176 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18177 rpath element also skip the following colon.
18178 (expand_dynamic_string_token): Add is_path parameter and pass
18179 down to DL_DST_REQUIRED and _dl_dst_substitute.
18180 (decompose_rpath): Call expand_dynamic_string_token with
18181 non-zero is_path. Ignore empty rpaths.
18182 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18185 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18190 2011-04-09 Ulrich Drepper <drepper@gmail.com>
18193 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18194 Patch by Filipe David Manana <fdmanana@apache.org>.
18196 2011-04-07 Andreas Schwab <schwab@redhat.com>
18198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18199 Maintain aligned stack.
18200 (CHECK_RSP): Remove unused macro.
18202 2011-04-03 Ulrich Drepper <drepper@gmail.com>
18204 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18205 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18207 2011-04-02 Ulrich Drepper <drepper@gmail.com>
18209 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18211 * include/features.h: Mention __USE_XOPEN2K8 in comment.
18213 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18216 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18217 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18218 * sysdeps/x86_64/memmove.c: New file.
18219 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18220 (memcpy): Renamed to ...
18221 (__new_memcpy): This.
18222 (memcpy): Provide GLIBC_2_14 memcpy.
18223 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18224 (memcpy): Provide GLIBC_2_2_5 memcpy.
18226 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18229 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18231 2011-03-30 Andreas Schwab <schwab@redhat.com>
18233 * misc/syncfs.c: New file.
18234 * misc/Makefile (routines): Add syncfs.
18235 * posix/unistd.h: Declare syncfs.
18236 * sysdeps/unix/syscalls.list: Add syncfs.
18238 2011-04-01 Andreas Schwab <schwab@redhat.com>
18240 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18242 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
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/syscalls.list: Likewise.
18248 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18250 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18252 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18253 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18254 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18256 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18260 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18261 sync_file_range.c with -fexceptions.
18262 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18263 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18264 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18265 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18266 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18267 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
18269 sync_file_range as cancellation point
18270 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18271 now a wrapper around __call_sync_file_range with cancellation handling.
18272 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18273 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18274 function name to __call_sync_file_range.
18275 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18276 Add call_sync_file_range.
18278 2011-04-01 Andreas Schwab <schwab@redhat.com>
18280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18283 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18285 * iconv/iconv.h: Fix typo in comment.
18286 * io/fcntl.h: Likewise.
18287 * libio/stdio.h: Likewise.
18288 * posix/spawn.h: Likewise.
18289 * posix/unistd.h: Likewise.
18290 * stdlib/stdlib.h: Likewise.
18291 * time/time.h: Likewise.
18292 * wcsmbs/wchar.h: Likewise.
18294 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18295 open_by_handle): Add.
18296 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18297 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18298 Augment a few comments.
18299 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18301 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18303 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18304 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18307 * io/fcntl.h (AT_EMPTY_PATH): Define.
18309 2011-03-30 Ulrich Drepper <drepper@gmail.com>
18311 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18312 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18313 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18315 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
18316 * Versions.def: Add GLIBC_2.14.
18317 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18320 2011-03-22 Ulrich Drepper <drepper@gmail.com>
18322 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18324 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18326 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18329 * string/test-strncmp.c (do_page_test): New function.
18330 (check2): Likewise.
18331 (test_main): Call check2.
18332 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18334 2011-03-20 Ulrich Drepper <drepper@gmail.com>
18337 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18338 Handle cache information in CPU leaf 4.
18339 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18341 2011-03-18 Ulrich Drepper <drepper@gmail.com>
18344 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18345 character representation.
18346 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18348 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18350 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18351 END(__isnan) to END(__isnanf) to match function entry point/label
18352 EALIGN(__isnanf,...).
18354 2011-03-10 Jakub Jelinek <jakub@redhat.com>
18356 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18358 2011-03-10 Ulrich Drepper <drepper@gmail.com>
18361 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18362 copy from the symbol referenced in the relocation to initialize the
18364 Patch by Piotr Bury <pbury@goahead.com>.
18365 * elf/Makefile: Add rules to build and tst-unique3.
18366 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18367 * elf/tst-unique3.cc: New file.
18368 * elf/tst-unique3.h: New file.
18369 * elf/tst-unique3lib.cc: New file.
18370 * elf/tst-unique3lib2.cc: New file.
18372 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18374 2011-03-10 Mike Frysinger <vapier@gentoo.org>
18376 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18377 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18380 2011-03-06 Ulrich Drepper <drepper@gmail.com>
18382 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18383 to-be-loaded object along a path to loader is ld.so.
18385 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18386 Ulrich Drepper <drepper@gmail.com>
18388 * sysdeps/x86_64/memset.S: After aligning destination, code
18389 branches to different locations depending on the value of
18390 misalignment, when multiarch is enabled. Fix this.
18392 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18394 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18395 Set _x86_64_preferred_memory_instruction for AMD processsors.
18396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18397 Set bit_Prefer_SSE_for_memop for AMD processors.
18399 2011-03-04 Ulrich Drepper <drepper@gmail.com>
18401 * libio/fmemopen.c (fmemopen): Optimize a bit.
18403 2011-03-03 Andreas Schwab <schwab@redhat.com>
18405 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18407 2011-03-03 Roland McGrath <roland@redhat.com>
18409 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18411 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18413 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
18414 __bzero_ultra1 instead of __memset_ultra1.
18416 2011-02-23 Andreas Schwab <schwab@redhat.com>
18417 Ulrich Drepper <drepper@gmail.com>
18420 * include/link.h (struct link_map): Add l_orig_initfini.
18421 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18422 returning unsuccessfully.
18423 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18424 close of a file loaded at startup, restore the original l_initfini
18426 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18427 list, store the pointer.
18428 * elf/Makefile ($(objpfx)noload-mem): New rule.
18429 (noload-ENV): Define.
18430 (tests): Add $(objpfx)noload-mem.
18431 * elf/noload.c: Include <memcheck.h>.
18432 (main): Call mtrace. Close all opened handles.
18434 2011-02-17 Andreas Schwab <schwab@redhat.com>
18437 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18438 dependencies are missing.
18440 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18442 Fix __if_freereq crash: Unlike the generic version which uses free,
18444 * sysdeps/mach/hurd/ifreq.h: New file.
18446 2011-01-27 Petr Baudis <pasky@suse.cz>
18447 Ulrich Drepper <drepper@gmail.com>
18450 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18451 to extend_alloca().
18452 * stdio-common/bug23.c: New file.
18453 * stdio-common/Makefile (tests): Add bug23.
18455 2010-09-28 Andreas Schwab <schwab@redhat.com>
18456 Ulrich Drepper <drepper@gmail.com>
18459 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18460 before performing relro protection. At old place add assertion
18461 to make sure nothing changed.
18463 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18464 Glauber de Oliveira Costa <glommer@gmail.com>
18466 * elf/elf.h: Add new ARM TLS relocs.
18468 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18471 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18473 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18475 * sysdeps/wordsize-64/tst-writev.c: New file.
18477 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18479 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18480 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18481 insns in _dl_start to prevent a TOC reference before relocs are
18484 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18487 * Makeconfig: Remove RANLIB definition.
18488 * Makerules: Don't use RANLIB.
18489 * aclocal.m4: Remove ranlib test.
18490 * configure.in: No need to check for ranlib.
18491 * elf/rtld-Rules: Don't use RANLIB.
18493 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18495 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18497 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18498 inclusion protection macro.
18500 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18501 SIGRTMIN and SIGRTMAX and print information in that case only when
18502 SIGRTMIN is defined.
18504 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18506 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18507 arginfo fn returning -1.
18509 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18510 and thousands string is zero terminated.
18512 2011-02-03 Andreas Schwab <schwab@redhat.com>
18514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18515 sysdeps/unix/sysv/linux/bits/socket.h.
18517 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18519 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18520 (__CPU_COUNT): Remove old macros.
18521 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18522 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18523 (__CPU_ALLOC, __CPU_FREE): Add macros.
18524 (__sched_cpualloc, __sched_cpufree): Add declarations.
18526 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18528 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18529 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18530 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18531 (readdhstai): Return value of addhstaiX call.
18532 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18533 (addgrbyX): Return value returned by cache_addgr.
18534 (readdgrbyname): Return value returned by addgrbyX.
18535 (readdgrbygid): Likewise.
18536 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18537 (addpwbyX): Return value returned by cache_addpw.
18538 (readdpwbyname): Return value returned by addhstbyX.
18539 (readdpwbyuid): Likewise.
18540 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18541 (addservbyX): Return value returned by cache_addserv.
18542 (readdservbyname): Return value returned by addservbyX:
18543 (readdservbyport): Likewise.
18544 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18545 (addhstbyX): Return value returned by cache_addhst.
18546 (readdhstbyname): Return value returned by addhstbyX.
18547 (readdhstbyaddr): Likewise.
18548 (readdhstbynamev6): Likewise.
18549 (readdhstbyaddrv6): Likewise.
18550 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18551 (readdinitgroups): Return value returned by addinitgroupsX.
18552 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18553 (prune_cache): Keep track of timeout value of re-added entries.
18554 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18555 * nscd/nscd.h: Adjust prototypes of readd* functions.
18557 2011-02-04 Roland McGrath <roland@redhat.com>
18559 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18560 (nis_stats): Likewise.
18561 * nis/nis_modify.c (nis_modify): Likewise.
18562 * nis/nis_remove.c (nis_remove): Likewise.
18563 * nis/nis_add.c (nis_add): Likewise.
18565 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18567 * posix/fnmatch_loop.c: Add some consts.
18569 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18571 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18574 * config.make.in (config-cflags-novzeroupper): Define.
18575 * configure.in: Substitute libc_cv_cc_novzeroupper.
18576 * elf/Makefile (AVX-CFLAGS): Define.
18577 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18578 (CFLAGS-tst-auditmod4a.c): Likewise.
18579 (CFLAGS-tst-auditmod4b.c): Likewise.
18580 (CFLAGS-tst-auditmod6b.c): Likewise.
18581 (CFLAGS-tst-auditmod6c.c): Likewise.
18582 (CFLAGS-tst-auditmod7b.c): Likewise.
18583 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18585 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18587 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18588 function to the callback.
18589 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18591 2011-02-02 Andreas Schwab <schwab@redhat.com>
18593 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18596 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18599 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18601 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18603 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18606 * elf/Makefile: Add rules to build and run new test.
18607 * elf/tst-initorder.c: New file.
18608 * elf/tst-initorder.exp: New file.
18609 * elf/tst-initordera1.c: New file.
18610 * elf/tst-initordera2.c: New file.
18611 * elf/tst-initordera3.c: New file.
18612 * elf/tst-initordera4.c: New file.
18613 * elf/tst-initorderb1.c: New file.
18614 * elf/tst-initorderb2.c: New file.
18615 * elf/tst-order-a1.c: New file.
18616 * elf/tst-order-a2.c: New file.
18617 * elf/tst-order-a3.c: New file.
18618 * elf/tst-order-a4.c: New file.
18619 * elf/tst-order-b1.c: New file.
18620 * elf/tst-order-b2.c: New file.
18621 * elf/tst-order-main.c: New file.
18622 New test case by George Gensure <werkt0@gmail.com>.
18624 2010-10-01 Andreas Schwab <schwab@redhat.com>
18626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18627 decoding ACE if AI_CANONIDN.
18629 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18631 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18633 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18635 * version.h (RELEASE): Bump for 2.13 release.
18636 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18638 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18640 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18642 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18643 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18644 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18645 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18646 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18647 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18649 * posix/getconf.c: Update copyright year.
18650 * catgets/gencat.c: Likewise.
18651 * csu/version.c: Likewise.
18652 * debug/catchsegv.sh: Likewise.
18653 * debug/xtrace.sh: Likewise.
18654 * elf/ldconfig.c: Likewise.
18655 * elf/ldd.bash.in: Likewise.
18656 * elf/sprof.c (print_version): Likewise.
18657 * iconv/iconv_prog.c: Likewise.
18658 * iconv/iconvconfig.c: Likewise.
18659 * locale/programs/locale.c: Likewise.
18660 * locale/programs/localedef.c: Likewise.
18661 * malloc/memusage.sh: Likewise.
18662 * malloc/mtrace.pl: Likewise.
18663 * nscd/nscd.c (print_version): Likewise.
18664 * nss/getent.c: Likewise.
18666 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18667 PF_CAIF, and PF_ALG.
18668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18670 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18672 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18673 (modules-names): Use them.
18674 (ifunc-test-modules, ifunc-pie-tests): Define.
18675 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18676 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18677 (test-extras): Likewise.
18678 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18679 $(compile-command.c).
18680 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18681 (all-built-dso): Define.
18682 (check-textrel.out, check-execstack.out): Depend on it.
18684 * configure.in: Don't override --enable-multi-arch.
18686 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18689 * nscd/hstcache.c (tryagain): Define.
18690 (cache_addhst): Return tryagain not notfound for temporary errors.
18691 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18694 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18697 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18698 to make the syscall.
18699 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18702 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18703 and fall back to matching as normal character if the string ends before
18704 the matching ']' is found. This is what POSIX requires.
18705 * posix/testfnm.c: Adjust test result.
18706 * posix/globtest.sh: Adjust test result. Add new test.
18707 * posix/tst-fnmatch.input: Likewise.
18708 * posix/tst-fnmatch2.c: Add new test.
18710 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18712 * elf/Makefile (check-execstack): Revert last change. Depend on
18714 (check-execstack.h): New target.
18715 (generated): Add check-execstack.h.
18716 * elf/check-execstack.c: Include "check-execstack.h".
18717 (main): Revert last change.
18718 (handle_file): Return zero if GNU_STACK is absent and
18719 DEFAULT_STACK_PERMS doesn't include PF_X.
18721 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18723 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18724 in child fails because the descriptor is already closed.
18725 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18726 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18727 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18730 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18734 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18735 temporary buffer used to handle multi lookups locally.
18736 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18738 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18740 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18743 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18745 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18746 alignment for SSE2.
18748 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18751 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18752 characters. When rounding increased number of integer digits recompute
18754 * stdio-common/tst-grouping.c: New file.
18755 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18757 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18759 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18760 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18762 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18764 * bits/select.h: Likewise.
18766 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18768 * po/ja.po: Update from translation team.
18770 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18773 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18774 implementation just like for lxstat, fxstatat, et al.
18776 2010-12-27 Jim Meyering <meyering@redhat.com>
18779 * posix/regexec.c (build_trtable): Return failure indication upon
18780 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18782 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18785 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18786 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18787 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18788 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18791 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18794 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18795 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18797 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18799 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18800 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18801 script has SORT_BY_INIT_PRIORITY.
18802 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18803 NO_CTORS_DTORS_SECTIONS is defined.
18804 * elf/soinit.c: Likewise.
18805 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18806 NO_CTORS_DTORS_SECTIONS is defined.
18807 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18808 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18809 * sysdeps/sh/init-first.c: Likewise.
18810 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18812 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18814 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18815 always use the slow path.
18817 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18819 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18820 similar rule which adds the sysdep directories to the header search in
18821 order to pick up the correct platform stackinfo.h.
18822 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18823 perform test if it is, otherwise return successfully without testing.
18824 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18825 DEFAULT_STACK_PERMS define in stackinfo.h.
18826 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18827 defined in stackinfo.h.
18828 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18829 DEFAULT_STACK_PERMS defined in stackinfo.h.
18830 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18831 * sysdeps/ia64/stackinfo.h: Likewise.
18832 * sysdeps/s390/stackinfo.h: Likewise.
18833 * sysdeps/sh/stackinfo.h: Likewise.
18834 * sysdeps/sparc/stackinfo.h: Likewise.
18835 * sysdeps/x86_64/stackinfo.h: Likewise.
18836 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18837 PF_X for powerpc64. Retain PF_X for powerpc32.
18839 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18841 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18843 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18844 GETDENTS_64BIT_ALIGNED.
18846 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18848 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18850 2010-12-10 Andreas Schwab <schwab@redhat.com>
18852 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18855 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18856 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18858 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18859 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18861 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18864 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18867 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18869 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18871 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18873 * po/it.po: Update from translation team.
18875 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18877 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18880 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18882 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18884 2010-11-24 Andreas Schwab <schwab@redhat.com>
18886 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18888 (gaih_getanswer_slice): Likewise.
18890 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18894 2010-05-31 Petr Baudis <pasky@suse.cz>
18897 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18898 silently even in the chroot mode.
18900 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18902 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18903 last patch a bit. Pretty printing
18905 2010-05-31 Petr Baudis <pasky@suse.cz>
18908 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18909 initialization of skip_initgroups_dyn.
18911 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18913 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18914 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18916 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18918 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18920 2010-11-11 Andreas Schwab <schwab@redhat.com>
18922 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18923 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18924 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18925 ($(objpfx)tst-fnmatch-mem): New rule.
18926 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18927 * posix/tst-fnmatch.c (main): Call mtrace.
18929 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18932 Support Intel processor model 6 and model 0x2c.
18934 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18936 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18939 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18942 * string/test-strncasecmp.c (check_result): New function.
18943 (do_one_test): Use it.
18944 (check1): New function.
18945 (test_main): Use it.
18946 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18947 Support strcasecmp and strncasecmp.
18949 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18952 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18953 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18955 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18957 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18961 * sysdeps/x86_64/multiarch/bzero.S: New file.
18962 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18963 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18964 * sysdeps/x86_64/multiarch/memset.S: New file.
18965 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18967 Set bit_Prefer_SSE_for_memop for Intel processors.
18968 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18970 (index_Prefer_SSE_for_memop): Define.
18971 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18973 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18975 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18976 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18978 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18981 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18982 (__x86_64_raw_data_cache_size_half): Likewise.
18983 (__x86_64_raw_shared_cache_size): Likewise.
18984 (__x86_64_raw_shared_cache_size_half): Likewise.
18986 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18987 (__x86_64_raw_data_cache_size_half): Likewise.
18988 (__x86_64_raw_shared_cache_size): Likewise.
18989 (__x86_64_raw_shared_cache_size_half): Likewise.
18990 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18991 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18992 and __x86_64_raw_shared_cache_size_half. Round
18993 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18994 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18995 to multiple of 256 bytes.
18997 2010-11-03 Ulrich Drepper <drepper@gmail.com>
19000 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19001 of inacessible symlinks. Verify result of symlink before returning it.
19002 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19003 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19005 2010-10-28 Erich Ritz <erichritz@gmail.com>
19007 * math/math.h (isinf): Fix typo in comment.
19009 2010-11-01 Ulrich Drepper <drepper@gmail.com>
19011 * po/da.po: Update from translation team.
19013 2010-10-26 Ulrich Drepper <drepper@gmail.com>
19015 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19016 is added to the list.
19018 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19019 Ulrich Drepper <drepper@gmail.com>
19021 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19022 the global list here. Move code to...
19023 (_dl_add_to_namespace_list): ...here. New function.
19024 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19025 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19026 * elf/dl-load.c (lose): Don't remove the element from the list.
19027 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19028 (_dl_map_object): Likewise.
19030 2010-10-25 Ulrich Drepper <drepper@gmail.com>
19033 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19034 into all bytes of SSE register.
19035 Patch by Richard Li <richardpku@gmail.com>.
19037 2010-10-24 Ulrich Drepper <drepper@gmail.com>
19040 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19043 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19045 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19046 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19047 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19048 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19053 2010-10-22 Andreas Schwab <schwab@redhat.com>
19055 * include/dlfcn.h (__RTLD_SECURE): Define.
19056 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19057 mode & __RTLD_SECURE instead.
19058 (open_path): Rename preloaded parameter to secure.
19059 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19060 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19061 * elf/dl-deps.c (openaux): Likewise.
19062 * elf/rtld.c (struct map_args): Remove is_preloaded.
19063 (map_doit): Don't use it.
19064 (dl_main): Likewise.
19065 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19066 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19068 2010-09-09 Andreas Schwab <schwab@redhat.com>
19070 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19071 (sysd-rules-targets): Remove duplicates.
19072 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19073 rtld-%.$o dependency.
19075 2010-10-18 Andreas Schwab <schwab@redhat.com>
19077 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19078 _dl_map_object do it.
19080 2010-10-19 Ulrich Drepper <drepper@gmail.com>
19082 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19083 fast fma builtins, define the macros in the C99 standard.
19084 (FP_FAST_FMAF): Likewise.
19085 (FP_FAST_FMAL): Likewise.
19086 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19088 * bits/mathdef.h: Update copyright year.
19089 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19091 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19093 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19094 builtins, define the macros in the C99 standard.
19095 (FP_FAST_FMAF): Likewise.
19096 (FP_FAST_FMAL): Likewise.
19097 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19099 (FP_FAST_FMAF): Likewise.
19101 2010-10-15 Jakub Jelinek <jakub@redhat.com>
19104 * math/libm-test.inc (fma_test): Some new testcases.
19105 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19106 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19107 y and infinite z. Do multiplication by C already in long double.
19108 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19110 y and infinite z. Do bitwise or of inexact bit into u.d.
19111 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19112 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19113 * sysdeps/i386/fpu/s_fma.S: Removed.
19114 * sysdeps/i386/fpu/s_fmal.S: Removed.
19116 2010-10-16 Jakub Jelinek <jakub@redhat.com>
19119 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19120 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19121 computation is not scheduled after fetestexcept. Fix value
19122 of minimum denormal long double.
19124 2010-10-14 Jakub Jelinek <jakub@redhat.com>
19127 * math/libm-test.inc (fma_test): Add some more tests.
19128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19131 2010-10-15 Andreas Schwab <schwab@redhat.com>
19133 * scripts/data/localplt-s390-linux-gnu.data: New file.
19134 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19136 2010-10-13 Jakub Jelinek <jakub@redhat.com>
19139 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19140 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19142 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19144 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19146 if one of x and y is very large and the other is subnormal.
19147 * sysdeps/s390/fpu/s_fmaf.c: New file.
19148 * sysdeps/s390/fpu/s_fma.c: New file.
19149 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19150 * sysdeps/powerpc/fpu/s_fma.S: New file.
19151 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19152 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19153 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19155 2010-10-12 Jakub Jelinek <jakub@redhat.com>
19158 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19160 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19161 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19162 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19163 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19164 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19165 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19166 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19168 2010-10-12 Ulrich Drepper <drepper@redhat.com>
19171 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19172 * posix/bug-regex31.input: Add test case.
19174 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19176 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19177 * posix/bug-regex31.input: New file.
19180 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19181 (parse_sub_exp): Fix last change, use postorder.
19183 * posix/bug-regex31.c: New file.
19184 * posix/Makefile: Add rules to build and run bug-regex31.
19186 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19189 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19192 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19193 to have entries in sys_siglist.
19196 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19199 2010-10-07 Jakub Jelinek <jakub@redhat.com>
19202 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19203 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19204 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19205 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19206 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19207 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19208 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19209 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19210 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19211 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19212 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19213 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19214 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19215 * math/ftestexcept.c (fetestexcept): Likewise.
19216 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19217 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19218 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19219 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19220 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19221 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19222 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19224 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19227 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19230 2010-10-06 Ulrich Drepper <drepper@gmail.com>
19232 * string/bug-strstr1.c: New file.
19233 * string/Makefile: Add rules to build and run bug-strstr1.
19235 2010-10-05 Eric Blake <eblake@redhat.com>
19238 * string/str-two-way.h (two_way_long_needle): Always clear memory
19239 when skipping input due to the shift table.
19241 2010-10-03 Ulrich Drepper <drepper@gmail.com>
19244 * malloc/mcheck.c: Handle large requests.
19247 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19248 for strncmp and strncasecmp.
19249 * string/stratcliff.c: Add tests for strcmp and strncmp.
19250 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19252 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19254 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19257 2010-09-30 Andreas Jaeger <aj@suse.de>
19259 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19260 (CGROUP_SUPER_MAGIC): Define.
19261 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19262 Handle btrfs and cgroup file systems.
19263 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19266 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
19268 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19269 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19271 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19274 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19275 trying to locate the ELF header.
19277 2010-09-27 Andreas Schwab <schwab@redhat.com>
19280 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19281 Mask out sign-bit copies when constructing f_fsid.
19283 2010-09-24 Petr Baudis <pasky@suse.cz>
19285 * debug/stack_chk_fail_local.c: Add missing licence exception.
19286 * debug/warning-nop.c: Likewise.
19288 2010-09-15 Joseph Myers <joseph@codesourcery.com>
19290 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19291 implementing getdents64 using getdents syscall, set d_type if
19292 __ASSUME_GETDENTS32_D_TYPE.
19294 2010-09-16 Andreas Schwab <schwab@redhat.com>
19296 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19297 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19299 2010-09-21 Ulrich Drepper <drepper@redhat.com>
19302 * posix/unistd.h: Undo change of feature selection for ftruncate from
19305 2010-09-20 Ulrich Drepper <drepper@redhat.com>
19307 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
19310 2010-09-20 Andreas Schwab <schwab@redhat.com>
19312 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19314 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19316 2010-09-14 Andreas Schwab <schwab@redhat.com>
19318 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19319 variables after CHECK_SP call.
19320 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19322 2010-09-13 Andreas Schwab <schwab@redhat.com>
19323 Ulrich Drepper <drepper@redhat.com>
19325 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19326 re-relocationg ld.so.
19327 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19328 _dl_init_paths call.
19329 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19332 2010-09-14 Ulrich Drepper <drepper@redhat.com>
19334 * resolv/res_init.c (__res_vinit): Count the default server we added.
19336 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19337 Ulrich Drepper <drepper@redhat.com>
19340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19341 (____longjmp_chk): Use %ebx for saving value across system call.
19344 2010-09-06 Andreas Schwab <schwab@redhat.com>
19346 * manual/Makefile: Don't mix pattern rules with normal rules.
19348 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19350 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19352 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19353 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19354 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19355 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19359 2010-09-04 Ulrich Drepper <drepper@redhat.com>
19362 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19363 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19365 2010-09-02 Ulrich Drepper <drepper@redhat.com>
19367 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19368 * sysdeps/x86_64/addmul_1.S: Likewise.
19369 * sysdeps/x86_64/lshift.S: Likewise.
19370 * sysdeps/x86_64/mul_1.S: Likewise.
19371 * sysdeps/x86_64/rshift.S: Likewise.
19372 * sysdeps/x86_64/sub_n.S: Likewise.
19373 * sysdeps/x86_64/submul_1.S: Likewise.
19375 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19377 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19378 Define __sched_param instead of SCHED_* and sched_param when
19379 <bits/sched.h> is included with __need_schedparam defined.
19380 * bits/sched.h [__need_schedparam]
19381 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
19382 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19383 (__defined_schedparam): Define to 1.
19384 (__sched_param): New structure, identical to sched_param.
19385 (__need_schedparam): Undefine.
19387 2010-08-31 Mike Frysinger <vapier@gentoo.org>
19389 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19390 (epoll_create1): Declare.
19392 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19394 2010-08-31 Andreas Schwab <schwab@redhat.com>
19397 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19398 shifting retval into place.
19400 2010-09-01 Ulrich Drepper <drepper@redhat.com>
19402 * nis/rpcsvc/nis.h: Update copyright notice.
19403 * nis/rpcsvc/nis.x: Likewise.
19404 * nis/rpcsvc/nis_callback.h: Likewise.
19405 * nis/rpcsvc/nis_callback.x: Likewise.
19406 * nis/rpcsvc/nis_object.x: Likewise.
19407 * nis/rpcsvc/nis_tags.h: Likewise.
19408 * nis/rpcsvc/yp.h: Likewise.
19409 * nis/rpcsvc/yp.x: Likewise.
19410 * nis/rpcsvc/ypupd.h: Likewise.
19411 * nis/yp_xdr.c: Likewise.
19412 * nis/ypupdate_xdr.c: Likewise.
19414 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19415 mainly the body of pmap_getport. Add parameters to specify timeouts.
19416 (pmap_getport): Use __libc_rpc_getport.
19417 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19418 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19419 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19421 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19426 2010-08-27 Roland McGrath <roland@redhat.com>
19428 * sysdeps/i386/i686/multiarch/Makefile
19429 (CFLAGS-varshift.c): New variable.
19431 2010-08-27 Ulrich Drepper <drepper@redhat.com>
19433 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19434 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19436 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19438 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19440 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19442 * sysdeps/x86_64/strlen.S: Unroll the loop.
19443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19444 strlen-sse2 strlen-sse2-bsf.
19445 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19446 __strlen_no_bsf if bit_Slow_BSF is set.
19447 (__strlen_sse42): Removed.
19448 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19449 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19451 2010-08-25 Roland McGrath <roland@redhat.com>
19453 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19454 * sysdeps/x86_64/multiarch/varshift.c: New file.
19455 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19456 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19457 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19458 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19460 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19462 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19463 strlen-sse2 strlen-sse2-bsf.
19464 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19465 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19466 (__strlen_sse2): Removed.
19467 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19470 bit_Slow_BSF for Atom.
19471 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19472 (index_Slow_BSF): Define.
19473 (HAS_SLOW_BSF): Define.
19475 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19478 * resolv/res_init.c (__res_vinit): When no server address at all
19479 is given default to loopback.
19481 2010-08-24 Roland McGrath <roland@redhat.com>
19483 * configure.in: Remove config-name.h generation.
19484 * configure: Regenerated.
19485 * config-name.in: File removed.
19486 * scripts/config-uname.sh: New file.
19487 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19488 ($(objdir)config-name.h): New target.
19490 * sunrpc/rpc_parse.h: Avoid nested comment.
19492 2010-08-24 Richard Henderson <rth@redhat.com>
19493 Ulrich Drepper <drepper@redhat.com>
19494 H.J. Lu <hongjiu.lu@intel.com>
19496 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19498 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19499 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19500 _mm_alignr_epi8 with _mm_loadu_si128.
19501 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19502 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19503 (__m128i_shift_right): Removed.
19504 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19505 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19506 * sysdeps/x86_64/multiarch/varshift.h: New file.
19507 * sysdeps/x86_64/multiarch/varshift.S: New file.
19509 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19511 * configure.in: Move assembler checks to before sysdep dir checking.
19513 2010-08-20 Petr Baudis <pasky@suse.cz>
19515 * LICENSES: Sync the sunrpc license.
19517 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19519 * sunrpc/auth_des.c: Update copyright notice once again.
19520 * sunrpc/auth_none.c: Likewise.
19521 * sunrpc/auth_unix.c: Likewise.
19522 * sunrpc/authdes_prot.c: Likewise.
19523 * sunrpc/authuxprot.c: Likewise.
19524 * sunrpc/bindrsvprt.c: Likewise.
19525 * sunrpc/clnt_gen.c: Likewise.
19526 * sunrpc/clnt_perr.c: Likewise.
19527 * sunrpc/clnt_raw.c: Likewise.
19528 * sunrpc/clnt_simp.c: Likewise.
19529 * sunrpc/clnt_tcp.c: Likewise.
19530 * sunrpc/clnt_udp.c: Likewise.
19531 * sunrpc/clnt_unix.c: Likewise.
19532 * sunrpc/des_crypt.c: Likewise.
19533 * sunrpc/des_soft.c: Likewise.
19534 * sunrpc/get_myaddr.c: Likewise.
19535 * sunrpc/getrpcport.c: Likewise.
19536 * sunrpc/key_call.c: Likewise.
19537 * sunrpc/key_prot.c: Likewise.
19538 * sunrpc/openchild.c: Likewise.
19539 * sunrpc/pm_getmaps.c: Likewise.
19540 * sunrpc/pm_getport.c: Likewise.
19541 * sunrpc/pmap_clnt.c: Likewise.
19542 * sunrpc/pmap_prot.c: Likewise.
19543 * sunrpc/pmap_prot2.c: Likewise.
19544 * sunrpc/pmap_rmt.c: Likewise.
19545 * sunrpc/rpc/auth.h: Likewise.
19546 * sunrpc/rpc/auth_unix.h: Likewise.
19547 * sunrpc/rpc/clnt.h: Likewise.
19548 * sunrpc/rpc/des_crypt.h: Likewise.
19549 * sunrpc/rpc/key_prot.h: Likewise.
19550 * sunrpc/rpc/netdb.h: Likewise.
19551 * sunrpc/rpc/pmap_clnt.h: Likewise.
19552 * sunrpc/rpc/pmap_prot.h: Likewise.
19553 * sunrpc/rpc/pmap_rmt.h: Likewise.
19554 * sunrpc/rpc/rpc.h: Likewise.
19555 * sunrpc/rpc/rpc_des.h: Likewise.
19556 * sunrpc/rpc/rpc_msg.h: Likewise.
19557 * sunrpc/rpc/svc.h: Likewise.
19558 * sunrpc/rpc/svc_auth.h: Likewise.
19559 * sunrpc/rpc/types.h: Likewise.
19560 * sunrpc/rpc/xdr.h: Likewise.
19561 * sunrpc/rpc_clntout.c: Likewise.
19562 * sunrpc/rpc_cmsg.c: Likewise.
19563 * sunrpc/rpc_common.c: Likewise.
19564 * sunrpc/rpc_cout.c: Likewise.
19565 * sunrpc/rpc_dtable.c: Likewise.
19566 * sunrpc/rpc_hout.c: Likewise.
19567 * sunrpc/rpc_main.c: Likewise.
19568 * sunrpc/rpc_parse.c: Likewise.
19569 * sunrpc/rpc_parse.h: Likewise.
19570 * sunrpc/rpc_prot.c: Likewise.
19571 * sunrpc/rpc_sample.c: Likewise.
19572 * sunrpc/rpc_scan.c: Likewise.
19573 * sunrpc/rpc_scan.h: Likewise.
19574 * sunrpc/rpc_svcout.c: Likewise.
19575 * sunrpc/rpc_tblout.c: Likewise.
19576 * sunrpc/rpc_util.c: Likewise.
19577 * sunrpc/rpc_util.h: Likewise.
19578 * sunrpc/rpcinfo.c: Likewise.
19579 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19580 * sunrpc/rpcsvc/key_prot.x: Likewise.
19581 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19582 * sunrpc/rpcsvc/mount.x: Likewise.
19583 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19584 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19585 * sunrpc/rpcsvc/rex.x: Likewise.
19586 * sunrpc/rpcsvc/rstat.x: Likewise.
19587 * sunrpc/rpcsvc/rusers.x: Likewise.
19588 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19589 * sunrpc/rpcsvc/spray.x: Likewise.
19590 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19591 * sunrpc/rtime.c: Likewise.
19592 * sunrpc/svc.c: Likewise.
19593 * sunrpc/svc_auth.c: Likewise.
19594 * sunrpc/svc_authux.c: Likewise.
19595 * sunrpc/svc_raw.c: Likewise.
19596 * sunrpc/svc_run.c: Likewise.
19597 * sunrpc/svc_simple.c: Likewise.
19598 * sunrpc/svc_tcp.c: Likewise.
19599 * sunrpc/svc_udp.c: Likewise.
19600 * sunrpc/svc_unix.c: Likewise.
19601 * sunrpc/svcauth_des.c: Likewise.
19602 * sunrpc/xcrypt.c: Likewise.
19603 * sunrpc/xdr.c: Likewise.
19604 * sunrpc/xdr_array.c: Likewise.
19605 * sunrpc/xdr_float.c: Likewise.
19606 * sunrpc/xdr_mem.c: Likewise.
19607 * sunrpc/xdr_rec.c: Likewise.
19608 * sunrpc/xdr_ref.c: Likewise.
19609 * sunrpc/xdr_sizeof.c: Likewise.
19610 * sunrpc/xdr_stdio.c: Likewise.
19612 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19615 2010-08-19 Andreas Schwab <schwab@redhat.com>
19617 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19619 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19621 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19622 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19623 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19624 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19625 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19626 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19627 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19628 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19629 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19630 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19631 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19632 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19633 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19634 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19636 2010-07-26 Anton Blanchard <anton@samba.org>
19638 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19639 * malloc/arena.c (heap_trim): Likewise.
19641 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19643 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19645 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19646 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19648 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19650 * sysdeps/i386/elf/Makefile: New file.
19652 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19654 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19655 from fanotify_init.
19656 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19657 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19659 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19661 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19663 * sysdeps/multiarch/strcmp.S: Likewise.
19665 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19667 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19668 strncase_l-nonascii.
19669 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19670 Add strncase_l-ssse3.
19671 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19672 * sysdeps/x86_64/strcmp.S: Likewise.
19673 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19674 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19675 * sysdeps/x86_64/strncase.S: New file.
19676 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19677 * sysdeps/x86_64/strncase_l.S: New file.
19678 * string/Makefile (strop-tests): Add strncasecmp.
19679 * string/test-strncasecmp.c: New file.
19681 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19684 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19685 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19687 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19689 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19691 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19693 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19694 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19695 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19697 2010-05-01 Alan Modra <amodra@gmail.com>
19699 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19700 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19701 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19702 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19703 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19704 tidying. Don't tail-call __sigjmp_save for static lib.
19705 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19707 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19708 (CALL_MCOUNT): Add eh info, and nop after bl.
19709 (TAIL_CALL_SYSCALL_ERROR): New macro.
19710 (PSEUDO_RET): Use it.
19711 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19712 Correct save location of integer regs and cr.
19713 (_dl_profile_resolve): Correct cr save location. Delete nops
19714 after bl when SHARED. Reduce cfi size a little by better
19715 placement of cfi directives.
19716 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19717 make a stack frame. Instead use parm save area as a temp.
19718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19719 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19721 Don't make a stack frame for parent, use parm save area.
19722 Increase child stack frame to 112 bytes. Don't save unused reg,
19723 and adjust reg usage. Set up cfi on error recovery and
19724 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19726 (__makecontext): Add dummy nop after jump to exit.
19727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19728 Use correct parm save area and cr save, reduce stack frame.
19729 Correct cfi for possible PSEUDO_RET frame setup.
19730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19731 Branch to local label emitted by PSEUDO_RET rather than
19734 2010-08-12 Andreas Schwab <schwab@redhat.com>
19737 * locale/programs/locale.c (print_assignment): New function.
19738 (show_locale_vars): Use it.
19740 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19742 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19744 (struct statfs64): Likewise.
19745 (_STATFS_F_FLAGS): Define.
19746 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19747 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19748 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19749 (ST_VALID): Define locally.
19750 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19751 __statvfs_getflags, use the provided value.
19752 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19753 __ASSUME_STATFS_F_FLAGS.
19755 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19757 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19758 Add sys/fanotify.h.
19759 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19760 fanotify_mask for GLIBC_2.13.
19761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19762 fanotify_init and fanotify_mark.
19763 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19764 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19766 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19768 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19769 prlimit64 for GLIBC_2.13.
19770 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19772 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19775 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19776 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19777 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19778 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19780 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19783 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19784 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19786 * nss/Makefile: Add rules to build and run tst-nss-test1.
19787 * shlib-versions: Add entry for libnss_test1.
19788 * nss/nss_test1.c: New file.
19789 * nss/tst-nss-test1.c: New file.
19791 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19792 (__nss_configure_lookup): Set appropriate entry in
19793 __nss_configure_lookup to true.
19794 * nss/nsswitch.h: Define enum with indeces of databases in
19795 databases and __nss_database_custom arrays. Declare
19796 __nss_database_custom.
19797 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19798 to avoid using nscd when custom rules are installed.
19799 * nss/getXXbyYY_r.c: Likewise.
19800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19802 * nss/nss_files/files-parse.c: Whitespace fixes.
19804 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19807 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19808 * posix/fnmatch_loop.c: Likewise.
19810 2010-07-17 Andi Kleen <ak@linux.intel.com>
19812 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19813 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19814 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19815 * Versions.def [GLIBC_2.13]: Add.
19817 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19819 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19820 Also fail if tpwd after pwuid call is NULL.
19822 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19824 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19825 when converting to ms.
19827 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19829 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19830 EOPNOTSUPP errors with ENOTTY.
19831 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19832 EOPNOTSUPP errors with ENOTTY.
19834 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19836 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19837 Add strcasecmp_l-ssse3.
19838 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19840 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19841 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19842 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19844 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19846 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19848 * string/Makefile (strop-tests): Add strcasecmp.
19849 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19850 strcasecmp_l-nonascii.
19851 (gen-as-const-headers): Add locale-defines.sym.
19852 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19853 * sysdeps/x86_64/strcasecmp.S: New file.
19854 * sysdeps/x86_64/strcasecmp_l.S: New file.
19855 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19856 * sysdeps/x86_64/locale-defines.sym: New file.
19857 * string/test-strcasecmp.c: New file.
19859 * string/test-strcasestr.c: Test both ends of the range of characters.
19860 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19862 2010-07-29 Roland McGrath <roland@redhat.com>
19865 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19867 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19869 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19872 2010-07-27 Andreas Schwab <schwab@redhat.com>
19874 * manual/memory.texi (Malloc Tunable Parameters): Document
19877 2010-07-26 Roland McGrath <roland@redhat.com>
19880 * configure.in (-fgnu89-inline check): Set and substitute
19881 gnu89_inline, not libc_cv_gnu89_inline.
19882 * configure: Regenerated.
19883 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19885 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19887 * string/test-strnlen.c: New file.
19888 * string/Makefile (strop-tests): Add strnlen.
19889 * string/tester.c (test_strnlen): Add a few more test cases.
19890 * string/tst-strlen.c: Better error reporting.
19892 * sysdeps/x86_64/strnlen.S: New file.
19894 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19896 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19897 lower-latency instructions.
19899 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19901 * string/test-strcasestr.c: New file.
19902 * string/test-strstr.c: New file.
19903 * string/Makefile (strop-tests): Add strstr and strcasestr.
19904 * string/str-two-way.h: Don't undefine MAX.
19905 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19907 2010-07-21 Andreas Schwab <schwab@redhat.com>
19909 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19910 strcasestr-nonascii.
19911 (CFLAGS-strcasestr-nonascii.c): Define.
19912 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19913 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19914 Remove unused attribute.
19916 2010-07-20 Roland McGrath <roland@redhat.com>
19918 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19919 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19920 ld.so.cache was broken. With it, there is no way to disable dsocaps
19921 like LD_HWCAP_MASK can disable hwcaps.
19923 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19925 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19927 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19929 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19930 call in strcasestr.
19931 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19932 __strcasestr_sse42_nonascii.
19933 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19934 strcasestr-nonascii.c.
19935 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19937 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19939 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19940 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19941 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19942 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19944 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19946 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19949 2010-07-06 Andreas Schwab <schwab@redhat.com>
19952 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19955 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19957 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19958 _PC_PIPE_BUF using F_GETPIPE_SZ.
19960 2010-07-05 Roland McGrath <roland@redhat.com>
19962 * manual/arith.texi (Rounding Functions): Fix rint description
19963 implicit in round description.
19965 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19967 * elf/Makefile: Fix linking for a few tests to make recent linker
19970 2010-06-30 Andreas Schwab <schwab@redhat.com>
19972 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19973 $(common-objpfx)libc_nonshared.a.
19975 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19977 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19978 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19979 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19980 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19981 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19982 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19983 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19984 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19999 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20000 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20001 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20002 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20003 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20004 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20005 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20006 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20007 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20008 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20009 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20010 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20026 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20028 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20029 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20030 * string/memmove.c (memmove): Renamed to ...
20031 (MEMMOVE): ...this. Default to memmove.
20032 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20033 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20036 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20037 mempcpy-ssse3-back memmove-ssse3-back.
20038 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20040 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20041 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20042 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20043 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20044 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20045 * sysdeps/x86_64/multiarch/memmove.c: New file.
20046 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20047 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20048 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20049 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20050 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20051 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20053 (index_Fast_Copy_Backward): Define.
20054 (HAS_ARCH_FEATURE): Define.
20055 (HAS_FAST_REP_STRING): Define.
20056 (HAS_FAST_COPY_BACKWARD): Define.
20058 2010-06-21 Andreas Schwab <schwab@redhat.com>
20060 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20061 Restore proper fallback handling.
20063 2010-06-19 Ulrich Drepper <drepper@redhat.com>
20066 * posix/group_member.c (__group_member): Correct checking loop.
20068 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20069 OOM in getpwuid_r correctly. Return error number when the caller
20070 should return, otherwise -1.
20071 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20072 call returning > 0 value.
20073 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20075 2010-06-07 Andreas Schwab <schwab@redhat.com>
20077 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20078 libc_nonshared.a from targets in modules-names.
20080 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20082 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20085 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
20087 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20088 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20089 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20090 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20092 2010-06-02 Andreas Schwab <schwab@redhat.com>
20094 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20096 2010-06-14 Ulrich Drepper <drepper@redhat.com>
20098 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20100 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20101 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20104 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20105 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20107 2010-06-14 Roland McGrath <roland@redhat.com>
20109 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20111 2010-06-07 Jakub Jelinek <jakub@redhat.com>
20113 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20114 __REDIRECT followed by __THROW.
20115 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20116 * posix/getopt.h (getopt): Likewise.
20118 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20120 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20121 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20122 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20124 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20125 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20127 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
20129 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20131 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20135 Properly check family and model.
20137 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20139 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20141 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
20143 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20145 2010-05-21 Ulrich Drepper <drepper@redhat.com>
20147 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20150 2010-05-19 Andreas Schwab <schwab@redhat.com>
20152 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20155 2010-05-21 Andreas Schwab <schwab@redhat.com>
20157 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20158 and internal_recvmmsg.
20159 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20160 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20161 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20162 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20164 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20165 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20166 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20168 2010-05-20 Andreas Schwab <schwab@redhat.com>
20170 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20172 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
20174 POWER7 optimizations.
20175 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20176 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20178 2010-05-19 Ulrich Drepper <drepper@redhat.com>
20180 * version.h: Update for 2.13 development version.
20182 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
20184 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20185 exceptions. Return 0.
20187 2010-05-07 Roland McGrath <roland@redhat.com>
20189 * elf/ldconfig.c (main): Add a const.
20191 2010-05-06 Ulrich Drepper <drepper@redhat.com>
20193 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20194 (args_options): Add no-idn option.
20195 (ahosts_keys_int): Add idn_flags to ai_flags.
20196 (parse_option): Handle 'i' option to clear idn_flags.
20198 * malloc/malloc.c (_int_free): Possible race in the most recently
20199 added check. Only act on the data if no current modification
20202 See ChangeLog.17 for earlier changes.