1 2012-10-10 Joseph Myers <joseph@codesourcery.com>
3 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4 * configure: Regenerated.
6 * Makeconfig (+link-static-before-libc): Don't include
9 * libio/libio.h (_IO_pos_t): Remove.
11 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18 * crypt/crypt-entry.c: Include fips-private.h.
19 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20 * crypt/md5c-test.c (main): Tolerate disabled MD5.
21 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26 * crypt/crypt-private.h: Include stdbool.h.
27 (_ufc_setup_salt_r): Return bool.
28 * crypt/crypt-entry.c: Include errno.h.
29 (__crypt_r): Return NULL with EINVAL for bad salt.
30 * crypt/crypt_util.c (bad_for_salt): New.
31 (_ufc_setup_salt_r): Check that salt is long enough and within
32 the specified alphabet.
33 * crypt/badsalttest.c: New file.
34 * crypt/Makefile (tests): Add it.
35 ($(objpfx)badsalttest): New.
37 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
39 * NEWS: Add entry for BZ #14602.
41 2012-10-09 Joseph Myers <joseph@codesourcery.com>
43 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45 * math/libm-test.inc: Update comment listing what functions and
47 (isgreater_test): New function.
48 (isgreaterequal_test): Likewise.
49 (isless_test): Likewise.
50 (islessequal_test): Likewise.
51 (islessgreater_test): Likewise.
52 (isunordered_test): Likewise.
53 (main): Call the new functions.
55 2012-10-09 Roland McGrath <roland@hack.frob.com>
57 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
58 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60 * sysdeps/i386/configure: Regenerated.
61 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
62 * sysdeps/mach/configure: Regenerated.
63 * sysdeps/mach/hurd/configure: Regenerated.
64 * sysdeps/powerpc/configure: Regenerated.
65 * sysdeps/powerpc/powerpc32/configure: Regenerated.
66 * sysdeps/powerpc/powerpc64/configure: Regenerated.
67 * sysdeps/s390/s390-32/configure: Regenerated.
68 * sysdeps/s390/s390-64/configure: Regenerated.
69 * sysdeps/sh/configure: Regenerated.
70 * sysdeps/sparc/configure: Regenerated.
71 * sysdeps/unix/sysv/linux/configure: Regenerated.
72 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
73 * sysdeps/x86_64/configure: Regenerated.
75 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76 defined. Don't check if MAP is NULL.
78 2012-10-09 Joseph Myers <joseph@codesourcery.com>
80 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
81 (_G_stat64): Likewise.
82 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
83 (_G_stat64): Likewise.
84 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
85 instead of struct _G_stat64.
86 * libio/fileops.c (mmap_remap_check): Likewise.
87 (decide_maybe_mmap): Likewise.
88 (_IO_new_file_seekoff): Likewise.
89 (_IO_file_stat): Likewise.
90 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
92 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
93 instead of struct _G_stat64.
94 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
96 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
99 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
101 (CHECK_EOL): New macro.
102 (two_way_short_needle): Check beginning of haystack for EOL. Use
104 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
105 Replace with CHECK_EOL.
106 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
107 Replace with CHECK_EOL.
109 2012-10-08 Joseph Myers <joseph@codesourcery.com>
111 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
113 * math/libm-test.inc: Update comment listing what functions and
115 (finite_test): New function.
116 (isinf_test): Likewise.
117 (isnan_test): Likewise.
118 (fpclassify_test): Test subnormal input.
119 (isfinite_test): Likewise.
120 (isnormal_test): Likewise.
121 (main): Call the new functions.
123 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
126 * Makerules (%.dynsym): Force C locale when running
127 $(OBJDUMP) --dynamic-syms.
129 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
131 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
134 2012-10-06 David S. Miller <davem@davemloft.net>
136 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
137 upper 32-bits of the length value in %o2 since we use branch-on-register
138 tests which consider the entire 64-bit register.
140 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
142 * string/test-strstr.c (check2): Add a test for page boundary.
144 2012-10-05 David S. Miller <davem@davemloft.net>
146 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
147 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
149 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
151 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
152 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
153 and bzero when HWCAP_SPARC_CRYPTO is present.
155 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
158 * string/test-strstr.c (check2): New function.
159 (test_main): Call check2.
161 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
163 * string/bug-strcasestr1.c (do_test): Moved to ...
164 * string/test-strcasestr.c (check1): Here. New function.
165 (do_one_test): Break out result checking code into ...
166 (check_result): This. New function.
167 (do_one_test): Call check_result.
168 (test_main): Call check1.
169 * string/bug-strchr1.c (do_test): Moved to ...
170 * string/test-strchr.c (check1): Here. New function.
171 (do_one_test): Break out result checking code into ...
172 (check_result): This. New function.
173 (do_one_test): Call check_result.
174 (test_main): Call check1.
175 * string/bug-strstr1.c (main): Moved to ...
176 * string/test-strchr.c (check1): Here. New function.
177 (do_one_test): Break out result checking code into ...
178 (check_result): This. New function.
179 (do_one_test): Call check_result.
180 (test_main): Call check1.
181 * string/bug-strcasestr1.c: Removed.
182 * string/bug-strchr1.c: Likewise.
183 * string/bug-strstr1.c: Likewise.
185 * elf/Makefile (dl-routines): Add hwcaps.
186 * elf/dl-support.c (_dl_important_hwcaps): Removed.
187 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
188 (_dl_important_hwcaps): Moved to ...
189 * elf/dl-hwcaps.c: Here. New file.
190 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
193 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
194 if IS_IN_rtld isn't defined.
196 * elf/dl-support.c (_dl_sysinfo_map): New.
197 Include "get-dynamic-info.h" and "setup-vdso.h".
198 (_dl_non_dynamic_init): Call setup_vdso.
199 * elf/dynamic-link.h: Don't include <assert.h>.
200 (elf_get_dynamic_info): Moved to ...
201 * elf/get-dynamic-info.h: Here. New file.
202 * elf/dynamic-link.h: Include "get-dynamic-info.h".
203 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
204 * elf/setup-vdso.h: Here. New file.
205 * elf/rtld.c: Include "setup-vdso.h".
206 (dl_main): Call setup_vdso.
208 2012-10-05 Joseph Myers <joseph@codesourcery.com>
210 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
211 creal in comment listing functions tested. List finite, isinf,
212 isnan, isless, islessequal, isgreater, isgreaterequal,
213 islessgreater, isunordered, lgamma_r and pow10 as functions and
214 macros not tested. Mention which functions not tested are aliases
215 for other functions. Fix typo. Note that signs of NaNs are not
218 * scripts/config.guess: Update from config.git.
219 * scripts/config.sub: Likewise.
221 2012-10-04 Roland McGrath <roland@hack.frob.com>
223 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
224 * misc/madvise.c (madvise): Renamed to __madvise.
225 Make madvise a weak alias.
226 * include/sys/mman.h: Declare __madvise.
227 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
228 * sysdeps/unix/syscalls.list
229 (madvise): Make __madvise the strong name, and madvise a weak alias.
230 * sysdeps/unix/sysv/linux/syscalls.list
231 (madvise, mmap): Remove redundant entries.
232 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
233 * malloc/malloc.c (mtrim): Likewise.
234 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
236 2012-10-03 Roland McGrath <roland@hack.frob.com>
238 * sysdeps/mach/hurd/dl-cache.c: File removed.
239 * config.h.in (USE_LDCONFIG): New #undef.
240 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
241 * configure: Regenerated.
242 * elf/Makefile (dl-routines): Add dl-cache only under
243 [$(use-ldconfig) = yes].
244 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
245 cache on [USE_LDCONFIG].
246 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
248 * elf/rtld.c (dl_main): Likewise.
250 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
252 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
253 _SC_LEVEL4_CACHE_LINESIZE.
255 2012-10-03 Roland McGrath <roland@hack.frob.com>
257 * sysdeps/unix/bsd/confstr.h: File removed.
259 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
261 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
264 2012-10-02 Roland McGrath <roland@hack.frob.com>
266 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
267 Make 'mapoff' field ElfW(Off) rather than off_t.
269 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
271 * nscd/Makefile: Remove nscd-cflags and all its users.
272 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
273 (CFLAGS-nonlib): Add compiler flags for nscd modules.
276 * malloc.c (malloc_printerr): Clarify error message.
278 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
282 Set bit_FMA_Usable if FMA is supported.
283 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
285 (bit_FMA4_Usable): Updated.
286 (index_FMA_Usable): New macro.
287 (CPUID_FMA): Likewise
288 (HAS_FMA): Defined with bit_FMA_Usable.
290 2012-10-01 Roland McGrath <roland@hack.frob.com>
292 * bits/types.h (__swblk_t): Type removed.
293 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
294 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
295 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
296 (__SWBLK_T_TYPE): Likewise.
297 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
298 (__SWBLK_T_TYPE): Likewise.
299 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
300 (__SWBLK_T_TYPE): Likewise.
301 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
302 (__SWBLK_T_TYPE): Likewise.
304 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
305 Honza Horak <hhorak@redhat.com>
307 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
308 (xdr_mapname): Use YPMAXMAP as maxsize.
309 (xdr_peername): Use YPMAXPEER as maxsize.
310 (xdr_keydat): Use YPAXRECORD as maxsize.
311 (xdr_valdat): Use YPMAXRECORD as maxsize.
313 2012-10-01 Roland McGrath <roland@hack.frob.com>
315 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
317 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
318 * csu/init-first.c: ... here.
319 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
320 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
321 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
322 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
323 * sysdeps/i386/init-first.c: File removed.
324 * sysdeps/sh/init-first.c: File removed.
326 2012-10-01 Joseph Myers <joseph@codesourcery.com>
329 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
330 if x * y might underflow to zero and z is zero.
331 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
332 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
333 * math/libm-test.inc (min_subnorm_value): New variable.
334 (fma_test): Add more tests.
335 (fma_test_towardzero): Likewise.
336 (fma_test_downward): Likewise
337 (fma_test_upward): Likewise.
338 (initialize): Set min_subnorm_value.
340 2012-09-29 Joseph Myers <joseph@codesourcery.com>
343 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
345 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
346 mode for addition resulting in exact zero.
347 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
348 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
350 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
351 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
352 * math/libm-test.inc (fma_test): Add more tests.
353 (fma_test_towardzero): New function.
354 (fma_test_downward): Likewise.
355 (fma_test_upward): Likewise.
356 (main): Call the new functions.
358 2012-09-28 David S. Miller <davem@davemloft.net>
360 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
362 2012-09-28 Roland McGrath <roland@hack.frob.com>
364 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
367 * sysdeps/gnu/_G_config.h: Moved to ...
368 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
369 * sysdeps/mach/hurd/_G_config.h: Moved to ...
370 * sysdeps/generic/_G_config.h: ... here.
372 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
374 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
376 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
377 Conditionalize target on [libnss_test1.so-version].
379 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
381 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
382 (elfobjdir): Move out of conditionals.
384 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
385 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
386 (__nss_lookup_function): Conditionalize label remove_from_tree on
387 [!DO_STATIC_NSS || SHARED], matching its only use.
389 2012-09-28 David S. Miller <davem@davemloft.net>
391 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
392 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
394 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
396 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
397 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
398 when HWCAP_SPARC_CRYPTO is present.
400 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
402 * io/tst-mknodat.c: Create a FIFO instead of a socket.
404 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
407 * stdio-common/vfprintf.c (process_string_arg): Revert
410 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
412 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
414 * stdio-common/tst-sprintf.c: Include <locale.h>
415 (main): Test sprintf's handling of incomplete multibyte
418 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
420 * elf/dl-runtime.c (VERSYMIDX): Removed.
421 * elf/dl-version.c (VERSYMIDX): Likewise.
422 * elf/do-rel.h (VERSYMIDX): Likewise.
424 * elf/dynamic-link.h (VERSYMIDX): Likewise.
425 * elf/rtld.c (VALIDX): Likewise.
427 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
428 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
429 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
430 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
434 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
436 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
438 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
441 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
443 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
444 addresses are in the same scope as 192.0.2/24.
445 * posix/gai.conf: Document new scope table defaults.
447 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
450 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
451 for ftell. Compute offsets from write pointers instead.
452 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
454 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
457 * libio/Makefile (tests): New test case tst-fseek.
458 * libio/tst-fseek.c: New test case to verify that fseek/ftell
459 combination works in wide mode.
460 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
461 state when the external buffer state changes.
463 2012-09-27 David S. Miller <davem@davemloft.net>
466 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
467 pass reloc->r_addend in as the 'high' argument to
468 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
472 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
474 * rt/tst-aio2.c: Include <pthread.h>.
475 * rt/tst-aio3.c: Likewise.
477 2012-09-27 Steve Ellcey <sellcey@mips.com>
479 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
481 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
483 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
484 contents on [SHARED].
486 2012-09-26 Marek Polacek <polacek@redhat.com>
490 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
491 for C++ and GCC <4.3 as well as for non GCC compilers.
493 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
497 2012-09-25 Roland McGrath <roland@hack.frob.com>
499 * Makefile.in (all, install): Declare with .PHONY.
500 Reported by Michael Hope <michael.hope@linaro.org>.
502 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
504 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
505 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
507 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
509 (sydep_routines): Add the new and the internal functions.
510 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
511 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
513 (GLIBC_2.17): Add the new function.
514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
515 (GLIBC_2.17): Likewise.
516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
517 (GLIBC_2.17): Likewise.
518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
519 (GLIBC_2.17): Likewise.
520 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
522 2012-09-25 Alan Modra <amodra@gmail.com>
524 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
525 Add release barrier before setting once_control to say
526 initialisation is done. Add hints on lwarx. Use macro in
528 (clear_once_control): Add release barrier.
530 2012-09-25 Joseph Myers <joseph@codesourcery.com>
533 * math/s_clog.c (__clog): Handle more values close to |z| = 1
535 * math/s_clog10.c (__clog10): Likewise.
536 * math/s_clog10f.c (__clog10f): Likewise.
537 * math/s_clog10l.c (__clog10l): Likewise.
538 * math/s_clogf.c (__clogf): Likewise.
539 * math/s_clogl.c (__clogl): Likewise.
540 * math/Makefile (libm-calls): Add x2y2m1.
541 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
542 (__x2y2m1): Likewise.
543 (__x2y2m1l): Likewise.
544 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
545 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
546 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
547 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
548 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
549 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
550 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
551 * sysdeps/i386/fpu/libm-test-ulps: Update.
552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
555 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
556 int as type of variable DEPTH.
557 (glob): Use size_t instead of int as type of variables NEWCOUNT
560 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
562 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
564 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
565 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
566 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
567 macros for using routine as __sincosf_ia32.
568 Use macro for function declaration and weak_alias.
569 * sysdeps/i386/fpu/libm-test-ulps: Update.
571 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
574 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
576 * math/s_cexpf.c (__cexpf): Likewise.
577 * math/s_csinf.c (__csinf): Likewise.
578 * math/s_csinhf.c (__csinhf): Likewise.
579 * math/s_ctanf.c (__ctanf): Likewise.
580 * math/s_ctanhf.c (__ctanhf): Likewise.
581 * math/s_ccosh.c (__ccoshf): Likewise.
582 * math/s_cexp.c (__cexpl): Likewise.
583 * math/s_csin.c (__csin): Likewise.
584 * math/s_csinh.c (__csinh): Likewise.
585 * math/s_ctan.c (__ctan): Likewise.
586 * math/s_ctanh.c (ctanh): Likewise.
587 * math/s_ccoshl.c (__ccoshl): Likewise.
588 * math/s_cexpl.c (__cexpl): Likewise.
589 * math/s_csinl.c (__csinl): Likewise.
590 * math/s_csinhl.c (__csinhl): Likewise.
591 * math/s_ctanl.c (__ctanl): Likewise.
592 * math/s_ctanhl.c (__ctanhl): Likewise.
594 2012-09-25 Joseph Myers <joseph@codesourcery.com>
596 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
597 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
598 (_IO_off_t): Define to __off_t, not _G_off_t.
599 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
600 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
601 (_IO_wint_t): Define to wint_t, not _G_wint_t.
602 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
603 type of __dummy and __dummy2 fields.
604 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
605 (_G_ssize_t): Likewise.
606 (_G_off_t): Likewise.
607 (_G_pid_t): Likewise.
608 (_G_uid_t): Likewise.
609 (_G_wchar_t): Likewise.
610 (_G_wint_t): Likewise.
611 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
612 (_G_ssize_t): Likewise.
613 (_G_off_t): Likewise.
614 (_G_pid_t): Likewise.
615 (_G_uid_t): Likewise.
616 (_G_wchar_t): Likewise.
617 (_G_wint_t): Likewise.
618 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
619 (_G_ssize_t): Likewise.
620 (_G_off_t): Likewise.
621 (_G_pid_t): Likewise.
622 (_G_uid_t): Likewise.
623 (_G_wchar_t): Likewise.
624 (_G_wint_t): Likewise.
626 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
628 * malloc/arena.c: Include malloc-sysdep.h.
629 (shrink_heap): Use check_may_shrink_heap to decide if madvise
630 is sufficient to shrink the heap or an unmap is needed.
631 * sysdeps/generic/malloc-sysdep.h: New file. Define
632 new function check_may_shrink_heap.
633 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
634 new function check_may_shrink_heap.
636 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
638 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
641 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
643 * catgets/test-gencat.sh: Add "set -e".
644 * elf/tst-pathopt.sh: Likewise.
645 * grp/tst_fgetgrent.sh: Likewise.
646 * iconvdata/run-iconv-test.sh: Likewise.
647 * intl/tst-gettext.sh: Likewise.
648 * intl/tst-gettext2.sh: Likewise.
649 * intl/tst-gettext4.sh: Likewise.
650 * intl/tst-gettext6.sh: Likewise.
651 * intl/tst-translit.sh: Likewise.
652 * io/ftwtest-sh: Likewise.
653 * libio/test-freopen.sh: Likewise.
654 * malloc/tst-mtrace.sh: Likewise.
655 * posix/globtest.sh: Likewise.
656 * posix/tst-getconf.sh: Likewise.
657 * posix/wordexp-tst.sh: Likewise.
658 * stdio-common/tst-printf.sh: Likewise.
659 * stdio-common/tst-unbputc.sh: Likewise.
660 * stdlib/tst-fmtmsg.sh: Likewise.
661 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
662 * catgets/Makefile: Do not specify -e option when running
663 testsuite shell scripts.
664 * elf/Makefile: Likewise.
665 * grp/Makefile: Likewise.
666 * iconvdata/Makefile: Likewise.
667 * intl/Makefile: Likewise.
668 * io/Makefile: Likewise.
669 * libio/Makefile: Likewise.
670 * malloc/Makefile: Likewise.
671 * posix/Makefile: Likewise.
672 * stdio-common/Makefile: Likewise.
673 * stdlib/Makefile: Likewise.
674 * sysdeps/x86_64/Makefile: Likewise.
676 * io/ftwtest-sh: Add copyright header.
677 * posix/globtest.sh: Likewise.
678 * posix/tst-getconf.sh: Likewise.
679 * posix/wordexp-tst.sh: Likewise.
680 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
682 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
685 * Makeconfig (+link): Defined as $(+link-static) if
686 $(build-shared) isn't yes.
687 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
689 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
691 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
694 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
695 new chunk size with MALLOC_ALIGN_MASK.
697 2012-09-24 Joseph Myers <joseph@codesourcery.com>
700 * stdio-common/printf_fphex.c: Include <stdbool.h> and
702 (__printf_fphex): Determine rounding using get_rounding_mode and
704 * stdio-common/tst-printf-round.c (struct hex_test): New
706 (hex_tests): New variable.
707 (test_hex_in_one_mode): New function.
708 (do_test): Also run tests for hex float output.
710 2012-09-21 Joseph Myers <joseph@codesourcery.com>
712 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
713 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
714 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
715 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
716 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
717 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
718 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
719 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
721 2012-09-20 Joseph Myers <joseph@codesourcery.com>
723 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
724 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
725 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
726 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
728 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
731 * elf/rtld.c (dl_main): Limit the check for self loading to normal
733 * elf/tst-rtld-load-self.sh: New test.
734 * elf/Makefile: Run it.
736 2012-09-18 Joseph Myers <joseph@codesourcery.com>
738 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
739 (tst-writev-ENV): Remove.
740 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
742 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
744 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
746 2012-09-17 Joseph Myers <joseph@codesourcery.com>
748 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
750 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
752 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
753 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
754 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
757 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
760 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
761 * config.make.in (have-cpp-asm-debuginfo): Removed.
762 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
763 * configure: Regenerated.
765 2012-09-14 Joseph Myers <joseph@codesourcery.com>
768 * stdio-common/printf_fp.c: Include <stdbool.h> and
770 (___printf_fp): Determine rounding using get_rounding_mode and
772 * stdio-common/tst-printf-round.c: New file.
773 * stdio-common/Makefile (tests): Add tst-printf-round.
774 (link-libm): New variable.
775 ($(objpfx)tst-printf-round): Depend in $(link-libm).
777 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
780 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
781 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
783 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
786 2012-09-13 Joseph Myers <joseph@codesourcery.com>
788 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
789 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
790 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
791 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
793 2012-09-12 Joseph Myers <joseph@codesourcery.com>
796 * include/rounding-mode.h: New file.
797 * sysdeps/generic/get-rounding-mode.h: Likewise.
798 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
799 * stdlib/strtod_l.c: Include <rounding-mode.h>.
800 (MAX_VALUE): New macro.
801 (MIN_VALUE): Likewise.
802 (overflow_value): New function.
803 (underflow_value): Likewise.
804 (round_and_return): Use overflow_value and underflow_value to
805 determine return values in overflow and underflow cases. Use
806 round_away to determine rounding depending on rounding mode.
807 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
808 determine return values in overflow and underflow cases.
809 * stdlib/tst-strtod-round.c: Include <fenv.h>.
810 (struct test_results): New structure.
811 (struct test): Use struct test_results to store expected results
812 for all rounding modes.
813 (TEST): Include expected results for all rounding modes.
814 (test_in_one_mode): New function.
815 (do_test): Use test_in_one_mode to compute and check results.
816 Check results for all rounding modes.
817 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
820 2012-12-09 Allan McRae <allan@archlinux.org>
822 * sysdeps/i386/fpu/libm-test-ulps: Update
824 2012-09-11 Joseph Myers <joseph@codesourcery.com>
826 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
827 (_G_int32_t): Likewise.
828 (_G_uint16_t): Likewise.
829 (_G_uint32_t): Likewise.
830 (_G_HAVE_BOOL): Likewise.
831 (_G_HAVE_ATEXIT): Likewise.
832 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
833 (_G_HAVE_IO_FILE_OPEN): Likewise.
834 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
835 (_G_int32_t): Likewise.
836 (_G_uint16_t): Likewise.
837 (_G_uint32_t): Likewise.
838 (_G_HAVE_BOOL): Likewise.
839 (_G_HAVE_ATEXIT): Likewise.
840 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
841 (_G_HAVE_IO_FILE_OPEN): Likewise.
842 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
843 (_G_int32_t): Likewise.
844 (_G_uint16_t): Likewise.
845 (_G_uint32_t): Likewise.
846 (_G_HAVE_BOOL): Likewise.
847 (_G_HAVE_ATEXIT): Likewise.
848 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
849 (_G_HAVE_IO_FILE_OPEN): Likewise.
851 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
853 * csu/libc-tls.c: Update copyright years.
855 2012-09-10 Joseph Myers <joseph@codesourcery.com>
857 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
858 [!_G_USING_THUNKS]: Remove conditional code.
859 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
860 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
862 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
863 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
864 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
865 (_G_VTABLE_LABEL_PREFIX): Likewise.
866 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
867 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
868 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
869 (_G_VTABLE_LABEL_PREFIX): Likewise.
870 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
871 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
872 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
873 (_G_VTABLE_LABEL_PREFIX): Likewise.
874 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
876 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
878 * libio/Makefile: Include ../Makeconfig before tests.
879 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
880 only if $(build-shared) is yes.
882 * iconv/gconv_db.c: Update copyright years.
884 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
886 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
887 unwind info if defined PIC. Fix special cases description.
888 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
890 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
892 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
894 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
896 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
898 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
901 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
902 (LDLIBS-tst-chk4): This.
903 (LDFLAGS-tst-chk5): Renamed to ...
904 (LDLIBS-tst-chk5): This.
905 (LDFLAGS-tst-chk6): Renamed to ...
906 (LDLIBS-tst-chk6): This.
907 (LDFLAGS-tst-lfschk4): Renamed to ...
908 (LDLIBS-tst-lfschk4): This.
909 (LDFLAGS-tst-lfschk5): Renamed to ...
910 (LDLIBS-tst-lfschk5): This.
911 (LDFLAGS-tst-lfschk6): Renamed to ...
912 (LDLIBS-tst-lfschk6): This.
914 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
915 on $(common-objpfx)soversions.mk.
917 2012-09-07 Joseph Myers <joseph@codesourcery.com>
920 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
923 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
925 * malloc/arena.c (arena_get_retry): New function that gets
926 another arena for the caller to try its request on.
927 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
928 current arena cannot fulfill the request.
929 (__libc_memalign): Likewise.
930 (__libc_memalign): Likewise.
931 (__libc_pvalloc): Likewise.
932 (__libc_calloc): Likewise.
934 2012-09-05 John Tobey <john.tobey@gmail.com>
937 * manual/arith.texi (Operations on Complex): Fix description
940 2012-09-06 Joseph Myers <joseph@codesourcery.com>
943 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
947 * manual/memory.texi (Memory): Make order of menu items match
950 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
952 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
953 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
954 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
956 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
958 * csu/libc-tls.c (static_dtv): Renamed to ...
959 (_dl_static_dtv): This. Make it global.
960 (_dl_initial_dtv): Removed.
961 (__libc_setup_tls): Updated.
962 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
963 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
966 2012-09-06 Petr Machata <pmachata@redhat.com>
968 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
969 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
970 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
971 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
973 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
976 * csu/libc-tls.c (_dl_initial_dtv): New variable.
977 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
980 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
983 * Makeconfig (link-static-before-libc): Replace $(+prector)
985 (link-static-after-libc): Replace $(+postctor) with
987 (link-bounded): Replace $(+prector)/$(+postctor) with
988 $(+prectorT)/$(+postctorT).
989 (+prectorT): New macro.
990 (+postctorT): Likewise.
992 2012-09-06 Joseph Myers <joseph@codesourcery.com>
994 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
995 (round_str): Handle values above the maximum for IBM long double
997 * stdlib/tst-strtod-round.c (tests): Regenerated.
999 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1001 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1003 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1004 zarch_nohighgprs around the zarch optimized routines.
1005 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1006 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1007 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1010 2012-09-05 David S. Miller <davem@davemloft.net>
1012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1014 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1015 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1016 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1017 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1020 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1022 * malloc/arena.c: Fold copyright years.
1023 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1025 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1027 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1029 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1031 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1033 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1035 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1036 change internal state upon failure.
1038 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1040 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1041 * malloc/memusage.c (mmap): Likewise.
1042 (mmap64, mremap): Likewise. Adjust name in comment.
1044 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1046 * libio/fileops.c: Fix typos in comments.
1047 * libio/oldfileops.c: Likewise.
1048 * libio/wfileops.c: Likewise.
1050 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1053 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1054 (tst-malloc-usable-ENV): Set environment for test case.
1055 * malloc/hooks.c (malloc_check_get_size): New function to get
1057 * malloc/malloc.c (musable): Use malloc_check_get_size.
1058 * malloc/tst-malloc-usable.c: New test case.
1060 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1062 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1064 2012-09-05 Allan McRae <allan@archlinux.org>
1067 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1068 determine header location.
1069 * configure: Regenerated.
1071 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1073 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1075 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
1076 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1080 2012-09-04 David S. Miller <davem@davemloft.net>
1082 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1083 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1084 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1086 2012-09-04 Florian Weimer <fweimer@redhat.com>
1088 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1091 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1093 2012-09-04 Joseph Myers <joseph@codesourcery.com>
1096 * libio/iogetdelim.c: Include <limits.h>.
1097 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1098 + len + 1 would overflow.
1100 2012-09-03 Andreas Jaeger <aj@suse.de>
1102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1103 * sysdeps/i386/fpu/libm-test-ulps: Update.
1105 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1107 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1108 Add s_sinf-sse2, s_conf-sse2.
1110 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1111 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1112 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1113 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1115 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1116 for using routine as __sinf_ia32.
1117 Use macro for function declaration and weak_alias.
1118 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1119 for using routine as __cosf_ia32.
1120 Use macro for function declaration and weak_alias.
1122 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1123 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1125 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1126 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1129 * math/libm-test.inc (cos_test): Add more test cases.
1130 (sin_test): Likewise.
1131 (sincos_test): Likewise.
1133 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1135 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1136 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1138 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1140 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1143 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1144 first element of the GOT.
1145 (elf_machine_load_address): Return the difference between
1146 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1148 2012-09-01 Allan McRae <allan@archlinux.org>
1151 * configure.in (AWK): Require gawk version 3.0 or later.
1152 * configure: Regenerated.
1154 2012-09-01 Joseph Myers <joseph@codesourcery.com>
1156 * sysdeps/unix/sysv/linux/kernel-features.h
1157 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1158 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1159 [__NR_clock_getres]: Make code unconditional.
1160 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1161 (clock_getcpuclockid): Remove code left unreachable by removal of
1163 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1165 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1166 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1167 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1168 Make code unconditional.
1169 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1170 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1171 * sysdeps/unix/sysv/linux/clock_settime.c
1172 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1174 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1175 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1177 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1180 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1181 scripts/test-installation.pl.
1183 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1184 and $ld_so_version if it is set.
1186 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1189 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1190 failure if reading from procfs failed.
1191 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1193 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1195 * sysdeps/unix/sysv/linux/kernel-features.h
1196 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1197 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1198 Remove conditional code.
1199 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1200 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1201 Remove conditional code.
1202 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1203 * sysdeps/unix/sysv/linux/i386/fxstat.c
1204 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1205 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1206 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1207 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1208 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1209 * sysdeps/unix/sysv/linux/i386/lxstat.c
1210 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1211 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1212 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1213 Remove conditional code.
1214 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1215 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1216 Remove conditional code.
1217 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1218 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1219 <kernel-features.h>.
1220 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1222 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1223 Remove conditional code.
1224 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1225 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1228 2012-08-27 Mike Frysinger <vapier@gentoo.org>
1231 * NEWS: Add fixed bug number.
1233 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1236 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1237 underflowing exponent in case of negative sign.
1238 * stdlib/tst-strtod-round-data: Add more tests.
1239 * stdlib/tst-strtod-round.c (tests): Regenerated.
1242 * stdlib/strtod_l.c (NDIG): Remove.
1243 (HEXNDIG): Likewise.
1244 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1245 smallest representable value.
1246 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1247 lie within an exact representation of 1/2 ulp of the result.
1248 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1250 (TENS_P9_IDX): Define unconditionally.
1251 (TENS_P9_SIZE): Likewise.
1252 (TENS_P10_IDX): Likewise.
1253 (TENS_P10_SIZE): Likewise.
1254 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1255 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1256 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1257 entries for 10^2^13 and 10^2^14.
1258 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1259 (TENS_P13_IDX): Define.
1260 (TENS_P13_SIZE): Likewise.
1261 (TENS_P14_IDX): Likewise.
1262 (TENS_P14_SIZE): Likewise.
1263 (_fpioconst_pow10): Change array size to
1264 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1266 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1267 1024]: Add entries for 10^2^13 and 10^2^14.
1268 [LAST_POW10 > _LAST_POW10]: Remove #error.
1269 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1270 (_fpioconst_pow10): Change array size to
1271 FPIOCONST_POW10_ARRAY_SIZE.
1272 * stdlib/gen-fpioconst.c: New file.
1273 * stdlib/gen-tst-strtod-round.c: Likewise.
1274 * stdlib/tst-strtod-round-data: Likewise.
1275 * stdlib/tst-strtod-round.c: Likewise.
1276 * stdlib/Makefile (tests): Add tst-strtod-round.
1279 * stdlib/strtod_l.c: Include <stdint.h>.
1280 (NDEBUG): Do not define.
1281 (round_and_return): Change EXPONENT parameter to type intmax_t.
1282 Rearrange calculations to avoid internal overflow possibilities.
1283 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1284 Rearrange calculations to avoid internal overflow possibilities.
1285 Assert that number fits inside MPNSIZE limbs.
1286 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1287 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1288 calculations and add assertions to avoid internal overflow
1289 possibilities. Add casts to avoid signed/unsigned operations.
1290 * stdlib/tst-strtod-overflow.c: New file.
1291 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1293 2012-08-25 Marek Polacek <polacek@redhat.com>
1295 * time/time.h: Fix some typos in comments.
1297 2012-08-23 Roland McGrath <roland@hack.frob.com>
1299 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1300 * posix/tst-rfc3484-2.c: Likewise.
1301 * posix/tst-rfc3484-3.c: Likewise.
1303 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1305 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1306 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1308 2012-08-23 Joseph Myers <joseph@codesourcery.com>
1310 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1311 #include of fxstatat64.c.
1313 2012-08-22 Roland McGrath <roland@hack.frob.com>
1315 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1316 * shadow/getspent_r.c: Likewise.
1317 * shadow/getspnam.c: Likewise.
1318 * shadow/getspnam_r.c: Likewise.
1319 * gshadow/getsgent.c: Likewise.
1320 * gshadow/getsgent_r.c: Likewise.
1321 * gshadow/getsgnam.c: Likewise.
1322 * gshadow/getsgnam_r.c: Likewise.
1323 * inet/getnetbyad.c: Likewise.
1324 * inet/getnetbyad_r.c: Likewise.
1325 * inet/getnetbynm.c: Likewise.
1326 * inet/getnetbynm_r.c: Likewise.
1327 * inet/getnetent.c: Likewise.
1328 * inet/getnetent_r.c: Likewise.
1329 * inet/getproto.c: Likewise.
1330 * inet/getproto_r.c: Likewise.
1331 * inet/getprtent.c: Likewise.
1332 * inet/getprtent_r.c: Likewise.
1333 * inet/getprtname.c: Likewise.
1334 * inet/getprtname_r.c: Likewise.
1335 * inet/getrpcbyname.c: Likewise.
1336 * inet/getrpcbyname_r.c: Likewise.
1337 * inet/getrpcbynumber.c: Likewise.
1338 * inet/getrpcbynumber_r.c: Likewise.
1339 * inet/getrpcent.c: Likewise.
1340 * inet/getrpcent_r.c: Likewise.
1341 * inet/getaliasent.c: Likewise.
1342 * inet/getaliasent_r.c: Likewise.
1343 * inet/getaliasname.c: Likewise.
1344 * inet/getaliasname_r.c: Likewise.
1345 * nscd/getgrgid_r.c: Likewise.
1346 * nscd/getgrnam_r.c: Likewise.
1347 * nscd/gethstbyad_r.c: Likewise.
1348 * nscd/gethstbynm3_r.c: Likewise.
1349 * nscd/getpwnam_r.c: Likewise.
1350 * nscd/getpwuid_r.c: Likewise.
1351 * nscd/getsrvbynm_r.c: Likewise.
1352 * nscd/getsrvbypt_r.c: Likewise.
1353 * nscd/gai.c: Likewise.
1355 * configure.in (build_nscd): New substituted variable, set
1356 by --disable-build-nscd and defaults to $use_nscd.
1357 * configure: Regenerated.
1358 * config.make.in (build-nscd): New substituted variable.
1359 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1360 Change conditional to require [$(build-nscd) = yes] as well.
1361 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1364 * configure.in (use_nscd): New substituted variable, set by
1365 --disable-nscd. If enabled, define USE_NSCD.
1366 * configure: Regenerated.
1367 * config.h.in: Add USE_NSCD.
1368 * config.make.in (use-nscd): New substituted variable.
1369 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1370 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1371 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1372 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1373 (CFLAGS-getgrnam_r.c): Likewise.
1374 (CFLAGS-initgroups.c): Likewise.
1375 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1376 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1378 * inet/getnetgrent_r.c
1379 (nscd_setnetgrent): New function, broken out of ...
1380 (setnetgrent): ... here. Call it.
1381 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1382 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1383 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1384 * nscd/Makefile (routines, aux): Move definitions after include of
1385 Makeconfig. Conditionalize on [$(use-nscd) != no].
1386 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1387 Conditionalize on [USE_NSCD].
1388 (is_nscd, nscd_init_cb): Likewise.
1389 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1390 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1391 * nss/nss_db/db-init.c: Likewise.
1392 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1394 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1395 (make_request): Use it.
1396 (cache_valid_p): New function.
1397 (__check_pf): Use it.
1398 * NEWS: Add item for --disable-nscd.
1400 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1402 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1403 to support sed >= 4.2.1-20-ga9bf076.
1404 * configure: Regenerated.
1406 2012-08-22 Roland McGrath <roland@hack.frob.com>
1408 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1409 Conditionalize whole body on [IREL].
1411 2012-08-22 Jeff Law <law@redhat.com>
1414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1415 if the family is PF_UNSPEC.
1417 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1419 * Makerules (lib-version): Rename from V.
1420 (install-lib-nosubdir): Change V to lib-version.
1422 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1425 * powerpc32/power6/wcschr.c: New file.
1426 * powerpc32/power6/wcscpy.c: New file.
1427 * powerpc32/power6/wcsrchr.c: New file.
1428 * powerpc64/power6/wcschr.c: New file.
1429 * powerpc64/power6/wcscpy.c: New file.
1430 * powerpc64/power6/wcsrchr.c: New file.
1432 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1434 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1435 (two_way_short_needle): Use it.
1436 * string/strstr.c (AVAILABLE1_USES_J): Define.
1437 * string/strcasestr.c: Likewise.
1439 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1441 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1444 * NEWS: Add an entry.
1445 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1446 define their defaults.
1447 (two_way_short_needle): Detect end-of-string on-the-fly.
1448 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1449 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1450 * string/bug-strcasestr1.c: New test.
1451 * string/Makefile: Run it.
1453 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1456 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1457 the first character.
1459 2012-08-21 Roland McGrath <roland@hack.frob.com>
1461 * csu/elf-init.c (__libc_csu_irel): Function removed.
1462 * csu/libc-start.c (apply_irel): New function.
1463 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1465 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1467 * sysdeps/unix/sysv/linux/kernel-features.h
1468 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1469 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1470 <kernel-features.h>.
1471 [__NR_fadvise64_64]: Make code unconditional.
1472 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1473 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1474 !__NR_fadvise64_64)]: Likewise.
1475 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1476 !__NR_fadvise64_64))]: Likewise.
1477 [__NR_fadvise64]: Make code unconditional.
1478 [!__NR_fadvise64]: Remove conditional code.
1479 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1480 <kernel-features.h>.
1481 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1483 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1486 not include <kernel-features.h>.
1487 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1489 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1491 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1492 include <kernel-features.h>.
1493 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1495 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1498 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1500 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1501 slight instruction rearrangements per scrollpipe analysis.
1502 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1504 2012-08-20 Roland McGrath <roland@hack.frob.com>
1506 * manual/syslog.texi (syslog; vsyslog, closelog):
1507 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1508 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1510 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1511 DSOCAPS to match condition on defining it.
1513 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1515 * sysdeps/unix/sysv/linux/kernel-features.h
1516 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1518 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1519 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1521 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1522 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1524 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1525 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1527 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1528 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1530 * sysdeps/unix/sysv/linux/kernel-features.h
1531 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1532 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1534 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1535 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1536 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1537 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1538 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1539 Make code unconditional.
1540 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1541 (__mmap64) [!__NR_mmap2]: Likewise.
1542 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1543 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1544 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1545 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1546 [__NR_mmap2]: Make code unconditional.
1547 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1548 (__mmap64) [!__NR_mmap2]: Likewise.
1550 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1552 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1554 2012-08-18 Andreas Jaeger <aj@suse.de>
1556 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1558 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1560 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1561 * include/unistd.h (__have_sock_cloexec): Likewise.
1562 (__have_pipe2): Likewise.
1563 (__have_dup3): Likewise.
1565 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1568 * include/unistd.h (__have_pipe2): Change define into an extern int.
1569 (__have_dup3): Likewise.
1570 * socket/have_sock_cloexec.c: Include fcntl.h.
1571 (__have_pipe2): New variable.
1572 (__have_dup3): Likewise.
1574 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1576 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1578 2012-08-17 Marek Polacek <polacek@redhat.com>
1580 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1581 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1583 2012-08-17 Roland McGrath <roland@hack.frob.com>
1585 * configure.in: Add AC_SUBST for sysheaders.
1586 * configure: Regenerated.
1587 * config.make.in (sysheaders): New substituted variable.
1589 * sysdeps/unix/mkfifo.c: Moved ...
1590 * sysdeps/posix/mkfifo.c: ... here.
1591 * sysdeps/unix/mkfifoat.c: Moved ...
1592 * sysdeps/posix/mkfifoat.c: ... here.
1594 * sysdeps/unix/utime.c: Moved ...
1595 * sysdeps/posix/utime.c: ... here.
1597 * sysdeps/unix/time.c: Moved ...
1598 * sysdeps/posix/time.c: ... here.
1599 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1600 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1602 * sysdeps/unix/nice.c: Moved ...
1603 * sysdeps/posix/nice.c: ... here.
1605 * sysdeps/unix/alarm.c: Moved ...
1606 * sysdeps/posix/alarm.c: ... here.
1608 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1610 2012-08-17 Jeff Law <law@redhat.com>
1612 * intl/Makefile (codeset_mo): New variable.
1613 ($(codeset_mo)): New target.
1614 (tst-codeset.out): Depend on that. Remove explicit rule.
1615 (tst-gettext3.out, tst-gettext5.out): Likewise.
1616 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1617 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1618 * intl/tst-codeset.sh: Remove.
1619 * intl/tst-gettext3.sh: Likewise.
1620 * intl/tst-gettext5.sh: Likewise.
1622 2012-08-17 Roland McGrath <roland@hack.frob.com>
1624 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1625 * sysdeps/unix/syscalls.list: ... here.
1627 * sysdeps/posix/getaddrinfo.c
1628 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1629 (gaiconf_init, gaiconf_reload): Use them.
1631 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1632 Define using time_t rather than struct timespec.
1634 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1635 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1637 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1639 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1640 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1643 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1644 __libc_cleanup_push argument.
1646 * bits/param.h: New file.
1647 * misc/sys/param.h: New file.
1648 * include/sys/param.h: New file.
1649 * misc/Makefile (headers): Add bits/param.h.
1650 * sysdeps/generic/sys/param.h: File removed.
1651 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1652 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1653 * sysdeps/mach/hurd/bits/param.h: New file.
1654 * sysdeps/mach/hurd/sys/param.h: New file.
1656 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1659 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1661 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1662 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1665 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1666 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1667 rather than -D_IO_MTSAFE_IO conditionally.
1668 * stdio-common/Makefile (CPPFLAGS): Likewise.
1669 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1670 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1671 Use $(libio-mtsafe).
1672 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1674 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1675 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1676 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1677 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1678 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1679 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1680 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1681 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1682 (CFLAGS-fread_u_chk.c): Likewise.
1683 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1684 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1685 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1686 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1687 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1688 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1689 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1690 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1691 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1693 * libio/Makefile: Test [$(libc-reentrant) = yes]
1694 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1697 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1698 * sysdeps/pthread/configure: File removed.
1699 * sysdeps/pthread/Makeconfig: New file.
1700 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1701 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1703 2012-08-16 Gary Benson <gbenson@redhat.com>
1705 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1706 unmapping the first object in a namespace.
1708 2012-08-16 Roland McGrath <roland@hack.frob.com>
1710 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1711 (__internal_setnetgrent): ... this. Add internal_function to
1712 definition. Add libc_hidden_def.
1713 (setnetgrent): Update caller.
1714 (internal_endnetgrent): Renamed to ...
1715 (__internal_endnetgrent): ... this. Add internal_function to
1716 definition. Add libc_hidden_def.
1717 (endnetgrent): Update caller.
1718 (internal_getnetgrent_r): Renamed to ...
1719 (__internal_getnetgrent_r): ... this. Add internal_function to
1720 definition. Add libc_hidden_def.
1721 (__getnetgrent_r): Update caller.
1722 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1724 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1726 * stdlib/longlong.h: Update from GCC.
1728 2012-08-16 Roland McGrath <roland@hack.frob.com>
1730 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1731 on _QL, which is set by umul_ppmm but never used.
1732 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1733 variables, which are set by GMP macros but never used.
1734 * stdio-common/_itowa.c (_itowa): Likewise.
1735 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1736 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1738 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1740 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1741 struct La_sh_regs is not constant.
1742 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1743 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1744 and struct La_sparc64_regs are not constant.
1746 2012-08-16 Joseph Myers <joseph@codesourcery.com>
1748 * sysdeps/unix/sysv/linux/kernel-features.h
1749 (__ASSUME_POSIX_TIMERS): Remove.
1750 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1751 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1752 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1753 Make code unconditional.
1754 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1755 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1756 Make code unconditional.
1757 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1758 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1759 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1760 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1761 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1762 Make code unconditional.
1763 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1764 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1765 (__libc_missing_posix_timers): Remove.
1767 2012-08-15 Roland McGrath <roland@hack.frob.com>
1769 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1770 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1772 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1774 * elf/dl-sym.c: Include <stdlib.h>.
1776 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1777 constants, which avoids warnings in 32-bit builds.
1779 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1780 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1782 * misc/lseek.c: File moved to ...
1783 * io/lseek.c: ... here.
1785 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1787 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1788 shifting LEN more than 31 bits at once.
1790 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1793 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1794 segmentation fault for a case of two empty input strings.
1795 * string/test-strncasecmp.c (check1): Renamed to...
1797 (bz14195): Add new testcase for two empty input strings and N > 0.
1798 (test_main): Call new testcase, adapt for renamed function.
1800 2012-08-15 Andreas Jaeger <aj@suse.de>
1803 * crypt/md5test2.c: New test, based on test supplied by Serge
1804 Belyshev <belyshev@depni.sinp.msu.ru>.
1805 * crypt/Makefile (xtests): Add md5test-giant..
1806 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1808 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1811 * crypt/md5.c (md5_process_block): Don't assume the buffer
1812 length is less than 2**32.
1813 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1814 length is less than 2**64.
1816 2012-08-15 Roland McGrath <roland@hack.frob.com>
1818 * string/str-two-way.h: Include <sys/param.h>.
1819 (MAX): Macro removed.
1821 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1822 Move #define and #undef of memmove to just before and after
1823 including <string.h>.
1825 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1826 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1827 and after including <string.h>. Move declarations of
1828 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1829 to before #include "string/memmove.c".
1831 * include/dirent.h: Declare __getdirentries.
1833 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1834 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1836 2012-08-14 Mike Frysinger <vapier@gentoo.org>
1838 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1839 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1840 * sysdeps/i386/configure: Regenerated.
1841 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1842 STABS_CURRENT_FILE, and STABS_FUN.
1843 (END): Remove call to STABS_FUN_END.
1844 (STABS_CURRENT_FILE1): Delete.
1845 (STABS_CURRENT_FILE): Likewise.
1846 (STABS_FUN): Likewise.
1847 (STABS_FUN_END): Likewise.
1848 (STABS_FUN2): Likewise.
1849 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1850 * sysdeps/x86_64/configure: Regenerated.
1852 2012-08-14 Roland McGrath <roland@hack.frob.com>
1854 * elf/dl-open.c: Include <atomic.h>.
1855 * elf/dl-lookup.c: Likewise.
1857 2012-08-14 Joseph Myers <joseph@codesourcery.com>
1859 * sysdeps/unix/sysv/linux/kernel-features.h
1860 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1861 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1863 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1865 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1866 condition on __ASSUME_CLONE_THREAD_FLAGS.
1868 2012-08-14 Andreas Jaeger <aj@suse.de>
1870 * sysdeps/i386/fpu/libm-test-ulps: Update.
1872 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1874 * include/atomic.h (atomic_exchange_and_add): Split into ...
1875 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1878 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1882 2012-08-13 Jeff Law <law@redhat.com>
1884 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1885 null byte in the output string.
1887 2012-08-10 Joseph Myers <joseph@codesourcery.com>
1889 * sysdeps/unix/sysv/linux/kernel-features.h
1890 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1891 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1892 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1893 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1894 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1895 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1896 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1898 2012-08-09 Jeff Law <law@redhat.com>
1901 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1902 When avoid_arena is set, don't retry in the that arena. Pick the
1903 next one, whatever it might be.
1904 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1905 (arena_lock): Pass in new parameter to arena_get2.
1906 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1908 (__libc_malloc): Unify retrying after main arena failure with
1909 __libc_memalign version.
1910 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1912 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1915 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1916 to __redirect_strstr.
1917 (__strstr_sse42): Use typeof __redirect_strstr.
1918 (__strstr_ia32): Likewise.
1919 (__libc_strstr): New prototype.
1920 (strstr): Renamed to ...
1921 (__libc_strstr): This.
1922 (strstr): New strong alias of __libc_strstr.
1923 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1924 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1927 (__libc_time): New prototype.
1928 (time_ifunc): Replace time with __libc_time.
1929 (time): New strong alias and hidden definition of __libc_time.
1930 (__GI_time): Remove strong alias.
1931 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1933 (memmove): Redefined to __redirect_memmove.
1934 (__memmove_sse2): Use typeof __redirect_memmove.
1935 (__memmove_ssse3): Likewise.
1936 (__memmove_ssse3_back): Likewise.
1937 (__libc_memmove): New prototype.
1938 (memmove): Renamed to ...
1939 (__libc_memmove): This.
1940 (memmove): New strong alias of __libc_memmove.
1942 2012-08-08 Mark Salter <msalter@redhat.com>
1945 (R_MN10300_TLS_GD): Define.
1946 (R_MN10300_TLS_LD): Likewise.
1947 (R_MN10300_TLS_LDO): Likewise.
1948 (R_MN10300_TLS_GOTIE): Likewise.
1949 (R_MN10300_TLS_IE): Likewise.
1950 (R_MN10300_TLS_LE): Likewise.
1951 (R_MN10300_TLS_DTPMOD): Likewise.
1952 (R_MN10300_TLS_DTPOFF): Likewise.
1953 (R_MN10300_TLS_TPOFF): Likewise.
1954 (R_MN10300_SYM_DIFF): Likewise.
1955 (R_MN10300_ALIGN): Likewise.
1956 (R_MN10300_NUM): Update.
1958 2012-08-08 Joseph Myers <joseph@codesourcery.com>
1960 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1963 2012-08-08 Roland McGrath <roland@hack.frob.com>
1965 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1967 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1968 sysdeps/unix -> sysdeps/posix move.
1969 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1971 2012-08-07 Allan McRae <allan@archlinux.org>
1974 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1975 (SUNOS_CPP): Likewise.
1976 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1978 (open_input): Call CPP using execvp.
1980 2012-08-07 Joseph Myers <joseph@codesourcery.com>
1982 * sysdeps/unix/sysv/linux/kernel-features.h
1983 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1984 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1985 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1986 (__ASSUME_WAITID_SYSCALL): Likewise.
1987 * sysdeps/unix/sysv/linux/dl-execstack.c
1988 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1990 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1992 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1993 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1994 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1996 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1998 [__ASSUME_WAITID_SYSCALL]: Likewise.
1999 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2001 2012-08-07 Roland McGrath <roland@hack.frob.com>
2003 * sysdeps/unix/closedir.c: Renamed to ...
2004 * sysdeps/posix/closedir.c: ... here.
2005 * sysdeps/unix/dirfd.c: Renamed to ...
2006 * sysdeps/posix/dirfd.c: ... here.
2007 * sysdeps/unix/dirstream.h: Renamed to ...
2008 * sysdeps/posix/dirstream.h: ... here.
2009 * sysdeps/unix/fdopendir.c: Renamed to ...
2010 * sysdeps/posix/fdopendir.c: ... here.
2011 * sysdeps/unix/opendir.c: Renamed to ...
2012 * sysdeps/posix/opendir.c: ... here.
2013 * sysdeps/unix/readdir.c: Renamed to ...
2014 * sysdeps/posix/readdir.c: ... here.
2015 * sysdeps/unix/readdir_r.c: Renamed to ...
2016 * sysdeps/posix/readdir_r.c: ... here.
2017 * sysdeps/unix/rewinddir.c: Renamed to ...
2018 * sysdeps/posix/rewinddir.c: ... here.
2019 * sysdeps/unix/seekdir.c: Renamed to ...
2020 * sysdeps/posix/seekdir.c: ... here.
2021 * sysdeps/unix/telldir.c: Renamed to ...
2022 * sysdeps/posix/telldir.c: ... here.
2023 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2024 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2025 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2026 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2028 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2029 * bits/fcntl.h: ... here.
2031 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2033 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2034 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2035 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2036 (struct flock): Move l_start, l_len to the beginning.
2037 Use __pid_t for l_pid.
2038 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2039 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2040 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2041 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2042 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2043 [__USE_LARGEFILE64] (struct flock64): New type.
2044 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2046 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2047 * bits/dirent.h: ... here.
2049 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2050 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2052 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2054 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2055 Change from 2.6.0 to 2.6.16.
2056 * sysdeps/unix/sysv/linux/configure: Regenerated.
2057 * sysdeps/unix/sysv/linux/kernel-features.h
2058 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2059 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2061 (__ASSUME_UTIMES): Likewise.
2062 (__ASSUME_CLONE_STOPPED): Remove.
2063 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2064 architectures, not kernel version.
2065 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2066 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2067 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2068 (__ASSUME_WAITID_SYSCALL): Likewise.
2069 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2070 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2071 * README: State 2.6.16 as minimum Linux kernel version. Do not
2072 refer to older versions.
2074 2012-08-06 Roland McGrath <roland@hack.frob.com>
2076 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2077 Define alphasort64 as an alias.
2078 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2079 Define versionsort64 as an alias.
2080 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2081 Define scandir64 as an alias.
2082 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2083 Define scandirat64 as an alias.
2084 * dirent/alphasort64.c (alphasort64):
2085 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2086 * dirent/versionsort64.c: Likewise.
2087 * dirent/scandir64.c: Likewise.
2088 * dirent/scandirat64.c: Likewise.
2089 * sysdeps/wordsize-64/alphasort.c: File removed.
2090 * sysdeps/wordsize-64/alphasort64.c: File removed.
2091 * sysdeps/wordsize-64/scandir.c: File removed.
2092 * sysdeps/wordsize-64/scandir64.c: File removed.
2093 * sysdeps/wordsize-64/scandirat.c: File removed.
2094 * sysdeps/wordsize-64/scandirat64.c: File removed.
2095 * sysdeps/wordsize-64/versionsort.c: File removed.
2096 * sysdeps/wordsize-64/versionsort64.c: File removed.
2097 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2098 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2099 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2100 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2101 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2102 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2103 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2104 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2106 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2107 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2108 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2109 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2110 [defined __arch64__ || defined __sparcv9]
2111 (__INO_T_MATCHES_INO64_T): New macro.
2112 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2113 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2114 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2115 * sysdeps/unix/sysv/linux/bits/dirent.h
2116 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2117 (_DIRENT_MATCHES_DIRENT64): New macro.
2119 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2120 Define lockf64 as an alias.
2121 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2122 Define fseeko64 as an alias.
2123 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2124 Define ftello64 as an alias.
2125 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2126 Define _IO_fgetpos64 and fgetpos64 as aliases.
2127 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2128 Define _IO_fsetpos64 and fsetpos64 as aliases.
2129 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2130 Conditionalize body on this.
2131 * libio/fseeko64.c: Likewise.
2132 * libio/ftello64.c: Likewise.
2133 * libio/iofgetpos64.c: Likewise.
2134 * libio/iofsetpos64.c: Likewise.
2135 * sysdeps/wordsize-64/lockf.c: File removed.
2136 * sysdeps/wordsize-64/lockf64.c: File removed.
2137 * sysdeps/wordsize-64/fseeko.c: File removed.
2138 * sysdeps/wordsize-64/fseeko64.c: File removed.
2139 * sysdeps/wordsize-64/ftello.c: File removed.
2140 * sysdeps/wordsize-64/ftello64.c: File removed.
2141 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2142 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2143 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2144 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2145 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2146 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2147 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2148 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2149 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2150 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2151 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2152 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2153 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2154 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2156 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2157 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2158 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2159 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2160 [defined __arch64__ || defined __sparcv9]
2161 (__OFF_T_MATCHES_OFF64_T): New macro.
2162 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2163 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2164 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2165 (__OFF_T_MATCHES_OFF64_T): New macro.
2167 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2169 * stdlib/secure-getenv.c (__secure_getenv): Replace
2170 GLIBC_2_16 with GLIBC_2_17.
2172 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2174 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2175 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2177 2012-08-03 David S. Miller <davem@davemloft.net>
2179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2181 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2183 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2185 (__ASSUME_CORRECT_SI_PID): Likewise.
2186 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2187 (__ASSUME_TMPFS_NAME): Likewise.
2188 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2189 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2190 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2191 (HAVE_AUX_SECURE): Make definition unconditional.
2192 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2193 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2195 2012-08-03 Roland McGrath <roland@hack.frob.com>
2197 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2198 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2199 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2200 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2201 __eloop_threshold instead of SYMLOOP_MAX.
2203 * sysdeps/generic/eloop-threshold.h: New file.
2204 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2206 * elf/chroot_canon.c (chroot_canon): Likewise.
2208 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2211 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2212 Change to 2.6.0 everywhere.
2213 * sysdeps/unix/sysv/linux/configure: Regenerated.
2214 * sysdeps/unix/sysv/linux/kernel-features.h
2215 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2216 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2218 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2219 (__ASSUME_FUTEX_REQUEUE): Remove.
2220 (__ASSUME_STATFS64): Define unconditionally.
2221 (__ASSUME_AT_SECURE): Likewise.
2222 (__ASSUME_CORRECT_SI_PID): Likewise.
2223 (__ASSUME_TGKILL): Define without depending on kernel version for
2225 (__ASSUME_UTIMES): Likewise.
2226 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2228 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2229 (__ASSUME_TMPFS_NAME): Likewise.
2230 * README: Update reference to Linux kernel versions.
2232 2012-08-02 Marek Polacek <polacek@redhat.com>
2235 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2236 libc_cv_asm_type_prefix with %.
2237 * configure: Regenerated.
2238 * include/libc-symbols.h: Remove comment about
2239 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2240 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2241 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2242 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2243 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2244 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2245 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2246 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2247 * elf/tst-unique2mod1.c: Likewise.
2248 * elf/tst-unique1mod2.c: Likewise.
2249 * elf/tst-unique1mod1.c: Likewise.
2250 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2251 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2252 Replace ASM_TYPE_DIRECTIVE with .type.
2253 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2254 * sysdeps/i386/sysdep.h: Likewise.
2255 * sysdeps/x86_64/sysdep.h: Likewise.
2256 * sysdeps/sh/sysdep.h: Likewise.
2257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2258 Do not define ASM_TYPE_DIRECTIVE.
2259 * sysdeps/powerpc/sysdep.h: Likewise.
2260 * sysdeps/powerpc/powerpc32/sysdep.h:
2261 Replace ASM_TYPE_DIRECTIVE with .type.
2262 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2263 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2264 * sysdeps/i386/fpu/e_powf.S: Likewise.
2265 * sysdeps/i386/fpu/e_expl.S: Likewise.
2266 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2267 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2268 * sysdeps/i386/fpu/e_pow.S: Likewise.
2269 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2270 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2271 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2272 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2273 * sysdeps/i386/fpu/e_log2.S: Likewise.
2274 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2275 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2276 * sysdeps/i386/fpu/e_powl.S: Likewise.
2277 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2278 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2279 * sysdeps/i386/fpu/e_logl.S: Likewise.
2280 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2281 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2282 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2283 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2284 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2285 * sysdeps/i386/fpu/e_log.S: Likewise.
2286 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2287 * sysdeps/i386/fpu/e_logf.S: Likewise.
2288 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2289 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2290 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2291 * sysdeps/i386/fpu/e_log10.S: Likewise.
2292 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2293 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2294 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2295 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2296 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2297 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2298 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2299 * sysdeps/i386/i686/strtok.S: Likewise.
2300 * sysdeps/i386/i386-mcount.S: Likewise.
2301 * sysdeps/i386/strtok.S: Likewise.
2302 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2303 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2304 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2305 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2306 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2307 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2308 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2309 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2310 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2311 * sysdeps/x86_64/_mcount.S: Likewise.
2312 * sysdeps/x86_64/strtok.S: Likewise.
2313 * sysdeps/sh/_mcount.S: Likewise.
2315 2012-08-01 Roland McGrath <roland@hack.frob.com>
2317 * libio/iofopen.c: Include <fcntl.h>.
2318 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2319 (_IO_fopen64, fopen64): Define as aliases.
2320 * libio/iofopen64.c: Include <fcntl.h>.
2321 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2322 Conditionalize body on this.
2323 * sysdeps/wordsize-64/iofopen.c: File removed.
2324 * sysdeps/wordsize-64/iofopen64.c: File removed.
2326 2012-08-01 Marek Polacek <polacek@redhat.com>
2328 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2329 Use dlfcn directly instead of a variable.
2330 (binfmt-subdir): Do not define.
2333 2012-08-01 Joseph Myers <joseph@codesourcery.com>
2335 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2336 Remove all definitions.
2337 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2338 <kernel-features.h>.
2339 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2340 (miss_F_GETOWN_EX): Remove all definitions.
2341 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2343 [!__ASSUME_FCNTL64]: Remove conditional code.
2344 [__ASSUME_FCNTL64]: Make code unconditional.
2345 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2346 <kernel-features.h>.
2347 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2348 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2349 (lockf64) [__NR_fcntl64]: Make code unconditional.
2350 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2352 * sysdeps/unix/sysv/linux/kernel-features.h
2353 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2354 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2355 Make code unconditional.
2356 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2357 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2359 [__NR_vfork]: Make code unconditional.
2360 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2361 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2363 [__NR_vfork]: Make code unconditional.
2364 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2365 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2367 2012-08-01 Roland McGrath <roland@hack.frob.com>
2369 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2370 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2372 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2373 Define mkstemp64 as an alias.
2374 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2375 Define mkstemps64 as an alias.
2376 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2377 Define mkostemp64 as an alias.
2378 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2379 Define mkostemps64 as an alias.
2380 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2381 Conditionalize body on this.
2382 * misc/mkostemp64.c: Likewise.
2383 * misc/mkostemps64.c: Likewise.
2384 * misc/mkstemps64.c: Likewise.
2385 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2386 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2387 * sysdeps/wordsize-64/mkostemp.c: File removed.
2388 * sysdeps/wordsize-64/mkstemp.c: File removed.
2389 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2390 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2391 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2392 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2395 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2396 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2397 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2398 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2400 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2401 compat_symbol macros from <shlib-compat.h> rather than the underlying
2402 default_symbol_version and symbol_version macros, so that DEFAULT
2403 lines in shlib-versions are respected.
2404 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2406 2012-08-01 Florian Weimer <fweimer@redhat.com>
2408 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2409 Declare with warn_unused_result.
2410 (setgid, setregid, setegid, setresgid): Likewise.
2411 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2413 * WUR-REPORT: Remove set*id functions.
2415 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2417 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2419 2012-07-31 Roland McGrath <roland@hack.frob.com>
2421 * include/sys/socket.h (__libc_accept, __libc_accept4):
2422 Add attribute_hidden.
2423 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2425 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2427 * inet/getnetgrent_r.c (setup): Likewise.
2429 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2431 2012-07-31 David S. Miller <davem@davemloft.net>
2433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2435 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2438 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2439 value between 1.0 and 2.0 and smaller part has absolute value less
2441 * math/s_clog10.c (__clog10): Likewise.
2442 * math/s_clog10f.c (__clog10f): Likewise.
2443 * math/s_clog10l.c (__clog10l): Likewise.
2444 * math/s_clogf.c (__clogf): Likewise.
2445 * math/s_clogl.c (__clogl): Likewise.
2446 * math/libm-test.inc (clog_test): Add more tests.
2447 (clog10_test): Likewise.
2448 * sysdeps/i386/fpu/libm-test-ulps: Update.
2449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2451 2012-07-31 Florian Weimer <fweimer@redhat.com>
2453 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2454 Exit with zero in case no suitable GID is found, and write a
2455 message to standard error.
2457 2012-07-30 Roland McGrath <roland@hack.frob.com>
2459 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2461 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2462 (MAXPATHLEN): Removed.
2463 (NOGROUP, NODEV): New macros.
2464 (setbit, clrbit, isset, isclr): New macros.
2465 (howmany, roundup, powerof2): New macros.
2466 (DEV_BSIZE): New macro.
2468 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2469 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2471 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2472 definition on [!__NO_LONG_DOUBLE_MATH].
2474 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2475 PTR_MANGLE and PTR_DEMANGLE.
2477 * socket/accept4.c (accept4): Rename to __libc_accept4.
2478 Define accept4 as a weak alias.
2480 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2481 on [_DIRENT_HAVE_D_TYPE].
2482 * io/ftw.c (ftw_dir): Likewise.
2484 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2486 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2488 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2489 Use the BSD numbers rather than the arbitrary ones we had.
2490 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2491 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2492 (SIGXCPU, SIGXFSZ): New macros.
2495 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2496 initializer on [_LIBC_REENTRANT].
2498 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2499 definitions inside [_POSIX_MAPPED_FILES].
2501 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2503 * dirent/opendir.c: Include <fcntl.h>.
2505 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2506 (__libc_getspecific): Likewise.
2507 (__libc_key_create): Likewise.
2509 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2510 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2511 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2512 (tmpfile64): Define as alias.
2513 * sysdeps/wordsize-64/tmpfile.c: File removed.
2514 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2515 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2516 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2518 * stdio-common/vfscanf.c: Include <stdbool.h>.
2519 * nss/makedb.c: Likewise.
2520 * stdio-common/_i18n_number.h: Likewise.
2521 * argp/argp-help.c: Likewise.
2522 * posix/wordexp.c: Likewise.
2523 * sysdeps/posix/spawni.c: Likewise.
2524 * nss/nss_files/files-initgroups.c: Likewise.
2525 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2526 * nss/nss_files/files-initgroups.c: Likewise.
2527 * nss/nss_db/db-netgrp.c: Likewise.
2528 * nss/nss_db/db-initgroups.c: Likewise.
2529 * io/fchmodat.c: Include <sys/stat.h>.
2531 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2532 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2534 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2537 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2538 Add multiple inclusion protection.
2540 2012-07-27 David S. Miller <davem@davemloft.net>
2542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2544 2012-07-27 Gary Benson <gbenson@redhat.com>
2547 * elf/rtld.c: Include <stap-probe.h>.
2548 (dl_main): Added static probes "init_start" and "init_complete".
2549 * elf/dl-load.c: Include <stap-probe.h>.
2550 (lose): Take new parameter "nsid".
2551 Added static probe "map_failed".
2552 (_dl_map_object_from_fd): Pass namespace id to lose.
2553 Added static probe "map_start".
2554 (open_verify): Pass namespace id to lose.
2555 * elf/dl-open.c: Include <stap-probe.h>.
2556 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2557 and "reloc_complete".
2558 * elf/dl-close.c: Include <stap-probe.h>.
2559 (_dl_close_worker): Added static probes "unmap_start" and
2561 * elf/rtld-debugger-interface.txt: New file documenting the above.
2563 2012-07-26 Roland McGrath <roland@hack.frob.com>
2565 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2566 rather than a string variable.
2567 * sunrpc/rpc_main.c (h_output): Likewise.
2568 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2570 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2572 * inet/check_native.c: New file.
2574 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2577 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2578 if larger part has absolute value 1.0.
2579 * math/s_clog10.c (__clog10): Likewise.
2580 * math/s_clog10f.c (__clog10f): Likewise.
2581 * math/s_clog10l.c (__clog10l): Likewise.
2582 * math/s_clogf.c (__clogf): Likewise.
2583 * math/s_clogl.c (__clogl): Likewise.
2584 * math/libm-test.inc (clog_test): Add more tests.
2585 (clog10_test): Likewise.
2586 * sysdeps/i386/fpu/libm-test-ulps: Update.
2587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2589 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2590 (pltexit): Likewise.
2591 (La_regs): Likewise.
2592 (La_retval): Likewise.
2593 (int_retval): Likewise.
2594 Update #error for removed macros to refer only to definitions in
2596 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2598 (pltexit): Likewise.
2599 (La_regs): Likewise.
2600 (La_retval): Likewise.
2601 (int_retval): Likewise.
2602 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2604 (pltexit): Likewise.
2605 (La_regs): Likewise.
2606 (La_retval): Likewise.
2607 (int_retval): Likewise.
2608 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2610 (pltexit): Likewise.
2611 (La_regs): Likewise.
2612 (La_retval): Likewise.
2613 (int_retval): Likewise.
2614 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2616 (pltexit): Likewise.
2617 (La_regs): Likewise.
2618 (La_retval): Likewise.
2619 (int_retval): Likewise.
2620 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2622 (pltexit): Likewise.
2623 (La_regs): Likewise.
2624 (La_retval): Likewise.
2625 (int_retval): Likewise.
2626 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2628 (pltexit): Likewise.
2629 (La_regs): Likewise.
2630 (La_retval): Likewise.
2631 (int_retval): Likewise.
2632 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2633 macro definitions in tst-audit.h.
2634 * sysdeps/i386/tst-audit.h: New file.
2635 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2636 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2637 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2638 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2639 * sysdeps/sh/tst-audit.h: Likewise.
2640 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2641 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2642 * sysdeps/x86_64/tst-audit.h: Likewise.
2644 2012-07-26 Andreas Jaeger <aj@suse.de>
2646 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2649 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2650 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2651 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2653 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2654 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2655 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2657 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2660 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2662 (si_call_addr, si_syscall, si_arch): Define new macro.
2663 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2665 (si_call_addr, si_syscall, si_arch): Define new marcro.
2666 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2668 (si_call_addr, si_syscall, si_arch): Define new macro.
2669 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2671 (si_call_addr, si_syscall, si_arch): Define new macro.
2673 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2676 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2677 Change to 2.4.21 where previously 2.4.1.
2678 * sysdeps/unix/sysv/linux/configure: Regenerated.
2679 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2680 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2681 Linux kernel version.
2682 (__ASSUME_STD_AUXV): Remove.
2683 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2685 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2686 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2687 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2688 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2689 (__ASSUME_NETLINK_SUPPORT): Likewise.
2690 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2691 (__no_netlink_support): Remove conditional definition.
2692 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2694 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2695 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2696 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2697 (if_nameindex_ioctl): Remove.
2698 (if_nameindex_netlink): Do not handle __no_netlink_support.
2699 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2701 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2702 Remove conditional code.
2703 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2705 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2707 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2708 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2709 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2711 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2712 [!__ASSUME_STD_AUXV]: Remove conditional code.
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2714 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2715 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2717 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2718 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2720 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2722 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2723 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2725 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2727 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2730 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2733 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2735 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2737 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2739 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2742 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2744 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2747 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2749 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2751 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2753 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2756 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2758 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2760 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2762 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2765 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2767 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2768 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2769 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2770 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2771 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2772 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2773 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2774 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2775 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2776 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2777 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2778 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2779 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2780 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2781 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2782 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2783 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2784 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2785 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2787 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2788 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2789 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2791 2012-07-25 Florian Weimer <fweimer@redhat.com>
2793 * Versions.def: Add GLIBC_2.17.
2794 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2795 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2796 Introduce __libc_secure_getenv.
2797 * stdlib/Versions (2.17): Add secure_getenv
2798 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2799 * stdlib/secure-getenv.c: Rename __secure_getenv to
2800 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2801 symbol __secure_getenv for GLIBC_2.0.
2802 * stdlib/tst-secure-getenv.c: New.
2803 * stdlib/Makefile (tests): Add testcase.
2804 * manual/startup.texi (Environment Access): Document
2806 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2807 __libc_secure_getenv.
2808 * inet/ruserpass.c (ruserpass): Likewise.
2809 * malloc/mtrace.c (mtrace): Likewise.
2810 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
2811 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2812 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2813 * sysdeps/posix/tempname.c: Likewise. Evaluate
2815 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
2816 __secure_getenv to __libc_secure_getenv.
2817 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2824 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2830 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2832 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2833 (struct La_i86_retval): Likewise.
2834 (struct La_x86_64_regs): Likewise.
2835 (struct La_x86_64_retval): Likewise.
2836 (struct La_x32_regs): Likewise.
2837 (struct La_x32_retval): Likewise.
2838 (struct La_ppc32_regs): Likewise.
2839 (struct La_ppc32_retval): Likewise.
2840 (struct La_ppc64_regs): Likewise.
2841 (struct La_ppc64_retval): Likewise.
2842 (struct La_sh_regs): Likewise.
2843 (struct La_sh_retval): Likewise.
2844 (struct La_s390_32_regs): Likewise.
2845 (struct La_s390_32_retval): Likewise.
2846 (struct La_s390_64_regs): Likewise.
2847 (struct La_s390_64_retval): Likewise.
2848 (struct La_sparc32_regs): Likewise.
2849 (struct La_sparc32_retval): Likewise.
2850 (struct La_sparc64_regs): Likewise.
2851 (struct La_sparc64_retval): Likewise.
2852 (struct audit_ifaces): Remove architecture-specific pltenter and
2854 * sysdeps/i386/ldsodefs.h: New file.
2855 * sysdeps/powerpc/ldsodefs.h: Likewise.
2856 * sysdeps/s390/ldsodefs.h: Likewise.
2857 * sysdeps/sh/ldsodefs.h: Likewise.
2858 * sysdeps/sparc/ldsodefs.h: Likewise.
2859 * sysdeps/x86_64/ldsodefs.h: Likewise.
2861 2012-07-25 Marek Polacek <polacek@redhat.com>
2864 * math/libm-test.inc (yn_test): Add another test.
2865 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2866 to ERANGE when the result is +-Inf.
2867 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2868 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2869 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2870 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2872 2012-07-24 Joseph Myers <joseph@codesourcery.com>
2874 * conform/data/time.h-data (NULL): Use macro-constant. Require
2876 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2878 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2880 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2882 * configure.in <sysdeps resolving>: Correct printing
2884 * configure: Regenerate.
2886 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2888 * math/w_ilogb.c: Include <limits.h>.
2889 * math/w_ilogbl.c: Likewise.
2891 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2893 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2894 va_copy. Document allowing for unavailable va_copy only as
2895 pre-C99 compatibility.
2896 * manual/string.texi (Copying and Concatenation): Use va_copy
2897 instead of __va_copy in concat example.
2899 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2901 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2902 (__sendto): Use create_address_port. Initialize APORT and deallocate
2905 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2906 with O_NOLINK passed to __file_name_lookup.
2908 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2909 with O_NOLINK passed to __file_name_lookup.
2911 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2912 negative N or less than NGIDS.
2914 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2915 type to string_t. Set ERANGE as errno and return it if NAME is not big
2916 enough. Use memcpy instead of strncpy.
2918 2012-07-20 Joseph Myers <joseph@codesourcery.com>
2920 * elf/Makefile (check-data): Remove.
2921 (localplt.data): New vpath directive.
2922 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2923 instead of $(check-data).
2924 * scripts/data/localplt-generic.data: Move to ...
2925 * sysdeps/generic/localplt.data: ... here.
2926 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2927 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2928 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2931 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2934 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2937 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2940 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2943 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2947 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2949 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2950 PPC32 and PPC64 files.
2951 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2952 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2954 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2956 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2957 __makecontext_ret to ...
2958 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2959 ... here and call exit if uc_link is NULL. New file.
2960 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2961 __makecontext_ret.S.
2962 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2963 __makecontext_ret to ...
2964 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2965 ... here and call exit if uc_link is NULL. New file.
2966 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2967 __makecontext_ret.S.
2969 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2971 * elf/elf.h (R_390_IRELATIVE): New definition.
2972 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2973 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2974 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2975 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2976 (elf_machine_lazy_rel): Likewise.
2977 * sysdeps/s390/dl-irel.h: New file.
2978 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2979 * sysdeps/s390/s390-64/memset.S: New asm code.
2980 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2981 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2982 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2983 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2984 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2985 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2986 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2987 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2988 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2989 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2990 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2991 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2992 * sysdeps/s390/s390-32/memset.S: New asm code.
2993 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2995 2012-07-17 Marek Polacek <polacek@redhat.com>
2998 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2999 * sysdeps/s390/s390-64/configure.in: Likewise.
3000 * sysdeps/sparc/configure.in: Likewise.
3001 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3002 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3003 * sysdeps/i386/configure.in: Likewise.
3004 * sysdeps/x86_64/configure.in: Likewise.
3005 * sysdeps/sh/configure.in: Likewise.
3006 * sysdeps/s390/s390-32/configure: Regenerated.
3007 * sysdeps/s390/s390-64/configure: Likewise.
3008 * sysdeps/x86_64/configure: Likewise.
3009 * sysdeps/sh/configure: Likewise.
3010 * sysdeps/powerpc/powerpc64/configure: Likewise.
3011 * sysdeps/powerpc/powerpc32/configure: Likewise.
3012 * sysdeps/sparc/configure: Likwise.
3013 * sysdeps/i386/configure: Likewise.
3015 * elf/dl-open.c: Comment fixes.
3017 2012-07-17 Joseph Myers <joseph@codesourcery.com>
3019 * Makefile [CXX] (check-data): Remove.
3020 [CXX] (c++-types.data): New vpath directive.
3021 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3022 vpath. Do not allow for C++ type data being missing.
3023 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3024 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3025 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3026 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3027 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3028 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3029 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3032 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3035 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3038 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3041 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3044 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3047 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3050 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3053 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3054 definitions to architecture-specific files.
3058 * sysdeps/i386/tls-macros.h: New file.
3059 * sysdeps/powerpc/tls-macros.h: Likewise.
3060 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3061 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3062 * sysdeps/sh/tls-macros.h: Likewise.
3063 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3064 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3065 * sysdeps/x86_64/tls-macros.h: Likewise.
3067 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3069 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3070 zero value for regular exit case.
3072 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3073 (__start_context): Preserve zero value for regular exit case.
3075 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3076 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3078 * manual/setjmp.texi (setcontext): Clarify normal process
3079 termination when uc_link is the null pointer.
3080 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3083 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3085 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3086 preprocessor. Test for each exception mask separately.
3088 2012-07-16 Andreas Jaeger <aj@suse.de>
3090 * po/ru.po: Update from translation team.
3092 2012-07-15 Joseph Myers <joseph@codesourcery.com>
3094 * conform/data/string.h-data (NULL): Use macro-constant. Require
3096 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3097 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3098 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3099 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3100 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3102 2012-07-13 Andreas Jaeger <aj@suse.de>
3104 * po/fr.po: Update from translation team.
3106 2012-07-12 Marek Polacek <polacek@redhat.com>
3109 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3110 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3113 2012-07-12 Joseph Myers <joseph@codesourcery.com>
3116 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3117 Change to 2.4.1 where previously 2.4.0.
3118 * sysdeps/unix/sysv/linux/configure: Regenerated.
3119 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3120 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3122 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3123 (__ASSUME_AT_CLKTCK): Remove.
3124 (__ASSUME_AT_PAGESIZE): Likewise.
3125 (__ASSUME_AT_XID): Likewise.
3126 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3127 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3128 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3130 (HAVE_AUX_PAGESIZE): Likewise.
3131 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3132 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3133 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3135 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3139 the temporary buffer used to invoke __gethostbyname2_r,
3140 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3141 host_data / struct gaih_addrtuple.
3142 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3143 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3144 header file nss/nsswitch.h.
3145 * nss/nsswitch.h (global scope): Add definition of implementation
3146 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3147 resolv/nss_dns/dns-host.c).
3149 2012-07-11 Andreas Jaeger <aj@suse.de>
3151 * po/fr.po: Update from translation team.
3153 * po/sv.po: Update from translation team
3154 * po/fr.po: Another update from translation team.
3156 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3158 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3159 for subnormals or multiply small sinh result by itself.
3160 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3163 2012-07-11 David S. Miller <davem@davemloft.net>
3165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3167 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3170 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3171 (INTERNAL_MARK): Shift it here.
3173 2012-07-10 Marek Polacek <polacek@redhat.com>
3176 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3177 libc_cv_asm_global_directive with .globl.
3178 * configure: Regenerated.
3179 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3181 * sysdeps/i386/configure: Regenerated.
3182 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3184 * sysdeps/x86_64/configure: Regenerated.
3185 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3186 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3187 * elf/tst-unique2mod2.c: Likewise.
3188 * elf/tst-unique2mod1.c: Likewise.
3189 * elf/tst-unique1mod2.c: Likewise.
3190 * elf/tst-unique1mod1.c: Likewise.
3191 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3192 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3193 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3194 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3195 * sysdeps/mach/sysdep.h: Likewise.
3196 * sysdeps/i386/sysdep.h: Likewise.
3197 * sysdeps/i386/i386-mcount.S: Likewise.
3198 * sysdeps/x86_64/_mcount.S: Likewise.
3199 * sysdeps/x86_64/sysdep.h: Likewise.
3200 * sysdeps/sh/_mcount.S: Likewise.
3201 * sysdeps/sh/sysdep.h: Likewise.
3202 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3203 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3204 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3205 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3206 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3207 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3208 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3209 * locale/localeinfo.h: Likewise.
3210 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3211 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3213 2012-07-09 Roland McGrath <roland@hack.frob.com>
3216 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3218 * manual/message.texi (The Uniforum approach): Likewise.
3219 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3220 (glibc iconv Implementation): Likewise.
3222 2012-07-09 Joseph Myers <joseph@codesourcery.com>
3225 * math/s_clog.c (__clog): Avoid scaling a value down where that
3226 could result in underflow.
3227 * math/s_clog10.c (__clog10): Likewise.
3228 * math/s_clog10f.c (__clog10f): Likewise.
3229 * math/s_clog10l.c (__clog10l): Likewise.
3230 * math/s_clogf.c (__clogf): Likewise.
3231 * math/s_clogl.c (__clogl): Likewise.
3232 * math/libm-test.inc (clog_test): Add more tests.
3233 (clog10_test): Likewise.
3234 * sysdeps/i386/fpu/libm-test-ulps: Update.
3235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3237 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3240 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3241 by 7 not 8 to examine high bit of fractional part.
3244 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3245 for call to __mcount_internal.
3246 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3247 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3248 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3250 2012-07-06 Joseph Myers <joseph@codesourcery.com>
3253 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3254 approximation for values within 0x1p-13f of an odd multiple of
3256 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3257 exception. Add more tests.
3258 * sysdeps/i386/fpu/libm-test-ulps: Update.
3261 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3262 inputs and return -1 for them. Do not check for +Inf in case not
3264 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3265 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3266 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3267 and return -1 for them. Do not check for +Inf in case not
3269 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3271 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3272 and return -1 for them. Do not check for +Inf in case not
3274 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3276 * sysdeps/i386/fpu/libm-test-ulps: Update.
3277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3279 2012-07-06 Mike Frysinger <vapier@gentoo.org>
3281 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3283 2012-07-05 Joseph Myers <joseph@codesourcery.com>
3287 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3288 could result in spurious underflow. Scale down values above
3289 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3290 * math/s_csqrtf.c (__csqrtf): Likewise.
3291 * math/s_csqrtl.c (__csqrtl): Likewise.
3292 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3294 * sysdeps/i386/fpu/libm-test-ulps: Update.
3295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3297 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3299 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3301 * catgets/xopen-msg.awk: New file.
3302 * catgets/xopen-msg.sed: Removed.
3304 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3306 * intl/po2test.awk: New file.
3307 * intl/po2test.sed: Removed.
3309 2012-07-04 Joseph Myers <joseph@codesourcery.com>
3312 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3313 or multiply small sinh result by itself.
3314 * math/s_ctanf.c (__ctanf): Likewise.
3315 * math/s_ctanh.c (__ctanh): Likewise.
3316 * math/s_ctanhf.c (__ctanhf): Likewise.
3317 * math/s_ctanhl.c (__ctanhl): Likewise.
3318 * math/s_ctanl.c (__ctanl): Likewise.
3319 * math/libm-test.inc (ctan_test_tonearest): New function.
3320 (ctan_test_towardzero): Likewise.
3321 (ctan_test_downward): Likewise.
3322 (ctan_test_upward): Likewise.
3323 (ctanh_test_tonearest): Likewise.
3324 (ctanh_test_towardzero): Likewise.
3325 (ctanh_test_downward): Likewise.
3326 (ctanh_test_upward): Likewise.
3327 (main): Call these new functions.
3328 * sysdeps/i386/fpu/libm-test-ulps: Update.
3329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3331 2012-07-03 Mike Frysinger <vapier@gentoo.org>
3333 * .gitignore: Delete /ports entry.
3335 2012-07-03 Andreas Jaeger <aj@suse.de>
3337 * po/bg.po: Update from translation team.
3338 * po/cs.po: Likewise.
3339 * po/de.po: Likewise.
3340 * po/hr.po: Likewise.
3341 * po/nl.pl: Likewise.
3342 * po/pl.po: Likewise.
3343 * po/vi.po: Likewise.
3345 2012-07-03 Joseph Myers <joseph@codesourcery.com>
3347 * Makeconfig [!+link] (+link-before-libc): New variable.
3348 [!+link] (+link-after-libc): Likewise.
3349 [!+link] (+link-tests): Likewise.
3350 [!+link] (+link): Define in terms of $(+link-before-libc) and
3351 $(+link-after-libc).
3352 [!+link-static] (+link-static-before-libc): New variable.
3353 [!+link-static] (+link-static-after-libc): Likewise.
3354 [!+link-static] (+link-static-tests): Likewise.
3355 [!+link-static] (+link-static): Define in terms of
3356 $(+link-static-before-libc) and $(+link-static-after-libc).
3357 [build-shared] (link-libc-before-gnulib): New variable.
3358 [build-shared] (link-libc-tests): Likewise.
3359 [build-shared] (link-libc): Define in terms of
3360 $(link-libc-before-gnulib).
3361 [!build-shared] (link-libc-tests): New variable.
3362 (link-libc-static-tests): New variable.
3363 [!gnulib] (gnulib-arch): New variable.
3364 [!gnulib] (gnulib-tests): Likewise.
3365 [!gnulib] (static-gnulib-arch): Likewise.
3366 [!gnulib] (static-gnulib-tests): Likewise.
3367 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3368 Define with "=" instead of ":=".
3369 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3370 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3371 * Rules (binaries-all-notests): New variable.
3372 (binaries-all-tests): Likewise.
3373 (binaries-static-notests): Likewise.
3374 (binaries-static-tests): Likewise.
3375 (binaries-all): Define using $(binaries-all-notests) and
3376 $(binaries-all-tests).
3377 (binaries-static): Define using $(binaries-static-notests) and
3378 $(binaries-static-tests).
3379 (binaries-shared-tests): New variable.
3380 (binaries-shared-notests): Likewise.
3381 (binaries-shared): Remove variable.
3382 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3383 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3384 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3385 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3386 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3387 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3388 * elf/Makefile (sln-modules): New variable.
3389 (extra-objs): Add $(sln-modules:=.o).
3390 (ldconfig-modules): Add static-stubs.
3391 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3392 * elf/static-stubs.c: New file.
3395 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3396 by 7 not 8 to examine high bit of fractional part. Use volatile
3397 variables when splitting into final array of floats if
3398 __FLT_EVAL_METHOD__ != 0.
3399 * math/libm-test.inc (cos_test): Add another test.
3400 (sin_test): Likewise.
3401 * sysdeps/i386/fpu/libm-test-ulps: Update.
3404 * math/libm-test.inc (cosh_test): Add more tests.
3406 * version.h (RELEASE): Set to "development".
3407 (VERSION): Set to "2.16.90".
3409 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3411 * NEWS: Update copyright. Remove last-updated date.
3412 Mention math library bug fixes and timezone data changes.
3413 * README: Mention GNU/Hurd, x32, and HPPA support status.
3415 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3417 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3419 2012-06-27 Andreas Jaeger <aj@suse.de>
3421 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3423 2012-06-25 Andreas Jaeger <aj@suse.de>
3425 * sysdeps/s390/fpu/libm-test-ulps: Update.
3427 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3428 Thomas Schwinge <thomas@codesourcery.com>
3430 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3431 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3432 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3435 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3437 * sysdeps/mach/start.c: Remove file.
3438 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3439 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3440 * sysdeps/sh/init-first.c: Likewise.
3442 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3443 registers for frame unwinding purposes, add CFI directives.
3444 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3445 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3446 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3449 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3450 __fortify_fail returning.
3451 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3453 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3454 sysdeps/sh/____longjmp_chk.S.
3455 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3456 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3457 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3458 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3460 * sysdeps/sh/abort-instr.h: New file.
3461 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3462 process in case exit returns.
3464 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3465 initialize the GOT register before use.
3467 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3468 calculation of ARGC > 4.
3470 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3471 meaningful names to some local labels.
3473 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3474 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3476 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3477 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3478 (__arch_compare_and_exchange_val_16_acq): Likewise.
3479 (__arch_compare_and_exchange_val_32_acq): Likewise.
3480 (atomic_exchange_and_add): Fix gUSA sequence.
3481 (atomic_add): Likewise.
3482 (atomic_add_negative): Likewise.
3483 (atomic_add_zero): Likewise.
3484 (atomic_bit_test_set): Likewise.
3486 2012-06-22 Andreas Schwab <schwab@redhat.com>
3489 * include/link.h (struct link_map): Add l_free_initfini.
3490 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3492 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3493 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3494 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3497 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3499 * configure.in: Use AC_LANG_SOURCE.
3500 * configure: Regenerate.
3502 2012-06-22 Roland McGrath <roland@hack.frob.com>
3504 * configure.in (libc_cv_localstatedir): New substituted variable.
3505 * configure: Regenerated.
3506 * config.make.in (localstatedir): New variable, substituted from
3507 libc_cv_localstatedir.
3508 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3509 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3510 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3511 * sysdeps/gnu/configure: Regenerated.
3513 2012-06-21 Jeff Law <law@redhat.com>
3516 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3517 free. Simplify list management for _LIBC case.
3519 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3522 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3523 Clear sign bit of 64-bit integer value before comparing against
3526 * sysdeps/mach/configure: Regenerated.
3528 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3531 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3533 2012-06-21 Jeff Law <law@redhat.com>
3536 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3537 uint16_t for elements in the "seen" array to avoid char overflows.
3538 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3539 * elf/dl-open.c (dl_open_worker): Likewise.
3541 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3543 * scripts/list-sources.sh: Scan PORTS for translations.
3544 * po/libc.pot: Regenerated.
3546 2012-06-21 Andreas Jaeger <aj@suse.de>
3549 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3551 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3552 * bits/byteswap-16.h (__bswap_16): Likewise.
3553 * bits/byteswap.h (__bswap_constant_16): Likewise.
3555 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3558 * sysdeps/i386/fpu_control.h: Removed.
3559 * sysdeps/x86_64/fpu_control.h: Moved to ...
3560 * sysdeps/x86/fpu_control.h: Here.
3562 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3563 (_FPU_SETCW): Likewise.
3565 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3568 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3569 * sysdeps/x86/fpu/bits/mathinline.h: This.
3570 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3574 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3575 functions if __x86_64__ is defined.
3577 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3579 * string/endian.h: Add !__ASSEMBLER__ condition for including
3580 conversion interfaces.
3582 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3585 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3586 of ABS(x) in calculating zero to negative powers other than odd
3588 * math/libm-test.inc (pow_test): Add more tests.
3590 2012-06-15 Andreas Jaeger <aj@suse.de>
3592 * manual/contrib.texi (Contributors): Update entry of Liubov
3593 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3596 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3598 * string/string.h: Add __wur to GNU version of strerror_r.
3600 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3603 * string/Makefile (tests): Add tst-strtok_r.
3604 * string/tst-strtok_r.c: New file.
3605 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3606 RAX_LP/RDX_LP on SAVE_PTR.
3608 2012-06-14 Roland McGrath <roland@hack.frob.com>
3610 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3612 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3614 * libm_test.inc (csqrt_test): Allow more spurious underflow
3616 (j0_test): Likewise.
3617 (j1_test): Likewise.
3618 (y0_test): Likewise.
3619 (y1_test): Likewise.
3621 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3623 * po/Makefile (libc.pot): Use UTF-8 charset.
3625 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3628 Suppress sign-conversion warning from FD_SET.
3629 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3630 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3631 not unsigned long int.
3632 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3634 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3638 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3639 __extern_always_inline instead of __extern_inline.
3640 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3641 (__signbit): Likewise.
3642 (__signbitl): Support C++ namespace.
3643 (lrintf): New inline function.
3645 (llrintf): Likewise.
3657 (nearbyint): Likewise.
3658 (nearbyintf): Likewise.
3660 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3662 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3663 non-default versions.
3665 2012-06-11 Roland McGrath <roland@hack.frob.com>
3668 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3670 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3672 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3673 (FE_UPWARD, FE_DOWNWARD): Don't define.
3674 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3675 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3677 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3679 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3680 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3682 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3684 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3685 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3686 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3687 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3689 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3692 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3693 * sysdeps/i386/fpu/Implies: New file.
3694 * sysdeps/x86_64/fpu/Implies: Likewise.
3695 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3696 * sysdeps/x86/fpu/bits/fenv.h: This.
3698 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3701 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3704 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3705 character 0xffff that matches the last element of the
3708 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3710 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3713 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3715 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3716 values higher than 25.6283.
3718 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3720 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3721 subnormal exponent extraction and add some __builtin_expect.
3722 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3723 Fix for subnormal mantissa calculation.
3725 2012-06-04 Mike Frysinger <vapier@gentoo.org>
3727 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3728 cpu2 is -1 and errno is not ENOSYS.
3730 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3733 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3734 * sysdeps/x86/bits/string.h: This.
3735 * sysdeps/x86_64/bits/string.h: Removed.
3737 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3738 if not compiling for x86-64, but compiling for >= i486.
3740 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3741 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3743 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3744 New macro from Linux kernel 3.4.0.
3745 (FP_XSTATE_MAGIC2): Likewise.
3746 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3747 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3748 (struct _fpx_sw_bytes): New struct.
3749 (struct _xsave_hdr): Likewise.
3750 (struct _ymmh_state): Likewise.
3751 (struct _xstate): Likewise.
3753 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3754 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3755 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3756 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3757 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3758 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3760 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3761 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3762 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3763 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3764 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3765 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3767 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3770 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3771 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3772 (sysdep_headers): Include sys/platform/ppc.h.
3773 * sysdeps/powerpc/test-gettimebase.c: Test for
3774 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3775 * manual/Makefile (appendices): Include platform.texi.
3776 * manual/contrib.texi (Contributors): Update @node pointers.
3777 * manual/maint.texi (Maintenance): Likewise.
3778 (Platform): New node.
3779 * manual/platform.texi: New file. Document the new features.
3781 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3782 Jakub Jelinek <jakub@redhat.com>
3785 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3786 where __builtin_expect is unavailable.
3788 2012-06-03 David S. Miller <davem@davemloft.net>
3790 * stdlib/longlong.h: Updated from GCC.
3792 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3795 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3796 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3799 (GLIBC_2.16): Likewise.
3801 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3803 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3805 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3808 (default-abi): New variable.
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3810 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3812 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3814 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3816 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3819 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3820 definition. Document in comment.
3822 2012-06-01 David S. Miller <davem@davemloft.net>
3824 * stdlib/longlong.h: Updated from GCC.
3826 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3829 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3830 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3831 sys/debugreg.h sys/io.h here.
3832 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3833 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3835 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3836 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3837 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3838 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3839 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3840 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3842 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3843 Define only if __x86_64__ is defined.
3845 2012-06-01 Joseph Myers <joseph@codesourcery.com>
3848 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3849 Use int64_t for variable i.
3850 * math/libm-test.inc (fmod_test): Add more tests.
3852 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3853 z computation is not scheduled after fetestexcept.
3854 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3855 Use math_force_eval instead of asm to ensure calculation scheduled
3856 before exception test.
3857 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3858 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3860 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3863 computation is not scheduled after fetestexcept.
3865 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3868 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3869 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3871 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3873 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3874 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3876 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3879 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3881 (__WCHAR_MIN): Support __WORDSIZE == 64.
3882 (__WCHAR_MAX): Likewise.
3884 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3885 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3888 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3889 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3892 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3893 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3895 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3896 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3898 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3899 Defined to 1 if __x86_64__ isn't defined.
3900 (_STAT_VER_LINUX_OLD): New.
3901 (st_atime): Remove duplicate.
3902 (st_mtime): Likewise.
3903 (st_ctime): Likewise.
3905 2012-05-31 David S. Miller <davem@davemloft.net>
3907 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3910 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3912 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3916 * elf/dl-reloc.c: Include <_itoa.h>.
3917 (_dl_reloc_bad_type): Remove use of INTUSE.
3918 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3919 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3920 * stdio-common/psiginfo.c (psiginfo): Likewise.
3921 * stdio-common/psignal.c (psignal): Likewise.
3922 * string/strsignal.c (strsignal): Likewise.
3923 * include/signal.h (_sys_siglist): Declare hidden proto.
3924 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3925 INTVARDEF with libc_hidden_data_def.
3926 * stdio-common/itoa-udigits.c: Likewise.
3927 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3928 (_itoa_lower_digits_internal): Remove declaration.
3929 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3930 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3931 (_sys_sigabbrev_internal): Remove aliases.
3932 (_sys_siglist): Define hidden alias.
3934 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3939 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3942 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3943 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3945 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3946 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3947 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3948 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3949 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3950 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3952 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3953 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3954 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3956 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3964 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3965 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3966 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3968 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3969 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3970 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3971 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3972 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3973 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3975 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3976 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3978 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3979 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3981 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3982 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3983 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3985 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3986 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3988 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3990 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3991 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3992 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3994 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3996 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3998 2012-05-31 Joseph Myers <joseph@codesourcery.com>
4000 * math/math.h (M_El): Use two more decimal places.
4001 (M_LOG2El): Likewise.
4002 (M_LOG10El): Likewise.
4004 (M_LN10l): Likewise.
4006 (M_PI_2l): Likewise.
4007 (M_PI_4l): Likewise.
4008 (M_1_PIl): Likewise.
4009 (M_2_PIl): Likewise.
4010 (M_2_SQRTPIl): Likewise.
4011 (M_SQRT2l): Likewise.
4012 (M_SQRT1_2l): Likewise.
4014 2012-05-31 David S. Miller <davem@davemloft.net>
4016 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4017 values between float registers.
4018 * sysdeps/sparc/sparc64/memset.S: Likewise.
4019 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4021 2012-05-31 Mike Frysinger <vapier@gentoo.org>
4023 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4024 -D_FORTIFY_SOURCE=1.
4025 (CPPFLAGS-tst-longjmp_chk.c): Define.
4026 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4027 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4028 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4029 CFLAGS-tst-wchar-h.c.
4031 2012-05-31 Marek Polacek <polacek@redhat.com>
4034 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4035 __endmntent_internal): Remove declaration.
4036 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4037 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4038 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4040 2012-05-30 David S. Miller <davem@davemloft.net>
4042 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4043 (___Q_simulate_exceptions): Use real FP ops rather than writing
4045 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4048 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4051 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4052 * sysdeps/x86/bits/xtitypes.h: This.
4054 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4055 * sysdeps/x86/bits/wordsize.h: This.
4057 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4058 * sysdeps/x86/bits/huge_vall.h: This.
4060 * sysdeps/i386/bits/select.h: Removed.
4061 * sysdeps/x86_64/bits/select.h: Renamed to ...
4062 * sysdeps/x86/bits/select.h: This.
4064 * sysdeps/i386/bits/setjmp.h: Removed.
4065 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4066 * sysdeps/x86/bits/setjmp.h: This.
4068 * sysdeps/i386/bits/mathdef.h: Removed.
4069 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4070 * sysdeps/x86/bits/mathdef.h: This.
4072 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4075 * include/sys/socket.h (__connect_internal)
4076 (__libc_sa_len_internal): Remove declaration.
4077 (__connect, __libc_sa_len): Declare hidden_proto.
4078 (SA_LEN): Remove use of INTUSE.
4079 * socket/connect.c: Add libc_hidden_def.
4080 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4081 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4082 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4084 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4085 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4086 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4087 of adding _internal alias.
4089 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4092 * sysdeps/i386/bits/link.h: Removed.
4093 * sysdeps/i386/bits/linkmap.h: Likewise.
4094 * sysdeps/x86_64/bits/link.h: Renamed to ...
4095 * sysdeps/x86/bits/link.h: This.
4096 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4097 * sysdeps/x86/bits/linkmap.h: This.
4099 * sysdeps/i386/bits/endian.h: Removed.
4100 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4101 * sysdeps/x86/bits/endian.h: This.
4103 * sysdeps/i386/bits/byteswap.h: Removed.
4104 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4105 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4106 * sysdeps/x86/bits/byteswap.h: This.
4107 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4108 * sysdeps/x86/bits/byteswap-16.h: This.
4109 * sysdeps/i386/Implies: Add x86.
4110 * sysdeps/x86_64/Implies: Likewise.
4112 2012-05-30 David S. Miller <davem@davemloft.net>
4114 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4115 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4116 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4117 (FP_TRAPPING_EXCEPTIONS): Define.
4118 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4119 (FP_TRAPPING_EXCEPTIONS): Define.
4120 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4121 subnormals only when inexact has been signalled or underflow
4122 exceptions are enabled.
4123 (_FP_PACK_CANONICAL): Likewise.
4125 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4128 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4129 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4131 2012-05-30 Richard Henderson <rth@twiddle.net>
4133 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4134 with #ifndef NOT_IN_libc.
4136 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4137 marked to avoid plt entry.
4139 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4142 * Makeconfig (default-abi): New macro.
4143 (abi-includes): Likewise.
4144 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4145 $(abi-$(default-abi)-lib-soname) for soname if defined.
4146 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4148 * Makefile (installed-stubs): Likewise.
4149 * include/stubs-biarch.h: Removed.
4150 * scripts/lib-names.awk: Only handle one library at a time.
4151 * scripts/soversions.awk: Remove WORDSIZE support.
4152 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4154 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4156 (syscall-list-default-condition): Likewise.
4157 (syscall-list-default-condition): Likewise.
4158 (syscall-list-includes): Likewise.
4159 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4160 syscall-list-* with abi-*. Handle undefined abi-variants.
4161 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4162 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4163 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4164 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4165 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4166 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4168 (syscall-list-32-options): Likewise.
4169 (syscall-list-32-condition): Likewise.
4170 (syscall-list-64-options): Likewise.
4171 (syscall-list-64-condition): Likewise.
4172 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4174 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4177 (abi-64-ld-soname): New macro.
4178 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4179 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4182 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4183 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4185 2012-05-30 Joseph Myers <joseph@codesourcery.com>
4187 * sysdeps/unix/sysv/linux/kernel-features.h
4188 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4189 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4190 include <kernel-features.h>.
4191 [!__NR_ftruncate64]: Remove conditional code.
4192 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4193 [__NR_ftruncate64]: Make code unconditional.
4194 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4195 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4196 include <kernel-features.h>.
4197 [!__NR_ftruncate64]: Remove conditional code.
4198 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4199 [__NR_ftruncate64]: Make code unconditional.
4200 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4202 include <kernel-features.h>.
4203 [!__NR_ftruncate64]: Remove conditional code.
4204 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4205 [__NR_ftruncate64]: Make code unconditional.
4206 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4208 include <kernel-features.h>.
4209 [!__NR_ftruncate64]: Remove conditional code.
4210 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4211 [__NR_ftruncate64]: Make code unconditional.
4212 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4214 * configure.in (libc_cv_fpie): Weaken to a compile test using
4216 * configure: Regenerated.
4218 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4233 2012-05-27 David S. Miller <davem@davemloft.net>
4235 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4237 (__Q_simulate_exceptions): Return void. Change to simulate
4238 exceptions by writing into the %fsr.
4239 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4240 (__Qp_handle_exceptions): Likewise.
4242 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4243 __Qp_handle_exceptions.
4244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4245 __Qp_handle_exceptions.
4246 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4247 as unused and give dummy FP_RND_NEAREST initializer.
4248 (FP_INHIBIT_RESULTS): Define.
4249 (___Q_simulate_exceptions): Update declaration.
4250 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4252 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4253 as unused and give dummy FP_RND_NEAREST initializer.
4254 (__Qp_handle_exceptions): Update declaration.
4255 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4258 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4260 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4261 the temporary FPU control word.
4262 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4263 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4264 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4265 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4266 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4267 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4268 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4269 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4270 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4271 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4272 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4274 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4276 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4279 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4281 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4282 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4283 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4284 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4286 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4287 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4290 2012-05-27 Ulrich Drepper <drepper@gmail.com>
4292 * po/h.po: Update from translation team.
4294 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4296 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4298 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4299 handling of denormals.
4300 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4301 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4302 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4303 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4304 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4305 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4306 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4309 2012-05-26 Marek Polacek <polacek@redhat.com>
4312 * math/libm-test.inc (fma_test): Don't always expect underflow
4315 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4318 * elf/tst-execstack.c: Include stackinfo.h.
4319 (do_test): Adjust test case to ensure that pthread_getattr_np
4320 behaviour remains the same after marking stack executable.
4322 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4324 * sysdeps/unix/sysv/linux/kernel-features.h
4325 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4326 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4328 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4329 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4330 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4332 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4333 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4335 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4337 * configure.in: Define the default includes to being none.
4338 * configure: Regenerated.
4340 2012-05-25 Roland McGrath <roland@hack.frob.com>
4342 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4343 * sysdeps/x86_64/setjmp.S: Likewise.
4344 * sysdeps/i386/bsd-setjmp.S: Likewise.
4345 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4346 * sysdeps/i386/setjmp.S: Likewise.
4347 * sysdeps/i386/__longjmp.S: Likewise.
4348 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4349 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4351 * include/stap-probe.h: New file.
4352 * configure.in: Handle --enable-systemtap.
4353 * configure: Regenerated.
4354 * config.h.in (USE_STAP_PROBE): New #undef.
4355 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4356 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4357 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4359 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4363 to 2.4.0 where earlier.
4364 * sysdeps/unix/sysv/linux/configure: Regenerated.
4365 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4366 <kernel-features.h>.
4367 [__ASSUME_32BITUIDS]: Make code unconditional.
4368 [!__ASSUME_32BITUIDS]: Remove conditional code.
4369 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4370 <kernel-features.h>.
4371 [__ASSUME_32BITUIDS]: Make code unconditional.
4372 [!__ASSUME_32BITUIDS]: Remove conditional code.
4373 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4374 [__ASSUME_32BITUIDS]: Make code unconditional.
4375 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4376 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4377 <kernel-features.h>.
4378 [__ASSUME_32BITUIDS]: Make code unconditional.
4379 [!__ASSUME_32BITUIDS]: Remove conditional code.
4380 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4381 <kernel-features.h>.
4382 [__ASSUME_32BITUIDS]: Make code unconditional.
4383 [!__ASSUME_32BITUIDS]: Remove conditional code.
4384 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4385 <kernel-features.h>.
4386 [__ASSUME_32BITUIDS]: Make code unconditional.
4387 [!__ASSUME_32BITUIDS]: Remove conditional code.
4388 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4389 <kernel-features.h>.
4390 [__ASSUME_32BITUIDS]: Make code unconditional.
4391 [!__ASSUME_32BITUIDS]: Remove conditional code.
4392 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4393 <kernel-features.h>.
4394 [__ASSUME_32BITUIDS]: Make code unconditional.
4395 [!__ASSUME_32BITUIDS]: Remove conditional code.
4396 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4397 <kernel-features.h>.
4398 [__ASSUME_32BITUIDS]: Make code unconditional.
4399 [!__ASSUME_32BITUIDS]: Remove conditional code.
4400 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4401 <kernel-features.h>.
4402 [__ASSUME_32BITUIDS]: Make code unconditional.
4403 [!__ASSUME_32BITUIDS]: Remove conditional code.
4404 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4405 <kernel-features.h>.
4406 [__ASSUME_32BITUIDS]: Make code unconditional.
4407 [!__ASSUME_32BITUIDS]: Remove conditional code.
4408 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4409 <kernel-features.h>.
4410 [__ASSUME_32BITUIDS]: Make code unconditional.
4411 [!__ASSUME_32BITUIDS]: Remove conditional code.
4412 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4413 <kernel-features.h>.
4414 [__ASSUME_32BITUIDS]: Make code unconditional.
4415 [!__ASSUME_32BITUIDS]: Remove conditional code.
4416 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4417 <kernel-features.h>.
4418 [__NR_setresgid] (__setresgid): Do not declare.
4419 [__ASSUME_32BITUIDS]: Make code unconditional.
4420 [!__ASSUME_32BITUIDS]: Remove conditional code.
4421 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4422 <kernel-features.h>.
4423 [__NR_setresuid] (__setresuid): Do not declare.
4424 [__ASSUME_32BITUIDS]: Make code unconditional.
4425 [!__ASSUME_32BITUIDS]: Remove conditional code.
4426 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4427 <kernel-features.h>.
4428 [__ASSUME_32BITUIDS]: Make code unconditional.
4429 [!__ASSUME_32BITUIDS]: Remove conditional code.
4430 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4431 <kernel-features.h>.
4432 [__ASSUME_32BITUIDS]: Make code unconditional.
4433 [!__ASSUME_32BITUIDS]: Remove conditional code.
4434 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4435 <kernel-features.h>.
4436 [__ASSUME_32BITUIDS]: Make code unconditional.
4437 [!__ASSUME_32BITUIDS]: Remove conditional code.
4438 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4439 <kernel-features.h>.
4440 [__ASSUME_32BITUIDS]: Make code unconditional.
4441 [!__ASSUME_32BITUIDS]: Remove conditional code.
4442 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4443 <kernel-features.h>.
4444 [__ASSUME_32BITUIDS]: Make code unconditional.
4445 [!__ASSUME_32BITUIDS]: Remove conditional code.
4446 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4447 <kernel-features.h>.
4448 [__ASSUME_32BITUIDS]: Make code unconditional.
4449 [!__ASSUME_32BITUIDS]: Remove conditional code.
4450 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4451 <kernel-features.h>.
4452 [__ASSUME_32BITUIDS]: Make code unconditional.
4453 [!__ASSUME_32BITUIDS]: Remove conditional code.
4454 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4455 <kernel-features.h>.
4456 [__ASSUME_32BITUIDS]: Make code unconditional.
4457 [!__ASSUME_32BITUIDS]: Remove conditional code.
4458 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4459 <kernel-features.h>.
4460 [__ASSUME_32BITUIDS]: Make code unconditional.
4461 [!__ASSUME_32BITUIDS]: Remove conditional code.
4462 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
4467 (__ASSUME_SETRESUID_SYSCALL): Remove.
4468 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4469 (__ASSUME_32BITUIDS): Likewise.
4470 (__ASSUME_LDT_WORKS): Likewise.
4471 (__ASSUME_O_DIRECTORY): Likewise.
4472 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4473 architecture but not kernel version.
4474 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4475 (__ASSUME_MMAP2_SYSCALL): Likewise.
4476 (__ASSUME_STAT64_SYSCALL): Likewise.
4477 (__ASSUME_IPC64): Likewise.
4478 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4479 <kernel-features.h>.
4480 [__ASSUME_32BITUIDS]: Make code unconditional.
4481 [!__ASSUME_32BITUIDS]: Remove conditional code.
4482 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4483 <kernel-features.h>.
4484 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4485 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4486 132096]: Remove conditional code.
4487 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4488 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4489 <kernel-features.h>.
4490 [__ASSUME_32BITUIDS]: Make code unconditional.
4491 [!__ASSUME_32BITUIDS]: Remove conditional code.
4492 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4493 <kernel-features.h>.
4494 [__ASSUME_32BITUIDS]: Make code unconditional.
4495 [!__ASSUME_32BITUIDS]: Remove conditional code.
4496 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4497 <kernel-features.h>.
4498 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4500 (__setresgid): Do not declare.
4501 [__ASSUME_32BITUIDS]: Make code unconditional.
4502 [!__ASSUME_32BITUIDS]: Remove conditional code.
4503 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4504 <kernel-features.h>.
4505 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4507 (__setresuid): Do not declare.
4508 [__ASSUME_32BITUIDS]: Make code unconditional.
4509 [!__ASSUME_32BITUIDS]: Remove conditional code.
4510 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4511 <kernel-features.h>.
4512 [__ASSUME_32BITUIDS]: Make code unconditional.
4513 [!__ASSUME_32BITUIDS]: Remove conditional code.
4514 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4515 <kernel-features.h>.
4516 [__ASSUME_32BITUIDS]: Make code unconditional.
4517 [!__ASSUME_32BITUIDS]: Remove conditional code.
4519 2012-05-25 Richard Henderson <rth@twiddle.net>
4521 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4522 dl_hwcap to ifunc resolver.
4523 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4525 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4526 dl_hwcap to ifunc resolver.
4527 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4529 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4532 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4533 for |x| <= 2**-26, not 2**-57.
4534 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4537 2012-05-24 Jeff Law <law@redhat.com>
4539 * stdio-common/Makefile (tests): Add bug25.
4540 * stdio-common/bug25.c: New test.
4542 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4545 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4546 multiple of MALLOC_ALIGNMENT in size.
4547 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4549 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4551 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4553 (FILENAME_MAX): Use macro-int-constant.
4554 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4555 (_IOFBF): Use macro-int-constant.
4558 (SEEK_CUR): Likewise.
4559 (SEEK_END): Likewise.
4560 (SEEK_SET): Likewise.
4561 (TMP_MAX): Likewise.
4562 (EOF): Use macro-int-constant. Require < 0.
4563 (NULL): Use macro-constant. Require == 0.
4564 (stdin): Require type to be FILE *.
4567 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4569 (EXIT_SUCCESS): Likewise.
4570 (NULL): Use macro-constant. Require == 0.
4571 (RAND_MAX): Use macro-int-constant.
4572 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4573 [C99-based standards] (strtof): Require function.
4574 [C99-based standards] (strtold): Likewise.
4575 [C99-based standards] (strtoll): Likewise.
4576 [C99-based standards] (strtoull): Likewise.
4577 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4578 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4579 [ISO || ISO99 || ISO11] (math.h): Likewise.
4580 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4581 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4582 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4584 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4587 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4588 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4589 * intl/dgettext.c (DCGETTEXT): Likewise.
4590 * intl/gettext.c (DCGETTEXT): Likewise.
4591 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4592 * posix/regex_internal.h (gettext): Likewise.
4593 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4595 * include/argz.h (__argz_count_internal)
4596 (__argz_stringify_internal): Remove declaration.
4597 (__argz_count, __argz_stringify): Declare hidden proto.
4598 * intl/dcgettext.c: Remove use of INTDEF.
4599 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4600 * string/argz-stringify.c: Likewise.
4601 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4602 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4603 Declare hidden proto.
4604 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4605 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4606 Declare hidden proto.
4607 * include/stdio.h (__asprintf_internal): Don't declare.
4608 (__asprintf): Don't define as macro. Declare hidden proto.
4609 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4610 (__fsetlocking): Declare hidden proto.
4611 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4612 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4614 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4615 (_IO_setlinebuf): Remove use of INTUSE.
4616 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4617 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4618 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4620 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4621 (_IO_do_flush): Remove use of INTUSE.
4622 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4623 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4624 (_IO_adjust_column, _IO_least_wmarker)
4625 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4626 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4627 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4628 (_IO_default_doallocate, _IO_wdefault_doallocate)
4629 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4630 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4631 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4632 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4633 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4634 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4635 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4636 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4637 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4638 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4639 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4640 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4641 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4643 (_IO_flush_all_internal, _IO_adjust_column_internal)
4644 (_IO_default_uflow_internal, _IO_default_finish_internal)
4645 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4646 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4647 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4648 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4649 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4650 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4651 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4652 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4653 (_IO_file_close_internal, _IO_file_close_it_internal)
4654 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4655 (_IO_file_init_internal, _IO_file_attach_internal)
4656 (_IO_file_fopen_internal, _IO_file_read_internal)
4657 (_IO_file_sync_internal, _IO_file_seek_internal)
4658 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4659 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4660 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4661 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4662 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4663 (_IO_list_all_internal, _IO_link_in_internal)
4664 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4665 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4666 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4667 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4668 (_IO_do_write_internal, _IO_padn_internal)
4669 (_IO_getline_info_internal, _IO_getline_internal)
4670 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4671 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4672 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4673 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4674 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4675 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4676 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4677 with libc_hidden_ver, remove use of INTUSE.
4678 * libio/genops.c: Likewise.
4679 * libio/freopen.c: Likewise.
4680 * libio/freopen64.c: Likewise.
4681 * libio/iofclose.c: Likewise.
4682 * libio/iofdopen.c: Likewise.
4683 * libio/iofflush.c: Likewise.
4684 * libio/iofflush_u.c: Likewise.
4685 * libio/iofgets.c: Likewise.
4686 * libio/iofgets_u.c: Likewise.
4687 * libio/iofopen.c: Likewise.
4688 * libio/iofopncook.c: Likewise.
4689 * libio/iofread.c: Likewise.
4690 * libio/iofread_u.c: Likewise.
4691 * libio/ioftell.c: Likewise.
4692 * libio/iofwrite.c: Likewise.
4693 * libio/iogetline.c: Likewise.
4694 * libio/iogets.c: Likewise.
4695 * libio/iogetwline.c: Likewise.
4696 * libio/iopadn.c: Likewise.
4697 * libio/iopopen.c: Likewise.
4698 * libio/ioseekoff.c: Likewise.
4699 * libio/ioseekpos.c: Likewise.
4700 * libio/iosetbuffer.c: Likewise.
4701 * libio/iosetvbuf.c: Likewise.
4702 * libio/ioungetc.c: Likewise.
4703 * libio/ioungetwc.c: Likewise.
4704 * libio/iovdprintf.c: Likewise.
4705 * libio/iovsprintf.c: Likewise.
4706 * libio/iovsscanf.c: Likewise.
4707 * libio/memstream.c: Likewise.
4708 * libio/obprintf.c: Likewise.
4709 * libio/oldfileops.c: Likewise.
4710 * libio/oldiofclose.c: Likewise.
4711 * libio/oldiofdopen.c: Likewise.
4712 * libio/oldiofopen.c: Likewise.
4713 * libio/oldiopopen.c: Likewise.
4714 * libio/oldstdfiles.c: Likewise.
4715 * libio/putc.c: Likewise.
4716 * libio/setbuf.c: Likewise.
4717 * libio/setlinebuf.c: Likewise.
4718 * libio/stdfiles.c: Likewise.
4719 * libio/strops.c: Likewise.
4720 * libio/vasprintf.c: Likewise.
4721 * libio/vscanf.c: Likewise.
4722 * libio/vsnprintf.c: Likewise.
4723 * libio/vswprintf.c: Likewise.
4724 * libio/wfiledoalloc.c: Likewise.
4725 * libio/wfileops.c: Likewise.
4726 * libio/wgenops.c: Likewise.
4727 * libio/wmemstream.c: Likewise.
4728 * libio/wstrops.c: Likewise.
4729 * libio/__fpurge.c: Likewise.
4730 * libio/__fsetlocking.c: Likewise.
4731 * assert/assert.c: Likewise.
4732 * debug/fgets_chk.c: Likewise.
4733 * debug/fgets_u_chk.c: Likewise.
4734 * debug/fread_chk.c: Likewise.
4735 * debug/fread_u_chk.c: Likewise.
4736 * debug/gets_chk.c: Likewise.
4737 * debug/obprintf_chk.c: Likewise.
4738 * debug/vasprintf_chk.c: Likewise.
4739 * debug/vdprintf_chk.c: Likewise.
4740 * debug/vsnprintf_chk.c: Likewise.
4741 * debug/vsprintf_chk.c: Likewise.
4742 * malloc/mtrace.c: Likewise.
4743 * misc/error.c: Likewise.
4744 * misc/syslog.c: Likewise.
4745 * stdio-common/asprintf.c: Likewise.
4746 * stdio-common/fxprintf.c: Likewise.
4747 * stdio-common/getw.c: Likewise.
4748 * stdio-common/isoc99_fscanf.c: Likewise.
4749 * stdio-common/isoc99_scanf.c: Likewise.
4750 * stdio-common/isoc99_vfscanf.c: Likewise.
4751 * stdio-common/isoc99_vscanf.c: Likewise.
4752 * stdio-common/isoc99_vsscanf.c: Likewise.
4753 * stdio-common/printf-prs.c: Likewise.
4754 * stdio-common/printf_fp.c: Likewise.
4755 * stdio-common/printf_fphex.c: Likewise.
4756 * stdio-common/printf_size.c: Likewise.
4757 * stdio-common/putw.c: Likewise.
4758 * stdio-common/scanf.c: Likewise.
4759 * stdio-common/sprintf.c: Likewise.
4760 * stdio-common/tmpfile.c: Likewise.
4761 * stdio-common/vfprintf.c: Likewise.
4762 * stdio-common/vfscanf.c: Likewise.
4763 * stdlib/strfmon_l.c: Likewise.
4764 * sunrpc/openchild.c: Likewise.
4765 * sunrpc/xdr_stdio.c: Likewise.
4766 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4767 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4769 2012-05-24 Roland McGrath <roland@hack.frob.com>
4771 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4773 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4774 in the third column, to generate for the shared library an IFUNC
4775 that uses _dl_vdso_vsym.
4776 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4777 * Makeconfig (object-suffixes-noshared): New variable.
4779 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4780 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4781 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4782 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4785 * include/sys/time.h (__gettimeofday): Remove macro.
4786 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4787 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4789 (__gettimeofday): Add libc_hidden_def.
4790 (gettimeofday): Add libc_hidden_weak.
4791 * sysdeps/mach/gettimeofday.c: Likewise.
4792 * sysdeps/posix/gettimeofday.c: Likewise.
4793 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4794 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4795 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4796 (__gettimeofday_internal): Remove strong_alias.
4797 (__gettimeofday): Add libc_hidden_def.
4798 (gettimeofday): Add libc_hidden_weak.
4799 * sysdeps/unix/syscalls.list (gettimeofday):
4800 Remove __gettimeofday_internal alias.
4802 2012-05-24 Daniel Jacobowitz <drow@false.org>
4803 H.J. Lu <hongjiu.lu@intel.com>
4806 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4807 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4808 (largebin_index_32_big): New.
4809 (largebin_index): Use it for 16-byte alignment.
4810 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4811 correction with front_misalign.
4813 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4841 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4842 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4844 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4848 * math/libm-test.inc (exp_test): Add test from bug 14036.
4849 (pow_test): Add test from bug 10846.
4851 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4853 (special_function): Do not include flags in test name.
4854 (parse_args): Likewise.
4855 * sysdeps/i386/fpu/libm-test-ulps: Update.
4856 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4857 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4858 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4861 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4863 * math/libm-test.inc ("Philosophy"): Update comment about
4865 (UNDERFLOW_EXCEPTION): New macro.
4866 (UNDERFLOW_EXCEPTION_OK): Likewise.
4867 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4868 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4869 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4870 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4871 (INVALID_EXCEPTION_OK): Update value.
4872 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4873 (OVERFLOW_EXCEPTION_OK): Likewise.
4874 (IGNORE_ZERO_INF_SIGN): Likewise.
4875 (test_exceptions): Handle underflow exceptions.
4876 (acos_test): Update for underflow exception expectations.
4877 (cexp_test): Likewise.
4878 (clog_test): Likewise.
4879 (clog10_test): Likewise.
4880 (csqrt_test): Likewise.
4881 (ctan_test): Likewise.
4882 (ctanh_test): Likewise.
4883 (exp_test): Likewise.
4884 (exp10_test): Likewise.
4885 (exp2_test): Likewise.
4886 (expm1_test): Likewise.
4887 (fma_test): Likewise.
4888 (j0_test): Likewise.
4889 (jn_test): Likewise.
4890 (nexttoward_test): Likewise.
4891 (pow_test): Likewise.
4892 (scalbn_test): Likewise.
4893 (scalbln_test): Likewise.
4894 (tan_test): Likewise.
4895 (y1_test): Likewise.
4896 * sysdeps/i386/fpu/libm-test-ulps: Update.
4897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4899 2012-05-23 David S. Miller <davem@davemloft.net>
4901 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4902 (__libc_sigaction): Remove unused local variables.
4904 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4906 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4908 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4910 mktime: avoid signed integer overflow
4911 * time/mktime.c (__mktime_internal): Do not mishandle the case
4912 where diff == INT_MIN.
4914 mktime: simplify computation of average
4915 * time/mktime.c (ranged_convert): Use new time_t_avg function
4916 instead of rolling our own (probably-slower) code.
4918 mktime: do not assume signed right shift propagates sign bit
4919 * time/mktime.c (isdst_differ): New static function.
4920 (__mktime_internal): No need to normalize tm_isdst now.
4921 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4924 mktime: merge another wrapv change from gnulib
4925 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4926 from some compilers.
4928 mktime: remove incorrect attempt at unusual arithmetics
4929 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4930 The code didn't really work on such machines anyway.
4931 (TYPE_MINIMUM): Assume two's complement.
4932 (twos_complement_arithmetic): Verify that long_int and time_t
4933 are two's complement (or unsigned, in the latter case).
4935 mktime: check signed shifts on long_int and time_t, too
4936 * time/mktime.c (SHR): Check that shifts work as desired
4937 on the types long_int and time_t too, as SHR is used on
4940 mktime: do not assume 'long' is wide enough
4941 * time/mktime.c (verify): Move decl up.
4942 (long_int): New type.
4943 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4944 to remove assumption in the code that 'long' is wide enough to
4945 store year values. This assumption is not true on x32 and on
4946 some non-glibc platforms.
4948 mktime: merge wrapv change from gnulib
4949 * time/mktime.c (WRAPV): New macro.
4950 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4951 (guess_time_tm, __mktime_internal): Do not assume that signed
4952 integer overflow wraps around; modern compilers generate code
4953 where this assumption is no longer valid.
4955 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4957 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4958 Replace "jmp L(pseudo_end)" with "ret".
4959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4962 2012-05-23 Andreas Jaeger <aj@suse.de>
4964 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4965 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4967 2012-05-23 Andreas Jaeger <aj@suse.de>
4968 Maximilian Attems <max@stro.at>
4970 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4973 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4975 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4976 code so that pseudo_end is just ret and the stack pointer is
4977 correct also for static library in error case.
4979 2012-05-23 Joseph Myers <joseph@codesourcery.com>
4981 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4982 move to syscalls.list.
4983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4988 * manual/install.texi (Running make install): Do not mention Linux
4989 kernel version for which pt_chown is not needed.
4990 (Linux): Do not mention problems with nscd with 2.0 kernels.
4991 * INSTALL: Regenerated.
4993 2012-05-23 Andreas Jaeger <aj@suse.de>
4995 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4996 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4998 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4999 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5000 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5001 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5002 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5003 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5004 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5005 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5006 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5007 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5008 * sysdeps/unix/sysv/linux/bits/in.h
5009 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5011 2012-05-22 Roland McGrath <roland@hack.frob.com>
5013 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5014 (PREPARE_VERSION): Just use assert instead, it will be elided
5015 under [NDEBUG] anyway.
5017 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5019 * sysdeps/unix/sysv/linux/Makefile: Include
5020 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5021 (sysdep_routines): Remove sysctl.
5022 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5023 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5024 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5025 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5026 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5028 2012-05-22 Andreas Jaeger <aj@suse.de>
5030 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5031 that pseudo_end is just ret and the stack pointer is correct also
5032 for static library in error case.
5034 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5037 * nss/nsswitch.c (defconfig_entries): New variable.
5038 (__nss_database_lookup): Don't leak defconfig entries.
5039 (nss_parse_service_list): Don't leak on error paths.
5040 (free_database_entries): New function.
5041 (free_defconfig): New function.
5042 (free_mem): Move common code to free_database_entries.
5044 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5046 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5048 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5050 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5051 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5052 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5054 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5055 (INTERNAL_SYSCALL_TYPES): Likewise.
5056 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5057 (LOAD_REGS_TYPES_[1-6]): Likewise.
5058 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5059 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5061 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5063 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5064 copysignl for GLIBC_2_0.
5065 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5066 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5067 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5068 logbl for GLIBC_2_0.
5069 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5070 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5072 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5074 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5075 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5077 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5080 * time/mktime.c: Update copyright years.
5082 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5084 mktime: merge comment-quoting-style change from gnulib
5085 * time/mktime.c: Quote 'like this' in comments.
5086 The GNU coding standards suggest that we no longer quote `like this',
5087 as "`" and "'" are typically rendered asymmetrically nowadays.
5088 The typical gnulib style is to quote 'like this' when quoting
5089 code, and "like this" when quoting English.
5091 * time/mktime.c (compile-command): Add "-I.".
5093 mktime: merge mktime-internal.h change from gnulib
5094 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5096 mktime: merge time_r change from gnulib
5097 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5099 mktime: merge DEBUG change from gnulib
5100 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5101 case system <time.h> has a #define.
5103 mktime: merge <sys/types.h> change from gnulib
5104 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5105 since <time.t> is now guaranteed to define time_t.
5107 mktime: merge HAVE_CONFIG_H change from gnulib
5108 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5110 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5112 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5115 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5117 (struct rusage): Use anonymous union to pad each field to
5120 2012-05-21 David S. Miller <davem@davemloft.net>
5122 * Makefules (o-iterator): Remove .s cases.
5123 (compile-command.s): Delete.
5124 (COMPILE.s): Delete.
5125 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5127 2012-05-21 Joseph Myers <joseph@codesourcery.com>
5129 * configure.in (libc_cv_predef_stack_protector): Only consider
5130 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5131 * configure: Regenerated.
5133 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5136 New macro. Use R*LP on int and pointer.
5137 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
5138 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5139 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
5140 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5142 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5143 [__WORDSIZE_TIME64_COMPAT32] instead of
5144 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5145 (struct utmp): Likewise.
5146 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5147 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5149 (__WORDSIZE_TIME64_COMPAT32): This.
5150 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5151 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5152 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5153 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5154 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5155 (__WORDSIZE_TIME64_COMPAT32): New macro.
5157 2012-05-21 Andreas Jaeger <aj@suse.de>
5159 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5160 only if [SHARED]. Add prototype for __wcschr_ia32.
5162 2012-05-21 Roland McGrath <roland@hack.frob.com>
5164 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5165 of %rbp unmolested in the jmp_buf while mangling the low bits.
5166 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5167 unmolested high bits of %rbp while demangling the low bits.
5168 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5170 2012-05-21 Andreas Jaeger <aj@suse.de>
5172 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5173 * sunrpc/svc_simple.c: Use it for registerrpc.
5174 * sunrpc/xcrypt.c: Use it for passwd2des.
5176 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5178 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5180 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5181 Don't define if [__SYSCALL_WORDSIZE != 32].
5182 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5185 2012-05-21 Bruno Haible <bruno@clisp.org>
5186 Andreas Jaeger <aj@suse.de>
5188 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5189 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5190 inptr and inend for must_buffer_ch.
5191 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5192 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5193 * stdio-common/Makefile (tests): Remove bug15.
5194 (bug15-ENV): Remove macro.
5195 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5198 2012-05-19 Andreas Jaeger <aj@suse.de>
5199 Roland McGrath <roland@hack.frob.com>
5201 * manual/contrib.texi: Completely rewritten. It contains now an
5202 alphabetical list of contributors and their contributions.
5204 2012-05-21 Richard Henderson <rth@twiddle.net>
5206 * misc/getauxval.c (__getauxval): Use unsigned long int.
5207 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5208 (getauxval): Use unsigned long int.
5210 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5212 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5214 2012-05-21 Roland McGrath <roland@hack.frob.com>
5216 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5217 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5218 __alignof__ (long double).
5220 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5224 2012-05-20 Richard Henderson <rth@twiddle.net>
5226 * misc/getauxval.c: New file.
5227 * misc/sys/auxv.h: New file.
5228 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5229 (routines): Add getauxval.
5230 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5231 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5232 * elf/dl-sysdep.c (_dl_auxv): Remove.
5233 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5234 * elf/dl-support.c (_dl_auxv): New variable.
5235 (_dl_aux_init): Initialize it.
5236 * manual/startup.texi (Auxiliary Vector): New node.
5237 * sysdeps/generic/bits/hwcap.h: New file.
5238 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5239 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5240 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5241 * sysdeps/sparc/sysdep.h: ... here. Include it.
5242 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5243 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
5244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5249 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5255 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5259 2012-05-19 David S. Miller <davem@davemloft.net>
5261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5263 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5266 * math/s_ccosh.c: Include <float.h>
5267 (__ccosh): Avoid internal overflow calculating sinh and cosh
5268 values before multiplying by sin and cos values.
5269 * math/s_ccoshf.c: Likewise.
5270 * math/s_ccoshl.c: Likewise.
5271 * math/s_csin.c: Likewise.
5272 * math/s_csinf.c: Likewise.
5273 * math/s_csinl.c: Likewise.
5274 * math/s_csinh.c: Likewise.
5275 * math/s_csinhf.c: Likewise.
5276 * math/s_csinhl.c: Likewise.
5277 * math/libm-test.inc (ccos_test): Add more tests.
5278 (ccosh_test): Likewise.
5279 (csin_test): Likewise.
5280 (csinh_test): Likewise.
5281 * sysdeps/i386/fpu/libm-test-ulps: Update.
5282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5284 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5286 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5287 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5289 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5291 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5293 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5294 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5295 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5296 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5297 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5298 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5299 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5300 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5301 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5302 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5303 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5304 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5305 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5306 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5307 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5308 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5309 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5310 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5311 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5312 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5313 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5314 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5315 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5316 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5317 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5318 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5319 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5320 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5321 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5322 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5323 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5325 2012-05-18 Andreas Jaeger <aj@suse.de>
5327 * csu/.gitignore: Delete.
5329 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5331 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5332 (timex): Use __syscall_slong_t.
5334 2012-05-18 Andreas Jaeger <aj@suse.de>
5335 Carlos O'Donell <carlos_odonell@mentor.com>
5337 * manual/install.texi (Configuring and compiling): Update
5338 description about files modified in the source directory.
5339 * INSTALL: Regenerated.
5341 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5343 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5344 value. Use "or" to set return value to -1.
5345 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5346 negate return value.
5348 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5350 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5351 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5352 failure if the compiler has Graphite support disabled.
5353 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5355 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5356 CFLAGS-memmove.c): Likewise.
5357 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5360 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5362 * sysdeps/x86_64/x32/_itoa.h: New file.
5364 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5365 getdents system call only if kernel and user dirents have the
5366 same d_ino and d_off.
5368 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5369 LLONG_MAX != LONG_MAX.
5370 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5371 (_fitoa_word): Likewise.
5373 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5375 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5376 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5377 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5379 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5380 include <bits/wordsize.h>. Check __x86_64__ instead of
5382 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5383 if __x86_64__ is defined. Use anonymous union on fpstate.
5385 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5388 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5390 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5391 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5392 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5393 Refer to _rtld_local_ro instead of _rtld_global_ro.
5394 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5396 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5398 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5400 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5401 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5402 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5404 * sysdeps/powerpc/powerpc32/dl-machine.c
5405 (__elf_machine_runtime_setup) [PROF]: Don't reference
5408 2012-05-18 Andreas Jaeger <aj@suse.de>
5410 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5411 function only available for GCCs before 3.4 since GCC 3.4
5412 introduced a builtin.
5414 (llrintf): Likewise.
5422 (nearbyint): Likewise.
5423 (nearbyintf): Likewise.
5429 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5431 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5432 on both fields and cast pointer to __syscall_ulong_t.
5434 * bits/types.h (__fsword_t): New type.
5435 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5436 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5438 (__FSWORD_T_TYPE): Likewise.
5439 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5440 (__FSWORD_T_TYPE): Likewise.
5441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5442 (__FSWORD_T_TYPE): Likewise.
5443 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5444 (__FSWORD_T_TYPE): Likewise.
5445 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5446 __SWORD_TYPE with __fsword_t.
5447 (statfs64): Likewise.
5449 2012-05-17 David S. Miller <davem@davemloft.net>
5451 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5453 2012-05-17 Andreas Jaeger <aj@suse.de>
5455 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5458 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5460 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5462 2012-05-17 Andreas Jaeger <aj@suse.de>
5464 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5467 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5469 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5471 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5473 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5474 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5476 2012-05-17 Andreas Jaeger <aj@suse.de>
5477 Carlos O'Donell <carlos_odonell@mentor.com>
5480 * sysdeps/x86_64/multiarch/init-arch.h
5481 (bit_YMM_Usable): Rename to...
5482 (bit_AVX_Usable): ... this.
5483 (bit_FMA4_Usable): New macro.
5484 (bit_XMM_state): New macro.
5485 (bit_YMM_state): New macro.
5486 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5487 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5488 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5489 (CPUID_OSXSAVE): New macro.
5490 (CPUID_AVX): New macro.
5491 (CPUID_FMA4): New macro.
5492 (index_YMM_Usable): Rename to...
5493 (index_AVX_Usable): ... this.
5494 (HAS_AVX): Use HAS_ARCH_FEATURE.
5495 (HAS_FMA4): Likewise.
5496 (HAS_YMM_USABLE): Remove.
5497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5498 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5500 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5501 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5502 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5503 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5504 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5506 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5508 * math/libm-test.c: Support platforms without multiple rounding modes.
5509 * math/bug-nextafter.c: Support platforms without FP exceptions.
5510 * math/bug-nexttoward.c: Likewise.
5511 * math/test-fenv.c: Likewise.
5512 * math/test-misc.c: Likewise.
5513 * stdlib/bug-getcontext.c: Likewise.
5515 2012-05-17 Andreas Jaeger <aj@suse.de>
5517 * manual/examples/search.c (critter_cmp): Change signature to
5519 * manual/string.texi (Collation Functions): Likewise.
5521 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5523 * bits/types.h: Fold copyright years.
5524 * bits/typesizes.h: Likewise.
5525 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5527 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5529 * time/time.h: Likewise.
5531 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5534 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5535 in instead of returning them. Return void.
5536 (__libc_mallinfo): Accumulate over all arenas.
5537 (__malloc_stats): Adjust for change in int_mallinfo interface.
5539 2012-05-16 Roland McGrath <roland@hack.frob.com>
5542 * configure.in (NM): Add AC_CHECK_TOOL for it.
5543 (libc_extra_cflags): New substituted variable.
5544 Check for -fstack-protector being used implicitly.
5545 * configure: Regenerated.
5546 * config.make.in (config-extra-cflags): New variable,
5547 gets @libc_extra_cflags@.
5548 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5551 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5552 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5553 * configure: Regenerated.
5554 * config.make.in (CPPUNDEFS): New substituted variable.
5555 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5556 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5557 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5559 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5561 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5562 (mq_attr): Use __syscall_slong_t.
5564 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5566 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5567 Check __x86_64__ instead of __WORDSIZE.
5568 (_STAT_VER_LINUX): Likewise.
5569 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5570 __syscall_ulong_t and __syscall_slong_t.
5573 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5575 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5577 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5579 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5581 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5583 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5586 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5587 include <bits/wordsize.h>. Check __x86_64__ instead of
5589 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5591 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5593 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5594 include <bits/wordsize.h>. Check __x86_64__ instead of
5596 (user_regs_struct): Use "__extension__ unsigned long long"
5597 instead of "unsigned long" if __x86_64__ is defined.
5598 (user): Likewise. Pad after pointer field if __ILP32__ is
5601 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5603 * configure.in (makeinfo): Require version 4.5 or later. Allow
5605 * configure: Regenerated.
5606 * manual/install.texi (texinfo): Increase version requirement to
5608 * INSTALL: Regenerated.
5610 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5612 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5614 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5616 * sysdeps/x86_64/x32/ffs.c: New file.
5618 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5620 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5621 defined. Use __syscall_ulong_t.
5622 (shminfo): Use __syscall_ulong_t.
5623 (shm_info): Likewise.
5625 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5628 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5630 (msgqnum_t): Use __syscall_ulong_t.
5631 (msglen_t): Likewise.
5632 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5635 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5636 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5638 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5640 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5641 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5643 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5646 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5647 include <bits/wordsize.h>. Check __x86_64__ instead of
5650 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5651 "unsigned long long int" if __x86_64__ is defined.
5652 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5654 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5655 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5656 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5658 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5660 (GET_PC): Cast to uintptr_t first.
5661 (GET_FRAME): Likewise.
5662 (GET_STACK): Likewise.
5664 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5665 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5666 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5667 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5668 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5669 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5670 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5671 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5672 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5673 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5674 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5675 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5676 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5677 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5678 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5679 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5680 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5681 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5682 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5683 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5684 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5685 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5686 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5687 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5688 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5689 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5690 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5691 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5692 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5694 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5696 * Makerules (+depfiles): Also collect depfiles from .oS in
5698 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5699 .oS, $(libnldbl-routines)).
5701 * Makerules (native-compile-mkdep-flags): Define.
5702 * sunrpc/Makefile (extra-objs): Add $(addprefix
5703 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5704 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5705 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5706 calling $(make-target-directory).
5708 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5710 * bits/types.h (__snseconds_t): Removed.
5711 * time/time.h (struct timespec): Replace __snseconds_t with
5713 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5714 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5716 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5717 (__SNSECONDS_T_TYPE): Likewise.
5718 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5719 (__SNSECONDS_T_TYPE): Likewise.
5720 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5721 (__SNSECONDS_T_TYPE): Likewise.
5723 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5725 * sysdeps/mach/hurd/bits/typesizes.h
5726 (__SYSCALL_SLONG_TYPE): New macro.
5727 (__SYSCALL_ULONG_TYPE): Likewise.
5729 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5731 * bits/types.h (__syscall_slong_t): New type.
5732 (__syscall_ulong_t): Likewise.
5734 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5735 (__SYSCALL_ULONG_TYPE): Likewise.
5736 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5737 (__SYSCALL_SLONG_TYPE): Likewise.
5738 (__SYSCALL_ULONG_TYPE): Likewise.
5739 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5740 (__SYSCALL_SLONG_TYPE): Likewise.
5741 (__SYSCALL_ULONG_TYPE): Likewise.
5742 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5743 (__SYSCALL_SLONG_TYPE): Likewise.
5744 (__SYSCALL_ULONG_TYPE): Likewise.
5746 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5748 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5749 Add sigaltstack-offsets.sym.
5750 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5751 <sigaltstack-offsets.h>.
5752 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5753 longjmp_msg pointer.
5754 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5755 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5757 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5759 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5761 * elf/stackguard-macros.h: Remove file.
5762 * sysdeps/generic/stackguard-macros.h: New file.
5763 * sysdeps/i386/stackguard-macros.h: Likewise.
5764 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5765 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5766 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5767 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5768 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5769 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5770 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5771 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5772 <elf/stackguard-macros.h>.
5775 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5776 __aligned__ in attribute.
5777 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5778 (gregset_t): Likewise.
5780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5782 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5783 * sysdeps/x86_64/64/Implies-after: Here. New file.
5784 * sysdeps/x86_64/x32/Implies-after: New file.
5786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5788 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5789 and access return value for _dl_profile_fixup. Use R10_LP to
5792 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5794 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5798 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5799 * sysdeps/x86_64/x32/sysdep.h: New file.
5801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5803 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5804 * sysdeps/x86_64/setjmp.S: Likewise.
5806 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5808 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5809 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5810 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5811 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5812 remove unused global constant.
5814 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5816 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5817 include of <not-cancel.h>.
5819 2012-05-15 Roland McGrath <roland@hack.frob.com>
5821 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5823 2012-05-15 Jeff Law <law@redhat.com>
5824 Andreas Jaeger <aj@suse.de>
5827 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5829 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5830 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5831 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5832 code changing __hst_map_handle.map.
5834 2012-05-15 Roland McGrath <roland@hack.frob.com>
5836 * configure.in (sysnames): Look for Implies-before and Implies-after
5838 * configure: Regenerated.
5840 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5842 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5843 8-byte data alignment with LP_SIZE alignment.
5845 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5847 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5852 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5856 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5857 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5858 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5860 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5862 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5864 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5865 (stackinfo_sub_sp): Likewise.
5867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5869 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5872 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5874 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5879 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5884 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5888 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5889 into R11_LP and load __x86_64_shared_cache_size_half into
5892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5894 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5897 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5901 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5903 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5905 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5906 powerpc32/power7/fpu/s_logb.c via #include.
5907 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5908 powerpc32/power7/fpu/s_logbf.c via #include.
5909 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5910 powerpc32/power7/fpu/s_logbl.c via #include.
5912 2012-05-15 Joseph Myers <joseph@codesourcery.com>
5914 * README.libm: Remove file.
5916 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5918 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5919 count for x32. Use R*_LP and omit operand-size suffix.
5921 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5923 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5924 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5925 * sysdeps/x86_64/x32/shlib-versions: New file.
5927 2012-05-14 Roland McGrath <roland@hack.frob.com>
5929 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5930 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5931 Use _dl_fatal_printf instead.
5933 2012-05-14 Joseph Myers <joseph@codesourcery.com>
5935 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5936 set if not set by the user. Do not allow for being unset.
5937 * sysdeps/unix/sysv/linux/configure: Regenerated.
5939 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5941 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5942 the `q' suffix from lea and replace .quad with ASM_ADDR.
5944 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5947 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5949 (PTR_DEMANGLE): Likewise.
5951 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5953 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5955 (ASM_ADDR): Likewise.
5973 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5975 * sysdeps/x86_64/x32/dl-machine.h: New file.
5977 2012-05-14 Andreas Jaeger <aj@suse.de>
5979 * manual/Makefile (subdir): Remove export of subdir.
5980 (all): Remove target.
5981 (.PHONY): Remove all from list.
5982 (mkinstalldirs): Remove.
5983 (.PHONY): Remove installdirs from list.
5984 ($(inst_infodir)/libc.info): Use make-target-directory.
5985 (installdirs): Remove.
5987 (glibc-targets): Remove.
5990 ($(objpfx)stubs ../po/manual.pot): Remove.
5991 ($(objpfx)stamp%): Remove.
5992 (make-target-directory): Remove.
5993 (subdir_install): Remove.
6001 * manual/.gitignore: Remove, it's not needed anymore.
6002 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6004 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6006 (texis): Renamed to $(objpfx)texis.
6007 (texis-path): New, contains path to generated files.
6008 (chapters.%): Use texis-path for complete path, add extra argument
6010 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6011 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6012 (summary,texi, stamp-summary): Use complete path of
6013 files. Generate files in build dir.
6014 (dir-add.texi): Build in build dir.
6015 (libm-err.texi,stamp-libm-err): Likewise.
6016 (version.texi, stamp-version): Likewise.
6017 (.%c.texi): Likewise.
6018 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6019 (mostlyclean): Remove target.
6020 (realclean): Remove target.
6021 (generated): Add new variable with contents from mostlyclean and
6022 realclean, remove entries duplicated in common-mostlyclean, add
6023 stamp-libm-err and stamp-version.
6024 (generated-dirs): Add libc directory.
6025 ($(inst_infodir)/libc.info): Install files from build dir.
6027 * manual/install.texi (Configuring and compiling): Adjust since
6028 the info files are not part of the tar ball anymore.
6030 2012-05-14 Andreas Jaeger <aj@suse.de>
6032 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6035 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6038 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6039 to 2.2.0 where earlier.
6040 * sysdeps/unix/sysv/linux/configure: Regenerated.
6041 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6042 Remove conditional code.
6043 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6044 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6045 Remove conditional code.
6046 [!__NR_lchown]: Likewise.
6047 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6048 [__NR_lchown]: Likewise.
6049 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6050 comment referencing __ASSUME_LCHOWN_SYSCALL.
6051 * sysdeps/unix/sysv/linux/i386/sigaction.c
6052 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6053 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6054 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6055 Remove conditional code.
6056 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6057 (__protocol_available): Remove #if 0 code.
6058 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6060 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6061 * sysdeps/unix/sysv/linux/kernel-features.h
6062 (__ASSUME_GETCWD_SYSCALL): Don't define.
6063 (__ASSUME_REALTIME_SIGNALS): Likewise.
6064 (__ASSUME_PREAD_SYSCALL): Likewise.
6065 (__ASSUME_PWRITE_SYSCALL): Likewise.
6066 (__ASSUME_POLL_SYSCALL): Likewise.
6067 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6068 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6070 (__ASSUME_SIOCGIFNAME): Don't define.
6071 (__ASSUME_MSG_NOSIGNAL): Likewise.
6072 (__ASSUME_SENDFILE): Define unconditionally.
6073 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6074 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6076 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6077 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6078 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6079 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6080 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6081 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6082 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6084 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6085 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6087 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6088 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6090 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6091 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6093 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6094 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6096 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6097 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6099 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6100 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6102 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6103 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6105 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6106 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6107 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6108 Remove conditional code.
6109 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6110 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6111 Remove conditional code.
6112 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6113 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6114 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6115 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6116 Remove conditional code.
6117 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6118 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6119 Remove conditional code.
6120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6121 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6122 Remove conditional code.
6123 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6124 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6125 Remove conditional code.
6126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6127 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6128 Remove conditional code.
6129 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6130 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6131 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6132 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6133 * sysdeps/unix/sysv/linux/sigaction.c
6134 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6135 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6136 * sysdeps/unix/sysv/linux/sigpending.c
6137 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6138 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6139 * sysdeps/unix/sysv/linux/sigprocmask.c
6140 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6141 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6142 * sysdeps/unix/sysv/linux/sigsuspend.c
6143 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6144 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6145 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6146 (__libc_missing_rt_sigs): Remove.
6147 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6148 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6149 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6150 Remove conditional code.
6151 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6152 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6154 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6155 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6156 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6157 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6159 2012-05-14 Andreas Jaeger <aj@suse.de>
6161 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6162 it's not used in glibc.
6163 (__coshm1): Likewise.
6164 (__acosh1p): Likewise.
6167 * manual/string.texi (Copying and Concatenation): Add missing
6168 variable in concat example.
6169 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6171 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6175 __builtin_clzl with __builtin_clzll.
6177 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6180 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6183 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6185 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6186 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6187 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6188 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6190 2012-05-14 Mike Frysinger <vapier@gentoo.org>
6192 * NEWS: Update ia64 info.
6194 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6196 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6199 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6201 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6202 * sysdeps/unix/syscalls.list (dup3): Likewise.
6203 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6204 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6206 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6208 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6209 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6211 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6213 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6215 (TLS_IE): Use mov/add instead of movq/addq to load thread
6217 (TLS_GD_PREFIX): New.
6220 2012-05-11 David S. Miller <davem@davemloft.net>
6222 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6223 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6224 (_FPU_SETCW): Likewise.
6226 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6228 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6231 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6234 * iconvdata/gb18030.c: Update tables.
6235 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6236 characters specially.
6237 (BODY for TO_LOOP): Add encoding of missing ranges.
6239 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6242 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6243 * sysdeps/mach/hurd/dup3.c: Likewise.
6244 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6245 * sysdeps/powerpc/memmove.c:: Likewise.
6247 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6249 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6250 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6252 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6254 * elf/elf.h (R_X86_64_RELATIVE64): New.
6255 (R_X86_64_NUM): Updated.
6256 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6257 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6258 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6259 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6260 tst-quad1pie tst-quad2pie
6261 (modules-names): Add tst-quadmod1 tst-quadmod2.
6262 ($(objpfx)tst-quad1): New dependency.
6263 ($(objpfx)tst-quad2): Likewise.
6264 ($(objpfx)tst-quad1pie): Likewise.
6265 ($(objpfx)tst-quad2pie): Likewise.
6266 * sysdeps/x86_64/tst-quad1.c: New file.
6267 * sysdeps/x86_64/tst-quad1pie.c: New file.
6268 * sysdeps/x86_64/tst-quad2.c: Likewise.
6269 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6270 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6271 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6272 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6273 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6275 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6277 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6278 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6279 * streams/stropts.h (t_scalar_t): Define type.
6281 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6282 (_PATH_PRESERVE): Set to "/var/lib".
6283 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6285 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6288 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6289 if __dir_mkfile succeeded.
6291 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6292 checking for _hurd_dtablesize. Unlock it right after having
6293 finished _hurd_dtable allocation.
6295 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6297 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6298 * sysdeps/mach/hurd/configure: Regenerated.
6299 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6300 special-casing to...
6301 * sysdeps/gnu/configure.in: ... this new file.
6302 * sysdeps/unix/sysv/linux/configure: Regenerated.
6303 * sysdeps/gnu/configure: New generated file.
6305 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6306 for Linux: use nsec instead of usec, as well as:
6307 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6308 members of type struct timespec.
6309 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6311 (struct stat64): Likewise.
6312 (_STATBUF_ST_NSEC): New macro.
6313 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6315 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6316 __strtoul_internal rather than strtoul.
6318 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6320 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6323 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6325 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6326 which preserves existing values.
6327 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6329 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6331 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6332 TIMEOUT values. Return EINVAL for NFDS values either negative or
6333 greater than FD_SETSIZE.
6335 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6337 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6338 allocated, call __vm_protect to finish enabling the existing space, and
6339 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6340 allocate the remainder.
6342 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6344 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6345 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6347 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6349 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6350 sysdeps/mach/hurd/readlink.c.
6352 * posix/tst-sysconf.c (posix_options): Only use
6353 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6354 _POSIX_SYNCHRONIZED_IO when they are defined
6355 * sysdeps/mach/hurd/bits/posix_opt.h:
6356 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6357 (_XOPEN_REALTIME): Undefine macro.
6358 (_XOPEN_REALTIME_THREADS): Undefine macro.
6359 (_XOPEN_SHM): Undefine macro.
6360 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6362 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6364 (_POSIX_ASYNC_IO): Undefine macro.
6365 (_POSIX_PRIORITIZED_IO): Undefine macro.
6366 (_POSIX_SPIN_LOCKS): Define macro to -1.
6368 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6369 SA_NODEFER, SA_RESETHAND.
6370 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6371 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6374 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6376 * elf/Makefile (pldd-modules): Define unconditionally.
6378 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6380 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6382 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6384 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6385 Return ENOENT when name is empty.
6386 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6388 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6390 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6392 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6394 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6396 Fix mlock in all cases except non-readable pages.
6397 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6398 instead of VM_PROT_ALL as parameter to __vm_wire function.
6400 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6401 (__mkdir): When path is `/', just fail with EEXIST.
6402 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6404 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6406 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6407 <sys/uio.h> (for writev).
6408 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6409 and <sys/param.h> (for MIN).
6411 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6413 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6414 REQUESTED_TIME. Properly set the remaining time and return EINTR
6417 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6419 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6420 Depend on against $(link-rpcuserlibs).
6422 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6424 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6425 (__libc_stack_end): Do not use attribute_relro.
6426 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6427 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6428 to libthread-provided value.
6429 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6432 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6435 * bits/libc-lock.h (__libc_once_get): New macro.
6436 * sysdeps/mach/bits/libc-lock.h: Likewise.
6437 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6438 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6439 instead of using implementation details.
6441 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6442 * libio/freopen.c: Likewise.
6443 * libio/freopen64.c: Likewise.
6444 * misc/syslog.c: Likewise.
6445 * nscd/connections.c: Likewise.
6446 * nscd/netgroupcache.c: Likewise.
6447 * sysdeps/posix/getcwd.c: Likewise.
6449 2012-05-10 Roland McGrath <roland@hack.frob.com>
6451 * math/w_ilogbf.c: Add #include <limits.h>.
6453 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6455 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6456 path instead of returning without unlocking.
6458 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6459 immediate-write ioctls.
6460 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6462 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6464 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6465 __builtin_frame_address instead of making assumptions about the
6466 location of the return address relative to DATA. Force early load of
6468 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6469 __builtin_frame_address.
6472 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6473 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6474 implement dup3 and do some further code clean-ups.
6475 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6476 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6478 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6480 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6482 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6483 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6484 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6485 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6486 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6489 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6490 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6491 when handler == SIG_ERR, not when handler != SIG_ERR.
6493 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6495 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6496 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6499 accept4 for GNU Hurd.
6500 * include/sys/socket.h (__libc_accept4): New prototype.
6501 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6502 to implement __libc_accept4.
6503 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6505 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6507 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6508 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6509 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6512 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6514 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6516 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6518 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6519 assertion on O_CLOEXEC flag.
6520 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6521 * hurd/intern-fd.c: Likewise.
6522 * hurd/port2fd.c: Likewise.
6524 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6527 * bits/in.h (IPV6_PKTINFO): Define new macro.
6528 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6530 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6535 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6536 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6537 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6538 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6539 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6540 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6541 * math/libm-test.inc (logb_test) : Additional logb tests.
6543 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6544 Andreas Jaeger <aj@suse.de>
6546 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6547 * configure: Regenerated.
6548 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6549 * config.make.in (link-obsolete-rpc): New substituted variable.
6550 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6551 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6552 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6553 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6554 so that libc.a contains the symbols.
6555 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6556 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6557 * sunrpc/auth_none.c: Likewise.
6558 * sunrpc/auth_unix.c: Likewise.
6559 * sunrpc/authdes_prot.c: Likewise.
6560 * sunrpc/authuxprot.c: Likewise.
6561 * sunrpc/clnt_gen.c: Likewise.
6562 * sunrpc/clnt_perr.c: Likewise.
6563 * sunrpc/clnt_raw.c: Likewise.
6564 * sunrpc/clnt_simp.c: Likewise.
6565 * sunrpc/clnt_tcp.c: Likewise.
6566 * sunrpc/clnt_udp.c: Likewise.
6567 * sunrpc/clnt_unix.c: Likewise.
6568 * sunrpc/des_crypt.c: Likewise.
6569 * sunrpc/des_soft.c: Likewise.
6570 * sunrpc/get_myaddr.c: Likewise.
6571 * sunrpc/key_call.c: Likewise.
6572 * sunrpc/key_prot.c: Likewise.
6573 * sunrpc/netname.c: Likewise.
6574 * sunrpc/pm_getmaps.c: Likewise.
6575 * sunrpc/pm_getport.c: Likewise.
6576 * sunrpc/pmap_clnt.c: Likewise.
6577 * sunrpc/pmap_prot.c: Likewise.
6578 * sunrpc/pmap_prot2.c: Likewise.
6579 * sunrpc/pmap_rmt.c: Likewise.
6580 * sunrpc/publickey.c: Likewise.
6581 * sunrpc/rpc_cmsg.c: Likewise.
6582 * sunrpc/rpc_common.c: Likewise.
6583 * sunrpc/rpc_dtable.c: Likewise.
6584 * sunrpc/rpc_prot.c: Likewise.
6585 * sunrpc/rpc_thread.c: Likewise.
6586 * sunrpc/rtime.c: Likewise.
6587 * sunrpc/svc.c: Likewise.
6588 * sunrpc/svc_auth.c: Likewise.
6589 * sunrpc/svc_raw.c: Likewise.
6590 * sunrpc/svc_run.c: Likewise.
6591 * sunrpc/svc_tcp.c: Likewise.
6592 * sunrpc/svc_udp.c: Likewise.
6593 * sunrpc/svc_unix.c: Likewise.
6594 * sunrpc/svcauth_des.c: Likewise.
6595 * sunrpc/xcrypt.c: Likewise.
6596 * sunrpc/xdr.c: Likewise.
6597 * sunrpc/xdr_array.c: Likewise.
6598 * sunrpc/xdr_float.c: Likewise.
6599 * sunrpc/xdr_intXX_t.c: Likewise.
6600 * sunrpc/xdr_mem.c: Likewise.
6601 * sunrpc/xdr_rec.c: Likewise.
6602 * sunrpc/xdr_ref.c: Likewise.
6603 * sunrpc/xdr_sizeof.c: Likewise.
6604 * sunrpc/xdr_stdio.c: Likewise.
6606 2012-05-10 Roland McGrath <roland@hack.frob.com>
6608 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6609 change. Update copyright years.
6611 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6613 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6615 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6616 Joseph Myers <joseph@codesourcery.com>
6617 Paul Pluzhnikov <ppluzhnikov@google.com>
6620 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6622 [cross-compiling] (extra-libs): Likewise.
6623 [cross-compiling] (extra-libs-others): Likewise.
6624 [cross-compiling] (librpcsvc-routines): Likewise.
6625 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6626 [cross-compiling] (omit-deps): Likewise.
6627 (sunrpc-CPPFLAGS): New variable.
6628 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6629 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6630 (cross-rpcgen-objs): New variable.
6631 (extra-objs): Append $(cross-rpcgen-objs).
6632 ($(cross-rpcgen-objs)): New rule.
6633 ($(objpfx)cross-rpcgen): Likewise.
6634 (rpcgen-cmd): Define to use $(built-program-file). Expand
6636 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6637 ($(objpfx)x%.stmp): Likewise.
6638 * sunrpc/proto.h [IS_IN_build] (_): Define.
6639 [IS_IN_build] (_libc_intl_domainname): Likewise.
6641 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6643 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6644 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6645 and R_X86_64_TPOFF64.
6647 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6649 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6650 sysdeps/unix/sysv/syscalls.list.
6653 * sysdeps/unix/sysv/syscalls.list: Remove file.
6655 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6658 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6659 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6660 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6661 (__LC_IDENTIFICATION): Make these macros useful in #if
6662 expressions, as required by C99.
6664 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6666 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6667 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6670 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6672 * stdlib/longlong.h: Updated from GCC.
6674 2012-05-09 Andreas Jaeger <aj@suse.de>
6676 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6677 default is first entry.
6678 (run_mode): Set type.
6679 (main): Remove informal message about syslog.
6680 (options): Fix typo.
6683 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6686 (llrintf): Likewise.
6690 (nearbyint): Likewise.
6691 (nearbyintf): Likewise.
6693 2012-05-09 Andreas Jaeger <aj@suse.de>
6694 Pedro Alves <palves@redhat.com>
6696 * nscd/nscd.c (run_mode): Use enum.
6697 (main): Cleanup coding style issue.
6699 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6700 Andreas Jaeger <aj@suse.de>
6702 * nscd/nscd.c (go_background): Replaced with...
6703 (run_mode): ... this.
6704 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6705 (options): Add -F --foreground.
6706 (main): Implement it.
6707 (parse_opt): Parse it.
6709 2012-05-09 Andreas Jaeger <aj@suse.de>
6712 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6713 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6714 -Wconversion warning.
6715 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6718 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6720 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6722 (LC_ALL): Use macro-int-constant.
6723 (LC_COLLATE): Likewise.
6724 (LC_CTYPE): Likewise.
6725 (LC_MESSAGES): Likewise.
6726 (LC_MONETARY): Likewise.
6727 (LC_NUMERIC): Likewise.
6728 (LC_TIME): Likewise.
6729 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6730 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6731 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6732 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6734 [C99-based standards] (float_t): Expect type.
6735 [C99-based standards] (double_t): Expect type.
6736 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6738 [C99-based standards] (HUGE_VALL): Likewise.
6739 [C99-based standards] (INFINITY): Likewise.
6740 [C99-based standards] (NAN): Likewise.
6741 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6742 [C99-based standards] (FP_NAN): Likewise.
6743 [C99-based standards] (FP_NORMAL): Likewise.
6744 [C99-based standards] (FP_SUBNORMAL): Likewise.
6745 [C99-based standards] (FP_ZERO): Likewise.
6746 [C99-based standards] (FP_FAST_FMA): Use
6747 optional-macro-int-constant. Specify type. Require == 1.
6748 [C99-based standards] (FP_FAST_FMAF): Likewise.
6749 [C99-based standards] (FP_FAST_FMAL): Likewise.
6750 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6751 [C99-based standards] (FP_ILOGBNAN): Likewise.
6752 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6754 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6755 [C99-based standards] (math_errhandling): Specify type.
6756 [ISO99 || ISO11] (signgam): Do not allow.
6757 [non-C99-based standards] (copysignf): Do not allow.
6758 [non-C99-based standards] (exp2f): Likewise.
6759 [non-C99-based standards] (log2f): Likewise.
6760 [non-C99-based standards] (modff): Allow.
6761 [non-C99-based standards] (erff): Do not allow.
6762 [non-C99-based standards] (erfcf): Likewise.
6763 [non-C99-based standards] (gammaf): Likewise.
6764 [non-C99-based standards] (hypotf): Likewise.
6765 [non-C99-based standards] (j0f): Likewise.
6766 [non-C99-based standards] (j1f): Likewise.
6767 [non-C99-based standards] (jnf): Likewise.
6768 [non-C99-based standards] (lgammaf): Likewise.
6769 [non-C99-based standards] (tgammaf): Likewise.
6770 [non-C99-based standards] (y0f): Likewise.
6771 [non-C99-based standards] (y1f): Likewise.
6772 [non-C99-based standards] (ynf): Likewise.
6773 [non-C99-based standards] (isnanf): Likewise.
6774 [non-C99-based standards] (acoshf): Likewise.
6775 [non-C99-based standards] (asinhf): Likewise.
6776 [non-C99-based standards] (atanhf): Likewise.
6777 [non-C99-based standards] (cbrtf): Likewise.
6778 [non-C99-based standards] (expm1f): Likewise.
6779 [non-C99-based standards] (ilogbf): Likewise.
6780 [non-C99-based standards] (log1pf): Likewise.
6781 [non-C99-based standards] (logbf): Likewise.
6782 [non-C99-based standards] (nextafterf): Likewise.
6783 [non-C99-based standards] (remainderf): Likewise.
6784 [non-C99-based standards] (rintf): Likewise.
6785 [non-C99-based standards] (scalbf): Likewise.
6786 [non-C99-based standards] (copysignl): Likewise.
6787 [non-C99-based standards] (exp2l): Likewise.
6788 [non-C99-based standards] (log2l): Likewise.
6789 [non-C99-based standards] (modfl): Allow.
6790 [non-C99-based standards] (erfl): Do not allow.
6791 [non-C99-based standards] (erfcl): Likewise.
6792 [non-C99-based standards] (gammal): Likewise.
6793 [non-C99-based standards] (hypotl): Likewise.
6794 [non-C99-based standards] (j0l): Likewise.
6795 [non-C99-based standards] (j1l): Likewise.
6796 [non-C99-based standards] (jnl): Likewise.
6797 [non-C99-based standards] (lgammal): Likewise.
6798 [non-C99-based standards] (tgammal): Likewise.
6799 [non-C99-based standards] (y0l): Likewise.
6800 [non-C99-based standards] (y1l): Likewise.
6801 [non-C99-based standards] (ynl): Likewise.
6802 [non-C99-based standards] (isnanl): Likewise.
6803 [non-C99-based standards] (acoshl): Likewise.
6804 [non-C99-based standards] (asinhl): Likewise.
6805 [non-C99-based standards] (atanhl): Likewise.
6806 [non-C99-based standards] (cbrtl): Likewise.
6807 [non-C99-based standards] (expm1l): Likewise.
6808 [non-C99-based standards] (ilogbl): Likewise.
6809 [non-C99-based standards] (log1pl): Likewise.
6810 [non-C99-based standards] (logbl): Likewise.
6811 [non-C99-based standards] (nextafterl): Likewise.
6812 [non-C99-based standards] (remainderl): Likewise.
6813 [non-C99-based standards] (rintl): Likewise.
6814 [non-C99-based standards] (scalbl): Likewise.
6815 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6816 [non-C99-based standards] (FP_*): Do not allow.
6817 [C99-based standards] (FP_*): Change to
6818 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6819 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6821 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6822 (SIG_ERR): Likewise.
6823 [X/Open-based standards] (SIG_HOLD): Likewise.
6824 (SIG_IGN): Likewise.
6825 (SIGABRT): Use macro-int-constant. Specify type. Require
6830 (SIGSEGV): Likewise.
6832 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6833 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6834 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6835 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6836 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6837 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6838 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6839 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6840 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6841 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6842 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6843 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6844 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6845 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6846 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6847 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6848 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6849 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6850 [X/Open-based standards] (SIGTRAP): Likewise.
6851 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6852 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6853 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6854 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6855 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6858 2012-05-08 Ian Wienand <ianw@vmware.com>
6861 * time/tzset.c (__tzset_parse_tz): Update default rules for
6862 daylight time changes in the Energy Policy Act of 2005.
6864 2012-05-09 Andreas Jaeger <aj@suse.de>
6867 * elf/ldconfig.c (parse_conf): Change string to make clear that
6868 ldconfig only issued a warning if ld.so.conf does not exist.
6870 2012-05-08 David S. Miller <davem@davemloft.net>
6872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6873 movxtod instead of popping the value on the stack.
6875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6877 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6879 * config.h.in: Add HAVE_ARM_PCS_VFP.
6881 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
6884 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6885 checking but the checks are disabled for any reason.
6887 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6889 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6890 and ELF64_R_TYPE with ELFW(R_TYPE).
6892 2012-05-08 Joseph Myers <joseph@codesourcery.com>
6894 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6897 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6898 (settimeofday): Likewise.
6900 2012-05-08 Mike Frysinger <vapier@gentoo.org>
6902 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6903 a struct th_u2 inside the union, and move tu_block/tu_code into
6904 a new th_u3 union of tu_block/tu_code inside of that. Move
6905 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6906 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6907 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6908 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6909 (th_stuff): Change to th_u1.tu_stuff.
6911 (th_msg): Change to th_u1.th_u2.tu_data.
6913 2012-05-07 David S. Miller <davem@davemloft.net>
6915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6918 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6919 (SETUP_PIC_REG): Use it.
6920 (SETUP_PIC_REG_LEAF): Use it.
6922 2012-05-07 Joseph Myers <joseph@codesourcery.com>
6926 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6928 (EXPL_FINITE): Likewise.
6930 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6931 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6933 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6935 (EXPL_FINITE): Likewise.
6937 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6938 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6940 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6941 test of -max_value argument for long double.
6942 * sysdeps/i386/fpu/libm-test-ulps: Update.
6943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6945 2012-05-06 David S. Miller <davem@davemloft.net>
6947 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6948 quad soft-float symbols whose references which are compiler
6950 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6952 2012-05-06 Joseph Myers <joseph@codesourcery.com>
6956 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6958 (EXPL_FINITE): Likewise.
6962 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6963 Adjust comments for base varying.
6964 (__expl_finite): Change alias to EXPL_FINITE.
6965 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6967 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6968 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6969 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6970 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6971 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6973 (EXPL_FINITE): Likewise.
6977 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6978 Adjust comments for base varying.
6979 (__expl_finite): Change alias to EXPL_FINITE.
6980 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6985 * math/libm-test.inc (check_float_internal): Correct ulp
6986 calculation for subnormal expected results.
6988 2012-05-06 Andreas Jaeger <aj@suse.de>
6990 * Makeconfig (+math-flags): New, set to -frounding-math.
6991 (+cflags): Add +math-flags so that all of glibc gets compiled with
6994 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6996 2012-05-05 Joseph Myers <joseph@codesourcery.com>
6998 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7004 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7005 (__ieee754_expl): Allow for and saturate large arguments.
7006 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7007 (u_threshold): Likewise.
7008 (__exp): Call __ieee754_exp before checking for overflow and
7010 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7011 (u_threshold): Likewise.
7012 (__expf): Call __ieee754_expf before checking for overflow and
7014 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7015 (u_threshold): Likewise.
7016 (__expl): Call __ieee754_expl before checking for overflow and
7018 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7019 (__ieee754_expl): Allow for and saturate large arguments.
7020 * math/libm-test.inc (exp_test): Add another test. Do not allow
7021 missing overflow exception on overflow.
7022 (expm1_test): Do not allow missing overflow exception on overflow.
7024 * sysdeps/i386/fpu/e_expl.c: Move to ...
7025 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7026 rather than using inline asm.
7027 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7028 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7029 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7031 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7038 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7040 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7041 sysdeps/unix/common/syscalls.list.
7044 (ftruncate): Likewise.
7045 (getrusage): Likewise.
7046 (gettimeofday): Likewise.
7047 (setpgid): Likewise.
7048 (setregid): Likewise.
7049 (setreuid): Likewise.
7050 (sigaction): Likewise.
7051 (truncate): Likewise.
7052 (vhangup): Likewise.
7053 * sysdeps/unix/common/syscalls.list: Remove file.
7054 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7055 * sysdeps/unix/sysv/linux/Implies: Likewise.
7057 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7059 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7061 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7065 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7068 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7071 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7074 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7077 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7080 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7083 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7087 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7091 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7094 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7098 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7102 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7104 * sysdeps/unix/common/bits/dirent.h: Remove file.
7105 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7107 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7108 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7109 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7110 * sysdeps/unix/bsd/isatty.c: Likewise.
7111 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7112 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7113 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7115 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7118 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7119 long double comparison inaccuracies.
7120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7123 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7125 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7126 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7128 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7131 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7132 nonzero digits before rounding a hex value.
7133 * stdlib/tst-strtod.c (tests): Add another test.
7135 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7137 * sysdeps/s390/fpu/libm-test-ulps: Update.
7139 2012-05-03 Andreas Jaeger <aj@suse.de>
7141 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7142 does not get optimized out.
7143 (malloc_opt_barrier): New.
7145 2012-05-03 Andreas Jaeger <aj@suse.de>
7146 Roland McGrath <roland@hack.frob.com>
7148 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
7149 intermediate file deletion.
7150 (generated): Add .symlist files.
7152 2012-05-03 Joseph Myers <joseph@codesourcery.com>
7155 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7156 Redirect under this condition.
7157 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7158 [__USE_GNU] (__dprintf_chk): Not under this condition.
7159 [__USE_GNU] (__vdprintf_chk): Likewise.
7160 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7161 under this condition.
7162 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7163 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7164 [__USE_XOPEN2K8] (vdprintf): Likewise.
7165 [__USE_GNU] (__dprintf_chk): Not under this condition.
7166 [__USE_GNU] (__vdprintf_chk): Likewise.
7167 [__USE_GNU] (dprintf): Likewise.
7168 [__USE_GNU] (vdprintf): Likewise.
7170 2012-05-03 Roland McGrath <roland@hack.frob.com>
7172 * elf/Makefile (common-generated): Set this instead of generated for
7173 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7174 $(all-built-dso)-derived lists.
7176 2012-05-03 Andreas Jaeger <aj@suse.de>
7178 * sysdeps/i386/fpu/libm-test-ulps: Update.
7182 * scripts/gen-FAQ.pl: Likewise.
7183 * manual/install.texi (Installation): Point to online location of
7185 * Makefile (files-for-dist): Remove FAQ.
7188 2012-05-02 Allan McRae <allan@archlinux.org>
7190 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7191 (LDFLAGS-reldepmod5.so): Likewise.
7192 (LDFLAGS-reldep6mod1.so): Likewise.
7193 (LDFLAGS-reldep6mod4.so): Likewise.
7194 (LDFLAGS-reldep8mod3.so): Likewise.
7195 (LDFLAGS-unload4mod1.so): Likewise.
7196 (LDFLAGS-unload4mod2.so): Likewise.
7197 (LDFLAGS-tst-initorder): Likewise.
7198 (LDFLAGS-tst-initordera2.so): Likewise.
7199 (LDFLAGS-tst-initordera3.so): Likewise.
7200 (LDFLAGS-tst-initordera4.so): Likewise.
7201 (LDFLAGS-tst-initorderb2.so): Likewise.
7202 (LDFLAGS-noload): Likewise.
7203 (LDFLAGS-next): Likewise.
7204 (LDFLAGS-order2mod1.so): Likewise.
7205 (LDFLAGS-order2mod2.so): Likewise.
7206 (LDFLAGS-tst-initorder2): Likewise.
7207 (LDFLAGS-tst-initorder2a.so): Likewise.
7208 (LDFLAGS-tst-initorder2b.so): Likewise.
7209 (LDFLAGS-tst-initorder2c.so): Likewise.
7210 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7212 2012-05-02 David S. Miller <davem@davemloft.net>
7214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7216 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7219 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7221 2012-05-02 Andreas Jaeger <aj@suse.de>
7223 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7224 since we manipulate rounding mode.
7225 (CPPFLAGS-test-idouble.c): Likewise.
7226 (CPPFLAGS-test-ifloat.c): Likewise.
7227 (CFLAGS-test-ldouble.c): Likewise.
7228 (CFLAGS-test-double.c): Likewise.
7229 (CFLAGS-test-float.c): Likewise.
7230 (CFLAGS-test-misc.c): Likewise.
7231 (CFLAGS-test-test-fenv.c): Likewise.
7233 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7237 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7238 comparisons to determine direction to adjust input.
7240 2012-05-01 Roland McGrath <roland@hack.frob.com>
7242 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7243 output to the target.
7245 * scripts/localplt.awk: New file.
7246 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7247 (check-localplt-CFLAGS): Variable removed.
7248 ($(all-built-dso:=.jmprel)): New static pattern rule.
7249 (generated): Add those targets.
7250 (localplt-built-dso): New variable.
7251 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7253 * elf/check-localplt.c: File removed.
7255 * scripts/check-execstack.awk: New file.
7256 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7257 (check-execstack-CFLAGS): Variable removed.
7258 ($(objpfx)check-execstack.h): Target removed.
7259 ($(objpfx)execstack-default): New target.
7260 (generated): Add that instead of check-execstack.h.
7261 ($(all-built-dso:=.phdr)): New static pattern rule.
7262 (generated): Add those targets.
7263 * elf/check-execstack.c: File removed.
7265 * scripts/check-textrel.awk: New file.
7266 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7267 (check-textrel-CFLAGS): Variable removed.
7268 (all-built-dso): Use := to define.o
7269 ($(all-built-dso:=.dyn)): New static pattern rule.
7270 (generated): Add those targets.
7271 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7272 * config.make.in (READELF): New substituted variable.
7273 * elf/check-textrel.c: File removed.
7275 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7277 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7279 * conform/data/ctype.h-data [C99-based standards] (isblank):
7281 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7282 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7283 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7284 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7285 Specify type. Require positive value.
7288 [ISO || POSIX] (EILSEQ): Do not expect.
7289 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7290 Specify type. Require positive value.
7291 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7292 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7293 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7294 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7295 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7296 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7297 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7298 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7299 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7300 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7301 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7302 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7303 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7304 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7305 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7306 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7307 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7308 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7309 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7310 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7311 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7312 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7313 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7314 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7315 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7316 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7317 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7318 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7319 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7320 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7321 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7322 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7323 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7324 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7325 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7326 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7327 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7328 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7329 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7330 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7331 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7332 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7333 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7334 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7335 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7336 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7337 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7338 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7339 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7340 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7341 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7342 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7343 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7344 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7345 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7346 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7347 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7348 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7349 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7350 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7351 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7352 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7353 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7354 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7355 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7356 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7357 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7358 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7359 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7360 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7361 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7362 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7363 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7364 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7365 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7366 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7367 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7369 (FLT_ROUNDS): Expect as macro, not constant.
7370 (FLT_MANT_DIG): Use macro-int-constant.
7371 (DBL_MANT_DIG): Likewise.
7372 (LDBL_MANT_DIG): Likewise.
7373 (FLT_DIG): Likewise.
7374 (DBL_DIG): Likewise.
7375 (LDBL_DIG): Likewise.
7376 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7377 (DBL_MIN_EXP): Likewise.
7378 (LDBL_MIN_EXP): Likewise.
7379 (FLT_MAX_EXP): Use macro-int-constant.
7380 (DBL_MAX_EXP): Likewise.
7381 (LDBL_MAX_EXP): Likewise.
7382 (FLT_MAX_10_EXP): Likewise.
7383 (DBL_MAX_10_EXP): Likewise.
7384 (LDBL_MAX_10_EXP): Likewise.
7385 (FLT_MAX): Use macro-constant.
7386 (DBL_MAX): Likewise.
7387 (LDBL_MAX): Likewise.
7388 (FLT_EPSILON): Use macro-constant. Give upper bound.
7389 (DBL_EPSILON): Likewise.
7390 (LDBL_EPSILON): Likewise.
7391 (FLT_MIN): Likewise.
7392 (DBL_MIN): Likewise.
7393 (LDBL_MIN): Likewise.
7394 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7395 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7396 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7397 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7398 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7399 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7400 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7401 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7402 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7403 [ISO11] (FLT_TRUE_MIN): Likewise.
7404 [ISO11] (LDBL_TRUE_MIN): Likewise.
7405 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7406 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7407 (SCHAR_MIN): Use macro-int-constant. Specify type.
7408 (SCHAR_MAX): Likewise.
7409 (UCHAR_MAX): Likewise.
7410 (CHAR_MIN): Likewise.
7411 (CHAR_MAX): Likewise.
7412 (MB_LEN_MAX): Use macro-int-constant.
7413 (SHRT_MIN): Use macro-int-constant. Specify type.
7414 (SHRT_MAX): Likewise.
7415 (USHRT_MAX): Likewise.
7416 (INT_MAX): Likewise.
7417 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7419 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7421 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7423 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7424 bound negative. Suffix upper bound with "L".
7425 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7427 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7429 [C99-based standards] (LLONG_MAX): Likewise.
7430 [C99-based standards] (ULLONG_MAX): Likewise.
7431 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7433 [ISO11] (max_align_t): Require type.
7434 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7436 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7437 from $CFLAGS, without defining away __attribute__ calls.
7438 (checknamespace): Use $CFLAGS_namespace.
7440 * conform/conformtest.pl (@keywords): Only include C99 keywords
7441 for standards based on C99 or C11.
7443 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7445 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7448 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7449 usability of symbols in #if.
7451 * conform/conformtest.pl: If macro or constant types start
7452 "promoted:", expect the symbol to be of the following type
7453 promoted by the integer promotions.
7455 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7456 in one place. Also handle "macro-constant".
7458 * conform/conformtest.pl: Only accept expected macro values with
7459 "==". Parse all "macro" lines in one place.
7460 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7462 * conform/conformtest.pl: Handle braced types on "constant" lines
7463 instead of handling "typed-constant".
7464 * conform/data/signal.h-data: Use "constant" instead of
7467 * conform/conformtest.pl: Handle "optional-" at start of lines in
7468 one place rather than duplicating several cases. Handle each
7469 format of "macro" line with initial "optional-".
7471 * conform/conformtest.pl: Only accept expected constant or
7472 optional-constant values with "==". Parse all "constant" lines in
7473 one place. Parse all "optional-constant" lines in one place.
7474 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7475 * conform/data/fmtmsg.h-data: Likewise.
7476 * conform/data/netinet/in.h-data: Likewise.
7477 * conform/data/tar.h-data: Likewise.
7478 * conform/data/limits.h-data: Use "==" form on "constant" and
7479 "optional-constant" lines.
7481 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7482 Use -std=c99 for XOPEN2K.
7483 (@knownproblems): Remove.
7484 (newtoken): Don't check %isknown.
7486 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7487 Do not expect macro.
7488 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7489 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7490 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7491 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7492 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7493 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7494 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7495 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7496 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7497 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7498 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7499 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7500 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7501 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7502 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7503 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7504 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7505 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7506 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7507 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7508 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7509 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7510 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7511 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7512 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7513 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7514 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7515 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7516 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7517 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7518 [XPG3] (acosh): Likewise.
7519 [XPG3] (asinh): Likewise.
7520 [XPG3] (atanh): Likewise.
7521 [XPG3] (cbrt): Likewise.
7522 [XPG3] (expm1): Likewise.
7523 [XPG3] (ilogb): Likewise.
7524 [XPG3] (log1p): Likewise.
7525 [XPG3] (logb): Likewise.
7526 [XPG3] (nextafter): Likewise.
7527 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7528 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7529 [XPG3] (remainder): Likewise.
7530 [XPG3] (rint): Likewise.
7531 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7532 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7533 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7534 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7535 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7536 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7537 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7538 [UNIX98 || XOPEN2K] (scalb): Expect.
7539 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7540 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7541 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7542 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7543 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7544 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7545 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7546 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7547 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7548 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7549 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7550 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7551 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7552 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7553 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7554 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7555 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7556 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7557 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7558 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7559 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7560 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7561 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7562 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7563 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7564 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7565 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7566 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7567 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7568 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7569 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7570 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7571 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7572 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7573 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7574 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7575 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7576 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7577 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7578 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7579 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7580 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7581 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7582 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7583 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7584 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7585 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7586 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7587 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7588 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7589 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7590 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7591 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7592 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7593 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7594 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7595 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7596 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7597 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7598 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7599 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7600 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7601 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7602 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7603 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7604 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7605 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7606 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7607 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7608 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7609 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7610 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7611 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7612 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7613 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7614 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7615 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7616 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7617 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7618 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7619 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7620 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7621 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7622 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7623 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7624 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7625 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7626 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7627 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7628 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7629 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7630 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7631 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7632 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7633 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7634 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7635 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7636 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7637 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7638 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7639 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7640 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7641 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7642 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7643 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7644 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7645 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7646 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7647 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7648 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7649 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7650 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7651 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7652 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7653 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7654 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7655 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7656 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7657 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7658 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7659 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7660 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7661 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7662 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7663 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7664 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7665 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7666 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7667 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7668 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7669 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7670 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7671 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7672 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7673 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7674 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7675 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7677 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7678 _XOPEN_SOURCE_EXTENDED for XPG4.
7680 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7682 * Makeconfig (localtime): Remove variable.
7683 (inst_localtime-file): Likewise.
7685 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7706 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7710 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7711 comparisons to determine direction to adjust input.
7712 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7713 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7714 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7716 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7718 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7720 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7721 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7723 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7725 * math/libm-test.inc (nexttoward_test): Add more tests.
7727 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7730 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7731 in version GLIBC_2.1, not GLIBC_2.0.
7732 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7735 2012-04-30 Joseph Myers <joseph@codesourcery.com>
7738 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7740 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7741 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7742 * math/libm-test.inc (acos_test): Add more tests.
7743 (asin_test): Likewise.
7744 * sysdeps/i386/fpu/libm-test-ulps: Update.
7745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7748 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7750 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7751 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7752 * math/libm-test.inc (acos_test_tonearest): New function.
7753 (acos_test_towardzero): Likewise.
7754 (acos_test_downward): Likewise.
7755 (acos_test_upward): Likewise.
7756 (asin_test_tonearest): Likewise.
7757 (asin_test_towardzero): Likewise.
7758 (asin_test_downward): Likewise.
7759 (asin_test_upward): Likewise.
7760 (main): Call the new functions.
7761 * sysdeps/i386/fpu/libm-test-ulps: Update.
7762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7766 * math/e_exp10.c: Include <float.h>.
7767 (__ieee754_exp10): Handle underflow here rather than multiplying
7768 large negative argument by M_LN10.
7769 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7771 * math/e_exp10l.c: Include <float.h>.
7772 (__ieee754_exp10l): Handle underflow here rather than multiplying
7773 large negative argument by M_LN10l.
7774 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7775 spurious overflow exception on underflow.
7777 2012-04-29 Marek Polacek <polacek@redhat.com>
7779 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7780 (__fortify_function): New macro.
7781 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7782 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7783 __extern_always_inline.
7784 * libio/bits/stdio2.h: Likewise.
7785 * libio/bits/stdio.h: Likewise.
7786 * string/string.h: Likewise.
7787 * string/bits/string3.h: Likewise.
7788 * include/stdio.h: Likewise.
7789 * stdlib/bits/stdlib.h: Likewise.
7790 * stdlib/stdlib.h: Likewise.
7791 * rt/bits/mqueue2.h: Likewise.
7792 * rt/mqueue.h: Likewise.
7793 * posix/bits/unistd.h: Likewise.
7794 * posix/unistd.h: Likewise.
7795 * io/bits/poll2.h: Likewise.
7796 * io/bits/fcntl2.h: Likewise.
7797 * io/fcntl.h: Likewise.
7798 * io/sys/poll.h: Likewise.
7799 * misc/bits/syslog.h: Likewise.
7800 * misc/bits/syslog-ldbl.h: Likewise.
7801 * misc/sys/syslog.h: Likewise.
7802 * socket/bits/socket2.h: Likewise.
7803 * socket/sys/socket.h: Likewise.
7804 * debug/tst-chk1.c: Likewise.
7805 * wcsmbs/bits/wchar2.h: Likewise.
7806 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7807 * wcsmbs/wchar.h: Likewise.
7809 2012-04-29 Andreas Jaeger <aj@suse.de>
7811 * Makerules (tests): Remove enable-check-abi protection.
7812 (check-abi-warn): Remove.
7813 (check-abi-%): Remove check-abi-warn usage.
7815 * configure.in: Remove check-abi configure option.
7816 * configure: Regenerated.
7817 * config.make.in (enable-check-abi): Remove.
7819 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7822 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7823 double functions to double *_finite functions.
7826 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7827 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7829 * stdio-common/Makefile (tests): Add tst-sprintf3.
7830 * stdio-common/tst-sprintf3.c: New file.
7832 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7833 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7835 2012-04-28 Joseph Myers <joseph@codesourcery.com>
7837 * conform/conformtest.pl: Remove duplicate typed-constant
7840 2012-04-28 David S. Miller <davem@davemloft.net>
7842 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7843 (check-abi-%): Remove AWK script prerequisite and explicit
7845 (check-abi): Rewrite to just diff the symlist with the abilist.
7846 (config-tls, config-abi-config): Delete, no longer used.
7847 (update-abi-%): Remove AWK script and explicit abilist directory.
7848 (update-abi): Rewrite to simply compare and conditionally copy the
7849 symlist and the sysdep abilist file. Remove update-abi-config
7851 * abilist/ld.abilist: Remove.
7852 * abilist/libBrokenLocale.abilist: Remove.
7853 * abilist/libanl.abilist: Remove.
7854 * abilist/libcrypt.abilist: Remove.
7855 * abilist/libdl.abilist: Remove.
7856 * abilist/librt.abilist: Remove.
7857 * abilist/libthread_db.abilist: Remove.
7858 * abilist/libutil.abilist: Remove.
7859 * scripts/extract-abilist.awk: Remove.
7860 * scripts/merge-abilist.awk: Remove.
7861 * sysdeps/generic/libcidn.abilist: New file.
7862 * sysdeps/generic/libnss_compat.abilist: New file.
7863 * sysdeps/generic/libnss_db.abilist: New file.
7864 * sysdeps/generic/libnss_dns.abilist: New file.
7865 * sysdeps/generic/libnss_files.abilist: New file.
7866 * sysdeps/generic/libnss_hesiod.abilist: New file.
7867 * sysdeps/generic/libnss_nis.abilist: New file.
7868 * sysdeps/generic/libnss_nisplus.abilist: New file.
7869 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7870 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7871 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7873 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7874 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7875 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7876 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7877 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7878 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7879 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7880 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7881 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7883 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7884 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7885 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7886 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7888 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7889 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7890 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7891 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7892 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7893 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7895 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7896 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7897 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7899 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8002 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8003 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8004 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8006 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8007 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8008 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8009 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8010 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8011 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8012 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8013 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8014 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8015 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8067 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8069 * conform/conformtest.pl: Fix typo in handling typed-constant from
8072 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8074 * README: Cut down references to pre-2.6 Linux kernels and
8075 Linuxthreads. Update lists of configurations in libc and ports
8076 and sort alphabetically. Say "or newer" with Linux kernel version
8079 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8081 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8084 * math/libm-test.inc (logb_test_downward): New test to expose
8085 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8088 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8091 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8093 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8094 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8096 2012-04-26 Joseph Myers <joseph@codesourcery.com>
8098 * sysdeps/unix/i386/brk.S: Remove file.
8099 * sysdeps/unix/i386/dl-brk.S: Likewise.
8100 * sysdeps/unix/i386/pipe.S: Likewise.
8101 * sysdeps/unix/i386/sigreturn.S: Likewise.
8102 * sysdeps/unix/i386/syscall.S: Likewise.
8103 * sysdeps/unix/i386/vfork.S: Likewise.
8104 * sysdeps/unix/i386/wait.S: Likewise.
8106 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8107 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8109 * configure.in (arm*-none*): Do not allow without
8110 --enable-hacker-mode.
8111 (netbsd*): Remove case setting base_os.
8112 (386bsd*): Likewise.
8113 (freebsd*): Likewise.
8117 (ultrix*): Likewise.
8118 (newsos*): Likewise.
8128 (solaris[2-9]*): Likewise.
8130 * configure: Regenerated.
8132 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8135 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8136 overflow or cancellation in calculating denominator.
8137 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8138 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8139 down expression to avoid unexpected rounding in newer GCCs.
8140 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8142 2012-04-26 David S. Miller <davem@davemloft.net>
8144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8145 long-double compat symbols.
8146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8160 2012-04-25 David S. Miller <davem@davemloft.net>
8162 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8163 HWCAP_* values only after the memory barriers have been defined.
8164 (atomic_full_barrier): Define.
8165 (atomic_read_barrier): Define.
8166 (atomic_write_barrier): Define.
8168 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8170 * shlib-versions: Add libgcc_s version information.
8171 * sysdeps/generic/libgcc_s.h: Remove.
8172 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8174 * sysdeps/gnu/unwind-resume.c: Likewise.
8175 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8177 2012-04-25 David S. Miller <davem@davemloft.net>
8179 * sysdeps/unix/sparc/brk.S: Delete.
8180 * sysdeps/unix/sparc/dl-brk.S: Delete.
8181 * sysdeps/unix/sparc/pipe.S: Delete.
8182 * sysdeps/unix/sparc/sysdep.S: Delete.
8183 * sysdeps/unix/sparc/sysdep.h: Delete.
8184 * sysdeps/unix/sparc/vfork.S: Delete.
8185 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8186 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8187 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8188 ret_ERRVAL, r0, r1, MOVE): Define.
8189 (JUMPTARGET): Remove.
8190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8191 sysdeps/unix/sparc/sysdep.h
8192 (ENTRY, END): Remove.
8193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8195 2012-04-25 Joseph Myers <joseph@codesourcery.com>
8197 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8198 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8201 * timezone/README: Update upstream location and email address for
8203 * timezone/zdump.c: Update from tzcode 2012b.
8204 * timezone/zic.c: Likewise.
8206 * configure.in (libc_cv_as_needed): Remove test.
8207 * configure: Regenerated.
8208 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8209 conditional definition.
8210 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8211 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8212 * config.make.in (have-as-needed): Remove variable.
8214 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8215 Paul Pluzhnikov <ppluzhnikov@google.com>
8217 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8220 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8222 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8223 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8224 * sysdeps/sh/strlen.S: Likewise.
8226 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8228 * sysdeps/unix/fork.S: Remove file.
8229 * sysdeps/unix/i386/fork.S: Likewise.
8230 * sysdeps/unix/sparc/fork.S: Likewise.
8232 * sysdeps/unix/system.c: Remove file.
8233 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8235 * sysdeps/unix/getegid.S: Remove file.
8236 * sysdeps/unix/geteuid.S: Likewise.
8238 2012-04-24 Roland McGrath <roland@hack.frob.com>
8240 * scripts/check-localplt.awk: New file.
8241 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8243 * scripts/data/localplt-generic.data: Add a comment.
8245 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8246 NODE when __dir_mkfile failed.
8247 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8248 Reported by Ludovic Courtès <ludo@gnu.org>.
8250 2012-04-24 Andreas Jaeger <aj@suse.de>
8252 * Makerules (common-clean): Also remove gen-as-const-headers
8255 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8257 * Makerules (native-compile): Do not change working directory for
8258 build. Use $(OUTPUT_OPTION) in command.
8259 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8261 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8264 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8265 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8266 * math/libm-test.inc (floor_test): Add more tests.
8267 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8269 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8271 * sysdeps/unix/getdents.c: Remove file.
8272 * sysdeps/unix/sysv/getdents.c: Likewise.
8273 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8275 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8276 sysdeps/unix/mman/syscalls.list.
8278 (mprotect): Likewise.
8281 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8282 * sysdeps/unix/mman/syscalls.list: Remove.
8283 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8285 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8286 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8287 * configure: Regenerated.
8288 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8290 * config.make.in (libgcc_s_suffix): Remove variable.
8292 2012-04-23 Joseph Myers <joseph@codesourcery.com>
8294 * sysdeps/unix/sysv/gethostname.c: Move to ...
8295 * sysdeps/posix/gethostname.c: ... here.
8297 * sysdeps/unix/execve.S: Remove file.
8299 * sysdeps/unix/_exit.S: Remove file.
8301 2012-04-23 Andreas Jaeger <aj@suse.de>
8304 * manual/Makefile: Remove make dist support, there's no
8305 need for a stand-alone documentation tar ball.
8306 (TEXI2DVI): Define always, it's not in Makeconfig.
8310 (glibc-doc-$(edition).tar): Removed
8314 (ETAGS): Remove, it's in Makeconfig.
8315 (move-if-change): Remove, it's in Makeconfig.
8317 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8320 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8321 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8322 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8323 (strtod_l, strtof_l, strtold_l): Remove __wur.
8324 It is not necessarily an error to ignore strtol's return value.
8325 One can reliably look at the stored endptr to decide whether
8326 the number had valid syntax.
8328 2012-04-21 Andreas Jaeger <aj@suse.de>
8331 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8333 2012-04-21 Joseph Myers <joseph@codesourcery.com>
8335 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8336 * sysdeps/unix/sysv/Versions: Remove file.
8338 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8343 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
8346 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8347 version from __vm86.
8349 2012-04-20 Joseph Myers <joseph@codesourcery.com>
8351 * sysdeps/unix/common/lxstat.c: Remove file.
8352 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8354 * sysdeps/unix/sysv/Makefile: Remove file.
8356 * sysdeps/unix/sysv/direct.h: Remove file.
8358 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8359 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8360 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8361 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8362 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8363 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8364 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8366 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8368 * sysdeps/unix/xmknod.c: Remove file.
8369 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8371 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8373 * sysdeps/unix/sysv/i386/time.S: Remove file.
8375 * sysdeps/unix/fxstat.c: Remove file.
8376 * sysdeps/unix/xstat.c: Likewise.
8377 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8379 * sysdeps/unix/sysv/sigaction.c: Remove file.
8381 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8382 (sysdep_headers): Remove variable.
8383 [termio.h not in sysdep_headers] (generated): Likewise.
8384 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8385 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8386 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8387 * sysdeps/unix/sysv/tcflow.c: Likewise.
8388 * sysdeps/unix/sysv/tcflush.c: Likewise.
8389 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8390 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8391 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8392 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8393 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8395 * sysdeps/unix/siglist.c: Remove file.
8397 * sysdeps/unix/getppid.S: Remove file.
8399 * sysdeps/unix/mkdir.c: Remove file.
8400 * sysdeps/unix/rmdir.c: Likewise.
8402 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8404 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8406 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8407 errlist-compat value.
8409 2012-04-18 David S. Miller <davem@davemloft.net>
8411 * sysdeps/generic/memcopy.h (reg_char): Delete.
8412 * debug/strcat_chk.c: Use char, not reg_char.
8413 * debug/strcpy_chk.c: Likewise.
8414 * debug/strncat_chk.c: Likewise.
8415 * debug/strncpy_chk.c: Likewise.
8416 * string/memchr.c: Likewise.
8417 * string/memrchr.c: Likewise.
8418 * string/rawmemchr.c: Likewise.
8419 * string/strcat.c: Likewise.
8420 * string/strchr.c: Likewise.
8421 * string/strchrnul.c: Likewise.
8422 * string/strcmp.c: Likewise.
8423 * string/strcpy.c: Likewise.
8424 * string/strncat.c: Likewise.
8425 * string/strncmp.c: Likewise.
8426 * string/strncpy.c: Likewise.
8428 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8430 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8431 __builtin_memcopy is called when src and dest ranges are known to not
8434 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8436 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8437 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8438 fwd_align_merge macro call.
8439 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8440 bwd_align_merge macro call.
8441 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8443 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8445 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8446 bwd_align_merge macros.
8447 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8448 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8449 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8451 2012-04-18 David S. Miller <davem@davemloft.net>
8453 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8455 2012-04-18 Andreas Jaeger <aj@suse.de>
8458 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8459 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8460 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8462 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8463 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8464 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8466 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8467 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8468 Adjust for changed ldbl-128 files.
8470 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8471 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8472 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8474 2012-04-17 David S. Miller <davem@davemloft.net>
8476 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8478 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8480 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8481 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8482 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8483 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8484 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8485 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8487 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8490 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8491 * math/libm-test.inc: Add ilogb errno and exception tests.
8492 * math/w_ilogb.c: New file: ilogb wrapper.
8493 * math/w_ilogbf.c: New file: ilogbf wrapper.
8494 * math/w_ilogbl.c: New file: ilogbl wrapper.
8495 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8496 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8497 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8498 exception being thrown with 0.0 as argument.
8499 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8500 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8501 exception being thrown with 0.0 as argument.
8502 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8503 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8504 exception being thrown with 0.0 as argument.
8505 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8506 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8507 exception being thrown with 0.0 as argument.
8508 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8509 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8510 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8511 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8512 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8513 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8514 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8515 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8516 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8518 2012-04-17 Petr Baudis <pasky@ucw.cz>
8520 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8523 2012-04-16 Marek Polacek <polacek@redhat.com>
8525 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8527 2012-04-16 Marek Polacek <polacek@redhat.com>
8529 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8530 operands of fdivp instruction.
8532 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8534 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8535 * elf/tst-auditmod3b.c: Likewise.
8536 * elf/tst-auditmod4b.c: Likewise.
8537 * elf/tst-auditmod5b.c: Likewise.
8538 * elf/tst-auditmod6b.c: Likewise.
8539 * elf/tst-auditmod6c.c: Likewise.
8540 * elf/tst-auditmod7b.c: Likewise.
8541 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8542 * sysdeps/x86_64/preconfigure.in: Likewise.
8543 * sysdeps/x86_64/preconfigure: Regenerated.
8545 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8547 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8550 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8552 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8553 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8555 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8558 * locale/iso-639.def: Fix gl language name. Spotted by
8561 2012-04-12 Roland McGrath <roland@hack.frob.com>
8564 * libio/libio.h (__io_write_fn): Update comment.
8566 2012-04-12 Petr Baudis <pasky@ucw.cz>
8569 * stdio.texi (Hook Functions): The user provided writer function
8570 is not allowed to return -1.
8572 2012-04-11 David S. Miller <davem@davemloft.net>
8574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8576 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8578 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8579 Add a leading slash to rtkaio.
8581 2012-04-11 Jim Meyering <meyering@redhat.com>
8584 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8585 It is not necessarily an error to ignore fwrite's return
8586 value. One can reliably use ferror to test for errors after
8589 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8591 * bits/types.h (__snseconds_t): New type.
8592 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8594 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8595 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8596 (__SNSECONDS_T_TYPE): Likewise.
8597 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8598 (__SNSECONDS_T_TYPE): Likewise.
8599 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8600 (__SNSECONDS_T_TYPE): Likewise.
8602 2012-04-10 Andreas Jaeger <aj@suse.de>
8605 * manual/time.texi (Processor Time): Return type of times is
8606 elapsed real time since an arbitrary point in the past.
8607 (CPU Time): Move CLK_TCK from here...
8608 (Processor Time): ...to here. Correct description.
8609 * manual/conf.texi (Constants for Sysconf): Correct description of
8612 2012-04-10 David S. Miller <davem@davemloft.net>
8615 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8616 where the is a gap between DT_REL(A) and DT_JMPREL.
8618 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8620 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8621 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8622 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8624 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8626 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8627 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8628 (dl_main): Handle --inhibit-cache.
8629 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8631 * elf/dl-load.c (_dl_map_object): Use it.
8632 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8634 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8637 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8638 (__ieee754_powl): Saturate large exponents rather than testing for
8639 overflow of y*log2(x).
8640 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8641 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8645 * math/s_ctan.c: Include <float.h>.
8646 (__ctan): Avoid internal overflow or cancellation in calculating
8648 * math/s_ctanf.c: Likewise.
8649 * math/s_ctanl.c: Likewise.
8650 * math/s_ctanh.c: Likewise.
8651 * math/s_ctanhf.c: Likewise.
8652 * math/s_ctanhl.c: Likewise.
8653 * math/libm-test.inc (ctan_test): Add more tests.
8654 (ctanh_test): Likewise.
8655 * sysdeps/i386/fpu/libm-test-ulps: Update.
8656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8658 2012-04-09 Andreas Jaeger <aj@suse.de>
8661 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8662 is an optional BSD extension.
8665 * manual/stdio.texi (Opening Streams): Document additional fopen
8668 2012-04-09 Roland McGrath <roland@hack.frob.com>
8670 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8671 %eax without telling the compiler.
8673 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8676 * manual/install.texi: Use sourceware.org.
8678 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8681 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8682 (__ieee754_pow): Generate overflow and underflow using huge*huge
8683 and tiny*tiny rather than just returning constant infinity or zero
8684 for large exponents.
8685 * math/libm-test.inc (pow_test): Require overflow exceptions for
8686 applicable cases of large exponents.
8689 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8690 (__ieee754_pow): Use iterative multiplication algorithm only for
8691 integer exponents with absolute value below 1024. Check for odd
8692 integer exponents when using algorithm for real exponents.
8693 * math/libm-test.inc (pow_test): Add more tests.
8694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8696 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8699 * math/libm-test.inc (exp_test): Do not allow overflow exception
8702 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8705 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8706 instead of __kernel_standard_f.
8708 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8710 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8711 * sysdeps/x86_64/memset_chk.S: Likewise.
8713 2012-04-08 Andreas Jaeger <aj@suse.de>
8716 * manual/startup.texi (Environment Access): Describe return value
8717 for putenv and setenv.
8720 * manual/filesys.texi (Directory Entries): Add description for
8724 * manual/filesys.texi (Directory Entries): Clarify that it's file
8725 system not operating system in the description of DT_UNKNOWN.
8728 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8730 2012-04-08 Stephen Compall <s11@member.fsf.org>
8733 * manual/llio.texi (Opening and Closing Files): Add cross
8734 reference to explain mode argument.
8736 2012-04-07 Mike Frysinger <vapier@gentoo.org>
8738 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8739 * sysdeps/x86_64/memset_chk.S: Likewise.
8741 2012-04-07 David S. Miller <davem@davemloft.net>
8743 * elf/elf.h (R_SPARC_WDISP10): Define.
8744 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8746 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8747 R_SPARC_SIZE64 and R_SPARC_H34.
8749 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8751 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8752 conditions and remove no longer applicable assertion.
8754 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8756 * bits/byteswap.h: Include <features.h>.
8757 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8758 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8760 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8762 * bits/byteswap.h (__bswap_16): Removed.
8763 Include <bits/byteswap-16.h> to get __bswap_16.
8764 * sysdeps/i386/bits/byteswap.h: Likewise.
8765 * sysdeps/s390/bits/byteswap.h: Likewise.
8766 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8767 * bits/byteswap-16.h: New file.
8768 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8769 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8770 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8771 * string/Makefile (headers): Add bits/byteswap-16.h.
8773 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8776 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8778 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8779 * nss/tst-nss-static.c: New.
8781 2012-04-06 Robert Millan <rmh@gnu.org>
8784 * manual/llio.texi (File Position Primitive): lseek
8785 refers to WHENCE when it really means OFFSET.
8787 2012-04-06 Andreas Jaeger <aj@suse.de>
8789 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8790 strncmp declarations.
8792 * abilist/libc.abilist: Add __poll and __ppoll.
8794 2012-04-05 David S. Miller <davem@davemloft.net>
8796 * scripts/check-local-headers.sh: Accept a host triplet in the
8797 path matched by the exclude regexp.
8799 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8801 * sysdeps/powerpc/powerpc32/dl-machine.h
8802 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8803 * sysdeps/s390/s390-32/dl-machine.h
8804 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8805 * sysdeps/sparc/sparc32/dl-machine.h
8806 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8807 * sysdeps/sparc/sparc64/dl-machine.h
8808 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8810 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8812 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
8813 undefined symbol errors.
8815 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
8818 2012-04-05 Michael Matz <matz@suse.de>
8821 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8823 2012-04-05 Andreas Jaeger <aj@suse.de>
8826 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8829 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8831 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8832 which ROUND is no valid rounding mode.
8834 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8836 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8838 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8840 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8842 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8843 an exception using FPU order intentionally.
8845 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8847 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8848 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8849 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8850 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8852 2012-04-05 Simon Josefsson <simon@josefsson.org>
8855 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8856 EINVAL when BUFLEN is too smal.
8858 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8861 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8862 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8864 2012-04-03 Andreas Jaeger <aj@suse.de>
8867 * manual/setjmp.texi (System V contexts): Fix sentence.
8870 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8871 New macro for this case.
8872 [!__GNUC__] (__bswap_64): New inline function for this case.
8873 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8874 * bits/byteswap.h: Likewise.
8875 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8876 ull, guard with __GLIBC_HAVE_LONG_LONG.
8878 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8879 __GLIBC_HAVE_LONG_LONG.
8881 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8882 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8884 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8887 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8888 inptr and inend, rather than using last_ch.
8890 2012-04-02 David S. Miller <davem@davemloft.net>
8892 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8893 * stdio-common/printf-parse.h (read_int): Change return type to
8894 'int', return -1 on INT_MAX overflow.
8895 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8896 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8897 overflows INT_MAX. Check for overflow of in-format-string precision
8898 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8899 SIZE_MAX not INT_MAX for integer overflow test.
8900 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8901 skip the construct in the format string but do not record anything.
8902 * stdio-common/bug22.c: Adjust to test both width/prevision
8903 INT_MAX overflow as well as total length INT_MAX overflow. Check
8904 explicitly for proper errno values.
8906 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8908 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8910 * string/test-strcmp.c [! WIDE]: Likewise.
8911 * time/tst-mktime2.c: Likewise for INT_MAX.
8912 * string/test-string.h: #include <sys/param.h> for MIN.
8914 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8915 * sysdeps/i386/init-first.c (init): Likewise.
8916 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8917 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8918 * sysdeps/sh/init-first.c (init): Likewise.
8920 2012-04-01 Ulrich Drepper <drepper@gmail.com>
8922 * po/ru.po: Update from translation team.
8923 * po/vi.po: Likewise.
8925 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8927 * resolv/nss_dns/dns-host.c: Merge copyright years.
8929 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8931 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8932 Optimize memcpy with prefetch if
8933 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8934 src, dst pointers have unequal 16 byte alignments.
8936 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8939 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8940 from a CNAME entry and return the minimum ttl for the query.
8941 (gaih_getanswer_slice): Likewise.
8943 2012-03-30 Jeff Law <law@redhat.com>
8945 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8947 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8948 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8950 * resolv/nss_dns/dns-host.c: Update copyright year.
8952 2012-03-30 Ulrich Drepper <drepper@gmail.com>
8954 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8955 requests to save a system call. Fix check that all bytes are sent.
8957 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8958 comments for sendmmsg.
8960 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8963 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8964 with only 1 character between 0x0041 and 0x01b0.
8965 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8966 * wcsmbs/tst-mbsnrtowcs.c: New file.
8968 2012-03-29 David S. Miller <davem@davemloft.net>
8970 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8971 small copies by hand.
8973 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8976 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8977 _nss_compat_initgroups_dyn): Fall back to malloc/free
8978 for large group memberships.
8980 2012-03-28 David S. Miller <davem@davemloft.net>
8982 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8983 that branches into memcpy.
8984 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8985 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8986 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8987 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8988 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8990 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8992 * sysdeps/sparc/mempcpy.S: New file.
8994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8995 the IFUNC routine in the libc case.
8996 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8998 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8999 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9000 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9001 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9002 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9003 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9004 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9005 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9007 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9008 loop to 256 bytes instead of 64 bytes and fix test signedness.
9010 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9011 * sysdeps/sparc/sparc32/Makefile: rather than here...
9012 * sysdeps/sparc/sparc64/Makefile: and here.
9014 2012-03-28 Ulrich Drepper <drepper@gmail.com>
9016 * malloc/mallocbug.c: Avoid warnings about unused variables.
9018 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9021 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9022 in the right place. Discard and retry query if response is
9023 larger than input buffer size.
9025 2012-03-28 Joseph Myers <joseph@codesourcery.com>
9030 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9031 x for large integer exponent.
9032 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9033 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9034 sign of result as needed afterwards.
9035 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9036 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9037 result for underflowing pow the same as for overflow.
9038 (__kernel_standard_l): Handle powl overflow and underflow here
9039 rather than calling __kernel_standard.
9040 * math/libm-test.inc (pow_test): Add more tests.
9055 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9056 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9057 (__kernel_standard_l): New function.
9058 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9060 * math/w_acosl.c (__acosl): Likewise.
9061 * math/w_asinl.c (__asinl): Likewise.
9062 * math/w_atan2l.c (__atan2l): Likewise.
9063 * math/w_atanhl.c (__atanhl): Likewise.
9064 * math/w_coshl.c (__coshl): Likewise.
9065 * math/w_exp10l.c (__exp10l): Likewise.
9066 * math/w_exp2l.c (__exp2l): Likewise.
9067 * math/w_fmodl.c (__fmodl): Likewise.
9068 * math/w_hypotl.c (__hypotl): Likewise.
9069 * math/w_j0l.c (__j0l, __y0l): Likewise.
9070 * math/w_j1l.c (__j1l, __y1l): Likewise.
9071 * math/w_jnl.c (__jnl, __ynl): Likewise.
9072 * math/w_lgammal.c (__lgammal): Likewise.
9073 * math/w_log10l.c (__log10l): Likewise.
9074 * math/w_log2l.c (__log2l): Likewise.
9075 * math/w_logl.c (__logl): Likewise.
9076 * math/w_powl.c (__powl): Likewise.
9077 * math/w_remainderl.c (__remainderl): Likewise.
9078 * math/w_scalbl.c (sysv_scalbl): Likewise.
9079 * math/w_sinhl.c (__sinhl): Likewise.
9080 * math/w_sqrtl.c (__sqrtl): Likewise.
9081 * math/w_tgammal.c (__tgammal): Likewise.
9082 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9083 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9084 * math/libm-test.inc (acos_test): Add more tests.
9085 (acosh_test): Likewise.
9086 (asin_test): Likewise.
9087 (atanh_test): Likewise.
9088 (exp_test): Likewise.
9089 (exp10_test): Likewise.
9090 (exp2_test): Likewise.
9091 (expm1_test): Likewise.
9092 (lgamma_test): Likewise.
9093 (log_test): Likewise.
9094 (log10_test): Likewise.
9095 (log1p_test): Likewise.
9096 (log2_test): Likewise.
9097 (pow_test): Do not allow some spurious overflow exceptions.
9098 (sqrt_test): Add more tests.
9099 (tgamma_test): Likewise.
9100 (y0_test): Likewise.
9101 (y1_test): Likewise.
9102 (yn_test): Likewise.
9104 2012-03-27 Anton Blanchard <anton@samba.org>
9106 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9108 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9109 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9110 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9112 2012-03-27 David S. Miller <davem@davemloft.net>
9114 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9116 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9119 2012-03-27 Andreas Jaeger <aj@suse.de>
9121 * sysdeps/x86_64/elf/configure.in: Moved to ...
9122 * sysdeps/x86_64/configure.in: ... here.
9123 * sysdeps/x86_64/elf/start.S: Moved to ...
9124 * sysdeps/x86_64/start.S: ... here.
9125 * sysdeps/x86_64/elf/configure: Delete.
9127 * sysdeps/x86_64/configure.in: Merge contents from
9128 sysdeps/i386/configure.in (without i686 check).
9130 * sysdeps/i386/elf/Versions: Merge into ...
9131 * sysdeps/i386/Versions: ... this.
9132 * sysdeps/i386/elf/Versions: Delete file.
9133 * sysdeps/i386/elf/start.S: Moved to ...
9134 * sysdeps/i386/start.S: ...here.
9135 * sysdeps/i386/elf/configure.in: Merge into...
9136 * sysdeps/i386/configure.in: ...here.
9137 * sysdeps/i386/elf/configure.in: Delete file.
9138 * sysdeps/i386/elf/configure: Delete file.
9140 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9141 * debug/backtracesyms.c: ... here.
9142 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9143 * debug/backtracesymsfd.c: ... here.
9144 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9145 * sysdeps/generic/ifunc-sel.h: ... here.
9147 * sysdeps/unix/i386/start.c: Delete file.
9148 * sysdeps/unix/sparc/start.c: Delete file.
9149 * sysdeps/unix/start.c: Delete file.
9151 * sysdeps/sh/elf/configure.in: Moved to ...
9152 * sysdeps/sh/configure.in: ... here.
9153 * sysdeps/sh/elf/start.S: Moved to ...
9154 * sysdeps/sh/start.S: ... here.
9155 * sysdeps/sh/elf/configure: Delete file.
9157 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9158 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9159 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9160 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9161 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9162 * sysdeps/powerpc/powerpc64/start.S: here.
9163 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9164 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9165 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9166 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9167 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9169 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9170 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9171 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9172 * sysdeps/powerpc/powerpc32/start.S: ... here.
9173 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9174 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9175 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9177 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9178 * sysdeps/powerpc/ifunc-sel.h: ... here.
9179 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9180 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9182 * sysdeps/sparc/elf/configure.in: Moved to ...
9183 * sysdeps/sparc/configure.in: ... here.
9184 * sysdeps/sparc/elf/configure: Delete file.
9185 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9186 * sysdeps/sparc/sparc32/start.S: ... here.
9187 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9188 * sysdeps/sparc/sparc64/start.S: ... here.
9189 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9190 * sysdeps/sparc/sparc32/Makefile: ... this.
9191 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9192 * sysdeps/sparc/sparc64/Makefile: ... this.
9194 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9195 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9196 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9197 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9198 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9199 * sysdeps/s390/s390-32/setjmp.S: ... here.
9200 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9201 * sysdeps/s390/s390-32/configure.in: ... here.
9202 * sysdeps/s390/s390-32/elf/configure: Delete file.
9203 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9204 * sysdeps/s390/s390-32/start.S: ... here.
9206 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9207 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9208 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9209 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9210 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9211 * sysdeps/s390/s390-64/setjmp.S: ... here.
9212 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9213 * sysdeps/s390/s390-64/configure.in: ... here
9214 * sysdeps/s390/s390-64/elf/configure: Delete file.
9215 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9216 * sysdeps/s390/s390-64/start.S: ... here.
9217 * sysdeps/s390/s390-64/elf/configure: Delete.
9219 * configure.in: Remove support for elf directories in sysdeps.
9221 * configure: Regenerated.
9222 * sysdeps/i386/configure: Regenerated.
9223 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9224 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9225 * sysdeps/s390/s390-32/configure: Regenerated.
9226 * sysdeps/s390/s390-64/configure: Regenerated.
9227 * sysdeps/sh/configure: Regenerated.
9228 * sysdeps/sparc/configure: Regenerated.
9229 * sysdeps/x86_64/configure: Regenerated.
9231 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9235 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9236 denormal result into account.
9238 2012-03-25 Roland McGrath <roland@hack.frob.com>
9240 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9241 Reported by Allan McRae <allan@archlinux.org>.
9243 2012-03-23 Jeff Law <law@redhat.com>
9245 * nss/getnssent.c (__nss_getent): Fix typo.
9247 2012-03-23 David S. Miller <davem@davemloft.net>
9249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9251 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9253 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9254 to pad to uint64_t for each field.
9255 (dl_tls_index): Replace unsigned long with uint64_t.
9257 2012-03-23 Daniel Jacobowitz <dmj@google.com>
9258 Paul Pluzhnikov <ppluzhnikov@google.com>
9261 * grp/Makefile (otherlibs): Don't set it.
9262 * inet/Makefile (otherlibs): Likewise.
9263 * login/Makefile (otherlibs): Likewise.
9264 * nscd/Makefile (otherlibs): Likewise.
9265 * posix/Makefile (otherlibs): Likewise.
9266 * pwd/Makefile (otherlibs): Likewise.
9267 * rt/Makefile (otherlibs): Likewise.
9268 * sunrpc/Makefile (otherlibs): Likewise.
9269 * nss/Makefile (otherlibs): Likewise.
9270 Add libnss_files to routines and static-only-routines.
9271 ($(objpfx)getent): Remove rule.
9272 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9273 static-only-routines.
9275 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9278 * math/s_cexp.c: Include <float.h>.
9279 (__cexp): Handle exp result overflowing not necessarily
9280 overflowing both real and imaginary parts of result.
9281 * math/s_cexpf.c: Likewise.
9282 * math/s_cexpl.c: Likewise.
9283 * math/libm-test.inc (cexp_test): Add more tests.
9284 * sysdeps/i386/fpu/libm-test-ulps: Update.
9285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9287 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9289 * include/link.h (ELFW): New macro.
9290 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9291 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9293 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9295 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9298 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9300 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9302 (struct La_x32_retval): Likewise.
9304 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9306 * sysdeps/x86_64/preconfigure.in: New file.
9307 * sysdeps/x86_64/preconfigure: New generated file.
9309 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9312 * math/e_exp2l.c: Include <float.h>.
9313 (__ieee754_exp2l): Handle overflow and underflow cases
9314 separately. Only pass fractional part of argument to
9316 * math/libm-test.inc (exp2_test): Add more tests.
9318 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9319 negating x to take absolute value.
9320 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9322 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9323 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9325 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9326 computing low part if x was negated.
9327 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9329 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9331 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9333 (pltexit): Cast int_retval to ptrdiff_t.
9334 * elf/tst-auditmod3b.c: Likewise.
9335 * elf/tst-auditmod4b.c: Likewise.
9336 * elf/tst-auditmod5b.c: Likewise.
9337 * elf/tst-auditmod6b.c: Likewise.
9338 * elf/tst-auditmod6c.c: Likewise.
9339 * elf/tst-auditmod7b.c: Likewise.
9341 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9342 and x32_gnu_pltexit.
9344 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9346 (La_x32_regs): New macro.
9347 (La_x32_retval): Likewise.
9348 (la_x32_gnu_pltenter): New function prototype.
9349 (la_x32_gnu_pltexit): Likewise.
9351 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9353 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9358 * configure.in (libc_cv_cc_nofma): Check for option to disable
9359 generation of FMA instructions.
9360 * configure: Regenerate.
9361 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9362 * sysdeps/ieee754/dbl-64/Makefile: New file.
9363 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9364 Remove brandred-fma4.
9365 (CFLAGS-brandred-fma4.c): Remove.
9366 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9367 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9369 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9372 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9374 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9375 LLONG_MAX != LONG_MAX.
9376 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9377 (_fitoa_word): Likewise.
9378 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9379 LLONG_MAX != LONG_MAX.
9380 * stdio-common/_itowa.h: Include <_itoa.h>.
9381 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9382 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9383 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9384 only if not defined.
9385 (_ITOA_WORD_TYPE): Likewise.
9386 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9387 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9389 2012-03-21 David S. Miller <davem@davemloft.net>
9391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9393 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9395 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9396 of x86_64 when setting libc_cv_slibdir, libdir and
9398 * sysdeps/unix/sysv/linux/configure: Regenerated.
9400 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9402 * manual/lang.texi (Old Varargs): Remove section.
9403 (How Variadic): Update menu.
9404 (va_start): Do not mention varargs.h.
9406 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9407 Joseph Myers <joseph@codesourcery.com>
9409 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9411 * configure: Regenerated.
9413 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9415 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9416 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9419 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9422 * Makefile (files-for-dist): Remove NOTES.
9423 (NOTES): Remove rule.
9424 * README: Don't refer to NOTES.
9425 * manual/creature.texi: Don't include macros.texi.
9426 * manual/intro.texi (creature.texi): Remove comment referring to
9429 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9430 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9431 * configure: Regenerated.
9432 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9434 (libc_cv_as_i686): Likewise.
9435 (libc_cv_cc_avx): Likewise.
9436 (libc_cv_cc_sse2avx): Likewise.
9437 (libc_cv_cc_fma4): Likewise.
9438 (libc_cv_cc_novzeroupper): Likewise.
9439 * sysdeps/i386/configure: Regenerated.
9442 * sysdeps/i386/fpu/s_cexp.S: Remove.
9443 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9444 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9445 * math/libm-test.inc (cexp_test): Add more tests.
9446 * sysdeps/i386/fpu/libm-test-ulps: Update.
9447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9449 2012-03-21 Allan McRae <allan@archlinux.org>
9451 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9453 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9456 * math/w_exp2.c: Do not include <float.h>.
9457 (o_threshold, u_threshold): Remove.
9458 (__exp2): Calculate result before checking finiteness and calling
9460 * math/w_exp2f.c: Likewise.
9461 * math/w_exp2l.c: Likewise.
9462 * math/libm-test.inc (exp2_test): Require overflow exception for
9466 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9467 range of signed 64-bit integers before using fistpll. Remove
9468 checks for whether integers fit in mantissa bits.
9469 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9470 the range of signed 32-bit integers before using fistpl. Remove
9471 checks for whether integers fit in mantissa bits.
9472 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9473 (__ieee754_powl): Test for y outside the range of signed 64-bit
9474 integers before using fistpll. Reduce 64-bit values to 63-bit
9476 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9477 divide-by-zero is raised for zero to large negative powers.
9478 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9479 (__ieee754_powl): Test for y outside the range of signed 64-bit
9480 integers before using fistpll. Reduce 64-bit values to 63-bit
9482 * math/libm-test.inc (pow_test): Add more tests.
9484 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9486 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9487 <stdio-common/_itoa.h>.
9488 * debug/segfault.c: Likewise.
9489 * elf/dl-cache.c: Likewise.
9490 * elf/dl-minimal.c: Likewise.
9491 * elf/dl-misc.c: Likewise.
9492 * elf/dl-sysdep.c: Likewise.
9493 * elf/dl-version.c: Likewise.
9494 * elf/rtld.c: Likewise.
9495 * hurd/hurdsock.c: Likewise.
9496 * hurd/lookup-retry.c: Likewise.
9497 * malloc/malloc.c: Likewise.
9498 * malloc/mtrace.c: Likewise.
9499 * nscd/nscd_getgr_r.c: Likewise.
9500 * nscd/nscd_getpw_r.c: Likewise.
9501 * nscd/nscd_getserv_r.c: Likewise.
9502 * posix/getopt_init.c: Likewise.
9503 * posix/wordexp.c: Likewise.
9504 * stdio-common/_itoa.c: Likewise.
9505 * stdio-common/printf_fphex.c: Likewise.
9506 * stdio-common/vfprintf.c: Likewise.
9507 * string/_strerror.c: Likewise.
9508 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9509 * sysdeps/i386/i686/hp-timing.h: Likewise.
9510 * sysdeps/mach/_strerror.c: Likewise.
9511 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9512 * sysdeps/mach/hurd/sethostid.c: Likewise.
9513 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9514 * sysdeps/mach/xpg-strerror.c: Likewise.
9515 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9516 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9517 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9518 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9519 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9520 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9521 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9522 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9523 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9524 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9525 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9526 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9527 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9528 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9529 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9530 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9531 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9532 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9533 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9534 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9535 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9537 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9539 * stdio-common/_itoa.h: Moved to ...
9540 * sysdeps/generic/_itoa.h: Here.
9542 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9544 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9545 instead of "_itoa.h" and "_itowa.h".
9546 * stdio-common/vfprintf.: Likewise.
9548 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9550 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9552 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9553 (__signbit): Likwise.
9557 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9559 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9562 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9564 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9565 OVERFLOW_EXCEPTION_OK.
9566 * math/libm-test.inc ("Philosophy"): Update comment about
9568 (OVERFLOW_EXCEPTION): Define.
9569 (OVERFLOW_EXCEPTION_OK): Likewise.
9570 (INVALID_EXCEPTION_OK): Renumber.
9571 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9572 (IGNORE_ZERO_INF_SIGN): Likewise.
9573 (test_exceptions): Handle FE_OVERFLOW.
9574 (exp10_test): Expect overflow exceptions.
9575 (exp2_test): Likewise.
9576 (expm1_test): Likewise.
9577 (nextafter_test): Likewise.
9578 (pow_test): Likewise.
9579 (scalbn_test): Likewise.
9580 (scalbln_test): Likewise.
9582 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9584 * sysdeps/x86_64/bits/atomic.h
9585 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9587 (atomic_exchange_acq): Likewise.
9588 (__arch_exchange_and_add_body): Likewise.
9589 (__arch_add_body): Likewise.
9590 (atomic_add_negative): Likewise.
9591 (atomic_add_zero): Likewise.
9593 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9595 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9596 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9598 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9600 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9601 Check __x86_64__ instead of __WORDSIZE.
9603 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9605 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9607 2012-03-19 David S. Miller <davem@davemloft.net>
9609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9611 * sysdeps/sparc/fpu/fenv_private.h: New file.
9612 * sysdeps/sparc/fpu/math_private.h: Use it.
9613 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9615 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9616 (libc_feholdexcept_setroundl): Remove.
9617 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9619 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9620 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9622 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9624 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9625 int64_t instead of long int.
9626 (INSERT_WORDS64): Likwise.
9628 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9630 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9631 _Unwind_GetCFA return to _Unwind_Ptr first.
9633 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9636 * math/s_clog.c: Include <float.h>.
9637 (__clog): Scale large or subnormal inputs.
9638 * math/s_clogf.c: Likewise.
9639 * math/s_clogl.c: Likewise.
9640 * math/s_clog10.c: Include <float.h>.
9641 (M_LOG10_2): Define.
9642 (__clog10): Scale large or subnormal inputs.
9643 * math/s_clog10f.c: Likewise.
9644 * math/s_clog10l.c: Likewise.
9645 * math/libm-test.inc (clog_test): Add more tests.
9646 (clog10_test): Likewise.
9647 * sysdeps/i386/fpu/libm-test-ulps: Update.
9648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9651 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9653 * math/libm-test.inc (atan2_test): Add another test.
9655 * Makerules (common-objdir-compile): Remove.
9656 * sysdeps/unix/Makefile (config-generated): Do not add
9657 $(unix-generated) to variable.
9658 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9659 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9661 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9663 [generic bits/local_lim.h] (before-compile): Do not append to
9665 [generic bits/local_lim.h] (common-generated): Likewise.
9666 [generic sys/param.h] (before-compile): Do not append to variable.
9667 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9668 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9669 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9670 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9672 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9673 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9674 [generic sys/param.h] ($(addprefix
9675 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9676 [generic sys/param.h] (common-generated): Do not append to
9678 [generic sys/param.h] (sysdep_headers): Likewise.
9679 [generic bits/errno.h] (before-compile): Do not append to
9681 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9683 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9684 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9685 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9686 [generic bits/errno.h] (common-generated): Do not append to
9688 [generic bits/ioctls.h] (before-compile): Do not append to
9690 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9692 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9693 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9694 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9696 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9697 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9698 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9699 [generic bits/ioctls.h] (common-generated): Do not append to
9701 [generic sys/syscall.h] (syscall.h): Remove variable.
9702 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9704 [generic sys/syscall.h] (before-compile): Do not append to
9706 [generic sys/syscall.h] (common-generated): Likewise.
9707 * sysdeps/unix/errnos-tmpl.c: Remove file.
9708 * sysdeps/unix/errnos.awk: Likewise.
9709 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9710 * sysdeps/unix/ioctls.awk: Likewise.
9711 * sysdeps/unix/mk-local_lim.c: Likewise.
9712 * sysdeps/unix/snarf-ioctls: Likewise.
9714 2012-03-19 Richard Henderson <rth@twiddle.net>
9716 * sysdeps/i386/fpu/fenv_private.h: New file.
9717 * sysdeps/i386/fpu/math_private.h: Use it.
9718 (math_opt_barrier, math_force_eval): Remove.
9719 (libc_feholdexcept_setround_53bit): Remove.
9720 (libc_feupdateenv_53bit): Remove.
9721 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9722 (math_opt_barrier, math_force_eval): Remove.
9723 (libc_feholdexcept): Remove.
9724 (libc_feholdexcept_setround): Remove.
9725 (libc_fetestexcept, libc_fesetenv): Remove.
9726 (libc_feupdateenv_test): Remove.
9727 (libc_feupdateenv, libc_feholdsetround): Remove.
9728 (libc_feresetround): Remove.
9730 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9731 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9733 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9734 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9735 (libc_feupdateenv_testl): New.
9736 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9737 (libc_feupdateenv_testf): New.
9738 (libc_feupdateenv): Use libc_feupdateenv_test.
9739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9740 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9742 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9743 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9744 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9745 (libc_feresetround_noex): New.
9746 (libc_feresetround_noexf): New.
9747 (libc_feresetround_noexl): New.
9748 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9749 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9750 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9751 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9753 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9754 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9756 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9757 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9758 SET_RESTORE_ROUND_NOEX.
9759 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9760 SET_RESTORE_ROUND_NOEXF.
9761 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9762 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9763 (libc_feholdsetroundf): New.
9764 (libc_feresetround, libc_feresetroundf): New.
9766 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9767 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9768 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9770 * sysdeps/generic/math_private.h: Include <fenv.h>.
9771 (default_libc_feholdexcept): New.
9772 (default_libc_feholdexcept_setround): New.
9773 (default_libc_fesetenv, default_libc_feupdateenv): New.
9774 (libc_feholdexcept): Only define if undefined.
9775 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9776 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9777 (libc_feholdexcept_setroundl): Likewise.
9778 (libc_feholdexcept_setround_53bit): Likewise.
9779 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9780 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9781 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9782 (libc_feupdateenv_53bit): Likewise.
9783 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9784 (libc_feholdexcept): Convert from macro to inline function.
9785 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9786 (libc_fesetenv, libc_feupdateenv): Likewise.
9788 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9789 not previously defined.
9790 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9791 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9792 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9793 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9794 * sysdeps/ieee754/flt-32/math_private.h: New file.
9795 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9796 math_private.h below SET_FLOAT_WORD.
9797 (__isnan, __isinf_ns, __finite): Remove.
9798 (__isnanf, __isinf_nsf, __finitef): Remove.
9800 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9804 2012-03-17 David S. Miller <davem@davemloft.net>
9807 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9810 2012-03-16 David S. Miller <davem@davemloft.net>
9812 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9816 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9818 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9819 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9820 sysdep_routines when subdir is sysvipc.
9821 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9824 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9826 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9828 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9831 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9833 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9834 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9835 (__lround): Renamed to ...
9836 (__llround): This. Replace long int with long long int.
9837 Define lround functions as aliases of llround functions.
9838 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9840 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9842 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9843 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9844 adresses to uintptr_t. Replace "long int" and "unsigned long
9845 int" with "greg_t" on va_arg.
9847 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9849 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9850 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9852 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9853 Move e_machine check before EI_CLASS check. Handle x32
9854 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9855 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9856 SKIP_EM_IA_64 and include
9857 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9859 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9860 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9861 (add_system_dir): New macro.
9863 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9864 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9866 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9877 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9879 * math/w_j0f.c (j0f): Likewise.
9881 * math/w_j0l.c (__j0l): Likewise.
9883 * math/w_j1.c (j1): Likewise.
9885 * math/w_j1f.c (j1f): Likewise.
9887 * math/w_j1l.c (__j1l): Likewise.
9889 * math/w_jn.c (jn): Likewise.
9891 * math/w_jnf.c (jnf): Likewise.
9893 * math/w_jnl.c (__jnl): Likewise.
9895 * math/libm-test.inc (j0_test): Add more tests.
9896 (j1_test): Likewise.
9897 (jn_test): Likewise. Add trailing semicolon to existing test.
9898 (y0_test): Likewise.
9899 (y1_test): Likewise.
9900 * sysdeps/i386/fpu/libm-test-ulps: Update.
9901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9905 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9906 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9907 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9908 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9909 (__tanl): Set errno for infinite argument.
9910 * sysdeps/i386/fpu/mptan.c: Remove.
9911 * sysdeps/i386/fpu/s_tan.S: Likewise.
9912 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9913 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9914 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9915 * math/libm-test.inc (tan_test): Add more tests and enable more
9916 tests for double and long double.
9917 * sysdeps/i386/fpu/libm-test-ulps: Update.
9918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9920 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9922 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9923 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9925 2012-03-16 Roland McGrath <roland@hack.frob.com>
9927 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9928 * configure.in: Use it for both main tree and add-ons.
9929 * configure: Regenerated.
9931 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9933 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9935 2012-03-16 Joseph Myers <joseph@codesourcery.com>
9937 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9941 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9942 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9943 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9944 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9945 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9947 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9948 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9950 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9951 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9952 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9953 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9954 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9955 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9956 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9957 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9958 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9959 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9960 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9961 * math/libm-test.inc (cos_test): Add more tests and enable more
9962 tests for long double.
9963 (sin_test): Likewise.
9964 (sincos_test): Likewise.
9965 * sysdeps/i386/fpu/libm-test-ulps: Update.
9966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9968 2012-03-16 David S. Miller <davem@davemloft.net>
9970 * sysdeps/sparc/fpu/math_private.h: New file.
9972 2012-03-15 David S. Miller <davem@davemloft.net>
9974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
9977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9984 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9988 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9989 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9991 * sysdeps/sparc/sparc-ifunc.h: New file.
9992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10018 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10019 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10030 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10031 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10032 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10033 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10035 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10037 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10039 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10043 2012-03-15 Andreas Jaeger <aj@suse.de>
10046 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10047 ieee754/flt-32 implementation for sin, cos and sincos.
10048 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10049 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10050 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10051 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10052 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10053 ieee754/flt-32 implementation for tan.
10055 * math/libm-test.inc (cos_test): Enable some large input tests for
10057 (sin_test): Likewise.
10058 (sincos_test): Likewise.
10059 (tan_test): Add tests for large input.
10061 * sysdeps/i386/fpu/libm-test-ulps: Update.
10063 2012-03-15 Andreas Jaeger <aj@suse.de>
10066 * math/libm-test.inc (cos_test): Add more test cases.
10067 (sin_test): Likewise.
10068 (sincos_test): Likewise.
10070 2012-03-15 Andreas Jaeger <aj@suse.de>
10073 * math/libm-test.inc (cos_test): Add a test case for large input
10075 (sin_test): Likewise.
10076 (sincos_test): Likewise.
10078 2012-03-15 Andreas Jaeger <aj@suse.de>,
10079 Joseph Myers <joseph@codesourcery.com>
10082 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
10083 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10084 * sysdeps/i386/fpu/branred.c: Likewise.
10085 * sysdeps/i386/fpu/dosincos.c: Likewise.
10086 * sysdeps/i386/fpu/mpa.c: Likewise.
10087 * sysdeps/i386/fpu/s_cos.S: Likewise.
10088 * sysdeps/i386/fpu/s_sin.S: Likewise.
10089 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10090 * sysdeps/i386/fpu/sincos32.c: Likewise.
10092 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10094 (libc_feupdateenv_53bit): Define.
10095 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10097 (libc_feupdateenv_53bit): Define.
10099 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10100 53 bit (without extend i386 double precision).
10102 * math/libm-test.inc (sincos_test): Add tests for large input.
10106 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10108 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10112 2012-03-15 David S. Miller <davem@davemloft.net>
10114 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10115 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10116 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10117 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
10129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
10132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
10135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
10138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10141 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10142 fmin/fmax sysdep routines.
10143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10145 2012-03-14 David S. Miller <davem@davemloft.net>
10147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10153 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10154 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10158 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10167 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10168 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10169 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10170 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10171 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10172 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10173 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10174 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
10175 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
10180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
10183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
10186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
10189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
10192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
10207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
10210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
10213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
10216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10219 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10224 * sysdeps/sparc/configure.in: New file.
10225 * sysdeps/sparc/configure: Generate.
10226 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10227 * configure: Regenerate.
10228 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10229 * config.make.in (have-as-vis3): New.
10230 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10231 available use -Av9d instead of -Av9a.
10232 * sysdeps/sparc/sparc64/Makefile: Likewise.
10233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
10234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10242 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10245 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10246 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10248 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10249 fzeros/fnegs to load 0x80000000 into a float register instead of
10251 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10253 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10255 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10257 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10258 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10259 ($(inst_includedir)/bits/syscall.h): Remove rule.
10260 ($(objpfx)bits/syscall.d): Include instead of
10261 $(objpfx)syscall-list.d.
10262 (generated): Change syscall-list.h and syscall-list.d to
10263 bits/syscall.h and bits/syscall.d.
10265 2012-03-14 Roland McGrath <roland@hack.frob.com>
10268 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10270 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10273 * math/s_csqrt.c: Include <float.h>.
10274 (__csqrt): Scale large or subnormal inputs.
10275 * math/s_csqrtf.c: Likewise.
10276 * math/s_csqrtl.c: Likewise.
10277 * math/libm-test.inc (csqrt_test): Add more tests.
10278 * sysdeps/i386/fpu/libm-test-ulps: Update.
10279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10282 * math/libm-test.inc (hypot_test): Add more tests.
10284 2012-03-13 David S. Miller <davem@davemloft.net>
10287 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10288 double-precision for the calculation instead of scaling.
10290 2012-03-13 Joseph Myers <joseph@codesourcery.com>
10292 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10293 manipulate bits before adding and subtracting TWO52[sx].
10294 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10295 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10297 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10299 2012-03-13 David S. Miller <davem@davemloft.net>
10301 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10302 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10303 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10304 rtld-global-offsets.h
10305 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10307 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10310 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10312 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10313 'err' in the ifdef scope in which it is actually used.
10315 * nss/nss_db/db-init.c: Include string.h
10317 2012-03-12 David S. Miller <davem@davemloft.net>
10319 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10320 masking out of the most significant byte of random value used.
10321 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10322 Fix coding style in previous change.
10324 * sysdeps/unix/sysv/linux/kernel-features.h
10325 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10326 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10328 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10331 2012-03-11 David S. Miller <davem@davemloft.net>
10333 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10334 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10335 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10336 for 'resultvar' otherwise things get truncated on 64-bit.
10338 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10339 Fix masking out of the most significant byte of random value used.
10341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10343 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10347 2012-03-09 David S. Miller <davem@davemloft.net>
10349 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10350 variables with appropriate CPP guards.
10351 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10352 frame pointer, not the stack pointer. Correct layout comments. Fix test
10353 on resulting framesize and the management of the outregs buffer for pltexit.
10354 Preserve floating point return values across _dl_call_pltexit call.
10355 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10356 framesize and the management of the outregs buffer for pltexit.
10357 Preserve floating point return values across _dl_call_pltexit
10359 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10360 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10361 (print_exit): Fix format string for return register value.
10363 2012-03-10 Joseph Myers <joseph@codesourcery.com>
10365 * sunrpc/Makefile (others): Add rpcgen.
10366 ($(objpfx)rpcgen): Remove special build rule and dependency on
10368 * sunrpc/rpcgen.c: New file.
10370 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10373 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10374 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10375 * sysdeps/i386/crti.S: Likewise.
10376 * sysdeps/i386/crtn.S: Likewise.
10377 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10378 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10379 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10380 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10381 * sysdeps/sh/crti.S: Likewise.
10382 * sysdeps/sh/crtn.S: Likewise.
10383 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10386 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10388 * locale/programs/locfile-kw.gperf: Likewise.
10389 * locale/programs/charmap-kw.h: Regenerated.
10390 * locale/programs/locfile-kw.h: Likewise.
10393 * intl/plural.y: Replace FSF snail mail address with URL.
10394 * intl/plural.c: Regenerated.
10396 2012-03-09 Richard Henderson <rth@twiddle.net>
10398 * include/math_private.h: Remove file.
10399 * math/math_private.h: Move file ...
10400 * sysdeps/generic/math_private.h: ... here.
10402 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10403 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10404 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10406 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10407 and <math_private.h>.
10408 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10409 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10410 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10411 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10412 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10419 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10424 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10425 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10426 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10427 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10428 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10429 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10430 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10431 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10432 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10433 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10434 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10435 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10436 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10437 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10438 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10439 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10440 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10441 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10442 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10443 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10444 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10445 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10446 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10447 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10448 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10449 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10450 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10451 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10452 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10453 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10454 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10455 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10456 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10457 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10458 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10459 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10460 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10461 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10462 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10463 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10464 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10465 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10468 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10469 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10471 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10472 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10473 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10474 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10475 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10476 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10477 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10478 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10479 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10480 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10481 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10482 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10483 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10484 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10485 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10486 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10487 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10488 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10489 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10490 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10491 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10492 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10493 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10494 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10495 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10496 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10497 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10498 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10499 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10500 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10501 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10502 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10503 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10504 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10505 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10506 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10507 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10508 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10509 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10510 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10511 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10512 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10513 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10514 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10515 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10516 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10517 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10518 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10519 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10520 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10521 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10522 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10523 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10524 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10525 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10526 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10527 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10528 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10529 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10530 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10531 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10532 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10533 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10534 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10535 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10536 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10537 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10538 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10539 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10540 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10541 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10542 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10543 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10544 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10545 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10546 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10547 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10548 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10549 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10550 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10551 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10552 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10553 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10554 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10555 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10556 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10557 * sysdeps/ieee754/k_standard.c: Likewise.
10558 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10559 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10560 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10561 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10562 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10563 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10564 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10565 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10566 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10567 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10568 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10569 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10570 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10571 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10572 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10573 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10574 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10575 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10576 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10577 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10578 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10579 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10580 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10581 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10582 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10583 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10584 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10585 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10586 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10587 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10588 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10589 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10590 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10591 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10592 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10593 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10594 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10595 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10596 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10597 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10598 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10599 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10600 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10601 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10602 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10603 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10604 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10605 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10606 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10607 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10608 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10609 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10610 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10611 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10612 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10613 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10614 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10615 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10616 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10617 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10618 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10619 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10620 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10621 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10622 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10623 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10624 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10625 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10626 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10627 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10628 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10630 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10631 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10632 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10633 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10634 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10635 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10636 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10637 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10638 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10639 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10640 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10641 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10642 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10643 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10644 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10645 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10646 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10647 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10648 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10649 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10650 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10651 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10652 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10653 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10654 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10655 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10656 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10657 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10658 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10659 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10660 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10661 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10662 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10663 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10664 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10665 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10666 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10667 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10668 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10669 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10670 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10671 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10672 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10673 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10674 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10675 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10676 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10677 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10678 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10679 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10680 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10681 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10682 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10683 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10684 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10685 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10686 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10687 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10688 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10689 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10690 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10691 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10692 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10693 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10694 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10695 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10696 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10697 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10698 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10699 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10700 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10701 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10702 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10703 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10704 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10705 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10706 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10707 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10708 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10709 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10710 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10711 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10712 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10713 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10714 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10716 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10717 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10718 * sysdeps/ieee754/s_lib_version.c: Likewise.
10719 * sysdeps/ieee754/s_matherr.c: Likewise.
10720 * sysdeps/ieee754/s_signgam.c: Likewise.
10721 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10722 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10723 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10724 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10725 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10726 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10727 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10728 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10729 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10730 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10731 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10732 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10733 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10734 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10735 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10736 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10737 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10738 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10739 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10740 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10741 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10743 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10745 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10746 * sunrpc/rpc_main.c: Likewise.
10747 * sunrpc/rpc_svcout.c: Likewise.
10749 2012-03-09 David S. Miller <davem@davemloft.net>
10751 * include/math_private.h: New file.
10753 2012-03-09 Joseph Myers <joseph@codesourcery.com>
10755 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10756 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10757 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10758 from <bits/socket_type.h>.
10759 (enum __socket_type): Don't define here.
10760 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10762 bits/socket_type.h.
10765 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10766 checking __USE_GNU.
10768 * Makerules ($(inst_includedir)/%.h): New rule.
10769 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10770 (install-others): Remove variable setting.
10771 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10773 2012-03-08 Richard Henderson <rth@twiddle.net>
10775 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10776 from macro to inline function; merge with the
10777 !__LIBC_INTERNAL_MATH_INLINES version.
10778 (__ieee754_sqrtf): Likewise.
10780 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10781 to inline function.
10782 (__rintf, __floor, __floorf): Likewise.
10784 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10785 macro to inline function.
10786 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10788 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10789 not <math/math_private.h>.
10791 2012-03-08 David S. Miller <davem@davemloft.net>
10793 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10795 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10797 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10799 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10801 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10802 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10804 2012-03-08 Ulrich Drepper <drepper@gmail.com>
10806 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10807 be defined individually, they must be defined as a block. Define
10808 S for printing a string instead of hidint the different by using a
10809 macro for adding the 'l'.
10810 * stdio-common/tst-fphex-wide.c: Adjust.
10812 2012-03-07 Marek Polacek <polacek@redhat.com>
10814 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10816 2012-03-08 Marek Polacek <polacek@redhat.com>
10819 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10820 * stdio-common/tst-fphex.c: Define a few macros to make the
10821 test reusable. Use them.
10822 * stdio-common/tst-fphex-wide.c: New file.
10824 2012-03-08 Joseph Myers <joseph@codesourcery.com>
10827 * manual/macros.texi (gnusystems): New macro.
10828 (nongnusystems): Likewise.
10829 (gnulinuxhurdsystems): Likewise.
10830 (gnuhurdsystems): Likewise..
10831 (gnulinuxsystems): Likewise.
10832 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10833 variants of the GNU system, not "GNU system".
10834 * manual/conf.texi: Likewise.
10835 * manual/errno.texi: Likewise. Update example of errno macro
10837 * manual/filesys.texi: Likewise.
10838 (getumask): Document as specific to GNU/Hurd.
10839 * manual/install.texi: Likewise. Reword some references to
10841 * manual/intro.texi: Likewise.
10842 * manual/io.texi: Likewise.
10843 (File Name Portability): Detail which constraints are inapplicable
10844 to all GNU systems and which are only inapplicable to GNU/Hurd.
10845 * manual/job.texi: Likewise.
10846 * manual/llio.texi: Likewise.
10847 (O_NOCTTY): Document as present on GNU/Linux.
10848 * manual/maint.texi: Likewise.
10849 * manual/memory.texi: Likewise.
10850 * manual/pattern.texi: Likewise.
10851 * manual/pipe.texi: Likewise.
10852 * manual/process.texi: Likewise.
10853 * manual/resource.texi: Likewise.
10854 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10856 * manual/setjmp.texi: Likewise.
10857 * manual/signal.texi: Likewise.
10858 * manual/startup.texi: Likewise.
10859 * manual/stdio.texi: Likewise.
10860 * manual/terminal.texi: Likewise.
10861 (ONLCR): Document as POSIX.
10862 (OXTABS): Document availability on GNU/Linux as XTABS.
10863 (ONOEOT): Document availability separately from other bits.
10864 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10865 * manual/time.texi: Likewise.
10866 * manual/users.texi: Likewise.
10867 * INSTALL: Regenerated.
10868 * sysdeps/gnu/errlist.c: Regenerated.
10870 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10871 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10872 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10874 * configure: Regenerated.
10876 2012-03-07 Joseph Myers <joseph@codesourcery.com>
10878 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10879 default includes instead of AC_HEADER_CHECK.
10880 * sysdeps/i386/configure: Regenerated.
10883 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10884 * math/s_cacoshf.c (__cacoshf): Likewise.
10885 * math/s_cacoshl.c (__cacoshl): Likewise.
10886 * math/s_casinh.c (__casinh): Set signs of result from argument.
10887 * math/s_casinhf.c (__casinhf): Likewise.
10888 * math/s_casinhl.c (__casinhl): Likewise.
10889 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10890 (casinh_test): Add more tests.
10891 * sysdeps/i386/fpu/libm-test-ulps: Update.
10892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10894 2012-03-07 Ulrich Drepper <drepper@gmail.com>
10896 * po/zh_TW.po: Update from translation team.
10898 * login/Makefile (distribute): Remove variable.
10899 * catgets/Makefile: Likewise.
10900 * mach/Makefile: Likewise.
10901 * malloc/Makefile: Likewise.
10902 * misc/Makefile: Likewise.
10903 * iconv/Makefile: Likewise.
10904 * nscd/Makefile: Likewise.
10905 * hurd/Makefile: Likewise.
10906 * manual/Makefile: Likewise.
10907 * locale/Makefile: Likewise.
10908 * intl/Makefile: Likewise.
10909 * conform/Makefile: Likewise.
10910 * nss/Makefile: Likewise.
10911 * time/Makefile: Likewise.
10912 * soft-fp/Makefile: Likewise.
10913 * dirent/Makefile: Likewise.
10914 * gmon/Makefile: Likewise.
10915 * po/Makefile: Likewise.
10916 * rt/Makefile: Likewise.
10917 * socket/Makefile: Likewise.
10918 * math/Makefile: Likewise.
10919 * signal/Makefile: Likewise.
10920 * debug/Makefile: Likewise.
10921 * elf/Makefile: Likewise.
10922 * timezone/Makefile: Likewise.
10923 * stdlib/Makefile: Likewise.
10924 * iconvdata/Makefile: Likewise.
10925 * sunrpc/Makefile: Likewise.
10926 * io/Makefile: Likewise.
10927 * argp/Makefile: Likewise.
10928 * inet/Makefile: Likewise.
10929 * hesiod/Makefile: Likewise.
10930 * grp/Makefile: Likewise.
10931 * csu/Makefile: Likewise.
10932 * wctype/Makefile: Likewise.
10933 * crypt/Makefile: Likewise.
10934 * libio/Makefile: Likewise.
10935 * string/Makefile: Likewise.
10936 * nis/Makefile: Likewise.
10937 * resolv/Makefile: Likewise.
10938 * stdio-common/Makefile: Likewise.
10939 * wcsmbs/Makefile: Likewise.
10940 * dlfcn/Makefile: Likewise.
10941 * posix/Makefile: Likewise.
10944 * timezone/Makefile: Don't install timezone files, just the programs
10947 2012-03-06 Ulrich Drepper <drepper@gmail.com>
10949 * nss/databases.def: Add missing gshadow entry.
10951 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10953 2012-03-06 Marek Polacek <polacek@redhat.com>
10956 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10957 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10958 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10959 * stdio-common/tst-long-dbl-fphex.c: New file.
10961 2012-03-06 David S. Miller <davem@davemloft.net>
10963 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10964 (set_obp_int): New function.
10965 (get_obp_int): New function.
10966 (__get_clockfreq_via_dev_openprom): Likewise.
10967 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10968 Avoid unused variable warnings on 'val' and use builtin_expect.
10969 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10971 (INLINE_CLONE_SYSCALL): Likewise.
10973 2012-03-05 David S. Miller <davem@davemloft.net>
10975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10977 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10981 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10982 only for |x| >= 40.
10983 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10985 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
10987 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10988 Replace gettimeofday with __vdso_gettimeofday.
10990 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10991 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10992 __vdso_clock_gettime and __vdso_getcpu.
10994 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10995 time with __vdso_time.
10997 2012-03-05 Joseph Myers <joseph@codesourcery.com>
10999 * manual/lang.texi (size_t): Note types to which size_t may be
11000 equivalent with the GNU C Library, but do not describe when
11001 differences between them are significant.
11003 2012-03-05 Andreas Jaeger <aj@suse.de>
11005 * sysdeps/i386/fpu/libm-test-ulps: Update.
11007 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11010 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11011 (__ieee754_pow): Save and restore rounding mode and use
11012 round-to-nearest for main computations.
11013 * math/libm-test.inc (pow_test_tonearest): New function.
11014 (pow_test_towardzero): Likewise.
11015 (pow_test_downward): Likewise.
11016 (pow_test_upward): Likewise.
11017 (main): Call the new functions.
11018 * sysdeps/i386/fpu/libm-test-ulps: Update.
11019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11022 * math/libm-test.inc (cosh_test_tonearest): New function.
11023 (cosh_test_towardzero): Likewise.
11024 (cosh_test_downward): Likewise.
11025 (cosh_test_upward): Likewise.
11026 (sinh_test_tonearest): Likewise.
11027 (sinh_test_towardzero): Likewise.
11028 (sinh_test_downward): Likewise.
11029 (sinh_test_upward): Likewise.
11030 (main): Call the new functions.
11031 * sysdeps/i386/fpu/libm-test-ulps: Update.
11032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11034 2012-03-05 Tom de Vries <tom@codesourcery.com>
11036 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11037 default stack guard is set in last bytes.
11038 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11040 2012-03-05 Kees Cook <keescook@chromium.org>
11042 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
11045 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11046 possibly allocate from heap instead of stack.
11047 * stdio-common/bug-vfprintf-nargs.c: New file.
11048 * stdio-common/Makefile (tests): Add nargs overflow test.
11050 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11054 2012-03-03 Marek Polacek <polacek@redhat.com>
11056 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11057 * math/math_private.h: Likewise.
11058 * stdlib/tst-strtod.c: Likewise.
11059 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11060 * sysdeps/x86_64/bits/atomic.h: Likewise.
11062 2012-03-02 David S. Miller <davem@davemloft.net>
11064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11068 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11069 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11070 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11071 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11073 2012-03-02 Roland McGrath <roland@hack.frob.com>
11076 * manual/examples/README: New file, says the example source files
11077 can be used under GPL>=2.
11078 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11079 line containing just "*/".
11080 * manual/examples/add.c: Add copyright header (GPL>=2).
11081 * manual/examples/argp-ex1.c: Likewise.
11082 * manual/examples/argp-ex2.c: Likewise.
11083 * manual/examples/argp-ex3.c: Likewise.
11084 * manual/examples/argp-ex4.c: Likewise.
11085 * manual/examples/atexit.c: Likewise.
11086 * manual/examples/db.c: Likewise.
11087 * manual/examples/dir.c: Likewise.
11088 * manual/examples/dir2.c: Likewise.
11089 * manual/examples/execinfo.c: Likewise.
11090 * manual/examples/filecli.c: Likewise.
11091 * manual/examples/filesrv.c: Likewise.
11092 * manual/examples/fmtmsgexpl.c: Likewise.
11093 * manual/examples/genpass.c: Likewise.
11094 * manual/examples/inetcli.c: Likewise.
11095 * manual/examples/inetsrv.c: Likewise.
11096 * manual/examples/isockad.c: Likewise.
11097 * manual/examples/longopt.c: Likewise.
11098 * manual/examples/memopen.c: Likewise.
11099 * manual/examples/memstrm.c: Likewise.
11100 * manual/examples/mkfsock.c: Likewise.
11101 * manual/examples/mkisock.c: Likewise.
11102 * manual/examples/mygetpass.c: Likewise.
11103 * manual/examples/pipe.c: Likewise.
11104 * manual/examples/popen.c: Likewise.
11105 * manual/examples/rprintf.c: Likewise.
11106 * manual/examples/search.c: Likewise.
11107 * manual/examples/select.c: Likewise.
11108 * manual/examples/setjmp.c: Likewise.
11109 * manual/examples/sigh1.c: Likewise.
11110 * manual/examples/sigusr.c: Likewise.
11111 * manual/examples/stpcpy.c: Likewise.
11112 * manual/examples/strdupa.c: Likewise.
11113 * manual/examples/strftim.c: Likewise.
11114 * manual/examples/strncat.c: Likewise.
11115 * manual/examples/subopt.c: Likewise.
11116 * manual/examples/swapcontext.c: Likewise.
11117 * manual/examples/termios.c: Likewise.
11118 * manual/examples/testopt.c: Likewise.
11119 * manual/examples/testpass.c: Likewise.
11120 * manual/examples/timeval_subtract.c: Likewise.
11123 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11125 * manual/timeval_subtract.c.texi: ... here, new file.
11127 2012-03-02 David S. Miller <davem@davemloft.net>
11129 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11131 2012-03-02 Joseph Myers <joseph@codesourcery.com>
11134 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11135 (__sin): Save and restore rounding mode and use round-to-nearest
11136 for all computations.
11137 (__cos): Save and restore rounding mode and use round-to-nearest
11138 for all computations.
11139 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11141 (tan): Save and restore rounding mode and use round-to-nearest for
11143 * math/libm-test.inc (cos_test_tonearest): New function.
11144 (cos_test_towardzero): Likewise.
11145 (cos_test_downward): Likewise.
11146 (cos_test_upward): Likewise.
11147 (sin_test_tonearest): Likewise.
11148 (sin_test_towardzero): Likewise.
11149 (sin_test_downward): Likewise.
11150 (sin_test_upward): Likewise.
11151 (tan_test_tonearest): Likewise.
11152 (tan_test_towardzero): Likewise.
11153 (tan_test_downward): Likewise.
11154 (tan_test_upward): Likewise.
11155 (main): Call the new functions.
11156 * sysdeps/i386/fpu/libm-test-ulps: Update.
11157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11160 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11161 small n, then large n, before computing and testing k+n.
11162 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11163 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11165 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11167 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11168 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11169 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11170 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11171 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11172 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11173 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11174 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11175 * math/libm-test.inc (scalbn_test): Add more tests.
11176 (scalbln_test): Likewise.
11178 * manual/filesys.texi (mode_t): Describe constraints on size and
11179 signedness, not exact equivalence to a particular type.
11181 (ino64_t): Likewise.
11183 (nlink_t): Likewise.
11184 (blkcnt_t): Likewise.
11185 (blkcnt64_t): Likewise.
11186 * manual/llio.texi (off_t): Likewise.
11189 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11190 (__ieee754_exp): Save and restore rounding mode and use
11191 round-to-nearest for all computations.
11192 * math/libm-test.inc (exp_test_tonearest): New function.
11193 (exp_test_towardzero): Likewise.
11194 (exp_test_downward): Likewise.
11195 (exp_test_upward): Likewise.
11196 (main): Call the new functions.
11197 * sysdeps/i386/fpu/libm-test-ulps: Update.
11198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11200 2012-03-01 Chris Demetriou <cgd@google.com>
11202 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11203 have predictable order.
11205 2012-03-01 David S. Miller <davem@davemloft.net>
11207 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11209 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11210 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11211 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11212 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11214 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11215 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11216 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11218 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11219 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11220 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11221 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11222 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11226 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11227 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11228 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11230 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11231 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11232 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11233 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11234 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11235 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11236 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11237 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11238 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11239 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11240 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11241 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11242 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11243 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11244 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11245 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11246 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11247 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11248 * sysdeps/sparc/elf/configure: Regenerated.
11250 2012-03-01 Joseph Myers <joseph@codesourcery.com>
11252 * configure.in (AS, LD): Require binutils 2.20 or later.
11253 * configure: Regenerated.
11254 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11255 as required minimum version.
11256 * INSTALL: Regenerated.
11260 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11261 before squaring exponent.
11262 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11263 bottom long double and 27 bits of top long double before squaring
11265 * math/libm-test.inc (erfc_test): Add more tests.
11266 * sysdeps/i386/fpu/libm-test-ulps: Update.
11267 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11270 2012-03-01 Kai Tietz <ktietz@redhat.com>
11272 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11273 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11274 containing bit-fields.
11275 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11276 * soft-fp/single.h (_FP_UNION_S): Likewise.
11277 * soft-fp/double.h (_FP_UNION_D): Likewise.
11279 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11282 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11283 not include ../strcmp.S.
11284 [USE_AS_STRNCASECMP_L]: Likewise.
11285 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11286 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11287 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11288 (__strncasecmp_l_ia32): Define as alias to
11289 __strncasecmp_l_nonascii.
11292 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11293 * sysdeps/i386/fpu/libm-test-ulps: Update.
11294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11296 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11299 2012-02-29 Jeff Law <law@redhat.com>
11301 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11302 out of bounds read.
11304 2012-02-29 Marek Polacek <polacek@redhat.com>
11307 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11308 * elf/Makefile: Add rules to run tst-unused-dep.out.
11310 2012-02-28 David S. Miller <davem@davemloft.net>
11312 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11313 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11314 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11315 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11316 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11317 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11319 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11321 * math/libm-test.inc (llround_test): Move one test from
11322 lround_test. Use TEST_f_L in moved test.
11323 (lround_test): Move misplaced test to llround_test. Add testcase
11326 2012-02-28 Ulrich Drepper <drepper@gmail.com>
11328 * sysdeps/x86_64/fpu/e_expf.S: New file.
11329 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11331 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11334 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11335 of remain_len that may cause incomplete multi-byte character and
11337 * posix/bug-regex33.c: New file.
11338 * posix/Makefile (tests): Add bug-regex33.
11340 2012-02-28 Joseph Myers <joseph@codesourcery.com>
11342 * manual/macros.texi: New file.
11343 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11344 * manual/libc.texinfo: Include macros.texi.
11345 * manual/creatute.texi: Likewise.
11346 * manual/install.texi: Likewise.
11347 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11348 @glibcadj{} in references to the GNU C Library.
11349 * manual/charset.texi: Likewise.
11350 * manual/conf.texi: Likewise.
11351 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11352 when not using those macros.
11353 * manual/creature.texi: Likewise.
11354 * manual/crypt.texi: Likewise.
11355 * manual/errno.texi: Likewise.
11356 * manual/filesys.texi: Likewise.
11357 * manual/header.texi: Likewise.
11358 * manual/install.texi: Likewise.
11359 * manual/intro.texi: Likewise.
11360 * manual/io.texi: Likewise.
11361 * manual/job.texi: Likewise.
11362 * manual/lang.texi: Likewise.
11363 * manual/libc.texiinfo: Likewise.
11364 * manual/llio.texi: Likewise.
11365 * manual/locale.texi: Likewise.
11366 * manual/maint.texi: Likewise.
11367 * manual/math.texi: Likewise.
11368 * manual/memory.texi: Likewise.
11369 * manual/message.texi: Likewise.
11370 * manual/nss.texi: Likewise.
11371 * manual/pattern.texi: Likewise.
11372 * manual/process.texi: Likewise.
11373 * manual/resource.texi: Likewise.
11374 * manual/search.texi: Likewise.
11375 * manual/setjmp.texi: Likewise.
11376 * manual/signal.texi: Likewise.
11377 * manual/socket.texi: Likewise.
11378 * manual/startup.texi: Likewise.
11379 * manual/stdio.texi: Likewise.
11380 * manual/string.texi: Likewise.
11381 * manual/sysinfo.texi: Likewise.
11382 * manual/syslog.texi: Likewise.
11383 * manual/terminal.texi: Likewise.
11384 * manual/time.texi: Likewise.
11385 * manual/users.texi: Likewise.
11386 * INSTALL: Regenerated.
11387 * NOTES: Regenerated.
11388 * sysdeps/gnu/errlist.c: Regenerated.
11390 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11392 * include/dirent.h: Include <dirstream.h> before
11395 2012-02-28 David S. Miller <davem@davemloft.net>
11397 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11398 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11399 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11400 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11402 2012-02-27 David S. Miller <davem@davemloft.net>
11404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11406 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11407 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11410 frame pointer instead of stack pointer relative arg slot.
11411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11412 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11413 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11415 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11418 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11420 2012-02-27 David S. Miller <davem@davemloft.net>
11422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11426 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11427 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11428 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11429 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11431 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11433 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11434 later. Allow versions 5-9.
11435 * configure: Regenerated.
11436 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11437 required minimum version and 4.6 as recommended version. Do not
11438 mention bugs in GCC 2.7 and 2.8.
11439 * INSTALL: Regenerated.
11441 2012-02-27 David S. Miller <davem@davemloft.net>
11443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11447 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11448 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11449 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11450 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11452 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11453 manipulate bits before adding and subtracting TWO112[sx].
11454 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11456 2012-02-27 Roland McGrath <roland@hack.frob.com>
11459 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11460 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11461 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11462 being in POSIX, because they are in 1003.1-2008.
11464 * rt/tst-aio.c: Include <fcntl.h>.
11465 * rt/tst-aio7.c: Likewise.
11466 * rt/tst-aio64.c: Likewise.
11468 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11470 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11472 * manual/install.texi (--with-headers): Describe headers as
11473 interface headers, not private headers.
11474 (Specific advice for GNU/Linux systems): Describe use of headers
11475 from "make headers_install", not private headers from older
11477 * INSTALL: Regenerated.
11478 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11480 * sysdeps/unix/sysv/linux/configure: Regenerated.
11482 * manual/llio.texi (fclean): Remove documentation.
11484 * manual/Makefile (libc-texi-generated): New variable. Include
11486 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11487 $(libc-texi-generated), not duplicated list of files.
11488 (version.texi, stamp-version): New rules.
11489 (realclean): Remove $(libc-texi-generated), not individual files
11490 from that list. Do not remove dir-add.texinfo.
11491 * manual/libc.texinfo: Comment out uses of edition numbers and
11492 references to printed manual. Remove last-updated dates.
11493 (EDITION): Comment out.
11495 (VERSION, UPDATED): Remove.
11496 (version.texi): Include.
11498 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11500 * sysdeps/posix/spawni.c: Include <signal.h>.
11501 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11502 * sysdeps/pthread/aio_fsync.c: Likewise.
11504 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11506 * conform/Makefile (tests): Run only when not cross-compiling and
11507 when fast-check is not defined.
11509 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11510 * conform/data/limits.h-data: Fixes for POSIX2008.
11511 * conform/run-conformtest.sh: Run all tests.
11512 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11514 * include/bits/dlfcn.h: Likewise.
11515 * include/langinfo.h: Likewise.
11516 * include/monetary.h: Likewise.
11517 * include/sys/poll.h: Likewise.
11519 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11521 * posix/spawn.h: Define __need_sigset_t.
11522 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11523 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11524 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11525 to get sigevent_t only.
11526 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11527 only for __USE_GNU.
11528 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11529 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11530 process_vm_writev only for __USE_GNU.
11531 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11533 * conform/Makefile: For now ignore errors from run-conformtest.
11534 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11535 POSIX to avoid namespace pollution. Don't prepend headers.
11536 * conform/data/aio.h-data: Fixes for POSIX testing.
11537 * conform/data/fcntl.h-data: Likewise.
11538 * conform/data/glob.h-data: Likewise.
11539 * conform/data/grp.h-data: Likewise.
11540 * conform/data/pthread.h-data: Likewise.
11541 * conform/data/pwd.h-data: Likewise.
11542 * conform/data/signal.h-data: Likewise.
11543 * conform/data/spawn.h-data: Likewise.
11544 * conform/data/stdio.h-data: Likewise.
11545 * conform/data/stdlib.h-data: Likewise.
11546 * conform/data/stropts.h-data: Likewise.
11547 * conform/data/sys/mman.h-data: Likewise.
11548 * conform/data/sys/stat.h-data: Likewise.
11549 * conform/data/sys/types.h-data: Likewise.
11550 * conform/data/sys/wait.h-data: Likewise.
11551 * conform/data/time.h-data: Likewise.
11552 * conform/data/unistd.h-data: Likewise.
11553 * conform/data/utime.h-data: Likewise.
11555 * io/sys/stat.h: fchmod was always in POSIX.
11556 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11557 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11558 * rt/aio.h: Define __need_timespec before including <time.h>.
11559 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11560 struct. Add forward declaration of pthread_attr_t and use it in
11562 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11563 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11564 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11565 always remove CLK_TCK definition.
11567 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11569 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11571 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11573 * conform/run-conformtest.sh: New file.
11574 * conform/Makefile: Run run-conformtest for tests.
11575 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11578 * conform/data/uchar.h-data: New file.
11579 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11580 * conform/data/arpa/inet.h-data: Likewise.
11581 * conform/data/assert.h-data: Likewise.
11582 * conform/data/complex.h-data: Likewise.
11583 * conform/data/cpio.h-data: Likewise.
11584 * conform/data/ctype.h-data: Likewise.
11585 * conform/data/dirent.h-data: Likewise.
11586 * conform/data/dlfcn.h-data: Likewise.
11587 * conform/data/errno.h-data: Likewise.
11588 * conform/data/fcntl.h-data: Likewise.
11589 * conform/data/float.h-data: Likewise.
11590 * conform/data/fmtmsg.h-data: Likewise.
11591 * conform/data/fnmatch.h-data: Likewise.
11592 * conform/data/ftw.h-data: Likewise.
11593 * conform/data/glob.h-data: Likewise.
11594 * conform/data/grp.h-data: Likewise.
11595 * conform/data/iconv.h-data: Likewise.
11596 * conform/data/inttypes.h-data: Likewise.
11597 * conform/data/langinfo.h-data: Likewise.
11598 * conform/data/libgen.h-data: Likewise.
11599 * conform/data/limits.h-data: Likewise.
11600 * conform/data/locale.h-data: Likewise.
11601 * conform/data/math.h-data: Likewise.
11602 * conform/data/monetary.h-data: Likewise.
11603 * conform/data/mqueue.h-data: Likewise.
11604 * conform/data/ndbm.h-data: Likewise.
11605 * conform/data/net/if.h-data: Likewise.
11606 * conform/data/netdb.h-data: Likewise.
11607 * conform/data/netinet/in.h-data: Likewise.
11608 * conform/data/nl_types.h-data: Likewise.
11609 * conform/data/poll.h-data: Likewise.
11610 * conform/data/pthread.h-data: Likewise.
11611 * conform/data/pwd.h-data: Likewise.
11612 * conform/data/regex.h-data: Likewise.
11613 * conform/data/sched.h-data: Likewise.
11614 * conform/data/search.h-data: Likewise.
11615 * conform/data/semaphore.h-data: Likewise.
11616 * conform/data/setjmp.h-data: Likewise.
11617 * conform/data/signal.h-data: Likewise.
11618 * conform/data/spawn.h-data: Likewise.
11619 * conform/data/stdarg.h-data: Likewise.
11620 * conform/data/stdio.h-data: Likewise.
11621 * conform/data/stdlib.h-data: Likewise.
11622 * conform/data/string.h-data: Likewise.
11623 * conform/data/strings.h-data: Likewise.
11624 * conform/data/stropts.h-data: Likewise.
11625 * conform/data/sys/ipc.h-data: Likewise.
11626 * conform/data/sys/mman.h-data: Likewise.
11627 * conform/data/sys/msg.h-data: Likewise.
11628 * conform/data/sys/resource.h-data: Likewise.
11629 * conform/data/sys/select.h-data: Likewise.
11630 * conform/data/sys/sem.h-data: Likewise.
11631 * conform/data/sys/shm.h-data: Likewise.
11632 * conform/data/sys/socket.h-data: Likewise.
11633 * conform/data/sys/stat.h-data: Likewise.
11634 * conform/data/sys/statvfs.h-data: Likewise.
11635 * conform/data/sys/time.h-data: Likewise.
11636 * conform/data/sys/timeb.h-data: Likewise.
11637 * conform/data/sys/times.h-data: Likewise.
11638 * conform/data/sys/types.h-data: Likewise.
11639 * conform/data/sys/uio.h-data: Likewise.
11640 * conform/data/sys/un.h-data: Likewise.
11641 * conform/data/sys/utsname.h-data: Likewise.
11642 * conform/data/sys/wait.h-data: Likewise.
11643 * conform/data/syslog.h-data: Likewise.
11644 * conform/data/tar.h-data: Likewise.
11645 * conform/data/termios.h-data: Likewise.
11646 * conform/data/utime.h-data: Likewise.
11647 * conform/data/utmpx.h-data: Likewise.
11648 * conform/data/varargs.h-data: Likewise.
11649 * conform/data/wchar.h-data: Likewise.
11650 * conform/data/wctype.h-data: Likewise.
11651 * conform/data/wordexp.h-data: Likewise.
11653 * include/stropts.h: New file.
11654 * include/uchar.h: New file.
11655 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11656 * include/assert.h: Likewise.
11657 * include/ctype.h: Likewise.
11658 * include/dirent.h: Likewise.
11659 * include/dlfcn.h: Likewise.
11660 * include/fcntl.h: Likewise.
11661 * include/fnmatch.h: Likewise.
11662 * include/glob.h: Likewise.
11663 * include/grp.h: Likewise.
11664 * include/libio.h: Likewise.
11665 * include/locale.h: Likewise.
11666 * include/math.h: Likewise.
11667 * include/net/if.h: Likewise.
11668 * include/netdb.h: Likewise.
11669 * include/netinet/in.h: Likewise.
11670 * include/pthread.h: Likewise.
11671 * include/pwd.h: Likewise.
11672 * include/regex.h: Likewise.
11673 * include/sched.h: Likewise.
11674 * include/search.h: Likewise.
11675 * include/setjmp.h: Likewise.
11676 * include/signal.h: Likewise.
11677 * include/stdio.h: Likewise.
11678 * include/stdlib.h: Likewise.
11679 * include/string.h: Likewise.
11680 * include/sys/cdefs.h: Likewise.
11681 * include/sys/mman.h: Likewise.
11682 * include/sys/msg.h: Likewise.
11683 * include/sys/resource.h: Likewise.
11684 * include/sys/select.h: Likewise.
11685 * include/sys/socket.h: Likewise.
11686 * include/sys/stat.h: Likewise.
11687 * include/sys/statvfs.h: Likewise.
11688 * include/sys/time.h: Likewise.
11689 * include/sys/times.h: Likewise.
11690 * include/sys/uio.h: Likewise.
11691 * include/sys/utsname.h: Likewise.
11692 * include/sys/wait.h: Likewise.
11693 * include/termios.h: Likewise.
11694 * include/time.h: Likewise.
11695 * include/ulimit.h: Likewise.
11696 * include/unistd.h: Likewise.
11697 * include/utime.h: Likewise.
11698 * include/wchar.h: Likewise.
11699 * include/wctype.h: Likewise.
11700 * include/wordexp.h: Likewise.
11702 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11704 * time/time.h: TIME_UTC must be a macro.
11705 Make timespec_get available for ISO C11 only as well.
11707 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11709 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11710 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11712 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11714 * configure.in: Use -o not -a in test for unsupported multi-arch.
11716 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11718 * manual/texinfo.tex: Update to version 2012-01-19.16.
11720 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11722 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11724 2012-02-24 Roland McGrath <roland@hack.frob.com>
11727 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11728 * manual/fdl-1.3.texi: New file.
11729 * manual/fdl-1.1.texi: File removed.
11732 * manual/libc.texinfo (FDL_VERSION): New @set.
11733 Use it for mention of FDL in cover text.
11734 (Documentation License): Use it in @include file name.
11736 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11737 Roland McGrath <roland@hack.frob.com>
11740 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11741 not LONG_LONG_MAX and LONG_LONG_MIN.
11742 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11743 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11745 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11747 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11751 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11752 manipulate bits before adding and subtracting TWO23[sx].
11753 * math/libm-test.inc (nearbyint_test): Add more tests.
11755 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11758 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11759 bits before adding and subtracting TWO23[sx].
11760 * math/libm-test.inc (rint_test): Add more tests.
11761 (rint_test_tonearest): Likewise.
11762 (rint_test_towardzero): Likewise.
11763 (rint_test_downward): Likewise.
11764 (rint_test_upward: Likewise.
11766 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11769 * include/stdc-predef.h: New file. Extracted from features.h.
11770 * include/features.h: Include stdc-predef.h.
11771 * Makefile (headers): Add stdc-predef.h.
11772 * CONFORMANCE (Compiler limitations): Update.
11774 2012-02-22 Joseph Myers <joseph@codesourcery.com>
11776 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11778 2012-02-21 David S. Miller <davem@davemloft.net>
11780 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11781 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11783 2012-02-20 David S. Miller <davem@davemloft.net>
11785 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11786 using a normal save/restore sequence, rather than allocating a
11787 dummy stack frame just to store a frame pointer and restore.
11788 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11790 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11792 * manual/install.texi: Fix stray word in line-wrapped comment.
11794 2012-02-20 David S. Miller <davem@davemloft.net>
11796 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11797 both binutils and gcc support GOTDATA.
11799 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11800 "rd %pc" in the PIC register setup sequences.
11802 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11803 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11804 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11805 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11806 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11808 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11809 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11811 (SYSCALL_ERROR_HANDLER): Likewise.
11812 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11813 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11814 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11815 (SYSCALL_ERROR_HANDLER): Likewise.
11817 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11818 (HAVE_GCC_GOTDATA): New.
11819 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11820 relocation support in both binutils and gcc.
11821 * sysdeps/sparc/elf/configure: Regenerate.
11823 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11824 * sysdeps/sparc/sparc32/elf/configure: Delete.
11825 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11826 * sysdeps/sparc/sparc64/elf/configure: Delete.
11827 * sysdeps/sparc/elf/configure.in: New file.
11828 * sysdeps/sparc/elf/configure: Generate.
11830 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11831 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11832 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11833 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11834 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11836 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11838 * manual/install.texi: Do not mention specific glibc version
11840 * manual/libc.texinfo (VERSION, UPDATED): Update.
11841 (@copying): Use @copyright{} and range of years.
11843 2012-02-21 Joseph Myers <joseph@codesourcery.com>
11846 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11847 [crti.S not in sysdirs] (generated): Do not append.
11848 [crti.S not in sysdirs] (omit-deps): Likewise.
11849 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11850 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11851 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11852 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11853 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11855 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11856 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11857 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11858 * csu/defs.awk: Remove file.
11859 * sysdeps/generic/initfini.c: Likewise.
11860 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11862 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11865 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11867 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11868 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11869 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11871 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11872 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11874 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11875 (__EPOLL_PACKED): Define to empty if not defined by
11877 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11881 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11883 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11884 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11885 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11886 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11888 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11892 2012-02-20 Joseph Myers <joseph@codesourcery.com>
11894 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11896 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11897 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11898 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11901 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11903 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11904 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11906 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11908 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11909 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11911 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11913 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11916 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11918 * math/w_acos.c: Use non-signaling floating-point comparisons.
11919 * math/w_acosf.c: Likewise.
11920 * math/w_acosh.c: Likewise.
11921 * math/w_acoshf.c: Likewise.
11922 * math/w_acoshl.c: Likewise.
11923 * math/w_acosl.c: Likewise.
11924 * math/w_asin.c: Likewise.
11925 * math/w_asinf.c: Likewise.
11926 * math/w_asinl.c: Likewise.
11927 * math/w_atanh.c: Likewise.
11928 * math/w_atanhf.c: Likewise.
11929 * math/w_atanhl.c: Likewise.
11930 * math/w_exp2.c: Likewise.
11931 * math/w_exp2f.c: Likewise.
11932 * math/w_exp2l.c: Likewise.
11933 * math/w_j0.c: Likewise.
11934 * math/w_j0f.c: Likewise.
11935 * math/w_j0l.c: Likewise.
11936 * math/w_j1.c: Likewise.
11937 * math/w_j1f.c: Likewise.
11938 * math/w_j1l.c: Likewise.
11939 * math/w_jn.c: Likewise.
11940 * math/w_jnf.c: Likewise.
11941 * math/w_log.c: Likewise.
11942 * math/w_log10.c: Likewise.
11943 * math/w_log10f.c: Likewise.
11944 * math/w_log10l.c: Likewise.
11945 * math/w_log2.c: Likewise.
11946 * math/w_log2f.c: Likewise.
11947 * math/w_log2l.c: Likewise.
11948 * math/w_logf.c: Likewise.
11949 * math/w_logl.c: Likewise.
11950 * math/w_sqrt.c: Likewise.
11951 * math/w_sqrtf.c: Likewise.
11952 * math/w_sqrtl.c: Likewise.
11953 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11954 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11955 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11956 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11957 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11959 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11962 * manual/string.texi (strnlen): Use correct parameter name in
11963 equivalent expression.
11965 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11968 * manual/users.texi (seteuid): Consistently use neweuid for
11971 2012-02-19 Joseph Myers <joseph@codesourcery.com>
11974 * manual/nss.texi (Services in the NSS configuration): Correct
11975 list of services in example configuration file.
11977 2012-02-19 Nick Bowler <nbowler@draconx.ca>
11980 * manual/arith.texi: Remove statements about negative zero
11981 behaving identically to zero.
11983 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11986 * manual/install.texi: Do not document upgrading from libc5.
11988 2012-02-18 Joseph Myers <joseph@codesourcery.com>
11991 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11993 2012-02-18 David S. Miller <davem@davemloft.net>
11995 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11996 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11997 %o7 across the call.
11998 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12000 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12001 SETUP_PIC_REG_LEAF.
12002 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12003 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12004 * sysdeps/sparc/crtn.S: Likewise.
12006 2012-02-17 Ulrich Drepper <drepper@gmail.com>
12008 * aout/Makefile: Remove.
12010 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12013 * manual/examples/argp-ex1.c (main): Format definition in GNU
12015 * manual/examples/argp-ex2.c (main): Likewise.
12016 * manual/examples/argp-ex3.c (main): Likewise.
12017 * manual/examples/argp-ex4.c (main): Likewise.
12018 * manual/examples/longopt.c (main): Use new-style prototype
12020 * manual/examples/strncat.c (main): Specify return type and use
12021 (void) for arguments.
12022 * manual/examples/subopt.c (main): Use char **argv argument.
12024 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12027 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12030 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12033 * manual/string.texi (strchr): Change when strchrnul is
12036 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12039 * manual/locale.texi (setlocale): Document LOCPATH.
12041 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12044 * manual/process.texi (execle): Move @dots{} before last argument.
12046 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
12049 * manual/charset.texi (Generic Charset Conversion): Fix typo
12050 (LC_TYPE -> LC_CTYPE).
12052 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12055 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12056 (scalbnf): Likewise.
12057 (scalbnl): Likewise.
12058 (scalbln): Likewise.
12059 (scalblnf): Likewise.
12060 (scalblnl): Likewise.
12061 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12062 (vwarnx): Likewise.
12065 * manual/filesys.texi (telldir): Use braces around return type.
12066 * manual/llio.texi (mmap): Add space after comma.
12067 (mmap64): Likewise.
12068 * manual/math.texi (jn): Use @var{} on parameter names.
12074 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12076 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12078 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12079 (sched_get_priority_max): Likewise.
12080 * manual/signal.texi (sigvec): Add space after comma.
12081 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12083 (if_indextoname): Likewise.
12084 (if_freenameindex): Likewise.
12085 (sendto): Use ',' instead of '.' in prototype.
12086 * manual/startup.texi (syscall): Use @dots{} instead of literal
12088 * manual/stdio.texi (__fpending): Separate initial words of
12089 paragraph from @deftypefun line.
12090 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12092 (vsyslog): Use @var{} on parameter names.
12093 * manual/terminal.texi (stty): Use @var{} on parameter names.
12094 * manual/users.texi (getutmp): Use @var{} on parameter names.
12095 (getutmpx): Likewise.
12097 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12100 * manual/stdio.texi (fopen): Fix typos in description of
12103 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12106 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12107 get clock_id definition.
12109 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
12112 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12113 (madvise): Cast every argument to void on its own.
12115 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12118 * manual/startup.texi (Exit Status): Fix typo.
12120 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12123 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12124 * manual/examples/argp-ex2.c: Likewise.
12125 * manual/examples/argp-ex3.c: Likewise.
12127 2012-02-16 Richard Henderson <rth@redhat.com>
12129 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12130 * sysdeps/s390/s390-32/initfini.c: Remove.
12131 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12132 * sysdeps/s390/s390-64/initfini.c: Remove.
12134 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12136 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12137 compiler output for sysdeps/generic/initfini.c.
12138 * sysdeps/sh/elf/initfini.c: Remove file.
12140 2012-02-16 David S. Miller <davem@davemloft.net>
12143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12145 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12146 * sysdeps/sparc/crti.S: New file.
12147 * sysdeps/sparc/crtn.S: New file.
12148 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12149 * sysdeps/sparc/sparc64/Makefile: Likewise.
12151 2012-02-15 Mike Frysinger <vapier@gentoo.org>
12154 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12156 2012-02-15 Roland McGrath <roland@hack.frob.com>
12159 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12161 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12162 (write, read, close): Likewise.
12163 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12165 2012-02-15 Joseph Myers <joseph@codesourcery.com>
12167 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12168 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12169 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12170 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12172 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12176 2012-02-14 Marek Polacek <polacek@redhat.com>
12178 * sysdeps/x86_64/crti.S: New file.
12179 * sysdeps/x86_64/crtn.S: New file.
12180 * sysdeps/x86_64/elf/initfini.c: Remove file.
12182 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12184 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12185 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12186 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12187 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12189 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12193 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12195 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12196 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12197 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12198 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12200 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12204 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12206 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12207 __feraiseexcept instead of feraiseexcept.
12209 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12210 nanosleep invocations.
12211 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12212 strings, and add error checking for a nanosleep invocations.
12214 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12216 Replace FSF snail mail address with URLs, as per GNU coding standards.
12217 Most of the snail mail addresses were wrong anyway, and omitting
12218 them makes the source code easier to maintain. Almost all of the
12219 changes are to license notices and to locale LC_IDENTIFICATION
12220 addresses, except for this one:
12221 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12222 not its snail mail address.
12224 2012-02-09 Richard Henderson <rth@twiddle.net>
12226 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12227 of kernel-features.h.
12229 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12231 2012-02-08 Marek Polacek <polacek@redhat.com>
12233 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12234 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12235 * sysdeps/gnu/_G_config.h: Likewise.
12236 * sysdeps/generic/_G_config.h: Likewise.
12238 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12240 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12244 * sysdeps/powerpc/powerpc32/crti.S: New file.
12245 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12246 * sysdeps/powerpc/powerpc64/crti.S: New file.
12247 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12249 * Makeconfig (have-initfini): Don't set.
12250 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12251 * configure.in (nopic_initfini): Don't substitute.
12252 * config.h.in (HAVE_INITFINI): Don't #undef.
12253 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12254 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12256 2012-02-08 Joseph Myers <joseph@codesourcery.com>
12258 Support crti.S and crtn.S provided directly by architectures.
12259 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12260 [crti.S in sysdirs] (omit-deps): Likewise.
12261 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12262 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12263 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12264 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12265 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12266 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12267 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12268 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12269 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12270 compiler output for sysdeps/generic/initfini.c.
12271 * sysdeps/i386/elf/Makefile: Remove file.
12272 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12274 2012-02-07 Marek Polacek <polacek@redhat.com>
12276 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12277 * sysdeps/gnu/_G_config.h: Likewise.
12278 * sysdeps/mach/hurd/_G_config.h: Likewise.
12280 2012-02-07 Marek Polacek <polacek@redhat.com>
12282 * math/Makefile (tests): Add tst-CMPLX2.
12283 * math/tst-CMPLX2.c: New file.
12285 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12287 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12289 * math/libm-test.inc (jn_test): Add missing L suffix.
12291 2012-02-06 Marek Polacek <polacek@redhat.com>
12293 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12294 * sysdeps/i386/fpu/e_powf.S: Likewise.
12295 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12296 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12297 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12298 * sysdeps/i386/fpu/e_pow.S: Likewise.
12299 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12300 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12301 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12302 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12303 * sysdeps/i386/fpu/e_log2.S: Likewise.
12304 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12305 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12306 * sysdeps/i386/fpu/e_powl.S: Likewise.
12307 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12308 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12309 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12310 * sysdeps/i386/fpu/e_logl.S: Likewise.
12311 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12312 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12313 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12314 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12315 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12316 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12317 * sysdeps/i386/fpu/e_log.S: Likewise.
12318 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12319 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12320 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12321 * sysdeps/i386/fpu/e_logf.S: Likewise.
12322 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12323 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12324 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12325 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12326 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12327 * sysdeps/i386/fpu/e_log10.S: Likewise.
12328 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12329 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12330 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12331 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12332 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12333 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12334 * sysdeps/i386/asm-syntax.h: Likewise.
12335 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12336 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12337 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12338 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12339 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12340 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12341 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12342 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12343 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12344 * sysdeps/powerpc/sysdep.h: Likewise.
12345 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12346 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12348 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12351 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12353 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12355 * sysdeps/i386/sysdep.h: Include <features.h>.
12356 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12359 2012-02-05 Joseph Myers <joseph@codesourcery.com>
12361 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12363 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12366 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12368 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12369 (SETUP_PIC_REG): Use GET_PC_THUNK.
12370 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12373 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12375 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12376 for non-PIC compilation.
12377 (SETUP_PIC_REG): Add .p2align directive.
12378 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12379 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12380 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12381 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12382 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12383 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12384 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12385 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12386 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12387 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12388 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12389 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12390 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12391 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12392 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12393 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12394 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12395 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12396 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12397 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12398 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12399 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12400 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12401 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12402 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12404 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12405 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12406 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12407 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12408 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12409 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12410 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12411 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12412 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12413 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12414 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12415 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12416 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12417 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12418 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12420 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12422 * math/tst-CMPLX.c: Include <stdio.h>.
12424 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12426 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12428 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12429 * sysdeps/sparc/bits/mathdef.h: Likewise.
12431 2012-01-31 Marek Polacek <polacek@redhat.com>
12433 * libio/libio.h: Don't define _PARAMS.
12434 * locale/programs/config.h: Don't define PARAMS.
12435 * stdlib/strtol_l.c: Likewise.
12436 (__strtol_l): Remove PARAMS from the prototype.
12438 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12440 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12441 names. Just use the correct names. Remove unnecessary wrapper
12443 * malloc/arena.c: Likewise.
12444 * malloc/hooks.c: Likewise.
12446 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12447 ARENA_TEST says not to. Simplify test for creation of a new arena.
12448 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12450 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12452 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12454 (update_get_addr): New function.
12455 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12456 GET_ADDR_MODULE parameter.
12458 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12460 * crypt/cert.c: Remove __STDC__ conditionals.
12461 * crypt/crypt-entry.c: Likewise.
12462 * crypt/crypt_util.c: Likewise.
12463 * libio/filedoalloc.c: Likewise.
12464 * libio/fileops.c: Likewise.
12465 * libio/genops.c: Likewise.
12466 * libio/iofclose.c: Likewise.
12467 * libio/iofdopen.c: Likewise.
12468 * libio/iofopen.c: Likewise.
12469 * libio/iofopen64.c: Likewise.
12470 * libio/iogetdelim.c: Likewise.
12471 * libio/iopopen.c: Likewise.
12472 * libio/obprintf.c: Likewise.
12473 * libio/oldfileops.c: Likewise.
12474 * libio/oldiofclose.c: Likewise.
12475 * libio/oldiofdopen.c: Likewise.
12476 * libio/oldiofopen.c: Likewise.
12477 * libio/oldiopopen.c: Likewise.
12478 * libio/wfiledoalloc.c: Likewise.
12479 * libio/wgenops.c: Likewise.
12480 * locale/programs/xmalloc.c: Likewise.
12481 * misc/syslog.c: Likewise.
12482 * stdio-common/xbug.c: Likewise.
12483 * string/memchr.c: Likewise.
12484 * string/memcmp.c: Likewise.
12485 * string/memrchr.c: Likewise.
12486 * string/rawmemchr.c: Likewise.
12487 * sysdeps/posix/getcwd.c: Likewise.
12488 * time/strftime_l.c: Likewise.
12490 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12492 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12493 * config.make.in (config-cflags-sse2avx): Define.
12494 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12497 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12499 * scripts/config.guess: Update from upstream config git repository.
12500 * scripts/config.sub: Likewise.
12502 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12504 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12506 (R_TILEPRO_*, R_TILEGX_*): New macros.
12508 * scripts/firstversions.awk: Fix bug in version range handling.
12510 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12512 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12514 * include/sys/epoll.h: New file.
12515 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12518 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12520 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12521 Avoid unnecessary __WORDSIZE == 64 test.
12522 (fmaxf): Use VEX format if possible.
12527 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12528 * math/math_private.h: Remove libc_fegetround* and
12530 * sysdeps/i386/configure.in: Check for -msse2avx.
12531 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12532 also if SSE2AVX is defined.
12533 Remove libc_fegetround* and libc_fesetround*.
12534 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12535 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12536 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12538 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12539 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12540 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12541 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12542 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12544 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12546 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12548 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12550 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12552 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12555 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12557 * Makeconfig (libm): Define.
12558 * elf/Makefile: Add rules to build and run tst-relsort1.
12559 * elf/tst-relsort1.c: New file.
12560 * elf/tst-relsort1mod1.c: New file.
12561 * elf/tst-relsort1mod2.c: New file.
12563 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12565 * math/s_ldexp.c: Remove __STDC__ conditionals.
12566 * math/s_ldexpf.c: Likewise.
12567 * math/s_ldexpl.c: Likewise.
12568 * math/s_nextafter.c: Likewise.
12569 * math/s_nexttowardf.c: Likewise.
12570 * math/s_significand.c: Likewise.
12571 * math/s_significandf.c: Likewise.
12572 * math/s_significandl.c: Likewise.
12573 * math/w_jnl.c: Likewise.
12574 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12575 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12576 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12577 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12578 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12579 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12580 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12581 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12582 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12583 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12584 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12585 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12586 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12587 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12588 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12589 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12590 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12591 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12592 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12593 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12594 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12595 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12596 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12597 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12598 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12599 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12600 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12601 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12602 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12603 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12604 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12605 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12606 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12607 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12608 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12609 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12610 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12611 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12612 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12613 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12614 * sysdeps/ieee754/k_standard.c: Likewise.
12615 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12616 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12617 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12618 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12619 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12620 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12621 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12622 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12623 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12624 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12625 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12626 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12627 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12628 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12629 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12630 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12632 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12633 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12634 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12635 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12636 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12637 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12638 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12639 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12640 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12641 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12642 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12643 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12644 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12645 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12646 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12647 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12648 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12649 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12650 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12651 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12652 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12653 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12655 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12663 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12664 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12665 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12666 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12674 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12676 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12677 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12678 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12680 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12681 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12682 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12685 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12686 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12689 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12690 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12691 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12692 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12693 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12694 * sysdeps/ieee754/s_matherr.c: Likewise.
12695 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12696 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12697 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12698 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12700 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12702 * crypt/md5.h: Remove __STDC__ conditionals.
12703 * libio/libioP.h: Likewise.
12704 * locale/programs/config.h: Likewise.
12705 * sysdeps/generic/sysdep.h: Likewise.
12706 * sysdeps/i386/asm-syntax.h: Likewise.
12707 * sysdeps/s390/asm-syntax.h: Likewise.
12708 * sysdeps/unix/sysdep.h: Likewise.
12709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12712 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12714 * libio/libio.h: Remove __STDC__ conditionals.
12715 * malloc/obstack.h: Likewise.
12716 * math/complex.h: Likewise.
12717 * math/math.h: Likewise.
12718 * sysdeps/generic/_G_config.h: Likewise.
12719 * sysdeps/gnu/_G_config.h: Likewise.
12720 * sysdeps/mach/hurd/_G_config.h: Likewise.
12721 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12722 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12723 * sysdeps/sparc/bits/mathdef.h: Likewise.
12725 2012-01-26 Ulrich Drepper <drepper@gmail.com>
12728 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
12729 Clean up HAS_* macros.
12730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
12731 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12733 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12735 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12736 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12737 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12738 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12739 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12741 2012-01-25 Joseph Myers <joseph@codesourcery.com>
12743 * elf/tst-unique3.cc (gets): Remove declaration.
12744 * elf/tst-unique3lib.cc (gets): Likewise.
12745 * elf/tst-unique3lib2.cc (gets): Likewise.
12746 * elf/tst-unique4.cc (gets): Likewise.
12748 2012-01-24 Ulrich Drepper <drepper@gmail.com>
12750 * include/stdio.h: Add C++ protection. Add gets declarations and
12752 * debug/tst-chk1.c: Don't declare gets here.
12753 * stdio-common/tst-gets.c: Likewise.
12755 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12757 * posix/glob: Remove directory.
12759 2012-01-24 Joseph Myers <joseph@codesourcery.com>
12761 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12763 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12765 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12766 of the non-standard EPFNOSUPPORT.
12768 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12770 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12771 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12772 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12774 2012-01-21 Ulrich Drepper <drepper@gmail.com>
12776 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12778 2012-01-20 Ulrich Drepper <drepper@gmail.com>
12780 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12782 * nscd/grpcache.c (cache_addgr): Likewise.
12783 * nscd/hstcache.c (cache_addhst): Likewise.
12784 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12785 * nscd/pwdcache.c (cache_addpw): Likewise.
12786 * nscd/servicescache.c (cache_addserv): Likewise.
12788 2012-01-16 Ulrich Drepper <drepper@gmail.com>
12790 * malloc/malloc.c: Various cleanups.
12791 * malloc/hooks.c: Likewise.
12793 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12794 * stdlib/bug-fmtmsg1.c: New file.
12796 * stdlib/fmtmsg.c (init): Add missing unlock.
12797 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12799 2012-01-12 Marek Polacek <polacek@redhat.com>
12801 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12804 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12806 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12807 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12808 macro to ensure uniqueness of label name.
12809 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12810 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12812 2012-01-11 Ulrich Drepper <drepper@gmail.com>
12814 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12816 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12817 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12818 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12819 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12821 2012-01-10 Ulrich Drepper <drepper@gmail.com>
12823 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12825 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12826 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12827 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12829 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12831 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
12832 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12833 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12834 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
12836 * math/bits/math-finite.h: Add ldexp support.
12838 2012-01-10 Marek Polacek <polacek@redhat.com>
12840 * locale/programs/localedef.h (show_archive_content): Add noreturn
12843 2012-01-09 Ulrich Drepper <drepper@gmail.com>
12845 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12847 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12849 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12851 * io/Makefile (headers): Add bits/poll2.h.
12853 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12856 typo #include statement.
12858 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12860 * include/sys/cdefs.h: Define __attribute_alloc_size.
12861 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12862 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12863 * elf/pldd.c: Likewise.
12864 * iconv/iconv_charmap.c: Likewise.
12865 * iconv/iconvconfig.c: Likewise.
12866 * iconv/strtab.c: Likewise.
12867 * locale/programs/locale.c: Likewise.
12868 * locale/programs/localedef.h: Likewise.
12869 * locale/programs/simple-hash.c: Likewise.
12870 * nscd/nscd.h: Likewise.
12871 * nss/makedb.c: Likewise.
12872 * sysdeps/generic/ldconfig.h: Likewise.
12873 * locale/programs/localedef.c: Remove xmalloc prototype.
12874 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12876 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12878 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12881 2012-01-08 Ulrich Drepper <drepper@gmail.com>
12883 * math/Makefile (tests): Add tst-CMPLX.
12884 * math/tst-CMPLX.c: New file.
12886 * math/complex.h (CMPLXL): Fix typo.
12888 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12889 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12891 * debug/tst-chk1.c: Add poll and ppoll tests.
12892 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12893 * include/sys/poll.h: Add hidden proto for ppoll.
12894 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12895 * sysdeps/mach/hurd/ppoll.c: Likewise.
12896 * io/ppoll.c: Likewise.
12897 * debug/poll_chk.c: New file.
12898 * debug/ppoll_chk.c: New file.
12899 * include/bits/poll2.h: New file.
12900 * io/bits/poll2.h: New file.
12903 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12905 * configure.in: static is always set to yes. Remove.
12906 * config.make.in: Don't set build-static.
12907 * Makeconfig: Remove use of build-static.
12908 * dlfcn/Makefile: Likewise.
12909 * elf/Makefile: Likewise.
12910 * math/Makefile: Likewise.
12911 * misc/Makefile: Likewise.
12912 * nptl/Makefile: Likewise.
12913 * sysdeps/mach/hurd/Makefile: Likewise.
12915 * configure.in: PWD_P is not used anymore.
12916 * config.make.in: Remove PWD_P entry.
12918 * configure.in: Remove last remnants of RANLIB.
12919 No need to check for signed size_t anymore.
12920 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12922 Remove __builtin_expect test because we require at least gcc 3.4.
12923 * aclocal.m4: Likewise.
12925 * wcsmbs/mbrtoc16.c: Implement using towc function.
12926 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12927 * wcsmbs/wcsmbsload.c: Likewise.
12928 * iconv/gconv_simple.c: Likewise.
12929 * iconv/gconv_int.h: Likewise.
12930 * iconv/gconv_builtin.h: Likewise.
12931 * iconv/iconv_prog.c: Remove CHAR16 handling.
12933 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12935 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12937 * configure.in: Remove --with-elf and --enable-bounded options.
12938 Dont set base_machine for ia64. More non-ELF conditions removed.
12939 Remove testing and setting of leading underscore information.
12940 * config.make.in (build-bounded): Set to no.
12941 * config.h.in: Remove NO_UNDERSCORES entry.
12942 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12944 * csu/start.c: Remove !NO_UNDERSCORE code.
12945 * locale/localeinfo.h: Likewise.
12946 * sysdeps/generic/machine-gmon.h: Likewise.
12947 * sysdeps/generic/sysdep.h: Likewise.
12948 * sysdeps/i386/sysdep.h: Likewise.
12949 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12950 * sysdeps/mach/sysdep.h: Likewise.
12951 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12952 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12953 * sysdeps/sh/sysdep.h: Likewise.
12954 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12955 * sysdeps/unix/i386/sysdep.S: Likewise.
12956 * sysdeps/unix/sparc/start.c: Likewise.
12957 * sysdeps/unix/sparc/sysdep.S: Likewise.
12958 * sysdeps/unix/sparc/sysdep.h: Likewise.
12959 * sysdeps/unix/start.c: Likewise.
12960 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12961 * sysdeps/x86_64/sysdep.h: Likewise.
12963 2012-01-07 Ulrich Drepper <drepper@gmail.com>
12966 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12968 * argp/argp-fmtstream.h: Use const instead __const.
12969 * argp/argp.h: Likewise.
12970 * assert/assert.h: Likewise.
12971 * bits/fenv.h: Likewise.
12972 * bits/sched.h: Likewise.
12973 * bits/sigset.h: Likewise.
12974 * bits/sigthread.h: Likewise.
12975 * catgets/nl_types.h: Likewise.
12976 * conform/data/pthread.h-data: Likewise.
12977 * crypt/crypt-private.h: Likewise.
12978 * crypt/crypt.h: Likewise.
12979 * crypt/crypt_util.c: Likewise.
12980 * ctype/ctype.h: Likewise.
12981 * debug/execinfo.h: Likewise.
12982 * debug/mbsnrtowcs_chk.c: Likewise.
12983 * debug/mbsrtowcs_chk.c: Likewise.
12984 * debug/wcsnrtombs_chk.c: Likewise.
12985 * debug/wcsrtombs_chk.c: Likewise.
12986 * debug/wcstombs_chk.c: Likewise.
12987 * dirent/dirent.h: Likewise.
12988 * dlfcn/dlfcn.h: Likewise.
12989 * elf/neededtest4.c: Likewise.
12990 * grp/grp.h: Likewise.
12991 * gshadow/gshadow.h: Likewise.
12992 * iconv/gconv.h: Likewise.
12993 * iconv/gconv_int.h: Likewise.
12994 * iconv/gconv_simple.c: Likewise.
12995 * iconv/iconv.h: Likewise.
12996 * iconv/loop.c: Likewise.
12997 * iconv/skeleton.c: Likewise.
12998 * include/aio.h: Likewise.
12999 * include/aliases.h: Likewise.
13000 * include/argz.h: Likewise.
13001 * include/arpa/inet.h: Likewise.
13002 * include/assert.h: Likewise.
13003 * include/dirent.h: Likewise.
13004 * include/dlfcn.h: Likewise.
13005 * include/execinfo.h: Likewise.
13006 * include/fcntl.h: Likewise.
13007 * include/fenv.h: Likewise.
13008 * include/glob.h: Likewise.
13009 * include/grp.h: Likewise.
13010 * include/libintl.h: Likewise.
13011 * include/mntent.h: Likewise.
13012 * include/netdb.h: Likewise.
13013 * include/pwd.h: Likewise.
13014 * include/rpc/netdb.h: Likewise.
13015 * include/sched.h: Likewise.
13016 * include/search.h: Likewise.
13017 * include/shadow.h: Likewise.
13018 * include/signal.h: Likewise.
13019 * include/stdio.h: Likewise.
13020 * include/stdlib.h: Likewise.
13021 * include/string.h: Likewise.
13022 * include/sys/socket.h: Likewise.
13023 * include/sys/stat.h: Likewise.
13024 * include/sys/statfs.h: Likewise.
13025 * include/sys/statvfs.h: Likewise.
13026 * include/sys/syslog.h: Likewise.
13027 * include/sys/time.h: Likewise.
13028 * include/sys/uio.h: Likewise.
13029 * include/time.h: Likewise.
13030 * include/unistd.h: Likewise.
13031 * include/utmp.h: Likewise.
13032 * include/wchar.h: Likewise.
13033 * include/wctype.h: Likewise.
13034 * inet/aliases.h: Likewise.
13035 * inet/arpa/inet.h: Likewise.
13036 * inet/netinet/ether.h: Likewise.
13037 * inet/netinet/in.h: Likewise.
13038 * intl/libintl.h: Likewise.
13039 * io/bits/fcntl2.h: Likewise.
13040 * io/fcntl.h: Likewise.
13041 * io/ftw.h: Likewise.
13042 * io/sys/poll.h: Likewise.
13043 * io/sys/stat.h: Likewise.
13044 * io/sys/statfs.h: Likewise.
13045 * io/sys/statvfs.h: Likewise.
13046 * io/utime.h: Likewise.
13047 * libio/bits/stdio.h: Likewise.
13048 * libio/bits/stdio2.h: Likewise.
13049 * libio/libio.h: Likewise.
13050 * libio/libioP.h: Likewise.
13051 * libio/stdio.h: Likewise.
13052 * locale/lc-ctype.c: Likewise.
13053 * locale/locale.h: Likewise.
13054 * login/utmp.h: Likewise.
13055 * malloc/arena.c: Likewise.
13056 * malloc/malloc.c: Likewise.
13057 * malloc/malloc.h: Likewise.
13058 * malloc/mcheck.c: Likewise.
13059 * malloc/mtrace.c: Likewise.
13060 * math/bits/mathcalls.h: Likewise.
13061 * math/fenv.h: Likewise.
13062 * math/math_private.h: Likewise.
13063 * misc/bits/error.h: Likewise.
13064 * misc/bits/syslog.h: Likewise.
13065 * misc/err.h: Likewise.
13066 * misc/error.h: Likewise.
13067 * misc/fstab.h: Likewise.
13068 * misc/mntent.h: Likewise.
13069 * misc/regexp.h: Likewise.
13070 * misc/search.h: Likewise.
13071 * misc/sgtty.h: Likewise.
13072 * misc/sys/mman.h: Likewise.
13073 * misc/sys/syslog.h: Likewise.
13074 * misc/sys/uio.h: Likewise.
13075 * misc/sys/xattr.h: Likewise.
13076 * misc/ttyent.h: Likewise.
13077 * nis/rpcsvc/ypclnt.h: Likewise.
13078 * nss/nss.h: Likewise.
13079 * posix/bits/unistd.h: Likewise.
13080 * posix/fnmatch.h: Likewise.
13081 * posix/glob.h: Likewise.
13082 * posix/sched.h: Likewise.
13083 * posix/spawn.h: Likewise.
13084 * posix/sys/wait.h: Likewise.
13085 * posix/unistd.h: Likewise.
13086 * posix/wordexp.h: Likewise.
13087 * pwd/pwd.h: Likewise.
13088 * resolv/netdb.h: Likewise.
13089 * resource/sys/resource.h: Likewise.
13090 * rt/aio.h: Likewise.
13091 * rt/bits/mqueue2.h: Likewise.
13092 * rt/mqueue.h: Likewise.
13093 * shadow/shadow.h: Likewise.
13094 * signal/signal.h: Likewise.
13095 * socket/send.c: Likewise.
13096 * socket/sendto.c: Likewise.
13097 * socket/sys/socket.h: Likewise.
13098 * stdio-common/printf.h: Likewise.
13099 * stdlib/bits/stdlib.h: Likewise.
13100 * stdlib/fmtmsg.h: Likewise.
13101 * stdlib/monetary.h: Likewise.
13102 * stdlib/stdlib.h: Likewise.
13103 * stdlib/ucontext.h: Likewise.
13104 * streams/stropts.h: Likewise.
13105 * string/argz.h: Likewise.
13106 * string/bits/string2.h: Likewise.
13107 * string/string.h: Likewise.
13108 * string/strings.h: Likewise.
13109 * sunrpc/rpc/auth.h: Likewise.
13110 * sunrpc/rpc/auth_des.h: Likewise.
13111 * sunrpc/rpc/clnt.h: Likewise.
13112 * sunrpc/rpc/netdb.h: Likewise.
13113 * sunrpc/rpc/pmap_clnt.h: Likewise.
13114 * sunrpc/rpc/xdr.h: Likewise.
13115 * sysdeps/generic/inttypes.h: Likewise.
13116 * sysdeps/generic/net/if.h: Likewise.
13117 * sysdeps/generic/sys/swap.h: Likewise.
13118 * sysdeps/gnu/net/if.h: Likewise.
13119 * sysdeps/gnu/utmpx.h: Likewise.
13120 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13121 * sysdeps/i386/i486/bits/string.h: Likewise.
13122 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13123 * sysdeps/s390/bits/string.h: Likewise.
13124 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13125 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13126 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13127 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13128 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13129 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13130 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13131 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13132 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13133 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13134 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13135 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13136 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13137 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13138 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13139 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13140 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13141 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13142 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13143 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13144 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13145 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13146 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13147 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13148 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13149 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13150 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13151 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13152 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13153 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13154 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13155 * sysvipc/sys/ipc.h: Likewise.
13156 * sysvipc/sys/msg.h: Likewise.
13157 * sysvipc/sys/sem.h: Likewise.
13158 * sysvipc/sys/shm.h: Likewise.
13159 * termios/termios.h: Likewise.
13160 * time/sys/time.h: Likewise.
13161 * time/time.h: Likewise.
13162 * wcsmbs/bits/wchar2.h: Likewise.
13163 * wcsmbs/uchar.h: Likewise.
13164 * wcsmbs/wchar.h: Likewise.
13165 * wctype/wctype.h: Likewise.
13168 * Makeconfig: Remove all but ELF support including AIX support.
13169 * Makerules: Likewise.
13170 * config.h.in: Likewise.
13171 * config.make.in: Likewise.
13172 * configure: Likewise.
13173 * configure.in: Likewise.
13174 * csu/Makefile: Likewise.
13175 * csu/version.c: Likewise.
13176 * debug/Makefile: Likewise.
13177 * dlfcn/Makefile: Likewise.
13178 * elf/Makefile: Likewise.
13179 * extra-lib.mk: Likewise.
13180 * iconv/Makefile: Likewise.
13181 * include/libc-symbols.h: Likewise.
13182 * include/shlib-compat.h: Likewise.
13183 * resolv/Makefile: Likewise.
13184 * resolv/res_libc.c: Likewise.
13185 * rt/Makefile: Likewise.
13186 * sysdeps/i386/asm-syntax.h: Likewise.
13187 * sysdeps/i386/sysdep.h: Likewise.
13188 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13189 * sysdeps/mach/sysdep.h: Likewise.
13190 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13191 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13192 * sysdeps/s390/asm-syntax.h: Likewise.
13193 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13194 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13195 * sysdeps/sh/sysdep.h: Likewise.
13196 * sysdeps/unix/sparc/sysdep.h: Likewise.
13197 * sysdeps/wordsize-32/divdi3.c: Likewise.
13198 * sysdeps/x86_64/sysdep.h: Likewise.
13200 * argp/Versions: Remove _argp_unlock_xxx.
13203 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13204 * abilist/libBrokenLocale.abilist: Likewise.
13205 * abilist/libanl.abilist: Likewise.
13206 * abilist/libc.abilist: Likewise.
13207 * abilist/libcrypt.abilist: Likewise.
13208 * abilist/libdl.abilist: Likewise.
13209 * abilist/libm.abilist: Likewise.
13210 * abilist/libnsl.abilist: Likewise.
13211 * abilist/libpthread.abilist: Likewise.
13212 * abilist/libresolv.abilist: Likewise.
13213 * abilist/librt.abilist: Likewise.
13214 * abilist/libthread_db.abilist: Likewise.
13215 * abilist/libutil.abilist: Likewise.
13216 * abilist/libnss_db.abilist: New file.
13218 * scripts/abilist.awk: Add support for indirect functions.
13220 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13222 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13224 * shlib-versions: Remove entries for ports architectures.
13226 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13228 * elf/stackguard-macros.h: Remove support for IA-64.
13229 * elf/tst-auditmod1.c: Likewise.
13230 * sysdeps/generic/ldsodefs.h: Likewise.
13232 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13233 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13237 * configure.in: Remove --enable-omitfp support.
13239 * config.make.in: Likewise.
13240 * Makeconfig: Likewise.
13241 * manual/install.texi: Likewise.
13243 In case anyone cares, the IA-64 architecture could move to ports.
13244 * sysdeps/ia64/*: Removed.
13245 * sysdeps/unix/sysv/linux/ia64/*: Removed.
13246 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
13249 * configure.in: Remove entries for unsupported architectures.
13252 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13253 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13255 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13256 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13257 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13258 fall back to using wcrtomb.
13259 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13260 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13262 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13263 * wcsmbs/tst-c16c32-1.c: New file.
13265 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13268 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13270 * elf/tst-unique3.cc: Add explicit declaration of gets.
13271 * elf/tst-unique3lib.cc: Likewise.
13272 * elf/tst-unique3lib2.cc: Likewise.
13273 * elf/tst-unique4.cc: Likewise.
13275 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13277 2012-01-06 Joseph Myers <joseph@codesourcery.com>
13280 * assert/assert.h (static_assert): Don't define for C++.
13281 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13282 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13284 2012-01-03 Ulrich Drepper <drepper@gmail.com>
13286 * iconv/loop.c (single loop): Fix assertion in storing of
13289 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13291 2012-01-01 Ulrich Drepper <drepper@gmail.com>
13293 * posix/getconf.c: Update copyright year.
13294 * nss/getent.c: Likewise.
13295 * nss/makedb.c: Likewise.
13296 * iconv/iconvconfig.c: Likewise.
13297 * iconv/iconv_prog.c: Likewise.
13298 * elf/ldconfig.c: Likewise.
13299 * elf/pldd.c: Likewise.
13300 * elf/sotruss.ksh: Likewise.
13301 * catgets/gencat.c: Likewise.
13302 * csu/version.c: Likewise.
13303 * elf/ldd.bash.in: Likewise.
13304 * elf/sprof.c (print_version): Likewise.
13305 * locale/programs/locale.c: Likewise.
13306 * locale/programs/localedef.c: Likewise.
13307 * login/programs/pt_chown.c: Likewise.
13308 * nscd/nscd.c (print_version): Likewise.
13309 * debug/xtrace.sh: Likewise.
13310 * malloc/memusage.sh: Likewise.
13311 * malloc/mtrace.pl: Likewise.
13312 * debug/catchsegv.sh: Likewise.
13314 2011-12-30 Jakub Jelinek <jakub@redhat.com>
13316 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13319 2011-12-24 Ulrich Drepper <drepper@gmail.com>
13322 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13323 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13325 * iconv/gconv_int.h: Likewise.
13326 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13327 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13328 from libc for GLIBC_2.16.
13329 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13330 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13331 * wcsmbs/uchar.h: Really define mbstate_t.
13332 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13333 * wcsmbs/c16rtomb.c: New file.
13334 * wcsmbs/mbrtoc16.c: New file.
13335 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13336 for C/POSIX locale.
13337 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13338 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13340 * wcsmbs/wchar.h: Add missing __restrict.
13342 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13345 * time/Makefile (routines): Add timespec_get.
13346 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13347 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13348 timespec for ISO C11.
13349 * time/timespec_get.c: New file.
13350 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13351 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13354 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13355 * stdlib/stdlib.h: Declare aligned_alloc.
13356 * Versions.def: Add GLIBC_2.16 for libc.
13357 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13360 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13363 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
13367 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13370 * assert/assert.h (static_assert): Define.
13372 * version.h: Update for 2.16 development version.
13375 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13378 * version.h (RELEASE): Bump for 2.15 release.
13379 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13381 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13382 Patch by Marek Polacek <mpolacek@redhat.com>.
13384 * bits/byteswap.h: Protect long long constants with __extension__.
13385 * sysdeps/i386/bits/byteswap.h: Likewise.
13386 * sysdeps/ia64/bits/byteswap.h: Likewise.
13387 * sysdeps/s390/bits/byteswap.h: Likewise.
13388 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13390 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13393 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13394 destination buffer.
13395 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13397 2011-12-23 Marek Polacek <polacek@redhat.com>
13399 * elf/dl-addr.c (determine_info): Add inline keyword.
13400 * elf/tst-auditmod4b.c (check_avx): Likewise.
13401 * elf/tst-auditmod6b.c (check_avx): Likewise.
13402 * elf/tst-auditmod6c.c (check_avx): Likewise.
13403 * elf/tst-auditmod7b.c (check_avx): Likewise.
13405 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13407 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13410 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13413 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13414 processing for last bytes.
13416 2011-08-06 Bruno Haible <bruno@clisp.org>
13419 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13420 U+0385, not to U+1FEE.
13423 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13424 entry for U+00A5 U+0301.
13426 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13429 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13430 buffer for the output is too small.
13432 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13436 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13437 SSE flags if possible.
13439 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13442 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13443 processing for last bytes.
13445 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13447 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13448 (syscall-list-default-options, syscall-list-default-condition)
13449 (syscall-list-includes): Define.
13450 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13451 list of ABIs and options and #if conditions for each ABI. Do not
13452 handle common syscalls between ABIs specially.
13453 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13455 (syscall-list-variants, syscall-list-32bit-options)
13456 (syscall-list-32bit-condition, syscall-list-64bit-options)
13457 (syscall-list-64bit-condition): Define.
13458 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13459 (syscall-list-variants, syscall-list-32bit-options)
13460 (syscall-list-32bit-condition, syscall-list-64bit-options)
13461 (syscall-list-64bit-condition): Define.
13462 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13464 (syscall-list-variants, syscall-list-32bit-options)
13465 (syscall-list-32bit-condition, syscall-list-64bit-options)
13466 (syscall-list-64bit-condition): Define.
13467 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13469 (syscall-list-variants, syscall-list-32bit-options)
13470 (syscall-list-32bit-condition, syscall-list-64bit-options)
13471 (syscall-list-64bit-condition): Define.
13473 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13475 * locale/iso-639.def: Add brx entry.
13478 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13479 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13481 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13482 __feraiseexcept_renamed.
13484 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13487 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13488 EPOLLET with unsigned values.
13489 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13490 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13492 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13493 to large cancellation.
13494 * math/s_cacoshf.c: Likewise.
13495 * math/s_cacoshl.c: Likewise.
13497 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13501 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13502 * math/s_cacoshf.c: Likewise.
13503 * math/s_cacoshl.c: Likewise.
13505 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13508 * iconv/gconv.h: Define __GCONV_SWAP.
13509 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13510 * iconvdata/utf-16.c: Likewise.
13511 * iconvdata/utf-32.c: Likewise.
13513 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13516 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13517 numerator after shifting it by one limb.
13519 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13521 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13522 under [__USE_EXTERN_INLINES].
13524 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13527 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13529 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13531 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13532 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13534 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13535 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13536 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13537 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13538 for strncasecmp/strncasecmp_l compilation.
13539 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13540 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13542 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13545 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13548 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13551 * time/tzfile.c (__tzfile_read): Check values from file header.
13553 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13555 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13556 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13557 * powerpc/powerpc32/dl-start.S: Likewise.
13558 * powerpc/powerpc32/elf/start.S: Likewise.
13559 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13560 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13561 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13562 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13563 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13564 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13565 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13566 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13567 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13568 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13569 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13570 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13571 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13572 * powerpc/powerpc32/memset.S: Likewise.
13573 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13574 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13575 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13576 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13577 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13578 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13579 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13580 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13581 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13582 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13583 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13584 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13585 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13587 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13589 * math/libm-test.inc: Added more nearbyint tests.
13590 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13591 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13592 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13593 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13595 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13597 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13600 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13602 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13603 Add wcscpy-ssse3 wcscpy-c.
13604 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13605 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13606 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13607 * sysdeps/x86_64/wcschr.S: New file.
13608 * sysdeps/x86_64/wcsrchr.S: New file.
13609 * string/test-strcmp.c: Remove checking of wcscmp function for
13611 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13612 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13613 wcsrchr-sse2 wcsrchr-c.
13614 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13615 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13616 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13617 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13618 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13619 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13620 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13621 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13622 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13623 * wcsmbc/wcschr.c (WCSCHR): New macro.
13625 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13627 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13628 * wcsmbs/test-wcsrchr.c: New file.
13629 * string/test-strrchr.c: Add wcsrchr support.
13631 * wcsmbs/test-wcscpy.c: New file.
13632 * string/test-strcpy.c: Add wcscpy support.
13635 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13637 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13640 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13643 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13645 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13647 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13648 Minor optimizations.
13650 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13651 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13652 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13654 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13656 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13657 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13658 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13659 for gcc to avoid warnings.
13660 * inet/Makefile (tests): Add tst-checks.
13661 * inet/tst-checks.c: New file.
13663 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13666 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13669 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13670 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13672 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13674 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13676 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13679 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13681 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13683 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13684 conditional on GCC version.
13685 (__arch_compare_and_exchange_val_8_acq)
13686 (__arch_compare_and_exchange_val_16_acq)
13687 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13688 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13689 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13691 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13693 * sysdeps/sh/backtrace.c: New file.
13695 2011-12-02 Andreas Schwab <schwab@redhat.com>
13697 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13700 2011-12-01 Andreas Schwab <schwab@redhat.com>
13702 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13703 falling back to utime.
13705 2011-11-30 Andreas Schwab <schwab@redhat.com>
13707 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13708 expectations for float.
13710 2011-11-29 Andreas Schwab <schwab@redhat.com>
13712 * locale/weight.h (findidx): Add parameter len.
13713 * locale/weightwc.h (findidx): Likewise.
13714 * posix/fnmatch_loop.c (FCT): Adjust caller.
13715 * posix/regcomp.c (build_equiv_class): Likewise.
13716 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13717 * posix/regexec.c (check_node_accept_bytes): Likewise.
13718 * string/strcoll_l.c (STRCOLL): Likewise.
13719 * string/strxfrm_l.c (STRXFRM): Likewise.
13721 2011-11-17 Ulrich Drepper <drepper@gmail.com>
13723 * Makefile.in: Remove CVSOPT handling.
13724 * configure.in: Remove use of AC_REVISION.
13725 * iconvdata/Makefile (distribute): No need to filter out CVS.
13726 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13729 2011-11-16 Andreas Schwab <schwab@redhat.com>
13731 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13732 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13733 [USE_AS_STRNCASECMP_L]: Likewise.
13734 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13735 NO_TLS_DIRECT_SEG_REFS.
13736 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13737 Fix argument offsets for non-PIC.
13738 [USE_AS_STRNCASECMP_L]: Likewise.
13739 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13740 NO_TLS_DIRECT_SEG_REFS.
13742 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13744 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
13746 * locale/loadlocale.c (_nl_load_locale): Likewise.
13748 2011-11-15 Andreas Schwab <schwab@redhat.com>
13750 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13751 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13752 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13753 (SYSCALL_GETTIME): Set errno on error.
13755 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13756 count references to noai6ai_cached.
13758 2011-11-15 Ulrich Drepper <drepper@gmail.com>
13760 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13762 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13763 FD_CLOEXEC for /proc/self/maps.
13765 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13766 FD_CLOEXEC for /proc/meminfo.
13768 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13771 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13772 FD_CLOEXEC for given file.
13774 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13776 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13777 FD_CLOEXEC for /etc/hosts.
13778 (_gethtent): Likewise.
13780 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13782 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13783 cancellation and set FD_CLOEXEC for /etc/netgroup.
13785 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13786 reading /etc/publickey.
13788 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13789 allow cancellation when reading /etc/group.
13791 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13793 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13795 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13796 when using data file.
13798 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13800 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13801 (write_nis_obj): Use "c" and "e" in fopen.
13803 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13805 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13807 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13809 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13811 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13814 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13816 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13818 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13820 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13821 file parsing and set FD_CLOEXEC.
13823 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13825 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13827 2011-11-14 Andreas Schwab <schwab@redhat.com>
13829 * malloc/arena.c (arena_get2): Don't call reused_arena when
13830 _int_new_arena failed.
13832 2011-11-14 Ulrich Drepper <drepper@gmail.com>
13834 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13835 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13836 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13837 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13838 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13839 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13840 to compile strcasecmp and strncasecmp.
13841 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13842 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13844 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13846 2011-11-13 Ulrich Drepper <drepper@gmail.com>
13848 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13849 locale-defines.sym to gen-as-const-headers.
13850 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13851 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13852 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13853 to compile strcasecmp and strncasecmp.
13854 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13855 strcasecmp_l and strncasecmp_l.
13856 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13857 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13858 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13859 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13860 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13861 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13862 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13863 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13864 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13865 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13866 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13868 2011-11-12 Ulrich Drepper <drepper@gmail.com>
13870 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13871 result of SYSDEP_GETTIME_CPU to retval.
13872 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13873 parameter list to macro. Remove trailing semicolon. Adjust users.
13875 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13878 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13880 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13882 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13883 from unused variable.
13885 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13887 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13890 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13893 * sunrpc/rpc_prot.c (rejected): Fix case value.
13895 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13896 unsigned long long int to avoid warnings in shift.
13898 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13900 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13903 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13904 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13905 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13907 * nis/nis_table.c (nis_list): Use variable of correct type for
13908 result of __follow_path call.
13910 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13912 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13913 of math functions ceil, trunc, floor, round, and sqrt, when
13914 avaliable on the platform.
13915 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13917 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13918 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13919 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13921 2011-10-30 Marek Polacek <mpolacek@redhat.com>
13923 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13924 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13926 2011-11-11 Roland McGrath <roland@hack.frob.com>
13928 * include/unistd.h: Fix __readlink return type.
13929 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13931 2011-11-11 Ulrich Drepper <drepper@gmail.com>
13933 * stdlib/ucontext.h: Undo last change for makecontext.
13935 2011-11-11 Andreas Schwab <schwab@redhat.com>
13937 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13939 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13940 * setjmp/setjmp.h: Mark functions as non-leaf.
13941 * setjmp/bits/setjmp2.h: Likewise.
13942 * stdlib/ucontext.h: Likewise.
13944 2011-11-10 Andreas Schwab <schwab@redhat.com>
13946 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13947 (reused_arena): Don't check arena limit.
13948 (arena_get2): Atomically check arena limit.
13950 2011-11-08 Ulrich Drepper <drepper@gmail.com>
13952 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13953 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13955 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13958 2011-11-07 Andreas Schwab <schwab@redhat.com>
13960 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13961 handler when locking.
13963 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13964 Fix size of allocated buffer.
13966 2011-11-04 Andreas Schwab <schwab@redhat.com>
13969 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13970 declarations for long double functions.
13971 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13973 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13975 2011-11-03 Andreas Schwab <schwab@redhat.com>
13977 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13980 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13983 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13985 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13987 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13989 * include/alloca.h (stackinfo_alloca_round): Define.
13990 (extend_alloca): Use it.
13991 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13992 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13995 * scripts/check-local-headers.sh: Ignore libaudit.h.
13997 * nscd/Makefile (extra-objs): Make recursively expanded.
13999 2011-11-01 Ulrich Drepper <drepper@gmail.com>
14001 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14002 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14004 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14005 * posix/tst-rfc3484-2.c: Likewise.
14006 * posix/tst-rfc3484-3.c: Likewise.
14008 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14010 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14012 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14013 process_vm_writev from libc using GLIBC_2.15 version.
14015 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14017 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14019 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14022 2011-10-31 Ulrich Drepper <drepper@gmail.com>
14025 * nss/getent.c (initgroups_keys): Show error message in case no group
14028 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14029 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14030 __bump_nl_timestamp.
14031 * nscd/connections (nscd_init): When host database is served open
14032 netlink socket and request notification about configuration changes.
14033 (main_loop_poll): Track netlink file descriptor and bump timestamp
14034 in case data becomes available.
14035 (main_loop_epoll): Likewise.
14036 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14037 (database_pers_head): Add extra_data fileds.
14038 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14039 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14040 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14042 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14043 in6ai data, call __free_in6ai.
14044 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14045 Add -DHAVE_NETLINK.
14046 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14047 interface information. Reuse previous data if netlink timestamp
14049 (__bump_nl_timestamp): New function.
14050 (__free_in6ai): New function.
14052 2011-10-30 Ulrich Drepper <drepper@gmail.com>
14054 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14055 close_not_cancel_no_status here.
14056 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14058 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14061 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14064 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
14065 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14066 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14068 2011-07-03 Andreas Jaeger <aj@suse.de>
14071 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14072 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14073 * math/libm-test.inc (sin_test): Add test case.
14075 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14078 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14079 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14081 * elf/chroot_canon.c (chroot_canon): Cleanups.
14083 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14086 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14087 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14089 * string/test-strchr.c: Make usable for strchrnul testing.
14090 * string/test-strchrnul.c: New file.
14091 * string/Makefile (strop-tests): Add strchrnul.
14093 * po/it.po: Update from translation team.
14094 * po/es.po: Likewise.
14096 2011-10-28 Ulrich Drepper <drepper@gmail.com>
14098 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14099 the three constants needed as parameters. Drop the others.
14100 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14101 __m128i_strloadu_tolower.
14102 Create and initialize variable zero and use it in all the places
14103 where _mm_setzero_si128 was used.
14105 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14106 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14107 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14108 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14110 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14111 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14112 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14113 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14114 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14115 __mpranred, __mptan.
14116 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14117 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14118 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14119 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14120 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14121 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14122 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14123 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14124 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14126 2011-10-28 Andreas Schwab <schwab@redhat.com>
14128 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14129 redefine if SHARED.
14130 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14132 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14133 wide char related routines to wcsmbs subdir.
14135 2011-10-27 Andreas Schwab <schwab@redhat.com>
14138 * misc/sys/cdefs.h (__THROWNL): Define.
14139 * posix/unistd.h: Use __THREADNL instead of __THREAD
14140 for memory synchronization functions.
14142 2011-10-26 Roland McGrath <roland@hack.frob.com>
14145 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14147 * manual/stdio.texi (Obstack Streams): Node removed.
14149 2011-10-26 Andreas Schwab <schwab@redhat.com>
14151 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14152 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14153 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14155 * math/math_private.h (math_force_eval): Allow non-addressable
14157 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14159 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14161 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14162 file is not needed.
14164 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14165 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14166 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14167 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14168 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14169 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14170 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14171 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14173 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14174 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14175 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14176 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14177 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14178 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14179 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14180 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14181 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14182 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14183 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14184 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14185 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14186 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14187 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14188 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14189 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14190 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14191 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14193 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14194 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14196 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14197 place. Use VEX encoding when compiling for AVX.
14199 2011-10-25 Andreas Schwab <schwab@redhat.com>
14201 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14202 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14204 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14206 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14208 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
14209 useless if() expression.
14210 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14211 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14212 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14213 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14214 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14215 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14216 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14217 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14218 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14219 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14220 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14221 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14222 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14223 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14224 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14225 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14226 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14227 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14228 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14230 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14232 2011-10-25 Andreas Schwab <schwab@redhat.com>
14234 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14236 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14238 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14240 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14241 .text section. Avoid duplicate constants.
14242 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14243 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14244 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14246 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14247 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14248 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14249 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14250 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14251 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14252 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14253 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14254 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14255 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14256 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14257 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14258 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14259 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14260 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14261 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14262 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14263 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14264 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14265 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14266 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14267 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14268 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14269 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14270 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14271 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14272 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14273 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14274 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14275 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14276 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14277 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14278 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14279 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14280 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14281 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14282 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14283 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14284 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14285 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14286 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14288 2011-10-24 Ulrich Drepper <drepper@gmail.com>
14290 * sysdeps/x86_64/dla.h: Move to ...
14291 * sysdeps/x86_64/fpu/dla.h: ...here.
14292 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14293 situations. Use __builtin_fma only for gcc 4.6 and up.
14295 * config.make.in: Add have-mfma4 entry.
14296 * configure.in: Substitute libc_cv_cc_fma4.
14297 * math/Makefile (dbl-only-routines): Add sincostab.
14298 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14299 Use __sincostab not sincos.
14300 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14302 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14303 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14304 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14305 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14307 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14308 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14309 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14310 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14312 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14313 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14315 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14316 define aliases when function name is a macro.
14317 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14318 sysdeps/ieee754/dbl-64/sincos.tbl.
14319 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14320 fma4-enabled routines.
14321 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14322 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14323 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14324 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14325 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14326 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14327 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14328 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14329 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14330 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14331 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14332 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14333 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14334 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14335 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14336 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14337 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14338 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14339 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14340 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14341 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14342 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14343 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14344 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14345 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14346 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14347 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14348 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14349 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14350 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14352 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14354 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14355 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14356 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14360 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14361 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14363 2011-10-24 Andreas Schwab <schwab@redhat.com>
14365 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14367 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14369 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14371 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14373 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14375 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14376 Remove unused variable magic_bits.
14377 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14379 * string/strnlen.c: Define and use STRNLEN macro.
14380 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14381 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14382 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14383 * wcsmbs/wcslen.c: Define and use WCSLEN.
14384 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14385 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14386 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14387 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14388 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14389 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14390 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14392 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14394 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14395 strnlen-sse2-no-bsf.
14396 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14397 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14398 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14399 Add strnlen support.
14400 (USE_AS_STRNLEN): New macro.
14401 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14402 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14403 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14404 * sysdeps/x86_64/wcslen.S: New file.
14406 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14408 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14409 XMM-moves are used for copying on small sizes.
14411 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14413 * wcsmbs/Makefile (strop-tests): Add wcschr.
14414 * wcsmbs/test-wcschr.c: New file.
14415 * string/test-strchr.c: Update.
14416 Add wcschr support.
14419 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14421 * wcsmbs/Makefile (strop-tests): Add wcslen.
14422 * wcsmbs/test-wcslen.c: New file.
14423 * string/test-strlen.c: Update.
14424 Add wcslen support.
14427 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14429 * po/it.po: Update from translation team.
14431 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14433 * sysdeps/x86_64/wcscmp.S: Update.
14434 Fix wrong comparison semantics.
14435 wcscmp shall use signed comparison not unsigned.
14436 Don't use substraction to avoid overflow bug.
14437 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14438 * wcsmbc/wcscmp.c: Likewise.
14439 * string/test-strcmp.c: Likewise.
14440 Add new tests to check cases with negative values.
14442 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14444 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14445 * sysdeps/x86_64/dla.h: ...here. New file.
14446 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14447 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14448 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14449 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14450 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14451 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14452 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14453 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14454 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14456 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14459 __ynl_finite aliases.
14461 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14465 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14467 [DLA_FMA] (EMULV): Use DLA_FMA.
14468 [DLA_FMA] (MUL12): Use EMULV.
14469 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14470 that are not needed.
14471 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14472 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14473 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14474 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14475 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14476 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14477 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14479 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14481 * math/s_nan.c: Undef __nan.
14482 * math/s_nanf.c: Undef __nanf.
14483 * math/s_nanl.c: Undef __nanl.
14484 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14487 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14489 * math/s_catan.c: Add branch predictions.
14490 * math/s_catanf.c: Likewise.
14491 * math/s_catanh.c: Likewise.
14492 * math/s_catanhf.c: Likewise.
14493 * math/s_catanhl.c: Likewise.
14494 * math/s_catanl.c: Likewise.
14495 * math/s_cexp.c: Likewise.
14496 * math/s_cexpf.c: Likewise.
14497 * math/s_cexpl.c: Likewise.
14498 * math/s_clog.c: Likewise.
14499 * math/s_clog10.c: Likewise.
14500 * math/s_clog10f.c: Likewise.
14501 * math/s_clog10l.c: Likewise.
14502 * math/s_clogf.c: Likewise.
14503 * math/s_clogl.c: Likewise.
14504 * math/s_csqrt.c: Likewise.
14505 * math/s_csqrtf.c: Likewise.
14506 * math/s_csqrtl.c: Likewise.
14507 * math/s_ctanf.c: Likewise.
14508 * math/s_ctanh.c: Likewise.
14509 * math/s_ctanhf.c: Likewise.
14510 * math/s_ctanhl.c: Likewise.
14511 * math/s_ctanl.c: Likewise.
14513 * math/math_private.h: Define __nan, __nanf, __nanl.
14514 * math/s_cacosh.c: Include <math_private.h>.
14515 * math/s_cacoshl.c: Likewise.
14516 * math/s_casinh.c: Likewise.
14517 * math/s_casinhf.c: Likewise.
14518 * math/s_casinhl.c: Likewise.
14519 * math/s_ccos.c: Rely entire on ccosh.
14520 * math/s_ccosf.c: Rely entire on ccoshf.
14521 * math/s_ccosl.c: Rely entirely on ccoshl.
14522 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14523 Remove tests for FE_INVALID.
14524 * math/s_ccoshf.c: Likewise.
14525 * math/s_ccoshl.c: Likewise.
14526 * math/s_csin.c: Likewise.
14527 * math/s_csinf.c: Likewise.
14528 * math/s_csinh.c Likewise.
14529 * math/s_csinhf.c: Likewise.
14530 * math/s_csinhl.c: Likewise.
14531 * math/s_csinl.c: Likewise.
14532 * math/s_ctan.c: Likewise.
14533 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14534 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14535 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14537 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14540 compilation problems.
14542 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14545 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14547 * sysdeps/i386/configure.in: Test for -mfma4 option.
14548 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14549 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14550 COMMON_CPUID_INDEX_80000001.
14551 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14552 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14553 use it if FMA3 is not supported.
14554 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14556 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14557 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14559 2011-10-20 Andreas Schwab <schwab@redhat.com>
14562 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14563 it would create a cycle with a link time dependency.
14565 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14567 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14569 * string/Makefile (strop-tests): Add rawmemchr.
14570 * string/test-rawmemchr.c: New file.
14572 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14573 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14574 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14575 when compiling str{,n}casecmp and when AVX is available. Hook up
14576 new optimized code in initializers.
14578 2011-10-19 Andreas Schwab <schwab@redhat.com>
14580 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14581 __feraiseexcept instead of feraiseexcept.
14583 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14585 * math/math_private.h: Define defaults for libc_fetestexcept and
14587 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14588 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14589 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14590 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14591 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14592 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14593 libc_fetestexcept and libc_feupdateenv.
14595 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14596 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14597 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14598 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14599 libc_feholdexcept_setround.
14601 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14602 Add s_nearbyint-c and s_nearbyintf-c.
14603 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14604 nearbyintf inlines.
14605 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14606 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14607 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14608 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14610 * math/math_private.h: Define defaults for libc_fegetround,
14611 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14612 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14613 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14614 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14615 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14616 standard functions.
14617 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14618 Remove comments and hacks for old compiler versions.
14619 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14620 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14621 libc_feholdexceptl.
14623 2011-10-18 Andreas Schwab <schwab@redhat.com>
14625 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14626 (__feraiseexcept_renamed): Add __NTH.
14627 (feraiseexcept): Add __NTH. Rename local variables to fix
14628 namespace violations.
14630 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14632 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14634 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14636 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14637 recently added interfaces.
14638 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14640 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14641 about macro parameter expansion.
14643 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14644 __NO_MATH_INLINES is defined. Cleanups.
14646 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14647 and __floorf is target has SSE4.1.
14648 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14649 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14650 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14651 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14653 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14655 (floorf): Likewise.
14657 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14659 2011-10-17 Andreas Schwab <schwab@redhat.com>
14661 * misc/sys/cdefs.h: Fix last change.
14663 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14666 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14668 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14670 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14671 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14672 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14673 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14674 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14675 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14676 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14677 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14678 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14679 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14680 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14681 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14682 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14683 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14684 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14685 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14686 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14687 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14688 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14689 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14690 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14691 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14693 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14694 ceil, ceilf, floor, floorf.
14696 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14697 Perform IRELATIVE relocations last.
14699 * elf/do-rel.h: Add another parameter nrelative, replacing the
14700 local variable with the same name. Change name of the function
14701 to end in Rel or Rela (uppercase).
14702 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14703 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14704 elf_dynamic_do_##reloc function.
14706 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14708 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14709 is sufficient, at least on modern CPUs.
14711 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14713 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14714 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14716 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14718 * math/bits/math-finite.h: Add entries for exp.
14719 * math/e_expl.c: Add __*_finite alias.
14720 * sysdeps/i386/fpu/e_exp.S: Likewise.
14721 * sysdeps/i386/fpu/e_expf.S: Likewise.
14722 * sysdeps/i386/fpu/e_expl.c: Likewise.
14723 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14724 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14725 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14726 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14727 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14728 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14729 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14731 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14732 is sufficient, at least on modern CPUs.
14734 * ctype/ctype-info.c (__ctype_init): Define.
14735 * include/ctype.h (__ctype_init): Declare.
14736 (__ctype_b_loc): The variable is always initialized.
14737 (__ctype_toupper_loc): Likewise.
14738 (__ctype_tolower_loc): Likewise.
14739 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14740 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14742 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14744 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14746 * configure.in: Also look in $cxxmachine/include for C++ system
14749 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14751 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14752 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14753 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14754 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14755 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14756 (USE_AS_WMEMCMP): New macro.
14758 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14759 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14760 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14761 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14762 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14763 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14764 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14765 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14766 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14767 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14768 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14769 (USE_AS_WMEMCMP): New macro.
14770 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14771 * sysdeps/string/test-memcmp.c: Update.
14772 Fix simple_wmemcmp.
14774 * wcsmbs/wmemcmp.c: Update.
14775 (WMEMCMP): New macro.
14778 2011-10-12 Andreas Jaeger <aj@suse.de>
14781 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14783 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14785 * libio/iofwide.c (do_length): Avoid warning.
14787 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14789 2011-10-14 Ulrich Drepper <drepper@gmail.com>
14791 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14793 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14794 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14795 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14796 * sysdeps/i386/i686/fpu/e_log.S: New file.
14797 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14798 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14800 * ctype/ctype.h: Add support for inlined isXXX functions when
14801 compiling C++ code.
14803 2011-10-14 Andreas Schwab <schwab@redhat.com>
14805 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14807 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14809 2011-10-13 Roland McGrath <roland@hack.frob.com>
14812 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14814 2011-10-13 Andreas Schwab <schwab@redhat.com>
14816 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14817 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14820 * sysdeps/x86_64/memrchr.S: Check for zero size.
14822 * string/stratcliff.c: Add memrchr tests.
14824 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14826 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14827 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14828 rawmemchr-sse2 rawmemchr-sse2-bsf.
14829 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14830 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14831 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14832 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14833 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14834 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14835 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14836 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14837 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14838 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14839 * string/memrchr.c (MEMRCHR): New macro.
14841 2011-10-12 Ulrich Drepper <drepper@gmail.com>
14843 Add integration with gcc's -ffinite-math-only and optimize wrapper
14845 * Versions.def: Define GLIBC_2.15 version for libm.
14846 * math/Makefile (headers): Add bits/math-finite.h.
14847 * math/bits/math-finite.h: New file.
14848 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14849 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14850 * math/e_acoshl.c: Add __*_finite alias.
14851 * math/e_acosl.c: Likewise.
14852 * math/e_asinl.c: Likewise.
14853 * math/e_atan2l.c: Likewise.
14854 * math/e_atanhl.c: Likewise.
14855 * math/e_coshl.c: Likewise.
14856 * math/e_exp10.c: Likewise.
14857 * math/e_exp10f.c: Likewise.
14858 * math/e_exp10l.c: Likewise.
14859 * math/e_exp2l.c: Likewise.
14860 * math/e_fmodl.c: Likewise.
14861 * math/e_gammal_r.c: Likewise.
14862 * math/e_hypotl.c: Likewise.
14863 * math/e_j0l.c: Likewise.
14864 * math/e_j1l.c: Likewise.
14865 * math/e_jnl.c: Likewise.
14866 * math/e_lgammal_r.c: Likewise.
14867 * math/e_log10l.c: Likewise.
14868 * math/e_log2l.c: Likewise.
14869 * math/e_logl.c: Likewise.
14870 * math/e_powl.c: Likewise.
14871 * math/e_sinhl.c: Likewise.
14872 * math/e_sqrtl.c: Likewise.
14873 * math/e_scalb.c: Completely rewritten and optimized.
14874 * math/e_scalbf.c: Likewise.
14875 * math/e_scalbl.c: Likewise.
14876 * math/w_acos.c: Likewise.
14877 * math/w_acosf.c: Likewise.
14878 * math/w_acosl.c: Likewise.
14879 * math/w_acosh.c: Likewise.
14880 * math/w_acoshf.c: Likewise.
14881 * math/w_acoshl.c: Likewise.
14882 * math/w_asin.c: Likewise.
14883 * math/w_asinf.c: Likewise.
14884 * math/w_asinl.c: Likewise.
14885 * math/w_atan2.c: Likewise.
14886 * math/w_atan2f.c: Likewise.
14887 * math/w_atan2l.c: Likewise.
14888 * math/w_atanh.c: Likewise.
14889 * math/w_atanhf.c: Likewise.
14890 * math/w_atanhl.c: Likewise.
14891 * math/w_exp10.c: Likewise.
14892 * math/w_exp10f.c: Likewise.
14893 * math/w_exp10l.c: Likewise.
14894 * math/w_fmod.c: Likewise.
14895 * math/w_fmodf.c: Likewise.
14896 * math/w_fmodl.c: Likewise.
14897 * math/w_j0.c: Likewise.
14898 * math/w_j0f.c: Likewise.
14899 * math/w_j0l.c: Likewise.
14900 * math/w_j1.c: Likewise.
14901 * math/w_j1f.c: Likewise.
14902 * math/w_j1l.c: Likewise.
14903 * math/w_jn.c: Likewise.
14904 * math/w_jnf.c: Likewise.
14905 * math/w_log.c: Likewise.
14906 * math/w_logf.c: Likewise.
14907 * math/w_logl.c: Likewise.
14908 * math/w_log10.c: Likewise.
14909 * math/w_log10f.c: Likewise.
14910 * math/w_log10l.c: Likewise.
14911 * math/w_log2.c: Likewise.
14912 * math/w_log2f.c: Likewise.
14913 * math/w_log2l.c: Likewise.
14914 * math/w_pow.c: Likewise.
14915 * math/w_powf.c: Likewise.
14916 * math/w_powl.c: Likewise.
14917 * math/w_remainder.c: Likewise.
14918 * math/w_remainderf.c: Likewise.
14919 * math/w_remainderl.c: Likewise.
14920 * math/w_scalb.c: Likewise.
14921 * math/w_scalbf.c: Likewise.
14922 * math/w_scalbl.c: Likewise.
14923 * math/w_sqrt.c: Likewise.
14924 * math/w_sqrtf.c: Likewise.
14925 * math/w_sqrtl.c: Likewise.
14926 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14927 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14929 * math/math_private.h: Declare __kernel_standard_f.
14930 * math/w_cosh.c: Remove cruft and optimize a bit.
14931 * math/w_coshf.c: Likewise.
14932 * math/w_coshl.c: Likewise.
14933 * math/w_exp2.c: Likewise.
14934 * math/w_exp2f.c: Likewise.
14935 * math/w_exp2l.c: Likewise.
14936 * math/w_hypot.c: Likewise.
14937 * math/w_hypotf.c: Likewise.
14938 * math/w_hypotl.c: Likewise.
14939 * math/w_lgamma.c: Likewise.
14940 * math/w_lgamma_r.c: Likewise.
14941 * math/w_lgammaf.c: Likewise.
14942 * math/w_lgammaf_r.c: Likewise.
14943 * math/w_lgammal.c: Likewise.
14944 * math/w_lgammal_r.c: Likewise.
14945 * math/w_sinh.c: Likewise.
14946 * math/w_sinhf.c: Likewise.
14947 * math/w_sinhl.c: Likewise.
14948 * math/w_tgamma.c: Likewise.
14949 * math/w_tgammaf.c: Likewise.
14950 * math/w_tgammal.c: Likewise.
14951 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14952 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14953 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14954 Minor optimizations. Pretty printing. Remove cruft.
14955 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14956 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14957 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14958 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14959 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14960 * sysdeps/i386/fpu/e_asin.S: Likewise.
14961 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14962 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14963 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14964 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14965 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14966 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14967 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14968 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14969 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14970 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14971 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14972 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14973 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14974 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14975 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14976 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14977 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14978 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14979 * sysdeps/i386/fpu/e_log.S: Likewise.
14980 * sysdeps/i386/fpu/e_log10.S: Likewise.
14981 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14982 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14983 * sysdeps/i386/fpu/e_log2.S: Likewise.
14984 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14985 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14986 * sysdeps/i386/fpu/e_logf.S: Likewise.
14987 * sysdeps/i386/fpu/e_logl.S: Likewise.
14988 * sysdeps/i386/fpu/e_pow.S: Likewise.
14989 * sysdeps/i386/fpu/e_powf.S: Likewise.
14990 * sysdeps/i386/fpu/e_powl.S: Likewise.
14991 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14992 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14993 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14994 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14995 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14996 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14997 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14998 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14999 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15000 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15001 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15002 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15003 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15004 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15005 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15006 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15007 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15008 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15009 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15010 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15011 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15013 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15014 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15015 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15016 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15017 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15018 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15020 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15021 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15022 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15023 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15024 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15025 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15026 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15027 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15028 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15029 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15030 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15031 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15032 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15033 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15034 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15035 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15036 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15037 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15038 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15039 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15040 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15041 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15042 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15043 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15044 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15045 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15046 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15047 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15048 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15049 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15050 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15051 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15052 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15053 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15054 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15055 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15056 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15057 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15058 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15059 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15060 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15061 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15062 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15063 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15064 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15065 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15066 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15067 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15068 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15069 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15070 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15071 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15072 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15073 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15074 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15075 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15076 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15077 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15078 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15079 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15080 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15081 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15082 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15083 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15084 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15085 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15086 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15087 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15088 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15089 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15090 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15091 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15092 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15093 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15094 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15095 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15096 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15097 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15098 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15099 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15100 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15101 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15102 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15103 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15104 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15105 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15106 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15107 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15108 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15109 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15110 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15111 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15112 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15113 (__isnanf): Likewise.
15114 (__isinf_ns): Likewise.
15115 (__isinf_nsf): Likewise.
15116 (__finite): Likewise.
15117 (__finitef): Likewise.
15118 (__ieee754_sqrt): Define as macro.
15119 (__ieee754_sqrtf): Define as macro.
15120 (__ieee754_sqrtl): Define as macro.
15121 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15123 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15124 __FINITE_MATH_ONLY__ consistent.
15125 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15127 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15129 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15132 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15134 2011-10-09 Ulrich Drepper <drepper@gmail.com>
15136 * po/ja.po: Update from translation team.
15138 2011-10-08 Roland McGrath <roland@hack.frob.com>
15140 * locale/programs/locarchive.c (prepare_address_space): New function.
15141 (create_archive, enlarge_archive, open_archive): Use it.
15143 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15144 inside [SHARED], where it is used.
15146 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15148 * nss/getent.c (netgroup_keys): Remove unused variable.
15149 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15151 2011-10-08 Ulrich Drepper <drepper@gmail.com>
15153 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15154 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15155 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15156 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15157 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15158 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15159 * math/Makefile (libm-calls): Add s_isinf_ns.
15160 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15161 * math/multc3.c: Likewise.
15162 * math/s_casin.c: Likewise.
15163 * math/s_casinf.c: Likewise.
15164 * math/s_casinl.c: Likewise.
15165 * math/s_ccos.c: Likewise.
15166 * math/s_ccosf.c: Likewise.
15167 * math/s_ccosl.c: Likewise.
15168 * math/s_ctan.c: Likewise.
15169 * math/s_ctanf.c: Likewise.
15170 * math/s_ctanh.c: Likewise.
15171 * math/s_ctanhf.c: Likewise.
15172 * math/s_ctanhl.c: Likewise.
15173 * math/s_ctanl.c: Likewise.
15174 * math/w_fmod.c: Likewise.
15175 * math/w_fmodf.c: Likewise.
15176 * math/w_fmodl.c: Likewise.
15177 * math/w_remainder.c: Likewise.
15178 * math/w_remainderf.c: Likewise.
15179 * math/w_remainderl.c: Likewise.
15180 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15181 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15182 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15184 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15185 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15186 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15187 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15189 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15191 * stdio-common/printf_fphex.c: Likewise.
15192 * stdio-common/printf_size.c: Likewise.
15194 * math/e_exp10.c: Include math_private.h using <...> not "...".
15195 * math/e_exp10f.c: Likewise.
15196 * math/e_exp10l.c: Likewise.
15197 * math/e_exp2l.c: Likewise.
15198 * math/e_j0l.c: Likewise.
15199 * math/e_j1l.c: Likewise.
15200 * math/e_jnl.c: Likewise.
15201 * math/e_lgammal_r.c: Likewise.
15202 * math/e_rem_pio2l.c: Likewise.
15203 * math/e_scalb.c: Likewise.
15204 * math/e_scalbf.c: Likewise.
15205 * math/e_scalbl.c: Likewise.
15206 * math/k_cosl.c: Likewise.
15207 * math/k_sinl.c: Likewise.
15208 * math/k_tanl.c: Likewise.
15209 * math/s_cacoshf.c: Likewise.
15210 * math/s_catan.c: Likewise.
15211 * math/s_catanf.c: Likewise.
15212 * math/s_catanh.c: Likewise.
15213 * math/s_catanhf.c: Likewise.
15214 * math/s_catanhl.c: Likewise.
15215 * math/s_catanl.c: Likewise.
15216 * math/s_ccosh.c: Likewise.
15217 * math/s_ccoshf.c: Likewise.
15218 * math/s_ccoshl.c: Likewise.
15219 * math/s_cexp.c: Likewise.
15220 * math/s_cexpf.c: Likewise.
15221 * math/s_cexpl.c: Likewise.
15222 * math/s_clog.c: Likewise.
15223 * math/s_clog10.c: Likewise.
15224 * math/s_clog10f.c: Likewise.
15225 * math/s_clog10l.c: Likewise.
15226 * math/s_clogf.c: Likewise.
15227 * math/s_clogl.c: Likewise.
15228 * math/s_csin.c: Likewise.
15229 * math/s_csinf.c: Likewise.
15230 * math/s_csinh.c: Likewise.
15231 * math/s_csinhf.c: Likewise.
15232 * math/s_csinhl.c: Likewise.
15233 * math/s_csinl.c: Likewise.
15234 * math/s_csqrt.c: Likewise.
15235 * math/s_csqrtf.c: Likewise.
15236 * math/s_csqrtl.c: Likewise.
15237 * math/s_ctan.c: Likewise.
15238 * math/s_ctanf.c: Likewise.
15239 * math/s_ctanh.c: Likewise.
15240 * math/s_ctanhf.c: Likewise.
15241 * math/s_ctanhl.c: Likewise.
15242 * math/s_ctanl.c: Likewise.
15243 * math/s_ldexp.c: Likewise.
15244 * math/s_ldexpf.c: Likewise.
15245 * math/s_ldexpl.c: Likewise.
15246 * math/s_significand.c: Likewise.
15247 * math/s_significandf.c: Likewise.
15248 * math/s_significandl.c: Likewise.
15249 * math/w_acos.c: Likewise.
15250 * math/w_acosf.c: Likewise.
15251 * math/w_acosh.c: Likewise.
15252 * math/w_acoshf.c: Likewise.
15253 * math/w_acoshl.c: Likewise.
15254 * math/w_acosl.c: Likewise.
15255 * math/w_asin.c: Likewise.
15256 * math/w_asinf.c: Likewise.
15257 * math/w_asinl.c: Likewise.
15258 * math/w_atan2.c: Likewise.
15259 * math/w_atan2f.c: Likewise.
15260 * math/w_atan2l.c: Likewise.
15261 * math/w_atanh.c: Likewise.
15262 * math/w_atanhf.c: Likewise.
15263 * math/w_atanhl.c: Likewise.
15264 * math/w_cosh.c: Likewise.
15265 * math/w_coshf.c: Likewise.
15266 * math/w_coshl.c: Likewise.
15267 * math/w_dremf.c: Likewise.
15268 * math/w_exp10.c: Likewise.
15269 * math/w_exp10f.c: Likewise.
15270 * math/w_exp10l.c: Likewise.
15271 * math/w_exp2.c: Likewise.
15272 * math/w_exp2f.c: Likewise.
15273 * math/w_fmod.c: Likewise.
15274 * math/w_fmodf.c: Likewise.
15275 * math/w_fmodl.c: Likewise.
15276 * math/w_hypot.c: Likewise.
15277 * math/w_hypotf.c: Likewise.
15278 * math/w_hypotl.c: Likewise.
15279 * math/w_j0.c: Likewise.
15280 * math/w_j0f.c: Likewise.
15281 * math/w_j0l.c: Likewise.
15282 * math/w_j1.c: Likewise.
15283 * math/w_j1f.c: Likewise.
15284 * math/w_j1l.c: Likewise.
15285 * math/w_jn.c: Likewise.
15286 * math/w_jnf.c: Likewise.
15287 * math/w_jnl.c: Likewise.
15288 * math/w_lgamma.c: Likewise.
15289 * math/w_lgamma_r.c: Likewise.
15290 * math/w_lgammaf.c: Likewise.
15291 * math/w_lgammaf_r.c: Likewise.
15292 * math/w_lgammal.c: Likewise.
15293 * math/w_lgammal_r.c: Likewise.
15294 * math/w_log.c: Likewise.
15295 * math/w_log10.c: Likewise.
15296 * math/w_log10f.c: Likewise.
15297 * math/w_log10l.c: Likewise.
15298 * math/w_log2.c: Likewise.
15299 * math/w_log2f.c: Likewise.
15300 * math/w_log2l.c: Likewise.
15301 * math/w_logf.c: Likewise.
15302 * math/w_logl.c: Likewise.
15303 * math/w_pow.c: Likewise.
15304 * math/w_powf.c: Likewise.
15305 * math/w_powl.c: Likewise.
15306 * math/w_remainder.c: Likewise.
15307 * math/w_remainderf.c: Likewise.
15308 * math/w_remainderl.c: Likewise.
15309 * math/w_scalb.c: Likewise.
15310 * math/w_scalbf.c: Likewise.
15311 * math/w_scalbl.c: Likewise.
15312 * math/w_sinh.c: Likewise.
15313 * math/w_sinhf.c: Likewise.
15314 * math/w_sinhl.c: Likewise.
15315 * math/w_sqrt.c: Likewise.
15316 * math/w_sqrtf.c: Likewise.
15317 * math/w_sqrtl.c: Likewise.
15318 * math/w_tgamma.c: Likewise.
15319 * math/w_tgammaf.c: Likewise.
15320 * math/w_tgammal.c: Likewise.
15322 * po/ja.po: Update from translation team.
15324 2011-09-29 Andreas Jaeger <aj@suse.de>
15327 * sunrpc/netname.c (netname2host): Fix logic.
15331 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15333 * math/w_remainder.c (__remainder): Likewise.
15334 * math/w_remainderf.c (__remainderf): Likewise.
15335 * math/libm-test.inc (remainder_test): Add test cases.
15337 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15339 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15342 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15344 * string/test-memcmp.c: Avoid unncessary #defines.
15345 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15347 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15349 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15350 Use new sse2 version for core i3 - i7 as it's faster
15351 than sse42 version.
15352 (bit_Prefer_PMINUB_for_stringop): New.
15353 * sysdeps/x86_64/rawmemchr.S: Update.
15354 Replace with faster SSE2 version.
15355 * sysdeps/x86_64/memrchr.S: New file.
15356 * sysdeps/x86_64/memchr.S: Update.
15357 Replace with faster SSE2 version.
15359 2011-09-12 Marek Polacek <mpolacek@redhat.com>
15361 * elf/dl-load.c (lose): Add cast to avoid warning.
15363 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15365 * po/ca.po: Update from translation team.
15367 * inet/getnetgrent_r.c: Hook up nscd.
15368 * nscd/Makefile (routines): Add nscd_netgroup.
15369 (nscd-modules): Add netgroupcache.
15370 (CFLAGS-netgroupcache.c): Define.
15371 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15372 (cache_search): Add const to second parameter.
15373 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15375 (dbs): Add netgrdb entry.
15376 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15377 (verify_persistent_db): Handle netgrdb.
15378 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15379 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15381 (netgroup_response_header): Define.
15382 (innetgroup_response_header): Define.
15383 (datahead): Add netgroup_response_header and innetgroup_response_header
15385 * nscd/nscd.conf: Add entries for netgroup cache.
15386 * nscd/nscd.h (dbtype): Add netgrdb.
15387 (_PATH_NSCD_NETGROUP_DB): Define.
15388 (netgroup_iov_disabled): Declare.
15389 (xmalloc, xcalloc, xrealloc): Move declarations here.
15390 (cache_search): Adjust prototype.
15391 Add netgroup-related prototypes.
15392 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15393 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15394 (__nscd_innetgr): Declare.
15395 * nscd/selinux.c (perms): Use access_vector_t as element type and
15396 add netgroup-related initializers.
15397 * nscd/netgroupcache.c: New file.
15398 * nscd/nscd_netgroup.c: New file.
15399 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15400 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15401 For four parameters use innetgr.
15402 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15403 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15404 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15405 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15407 * nscd/connections.c (register_traced_file): Don't register file
15408 for disabled databases.
15410 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15412 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15414 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15415 from tree and freeing node.
15417 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15419 * nss/nsswitch.c (__nss_database_lookup): Handle
15420 nss_parse_service_list out of memory case.
15422 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15424 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15425 out of memory case.
15427 2011-10-04 Andreas Schwab <schwab@redhat.com>
15429 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15430 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15432 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15433 elf_machine_rela, elf_machine_lazy_rel.
15434 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15435 (ELF_DYNAMIC_DO_REL): Likewise.
15436 (ELF_DYNAMIC_DO_RELA): Likewise.
15437 (ELF_DYNAMIC_RELOCATE): Likewise.
15438 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15439 to ELF_DYNAMIC_DO_REL.
15440 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15441 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15442 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15444 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15445 skip_ifunc, don't call ifunc function if non-zero.
15446 (elf_machine_rela): Likewise.
15447 (elf_machine_lazy_rel): Likewise.
15448 (elf_machine_lazy_rela): Likewise.
15449 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15450 (elf_machine_lazy_rel): Likewise.
15451 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15453 (elf_machine_lazy_rel): Likewise.
15454 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15456 (elf_machine_lazy_rel): Likewise.
15457 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15458 (elf_machine_lazy_rel): Likewise.
15459 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15460 (elf_machine_lazy_rel): Likewise.
15461 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15462 (elf_machine_lazy_rel): Likewise.
15463 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15464 (elf_machine_lazy_rel): Likewise.
15465 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15466 (elf_machine_lazy_rel): Likewise.
15467 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15468 (elf_machine_lazy_rel): Likewise.
15470 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15472 * nss/nss_files/files-init.c (_nss_files_init): Use static
15473 initialization for all the *_traced_file variables.
15475 2011-09-28 Andreas Schwab <schwab@redhat.com>
15477 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15479 2011-09-27 Roland McGrath <roland@hack.frob.com>
15482 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15484 2011-09-27 Andreas Schwab <schwab@redhat.com>
15486 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15487 Reread the line before reparsing it.
15489 2011-09-26 Andreas Schwab <schwab@redhat.com>
15491 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15493 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15494 Maxim Kuvyrkov <maxim@codesourcery.com>
15495 Joseph Myers <joseph@codesourcery.com>
15497 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15498 if needed for __stack_chk_guard.
15500 2011-09-19 Roland McGrath <roland@hack.frob.com>
15502 * sysdeps/posix/spawni.c (script_execute): Always define it.
15503 It will be optimized away if unused.
15504 (maybe_script_execute): New function.
15505 (__spawni): Call it.
15507 * Makerules: Don't include tls.make.
15508 (config-tls): Always set to thread.
15509 * tls.make.c: File removed.
15511 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15513 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15514 * config.make.in (CPPFLAGS-config): New substituted variable.
15516 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15518 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15521 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15522 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15524 2011-09-15 Roland McGrath <roland@hack.frob.com>
15526 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15527 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15528 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15529 (CALL_FAIL): Likewise.
15530 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15531 (CALL_FAIL): Macro removed.
15532 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15534 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15536 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15537 for __FINITE_MATH_ONLY__ == 1.
15539 2011-09-15 Andreas Schwab <schwab@redhat.com>
15541 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15542 __ieee754_sqrt instead of sqrt.
15543 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15544 __ieee754_sqrtf instead of sqrtf.
15545 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15546 __floorf instead of floorf.
15547 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15548 __floorf, __truncf instead of floorf, truncf.
15550 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15552 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15554 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15555 __extern_always_inline.
15556 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15559 2011-09-14 Andreas Schwab <schwab@redhat.com>
15561 * elf/rtld.c (dl_main): Also relocate in dependency order when
15562 doing symbol dependency testing.
15564 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15566 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15567 Always define `refsym'.
15569 2011-09-13 Andreas Schwab <schwab@redhat.com>
15571 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15572 (__FD_ELT): Renamed from __FDELT.
15573 * misc/bits/select2.h (__FD_ELT): Likewise.
15574 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15575 __FD_MASK instead of __FDELT, __FDMASK.
15576 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15578 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15581 * elf/Makefile (gen-ldd): Fix pattern.
15583 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15584 (init_tls): Likewise.
15586 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15588 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15590 2011-09-12 Andreas Schwab <schwab@redhat.com>
15592 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15593 `struct cmsghdr *' instead of `void *'.
15594 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15597 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15599 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15601 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15602 ldd_rewrite_script.
15604 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15606 * configure.in: Remove --with-tls option.
15607 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15608 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15609 out in case it is missing.
15610 * sysdeps/ia64/elf/configure.in: Likewise.
15611 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15612 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15613 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15614 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15615 * sysdeps/sh/elf/configure.in: Likewise.
15616 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15617 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15618 * sysdeps/x86_64/elf/configure.in: Likewise.
15619 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15620 * sysdeps/mach/hurd/tls.h: Likewise.
15623 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15626 * configure.in: Fix use of AC_INIT.
15628 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15630 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15632 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15634 * malloc/hooks.c: Likewise.
15637 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15638 variables statically.
15639 (narenas): Initialize.
15640 (list_lock): Initialize.
15641 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15642 initializtion of main_arena and list_lock. Small cleanups.
15643 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15644 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15645 Add initializers to main_arena and mp_.
15646 (malloc_state): Remove pagesize member. Change all users to use
15649 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15650 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15651 is always initialized.
15653 * malloc/malloc.c: Removed unused configurations and dead code.
15654 * malloc/arena.c: Likewise.
15655 * malloc/hooks.c: Likewise.
15656 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15658 * include/tls.h: Removed. USE___THREAD must always be defined.
15659 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15660 * elf/dl-libc.c: Likewise.
15661 * elf/dl-tsd.c: Likewise.
15662 * include/errno.h: Likewise.
15663 * include/netdb.h: Likewise.
15664 * include/resolv.h: Likewise.
15665 * inet/herrno-loc.c: Likewise.
15666 * inet/herrno.c: Likewise.
15667 * malloc/arena.c: Likewise.
15668 * malloc/hooks.c: Likewise.
15669 * malloc/malloc.c: Likewise.
15670 * resolv/res-state.c: Likewise.
15671 * resolv/res_libc.c: Likewise.
15672 * sysdeps/i386/dl-machine.h: Likewise.
15673 * sysdeps/ia64/dl-machine.h: Likewise.
15674 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15675 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15676 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15677 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15678 * sysdeps/sh/dl-machine.h: Likewise.
15679 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15680 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15681 * sysdeps/unix/i386/sysdep.S: Likewise.
15682 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15683 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15684 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15685 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15687 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15688 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15689 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15692 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15693 * sysdeps/x86_64/dl-machine.h: Likewise.
15694 * tls.make.c: Likewise.
15696 * configure.in: Remove --with-__thread option. Make tests for
15697 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15698 tls_model attribute fail if no support is available. Remove
15700 * Makeconfig: Adjust for dropped configure option. All features are
15702 * Makerules: Likewise.
15703 * Versions.def: Likewise.
15704 * argp/argp-fmtstream.c: Likewise.
15705 * argp/argp-fmtstream.h: Likewise.
15706 * argp/argp-help.c: Likewise.
15707 * assert/assert.c: Likewise.
15708 * config.h.in: Likewise.
15709 * config.make.in: Likewise.
15710 * configure: Likewise.
15711 * configure.in: Likewise.
15712 * csu/Versions: Likewise.
15713 * csu/init.c: Likewise.
15714 * elf/tst-audit2.c: Likewise.
15715 * elf/tst-tls10.c: Likewise.
15716 * elf/tst-tls10.h: Likewise.
15717 * elf/tst-tls11.c: Likewise.
15718 * elf/tst-tls12.c: Likewise.
15719 * elf/tst-tls14.c: Likewise.
15720 * elf/tst-tlsmod11.c: Likewise.
15721 * elf/tst-tlsmod12.c: Likewise.
15722 * elf/tst-tlsmod13.c: Likewise.
15723 * elf/tst-tlsmod13a.c: Likewise.
15724 * elf/tst-tlsmod14a.c: Likewise.
15725 * elf/tst-tlsmod15b.c: Likewise.
15726 * elf/tst-tlsmod16a.c: Likewise.
15727 * elf/tst-tlsmod16b.c: Likewise.
15728 * elf/tst-tlsmod7.c: Likewise.
15729 * elf/tst-tlsmod8.c: Likewise.
15730 * elf/tst-tlsmod9.c: Likewise.
15731 * gmon/gmon.c: Likewise.
15732 * grp/fgetgrent_r.c: Likewise.
15733 * grp/putgrent.c: Likewise.
15734 * hurd/fopenport.c: Likewise.
15735 * include/libc-symbols.h: Likewise.
15736 * include/tls.h: Likewise.
15737 * intl/gettextP.h: Likewise.
15738 * intl/loadinfo.h: Likewise.
15739 * locale/global-locale.c: Likewise.
15740 * locale/localeinfo.h: Likewise.
15741 * mach/devstream.c: Likewise.
15742 * malloc/arena.c: Likewise.
15743 * malloc/set-freeres.c: Likewise.
15744 * misc/err.c: Likewise.
15745 * misc/getttyent.c: Likewise.
15746 * misc/mntent_r.c: Likewise.
15747 * posix/getopt.c: Likewise.
15748 * posix/wordexp.c: Likewise.
15749 * pwd/fgetpwent_r.c: Likewise.
15750 * resolv/Versions: Likewise.
15751 * resolv/res_hconf.c: Likewise.
15752 * shadow/fgetspent_r.c: Likewise.
15753 * shadow/putspent.c: Likewise.
15754 * stdio-common/printf_fphex.c: Likewise.
15755 * stdio-common/tmpfile.c: Likewise.
15756 * stdlib/abort.c: Likewise.
15757 * stdlib/fmtmsg.c: Likewise.
15758 * sunrpc/auth_unix.c: Likewise.
15759 * sunrpc/clnt_perr.c: Likewise.
15760 * sunrpc/clnt_tcp.c: Likewise.
15761 * sunrpc/clnt_udp.c: Likewise.
15762 * sunrpc/clnt_unix.c: Likewise.
15763 * sunrpc/openchild.c: Likewise.
15764 * sunrpc/svc_simple.c: Likewise.
15765 * sunrpc/svc_tcp.c: Likewise.
15766 * sunrpc/svc_udp.c: Likewise.
15767 * sunrpc/svc_unix.c: Likewise.
15768 * sunrpc/xdr.c: Likewise.
15769 * sunrpc/xdr_array.c: Likewise.
15770 * sunrpc/xdr_rec.c: Likewise.
15771 * sunrpc/xdr_ref.c: Likewise.
15772 * sunrpc/xdr_stdio.c: Likewise.
15774 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15776 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15778 2011-07-03 Andreas Jaeger <aj@suse.de>
15780 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15781 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15782 regenerate with gen-libm-tests.pl.
15784 2010-05-12 Petr Baudis <pasky@suse.cz>
15787 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15788 around j0() zero points by switching to j1().
15789 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15790 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15791 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15792 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15794 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15796 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15798 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15800 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15801 Patch in part by Pavel Roskin <proski@gnu.org>.
15804 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15806 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15807 Free memory block if necessary.
15810 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15811 be NULL. Don't lock in this case.
15813 2011-09-09 Roland McGrath <roland@hack.frob.com>
15815 * elf/elf.h (ELFOSABI_GNU): New macro.
15816 (ELFOSABI_LINUX): Define to that.
15818 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15820 * string/strncat.c (strncat): Undef the symbol in case it has been
15821 defined in bits/string.h.
15823 2011-09-09 Ulrich Drepper <drepper@gmail.com>
15825 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15827 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
15830 2011-08-17 Andreas Jaeger <aj@suse.de>
15832 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15834 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15835 Ian Lance Taylor <iant@google.com>
15837 * math/libm-test.inc (lround_test): New testcase.
15838 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15840 2011-09-08 Ulrich Drepper <drepper@gmail.com>
15842 * Makefile: Remove support for automatic cvs check-ins.
15843 * Makerules: Likewise.
15844 * config.make.in: Likewise.
15845 * configure.in: Likewise.
15846 * intl/Makefile: Likewise.
15847 * locale/Makefile: Likewise.
15848 * po/Makefile: Likewise.
15849 * posix/Makefile: Likewise.
15850 * sysdeps/gnu/Makefile: Likewise.
15851 * sysdeps/mach/hurd/Makefile: Likewise.
15852 * sysdeps/sparc/sparc32/Makefile: Likewise.
15855 * posix/Makefile (bug-regex32-ENV): Define.
15856 Patch by John Stanley <jpsinthemix@verizon.net>.
15858 * misc/Makefile (headers): Add bits/select2.h.
15859 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15860 * misc/bits/select2.h: New file.
15861 * include/bits/select2.h: New file.
15862 * debug/Makefile (routines): Add fdelt_chk.
15863 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15864 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15866 * debug/fdelt_chk.c: New file.
15868 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15869 * wcsmbs/test-wmemcmp.c: Likewise.
15870 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
15871 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
15873 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15875 * string/Makefile (strop-tests): Add memcmp.
15876 * string/test-wmemcmp.c: New file.
15877 * string/test-memcmp.c: Add wmemcmp support.
15879 2011-09-08 Roland McGrath <roland@hack.frob.com>
15882 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15885 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15886 garbage value in a __mach_port_mod_refs call in the cases of the
15887 task-self and thread-self ports.
15889 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15891 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15893 2011-09-08 Andreas Schwab <schwab@redhat.com>
15895 * elf/dl-load.c (lose): Check for non-null L.
15897 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15899 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15901 * elf/dl-libc.c (dlerror_run): Pass back error code from
15905 * elf/dl-load.c (lose): Free l_origin if it is valid.
15907 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15909 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15910 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15911 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15912 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15913 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15914 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15916 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15918 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15919 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15920 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15921 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15922 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15923 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15924 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15925 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15926 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15927 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15929 2011-08-15 Alan Modra <amodra@gmail.com>
15932 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15933 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15934 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15935 ppc_mcount to static-only-routines.
15936 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15938 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15939 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15941 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15943 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15944 for finite and infinity parameters.
15946 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15948 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15949 and add nop instructions for throughput optimization.
15950 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15952 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15954 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15955 aligned copy for power7 with vector-scalar instructions.
15956 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15958 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15960 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15963 2011-09-07 Andreas Schwab <schwab@redhat.com>
15966 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15969 2011-09-07 Ulrich Drepper <drepper@gmail.com>
15971 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15972 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15973 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15974 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15977 2011-09-06 Ulrich Drepper <drepper@gmail.com>
15979 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15980 Forgot to demangle the pointer.
15982 * sysdeps/i386/sysdep.h: Define atom_text_section.
15983 * sysdeps/x86_64/sysdep.h: Likewise.
15984 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15985 section with atom_text_section.
15986 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15987 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15988 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15989 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15990 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15992 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15993 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15994 already be defined. Change to take two parameters and don't assign
15995 result to variable. Adjust all users.
15996 Define INTERNAL_GETTIME if not already defined.
15997 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16000 HAVE_CLOCK_GETTIME_VSYSCALL.
16001 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16003 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16004 gettimeofday vsyscall, just use time.
16006 2011-09-06 Andreas Schwab <schwab@redhat.com>
16008 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16011 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16013 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16015 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16017 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16018 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16019 syscall if possible.
16021 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16023 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16024 e_ident. Don't pass to find_mapsXX.
16025 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16027 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16030 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16031 * sysdeps/x86_64/multiarch/strchr.S: Update.
16032 Check bit_slow_BSF bit.
16033 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16034 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16035 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16037 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16040 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16042 (tryshell): Define.
16043 (__spawni): Change last parameter to be flag. Test
16044 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16045 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16046 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16047 * posix/spawni.c: Likewise.
16048 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16049 * posix/spawnp.c: Likewise. Change normal version to use
16050 SPAWN_XFLAGS_USE_PATH.
16051 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16052 SPAWN_XFLAGS_TRY_SHELL.
16055 * posix/glob.h: Remove gcc 1.x support.
16058 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16060 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16063 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16065 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16066 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16067 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16068 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16069 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16070 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16072 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16074 * sysdeps/x86_64/wcscmp.S: New file.
16076 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16077 wcscmp-c wcscmp-sse2
16078 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16079 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16080 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16081 * wcsmbs/wcscmp.c: Allow renaming.
16083 2011-09-05 David S. Miller <davem@davemloft.net>
16085 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16086 stack slot, rather than the struct return pointer slot.
16087 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16088 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16090 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16092 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16094 * po/ja.po: Update from translation team.
16097 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16098 kernel in 64-bit binaries.
16100 2011-09-01 David S. Miller <davem@davemloft.net>
16102 * elf/elf.h (HWCAP_SPARC_*): Move to..
16103 * sysdeps/sparc/sysdep.h: this new file and add new values.
16104 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16105 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16106 _DL_HWCAP_COUNT to 24.
16107 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16109 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16110 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16111 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16113 instead of magic constants.
16114 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16116 2011-08-31 David S. Miller <davem@davemloft.net>
16118 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16119 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16120 Reimplement to do errno handling inline.
16121 (SYSCALL_ERROR_HANDLER): New macro.
16122 (__SYSCALL_STRING): Do not do errno handling in asm.
16123 (__CLONE_SYSCALL_STRING): Delete.
16124 (__INTERNAL_SYSCALL_STRING): Delete.
16125 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16126 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16127 (PSEUDO): Reimplement to do errno handling inline.
16128 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16129 (SYSCALL_ERROR_HANDLER): New macro.
16130 (__SYSCALL_STRING): Do not do errno handling in asm.
16131 (__CLONE_SYSCALL_STRING): Delete.
16132 (__INTERNAL_SYSCALL_STRING): Delete.
16133 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16134 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16136 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16137 (inline_syscall*): Add 'err' argument.
16138 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16139 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16140 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16141 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16143 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16144 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16146 2011-08-30 Andreas Schwab <schwab@redhat.com>
16148 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16150 2011-08-29 Jiri Olsa <jolsa@redhat.com>
16152 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16155 2011-08-24 David S. Miller <davem@davemloft.net>
16157 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16159 2011-08-24 Andreas Schwab <schwab@redhat.com>
16161 * elf/Makefile: Add rules to build and run unload8 test.
16162 * elf/unload8.c: New file.
16163 * elf/unload8mod1.c: New file.
16164 * elf/unload8mod1x.c: New file.
16165 * elf/unload8mod2.c: New file.
16166 * elf/unload8mod3.c: New file.
16168 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16171 2011-08-23 David S. Miller <davem@davemloft.net>
16173 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16174 subtract stack bias.
16175 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16176 %sp not %fp in calculations.
16177 (_JMPBUF_UNWINDS_ADJ): Likewise.
16179 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16180 (aio_suspend): Call it to force an exception region around the
16181 AIO_MISC_WAIT() invocation.
16183 2011-08-23 Andreas Schwab <schwab@redhat.com>
16185 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16188 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16190 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16192 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16193 and <dl-machine.h>.
16194 (Elf64_FuncDesc): Remove.
16196 2011-08-22 David S. Miller <davem@davemloft.net>
16198 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16199 sigaltstack check, add missing cfi directives.
16200 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16201 missing cfi directives, and sigaltstack handling.
16203 2011-08-16 Andreas Schwab <schwab@redhat.com>
16206 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16207 object is seen twice.
16208 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16210 * elf/Makefile (distribute): Add tst-initorder2.c.
16211 (tests): Add tst-initorder2.
16212 (modules-names): Add tst-initorder2a tst-initorder2b
16213 tst-initorder2c tst-initorder2d. Add rules to build them.
16214 ($(objpfx)tst-initorder2.out): New rule.
16215 * elf/tst-initorder2.c: New file.
16216 * elf/tst-initorder2.exp: New file.
16218 2011-08-22 Andreas Schwab <schwab@redhat.com>
16220 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16222 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16223 dependencies back to end of function.
16225 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16226 $(elfobjdir)/ld.so.
16228 2011-08-21 Ulrich Drepper <drepper@gmail.com>
16230 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16231 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16232 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16233 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16234 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16235 of __vdso_gettimeofday.
16236 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16237 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16239 (_libc_vdso_platform_setup): Remove initialization of
16240 __vdso_gettimeofday and __vdso_time.
16242 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16244 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16245 and fgetc_unlocked.
16246 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16249 * elf/dl-open.c (add_to_global): Report additions to the global scope
16250 for LD_DEBUG=scopes.
16251 (dl_open_worker): Also print scope of newly loaded dependencies.
16252 (_dl_show_scope): Indicate if there is no scope.
16255 * stdio-common/Makefile (tests): Add bug24.
16256 * stdio-common/bug24.c: New file.
16258 2011-08-19 Andreas Jaeger <aj@suse.de>
16261 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16262 non-existant file when using close-on-exec mode.
16264 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16266 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16267 the very first instruction.
16269 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16270 the CFI state in the end.
16271 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16272 inclusion of dl-trampoline.h.
16273 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16275 2011-08-19 Andreas Schwab <schwab@redhat.com>
16277 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16278 expectations for long double.
16280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16281 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16283 2011-08-14 David S. Miller <davem@davemloft.net>
16285 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16286 artificual limit depends upon the system page size.
16288 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16290 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16291 * resolv/Makefile: Define CFLAGS-libresolv.
16293 2011-08-17 Andreas Schwab <schwab@redhat.com>
16295 * nss/makedb.c (compute_tables): Make variables used in nested
16298 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16300 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16301 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16302 if buffer was too small.
16304 * elf/pldd.c (main): Attach to all threads in the process.
16305 Rewrite /proc handling to use *at functions.
16307 2011-08-16 Ulrich Drepper <drepper@gmail.com>
16309 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16310 specifies first scope to show.
16311 (dl_open_worker): Update callers. Move printing scope of new
16312 object to before the relocation.
16313 * elf/rtld.c (dl_main): Update _dl_show_scope call.
16314 * sysdeps/generic/ldsodefs.h: Update declaration.
16316 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16317 string for the scope number.
16319 2011-08-14 Ulrich Drepper <drepper@gmail.com>
16321 * nscd/servicescache.c (cache_addserv): Make sure written is always
16324 2011-08-14 Roland McGrath <roland@hack.frob.com>
16326 * sysdeps/i386/i486/bits/atomic.h
16327 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16328 statement expression, so as to suppress "set but not used" warning.
16329 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16331 * string/strncat.c (STRNCAT): Use prototype definition.
16333 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16334 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16336 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16337 (localedef-modules): Add localedef.
16338 (locale-modules): Add locale.
16340 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16341 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16342 to avoid a warning.
16344 2011-08-14 David S. Miller <davem@davemloft.net>
16346 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16347 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16349 2011-08-13 Ulrich Drepper <drepper@gmail.com>
16351 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
16352 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16353 * elf/rtld.c (dl_main): Set l_name of vDSO.
16354 Call _dl_show_scope when DL_DEBUG_SCOPES.
16355 (process_dl_debug): Recognize scopes flag and also set it for all.
16356 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16357 Declare _dl_show_scope.
16359 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16360 (do_dlopen): Pass caller_dlopen to dl_open.
16361 (__libc_dlopen_mode): Initialize caller_dlopen.
16363 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16364 of libc. Make tolower call locale-independent. Optimize a bit by
16365 using isdigit instead of isalnum.
16366 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16368 2011-08-12 Ulrich Drepper <drepper@gmail.com>
16370 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16371 was a dependency or dynamically loaded.
16373 2011-08-11 Ulrich Drepper <drepper@gmail.com>
16375 * intl/l10nflist.c: Allow architecture-specific pop function.
16376 * sysdeps/x86_64/l10nflist.c: New file.
16378 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16381 2011-08-10 Andreas Schwab <schwab@redhat.com>
16383 * include/dirent.h: Add libc_hidden_proto for scandirat and
16384 scandirat64. Don't declare __scandirat64.
16385 * dirent/scandirat.c: Add libc_hidden_def.
16386 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16387 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16389 2011-08-10 David S. Miller <davem@davemloft.net>
16391 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16393 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16394 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16395 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16397 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16399 * Versions.def [libc]: Add GLIBC_2.15.
16400 * dirent/Makefile (routines): Add scandirat and scandirat64.
16401 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16403 * dirent/dirent.h: Declare scandirat and scandirat64.
16404 * dirent/scandirat.c: New file.
16405 * dirent/scandirat64.c: New file.
16406 * sysdeps/wordsize-64/scandirat.c: New file.
16407 * sysdeps/wordsize-64/scandirat64.c: New file.
16408 * dirent/opendir.c: Define opendirat.
16409 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16411 * dirent/scandir64.c: Adjust for scandir.c change.
16412 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16413 __scandirat64, and __scandir_cancel_handler.
16414 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16415 additional parameter and use openat instead of open (outside of ld.so).
16416 Add new __opendir as wrapper around __opendirat.
16417 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16418 here without requiring old scandirat implementation.
16420 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16422 * dirent/scandir.c (cancel_handler): Renamed to
16423 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16424 defined. Adjust users.
16425 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16426 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16428 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16430 * string/test-string.h (IMPL): Use __STRING to expand name and then
16433 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16436 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16438 * string/Makefile: Update.
16439 (strop-tests): Append strncat.
16440 * string/test-wcscmp.c: New file.
16441 New comprehensive test for wcscmp.
16442 * string/test-strcmp.c: Update.
16443 (WIDE): New define.
16445 2011-07-22 Andreas Schwab <schwab@redhat.com>
16447 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16450 2011-07-26 Andreas Schwab <schwab@redhat.com>
16452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16453 encoding to ACE if AI_IDN.
16455 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16457 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16458 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16460 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16462 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16463 Fix overflow bug in strncat.
16464 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16466 * string/test-strncat.c: Update.
16467 Add new tests for checking overflow bugs.
16469 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16471 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16472 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16473 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16474 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16475 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16476 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16477 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16478 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16479 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16481 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16482 (USE_AS_STRCAT): Define.
16483 Add strcat and strncat support.
16484 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16486 2011-07-25 Andreas Schwab <schwab@redhat.com>
16488 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16489 __n bigger than INT_MAX+1.
16490 (__strncmp_g): Likewise.
16492 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16494 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16495 * libio/stido.h: Likewise.
16497 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16502 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16503 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16504 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16505 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16506 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16509 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16514 (_dl_x86_64_save_sse): Likewise.
16516 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16520 (_dl_x86_64_save_sse): Likewise.
16522 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16524 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16526 2011-07-21 Andreas Schwab <schwab@redhat.com>
16528 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16530 (_dl_x86_64_save_sse): Use correct AVX check.
16532 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16534 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16535 bug in strncpy/strncat.
16536 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16538 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16540 * string/tester.c (test_strcat): Add tests for different alignments
16541 of source and destination.
16542 (test_strncat): Likewise.
16544 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16547 * posix/glob.c (glob): Check passed in values before using them in
16548 expressions to avoid some overflows.
16549 (glob_in_dir): Likewise.
16552 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16553 check for AVX enablement so that we don't crash with old kernels and
16555 * elf/tst-audit4.c: Add same checks here.
16556 * elf/tst-audit6.c: Likewise.
16558 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16560 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16562 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16564 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16566 * po/cs.po: Update from translation team.
16567 * po/bg.po: Likewise.
16569 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16571 * misc/sys/cdefs.h: Add support for const attribute.
16572 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16573 to gnu_dev_{major,minor,makedev} functions.
16575 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16577 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16579 2011-07-20 Andreas Schwab <schwab@redhat.com>
16581 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16584 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16586 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16587 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16588 register in order to avoid conflicts with the soft frame pointer
16589 being held in r11 when necessary.
16590 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16591 (INTERNAL_VSYSCALL_NCS): Likewise.
16593 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16595 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16596 * elf/dl-fini.c (_dl_fini): Adjust caller.
16597 * elf/dl-close.c (_dl_close_worker): Likewise.
16598 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16600 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16602 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16603 "aux_cache->nlibs < 0".
16605 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16606 in the reload-count case.
16608 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16610 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16611 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16612 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16613 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16614 * sysdeps/x86_64/multiarch/strcat.S: New file.
16615 * sysdeps/x86_64/multiarch/strncat.S: New file.
16616 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16617 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16618 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16619 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16620 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16621 (USE_AS_STRCAT): Define.
16622 Add strcat and strncat support.
16623 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16624 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16625 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16626 * string/strncat.c: Update.
16627 (USE_AS_STRNCAT): Define.
16628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16629 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16631 * sysdeps/x86_64/multiarch/init-arch.h
16632 (bit_Prefer_PMINUB_for_stringop): New.
16633 (index_Prefer_PMINUB_for_stringop): Likewise.
16634 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16635 bit_Prefer_PMINUB_for_stringop.
16637 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16639 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16641 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16642 of casting of buffer.
16643 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16644 buffer32 and buffer64.
16645 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16646 writes instead of casting of buffer.
16647 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16649 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16652 2011-07-19 Andreas Schwab <schwab@redhat.com>
16654 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16656 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16658 * nscd/nscd.c (termination_handler): Don't do anything for a database
16659 if it has not yet been initialized.
16661 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16663 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16665 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16667 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16669 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16671 * po/nl.po: Update from translation team.
16672 * po/sv.po: Likewise.
16674 2011-07-16 Roland McGrath <roland@hack.frob.com>
16676 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16677 now disallowed by GCC.
16679 * configure.in (use-default-link): Default to yes if a test -shared
16680 link meets our qualifications.
16681 * configure: Regenerated.
16683 * config.make.in (output-format): New variable.
16684 * configure.in: Check for ld --print-output-format support.
16685 * configure: Regenerated.
16686 * Makerules ($(common-objpfx)format.lds)
16687 [$(output-format) != unknown]: Just use $(output-format),
16688 instead of the linker-script munging.
16690 2011-07-14 Roland McGrath <roland@hack.frob.com>
16692 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16693 of $(common-objpfx)shlib.lds.
16694 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16696 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16697 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16699 * configure.in (-z relro check): Adjust test code to add a large
16700 writable data section after it.
16701 * configure: Regenerated.
16703 2011-07-11 Roland McGrath <roland@hack.frob.com>
16705 * configure.in (-z relro check): Fix test code to make the variable
16707 * configure: Regenerated.
16709 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16711 * nscd/nscd.h (struct traced_file): Define.
16712 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16713 elements. Add traced_files.
16714 (inotify_fd): Declare.
16715 (register_traced_file): Declare.
16716 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16717 (inotify_fd): Export.
16718 (resolv_conf_descr): Remove.
16719 (nscd_init): Move inotify descriptor creation to main.
16720 Don't register files for notification here.
16721 (register_traced_file): New function.
16722 (invalidate_cache): Don't use reset_res to determine whether to call
16723 res_init, go through the list of registered files.
16724 (main_loop_poll): The inotify descriptors are now stored in the
16725 structures for the traced files.
16726 (main_loop_epoll): Likewise
16727 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16728 to __nss_disable_nscd.
16729 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16730 for a database anymore. Check the records for all the registered
16732 * nss/Makefile (libnss_files-routines): Add files-init.
16733 (libnss_db-routines): Add db-init.
16734 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16735 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16736 * nss/nss_db/db-init.c: New file.
16737 * nss/nss_files/files-init.c: New file.
16738 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16739 __nss_lookup_function.
16740 (__nss_lookup_function): Call nss_load_library.
16741 (nss_load_all_libraries): New function.
16742 (__nss_disable_nscd): Take parameter with callback function for files
16743 to register. Set is_nscd. Load all the DSOs for the NSS modules
16744 used for the cached services.
16745 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16746 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16747 options for features to all the files in nscd.
16749 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16751 2011-07-10 Roland McGrath <roland@hack.frob.com>
16753 * csu/elf-init.c (__libc_csu_init): Comment typo.
16755 2011-07-09 Ulrich Drepper <drepper@gmail.com>
16757 * po/pl.po: Update from translation team.
16758 * po/ja.po: Likewise.
16759 * po/ru.po: Likewise.
16760 * po/ko.po: Likewise.
16761 * po/fr.po: Likewise.
16763 2011-07-09 Roland McGrath <roland@hack.frob.com>
16765 * configure.in (.ctors/.dtors header and trailer check):
16766 Use an empirical test on a built program.
16767 * configure: Regenerated.
16769 * configure.in (-z relro check): Use an empirical test on a built DSO.
16770 Detect, but do not require, on ia64.
16771 * configure: Regenerated.
16773 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16774 Update tests that use readelf to use $READELF instead.
16775 * configure: Regenerated.
16777 2011-07-08 Ulrich Drepper <drepper@gmail.com>
16779 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16780 if the result is not used.
16782 2011-07-05 Andreas Jaeger <aj@suse.de>
16785 * stdlib/tst-strtod.c: Add testcase.
16787 2011-07-07 Ulrich Drepper <drepper@gmail.com>
16789 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
16790 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
16791 The latter has a higher limit. Take additional parameter to pass to
16793 (__pathconf): Pass file to __statfs_link_max.
16794 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16796 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16800 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16801 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16803 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16804 (__statfs_filesize_max): Likewise.
16805 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16807 2011-07-05 Andreas Jaeger <aj@suse.de>
16809 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16811 2011-07-06 Marek Polacek <mpolacek@redhat.com>
16813 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16815 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16818 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16820 * Makefile (strop-tests): Add strncat.
16821 * string/test-strncat.c: New file.
16823 2011-06-30 Marek Polacek <mpolacek@redhat.com>
16825 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16827 2011-06-21 Andreas Jaeger <aj@suse.de>
16829 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16830 Copy rule from iconvdata/Makefile.
16832 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16835 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16836 but no long options are defined, just return 'W'.
16838 2011-06-22 Marek Polacek <mpolacek@redhat.com>
16841 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16843 2011-07-06 Ulrich Drepper <drepper@gmail.com>
16845 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16847 (innetgr): Likewise.
16849 2011-07-05 Roland McGrath <roland@hack.frob.com>
16851 * config.make.in (install_root): Default to $(DESTDIR).
16853 2011-07-05 Ulrich Drepper <drepper@gmail.com>
16855 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16857 2011-07-02 Roland McGrath <roland@hack.frob.com>
16859 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16861 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16862 containing directory rather than embedding absolute directory names.
16864 * scripts/check-local-headers.sh: Rewritten using awk.
16865 Match by word, not by line. Print error messages for matches.
16866 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16868 * Makerules [shlib-lds-flags empty]:
16869 ($(common-objpfx)libc_pic.opts): New target.
16870 ($(common-objpfx)libc_pic.os.clean): New target.
16871 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16873 * config.make.in (OBJCOPY): New variable.
16874 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16875 * configure: Regenerated.
16877 * config.make.in (use-default-link): New variable.
16878 * configure.in (use_default_link): Grok --with-default-link to set it.
16879 * configure: Regenerated.
16880 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16881 (shlib-lds, shlib-lds-flags): Define to empty.
16883 * Makerules (shlib-lds): New variable.
16884 (shlib-lds-flags): New variable.
16885 (build-shlib, build-moduile, build-module-asneeded): Use it.
16886 ($(common-objpfx)libc.so): Use $(shlib-lds).
16887 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16888 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16890 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16891 DT_FLAGS/DT_FLAGS_1 with zero flags.
16893 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16894 linker script munging.
16896 2011-07-02 Ulrich Drepper <drepper@gmail.com>
16898 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16900 * crypt/sha512.c (sha512_process_block): Perform total addition using
16901 128-bit if possible.
16902 (__sha512_finish_ctx): Likewise.
16903 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16905 * crypt/sha256.c (SWAP64): Define.
16906 (sha256_process_block): Perform total addition using 64-bit if
16908 (__sha256_finish_ctx): Likewise.
16910 2011-07-01 Ulrich Drepper <drepper@gmail.com>
16912 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16913 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16914 * nscd/hstcache.c (cache_addhst): Likewise.
16915 * nscd/grpcache.c (cache_addgr): Likewise.
16916 * nscd/aicache.c (addhstaiX): Likewise
16917 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16919 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
16921 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16922 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16923 * nscd/hstcache.c (cache_addhst): Likewise.
16924 * nscd/grpcache.c (cache_addgr): Likewise.
16925 * nscd/aicache.c (addhstaiX): Likewise
16927 2011-07-01 Andreas Schwab <schwab@redhat.com>
16929 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16930 domain only when needed.
16932 2011-06-30 Andreas Schwab <schwab@redhat.com>
16934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16935 is always restored.
16937 2011-06-29 Ulrich Drepper <drepper@gmail.com>
16939 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16940 are re-adding the entry.
16941 * nscd/servicescache.c (cache_addserv): Likewise.
16943 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16945 * sysdeps/generic/dl-irel.h: fix protection against multiple
16947 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16949 2011-06-28 Ulrich Drepper <drepper@gmail.com>
16952 * malloc/memusage.sh: Fix quoting in message.
16953 * debug/xtrace.sh: Likewise.
16955 * configure.in: Remove support for --experimental-malloc option, make
16957 * config.make.in: Likewise.
16958 * malloc/Makefile: Likewise.
16960 2011-06-27 Andreas Schwab <schwab@redhat.com>
16962 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16963 two-byte characters.
16965 2011-06-27 Roland McGrath <roland@hack.frob.com>
16967 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16968 AC_CACHE_CHECK invocation.
16969 * configure: Regenerated.
16971 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16973 2011-06-27 Ulrich Drepper <drepper@gmail.com>
16976 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16977 bit from old_res_options.
16979 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16981 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16982 value type for setfct.
16984 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16986 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16987 __gettimeofday instead of gettimeofday.
16989 2011-06-26 Ulrich Drepper <drepper@gmail.com>
16991 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16993 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16995 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16997 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17000 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17003 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17004 strcpy-sse2-unaligned strncpy-sse2-unaligned
17005 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17006 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17007 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17008 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17009 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17010 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17011 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17012 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17013 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17014 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17015 (STRCPY): Support SSE2 and SSSE3 versions.
17017 2011-06-24 Ulrich Drepper <drepper@gmail.com>
17020 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17021 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17022 kernels which artificially limit size of requests.
17024 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17026 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17027 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17028 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17029 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17030 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17031 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17032 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17033 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17034 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17035 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17036 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17037 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17038 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17039 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17040 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17042 Enable unaligned load optimization for Intel Core i3, i5 and i7
17044 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17046 (index_Fast_Unaligned_Load): Define.
17047 (HAS_FAST_UNALIGNED_LOAD): Define.
17049 2011-06-23 Marek Polacek <mpolacek@redhat.com>
17051 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17053 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17056 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17057 until it is clear that the information is realy needed.
17058 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17060 2011-06-22 Andreas Schwab <schwab@redhat.com>
17062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17064 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17066 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17067 /sys/devices/system/cpu/online if it is usable.
17069 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17070 reading the information from the /proc filesystem to once a second.
17072 2011-06-21 Andreas Jaeger <aj@suse.de>
17074 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17075 NULL after inclusion of kernel headers.
17077 2011-06-21 Ulrich Drepper <drepper@gmail.com>
17079 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17080 calls to internal_setent.
17083 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17084 addresses using gethostbyname4_r ignore IPv4 addresses.
17086 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17087 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17089 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17091 2011-06-20 David S. Miller <davem@davemloft.net>
17093 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17095 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17097 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17098 (elf_irel): Use it.
17099 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17100 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17101 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17102 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17103 * sysdeps/x86_64/dl-irel.h: Likewise.
17105 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17106 * elf/dl-sym.c: Likewise.
17108 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17110 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17111 need to dereference resplen2.
17113 2011-06-14 Andreas Schwab <schwab@redhat.com>
17115 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17117 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17119 * Makeconfig: Define vardbdir and inst_vardbdir.
17120 * nss/Makefile: Add rules to install db-Makefile.
17122 * nss/nss_db/db-XXX.c: Cleanup.
17124 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17125 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17127 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17128 * nss/makedb.c: Implement -g option to specify that value strings
17129 are generated and should not be added to table iterated over for
17131 * nss/nss_db/db-initgroups.c: New file.
17133 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17136 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17137 (internal_getgrouplist): Adjust to name change.
17138 Update use_initgroups_entry if this is not the first call.
17139 * nss/databases.def: Add initgroups entry.
17141 * nss/makedb.c (compute_tables): Check result of multiple hash table
17142 sizes to minimize maximum chain length.
17144 2011-06-14 Ulrich Drepper <drepper@gmail.com>
17146 * Versions.def: Add entry for libnss_db.
17147 * shlib-versions: Likewise.
17148 * nss/Makefile: Add rules to build libnss_db.
17149 * nss/Versions: Add libnss_db information. Organize libnss_files
17151 * nss/db-Makefile: Add gshadow support. Change rules for the new
17152 makedb progra. Some minor improvements to generate smaller files.
17153 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17155 * nss/makedb.c: ...here.
17156 Improve database format to be smaller and require less memory at
17158 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17160 * nss/nss_db/db-netgrp.c: Likewise.
17161 * nss/nss_db/db-open.c: Likewise.
17162 * nss/nss_files/flies-XXX.x: Adjust comments.
17163 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17164 * nss/nss_files/files-grp.c: Likewise.
17165 * nss/nss_files/files-hosts.c: Likewise.
17166 * nss/nss_files/files-network.c: Likewise.
17167 * nss/nss_files/files-proto.c: Likewise.
17168 * nss/nss_files/files-pwd.c: Likewise.
17169 * nss/nss_files/files-rpc.c: Likewise.
17170 * nss/nss_files/files-service.c: Likewise.
17171 * nss/nss_files/files-sgrp.c: Likewise.
17172 * nss/nss_files/files-spwd.c: Likewise.
17173 * nss/nss_db/db-alias.c: Removed.
17174 * nss/nss_db/dummy-db.h: Removed.
17176 2011-06-02 Ulrich Drepper <drepper@gmail.com>
17178 * nss/makedb.c: Rewritten to not use database library.
17179 * nss/Makefile: Update to build new makedb program.
17181 2011-06-14 Andreas Jaeger <aj@suse.de>
17183 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17184 memset declaration.
17186 2011-06-10 Andreas Schwab <schwab@redhat.com>
17188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17191 2011-06-10 Roland McGrath <roland@hack.frob.com>
17193 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17194 * elf/Makefile ($(objpfx)ld.so): Likewise.
17196 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17197 Don't list ld.so twice in dependencies.
17199 * posix/bug-regex31.c: Include <stdlib.h>.
17201 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17203 * nis/nss_compat/compat-spwd.c
17204 (getspent_next_nss_netgr): Remove unused variable.
17205 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17207 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17208 nonmembers" output to use the right array.
17210 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17212 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17214 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17215 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17216 * catgets/gencat.c (read_input_file): Likewise.
17217 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17219 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17220 variable definition inside #if's controlling its use.
17222 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17224 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17226 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17228 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17231 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17233 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17234 * configure: Regenerated.
17236 * Makerules: Revert last change.
17237 * elf/Makefile: Likewise.
17239 2011-06-09 Roland McGrath <roland@hack.frob.com>
17241 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17242 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17243 (reloc-link): Likewise.
17245 2011-06-09 Ulrich Drepper <drepper@gmail.com>
17247 * elf/Makefile: Add rules to build pldd.
17248 * elf/pldd.c: New file.
17249 * elf/pldd-xx.c: New file.
17251 2011-06-07 Ulrich Drepper <drepper@gmail.com>
17253 * version.h: Update for 2.15 development version.
17255 2011-06-07 David S. Miller <davem@davemloft.net>
17257 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17259 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17260 elf_machine_lazy_rel): Likewise.
17261 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17262 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17263 elf_machine_lazy_rel): Likewise.
17264 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17265 dl_hwcap via passed in argument.
17266 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17269 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17271 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17273 2011-06-06 Roland McGrath <roland@hack.frob.com>
17276 * manual/fdl-1.1.texi: New file, verbatim from:
17277 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17278 * manual/lgpl-2.1.texi: New file, verbatim from:
17279 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17280 * manual/Makefile (licenses): New variable, list those new file names.
17282 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17284 * manual/fdl.texi: File removed.
17285 * manual/lesser.texi: File removed.
17286 * manual/libc.texinfo (Copying, Documentation License):
17287 Use new @include file names, put @appendix directive before @include.
17289 2011-06-04 Jakub Jelinek <jakub@redhat.com>
17292 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17293 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17294 (mq_open): Add __NTH.
17296 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17299 Assume Intel Core i3/i5/i7 processor if AVX is available.
17301 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17303 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17306 2011-05-31 Andreas Schwab <schwab@redhat.com>
17308 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17309 memory. Use alloca_account. Fix memory leak when retrying.
17311 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17313 * version.h (RELEASE): Bump for 2.14 release.
17314 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17316 * config.make.in (RANLIB): Remove entry.
17318 2011-05-30 Ulrich Drepper <drepper@gmail.com>
17320 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17321 (libc.pot): Work around missing support for .ksh extension in xgettext.
17324 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17325 if both request failed.
17326 (send_dg): In case of server errors clear resplen or *resplen2.
17329 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17330 when there are multiple maps.
17331 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17332 (_dl_fini): Remove test here.
17334 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17336 2011-05-29 Ulrich Drepper <drepper@gmail.com>
17339 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17340 bit from old_res_options.
17341 (gaih_inet): Likewise.
17344 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
17347 * resolv/res_init.c (res_setoptions): Make the code more compact.
17350 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17354 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17356 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17359 * malloc/malloc.h: Declare malloc hook variables as volatile.
17361 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17365 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
17366 raise in the comment.
17367 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17368 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17369 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
17371 2011-05-28 Ulrich Drepper <drepper@gmail.com>
17374 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17375 grow the buffers more if it already has to be sufficient.
17376 (build_wcs_upper_buffer): Likewise.
17377 * posix/regexec.c (check_matching): Likewise.
17378 (clean_state_log_if_needed): Likewise.
17379 (extend_buffers): Don't enlarge buffers beyond size of the input
17381 Patches mostly by Emil Wojak <emil@wojak.eu>.
17382 * posix/bug-regex32.c: New file.
17383 * posix/Makefile (tests): Add bug-regex32.
17385 * locale/findlocale.c (_nl_find_locale): Return right away if
17386 _nl_explode_name failed.
17387 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17389 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17391 * debug/xtrace.sh: Unify messages.
17392 * malloc/memusage.sh: Likewise.
17395 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17396 time symbol from vDSO. Substitute with vsyscall if not available.
17397 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17400 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17401 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17402 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17403 Add sendmmsg and internal_sendmmsg.
17404 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17405 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17406 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17408 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17409 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17410 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17412 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17415 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17416 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17418 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17422 * iconvdata/Makefile (tests): Add bug-iconv9.
17423 * iconvdata/bug-iconv9.c: New file.
17425 2011-05-27 Andreas Schwab <schwab@redhat.com>
17428 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17430 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17432 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17433 (struct user_regs_struct): Change intcs field back to cs.
17435 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17437 * po/ja.po: Update from translation team.
17439 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17442 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17443 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17445 2011-05-20 Andreas Schwab <schwab@redhat.com>
17447 * stdlib/longlong.h: Update from GCC.
17449 2011-05-23 Andreas Schwab <schwab@redhat.com>
17451 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17453 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17454 Add parameter name.
17455 (__sysconf): Pass it down.
17457 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17460 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17462 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17463 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17464 add in in __libc_use_alloca calls. Adjust callers.
17465 (glob): Use malloc in some situations.
17467 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17468 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17471 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17473 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17474 and CLOCK_BOOTTIME_ALARM.
17477 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17480 * string/_strerror.c (__strerror_r): Print negative errors as signed
17484 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17485 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17486 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17488 * configure.in: Fix typo in redirection and correct removal of test
17489 files in two cases.
17492 * locale/setlocale.c (new_composite_name): Fix test to check for
17493 identical name of all categories.
17496 * libio/filedoalloc.c (local_isatty): New function.
17497 (_IO_file_doallocate): Use local_isatty.
17498 * stdio-common/perror.c (perror): In case a new stream is used
17499 forward the stream error.
17500 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17503 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17508 * include/alloca.h (extend_alloca_account): Define.
17511 * posix/regex.h: Fix comments with documentation of user-accessible
17512 fields after compilation and describe correct free'ing of pattern
17513 after re_compile_pattern.
17514 Patch by Reuben Thomas <rrt@sc3d.org>.
17516 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17518 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17519 and -mno-altivec to prevent the compiler from using Altivec and/or
17520 VSX instructions when the corresponding registers are not available.
17522 2011-05-19 Andreas Schwab <schwab@redhat.com>
17524 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17526 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17528 * libio/freopen.c (freopen): Use __dup2, not dup2.
17529 * libio/freopen64.c (freopen64): Likewise.
17531 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17534 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17535 * math/Makefile (tests): Add test-powl.
17536 (CFLAGS-test-powl.c): Define.
17537 * math/test-powl.c: New file.
17539 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17541 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17543 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17546 * iconvdata/gb18030.c: Update to GB18020-2005.
17548 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17550 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17551 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17552 Patch by Aharon Robbins <arnold@skeeve.com>.
17555 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17559 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17560 through underflows.
17563 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17564 point to strings before performing equality test for error_one_per_line
17568 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17571 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17572 (struct user_fpregs_struct): Avoid __uint*_t types.
17575 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17576 symbol info. Use it instead of calling _dl_addr locally.
17577 (lock_and_info): New function.
17578 (tr_freehook): Call lock_and_info and pass symbol info as additional
17579 parameter to tr_where.
17580 (tr_mallochook): Likewise.
17581 (tr_reallochook): Likewise.
17582 (tr_memalignhook): Likewise.
17584 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17585 used and couldn't be at all thread-safe.
17587 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17589 * libio/freopen.c (freopen): Don't close old file descriptor
17590 before the new one is opened. Instead dup the new file descriptor
17591 to the old one after the new stream is created.
17592 * libio/freopen64.c (freopen64): Likewise.
17593 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17594 * libio/fileops.c (_IO_new_file_close_it): Handle new
17595 _IO_FLAGS2_NOCLOSE flag.
17596 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17597 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17598 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17599 _IO_FLAGS2_NOCLOSE flag.
17600 * include/unistd.h: Add hidden_proto for dup3.
17601 Define __have_dup3.
17602 * io/dup3.c: Define hidden symbol.
17603 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17606 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17607 when an incomplete long option is used.
17608 * posix/tst-getopt_long1.c: New file.
17609 * posix/Makefile (tests): Add tst-getopt_long1.
17612 * scripts/config.guess: Update from autoconf-2.68.
17613 * scripts/config.sub: Likewise.
17616 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17618 (has_cpuclock): ...this. New function.
17619 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17620 macro here based on has_cpuclock code.
17623 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17624 First byte (not low byte) is now always NUL.
17625 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17627 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17628 Use non-cancelable interfaces.
17631 * locale/iso-639.def: Add entry for Sorani.
17634 * include/stdlib.h: Move include protection to the right place.
17635 Define abort_msg_s. Declare __abort_msg with it.
17636 * stdlib/abort.c (__abort_msg): Adjust type.
17637 * assert/assert.c (__assert_fail_base): New function. Majority
17638 of code from __assert_fail. Allocate memory for __abort_msg with
17640 (__assert_fail): Now call __assert_fail_base.
17641 * assert/assert-perr.c: Remove bulk of implementation. Use
17642 __assert_fail_base.
17643 * include/assert.hL Declare __assert_fail_base.
17644 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17646 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17648 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17652 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17653 until all modules are registered in the DTV.
17654 * elf/Makefile: Add rules to build and run tst-tls19.
17655 * elf/tst-tls19.c: New file.
17656 * elf/tst-tls19mod1.c: New file.
17657 * elf/tst-tls19mod2.c: New file.
17658 * elf/tst-tls19mod3.c: New file.
17659 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17662 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17666 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17667 two-byte sequence errors.
17668 * iconvdata/Makefile (tests): Add bug-iconv8.
17669 * iconvdata/bug-iconv8.c: New file.
17672 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17675 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17678 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17679 (dummy_getcfa): New function.
17680 (init): Get _Unwind_GetCFA address, use dummy if not found.
17681 (backtrace_helper): In recursion check, also check whether CFA changes.
17682 (__backtrace): Completely initialize arg.
17684 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17685 storing incomplete byte sequence in state object. Avoid testing for
17686 guaranteed too small input if we know there is enough data available.
17688 2011-05-11 Andreas Schwab <schwab@redhat.com>
17690 * Makeconfig (+link-pie): Indent.
17691 * Rules (binaries-pie): Define if $(have-fpie) and
17693 (binaries-shared): Also filter out $(binaries-pie).
17694 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17695 * nscd/Makefile (others-pie): Add nscd.
17696 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17697 ($(objpfx)nscd): Remove command override.
17698 * login/Makefile (others-pie): Add pt_chown.
17699 ($(objpfx)pt_chown): Remove command override.
17700 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17701 remove command overrides.
17703 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17705 * libio/tst_putwc.c: Fix error messages.
17708 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17709 currently writing and seek to current position when not.
17710 * libio/Makefile (tests): Add bug-fclose1.
17711 * libio/bug-fclose1.c: New file.
17713 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17716 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17717 don't set DF_1_NODELETE here.
17718 (do_lookup_x): When entering new entry test for copy relocation
17719 and if necessary set DF_1_NODELETE flag.
17720 * elf/tst-unique4.cc: New file.
17721 * elf/tst-unique4.h: New file.
17722 * elf/tst-unique4lib.cc: New file.
17723 * elf/Makefile: Add rules to build and run tst-unique4.
17724 Patch by Piotr Bury <pbury@goahead.com>.
17726 2011-05-11 Ulrich Drepper <drepper@gmail.com>
17729 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17732 * misc/mntent_r.c (addmntent): Flush the stream after the output
17735 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17736 (is_trusted_path_normalize): Skip initial colon. Append slash
17737 to empty buffer. Duplicate is_trusted_path code but allow
17738 constructed patch to be prefix.
17739 (is_dst): Allow $ORIGIN followed by /.
17740 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17741 Correct testing of result of is_trusted_path_normalize
17742 (decompose_rpath): Fix warning.
17744 2011-05-10 Ulrich Drepper <drepper@gmail.com>
17747 * grp/initgroups.c (internal_getgrouplist): When we found the service
17748 list through the initgroups entry in nsswitch.conf do not always
17749 continue on a successful lookup. Don't always use the
17750 __nss_group_database value if it is set.
17751 * nss/nsswitch.conf (initgroups): Change action for successful db
17752 lookup to continue for compatibility.
17754 2011-05-09 Ulrich Drepper <drepper@gmail.com>
17757 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17759 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17761 * iconvdata/tst-tables.sh: Likewise.
17762 * iconvdata/cp770.c: New file.
17763 * iconvdata/cp771.c: New file.
17764 * iconvdata/cp772.c: New file.
17765 * iconvdata/cp773.c: New file.
17766 * iconvdata/cp774.c: New file.
17767 * iconvdata/testdata/CP770: New file.
17768 * iconvdata/testdata/CP770..UTF8: New file.
17769 * iconvdata/testdata/CP771: New file.
17770 * iconvdata/testdata/CP771..UTF8: New file.
17771 * iconvdata/testdata/CP772: New file.
17772 * iconvdata/testdata/CP772..UTF8: New file.
17773 * iconvdata/testdata/CP773: New file.
17774 * iconvdata/testdata/CP773..UTF8: New file.
17775 * iconvdata/testdata/CP774: New file.
17776 * iconvdata/testdata/CP774..UTF8: New file.
17778 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17780 * iconvdata/gen-8bit-gap.sh: Likewise.
17781 * iconvdata/gen-8bit.sh: Likewise.
17783 * locale/iso-639.def: Add ary entry.
17786 * locale/C-translit.h.in: Add U20A1 transliteration.
17789 * locale/iso-639.def: Add wae entry.
17790 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17793 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17797 * locale/C-translit.h.in: Add entry for U20B9.
17798 Patch by pravin.d.s@gmail.com.
17800 2011-05-08 Ulrich Drepper <drepper@gmail.com>
17803 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17804 ENAMETOOLONG use generic getcwd.
17805 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17806 in rtld. Use *stat64.
17807 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
17808 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
17809 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
17810 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17811 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17812 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17813 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17814 __fstatat64 macros.
17815 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17816 * dirent/rewinddir.c: Add libc_hidden_def.
17817 * sysdeps/mach/hurd/rewinddir.c: Likewise.
17818 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
17820 * include/dirent.h (__alloc_dir): Add flags parameter.
17821 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17822 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17824 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17825 from fdopendir if O_CLOEXEC is already set.
17827 2011-03-15 Alan Modra <amodra@gmail.com>
17829 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17830 l_tls_firstbyte_offset non-zero. Save padding offset in
17831 l_tls_firstbyte_offset for later use.
17832 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17833 freeing static tls block.
17835 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17837 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17838 where #ifdef was intended. The intent is to prevent ARG_MAX from
17839 being defined by the kernel headers.
17841 2011-05-07 Ulrich Drepper <drepper@gmail.com>
17844 * resolv/resolv.h: Define RES_NOTLDQUERY.
17845 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17846 no-tld-query and set RES_NOTLDQUERY.
17847 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17848 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17849 modern BIND to search name as TLD unless forbidden.
17851 2011-05-07 Petr Baudis <pasky@suse.cz>
17852 Ulrich Drepper <drepper@gmail.com>
17855 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17856 (is_trusted_path): ...to here.
17857 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
17858 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
17859 using is_trusted_path_normalize() in setuid scripts.
17861 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17863 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17864 __BEGIN/__END_DECLS.
17866 2011-05-06 Ulrich Drepper <drepper@gmail.com>
17868 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17869 NSS_STATUS_NOTFOUND if no record was found.
17871 2011-05-05 Andreas Schwab <schwab@redhat.com>
17873 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17874 (headers-not-in-tirpc): Remove rpc/netdb.h
17875 * resolv/netdb.h: Revert last change.
17877 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17879 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17880 circular dependency between libgcc.a and libc.a.
17882 2011-05-05 Andreas Schwab <schwab@redhat.com>
17884 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17885 * nis/Makefile: Don't install rpcsvc/*.
17886 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17887 instead of <rpc/types.h>.
17888 (MAXHOSTNAMELEN): Define.
17890 2011-05-03 Andreas Schwab <schwab@redhat.com>
17892 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17894 2011-04-28 Maciej Babinski <mbabinski@google.com>
17897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17898 gethostbyname4_r when IPv6 results are possible.
17900 2011-05-02 Ulrich Drepper <drepper@gmail.com>
17903 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17904 _PC_PIPE_BUF handling.
17906 2011-04-30 Bruno Haible <bruno@clisp.org>
17909 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17910 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17912 * inet/getnameinfo.c (getnameinfo): Likewise.
17914 2011-04-29 Ulrich Drepper <drepper@gmail.com>
17916 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17917 to groups setting in database lookup.
17918 * nss/nsswitch.conf: Add initgroups entry.
17920 2011-04-22 Ulrich Drepper <drepper@gmail.com>
17923 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17925 Patch by Eric Blake <eblake@redhat.com>.
17927 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17929 * sunrpc/Makefile (need-export-routines): Add svc_run.
17930 (routines): Remove svc_run.
17931 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17932 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17933 * sunrpc/svc_run.c (svc_run): Likewise.
17934 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17936 2011-04-21 Ulrich Drepper <drepper@gmail.com>
17938 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17939 problem in reallocation in last patch.
17941 2011-04-20 Ulrich Drepper <drepper@gmail.com>
17943 * sunrpc/Makefile: Move inclusion of Rules.
17945 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17947 * nss/nss_files/files-initgroups.c: New file.
17948 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17949 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17950 _nss_files_initgroups_dyn.
17952 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17954 * elf/elf.h (R_ARM_IRELATIVE): Define.
17956 2011-04-19 Ulrich Drepper <drepper@gmail.com>
17958 * po/ru.po: Update from translation team.
17960 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17962 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17965 2011-02-06 Mike Frysinger <vapier@gentoo.org>
17968 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17969 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17970 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17971 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17972 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17974 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17976 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17978 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17979 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17980 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17982 2011-04-17 Ulrich Drepper <drepper@gmail.com>
17985 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17987 * stdlib/bug-getcontext.c: New file.
17988 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17990 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17992 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17993 instructions into .machine "z9-109".
17994 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17995 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17997 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17999 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18000 between environment variables and auxiliary vector.
18002 2011-04-16 Ulrich Drepper <drepper@gmail.com>
18004 * Makefile: Add rules to build linkobj/libc.so.
18005 * include/libc-symbols.h: Define libc_hidden_nolink.
18006 * include/rpc/auth.h: Mark functions which are to be hidden.
18007 * include/rpc/auth_des.h: Likewise.
18008 * include/rpc/auth_unix.h: Likewise.
18009 * include/rpc/clnt.h: Likewise.
18010 * include/rpc/des_crypt.h: Likewise.
18011 * include/rpc/key_prot.h: Likewise.
18012 * include/rpc/pmap_clnt.h: Likewise.
18013 * include/rpc/pmap_prot.h: Likewise.
18014 * include/rpc/pmap_rmt.h: Likewise.
18015 * include/rpc/rpc_msg.h: Likewise.
18016 * include/rpc/svc.h: Likewise.
18017 * include/rpc/svc_auth.h: Likewise.
18018 * include/rpc/xdr.h: Likewise.
18019 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18020 * nss/Makefile: Likewise.
18021 * sunrpc/Makefile: Don't install headers. Build library with normal
18022 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18023 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18024 for the compat linking library. Remove use of INTDEF/INTUSE.
18025 * sunrpc/auth_none.c: Likewise.
18026 * sunrpc/auth_unix.c: Likewise.
18027 * sunrpc/authdes_prot.c: Likewise.
18028 * sunrpc/authuxprot.c: Likewise.
18029 * sunrpc/clnt_gen.c: Likewise.
18030 * sunrpc/clnt_perr.c: Likewise.
18031 * sunrpc/clnt_raw.c: Likewise.
18032 * sunrpc/clnt_simp.c: Likewise.
18033 * sunrpc/clnt_tcp.c: Likewise.
18034 * sunrpc/clnt_udp.c: Likewise.
18035 * sunrpc/clnt_unix.c: Likewise.
18036 * sunrpc/des_crypt.c: Likewise.
18037 * sunrpc/des_soft.c: Likewise.
18038 * sunrpc/get_myaddr.c: Likewise.
18039 * sunrpc/key_call.c: Likewise.
18040 * sunrpc/key_prot.c: Likewise.
18041 * sunrpc/netname.c: Likewise.
18042 * sunrpc/pm_getmaps.c: Likewise.
18043 * sunrpc/pm_getport.c: Likewise.
18044 * sunrpc/pmap_clnt.c: Likewise.
18045 * sunrpc/pmap_prot.c: Likewise.
18046 * sunrpc/pmap_prot2.c: Likewise.
18047 * sunrpc/pmap_rmt.c: Likewise.
18048 * sunrpc/publickey.c: Likewise.
18049 * sunrpc/rpc_cmsg.c: Likewise.
18050 * sunrpc/rpc_common.c: Likewise.
18051 * sunrpc/rpc_dtable.c: Likewise.
18052 * sunrpc/rpc_prot.c: Likewise.
18053 * sunrpc/rpc_thread.c: Likewise.
18054 * sunrpc/rtime.c: Likewise.
18055 * sunrpc/svc.c: Likewise.
18056 * sunrpc/svc_auth.c: Likewise.
18057 * sunrpc/svc_authux.c: Likewise.
18058 * sunrpc/svc_raw.c: Likewise.
18059 * sunrpc/svc_run.c: Likewise.
18060 * sunrpc/svc_simple.c: Likewise.
18061 * sunrpc/svc_tcp.c: Likewise.
18062 * sunrpc/svc_udp.c: Likewise.
18063 * sunrpc/svc_unix.c: Likewise.
18064 * sunrpc/svcauth_des.c: Likewise.
18065 * sunrpc/xcrypt.c: Likewise.
18066 * sunrpc/xdr.c: Likewise.
18067 * sunrpc/xdr_array.c: Likewise.
18068 * sunrpc/xdr_float.c: Likewise.
18069 * sunrpc/xdr_intXX_t.c: Likewise.
18070 * sunrpc/xdr_mem.c: Likewise.
18071 * sunrpc/xdr_rec.c: Likewise.
18072 * sunrpc/xdr_ref.c: Likewise.
18073 * sunrpc/xdr_sizeof.c: Likewise.
18074 * sunrpc/xdr_stdio.c: Likewise.
18076 2011-04-10 Ulrich Drepper <drepper@gmail.com>
18079 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18080 * sysdeps/ia64/dl-tls.h: Likewise.
18081 * sysdeps/powerpc/dl-tls.h: Likewise.
18082 * sysdeps/s390/dl-tls.h: Likewise.
18083 * sysdeps/sh/dl-tls.h: Likewise.
18084 * sysdeps/sparc/dl-tls.h: Likewise.
18085 * sysdeps/x86_64/dl-tls.h: Likewise.
18086 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18088 2011-03-14 Andreas Schwab <schwab@redhat.com>
18090 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18091 rpath element also skip the following colon.
18092 (expand_dynamic_string_token): Add is_path parameter and pass
18093 down to DL_DST_REQUIRED and _dl_dst_substitute.
18094 (decompose_rpath): Call expand_dynamic_string_token with
18095 non-zero is_path. Ignore empty rpaths.
18096 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18099 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18104 2011-04-09 Ulrich Drepper <drepper@gmail.com>
18107 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18108 Patch by Filipe David Manana <fdmanana@apache.org>.
18110 2011-04-07 Andreas Schwab <schwab@redhat.com>
18112 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18113 Maintain aligned stack.
18114 (CHECK_RSP): Remove unused macro.
18116 2011-04-03 Ulrich Drepper <drepper@gmail.com>
18118 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18119 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18121 2011-04-02 Ulrich Drepper <drepper@gmail.com>
18123 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18125 * include/features.h: Mention __USE_XOPEN2K8 in comment.
18127 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18130 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18131 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18132 * sysdeps/x86_64/memmove.c: New file.
18133 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18134 (memcpy): Renamed to ...
18135 (__new_memcpy): This.
18136 (memcpy): Provide GLIBC_2_14 memcpy.
18137 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18138 (memcpy): Provide GLIBC_2_2_5 memcpy.
18140 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18143 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18145 2011-03-30 Andreas Schwab <schwab@redhat.com>
18147 * misc/syncfs.c: New file.
18148 * misc/Makefile (routines): Add syncfs.
18149 * posix/unistd.h: Declare syncfs.
18150 * sysdeps/unix/syscalls.list: Add syncfs.
18152 2011-04-01 Andreas Schwab <schwab@redhat.com>
18154 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18156 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18157 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18158 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18159 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18161 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18162 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18164 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18166 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18167 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18168 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18169 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18170 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18172 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18174 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18175 sync_file_range.c with -fexceptions.
18176 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18177 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18178 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18179 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18180 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18181 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18182 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
18183 sync_file_range as cancellation point
18184 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18185 now a wrapper around __call_sync_file_range with cancellation handling.
18186 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18187 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18188 function name to __call_sync_file_range.
18189 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18190 Add call_sync_file_range.
18192 2011-04-01 Andreas Schwab <schwab@redhat.com>
18194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18197 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18199 * iconv/iconv.h: Fix typo in comment.
18200 * io/fcntl.h: Likewise.
18201 * libio/stdio.h: Likewise.
18202 * posix/spawn.h: Likewise.
18203 * posix/unistd.h: Likewise.
18204 * stdlib/stdlib.h: Likewise.
18205 * time/time.h: Likewise.
18206 * wcsmbs/wchar.h: Likewise.
18208 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18209 open_by_handle): Add.
18210 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18211 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18212 Augment a few comments.
18213 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18214 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18215 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18216 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18217 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18218 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18221 * io/fcntl.h (AT_EMPTY_PATH): Define.
18223 2011-03-30 Ulrich Drepper <drepper@gmail.com>
18225 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18226 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18227 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18229 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
18230 * Versions.def: Add GLIBC_2.14.
18231 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18234 2011-03-22 Ulrich Drepper <drepper@gmail.com>
18236 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18238 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18240 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18243 * string/test-strncmp.c (do_page_test): New function.
18244 (check2): Likewise.
18245 (test_main): Call check2.
18246 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18248 2011-03-20 Ulrich Drepper <drepper@gmail.com>
18251 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18252 Handle cache information in CPU leaf 4.
18253 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18255 2011-03-18 Ulrich Drepper <drepper@gmail.com>
18258 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18259 character representation.
18260 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18262 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18264 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18265 END(__isnan) to END(__isnanf) to match function entry point/label
18266 EALIGN(__isnanf,...).
18268 2011-03-10 Jakub Jelinek <jakub@redhat.com>
18270 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18272 2011-03-10 Ulrich Drepper <drepper@gmail.com>
18275 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18276 copy from the symbol referenced in the relocation to initialize the
18278 Patch by Piotr Bury <pbury@goahead.com>.
18279 * elf/Makefile: Add rules to build and tst-unique3.
18280 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18281 * elf/tst-unique3.cc: New file.
18282 * elf/tst-unique3.h: New file.
18283 * elf/tst-unique3lib.cc: New file.
18284 * elf/tst-unique3lib2.cc: New file.
18286 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18288 2011-03-10 Mike Frysinger <vapier@gentoo.org>
18290 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18291 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18294 2011-03-06 Ulrich Drepper <drepper@gmail.com>
18296 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18297 to-be-loaded object along a path to loader is ld.so.
18299 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18300 Ulrich Drepper <drepper@gmail.com>
18302 * sysdeps/x86_64/memset.S: After aligning destination, code
18303 branches to different locations depending on the value of
18304 misalignment, when multiarch is enabled. Fix this.
18306 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18308 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18309 Set _x86_64_preferred_memory_instruction for AMD processsors.
18310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18311 Set bit_Prefer_SSE_for_memop for AMD processors.
18313 2011-03-04 Ulrich Drepper <drepper@gmail.com>
18315 * libio/fmemopen.c (fmemopen): Optimize a bit.
18317 2011-03-03 Andreas Schwab <schwab@redhat.com>
18319 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18321 2011-03-03 Roland McGrath <roland@redhat.com>
18323 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18325 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18327 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
18328 __bzero_ultra1 instead of __memset_ultra1.
18330 2011-02-23 Andreas Schwab <schwab@redhat.com>
18331 Ulrich Drepper <drepper@gmail.com>
18334 * include/link.h (struct link_map): Add l_orig_initfini.
18335 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18336 returning unsuccessfully.
18337 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18338 close of a file loaded at startup, restore the original l_initfini
18340 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18341 list, store the pointer.
18342 * elf/Makefile ($(objpfx)noload-mem): New rule.
18343 (noload-ENV): Define.
18344 (tests): Add $(objpfx)noload-mem.
18345 * elf/noload.c: Include <memcheck.h>.
18346 (main): Call mtrace. Close all opened handles.
18348 2011-02-17 Andreas Schwab <schwab@redhat.com>
18351 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18352 dependencies are missing.
18354 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18356 Fix __if_freereq crash: Unlike the generic version which uses free,
18358 * sysdeps/mach/hurd/ifreq.h: New file.
18360 2011-01-27 Petr Baudis <pasky@suse.cz>
18361 Ulrich Drepper <drepper@gmail.com>
18364 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18365 to extend_alloca().
18366 * stdio-common/bug23.c: New file.
18367 * stdio-common/Makefile (tests): Add bug23.
18369 2010-09-28 Andreas Schwab <schwab@redhat.com>
18370 Ulrich Drepper <drepper@gmail.com>
18373 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18374 before performing relro protection. At old place add assertion
18375 to make sure nothing changed.
18377 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18378 Glauber de Oliveira Costa <glommer@gmail.com>
18380 * elf/elf.h: Add new ARM TLS relocs.
18382 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18385 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18387 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18389 * sysdeps/wordsize-64/tst-writev.c: New file.
18391 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18393 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18394 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18395 insns in _dl_start to prevent a TOC reference before relocs are
18398 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18401 * Makeconfig: Remove RANLIB definition.
18402 * Makerules: Don't use RANLIB.
18403 * aclocal.m4: Remove ranlib test.
18404 * configure.in: No need to check for ranlib.
18405 * elf/rtld-Rules: Don't use RANLIB.
18407 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18409 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18411 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18412 inclusion protection macro.
18414 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18415 SIGRTMIN and SIGRTMAX and print information in that case only when
18416 SIGRTMIN is defined.
18418 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18420 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18421 arginfo fn returning -1.
18423 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18424 and thousands string is zero terminated.
18426 2011-02-03 Andreas Schwab <schwab@redhat.com>
18428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18429 sysdeps/unix/sysv/linux/bits/socket.h.
18431 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18433 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18434 (__CPU_COUNT): Remove old macros.
18435 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18436 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18437 (__CPU_ALLOC, __CPU_FREE): Add macros.
18438 (__sched_cpualloc, __sched_cpufree): Add declarations.
18440 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18442 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18443 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18444 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18445 (readdhstai): Return value of addhstaiX call.
18446 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18447 (addgrbyX): Return value returned by cache_addgr.
18448 (readdgrbyname): Return value returned by addgrbyX.
18449 (readdgrbygid): Likewise.
18450 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18451 (addpwbyX): Return value returned by cache_addpw.
18452 (readdpwbyname): Return value returned by addhstbyX.
18453 (readdpwbyuid): Likewise.
18454 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18455 (addservbyX): Return value returned by cache_addserv.
18456 (readdservbyname): Return value returned by addservbyX:
18457 (readdservbyport): Likewise.
18458 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18459 (addhstbyX): Return value returned by cache_addhst.
18460 (readdhstbyname): Return value returned by addhstbyX.
18461 (readdhstbyaddr): Likewise.
18462 (readdhstbynamev6): Likewise.
18463 (readdhstbyaddrv6): Likewise.
18464 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18465 (readdinitgroups): Return value returned by addinitgroupsX.
18466 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18467 (prune_cache): Keep track of timeout value of re-added entries.
18468 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18469 * nscd/nscd.h: Adjust prototypes of readd* functions.
18471 2011-02-04 Roland McGrath <roland@redhat.com>
18473 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18474 (nis_stats): Likewise.
18475 * nis/nis_modify.c (nis_modify): Likewise.
18476 * nis/nis_remove.c (nis_remove): Likewise.
18477 * nis/nis_add.c (nis_add): Likewise.
18479 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18481 * posix/fnmatch_loop.c: Add some consts.
18483 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18485 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18488 * config.make.in (config-cflags-novzeroupper): Define.
18489 * configure.in: Substitute libc_cv_cc_novzeroupper.
18490 * elf/Makefile (AVX-CFLAGS): Define.
18491 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18492 (CFLAGS-tst-auditmod4a.c): Likewise.
18493 (CFLAGS-tst-auditmod4b.c): Likewise.
18494 (CFLAGS-tst-auditmod6b.c): Likewise.
18495 (CFLAGS-tst-auditmod6c.c): Likewise.
18496 (CFLAGS-tst-auditmod7b.c): Likewise.
18497 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18499 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18501 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18502 function to the callback.
18503 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18505 2011-02-02 Andreas Schwab <schwab@redhat.com>
18507 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18510 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18513 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18515 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18517 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18520 * elf/Makefile: Add rules to build and run new test.
18521 * elf/tst-initorder.c: New file.
18522 * elf/tst-initorder.exp: New file.
18523 * elf/tst-initordera1.c: New file.
18524 * elf/tst-initordera2.c: New file.
18525 * elf/tst-initordera3.c: New file.
18526 * elf/tst-initordera4.c: New file.
18527 * elf/tst-initorderb1.c: New file.
18528 * elf/tst-initorderb2.c: New file.
18529 * elf/tst-order-a1.c: New file.
18530 * elf/tst-order-a2.c: New file.
18531 * elf/tst-order-a3.c: New file.
18532 * elf/tst-order-a4.c: New file.
18533 * elf/tst-order-b1.c: New file.
18534 * elf/tst-order-b2.c: New file.
18535 * elf/tst-order-main.c: New file.
18536 New test case by George Gensure <werkt0@gmail.com>.
18538 2010-10-01 Andreas Schwab <schwab@redhat.com>
18540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18541 decoding ACE if AI_CANONIDN.
18543 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18545 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18547 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18549 * version.h (RELEASE): Bump for 2.13 release.
18550 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18552 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18554 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18556 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18557 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18558 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18559 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18560 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18561 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18563 * posix/getconf.c: Update copyright year.
18564 * catgets/gencat.c: Likewise.
18565 * csu/version.c: Likewise.
18566 * debug/catchsegv.sh: Likewise.
18567 * debug/xtrace.sh: Likewise.
18568 * elf/ldconfig.c: Likewise.
18569 * elf/ldd.bash.in: Likewise.
18570 * elf/sprof.c (print_version): Likewise.
18571 * iconv/iconv_prog.c: Likewise.
18572 * iconv/iconvconfig.c: Likewise.
18573 * locale/programs/locale.c: Likewise.
18574 * locale/programs/localedef.c: Likewise.
18575 * malloc/memusage.sh: Likewise.
18576 * malloc/mtrace.pl: Likewise.
18577 * nscd/nscd.c (print_version): Likewise.
18578 * nss/getent.c: Likewise.
18580 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18581 PF_CAIF, and PF_ALG.
18582 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18584 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18586 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18587 (modules-names): Use them.
18588 (ifunc-test-modules, ifunc-pie-tests): Define.
18589 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18590 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18591 (test-extras): Likewise.
18592 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18593 $(compile-command.c).
18594 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18595 (all-built-dso): Define.
18596 (check-textrel.out, check-execstack.out): Depend on it.
18598 * configure.in: Don't override --enable-multi-arch.
18600 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18603 * nscd/hstcache.c (tryagain): Define.
18604 (cache_addhst): Return tryagain not notfound for temporary errors.
18605 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18608 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18611 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18612 to make the syscall.
18613 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18616 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18617 and fall back to matching as normal character if the string ends before
18618 the matching ']' is found. This is what POSIX requires.
18619 * posix/testfnm.c: Adjust test result.
18620 * posix/globtest.sh: Adjust test result. Add new test.
18621 * posix/tst-fnmatch.input: Likewise.
18622 * posix/tst-fnmatch2.c: Add new test.
18624 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18626 * elf/Makefile (check-execstack): Revert last change. Depend on
18628 (check-execstack.h): New target.
18629 (generated): Add check-execstack.h.
18630 * elf/check-execstack.c: Include "check-execstack.h".
18631 (main): Revert last change.
18632 (handle_file): Return zero if GNU_STACK is absent and
18633 DEFAULT_STACK_PERMS doesn't include PF_X.
18635 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18637 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18638 in child fails because the descriptor is already closed.
18639 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18640 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18641 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18644 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18648 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18649 temporary buffer used to handle multi lookups locally.
18650 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18652 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18654 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18657 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18659 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18660 alignment for SSE2.
18662 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18665 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18666 characters. When rounding increased number of integer digits recompute
18668 * stdio-common/tst-grouping.c: New file.
18669 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18671 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18673 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18674 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18676 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18678 * bits/select.h: Likewise.
18680 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18682 * po/ja.po: Update from translation team.
18684 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18687 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18688 implementation just like for lxstat, fxstatat, et al.
18690 2010-12-27 Jim Meyering <meyering@redhat.com>
18693 * posix/regexec.c (build_trtable): Return failure indication upon
18694 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18696 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18699 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18700 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18701 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18702 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18705 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18708 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18709 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18711 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18713 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18714 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18715 script has SORT_BY_INIT_PRIORITY.
18716 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18717 NO_CTORS_DTORS_SECTIONS is defined.
18718 * elf/soinit.c: Likewise.
18719 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18720 NO_CTORS_DTORS_SECTIONS is defined.
18721 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18722 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18723 * sysdeps/sh/init-first.c: Likewise.
18724 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18726 2010-12-24 Ulrich Drepper <drepper@gmail.com>
18728 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18729 always use the slow path.
18731 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18733 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18734 similar rule which adds the sysdep directories to the header search in
18735 order to pick up the correct platform stackinfo.h.
18736 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18737 perform test if it is, otherwise return successfully without testing.
18738 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18739 DEFAULT_STACK_PERMS define in stackinfo.h.
18740 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18741 defined in stackinfo.h.
18742 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18743 DEFAULT_STACK_PERMS defined in stackinfo.h.
18744 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18745 * sysdeps/ia64/stackinfo.h: Likewise.
18746 * sysdeps/s390/stackinfo.h: Likewise.
18747 * sysdeps/sh/stackinfo.h: Likewise.
18748 * sysdeps/sparc/stackinfo.h: Likewise.
18749 * sysdeps/x86_64/stackinfo.h: Likewise.
18750 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18751 PF_X for powerpc64. Retain PF_X for powerpc32.
18753 2010-12-19 Ulrich Drepper <drepper@gmail.com>
18755 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18757 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18758 GETDENTS_64BIT_ALIGNED.
18760 2010-12-14 Ulrich Drepper <dreper@gmail.com>
18762 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
18764 2010-12-10 Andreas Schwab <schwab@redhat.com>
18766 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18769 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18770 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18772 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18773 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18775 2010-12-09 Ulrich Drepper <drepper@gmail.com>
18778 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18781 2010-12-09 Jakub Jelinek <jakub@redhat.com>
18783 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18785 2010-12-03 Ulrich Drepper <drepper@gmail.com>
18787 * po/it.po: Update from translation team.
18789 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18791 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18794 2010-11-30 Ulrich Drepper <drepper@gmail.com>
18796 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18798 2010-11-24 Andreas Schwab <schwab@redhat.com>
18800 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18802 (gaih_getanswer_slice): Likewise.
18804 2010-10-20 Jakub Jelinek <jakub@redhat.com>
18806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18808 2010-05-31 Petr Baudis <pasky@suse.cz>
18811 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18812 silently even in the chroot mode.
18814 2010-11-22 Ulrich Drepper <drepper@gmail.com>
18816 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18817 last patch a bit. Pretty printing
18819 2010-05-31 Petr Baudis <pasky@suse.cz>
18822 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18823 initialization of skip_initgroups_dyn.
18825 2010-11-19 Ulrich Drepper <drepper@gmail.com>
18827 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18828 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18830 2010-11-16 Ulrich Drepper <drepper@gmail.com>
18832 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18834 2010-11-11 Andreas Schwab <schwab@redhat.com>
18836 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18837 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18838 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18839 ($(objpfx)tst-fnmatch-mem): New rule.
18840 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18841 * posix/tst-fnmatch.c (main): Call mtrace.
18843 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18846 Support Intel processor model 6 and model 0x2c.
18848 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
18850 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18853 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18856 * string/test-strncasecmp.c (check_result): New function.
18857 (do_one_test): Use it.
18858 (check1): New function.
18859 (test_main): Use it.
18860 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18861 Support strcasecmp and strncasecmp.
18863 2010-11-08 Ulrich Drepper <drepper@gmail.com>
18866 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18867 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18869 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18871 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18873 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18875 * sysdeps/x86_64/multiarch/bzero.S: New file.
18876 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18877 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18878 * sysdeps/x86_64/multiarch/memset.S: New file.
18879 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18881 Set bit_Prefer_SSE_for_memop for Intel processors.
18882 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18884 (index_Prefer_SSE_for_memop): Define.
18885 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18887 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
18889 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18890 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18892 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18895 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18896 (__x86_64_raw_data_cache_size_half): Likewise.
18897 (__x86_64_raw_shared_cache_size): Likewise.
18898 (__x86_64_raw_shared_cache_size_half): Likewise.
18900 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18901 (__x86_64_raw_data_cache_size_half): Likewise.
18902 (__x86_64_raw_shared_cache_size): Likewise.
18903 (__x86_64_raw_shared_cache_size_half): Likewise.
18904 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18905 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18906 and __x86_64_raw_shared_cache_size_half. Round
18907 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18908 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18909 to multiple of 256 bytes.
18911 2010-11-03 Ulrich Drepper <drepper@gmail.com>
18914 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18915 of inacessible symlinks. Verify result of symlink before returning it.
18916 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18917 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18919 2010-10-28 Erich Ritz <erichritz@gmail.com>
18921 * math/math.h (isinf): Fix typo in comment.
18923 2010-11-01 Ulrich Drepper <drepper@gmail.com>
18925 * po/da.po: Update from translation team.
18927 2010-10-26 Ulrich Drepper <drepper@gmail.com>
18929 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18930 is added to the list.
18932 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18933 Ulrich Drepper <drepper@gmail.com>
18935 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18936 the global list here. Move code to...
18937 (_dl_add_to_namespace_list): ...here. New function.
18938 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18939 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18940 * elf/dl-load.c (lose): Don't remove the element from the list.
18941 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18942 (_dl_map_object): Likewise.
18944 2010-10-25 Ulrich Drepper <drepper@gmail.com>
18947 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18948 into all bytes of SSE register.
18949 Patch by Richard Li <richardpku@gmail.com>.
18951 2010-10-24 Ulrich Drepper <drepper@gmail.com>
18954 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18957 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18959 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18960 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18961 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18962 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18967 2010-10-22 Andreas Schwab <schwab@redhat.com>
18969 * include/dlfcn.h (__RTLD_SECURE): Define.
18970 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18971 mode & __RTLD_SECURE instead.
18972 (open_path): Rename preloaded parameter to secure.
18973 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18974 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18975 * elf/dl-deps.c (openaux): Likewise.
18976 * elf/rtld.c (struct map_args): Remove is_preloaded.
18977 (map_doit): Don't use it.
18978 (dl_main): Likewise.
18979 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18980 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18982 2010-09-09 Andreas Schwab <schwab@redhat.com>
18984 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18985 (sysd-rules-targets): Remove duplicates.
18986 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18987 rtld-%.$o dependency.
18989 2010-10-18 Andreas Schwab <schwab@redhat.com>
18991 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18992 _dl_map_object do it.
18994 2010-10-19 Ulrich Drepper <drepper@gmail.com>
18996 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18997 fast fma builtins, define the macros in the C99 standard.
18998 (FP_FAST_FMAF): Likewise.
18999 (FP_FAST_FMAL): Likewise.
19000 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19002 * bits/mathdef.h: Update copyright year.
19003 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19005 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19007 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19008 builtins, define the macros in the C99 standard.
19009 (FP_FAST_FMAF): Likewise.
19010 (FP_FAST_FMAL): Likewise.
19011 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19013 (FP_FAST_FMAF): Likewise.
19015 2010-10-15 Jakub Jelinek <jakub@redhat.com>
19018 * math/libm-test.inc (fma_test): Some new testcases.
19019 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19020 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19021 y and infinite z. Do multiplication by C already in long double.
19022 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19024 y and infinite z. Do bitwise or of inexact bit into u.d.
19025 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19026 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19027 * sysdeps/i386/fpu/s_fma.S: Removed.
19028 * sysdeps/i386/fpu/s_fmal.S: Removed.
19030 2010-10-16 Jakub Jelinek <jakub@redhat.com>
19033 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19034 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19035 computation is not scheduled after fetestexcept. Fix value
19036 of minimum denormal long double.
19038 2010-10-14 Jakub Jelinek <jakub@redhat.com>
19041 * math/libm-test.inc (fma_test): Add some more tests.
19042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19045 2010-10-15 Andreas Schwab <schwab@redhat.com>
19047 * scripts/data/localplt-s390-linux-gnu.data: New file.
19048 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19050 2010-10-13 Jakub Jelinek <jakub@redhat.com>
19053 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19054 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19056 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19058 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19059 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19060 if one of x and y is very large and the other is subnormal.
19061 * sysdeps/s390/fpu/s_fmaf.c: New file.
19062 * sysdeps/s390/fpu/s_fma.c: New file.
19063 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19064 * sysdeps/powerpc/fpu/s_fma.S: New file.
19065 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19066 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19067 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19069 2010-10-12 Jakub Jelinek <jakub@redhat.com>
19072 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19074 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19075 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19076 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19077 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19078 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19079 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19080 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19082 2010-10-12 Ulrich Drepper <drepper@redhat.com>
19085 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19086 * posix/bug-regex31.input: Add test case.
19088 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19090 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19091 * posix/bug-regex31.input: New file.
19094 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19095 (parse_sub_exp): Fix last change, use postorder.
19097 * posix/bug-regex31.c: New file.
19098 * posix/Makefile: Add rules to build and run bug-regex31.
19100 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19103 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19106 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19107 to have entries in sys_siglist.
19110 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19113 2010-10-07 Jakub Jelinek <jakub@redhat.com>
19116 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19117 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19118 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19119 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19120 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19121 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19122 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19123 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19124 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19125 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19126 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19127 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19128 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19129 * math/ftestexcept.c (fetestexcept): Likewise.
19130 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19131 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19132 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19133 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19134 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19135 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19136 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19138 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19141 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19144 2010-10-06 Ulrich Drepper <drepper@gmail.com>
19146 * string/bug-strstr1.c: New file.
19147 * string/Makefile: Add rules to build and run bug-strstr1.
19149 2010-10-05 Eric Blake <eblake@redhat.com>
19152 * string/str-two-way.h (two_way_long_needle): Always clear memory
19153 when skipping input due to the shift table.
19155 2010-10-03 Ulrich Drepper <drepper@gmail.com>
19158 * malloc/mcheck.c: Handle large requests.
19161 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19162 for strncmp and strncasecmp.
19163 * string/stratcliff.c: Add tests for strcmp and strncmp.
19164 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19166 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19168 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19171 2010-09-30 Andreas Jaeger <aj@suse.de>
19173 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19174 (CGROUP_SUPER_MAGIC): Define.
19175 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19176 Handle btrfs and cgroup file systems.
19177 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19180 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
19182 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19183 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19185 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19188 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19189 trying to locate the ELF header.
19191 2010-09-27 Andreas Schwab <schwab@redhat.com>
19194 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19195 Mask out sign-bit copies when constructing f_fsid.
19197 2010-09-24 Petr Baudis <pasky@suse.cz>
19199 * debug/stack_chk_fail_local.c: Add missing licence exception.
19200 * debug/warning-nop.c: Likewise.
19202 2010-09-15 Joseph Myers <joseph@codesourcery.com>
19204 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19205 implementing getdents64 using getdents syscall, set d_type if
19206 __ASSUME_GETDENTS32_D_TYPE.
19208 2010-09-16 Andreas Schwab <schwab@redhat.com>
19210 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19211 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19213 2010-09-21 Ulrich Drepper <drepper@redhat.com>
19216 * posix/unistd.h: Undo change of feature selection for ftruncate from
19219 2010-09-20 Ulrich Drepper <drepper@redhat.com>
19221 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
19224 2010-09-20 Andreas Schwab <schwab@redhat.com>
19226 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19228 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19230 2010-09-14 Andreas Schwab <schwab@redhat.com>
19232 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19233 variables after CHECK_SP call.
19234 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19236 2010-09-13 Andreas Schwab <schwab@redhat.com>
19237 Ulrich Drepper <drepper@redhat.com>
19239 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19240 re-relocationg ld.so.
19241 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19242 _dl_init_paths call.
19243 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19246 2010-09-14 Ulrich Drepper <drepper@redhat.com>
19248 * resolv/res_init.c (__res_vinit): Count the default server we added.
19250 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19251 Ulrich Drepper <drepper@redhat.com>
19254 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19255 (____longjmp_chk): Use %ebx for saving value across system call.
19258 2010-09-06 Andreas Schwab <schwab@redhat.com>
19260 * manual/Makefile: Don't mix pattern rules with normal rules.
19262 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19264 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19266 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19267 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19268 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19269 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19270 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19273 2010-09-04 Ulrich Drepper <drepper@redhat.com>
19276 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19277 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19279 2010-09-02 Ulrich Drepper <drepper@redhat.com>
19281 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19282 * sysdeps/x86_64/addmul_1.S: Likewise.
19283 * sysdeps/x86_64/lshift.S: Likewise.
19284 * sysdeps/x86_64/mul_1.S: Likewise.
19285 * sysdeps/x86_64/rshift.S: Likewise.
19286 * sysdeps/x86_64/sub_n.S: Likewise.
19287 * sysdeps/x86_64/submul_1.S: Likewise.
19289 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19291 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19292 Define __sched_param instead of SCHED_* and sched_param when
19293 <bits/sched.h> is included with __need_schedparam defined.
19294 * bits/sched.h [__need_schedparam]
19295 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
19296 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19297 (__defined_schedparam): Define to 1.
19298 (__sched_param): New structure, identical to sched_param.
19299 (__need_schedparam): Undefine.
19301 2010-08-31 Mike Frysinger <vapier@gentoo.org>
19303 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19304 (epoll_create1): Declare.
19306 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19308 2010-08-31 Andreas Schwab <schwab@redhat.com>
19311 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19312 shifting retval into place.
19314 2010-09-01 Ulrich Drepper <drepper@redhat.com>
19316 * nis/rpcsvc/nis.h: Update copyright notice.
19317 * nis/rpcsvc/nis.x: Likewise.
19318 * nis/rpcsvc/nis_callback.h: Likewise.
19319 * nis/rpcsvc/nis_callback.x: Likewise.
19320 * nis/rpcsvc/nis_object.x: Likewise.
19321 * nis/rpcsvc/nis_tags.h: Likewise.
19322 * nis/rpcsvc/yp.h: Likewise.
19323 * nis/rpcsvc/yp.x: Likewise.
19324 * nis/rpcsvc/ypupd.h: Likewise.
19325 * nis/yp_xdr.c: Likewise.
19326 * nis/ypupdate_xdr.c: Likewise.
19328 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19329 mainly the body of pmap_getport. Add parameters to specify timeouts.
19330 (pmap_getport): Use __libc_rpc_getport.
19331 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19332 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19333 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19335 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19340 2010-08-27 Roland McGrath <roland@redhat.com>
19342 * sysdeps/i386/i686/multiarch/Makefile
19343 (CFLAGS-varshift.c): New variable.
19345 2010-08-27 Ulrich Drepper <drepper@redhat.com>
19347 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19348 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19350 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19352 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19354 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19356 * sysdeps/x86_64/strlen.S: Unroll the loop.
19357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19358 strlen-sse2 strlen-sse2-bsf.
19359 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19360 __strlen_no_bsf if bit_Slow_BSF is set.
19361 (__strlen_sse42): Removed.
19362 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19363 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19365 2010-08-25 Roland McGrath <roland@redhat.com>
19367 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19368 * sysdeps/x86_64/multiarch/varshift.c: New file.
19369 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19370 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19371 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19372 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19374 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19377 strlen-sse2 strlen-sse2-bsf.
19378 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19379 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19380 (__strlen_sse2): Removed.
19381 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19382 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19384 bit_Slow_BSF for Atom.
19385 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19386 (index_Slow_BSF): Define.
19387 (HAS_SLOW_BSF): Define.
19389 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19392 * resolv/res_init.c (__res_vinit): When no server address at all
19393 is given default to loopback.
19395 2010-08-24 Roland McGrath <roland@redhat.com>
19397 * configure.in: Remove config-name.h generation.
19398 * configure: Regenerated.
19399 * config-name.in: File removed.
19400 * scripts/config-uname.sh: New file.
19401 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19402 ($(objdir)config-name.h): New target.
19404 * sunrpc/rpc_parse.h: Avoid nested comment.
19406 2010-08-24 Richard Henderson <rth@redhat.com>
19407 Ulrich Drepper <drepper@redhat.com>
19408 H.J. Lu <hongjiu.lu@intel.com>
19410 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19411 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19412 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19413 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19414 _mm_alignr_epi8 with _mm_loadu_si128.
19415 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19416 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19417 (__m128i_shift_right): Removed.
19418 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19419 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19420 * sysdeps/x86_64/multiarch/varshift.h: New file.
19421 * sysdeps/x86_64/multiarch/varshift.S: New file.
19423 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19425 * configure.in: Move assembler checks to before sysdep dir checking.
19427 2010-08-20 Petr Baudis <pasky@suse.cz>
19429 * LICENSES: Sync the sunrpc license.
19431 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19433 * sunrpc/auth_des.c: Update copyright notice once again.
19434 * sunrpc/auth_none.c: Likewise.
19435 * sunrpc/auth_unix.c: Likewise.
19436 * sunrpc/authdes_prot.c: Likewise.
19437 * sunrpc/authuxprot.c: Likewise.
19438 * sunrpc/bindrsvprt.c: Likewise.
19439 * sunrpc/clnt_gen.c: Likewise.
19440 * sunrpc/clnt_perr.c: Likewise.
19441 * sunrpc/clnt_raw.c: Likewise.
19442 * sunrpc/clnt_simp.c: Likewise.
19443 * sunrpc/clnt_tcp.c: Likewise.
19444 * sunrpc/clnt_udp.c: Likewise.
19445 * sunrpc/clnt_unix.c: Likewise.
19446 * sunrpc/des_crypt.c: Likewise.
19447 * sunrpc/des_soft.c: Likewise.
19448 * sunrpc/get_myaddr.c: Likewise.
19449 * sunrpc/getrpcport.c: Likewise.
19450 * sunrpc/key_call.c: Likewise.
19451 * sunrpc/key_prot.c: Likewise.
19452 * sunrpc/openchild.c: Likewise.
19453 * sunrpc/pm_getmaps.c: Likewise.
19454 * sunrpc/pm_getport.c: Likewise.
19455 * sunrpc/pmap_clnt.c: Likewise.
19456 * sunrpc/pmap_prot.c: Likewise.
19457 * sunrpc/pmap_prot2.c: Likewise.
19458 * sunrpc/pmap_rmt.c: Likewise.
19459 * sunrpc/rpc/auth.h: Likewise.
19460 * sunrpc/rpc/auth_unix.h: Likewise.
19461 * sunrpc/rpc/clnt.h: Likewise.
19462 * sunrpc/rpc/des_crypt.h: Likewise.
19463 * sunrpc/rpc/key_prot.h: Likewise.
19464 * sunrpc/rpc/netdb.h: Likewise.
19465 * sunrpc/rpc/pmap_clnt.h: Likewise.
19466 * sunrpc/rpc/pmap_prot.h: Likewise.
19467 * sunrpc/rpc/pmap_rmt.h: Likewise.
19468 * sunrpc/rpc/rpc.h: Likewise.
19469 * sunrpc/rpc/rpc_des.h: Likewise.
19470 * sunrpc/rpc/rpc_msg.h: Likewise.
19471 * sunrpc/rpc/svc.h: Likewise.
19472 * sunrpc/rpc/svc_auth.h: Likewise.
19473 * sunrpc/rpc/types.h: Likewise.
19474 * sunrpc/rpc/xdr.h: Likewise.
19475 * sunrpc/rpc_clntout.c: Likewise.
19476 * sunrpc/rpc_cmsg.c: Likewise.
19477 * sunrpc/rpc_common.c: Likewise.
19478 * sunrpc/rpc_cout.c: Likewise.
19479 * sunrpc/rpc_dtable.c: Likewise.
19480 * sunrpc/rpc_hout.c: Likewise.
19481 * sunrpc/rpc_main.c: Likewise.
19482 * sunrpc/rpc_parse.c: Likewise.
19483 * sunrpc/rpc_parse.h: Likewise.
19484 * sunrpc/rpc_prot.c: Likewise.
19485 * sunrpc/rpc_sample.c: Likewise.
19486 * sunrpc/rpc_scan.c: Likewise.
19487 * sunrpc/rpc_scan.h: Likewise.
19488 * sunrpc/rpc_svcout.c: Likewise.
19489 * sunrpc/rpc_tblout.c: Likewise.
19490 * sunrpc/rpc_util.c: Likewise.
19491 * sunrpc/rpc_util.h: Likewise.
19492 * sunrpc/rpcinfo.c: Likewise.
19493 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19494 * sunrpc/rpcsvc/key_prot.x: Likewise.
19495 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19496 * sunrpc/rpcsvc/mount.x: Likewise.
19497 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19498 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19499 * sunrpc/rpcsvc/rex.x: Likewise.
19500 * sunrpc/rpcsvc/rstat.x: Likewise.
19501 * sunrpc/rpcsvc/rusers.x: Likewise.
19502 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19503 * sunrpc/rpcsvc/spray.x: Likewise.
19504 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19505 * sunrpc/rtime.c: Likewise.
19506 * sunrpc/svc.c: Likewise.
19507 * sunrpc/svc_auth.c: Likewise.
19508 * sunrpc/svc_authux.c: Likewise.
19509 * sunrpc/svc_raw.c: Likewise.
19510 * sunrpc/svc_run.c: Likewise.
19511 * sunrpc/svc_simple.c: Likewise.
19512 * sunrpc/svc_tcp.c: Likewise.
19513 * sunrpc/svc_udp.c: Likewise.
19514 * sunrpc/svc_unix.c: Likewise.
19515 * sunrpc/svcauth_des.c: Likewise.
19516 * sunrpc/xcrypt.c: Likewise.
19517 * sunrpc/xdr.c: Likewise.
19518 * sunrpc/xdr_array.c: Likewise.
19519 * sunrpc/xdr_float.c: Likewise.
19520 * sunrpc/xdr_mem.c: Likewise.
19521 * sunrpc/xdr_rec.c: Likewise.
19522 * sunrpc/xdr_ref.c: Likewise.
19523 * sunrpc/xdr_sizeof.c: Likewise.
19524 * sunrpc/xdr_stdio.c: Likewise.
19526 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19529 2010-08-19 Andreas Schwab <schwab@redhat.com>
19531 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19533 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19535 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19536 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19537 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19538 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19539 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19540 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19541 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19542 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19543 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19544 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19545 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19546 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19547 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19548 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19550 2010-07-26 Anton Blanchard <anton@samba.org>
19552 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19553 * malloc/arena.c (heap_trim): Likewise.
19555 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19557 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19559 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19560 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19562 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19564 * sysdeps/i386/elf/Makefile: New file.
19566 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19568 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19569 from fanotify_init.
19570 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19571 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19573 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19575 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19577 * sysdeps/multiarch/strcmp.S: Likewise.
19579 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19581 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19582 strncase_l-nonascii.
19583 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19584 Add strncase_l-ssse3.
19585 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19586 * sysdeps/x86_64/strcmp.S: Likewise.
19587 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19588 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19589 * sysdeps/x86_64/strncase.S: New file.
19590 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19591 * sysdeps/x86_64/strncase_l.S: New file.
19592 * string/Makefile (strop-tests): Add strncasecmp.
19593 * string/test-strncasecmp.c: New file.
19595 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19598 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19599 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19601 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19603 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19605 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19607 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19608 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19609 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19611 2010-05-01 Alan Modra <amodra@gmail.com>
19613 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19614 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19615 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19616 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19617 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19618 tidying. Don't tail-call __sigjmp_save for static lib.
19619 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19621 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19622 (CALL_MCOUNT): Add eh info, and nop after bl.
19623 (TAIL_CALL_SYSCALL_ERROR): New macro.
19624 (PSEUDO_RET): Use it.
19625 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19626 Correct save location of integer regs and cr.
19627 (_dl_profile_resolve): Correct cr save location. Delete nops
19628 after bl when SHARED. Reduce cfi size a little by better
19629 placement of cfi directives.
19630 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19631 make a stack frame. Instead use parm save area as a temp.
19632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19633 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19635 Don't make a stack frame for parent, use parm save area.
19636 Increase child stack frame to 112 bytes. Don't save unused reg,
19637 and adjust reg usage. Set up cfi on error recovery and
19638 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19640 (__makecontext): Add dummy nop after jump to exit.
19641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19642 Use correct parm save area and cr save, reduce stack frame.
19643 Correct cfi for possible PSEUDO_RET frame setup.
19644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19645 Branch to local label emitted by PSEUDO_RET rather than
19648 2010-08-12 Andreas Schwab <schwab@redhat.com>
19651 * locale/programs/locale.c (print_assignment): New function.
19652 (show_locale_vars): Use it.
19654 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19656 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19658 (struct statfs64): Likewise.
19659 (_STATFS_F_FLAGS): Define.
19660 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19661 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19662 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19663 (ST_VALID): Define locally.
19664 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19665 __statvfs_getflags, use the provided value.
19666 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19667 __ASSUME_STATFS_F_FLAGS.
19669 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19671 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19672 Add sys/fanotify.h.
19673 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19674 fanotify_mask for GLIBC_2.13.
19675 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19676 fanotify_init and fanotify_mark.
19677 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19678 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19680 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19682 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19683 prlimit64 for GLIBC_2.13.
19684 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19686 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19689 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19690 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19691 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19692 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19694 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19697 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19698 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19700 * nss/Makefile: Add rules to build and run tst-nss-test1.
19701 * shlib-versions: Add entry for libnss_test1.
19702 * nss/nss_test1.c: New file.
19703 * nss/tst-nss-test1.c: New file.
19705 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19706 (__nss_configure_lookup): Set appropriate entry in
19707 __nss_configure_lookup to true.
19708 * nss/nsswitch.h: Define enum with indeces of databases in
19709 databases and __nss_database_custom arrays. Declare
19710 __nss_database_custom.
19711 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19712 to avoid using nscd when custom rules are installed.
19713 * nss/getXXbyYY_r.c: Likewise.
19714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19716 * nss/nss_files/files-parse.c: Whitespace fixes.
19718 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19721 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19722 * posix/fnmatch_loop.c: Likewise.
19724 2010-07-17 Andi Kleen <ak@linux.intel.com>
19726 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19727 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19728 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19729 * Versions.def [GLIBC_2.13]: Add.
19731 2010-08-06 Ulrich Drepper <drepper@redhat.com>
19733 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19734 Also fail if tpwd after pwuid call is NULL.
19736 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19738 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19739 when converting to ms.
19741 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19743 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19744 EOPNOTSUPP errors with ENOTTY.
19745 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19746 EOPNOTSUPP errors with ENOTTY.
19748 2010-07-31 Ulrich Drepper <drepper@redhat.com>
19750 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19751 Add strcasecmp_l-ssse3.
19752 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19754 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19755 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19756 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19758 2010-07-30 Ulrich Drepper <drepper@redhat.com>
19760 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19762 * string/Makefile (strop-tests): Add strcasecmp.
19763 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19764 strcasecmp_l-nonascii.
19765 (gen-as-const-headers): Add locale-defines.sym.
19766 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19767 * sysdeps/x86_64/strcasecmp.S: New file.
19768 * sysdeps/x86_64/strcasecmp_l.S: New file.
19769 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19770 * sysdeps/x86_64/locale-defines.sym: New file.
19771 * string/test-strcasecmp.c: New file.
19773 * string/test-strcasestr.c: Test both ends of the range of characters.
19774 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19776 2010-07-29 Roland McGrath <roland@redhat.com>
19779 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19781 2010-07-27 Ulrich Drepper <drepper@redhat.com>
19783 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19786 2010-07-27 Andreas Schwab <schwab@redhat.com>
19788 * manual/memory.texi (Malloc Tunable Parameters): Document
19791 2010-07-26 Roland McGrath <roland@redhat.com>
19794 * configure.in (-fgnu89-inline check): Set and substitute
19795 gnu89_inline, not libc_cv_gnu89_inline.
19796 * configure: Regenerated.
19797 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19799 2010-07-26 Ulrich Drepper <drepper@redhat.com>
19801 * string/test-strnlen.c: New file.
19802 * string/Makefile (strop-tests): Add strnlen.
19803 * string/tester.c (test_strnlen): Add a few more test cases.
19804 * string/tst-strlen.c: Better error reporting.
19806 * sysdeps/x86_64/strnlen.S: New file.
19808 2010-07-24 Ulrich Drepper <drepper@redhat.com>
19810 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19811 lower-latency instructions.
19813 2010-07-23 Ulrich Drepper <drepper@redhat.com>
19815 * string/test-strcasestr.c: New file.
19816 * string/test-strstr.c: New file.
19817 * string/Makefile (strop-tests): Add strstr and strcasestr.
19818 * string/str-two-way.h: Don't undefine MAX.
19819 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19821 2010-07-21 Andreas Schwab <schwab@redhat.com>
19823 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19824 strcasestr-nonascii.
19825 (CFLAGS-strcasestr-nonascii.c): Define.
19826 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19827 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19828 Remove unused attribute.
19830 2010-07-20 Roland McGrath <roland@redhat.com>
19832 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19833 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19834 ld.so.cache was broken. With it, there is no way to disable dsocaps
19835 like LD_HWCAP_MASK can disable hwcaps.
19837 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19839 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19841 2010-07-16 Ulrich Drepper <drepper@redhat.com>
19843 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19844 call in strcasestr.
19845 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19846 __strcasestr_sse42_nonascii.
19847 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19848 strcasestr-nonascii.c.
19849 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19851 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
19853 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19854 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19855 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19856 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19858 2010-07-09 Ulrich Drepper <drepper@redhat.com>
19860 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19863 2010-07-06 Andreas Schwab <schwab@redhat.com>
19866 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19869 2010-07-06 Ulrich Drepper <drepper@redhat.com>
19871 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19872 _PC_PIPE_BUF using F_GETPIPE_SZ.
19874 2010-07-05 Roland McGrath <roland@redhat.com>
19876 * manual/arith.texi (Rounding Functions): Fix rint description
19877 implicit in round description.
19879 2010-07-02 Ulrich Drepper <drepper@redhat.com>
19881 * elf/Makefile: Fix linking for a few tests to make recent linker
19884 2010-06-30 Andreas Schwab <schwab@redhat.com>
19886 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19887 $(common-objpfx)libc_nonshared.a.
19889 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
19891 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19892 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19893 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19894 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19895 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19896 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19897 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19898 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19913 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19914 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19915 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19916 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19917 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19918 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19919 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19920 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19921 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19922 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19923 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19924 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19940 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19942 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19943 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19944 * string/memmove.c (memmove): Renamed to ...
19945 (MEMMOVE): ...this. Default to memmove.
19946 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19947 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19949 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19950 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19951 mempcpy-ssse3-back memmove-ssse3-back.
19952 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19953 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19954 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19955 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19956 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19957 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19958 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19959 * sysdeps/x86_64/multiarch/memmove.c: New file.
19960 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19961 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19962 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19963 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19964 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19965 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19967 (index_Fast_Copy_Backward): Define.
19968 (HAS_ARCH_FEATURE): Define.
19969 (HAS_FAST_REP_STRING): Define.
19970 (HAS_FAST_COPY_BACKWARD): Define.
19972 2010-06-21 Andreas Schwab <schwab@redhat.com>
19974 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19975 Restore proper fallback handling.
19977 2010-06-19 Ulrich Drepper <drepper@redhat.com>
19980 * posix/group_member.c (__group_member): Correct checking loop.
19982 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19983 OOM in getpwuid_r correctly. Return error number when the caller
19984 should return, otherwise -1.
19985 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19986 call returning > 0 value.
19987 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19989 2010-06-07 Andreas Schwab <schwab@redhat.com>
19991 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19992 libc_nonshared.a from targets in modules-names.
19994 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19996 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19999 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
20001 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20002 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20003 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20004 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20006 2010-06-02 Andreas Schwab <schwab@redhat.com>
20008 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20010 2010-06-14 Ulrich Drepper <drepper@redhat.com>
20012 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20014 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20015 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20017 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20018 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20019 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20021 2010-06-14 Roland McGrath <roland@redhat.com>
20023 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20025 2010-06-07 Jakub Jelinek <jakub@redhat.com>
20027 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20028 __REDIRECT followed by __THROW.
20029 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20030 * posix/getopt.h (getopt): Likewise.
20032 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20034 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20035 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20036 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20038 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20039 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20041 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
20043 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20045 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20049 Properly check family and model.
20051 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20053 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20055 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
20057 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20059 2010-05-21 Ulrich Drepper <drepper@redhat.com>
20061 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20064 2010-05-19 Andreas Schwab <schwab@redhat.com>
20066 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20069 2010-05-21 Andreas Schwab <schwab@redhat.com>
20071 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20072 and internal_recvmmsg.
20073 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20074 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20075 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20076 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20078 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20079 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20080 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20082 2010-05-20 Andreas Schwab <schwab@redhat.com>
20084 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20086 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
20088 POWER7 optimizations.
20089 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20090 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20092 2010-05-19 Ulrich Drepper <drepper@redhat.com>
20094 * version.h: Update for 2.13 development version.
20096 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
20098 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20099 exceptions. Return 0.
20101 2010-05-07 Roland McGrath <roland@redhat.com>
20103 * elf/ldconfig.c (main): Add a const.
20105 2010-05-06 Ulrich Drepper <drepper@redhat.com>
20107 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20108 (args_options): Add no-idn option.
20109 (ahosts_keys_int): Add idn_flags to ai_flags.
20110 (parse_option): Handle 'i' option to clear idn_flags.
20112 * malloc/malloc.c (_int_free): Possible race in the most recently
20113 added check. Only act on the data if no current modification
20116 See ChangeLog.17 for earlier changes.