1 2012-10-19 Joseph Myers <joseph@codesourcery.com>
3 * Makeconfig (ARCH): Remove all definitions.
5 [ARCH]: Remove conditional code.
7 [!objdir] (objpfx): Remove.
8 [!objdir] (common-objpfx): Likewise.
9 [!objdir] (common-objdir): Likewise.
10 * configure.in (config_makefile): Remove. Hardcode Makefile in
12 * configure: Regenerated.
15 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21 $(rtld-installed-name).
22 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23 (rtld_installed_name): Likwise.
24 (runit): Remove function.
25 (run_getconf): New variable, Use it for running getconf binary.
27 2012-10-19 Jim Blandy <jimb@codesourcery.com>
28 Joseph Myers <joseph@codesourcery.com>
30 * localedata/tst-wctype.sh (run_program_prefix): Remove variable.
31 (tst_wctype): New variable. Use it directly to run test program
32 instead of passing test program name as argument.
34 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37 * string/test-memmem.c (check_result): New function.
38 (do_one_test): Use it.
39 (check1): New function.
42 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
44 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
46 2012-10-18 Joseph Myers <joseph@codesourcery.com>
48 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
49 (_G_LSEEK64): Likewise.
50 (_G_MMAP64): Likewise.
51 (_G_FSTAT64): Likewise.
52 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
53 (_G_LSEEK64): Likewise.
54 (_G_MMAP64): Likewise.
55 (_G_FSTAT64): Likewise.
56 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57 unconditional. Call __mmap64 directly.
58 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
61 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
62 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
64 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
67 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
68 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
70 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
71 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
73 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
74 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
76 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
77 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
79 (freopen64) [!_G_OPEN64]: Remove conditional code.
80 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
82 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
83 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
85 (ftello64) [!_G_LSEEK64]: Remove conditional code.
86 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
88 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
89 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
91 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
92 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
94 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
95 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
97 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
98 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
100 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
102 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
105 * manual/memory.texi (Malloc Tunable Parameters): Add note
106 about free list pointers overwriting some perturb bytes.
107 Wording suggested by Roland McGrath.
109 2012-10-17 Joseph Myers <joseph@codesourcery.com>
111 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
112 (lgamma_test): Likewise.
113 (tgamma_test): Likewise.
115 2012-10-16 Florian Weimer <fweimer@redhat.com>
118 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
119 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
121 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
123 * NEWS: Mention BZ #14716.
124 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
125 when removing AVAILABLE1_USES_J macro.
127 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
129 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
130 (__bswap_64): __uint64_t for unsigned 64-bit int.
132 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
134 * include/string.h (memmem): Declare libc hidden alias.
135 * string/memmem.c (memmem): Define libc hidden alias.
136 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
137 __read, __close instead of open, read, close.
139 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
141 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
142 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
144 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
145 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
146 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
148 (__rawmemchr_sse2): Likewise.
149 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
150 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
151 (__strchr_sse2): Likewise.
152 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
153 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
154 (__strcasecmp_sse2): Likewise.
155 (__strncasecmp_sse2): Likewise.
156 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
157 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
158 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
159 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
160 (__strrchr_sse2): Likewise.
161 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
163 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
164 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
165 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
166 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
167 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
168 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
169 * sysdeps/x86_64/multiarch/memset.S: Likewise.
170 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
171 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
172 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
173 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
174 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
175 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
176 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
177 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
178 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
179 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
180 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
181 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
182 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
183 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
184 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
185 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
186 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
187 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
188 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
189 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
190 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
191 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
192 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
194 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
196 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
197 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
198 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
199 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
201 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
203 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
204 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
205 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
206 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
208 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
209 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
210 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
211 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
212 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
213 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
214 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
215 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
216 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
217 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
218 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
219 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
220 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
221 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
222 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
223 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
224 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
225 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
226 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
227 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
228 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
229 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
230 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
231 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
232 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
233 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
234 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
235 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
236 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
237 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
238 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
239 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
240 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
241 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
242 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
243 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
244 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
245 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
246 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
247 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
248 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
250 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
251 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
252 * include/ifunc-impl-list.h: New file.
253 * misc/ifunc-impl-list.c: Likewise.
254 * misc/Makefile (routines): Add ifunc-impl-list.
255 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
256 * string/test-string.h: Include <ifunc-impl-list.h>.
257 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
258 impl_array): New variables.
259 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
261 (test_init): Call __libc_ifunc_impl_list to initialize
262 func_list if TEST_IFUNC and TEST_NAME are defined.
264 * string/Makefile (strop-tests): Add bcopy and bzero.
265 * string/test-bcopy.c: New file.
266 * string/test-bzero.c: Likewise.
267 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
269 * string/test-memset.c: Support bzero test if TEST_BZERO is
271 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
273 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
275 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
278 2012-10-10 Joseph Myers <joseph@codesourcery.com>
280 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
281 * configure: Regenerated.
283 * Makeconfig (+link-static-before-libc): Don't include
286 * libio/libio.h (_IO_pos_t): Remove.
288 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
290 * NEWS: Add note about FIPS mode. Wording suggested by Roland
293 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
295 * crypt/crypt-entry.c: Include fips-private.h.
296 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
297 * crypt/md5c-test.c (main): Tolerate disabled MD5.
298 * sysdeps/unix/sysv/linux/fips-private.h: New file.
299 * sysdeps/generic/fips-private.h: New file, dummy fallback.
301 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
303 * crypt/crypt-private.h: Include stdbool.h.
304 (_ufc_setup_salt_r): Return bool.
305 * crypt/crypt-entry.c: Include errno.h.
306 (__crypt_r): Return NULL with EINVAL for bad salt.
307 * crypt/crypt_util.c (bad_for_salt): New.
308 (_ufc_setup_salt_r): Check that salt is long enough and within
309 the specified alphabet.
310 * crypt/badsalttest.c: New file.
311 * crypt/Makefile (tests): Add it.
312 ($(objpfx)badsalttest): New.
314 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
316 * NEWS: Add entry for BZ #14602.
318 2012-10-09 Joseph Myers <joseph@codesourcery.com>
320 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
322 * math/libm-test.inc: Update comment listing what functions and
324 (isgreater_test): New function.
325 (isgreaterequal_test): Likewise.
326 (isless_test): Likewise.
327 (islessequal_test): Likewise.
328 (islessgreater_test): Likewise.
329 (isunordered_test): Likewise.
330 (main): Call the new functions.
332 2012-10-09 Roland McGrath <roland@hack.frob.com>
334 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
335 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
336 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
337 * sysdeps/i386/configure: Regenerated.
338 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
339 * sysdeps/mach/configure: Regenerated.
340 * sysdeps/mach/hurd/configure: Regenerated.
341 * sysdeps/powerpc/configure: Regenerated.
342 * sysdeps/powerpc/powerpc32/configure: Regenerated.
343 * sysdeps/powerpc/powerpc64/configure: Regenerated.
344 * sysdeps/s390/s390-32/configure: Regenerated.
345 * sysdeps/s390/s390-64/configure: Regenerated.
346 * sysdeps/sh/configure: Regenerated.
347 * sysdeps/sparc/configure: Regenerated.
348 * sysdeps/unix/sysv/linux/configure: Regenerated.
349 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
350 * sysdeps/x86_64/configure: Regenerated.
352 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
353 defined. Don't check if MAP is NULL.
355 2012-10-09 Joseph Myers <joseph@codesourcery.com>
357 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
358 (_G_stat64): Likewise.
359 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
360 (_G_stat64): Likewise.
361 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
362 instead of struct _G_stat64.
363 * libio/fileops.c (mmap_remap_check): Likewise.
364 (decide_maybe_mmap): Likewise.
365 (_IO_new_file_seekoff): Likewise.
366 (_IO_file_stat): Likewise.
367 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
369 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
370 instead of struct _G_stat64.
371 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
373 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
376 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
378 (CHECK_EOL): New macro.
379 (two_way_short_needle): Check beginning of haystack for EOL. Use
381 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
382 Replace with CHECK_EOL.
383 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
384 Replace with CHECK_EOL.
386 2012-10-08 Joseph Myers <joseph@codesourcery.com>
388 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
390 * math/libm-test.inc: Update comment listing what functions and
392 (finite_test): New function.
393 (isinf_test): Likewise.
394 (isnan_test): Likewise.
395 (fpclassify_test): Test subnormal input.
396 (isfinite_test): Likewise.
397 (isnormal_test): Likewise.
398 (main): Call the new functions.
400 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
403 * Makerules (%.dynsym): Force C locale when running
404 $(OBJDUMP) --dynamic-syms.
406 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
408 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
411 2012-10-06 David S. Miller <davem@davemloft.net>
413 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
414 upper 32-bits of the length value in %o2 since we use branch-on-register
415 tests which consider the entire 64-bit register.
417 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
419 * string/test-strstr.c (check2): Add a test for page boundary.
421 2012-10-05 David S. Miller <davem@davemloft.net>
423 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
424 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
426 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
428 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
429 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
430 and bzero when HWCAP_SPARC_CRYPTO is present.
432 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
435 * string/test-strstr.c (check2): New function.
436 (test_main): Call check2.
438 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
440 * string/bug-strcasestr1.c (do_test): Moved to ...
441 * string/test-strcasestr.c (check1): Here. New function.
442 (do_one_test): Break out result checking code into ...
443 (check_result): This. New function.
444 (do_one_test): Call check_result.
445 (test_main): Call check1.
446 * string/bug-strchr1.c (do_test): Moved to ...
447 * string/test-strchr.c (check1): Here. New function.
448 (do_one_test): Break out result checking code into ...
449 (check_result): This. New function.
450 (do_one_test): Call check_result.
451 (test_main): Call check1.
452 * string/bug-strstr1.c (main): Moved to ...
453 * string/test-strchr.c (check1): Here. New function.
454 (do_one_test): Break out result checking code into ...
455 (check_result): This. New function.
456 (do_one_test): Call check_result.
457 (test_main): Call check1.
458 * string/bug-strcasestr1.c: Removed.
459 * string/bug-strchr1.c: Likewise.
460 * string/bug-strstr1.c: Likewise.
462 * elf/Makefile (dl-routines): Add hwcaps.
463 * elf/dl-support.c (_dl_important_hwcaps): Removed.
464 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
465 (_dl_important_hwcaps): Moved to ...
466 * elf/dl-hwcaps.c: Here. New file.
467 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
470 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
471 if IS_IN_rtld isn't defined.
473 * elf/dl-support.c (_dl_sysinfo_map): New.
474 Include "get-dynamic-info.h" and "setup-vdso.h".
475 (_dl_non_dynamic_init): Call setup_vdso.
476 * elf/dynamic-link.h: Don't include <assert.h>.
477 (elf_get_dynamic_info): Moved to ...
478 * elf/get-dynamic-info.h: Here. New file.
479 * elf/dynamic-link.h: Include "get-dynamic-info.h".
480 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
481 * elf/setup-vdso.h: Here. New file.
482 * elf/rtld.c: Include "setup-vdso.h".
483 (dl_main): Call setup_vdso.
485 2012-10-05 Joseph Myers <joseph@codesourcery.com>
487 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
488 creal in comment listing functions tested. List finite, isinf,
489 isnan, isless, islessequal, isgreater, isgreaterequal,
490 islessgreater, isunordered, lgamma_r and pow10 as functions and
491 macros not tested. Mention which functions not tested are aliases
492 for other functions. Fix typo. Note that signs of NaNs are not
495 * scripts/config.guess: Update from config.git.
496 * scripts/config.sub: Likewise.
498 2012-10-04 Roland McGrath <roland@hack.frob.com>
500 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
501 * misc/madvise.c (madvise): Renamed to __madvise.
502 Make madvise a weak alias.
503 * include/sys/mman.h: Declare __madvise.
504 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
505 * sysdeps/unix/syscalls.list
506 (madvise): Make __madvise the strong name, and madvise a weak alias.
507 * sysdeps/unix/sysv/linux/syscalls.list
508 (madvise, mmap): Remove redundant entries.
509 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
510 * malloc/malloc.c (mtrim): Likewise.
511 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
513 2012-10-03 Roland McGrath <roland@hack.frob.com>
515 * sysdeps/mach/hurd/dl-cache.c: File removed.
516 * config.h.in (USE_LDCONFIG): New #undef.
517 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
518 * configure: Regenerated.
519 * elf/Makefile (dl-routines): Add dl-cache only under
520 [$(use-ldconfig) = yes].
521 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
522 cache on [USE_LDCONFIG].
523 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
525 * elf/rtld.c (dl_main): Likewise.
527 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
529 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
530 _SC_LEVEL4_CACHE_LINESIZE.
532 2012-10-03 Roland McGrath <roland@hack.frob.com>
534 * sysdeps/unix/bsd/confstr.h: File removed.
536 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
538 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
541 2012-10-02 Roland McGrath <roland@hack.frob.com>
543 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
544 Make 'mapoff' field ElfW(Off) rather than off_t.
546 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
548 * nscd/Makefile: Remove nscd-cflags and all its users.
549 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
550 (CFLAGS-nonlib): Add compiler flags for nscd modules.
553 * malloc.c (malloc_printerr): Clarify error message.
555 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
559 Set bit_FMA_Usable if FMA is supported.
560 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
562 (bit_FMA4_Usable): Updated.
563 (index_FMA_Usable): New macro.
564 (CPUID_FMA): Likewise
565 (HAS_FMA): Defined with bit_FMA_Usable.
567 2012-10-01 Roland McGrath <roland@hack.frob.com>
569 * bits/types.h (__swblk_t): Type removed.
570 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
571 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
573 (__SWBLK_T_TYPE): Likewise.
574 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
575 (__SWBLK_T_TYPE): Likewise.
576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
577 (__SWBLK_T_TYPE): Likewise.
578 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
579 (__SWBLK_T_TYPE): Likewise.
581 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
582 Honza Horak <hhorak@redhat.com>
584 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
585 (xdr_mapname): Use YPMAXMAP as maxsize.
586 (xdr_peername): Use YPMAXPEER as maxsize.
587 (xdr_keydat): Use YPAXRECORD as maxsize.
588 (xdr_valdat): Use YPMAXRECORD as maxsize.
590 2012-10-01 Roland McGrath <roland@hack.frob.com>
592 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
594 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
595 * csu/init-first.c: ... here.
596 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
597 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
598 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
599 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
600 * sysdeps/i386/init-first.c: File removed.
601 * sysdeps/sh/init-first.c: File removed.
603 2012-10-01 Joseph Myers <joseph@codesourcery.com>
606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
607 if x * y might underflow to zero and z is zero.
608 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
609 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
610 * math/libm-test.inc (min_subnorm_value): New variable.
611 (fma_test): Add more tests.
612 (fma_test_towardzero): Likewise.
613 (fma_test_downward): Likewise
614 (fma_test_upward): Likewise.
615 (initialize): Set min_subnorm_value.
617 2012-09-29 Joseph Myers <joseph@codesourcery.com>
620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
622 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
623 mode for addition resulting in exact zero.
624 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
627 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
628 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
629 * math/libm-test.inc (fma_test): Add more tests.
630 (fma_test_towardzero): New function.
631 (fma_test_downward): Likewise.
632 (fma_test_upward): Likewise.
633 (main): Call the new functions.
635 2012-09-28 David S. Miller <davem@davemloft.net>
637 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
639 2012-09-28 Roland McGrath <roland@hack.frob.com>
641 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
644 * sysdeps/gnu/_G_config.h: Moved to ...
645 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
646 * sysdeps/mach/hurd/_G_config.h: Moved to ...
647 * sysdeps/generic/_G_config.h: ... here.
649 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
651 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
653 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
654 Conditionalize target on [libnss_test1.so-version].
656 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
658 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
659 (elfobjdir): Move out of conditionals.
661 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
662 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
663 (__nss_lookup_function): Conditionalize label remove_from_tree on
664 [!DO_STATIC_NSS || SHARED], matching its only use.
666 2012-09-28 David S. Miller <davem@davemloft.net>
668 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
669 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
671 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
673 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
675 when HWCAP_SPARC_CRYPTO is present.
677 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
679 * io/tst-mknodat.c: Create a FIFO instead of a socket.
681 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
684 * stdio-common/vfprintf.c (process_string_arg): Revert
687 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
689 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
691 * stdio-common/tst-sprintf.c: Include <locale.h>
692 (main): Test sprintf's handling of incomplete multibyte
695 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
697 * elf/dl-runtime.c (VERSYMIDX): Removed.
698 * elf/dl-version.c (VERSYMIDX): Likewise.
699 * elf/do-rel.h (VERSYMIDX): Likewise.
701 * elf/dynamic-link.h (VERSYMIDX): Likewise.
702 * elf/rtld.c (VALIDX): Likewise.
704 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
705 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
706 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
707 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
711 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
713 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
715 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
718 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
720 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
721 addresses are in the same scope as 192.0.2/24.
722 * posix/gai.conf: Document new scope table defaults.
724 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
727 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
728 for ftell. Compute offsets from write pointers instead.
729 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
731 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
734 * libio/Makefile (tests): New test case tst-fseek.
735 * libio/tst-fseek.c: New test case to verify that fseek/ftell
736 combination works in wide mode.
737 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
738 state when the external buffer state changes.
740 2012-09-27 David S. Miller <davem@davemloft.net>
743 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
744 pass reloc->r_addend in as the 'high' argument to
745 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
749 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
751 * rt/tst-aio2.c: Include <pthread.h>.
752 * rt/tst-aio3.c: Likewise.
754 2012-09-27 Steve Ellcey <sellcey@mips.com>
756 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
758 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
760 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
761 contents on [SHARED].
763 2012-09-26 Marek Polacek <polacek@redhat.com>
767 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
768 for C++ and GCC <4.3 as well as for non GCC compilers.
770 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
774 2012-09-25 Roland McGrath <roland@hack.frob.com>
776 * Makefile.in (all, install): Declare with .PHONY.
777 Reported by Michael Hope <michael.hope@linaro.org>.
779 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
781 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
782 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
784 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
786 (sydep_routines): Add the new and the internal functions.
787 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
788 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
790 (GLIBC_2.17): Add the new function.
791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
792 (GLIBC_2.17): Likewise.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
794 (GLIBC_2.17): Likewise.
795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
796 (GLIBC_2.17): Likewise.
797 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
799 2012-09-25 Alan Modra <amodra@gmail.com>
801 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
802 Add release barrier before setting once_control to say
803 initialisation is done. Add hints on lwarx. Use macro in
805 (clear_once_control): Add release barrier.
807 2012-09-25 Joseph Myers <joseph@codesourcery.com>
810 * math/s_clog.c (__clog): Handle more values close to |z| = 1
812 * math/s_clog10.c (__clog10): Likewise.
813 * math/s_clog10f.c (__clog10f): Likewise.
814 * math/s_clog10l.c (__clog10l): Likewise.
815 * math/s_clogf.c (__clogf): Likewise.
816 * math/s_clogl.c (__clogl): Likewise.
817 * math/Makefile (libm-calls): Add x2y2m1.
818 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
819 (__x2y2m1): Likewise.
820 (__x2y2m1l): Likewise.
821 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
822 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
823 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
824 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
825 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
826 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
827 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
828 * sysdeps/i386/fpu/libm-test-ulps: Update.
829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
832 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
833 int as type of variable DEPTH.
834 (glob): Use size_t instead of int as type of variables NEWCOUNT
837 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
839 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
841 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
842 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
843 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
844 macros for using routine as __sincosf_ia32.
845 Use macro for function declaration and weak_alias.
846 * sysdeps/i386/fpu/libm-test-ulps: Update.
848 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
851 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
853 * math/s_cexpf.c (__cexpf): Likewise.
854 * math/s_csinf.c (__csinf): Likewise.
855 * math/s_csinhf.c (__csinhf): Likewise.
856 * math/s_ctanf.c (__ctanf): Likewise.
857 * math/s_ctanhf.c (__ctanhf): Likewise.
858 * math/s_ccosh.c (__ccoshf): Likewise.
859 * math/s_cexp.c (__cexpl): Likewise.
860 * math/s_csin.c (__csin): Likewise.
861 * math/s_csinh.c (__csinh): Likewise.
862 * math/s_ctan.c (__ctan): Likewise.
863 * math/s_ctanh.c (ctanh): Likewise.
864 * math/s_ccoshl.c (__ccoshl): Likewise.
865 * math/s_cexpl.c (__cexpl): Likewise.
866 * math/s_csinl.c (__csinl): Likewise.
867 * math/s_csinhl.c (__csinhl): Likewise.
868 * math/s_ctanl.c (__ctanl): Likewise.
869 * math/s_ctanhl.c (__ctanhl): Likewise.
871 2012-09-25 Joseph Myers <joseph@codesourcery.com>
873 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
874 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
875 (_IO_off_t): Define to __off_t, not _G_off_t.
876 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
877 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
878 (_IO_wint_t): Define to wint_t, not _G_wint_t.
879 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
880 type of __dummy and __dummy2 fields.
881 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
882 (_G_ssize_t): Likewise.
883 (_G_off_t): Likewise.
884 (_G_pid_t): Likewise.
885 (_G_uid_t): Likewise.
886 (_G_wchar_t): Likewise.
887 (_G_wint_t): Likewise.
888 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
889 (_G_ssize_t): Likewise.
890 (_G_off_t): Likewise.
891 (_G_pid_t): Likewise.
892 (_G_uid_t): Likewise.
893 (_G_wchar_t): Likewise.
894 (_G_wint_t): Likewise.
895 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
896 (_G_ssize_t): Likewise.
897 (_G_off_t): Likewise.
898 (_G_pid_t): Likewise.
899 (_G_uid_t): Likewise.
900 (_G_wchar_t): Likewise.
901 (_G_wint_t): Likewise.
903 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
905 * malloc/arena.c: Include malloc-sysdep.h.
906 (shrink_heap): Use check_may_shrink_heap to decide if madvise
907 is sufficient to shrink the heap or an unmap is needed.
908 * sysdeps/generic/malloc-sysdep.h: New file. Define
909 new function check_may_shrink_heap.
910 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
911 new function check_may_shrink_heap.
913 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
915 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
918 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
920 * catgets/test-gencat.sh: Add "set -e".
921 * elf/tst-pathopt.sh: Likewise.
922 * grp/tst_fgetgrent.sh: Likewise.
923 * iconvdata/run-iconv-test.sh: Likewise.
924 * intl/tst-gettext.sh: Likewise.
925 * intl/tst-gettext2.sh: Likewise.
926 * intl/tst-gettext4.sh: Likewise.
927 * intl/tst-gettext6.sh: Likewise.
928 * intl/tst-translit.sh: Likewise.
929 * io/ftwtest-sh: Likewise.
930 * libio/test-freopen.sh: Likewise.
931 * malloc/tst-mtrace.sh: Likewise.
932 * posix/globtest.sh: Likewise.
933 * posix/tst-getconf.sh: Likewise.
934 * posix/wordexp-tst.sh: Likewise.
935 * stdio-common/tst-printf.sh: Likewise.
936 * stdio-common/tst-unbputc.sh: Likewise.
937 * stdlib/tst-fmtmsg.sh: Likewise.
938 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
939 * catgets/Makefile: Do not specify -e option when running
940 testsuite shell scripts.
941 * elf/Makefile: Likewise.
942 * grp/Makefile: Likewise.
943 * iconvdata/Makefile: Likewise.
944 * intl/Makefile: Likewise.
945 * io/Makefile: Likewise.
946 * libio/Makefile: Likewise.
947 * malloc/Makefile: Likewise.
948 * posix/Makefile: Likewise.
949 * stdio-common/Makefile: Likewise.
950 * stdlib/Makefile: Likewise.
951 * sysdeps/x86_64/Makefile: Likewise.
953 * io/ftwtest-sh: Add copyright header.
954 * posix/globtest.sh: Likewise.
955 * posix/tst-getconf.sh: Likewise.
956 * posix/wordexp-tst.sh: Likewise.
957 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
959 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
962 * Makeconfig (+link): Defined as $(+link-static) if
963 $(build-shared) isn't yes.
964 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
966 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
968 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
971 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
972 new chunk size with MALLOC_ALIGN_MASK.
974 2012-09-24 Joseph Myers <joseph@codesourcery.com>
977 * stdio-common/printf_fphex.c: Include <stdbool.h> and
979 (__printf_fphex): Determine rounding using get_rounding_mode and
981 * stdio-common/tst-printf-round.c (struct hex_test): New
983 (hex_tests): New variable.
984 (test_hex_in_one_mode): New function.
985 (do_test): Also run tests for hex float output.
987 2012-09-21 Joseph Myers <joseph@codesourcery.com>
989 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
990 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
991 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
992 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
993 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
994 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
995 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
996 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
998 2012-09-20 Joseph Myers <joseph@codesourcery.com>
1000 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1001 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1002 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1003 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1005 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1008 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1010 * elf/tst-rtld-load-self.sh: New test.
1011 * elf/Makefile: Run it.
1013 2012-09-18 Joseph Myers <joseph@codesourcery.com>
1015 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1016 (tst-writev-ENV): Remove.
1017 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1019 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1021 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1023 2012-09-17 Joseph Myers <joseph@codesourcery.com>
1025 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1027 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1029 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1030 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1031 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1034 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1037 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1038 * config.make.in (have-cpp-asm-debuginfo): Removed.
1039 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1040 * configure: Regenerated.
1042 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1045 * stdio-common/printf_fp.c: Include <stdbool.h> and
1047 (___printf_fp): Determine rounding using get_rounding_mode and
1049 * stdio-common/tst-printf-round.c: New file.
1050 * stdio-common/Makefile (tests): Add tst-printf-round.
1051 (link-libm): New variable.
1052 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1054 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1057 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1058 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1060 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1063 2012-09-13 Joseph Myers <joseph@codesourcery.com>
1065 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1066 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1067 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1068 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1070 2012-09-12 Joseph Myers <joseph@codesourcery.com>
1073 * include/rounding-mode.h: New file.
1074 * sysdeps/generic/get-rounding-mode.h: Likewise.
1075 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1076 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1077 (MAX_VALUE): New macro.
1078 (MIN_VALUE): Likewise.
1079 (overflow_value): New function.
1080 (underflow_value): Likewise.
1081 (round_and_return): Use overflow_value and underflow_value to
1082 determine return values in overflow and underflow cases. Use
1083 round_away to determine rounding depending on rounding mode.
1084 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1085 determine return values in overflow and underflow cases.
1086 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1087 (struct test_results): New structure.
1088 (struct test): Use struct test_results to store expected results
1089 for all rounding modes.
1090 (TEST): Include expected results for all rounding modes.
1091 (test_in_one_mode): New function.
1092 (do_test): Use test_in_one_mode to compute and check results.
1093 Check results for all rounding modes.
1094 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1097 2012-12-09 Allan McRae <allan@archlinux.org>
1099 * sysdeps/i386/fpu/libm-test-ulps: Update
1101 2012-09-11 Joseph Myers <joseph@codesourcery.com>
1103 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1104 (_G_int32_t): Likewise.
1105 (_G_uint16_t): Likewise.
1106 (_G_uint32_t): Likewise.
1107 (_G_HAVE_BOOL): Likewise.
1108 (_G_HAVE_ATEXIT): Likewise.
1109 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1110 (_G_HAVE_IO_FILE_OPEN): Likewise.
1111 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1112 (_G_int32_t): Likewise.
1113 (_G_uint16_t): Likewise.
1114 (_G_uint32_t): Likewise.
1115 (_G_HAVE_BOOL): Likewise.
1116 (_G_HAVE_ATEXIT): Likewise.
1117 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1118 (_G_HAVE_IO_FILE_OPEN): Likewise.
1119 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1120 (_G_int32_t): Likewise.
1121 (_G_uint16_t): Likewise.
1122 (_G_uint32_t): Likewise.
1123 (_G_HAVE_BOOL): Likewise.
1124 (_G_HAVE_ATEXIT): Likewise.
1125 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1126 (_G_HAVE_IO_FILE_OPEN): Likewise.
1128 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1130 * csu/libc-tls.c: Update copyright years.
1132 2012-09-10 Joseph Myers <joseph@codesourcery.com>
1134 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1135 [!_G_USING_THUNKS]: Remove conditional code.
1136 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1137 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1139 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1140 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1141 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1142 (_G_VTABLE_LABEL_PREFIX): Likewise.
1143 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1144 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1145 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1146 (_G_VTABLE_LABEL_PREFIX): Likewise.
1147 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1148 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1149 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1150 (_G_VTABLE_LABEL_PREFIX): Likewise.
1151 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1153 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1155 * libio/Makefile: Include ../Makeconfig before tests.
1156 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1157 only if $(build-shared) is yes.
1159 * iconv/gconv_db.c: Update copyright years.
1161 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1163 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1164 unwind info if defined PIC. Fix special cases description.
1165 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1167 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1169 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1171 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1173 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1175 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1178 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1179 (LDLIBS-tst-chk4): This.
1180 (LDFLAGS-tst-chk5): Renamed to ...
1181 (LDLIBS-tst-chk5): This.
1182 (LDFLAGS-tst-chk6): Renamed to ...
1183 (LDLIBS-tst-chk6): This.
1184 (LDFLAGS-tst-lfschk4): Renamed to ...
1185 (LDLIBS-tst-lfschk4): This.
1186 (LDFLAGS-tst-lfschk5): Renamed to ...
1187 (LDLIBS-tst-lfschk5): This.
1188 (LDFLAGS-tst-lfschk6): Renamed to ...
1189 (LDLIBS-tst-lfschk6): This.
1191 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1192 on $(common-objpfx)soversions.mk.
1194 2012-09-07 Joseph Myers <joseph@codesourcery.com>
1197 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1200 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1202 * malloc/arena.c (arena_get_retry): New function that gets
1203 another arena for the caller to try its request on.
1204 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1205 current arena cannot fulfill the request.
1206 (__libc_memalign): Likewise.
1207 (__libc_memalign): Likewise.
1208 (__libc_pvalloc): Likewise.
1209 (__libc_calloc): Likewise.
1211 2012-09-05 John Tobey <john.tobey@gmail.com>
1214 * manual/arith.texi (Operations on Complex): Fix description
1217 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1220 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1224 * manual/memory.texi (Memory): Make order of menu items match
1227 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1229 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1230 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1231 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1233 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1235 * csu/libc-tls.c (static_dtv): Renamed to ...
1236 (_dl_static_dtv): This. Make it global.
1237 (_dl_initial_dtv): Removed.
1238 (__libc_setup_tls): Updated.
1239 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1240 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1243 2012-09-06 Petr Machata <pmachata@redhat.com>
1245 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1246 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1247 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1248 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1250 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1253 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1254 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1257 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1260 * Makeconfig (link-static-before-libc): Replace $(+prector)
1262 (link-static-after-libc): Replace $(+postctor) with
1264 (link-bounded): Replace $(+prector)/$(+postctor) with
1265 $(+prectorT)/$(+postctorT).
1266 (+prectorT): New macro.
1267 (+postctorT): Likewise.
1269 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1271 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1272 (round_str): Handle values above the maximum for IBM long double
1274 * stdlib/tst-strtod-round.c (tests): Regenerated.
1276 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1278 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1280 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1281 zarch_nohighgprs around the zarch optimized routines.
1282 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1283 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1284 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1287 2012-09-05 David S. Miller <davem@davemloft.net>
1289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1291 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1292 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1293 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1294 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1297 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1299 * malloc/arena.c: Fold copyright years.
1300 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1302 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1304 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1306 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1308 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1310 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1312 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1313 change internal state upon failure.
1315 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1317 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1318 * malloc/memusage.c (mmap): Likewise.
1319 (mmap64, mremap): Likewise. Adjust name in comment.
1321 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1323 * libio/fileops.c: Fix typos in comments.
1324 * libio/oldfileops.c: Likewise.
1325 * libio/wfileops.c: Likewise.
1327 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1330 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1331 (tst-malloc-usable-ENV): Set environment for test case.
1332 * malloc/hooks.c (malloc_check_get_size): New function to get
1334 * malloc/malloc.c (musable): Use malloc_check_get_size.
1335 * malloc/tst-malloc-usable.c: New test case.
1337 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1339 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1341 2012-09-05 Allan McRae <allan@archlinux.org>
1344 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1345 determine header location.
1346 * configure: Regenerated.
1348 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1350 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1352 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
1353 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1357 2012-09-04 David S. Miller <davem@davemloft.net>
1359 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1360 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1361 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1363 2012-09-04 Florian Weimer <fweimer@redhat.com>
1365 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1368 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1370 2012-09-04 Joseph Myers <joseph@codesourcery.com>
1373 * libio/iogetdelim.c: Include <limits.h>.
1374 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1375 + len + 1 would overflow.
1377 2012-09-03 Andreas Jaeger <aj@suse.de>
1379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1380 * sysdeps/i386/fpu/libm-test-ulps: Update.
1382 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1384 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1385 Add s_sinf-sse2, s_conf-sse2.
1387 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1388 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1389 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1390 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1392 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1393 for using routine as __sinf_ia32.
1394 Use macro for function declaration and weak_alias.
1395 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1396 for using routine as __cosf_ia32.
1397 Use macro for function declaration and weak_alias.
1399 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1400 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1402 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1403 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1406 * math/libm-test.inc (cos_test): Add more test cases.
1407 (sin_test): Likewise.
1408 (sincos_test): Likewise.
1410 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1412 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1413 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1415 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1417 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1420 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1421 first element of the GOT.
1422 (elf_machine_load_address): Return the difference between
1423 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1425 2012-09-01 Allan McRae <allan@archlinux.org>
1428 * configure.in (AWK): Require gawk version 3.0 or later.
1429 * configure: Regenerated.
1431 2012-09-01 Joseph Myers <joseph@codesourcery.com>
1433 * sysdeps/unix/sysv/linux/kernel-features.h
1434 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1435 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1436 [__NR_clock_getres]: Make code unconditional.
1437 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1438 (clock_getcpuclockid): Remove code left unreachable by removal of
1440 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1442 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1443 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1444 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1445 Make code unconditional.
1446 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1447 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1448 * sysdeps/unix/sysv/linux/clock_settime.c
1449 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1451 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1452 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1454 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1457 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1458 scripts/test-installation.pl.
1460 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1461 and $ld_so_version if it is set.
1463 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1466 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1467 failure if reading from procfs failed.
1468 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1470 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1472 * sysdeps/unix/sysv/linux/kernel-features.h
1473 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1474 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1475 Remove conditional code.
1476 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1477 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1478 Remove conditional code.
1479 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1480 * sysdeps/unix/sysv/linux/i386/fxstat.c
1481 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1482 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1483 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1484 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1485 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1486 * sysdeps/unix/sysv/linux/i386/lxstat.c
1487 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1488 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1489 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1490 Remove conditional code.
1491 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1492 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1493 Remove conditional code.
1494 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1495 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1496 <kernel-features.h>.
1497 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1499 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1500 Remove conditional code.
1501 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1502 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1505 2012-08-27 Mike Frysinger <vapier@gentoo.org>
1508 * NEWS: Add fixed bug number.
1510 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1513 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1514 underflowing exponent in case of negative sign.
1515 * stdlib/tst-strtod-round-data: Add more tests.
1516 * stdlib/tst-strtod-round.c (tests): Regenerated.
1519 * stdlib/strtod_l.c (NDIG): Remove.
1520 (HEXNDIG): Likewise.
1521 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1522 smallest representable value.
1523 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1524 lie within an exact representation of 1/2 ulp of the result.
1525 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1527 (TENS_P9_IDX): Define unconditionally.
1528 (TENS_P9_SIZE): Likewise.
1529 (TENS_P10_IDX): Likewise.
1530 (TENS_P10_SIZE): Likewise.
1531 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1532 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1533 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1534 entries for 10^2^13 and 10^2^14.
1535 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1536 (TENS_P13_IDX): Define.
1537 (TENS_P13_SIZE): Likewise.
1538 (TENS_P14_IDX): Likewise.
1539 (TENS_P14_SIZE): Likewise.
1540 (_fpioconst_pow10): Change array size to
1541 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1543 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1544 1024]: Add entries for 10^2^13 and 10^2^14.
1545 [LAST_POW10 > _LAST_POW10]: Remove #error.
1546 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1547 (_fpioconst_pow10): Change array size to
1548 FPIOCONST_POW10_ARRAY_SIZE.
1549 * stdlib/gen-fpioconst.c: New file.
1550 * stdlib/gen-tst-strtod-round.c: Likewise.
1551 * stdlib/tst-strtod-round-data: Likewise.
1552 * stdlib/tst-strtod-round.c: Likewise.
1553 * stdlib/Makefile (tests): Add tst-strtod-round.
1556 * stdlib/strtod_l.c: Include <stdint.h>.
1557 (NDEBUG): Do not define.
1558 (round_and_return): Change EXPONENT parameter to type intmax_t.
1559 Rearrange calculations to avoid internal overflow possibilities.
1560 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1561 Rearrange calculations to avoid internal overflow possibilities.
1562 Assert that number fits inside MPNSIZE limbs.
1563 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1564 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1565 calculations and add assertions to avoid internal overflow
1566 possibilities. Add casts to avoid signed/unsigned operations.
1567 * stdlib/tst-strtod-overflow.c: New file.
1568 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1570 2012-08-25 Marek Polacek <polacek@redhat.com>
1572 * time/time.h: Fix some typos in comments.
1574 2012-08-23 Roland McGrath <roland@hack.frob.com>
1576 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1577 * posix/tst-rfc3484-2.c: Likewise.
1578 * posix/tst-rfc3484-3.c: Likewise.
1580 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1582 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1583 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1585 2012-08-23 Joseph Myers <joseph@codesourcery.com>
1587 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1588 #include of fxstatat64.c.
1590 2012-08-22 Roland McGrath <roland@hack.frob.com>
1592 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1593 * shadow/getspent_r.c: Likewise.
1594 * shadow/getspnam.c: Likewise.
1595 * shadow/getspnam_r.c: Likewise.
1596 * gshadow/getsgent.c: Likewise.
1597 * gshadow/getsgent_r.c: Likewise.
1598 * gshadow/getsgnam.c: Likewise.
1599 * gshadow/getsgnam_r.c: Likewise.
1600 * inet/getnetbyad.c: Likewise.
1601 * inet/getnetbyad_r.c: Likewise.
1602 * inet/getnetbynm.c: Likewise.
1603 * inet/getnetbynm_r.c: Likewise.
1604 * inet/getnetent.c: Likewise.
1605 * inet/getnetent_r.c: Likewise.
1606 * inet/getproto.c: Likewise.
1607 * inet/getproto_r.c: Likewise.
1608 * inet/getprtent.c: Likewise.
1609 * inet/getprtent_r.c: Likewise.
1610 * inet/getprtname.c: Likewise.
1611 * inet/getprtname_r.c: Likewise.
1612 * inet/getrpcbyname.c: Likewise.
1613 * inet/getrpcbyname_r.c: Likewise.
1614 * inet/getrpcbynumber.c: Likewise.
1615 * inet/getrpcbynumber_r.c: Likewise.
1616 * inet/getrpcent.c: Likewise.
1617 * inet/getrpcent_r.c: Likewise.
1618 * inet/getaliasent.c: Likewise.
1619 * inet/getaliasent_r.c: Likewise.
1620 * inet/getaliasname.c: Likewise.
1621 * inet/getaliasname_r.c: Likewise.
1622 * nscd/getgrgid_r.c: Likewise.
1623 * nscd/getgrnam_r.c: Likewise.
1624 * nscd/gethstbyad_r.c: Likewise.
1625 * nscd/gethstbynm3_r.c: Likewise.
1626 * nscd/getpwnam_r.c: Likewise.
1627 * nscd/getpwuid_r.c: Likewise.
1628 * nscd/getsrvbynm_r.c: Likewise.
1629 * nscd/getsrvbypt_r.c: Likewise.
1630 * nscd/gai.c: Likewise.
1632 * configure.in (build_nscd): New substituted variable, set
1633 by --disable-build-nscd and defaults to $use_nscd.
1634 * configure: Regenerated.
1635 * config.make.in (build-nscd): New substituted variable.
1636 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1637 Change conditional to require [$(build-nscd) = yes] as well.
1638 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1641 * configure.in (use_nscd): New substituted variable, set by
1642 --disable-nscd. If enabled, define USE_NSCD.
1643 * configure: Regenerated.
1644 * config.h.in: Add USE_NSCD.
1645 * config.make.in (use-nscd): New substituted variable.
1646 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1647 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1648 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1649 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1650 (CFLAGS-getgrnam_r.c): Likewise.
1651 (CFLAGS-initgroups.c): Likewise.
1652 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1653 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1655 * inet/getnetgrent_r.c
1656 (nscd_setnetgrent): New function, broken out of ...
1657 (setnetgrent): ... here. Call it.
1658 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1659 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1660 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1661 * nscd/Makefile (routines, aux): Move definitions after include of
1662 Makeconfig. Conditionalize on [$(use-nscd) != no].
1663 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1664 Conditionalize on [USE_NSCD].
1665 (is_nscd, nscd_init_cb): Likewise.
1666 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1667 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1668 * nss/nss_db/db-init.c: Likewise.
1669 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1671 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1672 (make_request): Use it.
1673 (cache_valid_p): New function.
1674 (__check_pf): Use it.
1675 * NEWS: Add item for --disable-nscd.
1677 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1679 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1680 to support sed >= 4.2.1-20-ga9bf076.
1681 * configure: Regenerated.
1683 2012-08-22 Roland McGrath <roland@hack.frob.com>
1685 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1686 Conditionalize whole body on [IREL].
1688 2012-08-22 Jeff Law <law@redhat.com>
1691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1692 if the family is PF_UNSPEC.
1694 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1696 * Makerules (lib-version): Rename from V.
1697 (install-lib-nosubdir): Change V to lib-version.
1699 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1702 * powerpc32/power6/wcschr.c: New file.
1703 * powerpc32/power6/wcscpy.c: New file.
1704 * powerpc32/power6/wcsrchr.c: New file.
1705 * powerpc64/power6/wcschr.c: New file.
1706 * powerpc64/power6/wcscpy.c: New file.
1707 * powerpc64/power6/wcsrchr.c: New file.
1709 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1711 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1712 (two_way_short_needle): Use it.
1713 * string/strstr.c (AVAILABLE1_USES_J): Define.
1714 * string/strcasestr.c: Likewise.
1716 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1718 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1721 * NEWS: Add an entry.
1722 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1723 define their defaults.
1724 (two_way_short_needle): Detect end-of-string on-the-fly.
1725 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1726 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1727 * string/bug-strcasestr1.c: New test.
1728 * string/Makefile: Run it.
1730 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1733 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1734 the first character.
1736 2012-08-21 Roland McGrath <roland@hack.frob.com>
1738 * csu/elf-init.c (__libc_csu_irel): Function removed.
1739 * csu/libc-start.c (apply_irel): New function.
1740 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1742 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1744 * sysdeps/unix/sysv/linux/kernel-features.h
1745 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1746 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1747 <kernel-features.h>.
1748 [__NR_fadvise64_64]: Make code unconditional.
1749 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1750 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1751 !__NR_fadvise64_64)]: Likewise.
1752 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1753 !__NR_fadvise64_64))]: Likewise.
1754 [__NR_fadvise64]: Make code unconditional.
1755 [!__NR_fadvise64]: Remove conditional code.
1756 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1757 <kernel-features.h>.
1758 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1760 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1763 not include <kernel-features.h>.
1764 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1766 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1768 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1769 include <kernel-features.h>.
1770 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1772 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1775 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1777 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1778 slight instruction rearrangements per scrollpipe analysis.
1779 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1781 2012-08-20 Roland McGrath <roland@hack.frob.com>
1783 * manual/syslog.texi (syslog; vsyslog, closelog):
1784 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1785 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1787 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1788 DSOCAPS to match condition on defining it.
1790 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1792 * sysdeps/unix/sysv/linux/kernel-features.h
1793 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1795 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1796 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1798 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1799 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1801 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1802 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1804 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1805 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1807 * sysdeps/unix/sysv/linux/kernel-features.h
1808 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1809 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1811 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1812 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1813 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1814 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1815 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1816 Make code unconditional.
1817 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1818 (__mmap64) [!__NR_mmap2]: Likewise.
1819 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1820 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1821 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1822 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1823 [__NR_mmap2]: Make code unconditional.
1824 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1825 (__mmap64) [!__NR_mmap2]: Likewise.
1827 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1829 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1831 2012-08-18 Andreas Jaeger <aj@suse.de>
1833 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1835 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1837 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1838 * include/unistd.h (__have_sock_cloexec): Likewise.
1839 (__have_pipe2): Likewise.
1840 (__have_dup3): Likewise.
1842 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1845 * include/unistd.h (__have_pipe2): Change define into an extern int.
1846 (__have_dup3): Likewise.
1847 * socket/have_sock_cloexec.c: Include fcntl.h.
1848 (__have_pipe2): New variable.
1849 (__have_dup3): Likewise.
1851 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1853 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1855 2012-08-17 Marek Polacek <polacek@redhat.com>
1857 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1858 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1860 2012-08-17 Roland McGrath <roland@hack.frob.com>
1862 * configure.in: Add AC_SUBST for sysheaders.
1863 * configure: Regenerated.
1864 * config.make.in (sysheaders): New substituted variable.
1866 * sysdeps/unix/mkfifo.c: Moved ...
1867 * sysdeps/posix/mkfifo.c: ... here.
1868 * sysdeps/unix/mkfifoat.c: Moved ...
1869 * sysdeps/posix/mkfifoat.c: ... here.
1871 * sysdeps/unix/utime.c: Moved ...
1872 * sysdeps/posix/utime.c: ... here.
1874 * sysdeps/unix/time.c: Moved ...
1875 * sysdeps/posix/time.c: ... here.
1876 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1877 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1879 * sysdeps/unix/nice.c: Moved ...
1880 * sysdeps/posix/nice.c: ... here.
1882 * sysdeps/unix/alarm.c: Moved ...
1883 * sysdeps/posix/alarm.c: ... here.
1885 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1887 2012-08-17 Jeff Law <law@redhat.com>
1889 * intl/Makefile (codeset_mo): New variable.
1890 ($(codeset_mo)): New target.
1891 (tst-codeset.out): Depend on that. Remove explicit rule.
1892 (tst-gettext3.out, tst-gettext5.out): Likewise.
1893 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1894 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1895 * intl/tst-codeset.sh: Remove.
1896 * intl/tst-gettext3.sh: Likewise.
1897 * intl/tst-gettext5.sh: Likewise.
1899 2012-08-17 Roland McGrath <roland@hack.frob.com>
1901 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1902 * sysdeps/unix/syscalls.list: ... here.
1904 * sysdeps/posix/getaddrinfo.c
1905 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1906 (gaiconf_init, gaiconf_reload): Use them.
1908 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1909 Define using time_t rather than struct timespec.
1911 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1912 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1914 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1916 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1917 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1920 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1921 __libc_cleanup_push argument.
1923 * bits/param.h: New file.
1924 * misc/sys/param.h: New file.
1925 * include/sys/param.h: New file.
1926 * misc/Makefile (headers): Add bits/param.h.
1927 * sysdeps/generic/sys/param.h: File removed.
1928 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1929 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1930 * sysdeps/mach/hurd/bits/param.h: New file.
1931 * sysdeps/mach/hurd/sys/param.h: New file.
1933 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1936 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1938 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1939 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1942 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1943 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1944 rather than -D_IO_MTSAFE_IO conditionally.
1945 * stdio-common/Makefile (CPPFLAGS): Likewise.
1946 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1947 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1948 Use $(libio-mtsafe).
1949 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1951 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1952 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1953 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1954 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1955 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1956 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1957 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1958 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1959 (CFLAGS-fread_u_chk.c): Likewise.
1960 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1961 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1962 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1963 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1964 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1965 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1966 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1967 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1968 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1970 * libio/Makefile: Test [$(libc-reentrant) = yes]
1971 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1974 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1975 * sysdeps/pthread/configure: File removed.
1976 * sysdeps/pthread/Makeconfig: New file.
1977 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1978 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1980 2012-08-16 Gary Benson <gbenson@redhat.com>
1982 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1983 unmapping the first object in a namespace.
1985 2012-08-16 Roland McGrath <roland@hack.frob.com>
1987 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1988 (__internal_setnetgrent): ... this. Add internal_function to
1989 definition. Add libc_hidden_def.
1990 (setnetgrent): Update caller.
1991 (internal_endnetgrent): Renamed to ...
1992 (__internal_endnetgrent): ... this. Add internal_function to
1993 definition. Add libc_hidden_def.
1994 (endnetgrent): Update caller.
1995 (internal_getnetgrent_r): Renamed to ...
1996 (__internal_getnetgrent_r): ... this. Add internal_function to
1997 definition. Add libc_hidden_def.
1998 (__getnetgrent_r): Update caller.
1999 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2001 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2003 * stdlib/longlong.h: Update from GCC.
2005 2012-08-16 Roland McGrath <roland@hack.frob.com>
2007 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2008 on _QL, which is set by umul_ppmm but never used.
2009 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2010 variables, which are set by GMP macros but never used.
2011 * stdio-common/_itowa.c (_itowa): Likewise.
2012 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2013 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2015 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2017 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2018 struct La_sh_regs is not constant.
2019 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2020 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2021 and struct La_sparc64_regs are not constant.
2023 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2025 * sysdeps/unix/sysv/linux/kernel-features.h
2026 (__ASSUME_POSIX_TIMERS): Remove.
2027 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2028 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2029 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2030 Make code unconditional.
2031 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2032 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2033 Make code unconditional.
2034 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2035 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2036 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2037 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2038 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2039 Make code unconditional.
2040 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2041 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2042 (__libc_missing_posix_timers): Remove.
2044 2012-08-15 Roland McGrath <roland@hack.frob.com>
2046 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2047 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2049 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2051 * elf/dl-sym.c: Include <stdlib.h>.
2053 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2054 constants, which avoids warnings in 32-bit builds.
2056 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2057 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2059 * misc/lseek.c: File moved to ...
2060 * io/lseek.c: ... here.
2062 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2064 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2065 shifting LEN more than 31 bits at once.
2067 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2070 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2071 segmentation fault for a case of two empty input strings.
2072 * string/test-strncasecmp.c (check1): Renamed to...
2074 (bz14195): Add new testcase for two empty input strings and N > 0.
2075 (test_main): Call new testcase, adapt for renamed function.
2077 2012-08-15 Andreas Jaeger <aj@suse.de>
2080 * crypt/md5test2.c: New test, based on test supplied by Serge
2081 Belyshev <belyshev@depni.sinp.msu.ru>.
2082 * crypt/Makefile (xtests): Add md5test-giant..
2083 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2085 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2088 * crypt/md5.c (md5_process_block): Don't assume the buffer
2089 length is less than 2**32.
2090 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2091 length is less than 2**64.
2093 2012-08-15 Roland McGrath <roland@hack.frob.com>
2095 * string/str-two-way.h: Include <sys/param.h>.
2096 (MAX): Macro removed.
2098 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2099 Move #define and #undef of memmove to just before and after
2100 including <string.h>.
2102 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2103 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2104 and after including <string.h>. Move declarations of
2105 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2106 to before #include "string/memmove.c".
2108 * include/dirent.h: Declare __getdirentries.
2110 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2111 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2113 2012-08-14 Mike Frysinger <vapier@gentoo.org>
2115 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2116 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2117 * sysdeps/i386/configure: Regenerated.
2118 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2119 STABS_CURRENT_FILE, and STABS_FUN.
2120 (END): Remove call to STABS_FUN_END.
2121 (STABS_CURRENT_FILE1): Delete.
2122 (STABS_CURRENT_FILE): Likewise.
2123 (STABS_FUN): Likewise.
2124 (STABS_FUN_END): Likewise.
2125 (STABS_FUN2): Likewise.
2126 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2127 * sysdeps/x86_64/configure: Regenerated.
2129 2012-08-14 Roland McGrath <roland@hack.frob.com>
2131 * elf/dl-open.c: Include <atomic.h>.
2132 * elf/dl-lookup.c: Likewise.
2134 2012-08-14 Joseph Myers <joseph@codesourcery.com>
2136 * sysdeps/unix/sysv/linux/kernel-features.h
2137 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2138 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2140 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2142 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2143 condition on __ASSUME_CLONE_THREAD_FLAGS.
2145 2012-08-14 Andreas Jaeger <aj@suse.de>
2147 * sysdeps/i386/fpu/libm-test-ulps: Update.
2149 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2151 * include/atomic.h (atomic_exchange_and_add): Split into ...
2152 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2155 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2159 2012-08-13 Jeff Law <law@redhat.com>
2161 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2162 null byte in the output string.
2164 2012-08-10 Joseph Myers <joseph@codesourcery.com>
2166 * sysdeps/unix/sysv/linux/kernel-features.h
2167 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2168 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2169 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2170 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2171 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2172 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2173 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2175 2012-08-09 Jeff Law <law@redhat.com>
2178 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2179 When avoid_arena is set, don't retry in the that arena. Pick the
2180 next one, whatever it might be.
2181 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2182 (arena_lock): Pass in new parameter to arena_get2.
2183 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2185 (__libc_malloc): Unify retrying after main arena failure with
2186 __libc_memalign version.
2187 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2189 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2192 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2193 to __redirect_strstr.
2194 (__strstr_sse42): Use typeof __redirect_strstr.
2195 (__strstr_ia32): Likewise.
2196 (__libc_strstr): New prototype.
2197 (strstr): Renamed to ...
2198 (__libc_strstr): This.
2199 (strstr): New strong alias of __libc_strstr.
2200 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2201 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2204 (__libc_time): New prototype.
2205 (time_ifunc): Replace time with __libc_time.
2206 (time): New strong alias and hidden definition of __libc_time.
2207 (__GI_time): Remove strong alias.
2208 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2210 (memmove): Redefined to __redirect_memmove.
2211 (__memmove_sse2): Use typeof __redirect_memmove.
2212 (__memmove_ssse3): Likewise.
2213 (__memmove_ssse3_back): Likewise.
2214 (__libc_memmove): New prototype.
2215 (memmove): Renamed to ...
2216 (__libc_memmove): This.
2217 (memmove): New strong alias of __libc_memmove.
2219 2012-08-08 Mark Salter <msalter@redhat.com>
2222 (R_MN10300_TLS_GD): Define.
2223 (R_MN10300_TLS_LD): Likewise.
2224 (R_MN10300_TLS_LDO): Likewise.
2225 (R_MN10300_TLS_GOTIE): Likewise.
2226 (R_MN10300_TLS_IE): Likewise.
2227 (R_MN10300_TLS_LE): Likewise.
2228 (R_MN10300_TLS_DTPMOD): Likewise.
2229 (R_MN10300_TLS_DTPOFF): Likewise.
2230 (R_MN10300_TLS_TPOFF): Likewise.
2231 (R_MN10300_SYM_DIFF): Likewise.
2232 (R_MN10300_ALIGN): Likewise.
2233 (R_MN10300_NUM): Update.
2235 2012-08-08 Joseph Myers <joseph@codesourcery.com>
2237 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2240 2012-08-08 Roland McGrath <roland@hack.frob.com>
2242 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2244 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2245 sysdeps/unix -> sysdeps/posix move.
2246 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2248 2012-08-07 Allan McRae <allan@archlinux.org>
2251 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2252 (SUNOS_CPP): Likewise.
2253 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2255 (open_input): Call CPP using execvp.
2257 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2259 * sysdeps/unix/sysv/linux/kernel-features.h
2260 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2261 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2262 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2263 (__ASSUME_WAITID_SYSCALL): Likewise.
2264 * sysdeps/unix/sysv/linux/dl-execstack.c
2265 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2267 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2269 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2270 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2271 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2273 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2275 [__ASSUME_WAITID_SYSCALL]: Likewise.
2276 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2278 2012-08-07 Roland McGrath <roland@hack.frob.com>
2280 * sysdeps/unix/closedir.c: Renamed to ...
2281 * sysdeps/posix/closedir.c: ... here.
2282 * sysdeps/unix/dirfd.c: Renamed to ...
2283 * sysdeps/posix/dirfd.c: ... here.
2284 * sysdeps/unix/dirstream.h: Renamed to ...
2285 * sysdeps/posix/dirstream.h: ... here.
2286 * sysdeps/unix/fdopendir.c: Renamed to ...
2287 * sysdeps/posix/fdopendir.c: ... here.
2288 * sysdeps/unix/opendir.c: Renamed to ...
2289 * sysdeps/posix/opendir.c: ... here.
2290 * sysdeps/unix/readdir.c: Renamed to ...
2291 * sysdeps/posix/readdir.c: ... here.
2292 * sysdeps/unix/readdir_r.c: Renamed to ...
2293 * sysdeps/posix/readdir_r.c: ... here.
2294 * sysdeps/unix/rewinddir.c: Renamed to ...
2295 * sysdeps/posix/rewinddir.c: ... here.
2296 * sysdeps/unix/seekdir.c: Renamed to ...
2297 * sysdeps/posix/seekdir.c: ... here.
2298 * sysdeps/unix/telldir.c: Renamed to ...
2299 * sysdeps/posix/telldir.c: ... here.
2300 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2301 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2302 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2303 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2305 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2306 * bits/fcntl.h: ... here.
2308 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2310 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2311 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2312 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2313 (struct flock): Move l_start, l_len to the beginning.
2314 Use __pid_t for l_pid.
2315 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2316 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2317 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2318 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2319 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2320 [__USE_LARGEFILE64] (struct flock64): New type.
2321 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2323 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2324 * bits/dirent.h: ... here.
2326 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2327 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2329 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2331 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2332 Change from 2.6.0 to 2.6.16.
2333 * sysdeps/unix/sysv/linux/configure: Regenerated.
2334 * sysdeps/unix/sysv/linux/kernel-features.h
2335 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2336 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2338 (__ASSUME_UTIMES): Likewise.
2339 (__ASSUME_CLONE_STOPPED): Remove.
2340 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2341 architectures, not kernel version.
2342 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2343 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2344 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2345 (__ASSUME_WAITID_SYSCALL): Likewise.
2346 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2347 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2348 * README: State 2.6.16 as minimum Linux kernel version. Do not
2349 refer to older versions.
2351 2012-08-06 Roland McGrath <roland@hack.frob.com>
2353 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2354 Define alphasort64 as an alias.
2355 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2356 Define versionsort64 as an alias.
2357 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2358 Define scandir64 as an alias.
2359 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2360 Define scandirat64 as an alias.
2361 * dirent/alphasort64.c (alphasort64):
2362 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2363 * dirent/versionsort64.c: Likewise.
2364 * dirent/scandir64.c: Likewise.
2365 * dirent/scandirat64.c: Likewise.
2366 * sysdeps/wordsize-64/alphasort.c: File removed.
2367 * sysdeps/wordsize-64/alphasort64.c: File removed.
2368 * sysdeps/wordsize-64/scandir.c: File removed.
2369 * sysdeps/wordsize-64/scandir64.c: File removed.
2370 * sysdeps/wordsize-64/scandirat.c: File removed.
2371 * sysdeps/wordsize-64/scandirat64.c: File removed.
2372 * sysdeps/wordsize-64/versionsort.c: File removed.
2373 * sysdeps/wordsize-64/versionsort64.c: File removed.
2374 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2375 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2376 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2377 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2378 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2379 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2380 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2381 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2383 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2384 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2385 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2387 [defined __arch64__ || defined __sparcv9]
2388 (__INO_T_MATCHES_INO64_T): New macro.
2389 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2390 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2391 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2392 * sysdeps/unix/sysv/linux/bits/dirent.h
2393 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2394 (_DIRENT_MATCHES_DIRENT64): New macro.
2396 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2397 Define lockf64 as an alias.
2398 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2399 Define fseeko64 as an alias.
2400 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2401 Define ftello64 as an alias.
2402 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2403 Define _IO_fgetpos64 and fgetpos64 as aliases.
2404 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2405 Define _IO_fsetpos64 and fsetpos64 as aliases.
2406 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2407 Conditionalize body on this.
2408 * libio/fseeko64.c: Likewise.
2409 * libio/ftello64.c: Likewise.
2410 * libio/iofgetpos64.c: Likewise.
2411 * libio/iofsetpos64.c: Likewise.
2412 * sysdeps/wordsize-64/lockf.c: File removed.
2413 * sysdeps/wordsize-64/lockf64.c: File removed.
2414 * sysdeps/wordsize-64/fseeko.c: File removed.
2415 * sysdeps/wordsize-64/fseeko64.c: File removed.
2416 * sysdeps/wordsize-64/ftello.c: File removed.
2417 * sysdeps/wordsize-64/ftello64.c: File removed.
2418 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2419 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2420 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2421 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2422 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2423 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2424 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2425 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2426 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2427 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2428 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2429 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2430 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2431 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2433 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2435 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2436 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2437 [defined __arch64__ || defined __sparcv9]
2438 (__OFF_T_MATCHES_OFF64_T): New macro.
2439 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2440 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2442 (__OFF_T_MATCHES_OFF64_T): New macro.
2444 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2446 * stdlib/secure-getenv.c (__secure_getenv): Replace
2447 GLIBC_2_16 with GLIBC_2_17.
2449 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2451 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2452 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2454 2012-08-03 David S. Miller <davem@davemloft.net>
2456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2458 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2460 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2462 (__ASSUME_CORRECT_SI_PID): Likewise.
2463 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2464 (__ASSUME_TMPFS_NAME): Likewise.
2465 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2466 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2467 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2468 (HAVE_AUX_SECURE): Make definition unconditional.
2469 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2470 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2472 2012-08-03 Roland McGrath <roland@hack.frob.com>
2474 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2475 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2476 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2477 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2478 __eloop_threshold instead of SYMLOOP_MAX.
2480 * sysdeps/generic/eloop-threshold.h: New file.
2481 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2483 * elf/chroot_canon.c (chroot_canon): Likewise.
2485 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2488 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2489 Change to 2.6.0 everywhere.
2490 * sysdeps/unix/sysv/linux/configure: Regenerated.
2491 * sysdeps/unix/sysv/linux/kernel-features.h
2492 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2493 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2495 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2496 (__ASSUME_FUTEX_REQUEUE): Remove.
2497 (__ASSUME_STATFS64): Define unconditionally.
2498 (__ASSUME_AT_SECURE): Likewise.
2499 (__ASSUME_CORRECT_SI_PID): Likewise.
2500 (__ASSUME_TGKILL): Define without depending on kernel version for
2502 (__ASSUME_UTIMES): Likewise.
2503 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2505 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2506 (__ASSUME_TMPFS_NAME): Likewise.
2507 * README: Update reference to Linux kernel versions.
2509 2012-08-02 Marek Polacek <polacek@redhat.com>
2512 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2513 libc_cv_asm_type_prefix with %.
2514 * configure: Regenerated.
2515 * include/libc-symbols.h: Remove comment about
2516 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2517 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2518 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2519 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2520 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2521 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2522 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2523 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2524 * elf/tst-unique2mod1.c: Likewise.
2525 * elf/tst-unique1mod2.c: Likewise.
2526 * elf/tst-unique1mod1.c: Likewise.
2527 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2528 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2529 Replace ASM_TYPE_DIRECTIVE with .type.
2530 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2531 * sysdeps/i386/sysdep.h: Likewise.
2532 * sysdeps/x86_64/sysdep.h: Likewise.
2533 * sysdeps/sh/sysdep.h: Likewise.
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2535 Do not define ASM_TYPE_DIRECTIVE.
2536 * sysdeps/powerpc/sysdep.h: Likewise.
2537 * sysdeps/powerpc/powerpc32/sysdep.h:
2538 Replace ASM_TYPE_DIRECTIVE with .type.
2539 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2540 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2541 * sysdeps/i386/fpu/e_powf.S: Likewise.
2542 * sysdeps/i386/fpu/e_expl.S: Likewise.
2543 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2544 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2545 * sysdeps/i386/fpu/e_pow.S: Likewise.
2546 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2547 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2548 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2549 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2550 * sysdeps/i386/fpu/e_log2.S: Likewise.
2551 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2552 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2553 * sysdeps/i386/fpu/e_powl.S: Likewise.
2554 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2555 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2556 * sysdeps/i386/fpu/e_logl.S: Likewise.
2557 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2558 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2559 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2560 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2561 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2562 * sysdeps/i386/fpu/e_log.S: Likewise.
2563 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2564 * sysdeps/i386/fpu/e_logf.S: Likewise.
2565 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2566 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2567 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2568 * sysdeps/i386/fpu/e_log10.S: Likewise.
2569 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2570 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2571 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2572 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2573 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2574 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2575 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2576 * sysdeps/i386/i686/strtok.S: Likewise.
2577 * sysdeps/i386/i386-mcount.S: Likewise.
2578 * sysdeps/i386/strtok.S: Likewise.
2579 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2580 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2581 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2582 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2583 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2584 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2585 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2586 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2587 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2588 * sysdeps/x86_64/_mcount.S: Likewise.
2589 * sysdeps/x86_64/strtok.S: Likewise.
2590 * sysdeps/sh/_mcount.S: Likewise.
2592 2012-08-01 Roland McGrath <roland@hack.frob.com>
2594 * libio/iofopen.c: Include <fcntl.h>.
2595 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2596 (_IO_fopen64, fopen64): Define as aliases.
2597 * libio/iofopen64.c: Include <fcntl.h>.
2598 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2599 Conditionalize body on this.
2600 * sysdeps/wordsize-64/iofopen.c: File removed.
2601 * sysdeps/wordsize-64/iofopen64.c: File removed.
2603 2012-08-01 Marek Polacek <polacek@redhat.com>
2605 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2606 Use dlfcn directly instead of a variable.
2607 (binfmt-subdir): Do not define.
2610 2012-08-01 Joseph Myers <joseph@codesourcery.com>
2612 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2613 Remove all definitions.
2614 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2615 <kernel-features.h>.
2616 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2617 (miss_F_GETOWN_EX): Remove all definitions.
2618 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2620 [!__ASSUME_FCNTL64]: Remove conditional code.
2621 [__ASSUME_FCNTL64]: Make code unconditional.
2622 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2623 <kernel-features.h>.
2624 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2625 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2626 (lockf64) [__NR_fcntl64]: Make code unconditional.
2627 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2629 * sysdeps/unix/sysv/linux/kernel-features.h
2630 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2631 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2632 Make code unconditional.
2633 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2634 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2636 [__NR_vfork]: Make code unconditional.
2637 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2638 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2640 [__NR_vfork]: Make code unconditional.
2641 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2642 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2644 2012-08-01 Roland McGrath <roland@hack.frob.com>
2646 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2647 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2649 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2650 Define mkstemp64 as an alias.
2651 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2652 Define mkstemps64 as an alias.
2653 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2654 Define mkostemp64 as an alias.
2655 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2656 Define mkostemps64 as an alias.
2657 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2658 Conditionalize body on this.
2659 * misc/mkostemp64.c: Likewise.
2660 * misc/mkostemps64.c: Likewise.
2661 * misc/mkstemps64.c: Likewise.
2662 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2663 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2664 * sysdeps/wordsize-64/mkostemp.c: File removed.
2665 * sysdeps/wordsize-64/mkstemp.c: File removed.
2666 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2667 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2668 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2669 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2672 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2673 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2674 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2675 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2677 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2678 compat_symbol macros from <shlib-compat.h> rather than the underlying
2679 default_symbol_version and symbol_version macros, so that DEFAULT
2680 lines in shlib-versions are respected.
2681 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2683 2012-08-01 Florian Weimer <fweimer@redhat.com>
2685 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2686 Declare with warn_unused_result.
2687 (setgid, setregid, setegid, setresgid): Likewise.
2688 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2690 * WUR-REPORT: Remove set*id functions.
2692 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2694 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2696 2012-07-31 Roland McGrath <roland@hack.frob.com>
2698 * include/sys/socket.h (__libc_accept, __libc_accept4):
2699 Add attribute_hidden.
2700 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2702 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2704 * inet/getnetgrent_r.c (setup): Likewise.
2706 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2708 2012-07-31 David S. Miller <davem@davemloft.net>
2710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2712 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2715 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2716 value between 1.0 and 2.0 and smaller part has absolute value less
2718 * math/s_clog10.c (__clog10): Likewise.
2719 * math/s_clog10f.c (__clog10f): Likewise.
2720 * math/s_clog10l.c (__clog10l): Likewise.
2721 * math/s_clogf.c (__clogf): Likewise.
2722 * math/s_clogl.c (__clogl): Likewise.
2723 * math/libm-test.inc (clog_test): Add more tests.
2724 (clog10_test): Likewise.
2725 * sysdeps/i386/fpu/libm-test-ulps: Update.
2726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2728 2012-07-31 Florian Weimer <fweimer@redhat.com>
2730 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2731 Exit with zero in case no suitable GID is found, and write a
2732 message to standard error.
2734 2012-07-30 Roland McGrath <roland@hack.frob.com>
2736 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2738 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2739 (MAXPATHLEN): Removed.
2740 (NOGROUP, NODEV): New macros.
2741 (setbit, clrbit, isset, isclr): New macros.
2742 (howmany, roundup, powerof2): New macros.
2743 (DEV_BSIZE): New macro.
2745 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2746 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2748 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2749 definition on [!__NO_LONG_DOUBLE_MATH].
2751 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2752 PTR_MANGLE and PTR_DEMANGLE.
2754 * socket/accept4.c (accept4): Rename to __libc_accept4.
2755 Define accept4 as a weak alias.
2757 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2758 on [_DIRENT_HAVE_D_TYPE].
2759 * io/ftw.c (ftw_dir): Likewise.
2761 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2763 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2765 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2766 Use the BSD numbers rather than the arbitrary ones we had.
2767 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2768 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2769 (SIGXCPU, SIGXFSZ): New macros.
2772 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2773 initializer on [_LIBC_REENTRANT].
2775 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2776 definitions inside [_POSIX_MAPPED_FILES].
2778 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2780 * dirent/opendir.c: Include <fcntl.h>.
2782 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2783 (__libc_getspecific): Likewise.
2784 (__libc_key_create): Likewise.
2786 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2787 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2788 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2789 (tmpfile64): Define as alias.
2790 * sysdeps/wordsize-64/tmpfile.c: File removed.
2791 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2792 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2793 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2795 * stdio-common/vfscanf.c: Include <stdbool.h>.
2796 * nss/makedb.c: Likewise.
2797 * stdio-common/_i18n_number.h: Likewise.
2798 * argp/argp-help.c: Likewise.
2799 * posix/wordexp.c: Likewise.
2800 * sysdeps/posix/spawni.c: Likewise.
2801 * nss/nss_files/files-initgroups.c: Likewise.
2802 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2803 * nss/nss_files/files-initgroups.c: Likewise.
2804 * nss/nss_db/db-netgrp.c: Likewise.
2805 * nss/nss_db/db-initgroups.c: Likewise.
2806 * io/fchmodat.c: Include <sys/stat.h>.
2808 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2809 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2811 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2814 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2815 Add multiple inclusion protection.
2817 2012-07-27 David S. Miller <davem@davemloft.net>
2819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2821 2012-07-27 Gary Benson <gbenson@redhat.com>
2824 * elf/rtld.c: Include <stap-probe.h>.
2825 (dl_main): Added static probes "init_start" and "init_complete".
2826 * elf/dl-load.c: Include <stap-probe.h>.
2827 (lose): Take new parameter "nsid".
2828 Added static probe "map_failed".
2829 (_dl_map_object_from_fd): Pass namespace id to lose.
2830 Added static probe "map_start".
2831 (open_verify): Pass namespace id to lose.
2832 * elf/dl-open.c: Include <stap-probe.h>.
2833 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2834 and "reloc_complete".
2835 * elf/dl-close.c: Include <stap-probe.h>.
2836 (_dl_close_worker): Added static probes "unmap_start" and
2838 * elf/rtld-debugger-interface.txt: New file documenting the above.
2840 2012-07-26 Roland McGrath <roland@hack.frob.com>
2842 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2843 rather than a string variable.
2844 * sunrpc/rpc_main.c (h_output): Likewise.
2845 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2847 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2849 * inet/check_native.c: New file.
2851 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2854 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2855 if larger part has absolute value 1.0.
2856 * math/s_clog10.c (__clog10): Likewise.
2857 * math/s_clog10f.c (__clog10f): Likewise.
2858 * math/s_clog10l.c (__clog10l): Likewise.
2859 * math/s_clogf.c (__clogf): Likewise.
2860 * math/s_clogl.c (__clogl): Likewise.
2861 * math/libm-test.inc (clog_test): Add more tests.
2862 (clog10_test): Likewise.
2863 * sysdeps/i386/fpu/libm-test-ulps: Update.
2864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2866 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2867 (pltexit): Likewise.
2868 (La_regs): Likewise.
2869 (La_retval): Likewise.
2870 (int_retval): Likewise.
2871 Update #error for removed macros to refer only to definitions in
2873 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2875 (pltexit): Likewise.
2876 (La_regs): Likewise.
2877 (La_retval): Likewise.
2878 (int_retval): Likewise.
2879 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2881 (pltexit): Likewise.
2882 (La_regs): Likewise.
2883 (La_retval): Likewise.
2884 (int_retval): Likewise.
2885 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2887 (pltexit): Likewise.
2888 (La_regs): Likewise.
2889 (La_retval): Likewise.
2890 (int_retval): Likewise.
2891 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2893 (pltexit): Likewise.
2894 (La_regs): Likewise.
2895 (La_retval): Likewise.
2896 (int_retval): Likewise.
2897 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2899 (pltexit): Likewise.
2900 (La_regs): Likewise.
2901 (La_retval): Likewise.
2902 (int_retval): Likewise.
2903 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2905 (pltexit): Likewise.
2906 (La_regs): Likewise.
2907 (La_retval): Likewise.
2908 (int_retval): Likewise.
2909 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2910 macro definitions in tst-audit.h.
2911 * sysdeps/i386/tst-audit.h: New file.
2912 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2913 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2914 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2915 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2916 * sysdeps/sh/tst-audit.h: Likewise.
2917 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2918 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2919 * sysdeps/x86_64/tst-audit.h: Likewise.
2921 2012-07-26 Andreas Jaeger <aj@suse.de>
2923 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2926 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2927 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2928 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2930 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2931 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2932 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2934 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2937 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2939 (si_call_addr, si_syscall, si_arch): Define new macro.
2940 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2942 (si_call_addr, si_syscall, si_arch): Define new marcro.
2943 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2945 (si_call_addr, si_syscall, si_arch): Define new macro.
2946 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2948 (si_call_addr, si_syscall, si_arch): Define new macro.
2950 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2953 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2954 Change to 2.4.21 where previously 2.4.1.
2955 * sysdeps/unix/sysv/linux/configure: Regenerated.
2956 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2957 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2958 Linux kernel version.
2959 (__ASSUME_STD_AUXV): Remove.
2960 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2962 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2963 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2964 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2965 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2966 (__ASSUME_NETLINK_SUPPORT): Likewise.
2967 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2968 (__no_netlink_support): Remove conditional definition.
2969 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2971 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2972 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2973 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2974 (if_nameindex_ioctl): Remove.
2975 (if_nameindex_netlink): Do not handle __no_netlink_support.
2976 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2978 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2979 Remove conditional code.
2980 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2982 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2984 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2985 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2986 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2988 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2989 [!__ASSUME_STD_AUXV]: Remove conditional code.
2990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2991 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2992 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2994 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2995 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2997 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2999 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3000 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3002 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3004 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3007 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3010 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3012 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3014 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3016 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3019 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3021 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3024 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3026 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3028 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3030 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3033 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3035 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3037 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3039 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3042 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3044 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3045 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3046 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3047 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3048 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3049 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3050 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3051 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3052 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3053 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3054 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3055 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3056 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3057 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3058 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3059 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3060 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3061 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3062 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3064 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3065 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3066 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3068 2012-07-25 Florian Weimer <fweimer@redhat.com>
3070 * Versions.def: Add GLIBC_2.17.
3071 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3072 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3073 Introduce __libc_secure_getenv.
3074 * stdlib/Versions (2.17): Add secure_getenv
3075 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3076 * stdlib/secure-getenv.c: Rename __secure_getenv to
3077 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3078 symbol __secure_getenv for GLIBC_2.0.
3079 * stdlib/tst-secure-getenv.c: New.
3080 * stdlib/Makefile (tests): Add testcase.
3081 * manual/startup.texi (Environment Access): Document
3083 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3084 __libc_secure_getenv.
3085 * inet/ruserpass.c (ruserpass): Likewise.
3086 * malloc/mtrace.c (mtrace): Likewise.
3087 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3088 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3089 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3090 * sysdeps/posix/tempname.c: Likewise. Evaluate
3092 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3093 __secure_getenv to __libc_secure_getenv.
3094 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3107 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3109 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3110 (struct La_i86_retval): Likewise.
3111 (struct La_x86_64_regs): Likewise.
3112 (struct La_x86_64_retval): Likewise.
3113 (struct La_x32_regs): Likewise.
3114 (struct La_x32_retval): Likewise.
3115 (struct La_ppc32_regs): Likewise.
3116 (struct La_ppc32_retval): Likewise.
3117 (struct La_ppc64_regs): Likewise.
3118 (struct La_ppc64_retval): Likewise.
3119 (struct La_sh_regs): Likewise.
3120 (struct La_sh_retval): Likewise.
3121 (struct La_s390_32_regs): Likewise.
3122 (struct La_s390_32_retval): Likewise.
3123 (struct La_s390_64_regs): Likewise.
3124 (struct La_s390_64_retval): Likewise.
3125 (struct La_sparc32_regs): Likewise.
3126 (struct La_sparc32_retval): Likewise.
3127 (struct La_sparc64_regs): Likewise.
3128 (struct La_sparc64_retval): Likewise.
3129 (struct audit_ifaces): Remove architecture-specific pltenter and
3131 * sysdeps/i386/ldsodefs.h: New file.
3132 * sysdeps/powerpc/ldsodefs.h: Likewise.
3133 * sysdeps/s390/ldsodefs.h: Likewise.
3134 * sysdeps/sh/ldsodefs.h: Likewise.
3135 * sysdeps/sparc/ldsodefs.h: Likewise.
3136 * sysdeps/x86_64/ldsodefs.h: Likewise.
3138 2012-07-25 Marek Polacek <polacek@redhat.com>
3141 * math/libm-test.inc (yn_test): Add another test.
3142 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3143 to ERANGE when the result is +-Inf.
3144 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3145 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3146 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3147 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3149 2012-07-24 Joseph Myers <joseph@codesourcery.com>
3151 * conform/data/time.h-data (NULL): Use macro-constant. Require
3153 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3155 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3157 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3159 * configure.in <sysdeps resolving>: Correct printing
3161 * configure: Regenerate.
3163 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3165 * math/w_ilogb.c: Include <limits.h>.
3166 * math/w_ilogbl.c: Likewise.
3168 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3170 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3171 va_copy. Document allowing for unavailable va_copy only as
3172 pre-C99 compatibility.
3173 * manual/string.texi (Copying and Concatenation): Use va_copy
3174 instead of __va_copy in concat example.
3176 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3178 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3179 (__sendto): Use create_address_port. Initialize APORT and deallocate
3182 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3183 with O_NOLINK passed to __file_name_lookup.
3185 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3186 with O_NOLINK passed to __file_name_lookup.
3188 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3189 negative N or less than NGIDS.
3191 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3192 type to string_t. Set ERANGE as errno and return it if NAME is not big
3193 enough. Use memcpy instead of strncpy.
3195 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3197 * elf/Makefile (check-data): Remove.
3198 (localplt.data): New vpath directive.
3199 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3200 instead of $(check-data).
3201 * scripts/data/localplt-generic.data: Move to ...
3202 * sysdeps/generic/localplt.data: ... here.
3203 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3204 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3205 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3208 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3211 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3214 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3217 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3220 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3224 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3226 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3227 PPC32 and PPC64 files.
3228 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3229 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3231 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3233 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3234 __makecontext_ret to ...
3235 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3236 ... here and call exit if uc_link is NULL. New file.
3237 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3238 __makecontext_ret.S.
3239 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3240 __makecontext_ret to ...
3241 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3242 ... here and call exit if uc_link is NULL. New file.
3243 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3244 __makecontext_ret.S.
3246 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3248 * elf/elf.h (R_390_IRELATIVE): New definition.
3249 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3250 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3251 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3252 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3253 (elf_machine_lazy_rel): Likewise.
3254 * sysdeps/s390/dl-irel.h: New file.
3255 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3256 * sysdeps/s390/s390-64/memset.S: New asm code.
3257 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3258 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3259 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3260 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3261 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3262 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3263 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3264 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3265 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3266 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3267 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3268 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3269 * sysdeps/s390/s390-32/memset.S: New asm code.
3270 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3272 2012-07-17 Marek Polacek <polacek@redhat.com>
3275 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3276 * sysdeps/s390/s390-64/configure.in: Likewise.
3277 * sysdeps/sparc/configure.in: Likewise.
3278 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3279 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3280 * sysdeps/i386/configure.in: Likewise.
3281 * sysdeps/x86_64/configure.in: Likewise.
3282 * sysdeps/sh/configure.in: Likewise.
3283 * sysdeps/s390/s390-32/configure: Regenerated.
3284 * sysdeps/s390/s390-64/configure: Likewise.
3285 * sysdeps/x86_64/configure: Likewise.
3286 * sysdeps/sh/configure: Likewise.
3287 * sysdeps/powerpc/powerpc64/configure: Likewise.
3288 * sysdeps/powerpc/powerpc32/configure: Likewise.
3289 * sysdeps/sparc/configure: Likwise.
3290 * sysdeps/i386/configure: Likewise.
3292 * elf/dl-open.c: Comment fixes.
3294 2012-07-17 Joseph Myers <joseph@codesourcery.com>
3296 * Makefile [CXX] (check-data): Remove.
3297 [CXX] (c++-types.data): New vpath directive.
3298 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3299 vpath. Do not allow for C++ type data being missing.
3300 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3301 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3302 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3303 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3304 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3305 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3306 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3309 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3312 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3315 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3318 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3321 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3324 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3327 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3330 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3331 definitions to architecture-specific files.
3335 * sysdeps/i386/tls-macros.h: New file.
3336 * sysdeps/powerpc/tls-macros.h: Likewise.
3337 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3338 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3339 * sysdeps/sh/tls-macros.h: Likewise.
3340 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3341 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3342 * sysdeps/x86_64/tls-macros.h: Likewise.
3344 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3346 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3347 zero value for regular exit case.
3349 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3350 (__start_context): Preserve zero value for regular exit case.
3352 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3353 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3355 * manual/setjmp.texi (setcontext): Clarify normal process
3356 termination when uc_link is the null pointer.
3357 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3360 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3362 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3363 preprocessor. Test for each exception mask separately.
3365 2012-07-16 Andreas Jaeger <aj@suse.de>
3367 * po/ru.po: Update from translation team.
3369 2012-07-15 Joseph Myers <joseph@codesourcery.com>
3371 * conform/data/string.h-data (NULL): Use macro-constant. Require
3373 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3374 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3375 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3376 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3377 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3379 2012-07-13 Andreas Jaeger <aj@suse.de>
3381 * po/fr.po: Update from translation team.
3383 2012-07-12 Marek Polacek <polacek@redhat.com>
3386 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3387 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3390 2012-07-12 Joseph Myers <joseph@codesourcery.com>
3393 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3394 Change to 2.4.1 where previously 2.4.0.
3395 * sysdeps/unix/sysv/linux/configure: Regenerated.
3396 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3397 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3399 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3400 (__ASSUME_AT_CLKTCK): Remove.
3401 (__ASSUME_AT_PAGESIZE): Likewise.
3402 (__ASSUME_AT_XID): Likewise.
3403 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3404 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3405 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3407 (HAVE_AUX_PAGESIZE): Likewise.
3408 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3409 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3410 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3412 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3416 the temporary buffer used to invoke __gethostbyname2_r,
3417 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3418 host_data / struct gaih_addrtuple.
3419 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3420 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3421 header file nss/nsswitch.h.
3422 * nss/nsswitch.h (global scope): Add definition of implementation
3423 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3424 resolv/nss_dns/dns-host.c).
3426 2012-07-11 Andreas Jaeger <aj@suse.de>
3428 * po/fr.po: Update from translation team.
3430 * po/sv.po: Update from translation team
3431 * po/fr.po: Another update from translation team.
3433 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3435 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3436 for subnormals or multiply small sinh result by itself.
3437 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3440 2012-07-11 David S. Miller <davem@davemloft.net>
3442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3444 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3447 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3448 (INTERNAL_MARK): Shift it here.
3450 2012-07-10 Marek Polacek <polacek@redhat.com>
3453 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3454 libc_cv_asm_global_directive with .globl.
3455 * configure: Regenerated.
3456 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3458 * sysdeps/i386/configure: Regenerated.
3459 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3461 * sysdeps/x86_64/configure: Regenerated.
3462 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3463 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3464 * elf/tst-unique2mod2.c: Likewise.
3465 * elf/tst-unique2mod1.c: Likewise.
3466 * elf/tst-unique1mod2.c: Likewise.
3467 * elf/tst-unique1mod1.c: Likewise.
3468 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3469 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3470 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3471 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3472 * sysdeps/mach/sysdep.h: Likewise.
3473 * sysdeps/i386/sysdep.h: Likewise.
3474 * sysdeps/i386/i386-mcount.S: Likewise.
3475 * sysdeps/x86_64/_mcount.S: Likewise.
3476 * sysdeps/x86_64/sysdep.h: Likewise.
3477 * sysdeps/sh/_mcount.S: Likewise.
3478 * sysdeps/sh/sysdep.h: Likewise.
3479 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3480 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3481 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3482 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3483 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3484 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3485 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3486 * locale/localeinfo.h: Likewise.
3487 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3488 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3490 2012-07-09 Roland McGrath <roland@hack.frob.com>
3493 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3495 * manual/message.texi (The Uniforum approach): Likewise.
3496 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3497 (glibc iconv Implementation): Likewise.
3499 2012-07-09 Joseph Myers <joseph@codesourcery.com>
3502 * math/s_clog.c (__clog): Avoid scaling a value down where that
3503 could result in underflow.
3504 * math/s_clog10.c (__clog10): Likewise.
3505 * math/s_clog10f.c (__clog10f): Likewise.
3506 * math/s_clog10l.c (__clog10l): Likewise.
3507 * math/s_clogf.c (__clogf): Likewise.
3508 * math/s_clogl.c (__clogl): Likewise.
3509 * math/libm-test.inc (clog_test): Add more tests.
3510 (clog10_test): Likewise.
3511 * sysdeps/i386/fpu/libm-test-ulps: Update.
3512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3514 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3517 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3518 by 7 not 8 to examine high bit of fractional part.
3521 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3522 for call to __mcount_internal.
3523 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3524 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3525 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3527 2012-07-06 Joseph Myers <joseph@codesourcery.com>
3530 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3531 approximation for values within 0x1p-13f of an odd multiple of
3533 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3534 exception. Add more tests.
3535 * sysdeps/i386/fpu/libm-test-ulps: Update.
3538 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3539 inputs and return -1 for them. Do not check for +Inf in case not
3541 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3542 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3543 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3544 and return -1 for them. Do not check for +Inf in case not
3546 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3548 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3549 and return -1 for them. Do not check for +Inf in case not
3551 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3553 * sysdeps/i386/fpu/libm-test-ulps: Update.
3554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3556 2012-07-06 Mike Frysinger <vapier@gentoo.org>
3558 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3560 2012-07-05 Joseph Myers <joseph@codesourcery.com>
3564 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3565 could result in spurious underflow. Scale down values above
3566 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3567 * math/s_csqrtf.c (__csqrtf): Likewise.
3568 * math/s_csqrtl.c (__csqrtl): Likewise.
3569 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3571 * sysdeps/i386/fpu/libm-test-ulps: Update.
3572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3574 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3576 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3578 * catgets/xopen-msg.awk: New file.
3579 * catgets/xopen-msg.sed: Removed.
3581 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3583 * intl/po2test.awk: New file.
3584 * intl/po2test.sed: Removed.
3586 2012-07-04 Joseph Myers <joseph@codesourcery.com>
3589 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3590 or multiply small sinh result by itself.
3591 * math/s_ctanf.c (__ctanf): Likewise.
3592 * math/s_ctanh.c (__ctanh): Likewise.
3593 * math/s_ctanhf.c (__ctanhf): Likewise.
3594 * math/s_ctanhl.c (__ctanhl): Likewise.
3595 * math/s_ctanl.c (__ctanl): Likewise.
3596 * math/libm-test.inc (ctan_test_tonearest): New function.
3597 (ctan_test_towardzero): Likewise.
3598 (ctan_test_downward): Likewise.
3599 (ctan_test_upward): Likewise.
3600 (ctanh_test_tonearest): Likewise.
3601 (ctanh_test_towardzero): Likewise.
3602 (ctanh_test_downward): Likewise.
3603 (ctanh_test_upward): Likewise.
3604 (main): Call these new functions.
3605 * sysdeps/i386/fpu/libm-test-ulps: Update.
3606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3608 2012-07-03 Mike Frysinger <vapier@gentoo.org>
3610 * .gitignore: Delete /ports entry.
3612 2012-07-03 Andreas Jaeger <aj@suse.de>
3614 * po/bg.po: Update from translation team.
3615 * po/cs.po: Likewise.
3616 * po/de.po: Likewise.
3617 * po/hr.po: Likewise.
3618 * po/nl.pl: Likewise.
3619 * po/pl.po: Likewise.
3620 * po/vi.po: Likewise.
3622 2012-07-03 Joseph Myers <joseph@codesourcery.com>
3624 * Makeconfig [!+link] (+link-before-libc): New variable.
3625 [!+link] (+link-after-libc): Likewise.
3626 [!+link] (+link-tests): Likewise.
3627 [!+link] (+link): Define in terms of $(+link-before-libc) and
3628 $(+link-after-libc).
3629 [!+link-static] (+link-static-before-libc): New variable.
3630 [!+link-static] (+link-static-after-libc): Likewise.
3631 [!+link-static] (+link-static-tests): Likewise.
3632 [!+link-static] (+link-static): Define in terms of
3633 $(+link-static-before-libc) and $(+link-static-after-libc).
3634 [build-shared] (link-libc-before-gnulib): New variable.
3635 [build-shared] (link-libc-tests): Likewise.
3636 [build-shared] (link-libc): Define in terms of
3637 $(link-libc-before-gnulib).
3638 [!build-shared] (link-libc-tests): New variable.
3639 (link-libc-static-tests): New variable.
3640 [!gnulib] (gnulib-arch): New variable.
3641 [!gnulib] (gnulib-tests): Likewise.
3642 [!gnulib] (static-gnulib-arch): Likewise.
3643 [!gnulib] (static-gnulib-tests): Likewise.
3644 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3645 Define with "=" instead of ":=".
3646 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3647 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3648 * Rules (binaries-all-notests): New variable.
3649 (binaries-all-tests): Likewise.
3650 (binaries-static-notests): Likewise.
3651 (binaries-static-tests): Likewise.
3652 (binaries-all): Define using $(binaries-all-notests) and
3653 $(binaries-all-tests).
3654 (binaries-static): Define using $(binaries-static-notests) and
3655 $(binaries-static-tests).
3656 (binaries-shared-tests): New variable.
3657 (binaries-shared-notests): Likewise.
3658 (binaries-shared): Remove variable.
3659 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3660 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3661 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3662 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3663 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3664 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3665 * elf/Makefile (sln-modules): New variable.
3666 (extra-objs): Add $(sln-modules:=.o).
3667 (ldconfig-modules): Add static-stubs.
3668 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3669 * elf/static-stubs.c: New file.
3672 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3673 by 7 not 8 to examine high bit of fractional part. Use volatile
3674 variables when splitting into final array of floats if
3675 __FLT_EVAL_METHOD__ != 0.
3676 * math/libm-test.inc (cos_test): Add another test.
3677 (sin_test): Likewise.
3678 * sysdeps/i386/fpu/libm-test-ulps: Update.
3681 * math/libm-test.inc (cosh_test): Add more tests.
3683 * version.h (RELEASE): Set to "development".
3684 (VERSION): Set to "2.16.90".
3686 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3688 * NEWS: Update copyright. Remove last-updated date.
3689 Mention math library bug fixes and timezone data changes.
3690 * README: Mention GNU/Hurd, x32, and HPPA support status.
3692 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3694 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3696 2012-06-27 Andreas Jaeger <aj@suse.de>
3698 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3700 2012-06-25 Andreas Jaeger <aj@suse.de>
3702 * sysdeps/s390/fpu/libm-test-ulps: Update.
3704 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3705 Thomas Schwinge <thomas@codesourcery.com>
3707 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3708 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3709 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3712 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3714 * sysdeps/mach/start.c: Remove file.
3715 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3716 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3717 * sysdeps/sh/init-first.c: Likewise.
3719 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3720 registers for frame unwinding purposes, add CFI directives.
3721 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3722 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3723 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3726 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3727 __fortify_fail returning.
3728 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3730 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3731 sysdeps/sh/____longjmp_chk.S.
3732 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3733 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3734 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3735 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3737 * sysdeps/sh/abort-instr.h: New file.
3738 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3739 process in case exit returns.
3741 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3742 initialize the GOT register before use.
3744 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3745 calculation of ARGC > 4.
3747 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3748 meaningful names to some local labels.
3750 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3751 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3753 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3754 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3755 (__arch_compare_and_exchange_val_16_acq): Likewise.
3756 (__arch_compare_and_exchange_val_32_acq): Likewise.
3757 (atomic_exchange_and_add): Fix gUSA sequence.
3758 (atomic_add): Likewise.
3759 (atomic_add_negative): Likewise.
3760 (atomic_add_zero): Likewise.
3761 (atomic_bit_test_set): Likewise.
3763 2012-06-22 Andreas Schwab <schwab@redhat.com>
3766 * include/link.h (struct link_map): Add l_free_initfini.
3767 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3769 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3770 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3771 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3774 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3776 * configure.in: Use AC_LANG_SOURCE.
3777 * configure: Regenerate.
3779 2012-06-22 Roland McGrath <roland@hack.frob.com>
3781 * configure.in (libc_cv_localstatedir): New substituted variable.
3782 * configure: Regenerated.
3783 * config.make.in (localstatedir): New variable, substituted from
3784 libc_cv_localstatedir.
3785 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3786 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3787 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3788 * sysdeps/gnu/configure: Regenerated.
3790 2012-06-21 Jeff Law <law@redhat.com>
3793 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3794 free. Simplify list management for _LIBC case.
3796 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3799 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3800 Clear sign bit of 64-bit integer value before comparing against
3803 * sysdeps/mach/configure: Regenerated.
3805 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3808 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3810 2012-06-21 Jeff Law <law@redhat.com>
3813 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3814 uint16_t for elements in the "seen" array to avoid char overflows.
3815 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3816 * elf/dl-open.c (dl_open_worker): Likewise.
3818 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3820 * scripts/list-sources.sh: Scan PORTS for translations.
3821 * po/libc.pot: Regenerated.
3823 2012-06-21 Andreas Jaeger <aj@suse.de>
3826 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3828 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3829 * bits/byteswap-16.h (__bswap_16): Likewise.
3830 * bits/byteswap.h (__bswap_constant_16): Likewise.
3832 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3835 * sysdeps/i386/fpu_control.h: Removed.
3836 * sysdeps/x86_64/fpu_control.h: Moved to ...
3837 * sysdeps/x86/fpu_control.h: Here.
3839 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3840 (_FPU_SETCW): Likewise.
3842 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3845 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3846 * sysdeps/x86/fpu/bits/mathinline.h: This.
3847 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3851 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3852 functions if __x86_64__ is defined.
3854 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3856 * string/endian.h: Add !__ASSEMBLER__ condition for including
3857 conversion interfaces.
3859 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3863 of ABS(x) in calculating zero to negative powers other than odd
3865 * math/libm-test.inc (pow_test): Add more tests.
3867 2012-06-15 Andreas Jaeger <aj@suse.de>
3869 * manual/contrib.texi (Contributors): Update entry of Liubov
3870 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3873 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3875 * string/string.h: Add __wur to GNU version of strerror_r.
3877 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3880 * string/Makefile (tests): Add tst-strtok_r.
3881 * string/tst-strtok_r.c: New file.
3882 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3883 RAX_LP/RDX_LP on SAVE_PTR.
3885 2012-06-14 Roland McGrath <roland@hack.frob.com>
3887 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3889 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3891 * libm_test.inc (csqrt_test): Allow more spurious underflow
3893 (j0_test): Likewise.
3894 (j1_test): Likewise.
3895 (y0_test): Likewise.
3896 (y1_test): Likewise.
3898 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3900 * po/Makefile (libc.pot): Use UTF-8 charset.
3902 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3905 Suppress sign-conversion warning from FD_SET.
3906 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3907 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3908 not unsigned long int.
3909 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3911 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3915 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3916 __extern_always_inline instead of __extern_inline.
3917 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3918 (__signbit): Likewise.
3919 (__signbitl): Support C++ namespace.
3920 (lrintf): New inline function.
3922 (llrintf): Likewise.
3934 (nearbyint): Likewise.
3935 (nearbyintf): Likewise.
3937 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3939 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3940 non-default versions.
3942 2012-06-11 Roland McGrath <roland@hack.frob.com>
3945 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3947 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3949 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3950 (FE_UPWARD, FE_DOWNWARD): Don't define.
3951 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3952 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3954 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3956 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3957 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3959 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3961 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3962 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3963 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3964 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3966 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3969 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3970 * sysdeps/i386/fpu/Implies: New file.
3971 * sysdeps/x86_64/fpu/Implies: Likewise.
3972 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3973 * sysdeps/x86/fpu/bits/fenv.h: This.
3975 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3978 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3981 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3982 character 0xffff that matches the last element of the
3985 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3987 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3990 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3992 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3993 values higher than 25.6283.
3995 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3997 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3998 subnormal exponent extraction and add some __builtin_expect.
3999 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4000 Fix for subnormal mantissa calculation.
4002 2012-06-04 Mike Frysinger <vapier@gentoo.org>
4004 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4005 cpu2 is -1 and errno is not ENOSYS.
4007 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4010 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4011 * sysdeps/x86/bits/string.h: This.
4012 * sysdeps/x86_64/bits/string.h: Removed.
4014 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4015 if not compiling for x86-64, but compiling for >= i486.
4017 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4018 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4020 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4021 New macro from Linux kernel 3.4.0.
4022 (FP_XSTATE_MAGIC2): Likewise.
4023 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4024 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4025 (struct _fpx_sw_bytes): New struct.
4026 (struct _xsave_hdr): Likewise.
4027 (struct _ymmh_state): Likewise.
4028 (struct _xstate): Likewise.
4030 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4031 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4032 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4033 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4034 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4035 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4037 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4038 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4039 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4040 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4041 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4042 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4044 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4047 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4048 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4049 (sysdep_headers): Include sys/platform/ppc.h.
4050 * sysdeps/powerpc/test-gettimebase.c: Test for
4051 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4052 * manual/Makefile (appendices): Include platform.texi.
4053 * manual/contrib.texi (Contributors): Update @node pointers.
4054 * manual/maint.texi (Maintenance): Likewise.
4055 (Platform): New node.
4056 * manual/platform.texi: New file. Document the new features.
4058 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4059 Jakub Jelinek <jakub@redhat.com>
4062 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4063 where __builtin_expect is unavailable.
4065 2012-06-03 David S. Miller <davem@davemloft.net>
4067 * stdlib/longlong.h: Updated from GCC.
4069 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4072 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4073 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4076 (GLIBC_2.16): Likewise.
4078 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4080 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4082 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4085 (default-abi): New variable.
4086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4087 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4089 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4091 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4093 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4096 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4097 definition. Document in comment.
4099 2012-06-01 David S. Miller <davem@davemloft.net>
4101 * stdlib/longlong.h: Updated from GCC.
4103 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4106 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4107 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4108 sys/debugreg.h sys/io.h here.
4109 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4110 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4112 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4113 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4114 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4115 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4116 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4117 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4119 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4120 Define only if __x86_64__ is defined.
4122 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4125 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4126 Use int64_t for variable i.
4127 * math/libm-test.inc (fmod_test): Add more tests.
4129 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4130 z computation is not scheduled after fetestexcept.
4131 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4132 Use math_force_eval instead of asm to ensure calculation scheduled
4133 before exception test.
4134 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4135 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4137 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4140 computation is not scheduled after fetestexcept.
4142 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4145 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4146 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4148 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4150 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4151 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4153 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4156 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4158 (__WCHAR_MIN): Support __WORDSIZE == 64.
4159 (__WCHAR_MAX): Likewise.
4161 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4162 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4165 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4166 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4169 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4170 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4172 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4173 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4175 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4176 Defined to 1 if __x86_64__ isn't defined.
4177 (_STAT_VER_LINUX_OLD): New.
4178 (st_atime): Remove duplicate.
4179 (st_mtime): Likewise.
4180 (st_ctime): Likewise.
4182 2012-05-31 David S. Miller <davem@davemloft.net>
4184 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4187 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4189 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4193 * elf/dl-reloc.c: Include <_itoa.h>.
4194 (_dl_reloc_bad_type): Remove use of INTUSE.
4195 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4196 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4197 * stdio-common/psiginfo.c (psiginfo): Likewise.
4198 * stdio-common/psignal.c (psignal): Likewise.
4199 * string/strsignal.c (strsignal): Likewise.
4200 * include/signal.h (_sys_siglist): Declare hidden proto.
4201 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4202 INTVARDEF with libc_hidden_data_def.
4203 * stdio-common/itoa-udigits.c: Likewise.
4204 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4205 (_itoa_lower_digits_internal): Remove declaration.
4206 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4207 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4208 (_sys_sigabbrev_internal): Remove aliases.
4209 (_sys_siglist): Define hidden alias.
4211 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4216 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4219 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4220 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4222 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4223 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4224 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4225 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4226 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4227 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4229 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4230 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4231 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4233 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4241 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4242 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4243 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4245 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4246 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4247 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4248 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4249 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4250 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4252 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4253 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4255 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4256 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4258 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4259 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4260 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4262 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4263 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4265 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4267 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4268 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4269 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4271 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4273 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4275 2012-05-31 Joseph Myers <joseph@codesourcery.com>
4277 * math/math.h (M_El): Use two more decimal places.
4278 (M_LOG2El): Likewise.
4279 (M_LOG10El): Likewise.
4281 (M_LN10l): Likewise.
4283 (M_PI_2l): Likewise.
4284 (M_PI_4l): Likewise.
4285 (M_1_PIl): Likewise.
4286 (M_2_PIl): Likewise.
4287 (M_2_SQRTPIl): Likewise.
4288 (M_SQRT2l): Likewise.
4289 (M_SQRT1_2l): Likewise.
4291 2012-05-31 David S. Miller <davem@davemloft.net>
4293 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4294 values between float registers.
4295 * sysdeps/sparc/sparc64/memset.S: Likewise.
4296 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4298 2012-05-31 Mike Frysinger <vapier@gentoo.org>
4300 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4301 -D_FORTIFY_SOURCE=1.
4302 (CPPFLAGS-tst-longjmp_chk.c): Define.
4303 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4304 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4305 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4306 CFLAGS-tst-wchar-h.c.
4308 2012-05-31 Marek Polacek <polacek@redhat.com>
4311 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4312 __endmntent_internal): Remove declaration.
4313 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4314 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4315 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4317 2012-05-30 David S. Miller <davem@davemloft.net>
4319 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4320 (___Q_simulate_exceptions): Use real FP ops rather than writing
4322 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4325 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4328 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4329 * sysdeps/x86/bits/xtitypes.h: This.
4331 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4332 * sysdeps/x86/bits/wordsize.h: This.
4334 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4335 * sysdeps/x86/bits/huge_vall.h: This.
4337 * sysdeps/i386/bits/select.h: Removed.
4338 * sysdeps/x86_64/bits/select.h: Renamed to ...
4339 * sysdeps/x86/bits/select.h: This.
4341 * sysdeps/i386/bits/setjmp.h: Removed.
4342 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4343 * sysdeps/x86/bits/setjmp.h: This.
4345 * sysdeps/i386/bits/mathdef.h: Removed.
4346 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4347 * sysdeps/x86/bits/mathdef.h: This.
4349 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4352 * include/sys/socket.h (__connect_internal)
4353 (__libc_sa_len_internal): Remove declaration.
4354 (__connect, __libc_sa_len): Declare hidden_proto.
4355 (SA_LEN): Remove use of INTUSE.
4356 * socket/connect.c: Add libc_hidden_def.
4357 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4358 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4359 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4361 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4362 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4363 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4364 of adding _internal alias.
4366 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4369 * sysdeps/i386/bits/link.h: Removed.
4370 * sysdeps/i386/bits/linkmap.h: Likewise.
4371 * sysdeps/x86_64/bits/link.h: Renamed to ...
4372 * sysdeps/x86/bits/link.h: This.
4373 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4374 * sysdeps/x86/bits/linkmap.h: This.
4376 * sysdeps/i386/bits/endian.h: Removed.
4377 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4378 * sysdeps/x86/bits/endian.h: This.
4380 * sysdeps/i386/bits/byteswap.h: Removed.
4381 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4382 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4383 * sysdeps/x86/bits/byteswap.h: This.
4384 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4385 * sysdeps/x86/bits/byteswap-16.h: This.
4386 * sysdeps/i386/Implies: Add x86.
4387 * sysdeps/x86_64/Implies: Likewise.
4389 2012-05-30 David S. Miller <davem@davemloft.net>
4391 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4392 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4393 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4394 (FP_TRAPPING_EXCEPTIONS): Define.
4395 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4396 (FP_TRAPPING_EXCEPTIONS): Define.
4397 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4398 subnormals only when inexact has been signalled or underflow
4399 exceptions are enabled.
4400 (_FP_PACK_CANONICAL): Likewise.
4402 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4405 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4406 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4408 2012-05-30 Richard Henderson <rth@twiddle.net>
4410 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4411 with #ifndef NOT_IN_libc.
4413 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4414 marked to avoid plt entry.
4416 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4419 * Makeconfig (default-abi): New macro.
4420 (abi-includes): Likewise.
4421 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4422 $(abi-$(default-abi)-lib-soname) for soname if defined.
4423 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4425 * Makefile (installed-stubs): Likewise.
4426 * include/stubs-biarch.h: Removed.
4427 * scripts/lib-names.awk: Only handle one library at a time.
4428 * scripts/soversions.awk: Remove WORDSIZE support.
4429 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4431 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4433 (syscall-list-default-condition): Likewise.
4434 (syscall-list-default-condition): Likewise.
4435 (syscall-list-includes): Likewise.
4436 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4437 syscall-list-* with abi-*. Handle undefined abi-variants.
4438 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4439 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4440 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4441 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4442 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4443 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4445 (syscall-list-32-options): Likewise.
4446 (syscall-list-32-condition): Likewise.
4447 (syscall-list-64-options): Likewise.
4448 (syscall-list-64-condition): Likewise.
4449 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4451 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4454 (abi-64-ld-soname): New macro.
4455 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4456 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4459 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4460 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4462 2012-05-30 Joseph Myers <joseph@codesourcery.com>
4464 * sysdeps/unix/sysv/linux/kernel-features.h
4465 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4466 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4467 include <kernel-features.h>.
4468 [!__NR_ftruncate64]: Remove conditional code.
4469 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4470 [__NR_ftruncate64]: Make code unconditional.
4471 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4472 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4473 include <kernel-features.h>.
4474 [!__NR_ftruncate64]: Remove conditional code.
4475 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4476 [__NR_ftruncate64]: Make code unconditional.
4477 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4479 include <kernel-features.h>.
4480 [!__NR_ftruncate64]: Remove conditional code.
4481 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4482 [__NR_ftruncate64]: Make code unconditional.
4483 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4485 include <kernel-features.h>.
4486 [!__NR_ftruncate64]: Remove conditional code.
4487 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4488 [__NR_ftruncate64]: Make code unconditional.
4489 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4491 * configure.in (libc_cv_fpie): Weaken to a compile test using
4493 * configure: Regenerated.
4495 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4510 2012-05-27 David S. Miller <davem@davemloft.net>
4512 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4514 (__Q_simulate_exceptions): Return void. Change to simulate
4515 exceptions by writing into the %fsr.
4516 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4517 (__Qp_handle_exceptions): Likewise.
4519 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4520 __Qp_handle_exceptions.
4521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4522 __Qp_handle_exceptions.
4523 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4524 as unused and give dummy FP_RND_NEAREST initializer.
4525 (FP_INHIBIT_RESULTS): Define.
4526 (___Q_simulate_exceptions): Update declaration.
4527 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4529 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4530 as unused and give dummy FP_RND_NEAREST initializer.
4531 (__Qp_handle_exceptions): Update declaration.
4532 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4535 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4537 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4538 the temporary FPU control word.
4539 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4540 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4541 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4542 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4543 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4544 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4545 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4546 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4547 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4548 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4549 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4551 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4553 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4556 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4558 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4559 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4560 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4561 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4563 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4564 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4567 2012-05-27 Ulrich Drepper <drepper@gmail.com>
4569 * po/h.po: Update from translation team.
4571 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4573 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4575 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4576 handling of denormals.
4577 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4578 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4579 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4580 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4581 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4582 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4583 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4586 2012-05-26 Marek Polacek <polacek@redhat.com>
4589 * math/libm-test.inc (fma_test): Don't always expect underflow
4592 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4595 * elf/tst-execstack.c: Include stackinfo.h.
4596 (do_test): Adjust test case to ensure that pthread_getattr_np
4597 behaviour remains the same after marking stack executable.
4599 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4601 * sysdeps/unix/sysv/linux/kernel-features.h
4602 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4603 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4605 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4606 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4607 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4609 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4610 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4612 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4614 * configure.in: Define the default includes to being none.
4615 * configure: Regenerated.
4617 2012-05-25 Roland McGrath <roland@hack.frob.com>
4619 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4620 * sysdeps/x86_64/setjmp.S: Likewise.
4621 * sysdeps/i386/bsd-setjmp.S: Likewise.
4622 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4623 * sysdeps/i386/setjmp.S: Likewise.
4624 * sysdeps/i386/__longjmp.S: Likewise.
4625 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4626 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4628 * include/stap-probe.h: New file.
4629 * configure.in: Handle --enable-systemtap.
4630 * configure: Regenerated.
4631 * config.h.in (USE_STAP_PROBE): New #undef.
4632 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4633 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4634 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4636 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4639 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4640 to 2.4.0 where earlier.
4641 * sysdeps/unix/sysv/linux/configure: Regenerated.
4642 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4643 <kernel-features.h>.
4644 [__ASSUME_32BITUIDS]: Make code unconditional.
4645 [!__ASSUME_32BITUIDS]: Remove conditional code.
4646 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4647 <kernel-features.h>.
4648 [__ASSUME_32BITUIDS]: Make code unconditional.
4649 [!__ASSUME_32BITUIDS]: Remove conditional code.
4650 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4651 [__ASSUME_32BITUIDS]: Make code unconditional.
4652 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4653 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4654 <kernel-features.h>.
4655 [__ASSUME_32BITUIDS]: Make code unconditional.
4656 [!__ASSUME_32BITUIDS]: Remove conditional code.
4657 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4658 <kernel-features.h>.
4659 [__ASSUME_32BITUIDS]: Make code unconditional.
4660 [!__ASSUME_32BITUIDS]: Remove conditional code.
4661 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4662 <kernel-features.h>.
4663 [__ASSUME_32BITUIDS]: Make code unconditional.
4664 [!__ASSUME_32BITUIDS]: Remove conditional code.
4665 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4666 <kernel-features.h>.
4667 [__ASSUME_32BITUIDS]: Make code unconditional.
4668 [!__ASSUME_32BITUIDS]: Remove conditional code.
4669 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4670 <kernel-features.h>.
4671 [__ASSUME_32BITUIDS]: Make code unconditional.
4672 [!__ASSUME_32BITUIDS]: Remove conditional code.
4673 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4674 <kernel-features.h>.
4675 [__ASSUME_32BITUIDS]: Make code unconditional.
4676 [!__ASSUME_32BITUIDS]: Remove conditional code.
4677 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4678 <kernel-features.h>.
4679 [__ASSUME_32BITUIDS]: Make code unconditional.
4680 [!__ASSUME_32BITUIDS]: Remove conditional code.
4681 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4682 <kernel-features.h>.
4683 [__ASSUME_32BITUIDS]: Make code unconditional.
4684 [!__ASSUME_32BITUIDS]: Remove conditional code.
4685 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4686 <kernel-features.h>.
4687 [__ASSUME_32BITUIDS]: Make code unconditional.
4688 [!__ASSUME_32BITUIDS]: Remove conditional code.
4689 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4690 <kernel-features.h>.
4691 [__ASSUME_32BITUIDS]: Make code unconditional.
4692 [!__ASSUME_32BITUIDS]: Remove conditional code.
4693 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4694 <kernel-features.h>.
4695 [__NR_setresgid] (__setresgid): Do not declare.
4696 [__ASSUME_32BITUIDS]: Make code unconditional.
4697 [!__ASSUME_32BITUIDS]: Remove conditional code.
4698 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4699 <kernel-features.h>.
4700 [__NR_setresuid] (__setresuid): Do not declare.
4701 [__ASSUME_32BITUIDS]: Make code unconditional.
4702 [!__ASSUME_32BITUIDS]: Remove conditional code.
4703 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4704 <kernel-features.h>.
4705 [__ASSUME_32BITUIDS]: Make code unconditional.
4706 [!__ASSUME_32BITUIDS]: Remove conditional code.
4707 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4708 <kernel-features.h>.
4709 [__ASSUME_32BITUIDS]: Make code unconditional.
4710 [!__ASSUME_32BITUIDS]: Remove conditional code.
4711 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4712 <kernel-features.h>.
4713 [__ASSUME_32BITUIDS]: Make code unconditional.
4714 [!__ASSUME_32BITUIDS]: Remove conditional code.
4715 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4716 <kernel-features.h>.
4717 [__ASSUME_32BITUIDS]: Make code unconditional.
4718 [!__ASSUME_32BITUIDS]: Remove conditional code.
4719 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4720 <kernel-features.h>.
4721 [__ASSUME_32BITUIDS]: Make code unconditional.
4722 [!__ASSUME_32BITUIDS]: Remove conditional code.
4723 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4724 <kernel-features.h>.
4725 [__ASSUME_32BITUIDS]: Make code unconditional.
4726 [!__ASSUME_32BITUIDS]: Remove conditional code.
4727 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4728 <kernel-features.h>.
4729 [__ASSUME_32BITUIDS]: Make code unconditional.
4730 [!__ASSUME_32BITUIDS]: Remove conditional code.
4731 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4732 <kernel-features.h>.
4733 [__ASSUME_32BITUIDS]: Make code unconditional.
4734 [!__ASSUME_32BITUIDS]: Remove conditional code.
4735 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4736 <kernel-features.h>.
4737 [__ASSUME_32BITUIDS]: Make code unconditional.
4738 [!__ASSUME_32BITUIDS]: Remove conditional code.
4739 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4740 <kernel-features.h>.
4741 [__ASSUME_32BITUIDS]: Make code unconditional.
4742 [!__ASSUME_32BITUIDS]: Remove conditional code.
4743 * sysdeps/unix/sysv/linux/kernel-features.h
4744 (__ASSUME_SETRESUID_SYSCALL): Remove.
4745 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4746 (__ASSUME_32BITUIDS): Likewise.
4747 (__ASSUME_LDT_WORKS): Likewise.
4748 (__ASSUME_O_DIRECTORY): Likewise.
4749 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4750 architecture but not kernel version.
4751 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4752 (__ASSUME_MMAP2_SYSCALL): Likewise.
4753 (__ASSUME_STAT64_SYSCALL): Likewise.
4754 (__ASSUME_IPC64): Likewise.
4755 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4756 <kernel-features.h>.
4757 [__ASSUME_32BITUIDS]: Make code unconditional.
4758 [!__ASSUME_32BITUIDS]: Remove conditional code.
4759 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4760 <kernel-features.h>.
4761 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4762 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4763 132096]: Remove conditional code.
4764 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4765 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4766 <kernel-features.h>.
4767 [__ASSUME_32BITUIDS]: Make code unconditional.
4768 [!__ASSUME_32BITUIDS]: Remove conditional code.
4769 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4770 <kernel-features.h>.
4771 [__ASSUME_32BITUIDS]: Make code unconditional.
4772 [!__ASSUME_32BITUIDS]: Remove conditional code.
4773 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4774 <kernel-features.h>.
4775 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4777 (__setresgid): Do not declare.
4778 [__ASSUME_32BITUIDS]: Make code unconditional.
4779 [!__ASSUME_32BITUIDS]: Remove conditional code.
4780 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4781 <kernel-features.h>.
4782 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4784 (__setresuid): Do not declare.
4785 [__ASSUME_32BITUIDS]: Make code unconditional.
4786 [!__ASSUME_32BITUIDS]: Remove conditional code.
4787 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4788 <kernel-features.h>.
4789 [__ASSUME_32BITUIDS]: Make code unconditional.
4790 [!__ASSUME_32BITUIDS]: Remove conditional code.
4791 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4792 <kernel-features.h>.
4793 [__ASSUME_32BITUIDS]: Make code unconditional.
4794 [!__ASSUME_32BITUIDS]: Remove conditional code.
4796 2012-05-25 Richard Henderson <rth@twiddle.net>
4798 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4799 dl_hwcap to ifunc resolver.
4800 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4802 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4803 dl_hwcap to ifunc resolver.
4804 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4806 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4809 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4810 for |x| <= 2**-26, not 2**-57.
4811 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4814 2012-05-24 Jeff Law <law@redhat.com>
4816 * stdio-common/Makefile (tests): Add bug25.
4817 * stdio-common/bug25.c: New test.
4819 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4822 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4823 multiple of MALLOC_ALIGNMENT in size.
4824 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4826 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4828 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4830 (FILENAME_MAX): Use macro-int-constant.
4831 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4832 (_IOFBF): Use macro-int-constant.
4835 (SEEK_CUR): Likewise.
4836 (SEEK_END): Likewise.
4837 (SEEK_SET): Likewise.
4838 (TMP_MAX): Likewise.
4839 (EOF): Use macro-int-constant. Require < 0.
4840 (NULL): Use macro-constant. Require == 0.
4841 (stdin): Require type to be FILE *.
4844 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4846 (EXIT_SUCCESS): Likewise.
4847 (NULL): Use macro-constant. Require == 0.
4848 (RAND_MAX): Use macro-int-constant.
4849 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4850 [C99-based standards] (strtof): Require function.
4851 [C99-based standards] (strtold): Likewise.
4852 [C99-based standards] (strtoll): Likewise.
4853 [C99-based standards] (strtoull): Likewise.
4854 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4855 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4856 [ISO || ISO99 || ISO11] (math.h): Likewise.
4857 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4858 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4859 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4861 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4864 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4865 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4866 * intl/dgettext.c (DCGETTEXT): Likewise.
4867 * intl/gettext.c (DCGETTEXT): Likewise.
4868 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4869 * posix/regex_internal.h (gettext): Likewise.
4870 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4872 * include/argz.h (__argz_count_internal)
4873 (__argz_stringify_internal): Remove declaration.
4874 (__argz_count, __argz_stringify): Declare hidden proto.
4875 * intl/dcgettext.c: Remove use of INTDEF.
4876 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4877 * string/argz-stringify.c: Likewise.
4878 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4879 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4880 Declare hidden proto.
4881 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4882 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4883 Declare hidden proto.
4884 * include/stdio.h (__asprintf_internal): Don't declare.
4885 (__asprintf): Don't define as macro. Declare hidden proto.
4886 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4887 (__fsetlocking): Declare hidden proto.
4888 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4889 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4891 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4892 (_IO_setlinebuf): Remove use of INTUSE.
4893 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4894 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4895 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4897 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4898 (_IO_do_flush): Remove use of INTUSE.
4899 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4900 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4901 (_IO_adjust_column, _IO_least_wmarker)
4902 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4903 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4904 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4905 (_IO_default_doallocate, _IO_wdefault_doallocate)
4906 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4907 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4908 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4909 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4910 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4911 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4912 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4913 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4914 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4915 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4916 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4917 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4918 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4920 (_IO_flush_all_internal, _IO_adjust_column_internal)
4921 (_IO_default_uflow_internal, _IO_default_finish_internal)
4922 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4923 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4924 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4925 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4926 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4927 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4928 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4929 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4930 (_IO_file_close_internal, _IO_file_close_it_internal)
4931 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4932 (_IO_file_init_internal, _IO_file_attach_internal)
4933 (_IO_file_fopen_internal, _IO_file_read_internal)
4934 (_IO_file_sync_internal, _IO_file_seek_internal)
4935 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4936 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4937 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4938 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4939 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4940 (_IO_list_all_internal, _IO_link_in_internal)
4941 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4942 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4943 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4944 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4945 (_IO_do_write_internal, _IO_padn_internal)
4946 (_IO_getline_info_internal, _IO_getline_internal)
4947 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4948 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4949 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4950 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4951 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4952 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4953 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4954 with libc_hidden_ver, remove use of INTUSE.
4955 * libio/genops.c: Likewise.
4956 * libio/freopen.c: Likewise.
4957 * libio/freopen64.c: Likewise.
4958 * libio/iofclose.c: Likewise.
4959 * libio/iofdopen.c: Likewise.
4960 * libio/iofflush.c: Likewise.
4961 * libio/iofflush_u.c: Likewise.
4962 * libio/iofgets.c: Likewise.
4963 * libio/iofgets_u.c: Likewise.
4964 * libio/iofopen.c: Likewise.
4965 * libio/iofopncook.c: Likewise.
4966 * libio/iofread.c: Likewise.
4967 * libio/iofread_u.c: Likewise.
4968 * libio/ioftell.c: Likewise.
4969 * libio/iofwrite.c: Likewise.
4970 * libio/iogetline.c: Likewise.
4971 * libio/iogets.c: Likewise.
4972 * libio/iogetwline.c: Likewise.
4973 * libio/iopadn.c: Likewise.
4974 * libio/iopopen.c: Likewise.
4975 * libio/ioseekoff.c: Likewise.
4976 * libio/ioseekpos.c: Likewise.
4977 * libio/iosetbuffer.c: Likewise.
4978 * libio/iosetvbuf.c: Likewise.
4979 * libio/ioungetc.c: Likewise.
4980 * libio/ioungetwc.c: Likewise.
4981 * libio/iovdprintf.c: Likewise.
4982 * libio/iovsprintf.c: Likewise.
4983 * libio/iovsscanf.c: Likewise.
4984 * libio/memstream.c: Likewise.
4985 * libio/obprintf.c: Likewise.
4986 * libio/oldfileops.c: Likewise.
4987 * libio/oldiofclose.c: Likewise.
4988 * libio/oldiofdopen.c: Likewise.
4989 * libio/oldiofopen.c: Likewise.
4990 * libio/oldiopopen.c: Likewise.
4991 * libio/oldstdfiles.c: Likewise.
4992 * libio/putc.c: Likewise.
4993 * libio/setbuf.c: Likewise.
4994 * libio/setlinebuf.c: Likewise.
4995 * libio/stdfiles.c: Likewise.
4996 * libio/strops.c: Likewise.
4997 * libio/vasprintf.c: Likewise.
4998 * libio/vscanf.c: Likewise.
4999 * libio/vsnprintf.c: Likewise.
5000 * libio/vswprintf.c: Likewise.
5001 * libio/wfiledoalloc.c: Likewise.
5002 * libio/wfileops.c: Likewise.
5003 * libio/wgenops.c: Likewise.
5004 * libio/wmemstream.c: Likewise.
5005 * libio/wstrops.c: Likewise.
5006 * libio/__fpurge.c: Likewise.
5007 * libio/__fsetlocking.c: Likewise.
5008 * assert/assert.c: Likewise.
5009 * debug/fgets_chk.c: Likewise.
5010 * debug/fgets_u_chk.c: Likewise.
5011 * debug/fread_chk.c: Likewise.
5012 * debug/fread_u_chk.c: Likewise.
5013 * debug/gets_chk.c: Likewise.
5014 * debug/obprintf_chk.c: Likewise.
5015 * debug/vasprintf_chk.c: Likewise.
5016 * debug/vdprintf_chk.c: Likewise.
5017 * debug/vsnprintf_chk.c: Likewise.
5018 * debug/vsprintf_chk.c: Likewise.
5019 * malloc/mtrace.c: Likewise.
5020 * misc/error.c: Likewise.
5021 * misc/syslog.c: Likewise.
5022 * stdio-common/asprintf.c: Likewise.
5023 * stdio-common/fxprintf.c: Likewise.
5024 * stdio-common/getw.c: Likewise.
5025 * stdio-common/isoc99_fscanf.c: Likewise.
5026 * stdio-common/isoc99_scanf.c: Likewise.
5027 * stdio-common/isoc99_vfscanf.c: Likewise.
5028 * stdio-common/isoc99_vscanf.c: Likewise.
5029 * stdio-common/isoc99_vsscanf.c: Likewise.
5030 * stdio-common/printf-prs.c: Likewise.
5031 * stdio-common/printf_fp.c: Likewise.
5032 * stdio-common/printf_fphex.c: Likewise.
5033 * stdio-common/printf_size.c: Likewise.
5034 * stdio-common/putw.c: Likewise.
5035 * stdio-common/scanf.c: Likewise.
5036 * stdio-common/sprintf.c: Likewise.
5037 * stdio-common/tmpfile.c: Likewise.
5038 * stdio-common/vfprintf.c: Likewise.
5039 * stdio-common/vfscanf.c: Likewise.
5040 * stdlib/strfmon_l.c: Likewise.
5041 * sunrpc/openchild.c: Likewise.
5042 * sunrpc/xdr_stdio.c: Likewise.
5043 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5044 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5046 2012-05-24 Roland McGrath <roland@hack.frob.com>
5048 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5050 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5051 in the third column, to generate for the shared library an IFUNC
5052 that uses _dl_vdso_vsym.
5053 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5054 * Makeconfig (object-suffixes-noshared): New variable.
5056 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5057 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5058 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5059 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5062 * include/sys/time.h (__gettimeofday): Remove macro.
5063 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5064 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5066 (__gettimeofday): Add libc_hidden_def.
5067 (gettimeofday): Add libc_hidden_weak.
5068 * sysdeps/mach/gettimeofday.c: Likewise.
5069 * sysdeps/posix/gettimeofday.c: Likewise.
5070 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5071 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5072 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5073 (__gettimeofday_internal): Remove strong_alias.
5074 (__gettimeofday): Add libc_hidden_def.
5075 (gettimeofday): Add libc_hidden_weak.
5076 * sysdeps/unix/syscalls.list (gettimeofday):
5077 Remove __gettimeofday_internal alias.
5079 2012-05-24 Daniel Jacobowitz <drow@false.org>
5080 H.J. Lu <hongjiu.lu@intel.com>
5083 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5084 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5085 (largebin_index_32_big): New.
5086 (largebin_index): Use it for 16-byte alignment.
5087 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5088 correction with front_misalign.
5090 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5118 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5119 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5121 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5125 * math/libm-test.inc (exp_test): Add test from bug 14036.
5126 (pow_test): Add test from bug 10846.
5128 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5130 (special_function): Do not include flags in test name.
5131 (parse_args): Likewise.
5132 * sysdeps/i386/fpu/libm-test-ulps: Update.
5133 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5134 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5135 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5138 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5140 * math/libm-test.inc ("Philosophy"): Update comment about
5142 (UNDERFLOW_EXCEPTION): New macro.
5143 (UNDERFLOW_EXCEPTION_OK): Likewise.
5144 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5145 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5146 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5147 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5148 (INVALID_EXCEPTION_OK): Update value.
5149 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5150 (OVERFLOW_EXCEPTION_OK): Likewise.
5151 (IGNORE_ZERO_INF_SIGN): Likewise.
5152 (test_exceptions): Handle underflow exceptions.
5153 (acos_test): Update for underflow exception expectations.
5154 (cexp_test): Likewise.
5155 (clog_test): Likewise.
5156 (clog10_test): Likewise.
5157 (csqrt_test): Likewise.
5158 (ctan_test): Likewise.
5159 (ctanh_test): Likewise.
5160 (exp_test): Likewise.
5161 (exp10_test): Likewise.
5162 (exp2_test): Likewise.
5163 (expm1_test): Likewise.
5164 (fma_test): Likewise.
5165 (j0_test): Likewise.
5166 (jn_test): Likewise.
5167 (nexttoward_test): Likewise.
5168 (pow_test): Likewise.
5169 (scalbn_test): Likewise.
5170 (scalbln_test): Likewise.
5171 (tan_test): Likewise.
5172 (y1_test): Likewise.
5173 * sysdeps/i386/fpu/libm-test-ulps: Update.
5174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5176 2012-05-23 David S. Miller <davem@davemloft.net>
5178 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5179 (__libc_sigaction): Remove unused local variables.
5181 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5183 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5185 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5187 mktime: avoid signed integer overflow
5188 * time/mktime.c (__mktime_internal): Do not mishandle the case
5189 where diff == INT_MIN.
5191 mktime: simplify computation of average
5192 * time/mktime.c (ranged_convert): Use new time_t_avg function
5193 instead of rolling our own (probably-slower) code.
5195 mktime: do not assume signed right shift propagates sign bit
5196 * time/mktime.c (isdst_differ): New static function.
5197 (__mktime_internal): No need to normalize tm_isdst now.
5198 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5201 mktime: merge another wrapv change from gnulib
5202 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5203 from some compilers.
5205 mktime: remove incorrect attempt at unusual arithmetics
5206 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5207 The code didn't really work on such machines anyway.
5208 (TYPE_MINIMUM): Assume two's complement.
5209 (twos_complement_arithmetic): Verify that long_int and time_t
5210 are two's complement (or unsigned, in the latter case).
5212 mktime: check signed shifts on long_int and time_t, too
5213 * time/mktime.c (SHR): Check that shifts work as desired
5214 on the types long_int and time_t too, as SHR is used on
5217 mktime: do not assume 'long' is wide enough
5218 * time/mktime.c (verify): Move decl up.
5219 (long_int): New type.
5220 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5221 to remove assumption in the code that 'long' is wide enough to
5222 store year values. This assumption is not true on x32 and on
5223 some non-glibc platforms.
5225 mktime: merge wrapv change from gnulib
5226 * time/mktime.c (WRAPV): New macro.
5227 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5228 (guess_time_tm, __mktime_internal): Do not assume that signed
5229 integer overflow wraps around; modern compilers generate code
5230 where this assumption is no longer valid.
5232 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5234 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5235 Replace "jmp L(pseudo_end)" with "ret".
5236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5239 2012-05-23 Andreas Jaeger <aj@suse.de>
5241 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5242 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5244 2012-05-23 Andreas Jaeger <aj@suse.de>
5245 Maximilian Attems <max@stro.at>
5247 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5250 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5252 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5253 code so that pseudo_end is just ret and the stack pointer is
5254 correct also for static library in error case.
5256 2012-05-23 Joseph Myers <joseph@codesourcery.com>
5258 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5259 move to syscalls.list.
5260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5265 * manual/install.texi (Running make install): Do not mention Linux
5266 kernel version for which pt_chown is not needed.
5267 (Linux): Do not mention problems with nscd with 2.0 kernels.
5268 * INSTALL: Regenerated.
5270 2012-05-23 Andreas Jaeger <aj@suse.de>
5272 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5273 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5275 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5276 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5277 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5278 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5279 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5280 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5281 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5282 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5283 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5284 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5285 * sysdeps/unix/sysv/linux/bits/in.h
5286 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5288 2012-05-22 Roland McGrath <roland@hack.frob.com>
5290 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5291 (PREPARE_VERSION): Just use assert instead, it will be elided
5292 under [NDEBUG] anyway.
5294 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5296 * sysdeps/unix/sysv/linux/Makefile: Include
5297 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5298 (sysdep_routines): Remove sysctl.
5299 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5300 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5301 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5302 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5303 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5305 2012-05-22 Andreas Jaeger <aj@suse.de>
5307 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5308 that pseudo_end is just ret and the stack pointer is correct also
5309 for static library in error case.
5311 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5314 * nss/nsswitch.c (defconfig_entries): New variable.
5315 (__nss_database_lookup): Don't leak defconfig entries.
5316 (nss_parse_service_list): Don't leak on error paths.
5317 (free_database_entries): New function.
5318 (free_defconfig): New function.
5319 (free_mem): Move common code to free_database_entries.
5321 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5323 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5325 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5327 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5328 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5329 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5331 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5332 (INTERNAL_SYSCALL_TYPES): Likewise.
5333 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5334 (LOAD_REGS_TYPES_[1-6]): Likewise.
5335 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5336 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5338 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5340 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5341 copysignl for GLIBC_2_0.
5342 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5343 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5344 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5345 logbl for GLIBC_2_0.
5346 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5347 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5349 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5351 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5352 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5354 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5357 * time/mktime.c: Update copyright years.
5359 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5361 mktime: merge comment-quoting-style change from gnulib
5362 * time/mktime.c: Quote 'like this' in comments.
5363 The GNU coding standards suggest that we no longer quote `like this',
5364 as "`" and "'" are typically rendered asymmetrically nowadays.
5365 The typical gnulib style is to quote 'like this' when quoting
5366 code, and "like this" when quoting English.
5368 * time/mktime.c (compile-command): Add "-I.".
5370 mktime: merge mktime-internal.h change from gnulib
5371 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5373 mktime: merge time_r change from gnulib
5374 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5376 mktime: merge DEBUG change from gnulib
5377 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5378 case system <time.h> has a #define.
5380 mktime: merge <sys/types.h> change from gnulib
5381 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5382 since <time.t> is now guaranteed to define time_t.
5384 mktime: merge HAVE_CONFIG_H change from gnulib
5385 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5387 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5392 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5394 (struct rusage): Use anonymous union to pad each field to
5397 2012-05-21 David S. Miller <davem@davemloft.net>
5399 * Makefules (o-iterator): Remove .s cases.
5400 (compile-command.s): Delete.
5401 (COMPILE.s): Delete.
5402 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5404 2012-05-21 Joseph Myers <joseph@codesourcery.com>
5406 * configure.in (libc_cv_predef_stack_protector): Only consider
5407 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5408 * configure: Regenerated.
5410 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5412 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5413 New macro. Use R*LP on int and pointer.
5414 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
5415 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5416 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
5417 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5419 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5420 [__WORDSIZE_TIME64_COMPAT32] instead of
5421 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5422 (struct utmp): Likewise.
5423 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5424 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5426 (__WORDSIZE_TIME64_COMPAT32): This.
5427 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5428 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5429 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5430 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5431 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5432 (__WORDSIZE_TIME64_COMPAT32): New macro.
5434 2012-05-21 Andreas Jaeger <aj@suse.de>
5436 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5437 only if [SHARED]. Add prototype for __wcschr_ia32.
5439 2012-05-21 Roland McGrath <roland@hack.frob.com>
5441 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5442 of %rbp unmolested in the jmp_buf while mangling the low bits.
5443 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5444 unmolested high bits of %rbp while demangling the low bits.
5445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5447 2012-05-21 Andreas Jaeger <aj@suse.de>
5449 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5450 * sunrpc/svc_simple.c: Use it for registerrpc.
5451 * sunrpc/xcrypt.c: Use it for passwd2des.
5453 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5455 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5457 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5458 Don't define if [__SYSCALL_WORDSIZE != 32].
5459 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5462 2012-05-21 Bruno Haible <bruno@clisp.org>
5463 Andreas Jaeger <aj@suse.de>
5465 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5466 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5467 inptr and inend for must_buffer_ch.
5468 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5469 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5470 * stdio-common/Makefile (tests): Remove bug15.
5471 (bug15-ENV): Remove macro.
5472 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5475 2012-05-19 Andreas Jaeger <aj@suse.de>
5476 Roland McGrath <roland@hack.frob.com>
5478 * manual/contrib.texi: Completely rewritten. It contains now an
5479 alphabetical list of contributors and their contributions.
5481 2012-05-21 Richard Henderson <rth@twiddle.net>
5483 * misc/getauxval.c (__getauxval): Use unsigned long int.
5484 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5485 (getauxval): Use unsigned long int.
5487 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5489 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5491 2012-05-21 Roland McGrath <roland@hack.frob.com>
5493 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5494 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5495 __alignof__ (long double).
5497 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5501 2012-05-20 Richard Henderson <rth@twiddle.net>
5503 * misc/getauxval.c: New file.
5504 * misc/sys/auxv.h: New file.
5505 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5506 (routines): Add getauxval.
5507 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5508 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5509 * elf/dl-sysdep.c (_dl_auxv): Remove.
5510 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5511 * elf/dl-support.c (_dl_auxv): New variable.
5512 (_dl_aux_init): Initialize it.
5513 * manual/startup.texi (Auxiliary Vector): New node.
5514 * sysdeps/generic/bits/hwcap.h: New file.
5515 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5516 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5517 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5518 * sysdeps/sparc/sysdep.h: ... here. Include it.
5519 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5520 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5526 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5532 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5536 2012-05-19 David S. Miller <davem@davemloft.net>
5538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5540 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5543 * math/s_ccosh.c: Include <float.h>
5544 (__ccosh): Avoid internal overflow calculating sinh and cosh
5545 values before multiplying by sin and cos values.
5546 * math/s_ccoshf.c: Likewise.
5547 * math/s_ccoshl.c: Likewise.
5548 * math/s_csin.c: Likewise.
5549 * math/s_csinf.c: Likewise.
5550 * math/s_csinl.c: Likewise.
5551 * math/s_csinh.c: Likewise.
5552 * math/s_csinhf.c: Likewise.
5553 * math/s_csinhl.c: Likewise.
5554 * math/libm-test.inc (ccos_test): Add more tests.
5555 (ccosh_test): Likewise.
5556 (csin_test): Likewise.
5557 (csinh_test): Likewise.
5558 * sysdeps/i386/fpu/libm-test-ulps: Update.
5559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5561 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5563 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5564 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5566 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5568 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5570 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5571 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5572 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5573 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5574 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5575 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5576 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5577 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5578 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5579 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5580 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5581 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5582 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5583 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5584 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5585 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5586 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5587 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5588 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5589 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5590 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5591 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5592 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5593 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5594 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5595 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5596 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5597 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5598 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5599 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5600 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5602 2012-05-18 Andreas Jaeger <aj@suse.de>
5604 * csu/.gitignore: Delete.
5606 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5608 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5609 (timex): Use __syscall_slong_t.
5611 2012-05-18 Andreas Jaeger <aj@suse.de>
5612 Carlos O'Donell <carlos_odonell@mentor.com>
5614 * manual/install.texi (Configuring and compiling): Update
5615 description about files modified in the source directory.
5616 * INSTALL: Regenerated.
5618 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5620 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5621 value. Use "or" to set return value to -1.
5622 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5623 negate return value.
5625 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5627 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5628 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5629 failure if the compiler has Graphite support disabled.
5630 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5632 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5633 CFLAGS-memmove.c): Likewise.
5634 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5637 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5639 * sysdeps/x86_64/x32/_itoa.h: New file.
5641 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5642 getdents system call only if kernel and user dirents have the
5643 same d_ino and d_off.
5645 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5646 LLONG_MAX != LONG_MAX.
5647 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5648 (_fitoa_word): Likewise.
5650 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5652 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5653 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5654 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5656 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5657 include <bits/wordsize.h>. Check __x86_64__ instead of
5659 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5660 if __x86_64__ is defined. Use anonymous union on fpstate.
5662 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5665 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5667 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5668 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5669 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5670 Refer to _rtld_local_ro instead of _rtld_global_ro.
5671 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5673 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5675 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5677 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5678 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5679 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5681 * sysdeps/powerpc/powerpc32/dl-machine.c
5682 (__elf_machine_runtime_setup) [PROF]: Don't reference
5685 2012-05-18 Andreas Jaeger <aj@suse.de>
5687 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5688 function only available for GCCs before 3.4 since GCC 3.4
5689 introduced a builtin.
5691 (llrintf): Likewise.
5699 (nearbyint): Likewise.
5700 (nearbyintf): Likewise.
5706 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5708 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5709 on both fields and cast pointer to __syscall_ulong_t.
5711 * bits/types.h (__fsword_t): New type.
5712 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5713 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5714 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5715 (__FSWORD_T_TYPE): Likewise.
5716 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5717 (__FSWORD_T_TYPE): Likewise.
5718 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5719 (__FSWORD_T_TYPE): Likewise.
5720 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5721 (__FSWORD_T_TYPE): Likewise.
5722 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5723 __SWORD_TYPE with __fsword_t.
5724 (statfs64): Likewise.
5726 2012-05-17 David S. Miller <davem@davemloft.net>
5728 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5730 2012-05-17 Andreas Jaeger <aj@suse.de>
5732 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5735 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5737 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5739 2012-05-17 Andreas Jaeger <aj@suse.de>
5741 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5744 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5746 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5748 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5750 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5751 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5753 2012-05-17 Andreas Jaeger <aj@suse.de>
5754 Carlos O'Donell <carlos_odonell@mentor.com>
5757 * sysdeps/x86_64/multiarch/init-arch.h
5758 (bit_YMM_Usable): Rename to...
5759 (bit_AVX_Usable): ... this.
5760 (bit_FMA4_Usable): New macro.
5761 (bit_XMM_state): New macro.
5762 (bit_YMM_state): New macro.
5763 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5764 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5765 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5766 (CPUID_OSXSAVE): New macro.
5767 (CPUID_AVX): New macro.
5768 (CPUID_FMA4): New macro.
5769 (index_YMM_Usable): Rename to...
5770 (index_AVX_Usable): ... this.
5771 (HAS_AVX): Use HAS_ARCH_FEATURE.
5772 (HAS_FMA4): Likewise.
5773 (HAS_YMM_USABLE): Remove.
5774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5775 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5777 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5778 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5779 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5780 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5781 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5783 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5785 * math/libm-test.c: Support platforms without multiple rounding modes.
5786 * math/bug-nextafter.c: Support platforms without FP exceptions.
5787 * math/bug-nexttoward.c: Likewise.
5788 * math/test-fenv.c: Likewise.
5789 * math/test-misc.c: Likewise.
5790 * stdlib/bug-getcontext.c: Likewise.
5792 2012-05-17 Andreas Jaeger <aj@suse.de>
5794 * manual/examples/search.c (critter_cmp): Change signature to
5796 * manual/string.texi (Collation Functions): Likewise.
5798 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5800 * bits/types.h: Fold copyright years.
5801 * bits/typesizes.h: Likewise.
5802 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5803 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5804 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5805 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5806 * time/time.h: Likewise.
5808 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5811 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5812 in instead of returning them. Return void.
5813 (__libc_mallinfo): Accumulate over all arenas.
5814 (__malloc_stats): Adjust for change in int_mallinfo interface.
5816 2012-05-16 Roland McGrath <roland@hack.frob.com>
5819 * configure.in (NM): Add AC_CHECK_TOOL for it.
5820 (libc_extra_cflags): New substituted variable.
5821 Check for -fstack-protector being used implicitly.
5822 * configure: Regenerated.
5823 * config.make.in (config-extra-cflags): New variable,
5824 gets @libc_extra_cflags@.
5825 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5828 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5829 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5830 * configure: Regenerated.
5831 * config.make.in (CPPUNDEFS): New substituted variable.
5832 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5833 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5834 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5836 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5838 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5839 (mq_attr): Use __syscall_slong_t.
5841 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5843 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5844 Check __x86_64__ instead of __WORDSIZE.
5845 (_STAT_VER_LINUX): Likewise.
5846 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5847 __syscall_ulong_t and __syscall_slong_t.
5850 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5852 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5854 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5856 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5858 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5860 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5863 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5864 include <bits/wordsize.h>. Check __x86_64__ instead of
5866 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5868 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5870 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5871 include <bits/wordsize.h>. Check __x86_64__ instead of
5873 (user_regs_struct): Use "__extension__ unsigned long long"
5874 instead of "unsigned long" if __x86_64__ is defined.
5875 (user): Likewise. Pad after pointer field if __ILP32__ is
5878 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5880 * configure.in (makeinfo): Require version 4.5 or later. Allow
5882 * configure: Regenerated.
5883 * manual/install.texi (texinfo): Increase version requirement to
5885 * INSTALL: Regenerated.
5887 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5889 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5891 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5893 * sysdeps/x86_64/x32/ffs.c: New file.
5895 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5897 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5898 defined. Use __syscall_ulong_t.
5899 (shminfo): Use __syscall_ulong_t.
5900 (shm_info): Likewise.
5902 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5905 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5907 (msgqnum_t): Use __syscall_ulong_t.
5908 (msglen_t): Likewise.
5909 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5912 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5913 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5915 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5917 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5918 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5920 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5923 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5924 include <bits/wordsize.h>. Check __x86_64__ instead of
5927 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5928 "unsigned long long int" if __x86_64__ is defined.
5929 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5931 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5932 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5933 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5935 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5937 (GET_PC): Cast to uintptr_t first.
5938 (GET_FRAME): Likewise.
5939 (GET_STACK): Likewise.
5941 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5942 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5943 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5944 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5945 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5946 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5947 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5948 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5949 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5950 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5951 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5952 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5953 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5954 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5955 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5956 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5957 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5958 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5959 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5960 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5961 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5962 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5963 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5964 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5965 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5966 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5967 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5968 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5969 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5971 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5973 * Makerules (+depfiles): Also collect depfiles from .oS in
5975 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5976 .oS, $(libnldbl-routines)).
5978 * Makerules (native-compile-mkdep-flags): Define.
5979 * sunrpc/Makefile (extra-objs): Add $(addprefix
5980 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5981 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5982 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5983 calling $(make-target-directory).
5985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5987 * bits/types.h (__snseconds_t): Removed.
5988 * time/time.h (struct timespec): Replace __snseconds_t with
5990 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5991 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5993 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5994 (__SNSECONDS_T_TYPE): Likewise.
5995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5996 (__SNSECONDS_T_TYPE): Likewise.
5997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5998 (__SNSECONDS_T_TYPE): Likewise.
6000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6002 * sysdeps/mach/hurd/bits/typesizes.h
6003 (__SYSCALL_SLONG_TYPE): New macro.
6004 (__SYSCALL_ULONG_TYPE): Likewise.
6006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6008 * bits/types.h (__syscall_slong_t): New type.
6009 (__syscall_ulong_t): Likewise.
6011 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6012 (__SYSCALL_ULONG_TYPE): Likewise.
6013 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6014 (__SYSCALL_SLONG_TYPE): Likewise.
6015 (__SYSCALL_ULONG_TYPE): Likewise.
6016 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6017 (__SYSCALL_SLONG_TYPE): Likewise.
6018 (__SYSCALL_ULONG_TYPE): Likewise.
6019 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6020 (__SYSCALL_SLONG_TYPE): Likewise.
6021 (__SYSCALL_ULONG_TYPE): Likewise.
6023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6025 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6026 Add sigaltstack-offsets.sym.
6027 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6028 <sigaltstack-offsets.h>.
6029 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6030 longjmp_msg pointer.
6031 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6032 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6034 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6036 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6038 * elf/stackguard-macros.h: Remove file.
6039 * sysdeps/generic/stackguard-macros.h: New file.
6040 * sysdeps/i386/stackguard-macros.h: Likewise.
6041 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6042 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6043 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6044 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6045 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6046 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6047 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6048 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6049 <elf/stackguard-macros.h>.
6052 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6053 __aligned__ in attribute.
6054 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6055 (gregset_t): Likewise.
6057 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6059 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6060 * sysdeps/x86_64/64/Implies-after: Here. New file.
6061 * sysdeps/x86_64/x32/Implies-after: New file.
6063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6065 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6066 and access return value for _dl_profile_fixup. Use R10_LP to
6069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6071 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6075 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6076 * sysdeps/x86_64/x32/sysdep.h: New file.
6078 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6080 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6081 * sysdeps/x86_64/setjmp.S: Likewise.
6083 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6085 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6086 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6087 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6088 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6089 remove unused global constant.
6091 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6093 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6094 include of <not-cancel.h>.
6096 2012-05-15 Roland McGrath <roland@hack.frob.com>
6098 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6100 2012-05-15 Jeff Law <law@redhat.com>
6101 Andreas Jaeger <aj@suse.de>
6104 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6106 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6107 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6108 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6109 code changing __hst_map_handle.map.
6111 2012-05-15 Roland McGrath <roland@hack.frob.com>
6113 * configure.in (sysnames): Look for Implies-before and Implies-after
6115 * configure: Regenerated.
6117 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6119 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6120 8-byte data alignment with LP_SIZE alignment.
6122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6124 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6129 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6131 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6133 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6134 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6135 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6137 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6139 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6141 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6142 (stackinfo_sub_sp): Likewise.
6144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6146 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6149 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6151 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6156 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6159 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6161 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6163 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6165 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6166 into R11_LP and load __x86_64_shared_cache_size_half into
6169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6171 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6174 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6176 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6178 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6180 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6182 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6183 powerpc32/power7/fpu/s_logb.c via #include.
6184 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6185 powerpc32/power7/fpu/s_logbf.c via #include.
6186 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6187 powerpc32/power7/fpu/s_logbl.c via #include.
6189 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6191 * README.libm: Remove file.
6193 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6195 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6196 count for x32. Use R*_LP and omit operand-size suffix.
6198 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6200 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6201 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6202 * sysdeps/x86_64/x32/shlib-versions: New file.
6204 2012-05-14 Roland McGrath <roland@hack.frob.com>
6206 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6207 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6208 Use _dl_fatal_printf instead.
6210 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6212 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6213 set if not set by the user. Do not allow for being unset.
6214 * sysdeps/unix/sysv/linux/configure: Regenerated.
6216 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6218 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6219 the `q' suffix from lea and replace .quad with ASM_ADDR.
6221 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6224 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6226 (PTR_DEMANGLE): Likewise.
6228 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6230 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6232 (ASM_ADDR): Likewise.
6250 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6252 * sysdeps/x86_64/x32/dl-machine.h: New file.
6254 2012-05-14 Andreas Jaeger <aj@suse.de>
6256 * manual/Makefile (subdir): Remove export of subdir.
6257 (all): Remove target.
6258 (.PHONY): Remove all from list.
6259 (mkinstalldirs): Remove.
6260 (.PHONY): Remove installdirs from list.
6261 ($(inst_infodir)/libc.info): Use make-target-directory.
6262 (installdirs): Remove.
6264 (glibc-targets): Remove.
6267 ($(objpfx)stubs ../po/manual.pot): Remove.
6268 ($(objpfx)stamp%): Remove.
6269 (make-target-directory): Remove.
6270 (subdir_install): Remove.
6278 * manual/.gitignore: Remove, it's not needed anymore.
6279 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6281 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6283 (texis): Renamed to $(objpfx)texis.
6284 (texis-path): New, contains path to generated files.
6285 (chapters.%): Use texis-path for complete path, add extra argument
6287 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6288 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6289 (summary,texi, stamp-summary): Use complete path of
6290 files. Generate files in build dir.
6291 (dir-add.texi): Build in build dir.
6292 (libm-err.texi,stamp-libm-err): Likewise.
6293 (version.texi, stamp-version): Likewise.
6294 (.%c.texi): Likewise.
6295 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6296 (mostlyclean): Remove target.
6297 (realclean): Remove target.
6298 (generated): Add new variable with contents from mostlyclean and
6299 realclean, remove entries duplicated in common-mostlyclean, add
6300 stamp-libm-err and stamp-version.
6301 (generated-dirs): Add libc directory.
6302 ($(inst_infodir)/libc.info): Install files from build dir.
6304 * manual/install.texi (Configuring and compiling): Adjust since
6305 the info files are not part of the tar ball anymore.
6307 2012-05-14 Andreas Jaeger <aj@suse.de>
6309 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6312 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6315 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6316 to 2.2.0 where earlier.
6317 * sysdeps/unix/sysv/linux/configure: Regenerated.
6318 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6319 Remove conditional code.
6320 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6321 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6322 Remove conditional code.
6323 [!__NR_lchown]: Likewise.
6324 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6325 [__NR_lchown]: Likewise.
6326 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6327 comment referencing __ASSUME_LCHOWN_SYSCALL.
6328 * sysdeps/unix/sysv/linux/i386/sigaction.c
6329 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6330 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6331 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6332 Remove conditional code.
6333 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6334 (__protocol_available): Remove #if 0 code.
6335 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6337 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6338 * sysdeps/unix/sysv/linux/kernel-features.h
6339 (__ASSUME_GETCWD_SYSCALL): Don't define.
6340 (__ASSUME_REALTIME_SIGNALS): Likewise.
6341 (__ASSUME_PREAD_SYSCALL): Likewise.
6342 (__ASSUME_PWRITE_SYSCALL): Likewise.
6343 (__ASSUME_POLL_SYSCALL): Likewise.
6344 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6345 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6347 (__ASSUME_SIOCGIFNAME): Don't define.
6348 (__ASSUME_MSG_NOSIGNAL): Likewise.
6349 (__ASSUME_SENDFILE): Define unconditionally.
6350 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6351 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6353 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6354 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6355 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6356 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6357 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6358 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6359 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6361 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6362 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6364 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6365 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6367 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6368 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6370 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6371 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6373 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6374 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6376 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6377 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6379 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6380 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6382 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6383 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6384 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6385 Remove conditional code.
6386 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6387 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6388 Remove conditional code.
6389 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6390 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6391 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6392 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6393 Remove conditional code.
6394 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6395 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6396 Remove conditional code.
6397 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6398 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6399 Remove conditional code.
6400 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6401 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6402 Remove conditional code.
6403 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6404 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6405 Remove conditional code.
6406 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6407 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6408 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6409 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6410 * sysdeps/unix/sysv/linux/sigaction.c
6411 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6412 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6413 * sysdeps/unix/sysv/linux/sigpending.c
6414 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6415 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6416 * sysdeps/unix/sysv/linux/sigprocmask.c
6417 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6418 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6419 * sysdeps/unix/sysv/linux/sigsuspend.c
6420 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6421 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6422 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6423 (__libc_missing_rt_sigs): Remove.
6424 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6425 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6426 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6427 Remove conditional code.
6428 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6429 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6431 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6432 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6433 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6434 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6436 2012-05-14 Andreas Jaeger <aj@suse.de>
6438 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6439 it's not used in glibc.
6440 (__coshm1): Likewise.
6441 (__acosh1p): Likewise.
6444 * manual/string.texi (Copying and Concatenation): Add missing
6445 variable in concat example.
6446 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6448 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6451 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6452 __builtin_clzl with __builtin_clzll.
6454 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6457 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6460 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6462 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6463 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6464 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6465 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6467 2012-05-14 Mike Frysinger <vapier@gentoo.org>
6469 * NEWS: Update ia64 info.
6471 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6473 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6476 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6478 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6479 * sysdeps/unix/syscalls.list (dup3): Likewise.
6480 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6481 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6483 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6485 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6486 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6488 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6490 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6492 (TLS_IE): Use mov/add instead of movq/addq to load thread
6494 (TLS_GD_PREFIX): New.
6497 2012-05-11 David S. Miller <davem@davemloft.net>
6499 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6500 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6501 (_FPU_SETCW): Likewise.
6503 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6505 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6508 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6511 * iconvdata/gb18030.c: Update tables.
6512 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6513 characters specially.
6514 (BODY for TO_LOOP): Add encoding of missing ranges.
6516 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6519 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6520 * sysdeps/mach/hurd/dup3.c: Likewise.
6521 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6522 * sysdeps/powerpc/memmove.c:: Likewise.
6524 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6526 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6527 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6529 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6531 * elf/elf.h (R_X86_64_RELATIVE64): New.
6532 (R_X86_64_NUM): Updated.
6533 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6534 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6535 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6536 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6537 tst-quad1pie tst-quad2pie
6538 (modules-names): Add tst-quadmod1 tst-quadmod2.
6539 ($(objpfx)tst-quad1): New dependency.
6540 ($(objpfx)tst-quad2): Likewise.
6541 ($(objpfx)tst-quad1pie): Likewise.
6542 ($(objpfx)tst-quad2pie): Likewise.
6543 * sysdeps/x86_64/tst-quad1.c: New file.
6544 * sysdeps/x86_64/tst-quad1pie.c: New file.
6545 * sysdeps/x86_64/tst-quad2.c: Likewise.
6546 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6547 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6548 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6549 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6550 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6552 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6554 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6555 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6556 * streams/stropts.h (t_scalar_t): Define type.
6558 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6559 (_PATH_PRESERVE): Set to "/var/lib".
6560 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6562 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6565 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6566 if __dir_mkfile succeeded.
6568 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6569 checking for _hurd_dtablesize. Unlock it right after having
6570 finished _hurd_dtable allocation.
6572 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6574 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6575 * sysdeps/mach/hurd/configure: Regenerated.
6576 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6577 special-casing to...
6578 * sysdeps/gnu/configure.in: ... this new file.
6579 * sysdeps/unix/sysv/linux/configure: Regenerated.
6580 * sysdeps/gnu/configure: New generated file.
6582 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6583 for Linux: use nsec instead of usec, as well as:
6584 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6585 members of type struct timespec.
6586 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6588 (struct stat64): Likewise.
6589 (_STATBUF_ST_NSEC): New macro.
6590 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6592 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6593 __strtoul_internal rather than strtoul.
6595 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6597 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6600 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6602 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6603 which preserves existing values.
6604 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6606 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6608 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6609 TIMEOUT values. Return EINVAL for NFDS values either negative or
6610 greater than FD_SETSIZE.
6612 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6614 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6615 allocated, call __vm_protect to finish enabling the existing space, and
6616 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6617 allocate the remainder.
6619 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6621 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6622 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6624 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6626 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6627 sysdeps/mach/hurd/readlink.c.
6629 * posix/tst-sysconf.c (posix_options): Only use
6630 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6631 _POSIX_SYNCHRONIZED_IO when they are defined
6632 * sysdeps/mach/hurd/bits/posix_opt.h:
6633 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6634 (_XOPEN_REALTIME): Undefine macro.
6635 (_XOPEN_REALTIME_THREADS): Undefine macro.
6636 (_XOPEN_SHM): Undefine macro.
6637 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6639 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6641 (_POSIX_ASYNC_IO): Undefine macro.
6642 (_POSIX_PRIORITIZED_IO): Undefine macro.
6643 (_POSIX_SPIN_LOCKS): Define macro to -1.
6645 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6646 SA_NODEFER, SA_RESETHAND.
6647 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6648 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6651 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6653 * elf/Makefile (pldd-modules): Define unconditionally.
6655 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6657 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6659 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6661 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6662 Return ENOENT when name is empty.
6663 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6665 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6667 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6669 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6671 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6673 Fix mlock in all cases except non-readable pages.
6674 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6675 instead of VM_PROT_ALL as parameter to __vm_wire function.
6677 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6678 (__mkdir): When path is `/', just fail with EEXIST.
6679 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6681 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6683 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6684 <sys/uio.h> (for writev).
6685 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6686 and <sys/param.h> (for MIN).
6688 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6690 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6691 REQUESTED_TIME. Properly set the remaining time and return EINTR
6694 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6696 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6697 Depend on against $(link-rpcuserlibs).
6699 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6701 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6702 (__libc_stack_end): Do not use attribute_relro.
6703 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6704 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6705 to libthread-provided value.
6706 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6709 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6712 * bits/libc-lock.h (__libc_once_get): New macro.
6713 * sysdeps/mach/bits/libc-lock.h: Likewise.
6714 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6715 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6716 instead of using implementation details.
6718 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6719 * libio/freopen.c: Likewise.
6720 * libio/freopen64.c: Likewise.
6721 * misc/syslog.c: Likewise.
6722 * nscd/connections.c: Likewise.
6723 * nscd/netgroupcache.c: Likewise.
6724 * sysdeps/posix/getcwd.c: Likewise.
6726 2012-05-10 Roland McGrath <roland@hack.frob.com>
6728 * math/w_ilogbf.c: Add #include <limits.h>.
6730 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6732 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6733 path instead of returning without unlocking.
6735 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6736 immediate-write ioctls.
6737 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6739 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6741 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6742 __builtin_frame_address instead of making assumptions about the
6743 location of the return address relative to DATA. Force early load of
6745 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6746 __builtin_frame_address.
6749 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6750 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6751 implement dup3 and do some further code clean-ups.
6752 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6753 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6755 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6757 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6759 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6760 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6761 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6762 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6763 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6766 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6767 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6768 when handler == SIG_ERR, not when handler != SIG_ERR.
6770 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6772 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6773 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6776 accept4 for GNU Hurd.
6777 * include/sys/socket.h (__libc_accept4): New prototype.
6778 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6779 to implement __libc_accept4.
6780 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6782 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6784 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6785 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6786 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6789 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6791 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6793 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6795 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6796 assertion on O_CLOEXEC flag.
6797 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6798 * hurd/intern-fd.c: Likewise.
6799 * hurd/port2fd.c: Likewise.
6801 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6804 * bits/in.h (IPV6_PKTINFO): Define new macro.
6805 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6807 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6812 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6813 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6814 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6815 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6816 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6817 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6818 * math/libm-test.inc (logb_test) : Additional logb tests.
6820 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6821 Andreas Jaeger <aj@suse.de>
6823 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6824 * configure: Regenerated.
6825 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6826 * config.make.in (link-obsolete-rpc): New substituted variable.
6827 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6828 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6829 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6830 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6831 so that libc.a contains the symbols.
6832 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6833 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6834 * sunrpc/auth_none.c: Likewise.
6835 * sunrpc/auth_unix.c: Likewise.
6836 * sunrpc/authdes_prot.c: Likewise.
6837 * sunrpc/authuxprot.c: Likewise.
6838 * sunrpc/clnt_gen.c: Likewise.
6839 * sunrpc/clnt_perr.c: Likewise.
6840 * sunrpc/clnt_raw.c: Likewise.
6841 * sunrpc/clnt_simp.c: Likewise.
6842 * sunrpc/clnt_tcp.c: Likewise.
6843 * sunrpc/clnt_udp.c: Likewise.
6844 * sunrpc/clnt_unix.c: Likewise.
6845 * sunrpc/des_crypt.c: Likewise.
6846 * sunrpc/des_soft.c: Likewise.
6847 * sunrpc/get_myaddr.c: Likewise.
6848 * sunrpc/key_call.c: Likewise.
6849 * sunrpc/key_prot.c: Likewise.
6850 * sunrpc/netname.c: Likewise.
6851 * sunrpc/pm_getmaps.c: Likewise.
6852 * sunrpc/pm_getport.c: Likewise.
6853 * sunrpc/pmap_clnt.c: Likewise.
6854 * sunrpc/pmap_prot.c: Likewise.
6855 * sunrpc/pmap_prot2.c: Likewise.
6856 * sunrpc/pmap_rmt.c: Likewise.
6857 * sunrpc/publickey.c: Likewise.
6858 * sunrpc/rpc_cmsg.c: Likewise.
6859 * sunrpc/rpc_common.c: Likewise.
6860 * sunrpc/rpc_dtable.c: Likewise.
6861 * sunrpc/rpc_prot.c: Likewise.
6862 * sunrpc/rpc_thread.c: Likewise.
6863 * sunrpc/rtime.c: Likewise.
6864 * sunrpc/svc.c: Likewise.
6865 * sunrpc/svc_auth.c: Likewise.
6866 * sunrpc/svc_raw.c: Likewise.
6867 * sunrpc/svc_run.c: Likewise.
6868 * sunrpc/svc_tcp.c: Likewise.
6869 * sunrpc/svc_udp.c: Likewise.
6870 * sunrpc/svc_unix.c: Likewise.
6871 * sunrpc/svcauth_des.c: Likewise.
6872 * sunrpc/xcrypt.c: Likewise.
6873 * sunrpc/xdr.c: Likewise.
6874 * sunrpc/xdr_array.c: Likewise.
6875 * sunrpc/xdr_float.c: Likewise.
6876 * sunrpc/xdr_intXX_t.c: Likewise.
6877 * sunrpc/xdr_mem.c: Likewise.
6878 * sunrpc/xdr_rec.c: Likewise.
6879 * sunrpc/xdr_ref.c: Likewise.
6880 * sunrpc/xdr_sizeof.c: Likewise.
6881 * sunrpc/xdr_stdio.c: Likewise.
6883 2012-05-10 Roland McGrath <roland@hack.frob.com>
6885 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6886 change. Update copyright years.
6888 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6890 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6892 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6893 Joseph Myers <joseph@codesourcery.com>
6894 Paul Pluzhnikov <ppluzhnikov@google.com>
6897 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6899 [cross-compiling] (extra-libs): Likewise.
6900 [cross-compiling] (extra-libs-others): Likewise.
6901 [cross-compiling] (librpcsvc-routines): Likewise.
6902 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6903 [cross-compiling] (omit-deps): Likewise.
6904 (sunrpc-CPPFLAGS): New variable.
6905 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6906 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6907 (cross-rpcgen-objs): New variable.
6908 (extra-objs): Append $(cross-rpcgen-objs).
6909 ($(cross-rpcgen-objs)): New rule.
6910 ($(objpfx)cross-rpcgen): Likewise.
6911 (rpcgen-cmd): Define to use $(built-program-file). Expand
6913 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6914 ($(objpfx)x%.stmp): Likewise.
6915 * sunrpc/proto.h [IS_IN_build] (_): Define.
6916 [IS_IN_build] (_libc_intl_domainname): Likewise.
6918 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6920 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6921 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6922 and R_X86_64_TPOFF64.
6924 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6926 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6927 sysdeps/unix/sysv/syscalls.list.
6930 * sysdeps/unix/sysv/syscalls.list: Remove file.
6932 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6935 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6936 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6937 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6938 (__LC_IDENTIFICATION): Make these macros useful in #if
6939 expressions, as required by C99.
6941 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6943 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6944 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6947 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6949 * stdlib/longlong.h: Updated from GCC.
6951 2012-05-09 Andreas Jaeger <aj@suse.de>
6953 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6954 default is first entry.
6955 (run_mode): Set type.
6956 (main): Remove informal message about syslog.
6957 (options): Fix typo.
6960 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
6963 (llrintf): Likewise.
6967 (nearbyint): Likewise.
6968 (nearbyintf): Likewise.
6970 2012-05-09 Andreas Jaeger <aj@suse.de>
6971 Pedro Alves <palves@redhat.com>
6973 * nscd/nscd.c (run_mode): Use enum.
6974 (main): Cleanup coding style issue.
6976 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
6977 Andreas Jaeger <aj@suse.de>
6979 * nscd/nscd.c (go_background): Replaced with...
6980 (run_mode): ... this.
6981 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
6982 (options): Add -F --foreground.
6983 (main): Implement it.
6984 (parse_opt): Parse it.
6986 2012-05-09 Andreas Jaeger <aj@suse.de>
6989 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6990 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6991 -Wconversion warning.
6992 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6995 2012-05-09 Joseph Myers <joseph@codesourcery.com>
6997 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6999 (LC_ALL): Use macro-int-constant.
7000 (LC_COLLATE): Likewise.
7001 (LC_CTYPE): Likewise.
7002 (LC_MESSAGES): Likewise.
7003 (LC_MONETARY): Likewise.
7004 (LC_NUMERIC): Likewise.
7005 (LC_TIME): Likewise.
7006 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7007 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7008 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7009 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7011 [C99-based standards] (float_t): Expect type.
7012 [C99-based standards] (double_t): Expect type.
7013 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7015 [C99-based standards] (HUGE_VALL): Likewise.
7016 [C99-based standards] (INFINITY): Likewise.
7017 [C99-based standards] (NAN): Likewise.
7018 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7019 [C99-based standards] (FP_NAN): Likewise.
7020 [C99-based standards] (FP_NORMAL): Likewise.
7021 [C99-based standards] (FP_SUBNORMAL): Likewise.
7022 [C99-based standards] (FP_ZERO): Likewise.
7023 [C99-based standards] (FP_FAST_FMA): Use
7024 optional-macro-int-constant. Specify type. Require == 1.
7025 [C99-based standards] (FP_FAST_FMAF): Likewise.
7026 [C99-based standards] (FP_FAST_FMAL): Likewise.
7027 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7028 [C99-based standards] (FP_ILOGBNAN): Likewise.
7029 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7031 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7032 [C99-based standards] (math_errhandling): Specify type.
7033 [ISO99 || ISO11] (signgam): Do not allow.
7034 [non-C99-based standards] (copysignf): Do not allow.
7035 [non-C99-based standards] (exp2f): Likewise.
7036 [non-C99-based standards] (log2f): Likewise.
7037 [non-C99-based standards] (modff): Allow.
7038 [non-C99-based standards] (erff): Do not allow.
7039 [non-C99-based standards] (erfcf): Likewise.
7040 [non-C99-based standards] (gammaf): Likewise.
7041 [non-C99-based standards] (hypotf): Likewise.
7042 [non-C99-based standards] (j0f): Likewise.
7043 [non-C99-based standards] (j1f): Likewise.
7044 [non-C99-based standards] (jnf): Likewise.
7045 [non-C99-based standards] (lgammaf): Likewise.
7046 [non-C99-based standards] (tgammaf): Likewise.
7047 [non-C99-based standards] (y0f): Likewise.
7048 [non-C99-based standards] (y1f): Likewise.
7049 [non-C99-based standards] (ynf): Likewise.
7050 [non-C99-based standards] (isnanf): Likewise.
7051 [non-C99-based standards] (acoshf): Likewise.
7052 [non-C99-based standards] (asinhf): Likewise.
7053 [non-C99-based standards] (atanhf): Likewise.
7054 [non-C99-based standards] (cbrtf): Likewise.
7055 [non-C99-based standards] (expm1f): Likewise.
7056 [non-C99-based standards] (ilogbf): Likewise.
7057 [non-C99-based standards] (log1pf): Likewise.
7058 [non-C99-based standards] (logbf): Likewise.
7059 [non-C99-based standards] (nextafterf): Likewise.
7060 [non-C99-based standards] (remainderf): Likewise.
7061 [non-C99-based standards] (rintf): Likewise.
7062 [non-C99-based standards] (scalbf): Likewise.
7063 [non-C99-based standards] (copysignl): Likewise.
7064 [non-C99-based standards] (exp2l): Likewise.
7065 [non-C99-based standards] (log2l): Likewise.
7066 [non-C99-based standards] (modfl): Allow.
7067 [non-C99-based standards] (erfl): Do not allow.
7068 [non-C99-based standards] (erfcl): Likewise.
7069 [non-C99-based standards] (gammal): Likewise.
7070 [non-C99-based standards] (hypotl): Likewise.
7071 [non-C99-based standards] (j0l): Likewise.
7072 [non-C99-based standards] (j1l): Likewise.
7073 [non-C99-based standards] (jnl): Likewise.
7074 [non-C99-based standards] (lgammal): Likewise.
7075 [non-C99-based standards] (tgammal): Likewise.
7076 [non-C99-based standards] (y0l): Likewise.
7077 [non-C99-based standards] (y1l): Likewise.
7078 [non-C99-based standards] (ynl): Likewise.
7079 [non-C99-based standards] (isnanl): Likewise.
7080 [non-C99-based standards] (acoshl): Likewise.
7081 [non-C99-based standards] (asinhl): Likewise.
7082 [non-C99-based standards] (atanhl): Likewise.
7083 [non-C99-based standards] (cbrtl): Likewise.
7084 [non-C99-based standards] (expm1l): Likewise.
7085 [non-C99-based standards] (ilogbl): Likewise.
7086 [non-C99-based standards] (log1pl): Likewise.
7087 [non-C99-based standards] (logbl): Likewise.
7088 [non-C99-based standards] (nextafterl): Likewise.
7089 [non-C99-based standards] (remainderl): Likewise.
7090 [non-C99-based standards] (rintl): Likewise.
7091 [non-C99-based standards] (scalbl): Likewise.
7092 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7093 [non-C99-based standards] (FP_*): Do not allow.
7094 [C99-based standards] (FP_*): Change to
7095 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7096 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7098 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7099 (SIG_ERR): Likewise.
7100 [X/Open-based standards] (SIG_HOLD): Likewise.
7101 (SIG_IGN): Likewise.
7102 (SIGABRT): Use macro-int-constant. Specify type. Require
7107 (SIGSEGV): Likewise.
7109 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7110 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7111 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7112 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7113 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7114 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7115 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7116 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7117 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7118 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7119 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7120 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7121 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7122 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7123 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7124 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7125 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7126 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7127 [X/Open-based standards] (SIGTRAP): Likewise.
7128 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7129 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7130 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7131 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7132 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7135 2012-05-08 Ian Wienand <ianw@vmware.com>
7138 * time/tzset.c (__tzset_parse_tz): Update default rules for
7139 daylight time changes in the Energy Policy Act of 2005.
7141 2012-05-09 Andreas Jaeger <aj@suse.de>
7144 * elf/ldconfig.c (parse_conf): Change string to make clear that
7145 ldconfig only issued a warning if ld.so.conf does not exist.
7147 2012-05-08 David S. Miller <davem@davemloft.net>
7149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7150 movxtod instead of popping the value on the stack.
7152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7154 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7156 * config.h.in: Add HAVE_ARM_PCS_VFP.
7158 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
7161 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7162 checking but the checks are disabled for any reason.
7164 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7166 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7167 and ELF64_R_TYPE with ELFW(R_TYPE).
7169 2012-05-08 Joseph Myers <joseph@codesourcery.com>
7171 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7174 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7175 (settimeofday): Likewise.
7177 2012-05-08 Mike Frysinger <vapier@gentoo.org>
7179 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7180 a struct th_u2 inside the union, and move tu_block/tu_code into
7181 a new th_u3 union of tu_block/tu_code inside of that. Move
7182 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7183 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7184 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7185 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7186 (th_stuff): Change to th_u1.tu_stuff.
7188 (th_msg): Change to th_u1.th_u2.tu_data.
7190 2012-05-07 David S. Miller <davem@davemloft.net>
7192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7195 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7196 (SETUP_PIC_REG): Use it.
7197 (SETUP_PIC_REG_LEAF): Use it.
7199 2012-05-07 Joseph Myers <joseph@codesourcery.com>
7203 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7205 (EXPL_FINITE): Likewise.
7207 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7208 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7210 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7212 (EXPL_FINITE): Likewise.
7214 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7215 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7217 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7218 test of -max_value argument for long double.
7219 * sysdeps/i386/fpu/libm-test-ulps: Update.
7220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7222 2012-05-06 David S. Miller <davem@davemloft.net>
7224 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7225 quad soft-float symbols whose references which are compiler
7227 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7229 2012-05-06 Joseph Myers <joseph@codesourcery.com>
7233 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7235 (EXPL_FINITE): Likewise.
7239 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7240 Adjust comments for base varying.
7241 (__expl_finite): Change alias to EXPL_FINITE.
7242 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7244 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7245 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7246 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7247 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7248 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7250 (EXPL_FINITE): Likewise.
7254 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7255 Adjust comments for base varying.
7256 (__expl_finite): Change alias to EXPL_FINITE.
7257 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7262 * math/libm-test.inc (check_float_internal): Correct ulp
7263 calculation for subnormal expected results.
7265 2012-05-06 Andreas Jaeger <aj@suse.de>
7267 * Makeconfig (+math-flags): New, set to -frounding-math.
7268 (+cflags): Add +math-flags so that all of glibc gets compiled with
7271 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7273 2012-05-05 Joseph Myers <joseph@codesourcery.com>
7275 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7281 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7282 (__ieee754_expl): Allow for and saturate large arguments.
7283 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7284 (u_threshold): Likewise.
7285 (__exp): Call __ieee754_exp before checking for overflow and
7287 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7288 (u_threshold): Likewise.
7289 (__expf): Call __ieee754_expf before checking for overflow and
7291 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7292 (u_threshold): Likewise.
7293 (__expl): Call __ieee754_expl before checking for overflow and
7295 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7296 (__ieee754_expl): Allow for and saturate large arguments.
7297 * math/libm-test.inc (exp_test): Add another test. Do not allow
7298 missing overflow exception on overflow.
7299 (expm1_test): Do not allow missing overflow exception on overflow.
7301 * sysdeps/i386/fpu/e_expl.c: Move to ...
7302 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7303 rather than using inline asm.
7304 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7305 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7306 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7308 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7315 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7317 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7318 sysdeps/unix/common/syscalls.list.
7321 (ftruncate): Likewise.
7322 (getrusage): Likewise.
7323 (gettimeofday): Likewise.
7324 (setpgid): Likewise.
7325 (setregid): Likewise.
7326 (setreuid): Likewise.
7327 (sigaction): Likewise.
7328 (truncate): Likewise.
7329 (vhangup): Likewise.
7330 * sysdeps/unix/common/syscalls.list: Remove file.
7331 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7332 * sysdeps/unix/sysv/linux/Implies: Likewise.
7334 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7336 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7338 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7342 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7345 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7348 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7351 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7354 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7357 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7360 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7364 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7368 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7371 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7375 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7379 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7381 * sysdeps/unix/common/bits/dirent.h: Remove file.
7382 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7384 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7385 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7386 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7387 * sysdeps/unix/bsd/isatty.c: Likewise.
7388 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7389 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7390 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7392 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7395 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7396 long double comparison inaccuracies.
7397 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7400 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7402 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7403 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7405 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7408 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7409 nonzero digits before rounding a hex value.
7410 * stdlib/tst-strtod.c (tests): Add another test.
7412 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7414 * sysdeps/s390/fpu/libm-test-ulps: Update.
7416 2012-05-03 Andreas Jaeger <aj@suse.de>
7418 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7419 does not get optimized out.
7420 (malloc_opt_barrier): New.
7422 2012-05-03 Andreas Jaeger <aj@suse.de>
7423 Roland McGrath <roland@hack.frob.com>
7425 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
7426 intermediate file deletion.
7427 (generated): Add .symlist files.
7429 2012-05-03 Joseph Myers <joseph@codesourcery.com>
7432 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7433 Redirect under this condition.
7434 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7435 [__USE_GNU] (__dprintf_chk): Not under this condition.
7436 [__USE_GNU] (__vdprintf_chk): Likewise.
7437 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7438 under this condition.
7439 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7440 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7441 [__USE_XOPEN2K8] (vdprintf): Likewise.
7442 [__USE_GNU] (__dprintf_chk): Not under this condition.
7443 [__USE_GNU] (__vdprintf_chk): Likewise.
7444 [__USE_GNU] (dprintf): Likewise.
7445 [__USE_GNU] (vdprintf): Likewise.
7447 2012-05-03 Roland McGrath <roland@hack.frob.com>
7449 * elf/Makefile (common-generated): Set this instead of generated for
7450 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7451 $(all-built-dso)-derived lists.
7453 2012-05-03 Andreas Jaeger <aj@suse.de>
7455 * sysdeps/i386/fpu/libm-test-ulps: Update.
7459 * scripts/gen-FAQ.pl: Likewise.
7460 * manual/install.texi (Installation): Point to online location of
7462 * Makefile (files-for-dist): Remove FAQ.
7465 2012-05-02 Allan McRae <allan@archlinux.org>
7467 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7468 (LDFLAGS-reldepmod5.so): Likewise.
7469 (LDFLAGS-reldep6mod1.so): Likewise.
7470 (LDFLAGS-reldep6mod4.so): Likewise.
7471 (LDFLAGS-reldep8mod3.so): Likewise.
7472 (LDFLAGS-unload4mod1.so): Likewise.
7473 (LDFLAGS-unload4mod2.so): Likewise.
7474 (LDFLAGS-tst-initorder): Likewise.
7475 (LDFLAGS-tst-initordera2.so): Likewise.
7476 (LDFLAGS-tst-initordera3.so): Likewise.
7477 (LDFLAGS-tst-initordera4.so): Likewise.
7478 (LDFLAGS-tst-initorderb2.so): Likewise.
7479 (LDFLAGS-noload): Likewise.
7480 (LDFLAGS-next): Likewise.
7481 (LDFLAGS-order2mod1.so): Likewise.
7482 (LDFLAGS-order2mod2.so): Likewise.
7483 (LDFLAGS-tst-initorder2): Likewise.
7484 (LDFLAGS-tst-initorder2a.so): Likewise.
7485 (LDFLAGS-tst-initorder2b.so): Likewise.
7486 (LDFLAGS-tst-initorder2c.so): Likewise.
7487 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7489 2012-05-02 David S. Miller <davem@davemloft.net>
7491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7493 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7496 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7498 2012-05-02 Andreas Jaeger <aj@suse.de>
7500 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7501 since we manipulate rounding mode.
7502 (CPPFLAGS-test-idouble.c): Likewise.
7503 (CPPFLAGS-test-ifloat.c): Likewise.
7504 (CFLAGS-test-ldouble.c): Likewise.
7505 (CFLAGS-test-double.c): Likewise.
7506 (CFLAGS-test-float.c): Likewise.
7507 (CFLAGS-test-misc.c): Likewise.
7508 (CFLAGS-test-test-fenv.c): Likewise.
7510 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7514 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7515 comparisons to determine direction to adjust input.
7517 2012-05-01 Roland McGrath <roland@hack.frob.com>
7519 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7520 output to the target.
7522 * scripts/localplt.awk: New file.
7523 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7524 (check-localplt-CFLAGS): Variable removed.
7525 ($(all-built-dso:=.jmprel)): New static pattern rule.
7526 (generated): Add those targets.
7527 (localplt-built-dso): New variable.
7528 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7530 * elf/check-localplt.c: File removed.
7532 * scripts/check-execstack.awk: New file.
7533 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7534 (check-execstack-CFLAGS): Variable removed.
7535 ($(objpfx)check-execstack.h): Target removed.
7536 ($(objpfx)execstack-default): New target.
7537 (generated): Add that instead of check-execstack.h.
7538 ($(all-built-dso:=.phdr)): New static pattern rule.
7539 (generated): Add those targets.
7540 * elf/check-execstack.c: File removed.
7542 * scripts/check-textrel.awk: New file.
7543 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7544 (check-textrel-CFLAGS): Variable removed.
7545 (all-built-dso): Use := to define.o
7546 ($(all-built-dso:=.dyn)): New static pattern rule.
7547 (generated): Add those targets.
7548 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7549 * config.make.in (READELF): New substituted variable.
7550 * elf/check-textrel.c: File removed.
7552 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7554 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7556 * conform/data/ctype.h-data [C99-based standards] (isblank):
7558 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7559 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7560 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7561 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7562 Specify type. Require positive value.
7565 [ISO || POSIX] (EILSEQ): Do not expect.
7566 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7567 Specify type. Require positive value.
7568 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7569 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7570 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7571 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7572 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7573 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7574 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7575 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7576 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7577 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7578 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7579 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7580 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7581 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7582 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7583 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7584 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7585 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7586 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7587 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7588 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7589 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7590 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7591 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7592 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7593 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7594 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7595 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7596 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7597 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7598 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7599 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7600 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7601 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7602 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7603 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7604 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7605 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7606 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7607 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7608 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7609 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7610 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7611 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7612 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7613 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7614 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7615 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7616 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7617 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7618 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7619 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7620 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7621 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7622 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7623 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7624 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7625 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7626 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7627 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7628 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7629 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7630 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7631 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7632 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7633 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7634 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7635 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7636 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7637 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7638 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7639 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7640 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7641 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7642 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7643 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7644 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7646 (FLT_ROUNDS): Expect as macro, not constant.
7647 (FLT_MANT_DIG): Use macro-int-constant.
7648 (DBL_MANT_DIG): Likewise.
7649 (LDBL_MANT_DIG): Likewise.
7650 (FLT_DIG): Likewise.
7651 (DBL_DIG): Likewise.
7652 (LDBL_DIG): Likewise.
7653 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7654 (DBL_MIN_EXP): Likewise.
7655 (LDBL_MIN_EXP): Likewise.
7656 (FLT_MAX_EXP): Use macro-int-constant.
7657 (DBL_MAX_EXP): Likewise.
7658 (LDBL_MAX_EXP): Likewise.
7659 (FLT_MAX_10_EXP): Likewise.
7660 (DBL_MAX_10_EXP): Likewise.
7661 (LDBL_MAX_10_EXP): Likewise.
7662 (FLT_MAX): Use macro-constant.
7663 (DBL_MAX): Likewise.
7664 (LDBL_MAX): Likewise.
7665 (FLT_EPSILON): Use macro-constant. Give upper bound.
7666 (DBL_EPSILON): Likewise.
7667 (LDBL_EPSILON): Likewise.
7668 (FLT_MIN): Likewise.
7669 (DBL_MIN): Likewise.
7670 (LDBL_MIN): Likewise.
7671 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7672 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7673 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7674 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7675 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7676 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7677 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7678 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7679 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7680 [ISO11] (FLT_TRUE_MIN): Likewise.
7681 [ISO11] (LDBL_TRUE_MIN): Likewise.
7682 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7683 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7684 (SCHAR_MIN): Use macro-int-constant. Specify type.
7685 (SCHAR_MAX): Likewise.
7686 (UCHAR_MAX): Likewise.
7687 (CHAR_MIN): Likewise.
7688 (CHAR_MAX): Likewise.
7689 (MB_LEN_MAX): Use macro-int-constant.
7690 (SHRT_MIN): Use macro-int-constant. Specify type.
7691 (SHRT_MAX): Likewise.
7692 (USHRT_MAX): Likewise.
7693 (INT_MAX): Likewise.
7694 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7696 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7698 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7700 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7701 bound negative. Suffix upper bound with "L".
7702 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7704 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7706 [C99-based standards] (LLONG_MAX): Likewise.
7707 [C99-based standards] (ULLONG_MAX): Likewise.
7708 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7710 [ISO11] (max_align_t): Require type.
7711 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7713 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7714 from $CFLAGS, without defining away __attribute__ calls.
7715 (checknamespace): Use $CFLAGS_namespace.
7717 * conform/conformtest.pl (@keywords): Only include C99 keywords
7718 for standards based on C99 or C11.
7720 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7722 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7725 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7726 usability of symbols in #if.
7728 * conform/conformtest.pl: If macro or constant types start
7729 "promoted:", expect the symbol to be of the following type
7730 promoted by the integer promotions.
7732 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7733 in one place. Also handle "macro-constant".
7735 * conform/conformtest.pl: Only accept expected macro values with
7736 "==". Parse all "macro" lines in one place.
7737 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7739 * conform/conformtest.pl: Handle braced types on "constant" lines
7740 instead of handling "typed-constant".
7741 * conform/data/signal.h-data: Use "constant" instead of
7744 * conform/conformtest.pl: Handle "optional-" at start of lines in
7745 one place rather than duplicating several cases. Handle each
7746 format of "macro" line with initial "optional-".
7748 * conform/conformtest.pl: Only accept expected constant or
7749 optional-constant values with "==". Parse all "constant" lines in
7750 one place. Parse all "optional-constant" lines in one place.
7751 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7752 * conform/data/fmtmsg.h-data: Likewise.
7753 * conform/data/netinet/in.h-data: Likewise.
7754 * conform/data/tar.h-data: Likewise.
7755 * conform/data/limits.h-data: Use "==" form on "constant" and
7756 "optional-constant" lines.
7758 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7759 Use -std=c99 for XOPEN2K.
7760 (@knownproblems): Remove.
7761 (newtoken): Don't check %isknown.
7763 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7764 Do not expect macro.
7765 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7766 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7767 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7768 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7769 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7770 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7771 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7772 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7773 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7774 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7775 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7776 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7777 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7778 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7779 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7780 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7781 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7782 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7783 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7784 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7785 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7786 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7787 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7788 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7789 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7790 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7791 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7792 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7793 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7794 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7795 [XPG3] (acosh): Likewise.
7796 [XPG3] (asinh): Likewise.
7797 [XPG3] (atanh): Likewise.
7798 [XPG3] (cbrt): Likewise.
7799 [XPG3] (expm1): Likewise.
7800 [XPG3] (ilogb): Likewise.
7801 [XPG3] (log1p): Likewise.
7802 [XPG3] (logb): Likewise.
7803 [XPG3] (nextafter): Likewise.
7804 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7805 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7806 [XPG3] (remainder): Likewise.
7807 [XPG3] (rint): Likewise.
7808 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7809 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7810 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7811 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7812 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7813 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7814 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7815 [UNIX98 || XOPEN2K] (scalb): Expect.
7816 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7817 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7818 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7819 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7820 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7821 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7822 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7823 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7824 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7825 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7826 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7827 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7828 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7829 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7830 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7831 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7832 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7833 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7834 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7835 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7836 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7837 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7838 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7839 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7840 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7841 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7842 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7843 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7844 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7845 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7846 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7847 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7848 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7849 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7850 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7851 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7852 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7853 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7854 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7855 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7856 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7857 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7858 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7859 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7860 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7861 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7862 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7863 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7864 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7865 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7866 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7867 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7868 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7869 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7870 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7871 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7872 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7873 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7874 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7875 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7876 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7877 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7878 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7879 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7880 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7881 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7882 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7883 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7884 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7885 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7886 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7887 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7888 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7889 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7890 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7891 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7892 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7893 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7894 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7895 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7896 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7897 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7898 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7899 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7900 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7901 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7902 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7903 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7904 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7905 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7906 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7907 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7908 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7909 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7910 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7911 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7912 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7913 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7914 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7915 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7916 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7917 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7918 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7919 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7920 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7921 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7922 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7923 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7924 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7925 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7926 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7927 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7928 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7929 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7930 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7931 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7932 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7933 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7934 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7935 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7936 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7937 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7938 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7939 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7940 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7941 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7942 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7943 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7944 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7945 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7946 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7947 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7948 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7949 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7950 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7951 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7952 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7954 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7955 _XOPEN_SOURCE_EXTENDED for XPG4.
7957 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7959 * Makeconfig (localtime): Remove variable.
7960 (inst_localtime-file): Likewise.
7962 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7983 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7987 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7988 comparisons to determine direction to adjust input.
7989 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7990 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7991 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7993 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7995 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7997 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7998 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8000 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8002 * math/libm-test.inc (nexttoward_test): Add more tests.
8004 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8007 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8008 in version GLIBC_2.1, not GLIBC_2.0.
8009 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8012 2012-04-30 Joseph Myers <joseph@codesourcery.com>
8015 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8017 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8018 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8019 * math/libm-test.inc (acos_test): Add more tests.
8020 (asin_test): Likewise.
8021 * sysdeps/i386/fpu/libm-test-ulps: Update.
8022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8025 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8027 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8028 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8029 * math/libm-test.inc (acos_test_tonearest): New function.
8030 (acos_test_towardzero): Likewise.
8031 (acos_test_downward): Likewise.
8032 (acos_test_upward): Likewise.
8033 (asin_test_tonearest): Likewise.
8034 (asin_test_towardzero): Likewise.
8035 (asin_test_downward): Likewise.
8036 (asin_test_upward): Likewise.
8037 (main): Call the new functions.
8038 * sysdeps/i386/fpu/libm-test-ulps: Update.
8039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8043 * math/e_exp10.c: Include <float.h>.
8044 (__ieee754_exp10): Handle underflow here rather than multiplying
8045 large negative argument by M_LN10.
8046 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8048 * math/e_exp10l.c: Include <float.h>.
8049 (__ieee754_exp10l): Handle underflow here rather than multiplying
8050 large negative argument by M_LN10l.
8051 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8052 spurious overflow exception on underflow.
8054 2012-04-29 Marek Polacek <polacek@redhat.com>
8056 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8057 (__fortify_function): New macro.
8058 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8059 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8060 __extern_always_inline.
8061 * libio/bits/stdio2.h: Likewise.
8062 * libio/bits/stdio.h: Likewise.
8063 * string/string.h: Likewise.
8064 * string/bits/string3.h: Likewise.
8065 * include/stdio.h: Likewise.
8066 * stdlib/bits/stdlib.h: Likewise.
8067 * stdlib/stdlib.h: Likewise.
8068 * rt/bits/mqueue2.h: Likewise.
8069 * rt/mqueue.h: Likewise.
8070 * posix/bits/unistd.h: Likewise.
8071 * posix/unistd.h: Likewise.
8072 * io/bits/poll2.h: Likewise.
8073 * io/bits/fcntl2.h: Likewise.
8074 * io/fcntl.h: Likewise.
8075 * io/sys/poll.h: Likewise.
8076 * misc/bits/syslog.h: Likewise.
8077 * misc/bits/syslog-ldbl.h: Likewise.
8078 * misc/sys/syslog.h: Likewise.
8079 * socket/bits/socket2.h: Likewise.
8080 * socket/sys/socket.h: Likewise.
8081 * debug/tst-chk1.c: Likewise.
8082 * wcsmbs/bits/wchar2.h: Likewise.
8083 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8084 * wcsmbs/wchar.h: Likewise.
8086 2012-04-29 Andreas Jaeger <aj@suse.de>
8088 * Makerules (tests): Remove enable-check-abi protection.
8089 (check-abi-warn): Remove.
8090 (check-abi-%): Remove check-abi-warn usage.
8092 * configure.in: Remove check-abi configure option.
8093 * configure: Regenerated.
8094 * config.make.in (enable-check-abi): Remove.
8096 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8099 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8100 double functions to double *_finite functions.
8103 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8104 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8106 * stdio-common/Makefile (tests): Add tst-sprintf3.
8107 * stdio-common/tst-sprintf3.c: New file.
8109 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8110 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8112 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8114 * conform/conformtest.pl: Remove duplicate typed-constant
8117 2012-04-28 David S. Miller <davem@davemloft.net>
8119 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8120 (check-abi-%): Remove AWK script prerequisite and explicit
8122 (check-abi): Rewrite to just diff the symlist with the abilist.
8123 (config-tls, config-abi-config): Delete, no longer used.
8124 (update-abi-%): Remove AWK script and explicit abilist directory.
8125 (update-abi): Rewrite to simply compare and conditionally copy the
8126 symlist and the sysdep abilist file. Remove update-abi-config
8128 * abilist/ld.abilist: Remove.
8129 * abilist/libBrokenLocale.abilist: Remove.
8130 * abilist/libanl.abilist: Remove.
8131 * abilist/libcrypt.abilist: Remove.
8132 * abilist/libdl.abilist: Remove.
8133 * abilist/librt.abilist: Remove.
8134 * abilist/libthread_db.abilist: Remove.
8135 * abilist/libutil.abilist: Remove.
8136 * scripts/extract-abilist.awk: Remove.
8137 * scripts/merge-abilist.awk: Remove.
8138 * sysdeps/generic/libcidn.abilist: New file.
8139 * sysdeps/generic/libnss_compat.abilist: New file.
8140 * sysdeps/generic/libnss_db.abilist: New file.
8141 * sysdeps/generic/libnss_dns.abilist: New file.
8142 * sysdeps/generic/libnss_files.abilist: New file.
8143 * sysdeps/generic/libnss_hesiod.abilist: New file.
8144 * sysdeps/generic/libnss_nis.abilist: New file.
8145 * sysdeps/generic/libnss_nisplus.abilist: New file.
8146 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8147 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8148 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8150 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8151 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8152 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8153 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8154 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8155 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8156 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8157 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8158 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8160 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8161 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8162 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8163 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8165 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8166 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8167 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8168 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8169 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8170 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8172 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8173 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8174 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8176 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8279 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8280 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8281 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8283 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8284 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8285 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8286 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8287 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8288 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8289 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8290 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8291 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8292 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8344 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8346 * conform/conformtest.pl: Fix typo in handling typed-constant from
8349 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8351 * README: Cut down references to pre-2.6 Linux kernels and
8352 Linuxthreads. Update lists of configurations in libc and ports
8353 and sort alphabetically. Say "or newer" with Linux kernel version
8356 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8358 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8361 * math/libm-test.inc (logb_test_downward): New test to expose
8362 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8365 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8368 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8370 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8371 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8373 2012-04-26 Joseph Myers <joseph@codesourcery.com>
8375 * sysdeps/unix/i386/brk.S: Remove file.
8376 * sysdeps/unix/i386/dl-brk.S: Likewise.
8377 * sysdeps/unix/i386/pipe.S: Likewise.
8378 * sysdeps/unix/i386/sigreturn.S: Likewise.
8379 * sysdeps/unix/i386/syscall.S: Likewise.
8380 * sysdeps/unix/i386/vfork.S: Likewise.
8381 * sysdeps/unix/i386/wait.S: Likewise.
8383 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8384 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8386 * configure.in (arm*-none*): Do not allow without
8387 --enable-hacker-mode.
8388 (netbsd*): Remove case setting base_os.
8389 (386bsd*): Likewise.
8390 (freebsd*): Likewise.
8394 (ultrix*): Likewise.
8395 (newsos*): Likewise.
8405 (solaris[2-9]*): Likewise.
8407 * configure: Regenerated.
8409 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8412 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8413 overflow or cancellation in calculating denominator.
8414 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8415 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8416 down expression to avoid unexpected rounding in newer GCCs.
8417 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8419 2012-04-26 David S. Miller <davem@davemloft.net>
8421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8422 long-double compat symbols.
8423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8437 2012-04-25 David S. Miller <davem@davemloft.net>
8439 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8440 HWCAP_* values only after the memory barriers have been defined.
8441 (atomic_full_barrier): Define.
8442 (atomic_read_barrier): Define.
8443 (atomic_write_barrier): Define.
8445 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8447 * shlib-versions: Add libgcc_s version information.
8448 * sysdeps/generic/libgcc_s.h: Remove.
8449 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8451 * sysdeps/gnu/unwind-resume.c: Likewise.
8452 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8454 2012-04-25 David S. Miller <davem@davemloft.net>
8456 * sysdeps/unix/sparc/brk.S: Delete.
8457 * sysdeps/unix/sparc/dl-brk.S: Delete.
8458 * sysdeps/unix/sparc/pipe.S: Delete.
8459 * sysdeps/unix/sparc/sysdep.S: Delete.
8460 * sysdeps/unix/sparc/sysdep.h: Delete.
8461 * sysdeps/unix/sparc/vfork.S: Delete.
8462 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8463 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8464 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8465 ret_ERRVAL, r0, r1, MOVE): Define.
8466 (JUMPTARGET): Remove.
8467 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8468 sysdeps/unix/sparc/sysdep.h
8469 (ENTRY, END): Remove.
8470 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8472 2012-04-25 Joseph Myers <joseph@codesourcery.com>
8474 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8475 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8478 * timezone/README: Update upstream location and email address for
8480 * timezone/zdump.c: Update from tzcode 2012b.
8481 * timezone/zic.c: Likewise.
8483 * configure.in (libc_cv_as_needed): Remove test.
8484 * configure: Regenerated.
8485 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8486 conditional definition.
8487 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8488 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8489 * config.make.in (have-as-needed): Remove variable.
8491 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8492 Paul Pluzhnikov <ppluzhnikov@google.com>
8494 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8497 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8499 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8500 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8501 * sysdeps/sh/strlen.S: Likewise.
8503 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8505 * sysdeps/unix/fork.S: Remove file.
8506 * sysdeps/unix/i386/fork.S: Likewise.
8507 * sysdeps/unix/sparc/fork.S: Likewise.
8509 * sysdeps/unix/system.c: Remove file.
8510 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8512 * sysdeps/unix/getegid.S: Remove file.
8513 * sysdeps/unix/geteuid.S: Likewise.
8515 2012-04-24 Roland McGrath <roland@hack.frob.com>
8517 * scripts/check-localplt.awk: New file.
8518 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8520 * scripts/data/localplt-generic.data: Add a comment.
8522 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8523 NODE when __dir_mkfile failed.
8524 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8525 Reported by Ludovic Courtès <ludo@gnu.org>.
8527 2012-04-24 Andreas Jaeger <aj@suse.de>
8529 * Makerules (common-clean): Also remove gen-as-const-headers
8532 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8534 * Makerules (native-compile): Do not change working directory for
8535 build. Use $(OUTPUT_OPTION) in command.
8536 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8538 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8541 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8542 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8543 * math/libm-test.inc (floor_test): Add more tests.
8544 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8546 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8548 * sysdeps/unix/getdents.c: Remove file.
8549 * sysdeps/unix/sysv/getdents.c: Likewise.
8550 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8552 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8553 sysdeps/unix/mman/syscalls.list.
8555 (mprotect): Likewise.
8558 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8559 * sysdeps/unix/mman/syscalls.list: Remove.
8560 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8562 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8563 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8564 * configure: Regenerated.
8565 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8567 * config.make.in (libgcc_s_suffix): Remove variable.
8569 2012-04-23 Joseph Myers <joseph@codesourcery.com>
8571 * sysdeps/unix/sysv/gethostname.c: Move to ...
8572 * sysdeps/posix/gethostname.c: ... here.
8574 * sysdeps/unix/execve.S: Remove file.
8576 * sysdeps/unix/_exit.S: Remove file.
8578 2012-04-23 Andreas Jaeger <aj@suse.de>
8581 * manual/Makefile: Remove make dist support, there's no
8582 need for a stand-alone documentation tar ball.
8583 (TEXI2DVI): Define always, it's not in Makeconfig.
8587 (glibc-doc-$(edition).tar): Removed
8591 (ETAGS): Remove, it's in Makeconfig.
8592 (move-if-change): Remove, it's in Makeconfig.
8594 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8597 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8598 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8599 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8600 (strtod_l, strtof_l, strtold_l): Remove __wur.
8601 It is not necessarily an error to ignore strtol's return value.
8602 One can reliably look at the stored endptr to decide whether
8603 the number had valid syntax.
8605 2012-04-21 Andreas Jaeger <aj@suse.de>
8608 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8610 2012-04-21 Joseph Myers <joseph@codesourcery.com>
8612 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8613 * sysdeps/unix/sysv/Versions: Remove file.
8615 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8620 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
8623 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8624 version from __vm86.
8626 2012-04-20 Joseph Myers <joseph@codesourcery.com>
8628 * sysdeps/unix/common/lxstat.c: Remove file.
8629 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8631 * sysdeps/unix/sysv/Makefile: Remove file.
8633 * sysdeps/unix/sysv/direct.h: Remove file.
8635 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8636 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8637 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8638 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8639 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8640 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8641 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8643 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8645 * sysdeps/unix/xmknod.c: Remove file.
8646 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8648 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8650 * sysdeps/unix/sysv/i386/time.S: Remove file.
8652 * sysdeps/unix/fxstat.c: Remove file.
8653 * sysdeps/unix/xstat.c: Likewise.
8654 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8656 * sysdeps/unix/sysv/sigaction.c: Remove file.
8658 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8659 (sysdep_headers): Remove variable.
8660 [termio.h not in sysdep_headers] (generated): Likewise.
8661 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8662 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8663 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8664 * sysdeps/unix/sysv/tcflow.c: Likewise.
8665 * sysdeps/unix/sysv/tcflush.c: Likewise.
8666 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8667 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8668 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8669 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8670 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8672 * sysdeps/unix/siglist.c: Remove file.
8674 * sysdeps/unix/getppid.S: Remove file.
8676 * sysdeps/unix/mkdir.c: Remove file.
8677 * sysdeps/unix/rmdir.c: Likewise.
8679 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8681 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8683 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8684 errlist-compat value.
8686 2012-04-18 David S. Miller <davem@davemloft.net>
8688 * sysdeps/generic/memcopy.h (reg_char): Delete.
8689 * debug/strcat_chk.c: Use char, not reg_char.
8690 * debug/strcpy_chk.c: Likewise.
8691 * debug/strncat_chk.c: Likewise.
8692 * debug/strncpy_chk.c: Likewise.
8693 * string/memchr.c: Likewise.
8694 * string/memrchr.c: Likewise.
8695 * string/rawmemchr.c: Likewise.
8696 * string/strcat.c: Likewise.
8697 * string/strchr.c: Likewise.
8698 * string/strchrnul.c: Likewise.
8699 * string/strcmp.c: Likewise.
8700 * string/strcpy.c: Likewise.
8701 * string/strncat.c: Likewise.
8702 * string/strncmp.c: Likewise.
8703 * string/strncpy.c: Likewise.
8705 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8707 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8708 __builtin_memcopy is called when src and dest ranges are known to not
8711 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8713 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8714 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8715 fwd_align_merge macro call.
8716 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8717 bwd_align_merge macro call.
8718 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8720 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8722 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8723 bwd_align_merge macros.
8724 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8725 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8726 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8728 2012-04-18 David S. Miller <davem@davemloft.net>
8730 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8732 2012-04-18 Andreas Jaeger <aj@suse.de>
8735 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8736 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8737 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8739 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8740 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8741 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8743 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8744 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8745 Adjust for changed ldbl-128 files.
8747 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8748 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8749 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8751 2012-04-17 David S. Miller <davem@davemloft.net>
8753 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8755 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8757 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8758 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8759 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8760 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8761 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8762 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8764 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8767 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8768 * math/libm-test.inc: Add ilogb errno and exception tests.
8769 * math/w_ilogb.c: New file: ilogb wrapper.
8770 * math/w_ilogbf.c: New file: ilogbf wrapper.
8771 * math/w_ilogbl.c: New file: ilogbl wrapper.
8772 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8773 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8774 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8775 exception being thrown with 0.0 as argument.
8776 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8777 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8778 exception being thrown with 0.0 as argument.
8779 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8780 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8781 exception being thrown with 0.0 as argument.
8782 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8783 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8784 exception being thrown with 0.0 as argument.
8785 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8786 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8787 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8788 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8789 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8790 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8791 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8792 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8793 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8795 2012-04-17 Petr Baudis <pasky@ucw.cz>
8797 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8800 2012-04-16 Marek Polacek <polacek@redhat.com>
8802 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8804 2012-04-16 Marek Polacek <polacek@redhat.com>
8806 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8807 operands of fdivp instruction.
8809 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8811 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8812 * elf/tst-auditmod3b.c: Likewise.
8813 * elf/tst-auditmod4b.c: Likewise.
8814 * elf/tst-auditmod5b.c: Likewise.
8815 * elf/tst-auditmod6b.c: Likewise.
8816 * elf/tst-auditmod6c.c: Likewise.
8817 * elf/tst-auditmod7b.c: Likewise.
8818 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8819 * sysdeps/x86_64/preconfigure.in: Likewise.
8820 * sysdeps/x86_64/preconfigure: Regenerated.
8822 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8824 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8827 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8829 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8830 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8832 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8835 * locale/iso-639.def: Fix gl language name. Spotted by
8838 2012-04-12 Roland McGrath <roland@hack.frob.com>
8841 * libio/libio.h (__io_write_fn): Update comment.
8843 2012-04-12 Petr Baudis <pasky@ucw.cz>
8846 * stdio.texi (Hook Functions): The user provided writer function
8847 is not allowed to return -1.
8849 2012-04-11 David S. Miller <davem@davemloft.net>
8851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8853 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8855 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8856 Add a leading slash to rtkaio.
8858 2012-04-11 Jim Meyering <meyering@redhat.com>
8861 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8862 It is not necessarily an error to ignore fwrite's return
8863 value. One can reliably use ferror to test for errors after
8866 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8868 * bits/types.h (__snseconds_t): New type.
8869 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8871 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8872 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8873 (__SNSECONDS_T_TYPE): Likewise.
8874 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8875 (__SNSECONDS_T_TYPE): Likewise.
8876 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8877 (__SNSECONDS_T_TYPE): Likewise.
8879 2012-04-10 Andreas Jaeger <aj@suse.de>
8882 * manual/time.texi (Processor Time): Return type of times is
8883 elapsed real time since an arbitrary point in the past.
8884 (CPU Time): Move CLK_TCK from here...
8885 (Processor Time): ...to here. Correct description.
8886 * manual/conf.texi (Constants for Sysconf): Correct description of
8889 2012-04-10 David S. Miller <davem@davemloft.net>
8892 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8893 where the is a gap between DT_REL(A) and DT_JMPREL.
8895 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8897 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8898 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8899 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8901 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8903 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8904 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8905 (dl_main): Handle --inhibit-cache.
8906 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8908 * elf/dl-load.c (_dl_map_object): Use it.
8909 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8911 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8914 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8915 (__ieee754_powl): Saturate large exponents rather than testing for
8916 overflow of y*log2(x).
8917 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8918 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8922 * math/s_ctan.c: Include <float.h>.
8923 (__ctan): Avoid internal overflow or cancellation in calculating
8925 * math/s_ctanf.c: Likewise.
8926 * math/s_ctanl.c: Likewise.
8927 * math/s_ctanh.c: Likewise.
8928 * math/s_ctanhf.c: Likewise.
8929 * math/s_ctanhl.c: Likewise.
8930 * math/libm-test.inc (ctan_test): Add more tests.
8931 (ctanh_test): Likewise.
8932 * sysdeps/i386/fpu/libm-test-ulps: Update.
8933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8935 2012-04-09 Andreas Jaeger <aj@suse.de>
8938 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8939 is an optional BSD extension.
8942 * manual/stdio.texi (Opening Streams): Document additional fopen
8945 2012-04-09 Roland McGrath <roland@hack.frob.com>
8947 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8948 %eax without telling the compiler.
8950 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8953 * manual/install.texi: Use sourceware.org.
8955 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8958 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8959 (__ieee754_pow): Generate overflow and underflow using huge*huge
8960 and tiny*tiny rather than just returning constant infinity or zero
8961 for large exponents.
8962 * math/libm-test.inc (pow_test): Require overflow exceptions for
8963 applicable cases of large exponents.
8966 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8967 (__ieee754_pow): Use iterative multiplication algorithm only for
8968 integer exponents with absolute value below 1024. Check for odd
8969 integer exponents when using algorithm for real exponents.
8970 * math/libm-test.inc (pow_test): Add more tests.
8971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8973 2012-04-08 Joseph Myers <joseph@codesourcery.com>
8976 * math/libm-test.inc (exp_test): Do not allow overflow exception
8979 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8982 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8983 instead of __kernel_standard_f.
8985 2012-04-08 Mike Frysinger <vapier@gentoo.org>
8987 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8988 * sysdeps/x86_64/memset_chk.S: Likewise.
8990 2012-04-08 Andreas Jaeger <aj@suse.de>
8993 * manual/startup.texi (Environment Access): Describe return value
8994 for putenv and setenv.
8997 * manual/filesys.texi (Directory Entries): Add description for
9001 * manual/filesys.texi (Directory Entries): Clarify that it's file
9002 system not operating system in the description of DT_UNKNOWN.
9005 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9007 2012-04-08 Stephen Compall <s11@member.fsf.org>
9010 * manual/llio.texi (Opening and Closing Files): Add cross
9011 reference to explain mode argument.
9013 2012-04-07 Mike Frysinger <vapier@gentoo.org>
9015 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9016 * sysdeps/x86_64/memset_chk.S: Likewise.
9018 2012-04-07 David S. Miller <davem@davemloft.net>
9020 * elf/elf.h (R_SPARC_WDISP10): Define.
9021 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9023 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9024 R_SPARC_SIZE64 and R_SPARC_H34.
9026 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9028 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9029 conditions and remove no longer applicable assertion.
9031 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9033 * bits/byteswap.h: Include <features.h>.
9034 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9035 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9037 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9039 * bits/byteswap.h (__bswap_16): Removed.
9040 Include <bits/byteswap-16.h> to get __bswap_16.
9041 * sysdeps/i386/bits/byteswap.h: Likewise.
9042 * sysdeps/s390/bits/byteswap.h: Likewise.
9043 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9044 * bits/byteswap-16.h: New file.
9045 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9046 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9047 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9048 * string/Makefile (headers): Add bits/byteswap-16.h.
9050 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9053 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9055 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9056 * nss/tst-nss-static.c: New.
9058 2012-04-06 Robert Millan <rmh@gnu.org>
9061 * manual/llio.texi (File Position Primitive): lseek
9062 refers to WHENCE when it really means OFFSET.
9064 2012-04-06 Andreas Jaeger <aj@suse.de>
9066 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9067 strncmp declarations.
9069 * abilist/libc.abilist: Add __poll and __ppoll.
9071 2012-04-05 David S. Miller <davem@davemloft.net>
9073 * scripts/check-local-headers.sh: Accept a host triplet in the
9074 path matched by the exclude regexp.
9076 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9078 * sysdeps/powerpc/powerpc32/dl-machine.h
9079 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9080 * sysdeps/s390/s390-32/dl-machine.h
9081 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9082 * sysdeps/sparc/sparc32/dl-machine.h
9083 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9084 * sysdeps/sparc/sparc64/dl-machine.h
9085 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9087 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9089 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9090 undefined symbol errors.
9092 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9095 2012-04-05 Michael Matz <matz@suse.de>
9098 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9100 2012-04-05 Andreas Jaeger <aj@suse.de>
9103 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9106 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9108 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9109 which ROUND is no valid rounding mode.
9111 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9113 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9115 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9117 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9119 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9120 an exception using FPU order intentionally.
9122 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9124 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9125 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9126 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9127 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9129 2012-04-05 Simon Josefsson <simon@josefsson.org>
9132 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9133 EINVAL when BUFLEN is too smal.
9135 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9138 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9139 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9141 2012-04-03 Andreas Jaeger <aj@suse.de>
9144 * manual/setjmp.texi (System V contexts): Fix sentence.
9147 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9148 New macro for this case.
9149 [!__GNUC__] (__bswap_64): New inline function for this case.
9150 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9151 * bits/byteswap.h: Likewise.
9152 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9153 ull, guard with __GLIBC_HAVE_LONG_LONG.
9155 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9156 __GLIBC_HAVE_LONG_LONG.
9158 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9159 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9161 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9164 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9165 inptr and inend, rather than using last_ch.
9167 2012-04-02 David S. Miller <davem@davemloft.net>
9169 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9170 * stdio-common/printf-parse.h (read_int): Change return type to
9171 'int', return -1 on INT_MAX overflow.
9172 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9173 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9174 overflows INT_MAX. Check for overflow of in-format-string precision
9175 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9176 SIZE_MAX not INT_MAX for integer overflow test.
9177 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9178 skip the construct in the format string but do not record anything.
9179 * stdio-common/bug22.c: Adjust to test both width/prevision
9180 INT_MAX overflow as well as total length INT_MAX overflow. Check
9181 explicitly for proper errno values.
9183 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9185 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9187 * string/test-strcmp.c [! WIDE]: Likewise.
9188 * time/tst-mktime2.c: Likewise for INT_MAX.
9189 * string/test-string.h: #include <sys/param.h> for MIN.
9191 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9192 * sysdeps/i386/init-first.c (init): Likewise.
9193 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9194 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9195 * sysdeps/sh/init-first.c (init): Likewise.
9197 2012-04-01 Ulrich Drepper <drepper@gmail.com>
9199 * po/ru.po: Update from translation team.
9200 * po/vi.po: Likewise.
9202 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9204 * resolv/nss_dns/dns-host.c: Merge copyright years.
9206 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9208 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9209 Optimize memcpy with prefetch if
9210 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9211 src, dst pointers have unequal 16 byte alignments.
9213 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9216 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9217 from a CNAME entry and return the minimum ttl for the query.
9218 (gaih_getanswer_slice): Likewise.
9220 2012-03-30 Jeff Law <law@redhat.com>
9222 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9224 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9225 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9227 * resolv/nss_dns/dns-host.c: Update copyright year.
9229 2012-03-30 Ulrich Drepper <drepper@gmail.com>
9231 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9232 requests to save a system call. Fix check that all bytes are sent.
9234 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9235 comments for sendmmsg.
9237 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9240 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9241 with only 1 character between 0x0041 and 0x01b0.
9242 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9243 * wcsmbs/tst-mbsnrtowcs.c: New file.
9245 2012-03-29 David S. Miller <davem@davemloft.net>
9247 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9248 small copies by hand.
9250 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9253 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9254 _nss_compat_initgroups_dyn): Fall back to malloc/free
9255 for large group memberships.
9257 2012-03-28 David S. Miller <davem@davemloft.net>
9259 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9260 that branches into memcpy.
9261 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9262 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9263 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9264 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9265 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9267 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9269 * sysdeps/sparc/mempcpy.S: New file.
9271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9272 the IFUNC routine in the libc case.
9273 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9275 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9276 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9277 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9278 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9279 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9280 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9281 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9282 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9284 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9285 loop to 256 bytes instead of 64 bytes and fix test signedness.
9287 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9288 * sysdeps/sparc/sparc32/Makefile: rather than here...
9289 * sysdeps/sparc/sparc64/Makefile: and here.
9291 2012-03-28 Ulrich Drepper <drepper@gmail.com>
9293 * malloc/mallocbug.c: Avoid warnings about unused variables.
9295 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9298 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9299 in the right place. Discard and retry query if response is
9300 larger than input buffer size.
9302 2012-03-28 Joseph Myers <joseph@codesourcery.com>
9307 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9308 x for large integer exponent.
9309 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9310 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9311 sign of result as needed afterwards.
9312 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9313 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9314 result for underflowing pow the same as for overflow.
9315 (__kernel_standard_l): Handle powl overflow and underflow here
9316 rather than calling __kernel_standard.
9317 * math/libm-test.inc (pow_test): Add more tests.
9332 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9333 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9334 (__kernel_standard_l): New function.
9335 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9337 * math/w_acosl.c (__acosl): Likewise.
9338 * math/w_asinl.c (__asinl): Likewise.
9339 * math/w_atan2l.c (__atan2l): Likewise.
9340 * math/w_atanhl.c (__atanhl): Likewise.
9341 * math/w_coshl.c (__coshl): Likewise.
9342 * math/w_exp10l.c (__exp10l): Likewise.
9343 * math/w_exp2l.c (__exp2l): Likewise.
9344 * math/w_fmodl.c (__fmodl): Likewise.
9345 * math/w_hypotl.c (__hypotl): Likewise.
9346 * math/w_j0l.c (__j0l, __y0l): Likewise.
9347 * math/w_j1l.c (__j1l, __y1l): Likewise.
9348 * math/w_jnl.c (__jnl, __ynl): Likewise.
9349 * math/w_lgammal.c (__lgammal): Likewise.
9350 * math/w_log10l.c (__log10l): Likewise.
9351 * math/w_log2l.c (__log2l): Likewise.
9352 * math/w_logl.c (__logl): Likewise.
9353 * math/w_powl.c (__powl): Likewise.
9354 * math/w_remainderl.c (__remainderl): Likewise.
9355 * math/w_scalbl.c (sysv_scalbl): Likewise.
9356 * math/w_sinhl.c (__sinhl): Likewise.
9357 * math/w_sqrtl.c (__sqrtl): Likewise.
9358 * math/w_tgammal.c (__tgammal): Likewise.
9359 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9360 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9361 * math/libm-test.inc (acos_test): Add more tests.
9362 (acosh_test): Likewise.
9363 (asin_test): Likewise.
9364 (atanh_test): Likewise.
9365 (exp_test): Likewise.
9366 (exp10_test): Likewise.
9367 (exp2_test): Likewise.
9368 (expm1_test): Likewise.
9369 (lgamma_test): Likewise.
9370 (log_test): Likewise.
9371 (log10_test): Likewise.
9372 (log1p_test): Likewise.
9373 (log2_test): Likewise.
9374 (pow_test): Do not allow some spurious overflow exceptions.
9375 (sqrt_test): Add more tests.
9376 (tgamma_test): Likewise.
9377 (y0_test): Likewise.
9378 (y1_test): Likewise.
9379 (yn_test): Likewise.
9381 2012-03-27 Anton Blanchard <anton@samba.org>
9383 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9385 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9386 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9387 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9389 2012-03-27 David S. Miller <davem@davemloft.net>
9391 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9393 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9396 2012-03-27 Andreas Jaeger <aj@suse.de>
9398 * sysdeps/x86_64/elf/configure.in: Moved to ...
9399 * sysdeps/x86_64/configure.in: ... here.
9400 * sysdeps/x86_64/elf/start.S: Moved to ...
9401 * sysdeps/x86_64/start.S: ... here.
9402 * sysdeps/x86_64/elf/configure: Delete.
9404 * sysdeps/x86_64/configure.in: Merge contents from
9405 sysdeps/i386/configure.in (without i686 check).
9407 * sysdeps/i386/elf/Versions: Merge into ...
9408 * sysdeps/i386/Versions: ... this.
9409 * sysdeps/i386/elf/Versions: Delete file.
9410 * sysdeps/i386/elf/start.S: Moved to ...
9411 * sysdeps/i386/start.S: ...here.
9412 * sysdeps/i386/elf/configure.in: Merge into...
9413 * sysdeps/i386/configure.in: ...here.
9414 * sysdeps/i386/elf/configure.in: Delete file.
9415 * sysdeps/i386/elf/configure: Delete file.
9417 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9418 * debug/backtracesyms.c: ... here.
9419 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9420 * debug/backtracesymsfd.c: ... here.
9421 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9422 * sysdeps/generic/ifunc-sel.h: ... here.
9424 * sysdeps/unix/i386/start.c: Delete file.
9425 * sysdeps/unix/sparc/start.c: Delete file.
9426 * sysdeps/unix/start.c: Delete file.
9428 * sysdeps/sh/elf/configure.in: Moved to ...
9429 * sysdeps/sh/configure.in: ... here.
9430 * sysdeps/sh/elf/start.S: Moved to ...
9431 * sysdeps/sh/start.S: ... here.
9432 * sysdeps/sh/elf/configure: Delete file.
9434 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9435 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9436 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9437 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9438 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9439 * sysdeps/powerpc/powerpc64/start.S: here.
9440 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9441 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9442 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9443 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9444 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9446 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9447 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9448 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9449 * sysdeps/powerpc/powerpc32/start.S: ... here.
9450 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9451 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9452 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9454 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9455 * sysdeps/powerpc/ifunc-sel.h: ... here.
9456 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9457 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9459 * sysdeps/sparc/elf/configure.in: Moved to ...
9460 * sysdeps/sparc/configure.in: ... here.
9461 * sysdeps/sparc/elf/configure: Delete file.
9462 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9463 * sysdeps/sparc/sparc32/start.S: ... here.
9464 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9465 * sysdeps/sparc/sparc64/start.S: ... here.
9466 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9467 * sysdeps/sparc/sparc32/Makefile: ... this.
9468 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9469 * sysdeps/sparc/sparc64/Makefile: ... this.
9471 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9472 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9473 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9474 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9475 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9476 * sysdeps/s390/s390-32/setjmp.S: ... here.
9477 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9478 * sysdeps/s390/s390-32/configure.in: ... here.
9479 * sysdeps/s390/s390-32/elf/configure: Delete file.
9480 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9481 * sysdeps/s390/s390-32/start.S: ... here.
9483 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9484 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9485 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9486 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9487 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9488 * sysdeps/s390/s390-64/setjmp.S: ... here.
9489 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9490 * sysdeps/s390/s390-64/configure.in: ... here
9491 * sysdeps/s390/s390-64/elf/configure: Delete file.
9492 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9493 * sysdeps/s390/s390-64/start.S: ... here.
9494 * sysdeps/s390/s390-64/elf/configure: Delete.
9496 * configure.in: Remove support for elf directories in sysdeps.
9498 * configure: Regenerated.
9499 * sysdeps/i386/configure: Regenerated.
9500 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9501 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9502 * sysdeps/s390/s390-32/configure: Regenerated.
9503 * sysdeps/s390/s390-64/configure: Regenerated.
9504 * sysdeps/sh/configure: Regenerated.
9505 * sysdeps/sparc/configure: Regenerated.
9506 * sysdeps/x86_64/configure: Regenerated.
9508 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9512 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9513 denormal result into account.
9515 2012-03-25 Roland McGrath <roland@hack.frob.com>
9517 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9518 Reported by Allan McRae <allan@archlinux.org>.
9520 2012-03-23 Jeff Law <law@redhat.com>
9522 * nss/getnssent.c (__nss_getent): Fix typo.
9524 2012-03-23 David S. Miller <davem@davemloft.net>
9526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9528 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9530 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9531 to pad to uint64_t for each field.
9532 (dl_tls_index): Replace unsigned long with uint64_t.
9534 2012-03-23 Daniel Jacobowitz <dmj@google.com>
9535 Paul Pluzhnikov <ppluzhnikov@google.com>
9538 * grp/Makefile (otherlibs): Don't set it.
9539 * inet/Makefile (otherlibs): Likewise.
9540 * login/Makefile (otherlibs): Likewise.
9541 * nscd/Makefile (otherlibs): Likewise.
9542 * posix/Makefile (otherlibs): Likewise.
9543 * pwd/Makefile (otherlibs): Likewise.
9544 * rt/Makefile (otherlibs): Likewise.
9545 * sunrpc/Makefile (otherlibs): Likewise.
9546 * nss/Makefile (otherlibs): Likewise.
9547 Add libnss_files to routines and static-only-routines.
9548 ($(objpfx)getent): Remove rule.
9549 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9550 static-only-routines.
9552 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9555 * math/s_cexp.c: Include <float.h>.
9556 (__cexp): Handle exp result overflowing not necessarily
9557 overflowing both real and imaginary parts of result.
9558 * math/s_cexpf.c: Likewise.
9559 * math/s_cexpl.c: Likewise.
9560 * math/libm-test.inc (cexp_test): Add more tests.
9561 * sysdeps/i386/fpu/libm-test-ulps: Update.
9562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9564 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9566 * include/link.h (ELFW): New macro.
9567 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9568 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9570 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9572 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9575 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9577 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9579 (struct La_x32_retval): Likewise.
9581 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9583 * sysdeps/x86_64/preconfigure.in: New file.
9584 * sysdeps/x86_64/preconfigure: New generated file.
9586 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9589 * math/e_exp2l.c: Include <float.h>.
9590 (__ieee754_exp2l): Handle overflow and underflow cases
9591 separately. Only pass fractional part of argument to
9593 * math/libm-test.inc (exp2_test): Add more tests.
9595 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9596 negating x to take absolute value.
9597 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9599 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9600 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9602 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9603 computing low part if x was negated.
9604 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9606 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9608 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9610 (pltexit): Cast int_retval to ptrdiff_t.
9611 * elf/tst-auditmod3b.c: Likewise.
9612 * elf/tst-auditmod4b.c: Likewise.
9613 * elf/tst-auditmod5b.c: Likewise.
9614 * elf/tst-auditmod6b.c: Likewise.
9615 * elf/tst-auditmod6c.c: Likewise.
9616 * elf/tst-auditmod7b.c: Likewise.
9618 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9619 and x32_gnu_pltexit.
9621 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9623 (La_x32_regs): New macro.
9624 (La_x32_retval): Likewise.
9625 (la_x32_gnu_pltenter): New function prototype.
9626 (la_x32_gnu_pltexit): Likewise.
9628 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9630 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9635 * configure.in (libc_cv_cc_nofma): Check for option to disable
9636 generation of FMA instructions.
9637 * configure: Regenerate.
9638 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9639 * sysdeps/ieee754/dbl-64/Makefile: New file.
9640 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9641 Remove brandred-fma4.
9642 (CFLAGS-brandred-fma4.c): Remove.
9643 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9644 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9646 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9649 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9651 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9652 LLONG_MAX != LONG_MAX.
9653 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9654 (_fitoa_word): Likewise.
9655 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9656 LLONG_MAX != LONG_MAX.
9657 * stdio-common/_itowa.h: Include <_itoa.h>.
9658 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9659 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9660 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9661 only if not defined.
9662 (_ITOA_WORD_TYPE): Likewise.
9663 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9664 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9666 2012-03-21 David S. Miller <davem@davemloft.net>
9668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9670 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9672 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9673 of x86_64 when setting libc_cv_slibdir, libdir and
9675 * sysdeps/unix/sysv/linux/configure: Regenerated.
9677 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9679 * manual/lang.texi (Old Varargs): Remove section.
9680 (How Variadic): Update menu.
9681 (va_start): Do not mention varargs.h.
9683 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9684 Joseph Myers <joseph@codesourcery.com>
9686 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9688 * configure: Regenerated.
9690 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9692 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9693 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9696 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9699 * Makefile (files-for-dist): Remove NOTES.
9700 (NOTES): Remove rule.
9701 * README: Don't refer to NOTES.
9702 * manual/creature.texi: Don't include macros.texi.
9703 * manual/intro.texi (creature.texi): Remove comment referring to
9706 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9707 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9708 * configure: Regenerated.
9709 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9711 (libc_cv_as_i686): Likewise.
9712 (libc_cv_cc_avx): Likewise.
9713 (libc_cv_cc_sse2avx): Likewise.
9714 (libc_cv_cc_fma4): Likewise.
9715 (libc_cv_cc_novzeroupper): Likewise.
9716 * sysdeps/i386/configure: Regenerated.
9719 * sysdeps/i386/fpu/s_cexp.S: Remove.
9720 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9721 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9722 * math/libm-test.inc (cexp_test): Add more tests.
9723 * sysdeps/i386/fpu/libm-test-ulps: Update.
9724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9726 2012-03-21 Allan McRae <allan@archlinux.org>
9728 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9730 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9733 * math/w_exp2.c: Do not include <float.h>.
9734 (o_threshold, u_threshold): Remove.
9735 (__exp2): Calculate result before checking finiteness and calling
9737 * math/w_exp2f.c: Likewise.
9738 * math/w_exp2l.c: Likewise.
9739 * math/libm-test.inc (exp2_test): Require overflow exception for
9743 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9744 range of signed 64-bit integers before using fistpll. Remove
9745 checks for whether integers fit in mantissa bits.
9746 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9747 the range of signed 32-bit integers before using fistpl. Remove
9748 checks for whether integers fit in mantissa bits.
9749 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9750 (__ieee754_powl): Test for y outside the range of signed 64-bit
9751 integers before using fistpll. Reduce 64-bit values to 63-bit
9753 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9754 divide-by-zero is raised for zero to large negative powers.
9755 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9756 (__ieee754_powl): Test for y outside the range of signed 64-bit
9757 integers before using fistpll. Reduce 64-bit values to 63-bit
9759 * math/libm-test.inc (pow_test): Add more tests.
9761 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9763 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9764 <stdio-common/_itoa.h>.
9765 * debug/segfault.c: Likewise.
9766 * elf/dl-cache.c: Likewise.
9767 * elf/dl-minimal.c: Likewise.
9768 * elf/dl-misc.c: Likewise.
9769 * elf/dl-sysdep.c: Likewise.
9770 * elf/dl-version.c: Likewise.
9771 * elf/rtld.c: Likewise.
9772 * hurd/hurdsock.c: Likewise.
9773 * hurd/lookup-retry.c: Likewise.
9774 * malloc/malloc.c: Likewise.
9775 * malloc/mtrace.c: Likewise.
9776 * nscd/nscd_getgr_r.c: Likewise.
9777 * nscd/nscd_getpw_r.c: Likewise.
9778 * nscd/nscd_getserv_r.c: Likewise.
9779 * posix/getopt_init.c: Likewise.
9780 * posix/wordexp.c: Likewise.
9781 * stdio-common/_itoa.c: Likewise.
9782 * stdio-common/printf_fphex.c: Likewise.
9783 * stdio-common/vfprintf.c: Likewise.
9784 * string/_strerror.c: Likewise.
9785 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9786 * sysdeps/i386/i686/hp-timing.h: Likewise.
9787 * sysdeps/mach/_strerror.c: Likewise.
9788 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9789 * sysdeps/mach/hurd/sethostid.c: Likewise.
9790 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9791 * sysdeps/mach/xpg-strerror.c: Likewise.
9792 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9793 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9794 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9795 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9796 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9797 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9798 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9799 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9800 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9801 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9802 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9803 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9804 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9805 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9806 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9807 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9808 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9809 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9810 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9811 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9812 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9814 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9816 * stdio-common/_itoa.h: Moved to ...
9817 * sysdeps/generic/_itoa.h: Here.
9819 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9821 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9822 instead of "_itoa.h" and "_itowa.h".
9823 * stdio-common/vfprintf.: Likewise.
9825 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9827 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9829 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9830 (__signbit): Likwise.
9834 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9836 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9839 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9841 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9842 OVERFLOW_EXCEPTION_OK.
9843 * math/libm-test.inc ("Philosophy"): Update comment about
9845 (OVERFLOW_EXCEPTION): Define.
9846 (OVERFLOW_EXCEPTION_OK): Likewise.
9847 (INVALID_EXCEPTION_OK): Renumber.
9848 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9849 (IGNORE_ZERO_INF_SIGN): Likewise.
9850 (test_exceptions): Handle FE_OVERFLOW.
9851 (exp10_test): Expect overflow exceptions.
9852 (exp2_test): Likewise.
9853 (expm1_test): Likewise.
9854 (nextafter_test): Likewise.
9855 (pow_test): Likewise.
9856 (scalbn_test): Likewise.
9857 (scalbln_test): Likewise.
9859 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9861 * sysdeps/x86_64/bits/atomic.h
9862 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9864 (atomic_exchange_acq): Likewise.
9865 (__arch_exchange_and_add_body): Likewise.
9866 (__arch_add_body): Likewise.
9867 (atomic_add_negative): Likewise.
9868 (atomic_add_zero): Likewise.
9870 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9872 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9873 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9875 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9877 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9878 Check __x86_64__ instead of __WORDSIZE.
9880 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9882 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9884 2012-03-19 David S. Miller <davem@davemloft.net>
9886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9888 * sysdeps/sparc/fpu/fenv_private.h: New file.
9889 * sysdeps/sparc/fpu/math_private.h: Use it.
9890 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9892 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9893 (libc_feholdexcept_setroundl): Remove.
9894 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9896 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9897 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9899 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9901 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9902 int64_t instead of long int.
9903 (INSERT_WORDS64): Likwise.
9905 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9907 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9908 _Unwind_GetCFA return to _Unwind_Ptr first.
9910 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9913 * math/s_clog.c: Include <float.h>.
9914 (__clog): Scale large or subnormal inputs.
9915 * math/s_clogf.c: Likewise.
9916 * math/s_clogl.c: Likewise.
9917 * math/s_clog10.c: Include <float.h>.
9918 (M_LOG10_2): Define.
9919 (__clog10): Scale large or subnormal inputs.
9920 * math/s_clog10f.c: Likewise.
9921 * math/s_clog10l.c: Likewise.
9922 * math/libm-test.inc (clog_test): Add more tests.
9923 (clog10_test): Likewise.
9924 * sysdeps/i386/fpu/libm-test-ulps: Update.
9925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9928 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9930 * math/libm-test.inc (atan2_test): Add another test.
9932 * Makerules (common-objdir-compile): Remove.
9933 * sysdeps/unix/Makefile (config-generated): Do not add
9934 $(unix-generated) to variable.
9935 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9936 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9938 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9940 [generic bits/local_lim.h] (before-compile): Do not append to
9942 [generic bits/local_lim.h] (common-generated): Likewise.
9943 [generic sys/param.h] (before-compile): Do not append to variable.
9944 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9945 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9946 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9947 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9949 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9950 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9951 [generic sys/param.h] ($(addprefix
9952 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9953 [generic sys/param.h] (common-generated): Do not append to
9955 [generic sys/param.h] (sysdep_headers): Likewise.
9956 [generic bits/errno.h] (before-compile): Do not append to
9958 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9960 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9961 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9962 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9963 [generic bits/errno.h] (common-generated): Do not append to
9965 [generic bits/ioctls.h] (before-compile): Do not append to
9967 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9969 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9970 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9971 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9973 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9974 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9975 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9976 [generic bits/ioctls.h] (common-generated): Do not append to
9978 [generic sys/syscall.h] (syscall.h): Remove variable.
9979 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9981 [generic sys/syscall.h] (before-compile): Do not append to
9983 [generic sys/syscall.h] (common-generated): Likewise.
9984 * sysdeps/unix/errnos-tmpl.c: Remove file.
9985 * sysdeps/unix/errnos.awk: Likewise.
9986 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9987 * sysdeps/unix/ioctls.awk: Likewise.
9988 * sysdeps/unix/mk-local_lim.c: Likewise.
9989 * sysdeps/unix/snarf-ioctls: Likewise.
9991 2012-03-19 Richard Henderson <rth@twiddle.net>
9993 * sysdeps/i386/fpu/fenv_private.h: New file.
9994 * sysdeps/i386/fpu/math_private.h: Use it.
9995 (math_opt_barrier, math_force_eval): Remove.
9996 (libc_feholdexcept_setround_53bit): Remove.
9997 (libc_feupdateenv_53bit): Remove.
9998 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9999 (math_opt_barrier, math_force_eval): Remove.
10000 (libc_feholdexcept): Remove.
10001 (libc_feholdexcept_setround): Remove.
10002 (libc_fetestexcept, libc_fesetenv): Remove.
10003 (libc_feupdateenv_test): Remove.
10004 (libc_feupdateenv, libc_feholdsetround): Remove.
10005 (libc_feresetround): Remove.
10007 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10008 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10010 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10011 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10012 (libc_feupdateenv_testl): New.
10013 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10014 (libc_feupdateenv_testf): New.
10015 (libc_feupdateenv): Use libc_feupdateenv_test.
10016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10017 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10019 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10020 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10021 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10022 (libc_feresetround_noex): New.
10023 (libc_feresetround_noexf): New.
10024 (libc_feresetround_noexl): New.
10025 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10026 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10027 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10028 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10030 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10031 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10033 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10034 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10035 SET_RESTORE_ROUND_NOEX.
10036 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10037 SET_RESTORE_ROUND_NOEXF.
10038 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10039 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10040 (libc_feholdsetroundf): New.
10041 (libc_feresetround, libc_feresetroundf): New.
10043 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10044 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10045 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10047 * sysdeps/generic/math_private.h: Include <fenv.h>.
10048 (default_libc_feholdexcept): New.
10049 (default_libc_feholdexcept_setround): New.
10050 (default_libc_fesetenv, default_libc_feupdateenv): New.
10051 (libc_feholdexcept): Only define if undefined.
10052 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10053 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10054 (libc_feholdexcept_setroundl): Likewise.
10055 (libc_feholdexcept_setround_53bit): Likewise.
10056 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10057 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10058 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10059 (libc_feupdateenv_53bit): Likewise.
10060 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10061 (libc_feholdexcept): Convert from macro to inline function.
10062 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10063 (libc_fesetenv, libc_feupdateenv): Likewise.
10065 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10066 not previously defined.
10067 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10068 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10069 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10070 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10071 * sysdeps/ieee754/flt-32/math_private.h: New file.
10072 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10073 math_private.h below SET_FLOAT_WORD.
10074 (__isnan, __isinf_ns, __finite): Remove.
10075 (__isnanf, __isinf_nsf, __finitef): Remove.
10077 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10081 2012-03-17 David S. Miller <davem@davemloft.net>
10084 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10087 2012-03-16 David S. Miller <davem@davemloft.net>
10089 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10093 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10095 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10096 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10097 sysdep_routines when subdir is sysvipc.
10098 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10099 __getshmlba helper.
10101 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10103 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10105 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10108 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10110 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10111 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10112 (__lround): Renamed to ...
10113 (__llround): This. Replace long int with long long int.
10114 Define lround functions as aliases of llround functions.
10115 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10117 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10119 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10120 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10121 adresses to uintptr_t. Replace "long int" and "unsigned long
10122 int" with "greg_t" on va_arg.
10124 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10126 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10127 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10129 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10130 Move e_machine check before EI_CLASS check. Handle x32
10131 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10132 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10133 SKIP_EM_IA_64 and include
10134 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10136 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10137 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10138 (add_system_dir): New macro.
10140 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10141 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10143 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10154 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10156 * math/w_j0f.c (j0f): Likewise.
10158 * math/w_j0l.c (__j0l): Likewise.
10160 * math/w_j1.c (j1): Likewise.
10162 * math/w_j1f.c (j1f): Likewise.
10164 * math/w_j1l.c (__j1l): Likewise.
10166 * math/w_jn.c (jn): Likewise.
10168 * math/w_jnf.c (jnf): Likewise.
10170 * math/w_jnl.c (__jnl): Likewise.
10172 * math/libm-test.inc (j0_test): Add more tests.
10173 (j1_test): Likewise.
10174 (jn_test): Likewise. Add trailing semicolon to existing test.
10175 (y0_test): Likewise.
10176 (y1_test): Likewise.
10177 * sysdeps/i386/fpu/libm-test-ulps: Update.
10178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10182 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10183 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10184 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10185 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10186 (__tanl): Set errno for infinite argument.
10187 * sysdeps/i386/fpu/mptan.c: Remove.
10188 * sysdeps/i386/fpu/s_tan.S: Likewise.
10189 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10190 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10191 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10192 * math/libm-test.inc (tan_test): Add more tests and enable more
10193 tests for double and long double.
10194 * sysdeps/i386/fpu/libm-test-ulps: Update.
10195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10197 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10199 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10200 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10202 2012-03-16 Roland McGrath <roland@hack.frob.com>
10204 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10205 * configure.in: Use it for both main tree and add-ons.
10206 * configure: Regenerated.
10208 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10210 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10212 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10214 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10218 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10219 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10222 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10224 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10225 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10226 != 0 for prec == 2.
10227 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10228 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10229 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10230 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10231 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10232 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10233 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10234 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10235 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10236 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10237 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10238 * math/libm-test.inc (cos_test): Add more tests and enable more
10239 tests for long double.
10240 (sin_test): Likewise.
10241 (sincos_test): Likewise.
10242 * sysdeps/i386/fpu/libm-test-ulps: Update.
10243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10245 2012-03-16 David S. Miller <davem@davemloft.net>
10247 * sysdeps/sparc/fpu/math_private.h: New file.
10249 2012-03-15 David S. Miller <davem@davemloft.net>
10251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10261 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10265 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10266 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10268 * sysdeps/sparc/sparc-ifunc.h: New file.
10269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10293 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10295 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10296 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10307 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10308 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10309 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10310 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10312 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10314 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10316 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10320 2012-03-15 Andreas Jaeger <aj@suse.de>
10323 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10324 ieee754/flt-32 implementation for sin, cos and sincos.
10325 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10326 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10327 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10328 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10329 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10330 ieee754/flt-32 implementation for tan.
10332 * math/libm-test.inc (cos_test): Enable some large input tests for
10334 (sin_test): Likewise.
10335 (sincos_test): Likewise.
10336 (tan_test): Add tests for large input.
10338 * sysdeps/i386/fpu/libm-test-ulps: Update.
10340 2012-03-15 Andreas Jaeger <aj@suse.de>
10343 * math/libm-test.inc (cos_test): Add more test cases.
10344 (sin_test): Likewise.
10345 (sincos_test): Likewise.
10347 2012-03-15 Andreas Jaeger <aj@suse.de>
10350 * math/libm-test.inc (cos_test): Add a test case for large input
10352 (sin_test): Likewise.
10353 (sincos_test): Likewise.
10355 2012-03-15 Andreas Jaeger <aj@suse.de>,
10356 Joseph Myers <joseph@codesourcery.com>
10359 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
10360 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10361 * sysdeps/i386/fpu/branred.c: Likewise.
10362 * sysdeps/i386/fpu/dosincos.c: Likewise.
10363 * sysdeps/i386/fpu/mpa.c: Likewise.
10364 * sysdeps/i386/fpu/s_cos.S: Likewise.
10365 * sysdeps/i386/fpu/s_sin.S: Likewise.
10366 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10367 * sysdeps/i386/fpu/sincos32.c: Likewise.
10369 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10371 (libc_feupdateenv_53bit): Define.
10372 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10374 (libc_feupdateenv_53bit): Define.
10376 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10377 53 bit (without extend i386 double precision).
10379 * math/libm-test.inc (sincos_test): Add tests for large input.
10383 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10385 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10389 2012-03-15 David S. Miller <davem@davemloft.net>
10391 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10392 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10393 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10394 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
10406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
10409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
10412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
10415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10418 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10419 fmin/fmax sysdep routines.
10420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10422 2012-03-14 David S. Miller <davem@davemloft.net>
10424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10428 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10429 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10430 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10431 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10446 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10447 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10448 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10449 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10450 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10451 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
10452 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
10457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
10460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
10463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
10466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
10469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
10484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
10487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
10490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
10493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10496 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10501 * sysdeps/sparc/configure.in: New file.
10502 * sysdeps/sparc/configure: Generate.
10503 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10504 * configure: Regenerate.
10505 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10506 * config.make.in (have-as-vis3): New.
10507 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10508 available use -Av9d instead of -Av9a.
10509 * sysdeps/sparc/sparc64/Makefile: Likewise.
10510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
10511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10519 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10520 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10521 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10522 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10523 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10525 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10526 fzeros/fnegs to load 0x80000000 into a float register instead of
10528 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10530 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10534 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10535 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10536 ($(inst_includedir)/bits/syscall.h): Remove rule.
10537 ($(objpfx)bits/syscall.d): Include instead of
10538 $(objpfx)syscall-list.d.
10539 (generated): Change syscall-list.h and syscall-list.d to
10540 bits/syscall.h and bits/syscall.d.
10542 2012-03-14 Roland McGrath <roland@hack.frob.com>
10545 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10547 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10550 * math/s_csqrt.c: Include <float.h>.
10551 (__csqrt): Scale large or subnormal inputs.
10552 * math/s_csqrtf.c: Likewise.
10553 * math/s_csqrtl.c: Likewise.
10554 * math/libm-test.inc (csqrt_test): Add more tests.
10555 * sysdeps/i386/fpu/libm-test-ulps: Update.
10556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10559 * math/libm-test.inc (hypot_test): Add more tests.
10561 2012-03-13 David S. Miller <davem@davemloft.net>
10564 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10565 double-precision for the calculation instead of scaling.
10567 2012-03-13 Joseph Myers <joseph@codesourcery.com>
10569 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10570 manipulate bits before adding and subtracting TWO52[sx].
10571 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10572 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10574 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10576 2012-03-13 David S. Miller <davem@davemloft.net>
10578 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10579 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10581 rtld-global-offsets.h
10582 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10584 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10587 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10589 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10590 'err' in the ifdef scope in which it is actually used.
10592 * nss/nss_db/db-init.c: Include string.h
10594 2012-03-12 David S. Miller <davem@davemloft.net>
10596 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10597 masking out of the most significant byte of random value used.
10598 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10599 Fix coding style in previous change.
10601 * sysdeps/unix/sysv/linux/kernel-features.h
10602 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10603 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10605 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10608 2012-03-11 David S. Miller <davem@davemloft.net>
10610 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10611 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10612 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10613 for 'resultvar' otherwise things get truncated on 64-bit.
10615 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10616 Fix masking out of the most significant byte of random value used.
10618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10620 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10624 2012-03-09 David S. Miller <davem@davemloft.net>
10626 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10627 variables with appropriate CPP guards.
10628 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10629 frame pointer, not the stack pointer. Correct layout comments. Fix test
10630 on resulting framesize and the management of the outregs buffer for pltexit.
10631 Preserve floating point return values across _dl_call_pltexit call.
10632 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10633 framesize and the management of the outregs buffer for pltexit.
10634 Preserve floating point return values across _dl_call_pltexit
10636 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10637 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10638 (print_exit): Fix format string for return register value.
10640 2012-03-10 Joseph Myers <joseph@codesourcery.com>
10642 * sunrpc/Makefile (others): Add rpcgen.
10643 ($(objpfx)rpcgen): Remove special build rule and dependency on
10645 * sunrpc/rpcgen.c: New file.
10647 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10650 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10651 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10652 * sysdeps/i386/crti.S: Likewise.
10653 * sysdeps/i386/crtn.S: Likewise.
10654 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10655 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10656 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10657 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10658 * sysdeps/sh/crti.S: Likewise.
10659 * sysdeps/sh/crtn.S: Likewise.
10660 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10663 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10665 * locale/programs/locfile-kw.gperf: Likewise.
10666 * locale/programs/charmap-kw.h: Regenerated.
10667 * locale/programs/locfile-kw.h: Likewise.
10670 * intl/plural.y: Replace FSF snail mail address with URL.
10671 * intl/plural.c: Regenerated.
10673 2012-03-09 Richard Henderson <rth@twiddle.net>
10675 * include/math_private.h: Remove file.
10676 * math/math_private.h: Move file ...
10677 * sysdeps/generic/math_private.h: ... here.
10679 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10680 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10681 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10683 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10684 and <math_private.h>.
10685 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10686 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10687 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10688 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10689 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10690 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10691 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10692 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10693 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10697 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10698 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10702 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10703 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10707 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10711 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10712 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10714 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10715 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10716 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10717 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10718 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10719 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10720 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10721 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10722 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10723 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10724 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10725 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10726 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10727 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10728 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10729 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10730 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10731 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10732 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10733 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10734 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10735 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10736 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10737 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10738 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10739 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10740 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10741 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10742 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10743 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10744 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10745 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10746 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10747 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10764 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10765 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10766 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10767 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10768 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10769 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10770 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10771 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10772 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10773 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10774 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10775 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10776 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10777 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10778 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10779 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10780 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10781 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10782 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10783 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10784 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10785 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10786 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10787 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10788 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10789 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10790 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10791 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10792 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10793 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10794 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10795 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10796 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10797 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10798 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10799 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10800 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10801 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10802 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10803 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10804 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10805 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10806 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10807 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10808 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10809 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10810 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10811 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10812 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10813 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10814 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10815 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10816 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10817 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10818 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10819 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10820 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10821 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10822 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10823 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10824 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10825 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10826 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10827 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10828 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10829 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10830 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10831 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10832 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10833 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10834 * sysdeps/ieee754/k_standard.c: Likewise.
10835 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10836 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10837 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10838 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10839 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10840 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10841 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10842 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10843 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10844 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10845 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10846 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10847 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10848 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10849 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10850 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10851 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10852 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10853 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10854 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10855 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10856 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10857 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10858 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10859 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10860 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10861 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10862 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10863 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10864 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10865 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10866 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10867 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10868 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10869 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10870 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10871 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10872 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10873 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10874 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10875 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10876 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10877 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10878 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10879 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10880 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10881 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10882 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10883 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10884 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10885 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10886 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10887 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10888 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10889 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10890 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10891 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10892 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10893 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10894 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10895 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10896 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10897 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10898 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10899 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10900 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10901 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10902 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10903 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10904 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10905 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10906 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10907 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10908 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10909 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10910 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10911 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10912 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10913 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10914 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10915 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10916 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10917 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10918 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10919 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10920 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10921 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10922 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10923 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10924 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10925 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10926 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10927 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10928 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10929 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10930 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10931 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10932 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10933 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10934 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10935 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10936 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10937 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10938 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10939 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10940 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10941 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10942 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10943 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10944 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10945 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10946 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10947 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10948 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10949 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10950 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10951 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10952 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10953 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10954 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10955 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10956 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10957 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10958 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10959 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10960 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10961 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10962 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10963 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10964 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10965 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10966 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10967 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10968 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10969 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10970 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10971 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10972 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10973 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10974 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10975 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10976 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10977 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10978 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10979 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10980 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10981 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10982 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10983 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10984 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10985 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10986 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10987 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10988 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10989 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10990 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10991 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10992 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10993 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10994 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10995 * sysdeps/ieee754/s_lib_version.c: Likewise.
10996 * sysdeps/ieee754/s_matherr.c: Likewise.
10997 * sysdeps/ieee754/s_signgam.c: Likewise.
10998 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10999 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11000 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11001 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11002 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11003 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11004 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11005 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11006 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11007 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11008 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11009 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11010 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11011 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11012 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11013 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11014 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11015 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11016 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11017 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11018 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11020 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11022 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11023 * sunrpc/rpc_main.c: Likewise.
11024 * sunrpc/rpc_svcout.c: Likewise.
11026 2012-03-09 David S. Miller <davem@davemloft.net>
11028 * include/math_private.h: New file.
11030 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11032 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11033 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11034 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11035 from <bits/socket_type.h>.
11036 (enum __socket_type): Don't define here.
11037 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11039 bits/socket_type.h.
11042 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11043 checking __USE_GNU.
11045 * Makerules ($(inst_includedir)/%.h): New rule.
11046 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11047 (install-others): Remove variable setting.
11048 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11050 2012-03-08 Richard Henderson <rth@twiddle.net>
11052 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11053 from macro to inline function; merge with the
11054 !__LIBC_INTERNAL_MATH_INLINES version.
11055 (__ieee754_sqrtf): Likewise.
11057 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11058 to inline function.
11059 (__rintf, __floor, __floorf): Likewise.
11061 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11062 macro to inline function.
11063 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11065 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11066 not <math/math_private.h>.
11068 2012-03-08 David S. Miller <davem@davemloft.net>
11070 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11072 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11074 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11076 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11078 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11079 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11081 2012-03-08 Ulrich Drepper <drepper@gmail.com>
11083 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11084 be defined individually, they must be defined as a block. Define
11085 S for printing a string instead of hidint the different by using a
11086 macro for adding the 'l'.
11087 * stdio-common/tst-fphex-wide.c: Adjust.
11089 2012-03-07 Marek Polacek <polacek@redhat.com>
11091 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11093 2012-03-08 Marek Polacek <polacek@redhat.com>
11096 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11097 * stdio-common/tst-fphex.c: Define a few macros to make the
11098 test reusable. Use them.
11099 * stdio-common/tst-fphex-wide.c: New file.
11101 2012-03-08 Joseph Myers <joseph@codesourcery.com>
11104 * manual/macros.texi (gnusystems): New macro.
11105 (nongnusystems): Likewise.
11106 (gnulinuxhurdsystems): Likewise.
11107 (gnuhurdsystems): Likewise..
11108 (gnulinuxsystems): Likewise.
11109 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11110 variants of the GNU system, not "GNU system".
11111 * manual/conf.texi: Likewise.
11112 * manual/errno.texi: Likewise. Update example of errno macro
11114 * manual/filesys.texi: Likewise.
11115 (getumask): Document as specific to GNU/Hurd.
11116 * manual/install.texi: Likewise. Reword some references to
11118 * manual/intro.texi: Likewise.
11119 * manual/io.texi: Likewise.
11120 (File Name Portability): Detail which constraints are inapplicable
11121 to all GNU systems and which are only inapplicable to GNU/Hurd.
11122 * manual/job.texi: Likewise.
11123 * manual/llio.texi: Likewise.
11124 (O_NOCTTY): Document as present on GNU/Linux.
11125 * manual/maint.texi: Likewise.
11126 * manual/memory.texi: Likewise.
11127 * manual/pattern.texi: Likewise.
11128 * manual/pipe.texi: Likewise.
11129 * manual/process.texi: Likewise.
11130 * manual/resource.texi: Likewise.
11131 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11133 * manual/setjmp.texi: Likewise.
11134 * manual/signal.texi: Likewise.
11135 * manual/startup.texi: Likewise.
11136 * manual/stdio.texi: Likewise.
11137 * manual/terminal.texi: Likewise.
11138 (ONLCR): Document as POSIX.
11139 (OXTABS): Document availability on GNU/Linux as XTABS.
11140 (ONOEOT): Document availability separately from other bits.
11141 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11142 * manual/time.texi: Likewise.
11143 * manual/users.texi: Likewise.
11144 * INSTALL: Regenerated.
11145 * sysdeps/gnu/errlist.c: Regenerated.
11147 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11148 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11149 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11151 * configure: Regenerated.
11153 2012-03-07 Joseph Myers <joseph@codesourcery.com>
11155 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11156 default includes instead of AC_HEADER_CHECK.
11157 * sysdeps/i386/configure: Regenerated.
11160 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11161 * math/s_cacoshf.c (__cacoshf): Likewise.
11162 * math/s_cacoshl.c (__cacoshl): Likewise.
11163 * math/s_casinh.c (__casinh): Set signs of result from argument.
11164 * math/s_casinhf.c (__casinhf): Likewise.
11165 * math/s_casinhl.c (__casinhl): Likewise.
11166 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11167 (casinh_test): Add more tests.
11168 * sysdeps/i386/fpu/libm-test-ulps: Update.
11169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11171 2012-03-07 Ulrich Drepper <drepper@gmail.com>
11173 * po/zh_TW.po: Update from translation team.
11175 * login/Makefile (distribute): Remove variable.
11176 * catgets/Makefile: Likewise.
11177 * mach/Makefile: Likewise.
11178 * malloc/Makefile: Likewise.
11179 * misc/Makefile: Likewise.
11180 * iconv/Makefile: Likewise.
11181 * nscd/Makefile: Likewise.
11182 * hurd/Makefile: Likewise.
11183 * manual/Makefile: Likewise.
11184 * locale/Makefile: Likewise.
11185 * intl/Makefile: Likewise.
11186 * conform/Makefile: Likewise.
11187 * nss/Makefile: Likewise.
11188 * time/Makefile: Likewise.
11189 * soft-fp/Makefile: Likewise.
11190 * dirent/Makefile: Likewise.
11191 * gmon/Makefile: Likewise.
11192 * po/Makefile: Likewise.
11193 * rt/Makefile: Likewise.
11194 * socket/Makefile: Likewise.
11195 * math/Makefile: Likewise.
11196 * signal/Makefile: Likewise.
11197 * debug/Makefile: Likewise.
11198 * elf/Makefile: Likewise.
11199 * timezone/Makefile: Likewise.
11200 * stdlib/Makefile: Likewise.
11201 * iconvdata/Makefile: Likewise.
11202 * sunrpc/Makefile: Likewise.
11203 * io/Makefile: Likewise.
11204 * argp/Makefile: Likewise.
11205 * inet/Makefile: Likewise.
11206 * hesiod/Makefile: Likewise.
11207 * grp/Makefile: Likewise.
11208 * csu/Makefile: Likewise.
11209 * wctype/Makefile: Likewise.
11210 * crypt/Makefile: Likewise.
11211 * libio/Makefile: Likewise.
11212 * string/Makefile: Likewise.
11213 * nis/Makefile: Likewise.
11214 * resolv/Makefile: Likewise.
11215 * stdio-common/Makefile: Likewise.
11216 * wcsmbs/Makefile: Likewise.
11217 * dlfcn/Makefile: Likewise.
11218 * posix/Makefile: Likewise.
11221 * timezone/Makefile: Don't install timezone files, just the programs
11224 2012-03-06 Ulrich Drepper <drepper@gmail.com>
11226 * nss/databases.def: Add missing gshadow entry.
11228 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11230 2012-03-06 Marek Polacek <polacek@redhat.com>
11233 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11234 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11235 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11236 * stdio-common/tst-long-dbl-fphex.c: New file.
11238 2012-03-06 David S. Miller <davem@davemloft.net>
11240 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11241 (set_obp_int): New function.
11242 (get_obp_int): New function.
11243 (__get_clockfreq_via_dev_openprom): Likewise.
11244 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11245 Avoid unused variable warnings on 'val' and use builtin_expect.
11246 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11248 (INLINE_CLONE_SYSCALL): Likewise.
11250 2012-03-05 David S. Miller <davem@davemloft.net>
11252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11254 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11258 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11259 only for |x| >= 40.
11260 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11262 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
11264 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11265 Replace gettimeofday with __vdso_gettimeofday.
11267 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11268 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11269 __vdso_clock_gettime and __vdso_getcpu.
11271 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11272 time with __vdso_time.
11274 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11276 * manual/lang.texi (size_t): Note types to which size_t may be
11277 equivalent with the GNU C Library, but do not describe when
11278 differences between them are significant.
11280 2012-03-05 Andreas Jaeger <aj@suse.de>
11282 * sysdeps/i386/fpu/libm-test-ulps: Update.
11284 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11287 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11288 (__ieee754_pow): Save and restore rounding mode and use
11289 round-to-nearest for main computations.
11290 * math/libm-test.inc (pow_test_tonearest): New function.
11291 (pow_test_towardzero): Likewise.
11292 (pow_test_downward): Likewise.
11293 (pow_test_upward): Likewise.
11294 (main): Call the new functions.
11295 * sysdeps/i386/fpu/libm-test-ulps: Update.
11296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11299 * math/libm-test.inc (cosh_test_tonearest): New function.
11300 (cosh_test_towardzero): Likewise.
11301 (cosh_test_downward): Likewise.
11302 (cosh_test_upward): Likewise.
11303 (sinh_test_tonearest): Likewise.
11304 (sinh_test_towardzero): Likewise.
11305 (sinh_test_downward): Likewise.
11306 (sinh_test_upward): Likewise.
11307 (main): Call the new functions.
11308 * sysdeps/i386/fpu/libm-test-ulps: Update.
11309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11311 2012-03-05 Tom de Vries <tom@codesourcery.com>
11313 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11314 default stack guard is set in last bytes.
11315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11317 2012-03-05 Kees Cook <keescook@chromium.org>
11319 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
11322 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11323 possibly allocate from heap instead of stack.
11324 * stdio-common/bug-vfprintf-nargs.c: New file.
11325 * stdio-common/Makefile (tests): Add nargs overflow test.
11327 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11331 2012-03-03 Marek Polacek <polacek@redhat.com>
11333 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11334 * math/math_private.h: Likewise.
11335 * stdlib/tst-strtod.c: Likewise.
11336 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11337 * sysdeps/x86_64/bits/atomic.h: Likewise.
11339 2012-03-02 David S. Miller <davem@davemloft.net>
11341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11345 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11346 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11347 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11348 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11350 2012-03-02 Roland McGrath <roland@hack.frob.com>
11353 * manual/examples/README: New file, says the example source files
11354 can be used under GPL>=2.
11355 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11356 line containing just "*/".
11357 * manual/examples/add.c: Add copyright header (GPL>=2).
11358 * manual/examples/argp-ex1.c: Likewise.
11359 * manual/examples/argp-ex2.c: Likewise.
11360 * manual/examples/argp-ex3.c: Likewise.
11361 * manual/examples/argp-ex4.c: Likewise.
11362 * manual/examples/atexit.c: Likewise.
11363 * manual/examples/db.c: Likewise.
11364 * manual/examples/dir.c: Likewise.
11365 * manual/examples/dir2.c: Likewise.
11366 * manual/examples/execinfo.c: Likewise.
11367 * manual/examples/filecli.c: Likewise.
11368 * manual/examples/filesrv.c: Likewise.
11369 * manual/examples/fmtmsgexpl.c: Likewise.
11370 * manual/examples/genpass.c: Likewise.
11371 * manual/examples/inetcli.c: Likewise.
11372 * manual/examples/inetsrv.c: Likewise.
11373 * manual/examples/isockad.c: Likewise.
11374 * manual/examples/longopt.c: Likewise.
11375 * manual/examples/memopen.c: Likewise.
11376 * manual/examples/memstrm.c: Likewise.
11377 * manual/examples/mkfsock.c: Likewise.
11378 * manual/examples/mkisock.c: Likewise.
11379 * manual/examples/mygetpass.c: Likewise.
11380 * manual/examples/pipe.c: Likewise.
11381 * manual/examples/popen.c: Likewise.
11382 * manual/examples/rprintf.c: Likewise.
11383 * manual/examples/search.c: Likewise.
11384 * manual/examples/select.c: Likewise.
11385 * manual/examples/setjmp.c: Likewise.
11386 * manual/examples/sigh1.c: Likewise.
11387 * manual/examples/sigusr.c: Likewise.
11388 * manual/examples/stpcpy.c: Likewise.
11389 * manual/examples/strdupa.c: Likewise.
11390 * manual/examples/strftim.c: Likewise.
11391 * manual/examples/strncat.c: Likewise.
11392 * manual/examples/subopt.c: Likewise.
11393 * manual/examples/swapcontext.c: Likewise.
11394 * manual/examples/termios.c: Likewise.
11395 * manual/examples/testopt.c: Likewise.
11396 * manual/examples/testpass.c: Likewise.
11397 * manual/examples/timeval_subtract.c: Likewise.
11400 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11402 * manual/timeval_subtract.c.texi: ... here, new file.
11404 2012-03-02 David S. Miller <davem@davemloft.net>
11406 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11408 2012-03-02 Joseph Myers <joseph@codesourcery.com>
11411 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11412 (__sin): Save and restore rounding mode and use round-to-nearest
11413 for all computations.
11414 (__cos): Save and restore rounding mode and use round-to-nearest
11415 for all computations.
11416 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11418 (tan): Save and restore rounding mode and use round-to-nearest for
11420 * math/libm-test.inc (cos_test_tonearest): New function.
11421 (cos_test_towardzero): Likewise.
11422 (cos_test_downward): Likewise.
11423 (cos_test_upward): Likewise.
11424 (sin_test_tonearest): Likewise.
11425 (sin_test_towardzero): Likewise.
11426 (sin_test_downward): Likewise.
11427 (sin_test_upward): Likewise.
11428 (tan_test_tonearest): Likewise.
11429 (tan_test_towardzero): Likewise.
11430 (tan_test_downward): Likewise.
11431 (tan_test_upward): Likewise.
11432 (main): Call the new functions.
11433 * sysdeps/i386/fpu/libm-test-ulps: Update.
11434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11437 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11438 small n, then large n, before computing and testing k+n.
11439 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11440 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11442 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11444 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11445 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11446 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11447 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11448 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11449 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11450 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11451 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11452 * math/libm-test.inc (scalbn_test): Add more tests.
11453 (scalbln_test): Likewise.
11455 * manual/filesys.texi (mode_t): Describe constraints on size and
11456 signedness, not exact equivalence to a particular type.
11458 (ino64_t): Likewise.
11460 (nlink_t): Likewise.
11461 (blkcnt_t): Likewise.
11462 (blkcnt64_t): Likewise.
11463 * manual/llio.texi (off_t): Likewise.
11466 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11467 (__ieee754_exp): Save and restore rounding mode and use
11468 round-to-nearest for all computations.
11469 * math/libm-test.inc (exp_test_tonearest): New function.
11470 (exp_test_towardzero): Likewise.
11471 (exp_test_downward): Likewise.
11472 (exp_test_upward): Likewise.
11473 (main): Call the new functions.
11474 * sysdeps/i386/fpu/libm-test-ulps: Update.
11475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11477 2012-03-01 Chris Demetriou <cgd@google.com>
11479 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11480 have predictable order.
11482 2012-03-01 David S. Miller <davem@davemloft.net>
11484 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11486 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11487 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11488 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11489 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11491 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11492 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11493 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11495 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11496 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11497 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11498 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11499 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11503 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11504 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11505 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11507 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11508 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11509 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11510 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11511 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11512 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11513 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11514 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11515 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11516 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11517 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11518 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11519 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11520 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11521 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11522 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11523 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11524 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11525 * sysdeps/sparc/elf/configure: Regenerated.
11527 2012-03-01 Joseph Myers <joseph@codesourcery.com>
11529 * configure.in (AS, LD): Require binutils 2.20 or later.
11530 * configure: Regenerated.
11531 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11532 as required minimum version.
11533 * INSTALL: Regenerated.
11537 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11538 before squaring exponent.
11539 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11540 bottom long double and 27 bits of top long double before squaring
11542 * math/libm-test.inc (erfc_test): Add more tests.
11543 * sysdeps/i386/fpu/libm-test-ulps: Update.
11544 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11547 2012-03-01 Kai Tietz <ktietz@redhat.com>
11549 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11550 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11551 containing bit-fields.
11552 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11553 * soft-fp/single.h (_FP_UNION_S): Likewise.
11554 * soft-fp/double.h (_FP_UNION_D): Likewise.
11556 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11559 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11560 not include ../strcmp.S.
11561 [USE_AS_STRNCASECMP_L]: Likewise.
11562 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11563 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11564 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11565 (__strncasecmp_l_ia32): Define as alias to
11566 __strncasecmp_l_nonascii.
11569 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11570 * sysdeps/i386/fpu/libm-test-ulps: Update.
11571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11573 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11576 2012-02-29 Jeff Law <law@redhat.com>
11578 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11579 out of bounds read.
11581 2012-02-29 Marek Polacek <polacek@redhat.com>
11584 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11585 * elf/Makefile: Add rules to run tst-unused-dep.out.
11587 2012-02-28 David S. Miller <davem@davemloft.net>
11589 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11590 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11591 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11592 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11593 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11594 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11596 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11598 * math/libm-test.inc (llround_test): Move one test from
11599 lround_test. Use TEST_f_L in moved test.
11600 (lround_test): Move misplaced test to llround_test. Add testcase
11603 2012-02-28 Ulrich Drepper <drepper@gmail.com>
11605 * sysdeps/x86_64/fpu/e_expf.S: New file.
11606 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11608 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11611 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11612 of remain_len that may cause incomplete multi-byte character and
11614 * posix/bug-regex33.c: New file.
11615 * posix/Makefile (tests): Add bug-regex33.
11617 2012-02-28 Joseph Myers <joseph@codesourcery.com>
11619 * manual/macros.texi: New file.
11620 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11621 * manual/libc.texinfo: Include macros.texi.
11622 * manual/creatute.texi: Likewise.
11623 * manual/install.texi: Likewise.
11624 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11625 @glibcadj{} in references to the GNU C Library.
11626 * manual/charset.texi: Likewise.
11627 * manual/conf.texi: Likewise.
11628 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11629 when not using those macros.
11630 * manual/creature.texi: Likewise.
11631 * manual/crypt.texi: Likewise.
11632 * manual/errno.texi: Likewise.
11633 * manual/filesys.texi: Likewise.
11634 * manual/header.texi: Likewise.
11635 * manual/install.texi: Likewise.
11636 * manual/intro.texi: Likewise.
11637 * manual/io.texi: Likewise.
11638 * manual/job.texi: Likewise.
11639 * manual/lang.texi: Likewise.
11640 * manual/libc.texiinfo: Likewise.
11641 * manual/llio.texi: Likewise.
11642 * manual/locale.texi: Likewise.
11643 * manual/maint.texi: Likewise.
11644 * manual/math.texi: Likewise.
11645 * manual/memory.texi: Likewise.
11646 * manual/message.texi: Likewise.
11647 * manual/nss.texi: Likewise.
11648 * manual/pattern.texi: Likewise.
11649 * manual/process.texi: Likewise.
11650 * manual/resource.texi: Likewise.
11651 * manual/search.texi: Likewise.
11652 * manual/setjmp.texi: Likewise.
11653 * manual/signal.texi: Likewise.
11654 * manual/socket.texi: Likewise.
11655 * manual/startup.texi: Likewise.
11656 * manual/stdio.texi: Likewise.
11657 * manual/string.texi: Likewise.
11658 * manual/sysinfo.texi: Likewise.
11659 * manual/syslog.texi: Likewise.
11660 * manual/terminal.texi: Likewise.
11661 * manual/time.texi: Likewise.
11662 * manual/users.texi: Likewise.
11663 * INSTALL: Regenerated.
11664 * NOTES: Regenerated.
11665 * sysdeps/gnu/errlist.c: Regenerated.
11667 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11669 * include/dirent.h: Include <dirstream.h> before
11672 2012-02-28 David S. Miller <davem@davemloft.net>
11674 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11675 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11676 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11677 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11679 2012-02-27 David S. Miller <davem@davemloft.net>
11681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11683 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11684 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11687 frame pointer instead of stack pointer relative arg slot.
11688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11689 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11690 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11692 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11695 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11697 2012-02-27 David S. Miller <davem@davemloft.net>
11699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11703 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11704 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11705 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11706 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11708 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11710 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11711 later. Allow versions 5-9.
11712 * configure: Regenerated.
11713 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11714 required minimum version and 4.6 as recommended version. Do not
11715 mention bugs in GCC 2.7 and 2.8.
11716 * INSTALL: Regenerated.
11718 2012-02-27 David S. Miller <davem@davemloft.net>
11720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11724 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11725 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11726 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11727 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11729 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11730 manipulate bits before adding and subtracting TWO112[sx].
11731 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11733 2012-02-27 Roland McGrath <roland@hack.frob.com>
11736 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11737 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11738 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11739 being in POSIX, because they are in 1003.1-2008.
11741 * rt/tst-aio.c: Include <fcntl.h>.
11742 * rt/tst-aio7.c: Likewise.
11743 * rt/tst-aio64.c: Likewise.
11745 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11747 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11749 * manual/install.texi (--with-headers): Describe headers as
11750 interface headers, not private headers.
11751 (Specific advice for GNU/Linux systems): Describe use of headers
11752 from "make headers_install", not private headers from older
11754 * INSTALL: Regenerated.
11755 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11757 * sysdeps/unix/sysv/linux/configure: Regenerated.
11759 * manual/llio.texi (fclean): Remove documentation.
11761 * manual/Makefile (libc-texi-generated): New variable. Include
11763 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11764 $(libc-texi-generated), not duplicated list of files.
11765 (version.texi, stamp-version): New rules.
11766 (realclean): Remove $(libc-texi-generated), not individual files
11767 from that list. Do not remove dir-add.texinfo.
11768 * manual/libc.texinfo: Comment out uses of edition numbers and
11769 references to printed manual. Remove last-updated dates.
11770 (EDITION): Comment out.
11772 (VERSION, UPDATED): Remove.
11773 (version.texi): Include.
11775 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11777 * sysdeps/posix/spawni.c: Include <signal.h>.
11778 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11779 * sysdeps/pthread/aio_fsync.c: Likewise.
11781 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11783 * conform/Makefile (tests): Run only when not cross-compiling and
11784 when fast-check is not defined.
11786 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11787 * conform/data/limits.h-data: Fixes for POSIX2008.
11788 * conform/run-conformtest.sh: Run all tests.
11789 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11791 * include/bits/dlfcn.h: Likewise.
11792 * include/langinfo.h: Likewise.
11793 * include/monetary.h: Likewise.
11794 * include/sys/poll.h: Likewise.
11796 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11798 * posix/spawn.h: Define __need_sigset_t.
11799 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11800 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11801 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11802 to get sigevent_t only.
11803 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11804 only for __USE_GNU.
11805 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11806 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11807 process_vm_writev only for __USE_GNU.
11808 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11810 * conform/Makefile: For now ignore errors from run-conformtest.
11811 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11812 POSIX to avoid namespace pollution. Don't prepend headers.
11813 * conform/data/aio.h-data: Fixes for POSIX testing.
11814 * conform/data/fcntl.h-data: Likewise.
11815 * conform/data/glob.h-data: Likewise.
11816 * conform/data/grp.h-data: Likewise.
11817 * conform/data/pthread.h-data: Likewise.
11818 * conform/data/pwd.h-data: Likewise.
11819 * conform/data/signal.h-data: Likewise.
11820 * conform/data/spawn.h-data: Likewise.
11821 * conform/data/stdio.h-data: Likewise.
11822 * conform/data/stdlib.h-data: Likewise.
11823 * conform/data/stropts.h-data: Likewise.
11824 * conform/data/sys/mman.h-data: Likewise.
11825 * conform/data/sys/stat.h-data: Likewise.
11826 * conform/data/sys/types.h-data: Likewise.
11827 * conform/data/sys/wait.h-data: Likewise.
11828 * conform/data/time.h-data: Likewise.
11829 * conform/data/unistd.h-data: Likewise.
11830 * conform/data/utime.h-data: Likewise.
11832 * io/sys/stat.h: fchmod was always in POSIX.
11833 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11834 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11835 * rt/aio.h: Define __need_timespec before including <time.h>.
11836 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11837 struct. Add forward declaration of pthread_attr_t and use it in
11839 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11840 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11841 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11842 always remove CLK_TCK definition.
11844 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11846 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11848 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11850 * conform/run-conformtest.sh: New file.
11851 * conform/Makefile: Run run-conformtest for tests.
11852 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11855 * conform/data/uchar.h-data: New file.
11856 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11857 * conform/data/arpa/inet.h-data: Likewise.
11858 * conform/data/assert.h-data: Likewise.
11859 * conform/data/complex.h-data: Likewise.
11860 * conform/data/cpio.h-data: Likewise.
11861 * conform/data/ctype.h-data: Likewise.
11862 * conform/data/dirent.h-data: Likewise.
11863 * conform/data/dlfcn.h-data: Likewise.
11864 * conform/data/errno.h-data: Likewise.
11865 * conform/data/fcntl.h-data: Likewise.
11866 * conform/data/float.h-data: Likewise.
11867 * conform/data/fmtmsg.h-data: Likewise.
11868 * conform/data/fnmatch.h-data: Likewise.
11869 * conform/data/ftw.h-data: Likewise.
11870 * conform/data/glob.h-data: Likewise.
11871 * conform/data/grp.h-data: Likewise.
11872 * conform/data/iconv.h-data: Likewise.
11873 * conform/data/inttypes.h-data: Likewise.
11874 * conform/data/langinfo.h-data: Likewise.
11875 * conform/data/libgen.h-data: Likewise.
11876 * conform/data/limits.h-data: Likewise.
11877 * conform/data/locale.h-data: Likewise.
11878 * conform/data/math.h-data: Likewise.
11879 * conform/data/monetary.h-data: Likewise.
11880 * conform/data/mqueue.h-data: Likewise.
11881 * conform/data/ndbm.h-data: Likewise.
11882 * conform/data/net/if.h-data: Likewise.
11883 * conform/data/netdb.h-data: Likewise.
11884 * conform/data/netinet/in.h-data: Likewise.
11885 * conform/data/nl_types.h-data: Likewise.
11886 * conform/data/poll.h-data: Likewise.
11887 * conform/data/pthread.h-data: Likewise.
11888 * conform/data/pwd.h-data: Likewise.
11889 * conform/data/regex.h-data: Likewise.
11890 * conform/data/sched.h-data: Likewise.
11891 * conform/data/search.h-data: Likewise.
11892 * conform/data/semaphore.h-data: Likewise.
11893 * conform/data/setjmp.h-data: Likewise.
11894 * conform/data/signal.h-data: Likewise.
11895 * conform/data/spawn.h-data: Likewise.
11896 * conform/data/stdarg.h-data: Likewise.
11897 * conform/data/stdio.h-data: Likewise.
11898 * conform/data/stdlib.h-data: Likewise.
11899 * conform/data/string.h-data: Likewise.
11900 * conform/data/strings.h-data: Likewise.
11901 * conform/data/stropts.h-data: Likewise.
11902 * conform/data/sys/ipc.h-data: Likewise.
11903 * conform/data/sys/mman.h-data: Likewise.
11904 * conform/data/sys/msg.h-data: Likewise.
11905 * conform/data/sys/resource.h-data: Likewise.
11906 * conform/data/sys/select.h-data: Likewise.
11907 * conform/data/sys/sem.h-data: Likewise.
11908 * conform/data/sys/shm.h-data: Likewise.
11909 * conform/data/sys/socket.h-data: Likewise.
11910 * conform/data/sys/stat.h-data: Likewise.
11911 * conform/data/sys/statvfs.h-data: Likewise.
11912 * conform/data/sys/time.h-data: Likewise.
11913 * conform/data/sys/timeb.h-data: Likewise.
11914 * conform/data/sys/times.h-data: Likewise.
11915 * conform/data/sys/types.h-data: Likewise.
11916 * conform/data/sys/uio.h-data: Likewise.
11917 * conform/data/sys/un.h-data: Likewise.
11918 * conform/data/sys/utsname.h-data: Likewise.
11919 * conform/data/sys/wait.h-data: Likewise.
11920 * conform/data/syslog.h-data: Likewise.
11921 * conform/data/tar.h-data: Likewise.
11922 * conform/data/termios.h-data: Likewise.
11923 * conform/data/utime.h-data: Likewise.
11924 * conform/data/utmpx.h-data: Likewise.
11925 * conform/data/varargs.h-data: Likewise.
11926 * conform/data/wchar.h-data: Likewise.
11927 * conform/data/wctype.h-data: Likewise.
11928 * conform/data/wordexp.h-data: Likewise.
11930 * include/stropts.h: New file.
11931 * include/uchar.h: New file.
11932 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11933 * include/assert.h: Likewise.
11934 * include/ctype.h: Likewise.
11935 * include/dirent.h: Likewise.
11936 * include/dlfcn.h: Likewise.
11937 * include/fcntl.h: Likewise.
11938 * include/fnmatch.h: Likewise.
11939 * include/glob.h: Likewise.
11940 * include/grp.h: Likewise.
11941 * include/libio.h: Likewise.
11942 * include/locale.h: Likewise.
11943 * include/math.h: Likewise.
11944 * include/net/if.h: Likewise.
11945 * include/netdb.h: Likewise.
11946 * include/netinet/in.h: Likewise.
11947 * include/pthread.h: Likewise.
11948 * include/pwd.h: Likewise.
11949 * include/regex.h: Likewise.
11950 * include/sched.h: Likewise.
11951 * include/search.h: Likewise.
11952 * include/setjmp.h: Likewise.
11953 * include/signal.h: Likewise.
11954 * include/stdio.h: Likewise.
11955 * include/stdlib.h: Likewise.
11956 * include/string.h: Likewise.
11957 * include/sys/cdefs.h: Likewise.
11958 * include/sys/mman.h: Likewise.
11959 * include/sys/msg.h: Likewise.
11960 * include/sys/resource.h: Likewise.
11961 * include/sys/select.h: Likewise.
11962 * include/sys/socket.h: Likewise.
11963 * include/sys/stat.h: Likewise.
11964 * include/sys/statvfs.h: Likewise.
11965 * include/sys/time.h: Likewise.
11966 * include/sys/times.h: Likewise.
11967 * include/sys/uio.h: Likewise.
11968 * include/sys/utsname.h: Likewise.
11969 * include/sys/wait.h: Likewise.
11970 * include/termios.h: Likewise.
11971 * include/time.h: Likewise.
11972 * include/ulimit.h: Likewise.
11973 * include/unistd.h: Likewise.
11974 * include/utime.h: Likewise.
11975 * include/wchar.h: Likewise.
11976 * include/wctype.h: Likewise.
11977 * include/wordexp.h: Likewise.
11979 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11981 * time/time.h: TIME_UTC must be a macro.
11982 Make timespec_get available for ISO C11 only as well.
11984 2012-02-24 Ulrich Drepper <drepper@gmail.com>
11986 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11987 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11989 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11991 * configure.in: Use -o not -a in test for unsupported multi-arch.
11993 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11995 * manual/texinfo.tex: Update to version 2012-01-19.16.
11997 2012-02-24 Joseph Myers <joseph@codesourcery.com>
11999 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12001 2012-02-24 Roland McGrath <roland@hack.frob.com>
12004 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12005 * manual/fdl-1.3.texi: New file.
12006 * manual/fdl-1.1.texi: File removed.
12009 * manual/libc.texinfo (FDL_VERSION): New @set.
12010 Use it for mention of FDL in cover text.
12011 (Documentation License): Use it in @include file name.
12013 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12014 Roland McGrath <roland@hack.frob.com>
12017 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12018 not LONG_LONG_MAX and LONG_LONG_MIN.
12019 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12020 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12022 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12024 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12028 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12029 manipulate bits before adding and subtracting TWO23[sx].
12030 * math/libm-test.inc (nearbyint_test): Add more tests.
12032 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12035 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12036 bits before adding and subtracting TWO23[sx].
12037 * math/libm-test.inc (rint_test): Add more tests.
12038 (rint_test_tonearest): Likewise.
12039 (rint_test_towardzero): Likewise.
12040 (rint_test_downward): Likewise.
12041 (rint_test_upward: Likewise.
12043 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12046 * include/stdc-predef.h: New file. Extracted from features.h.
12047 * include/features.h: Include stdc-predef.h.
12048 * Makefile (headers): Add stdc-predef.h.
12049 * CONFORMANCE (Compiler limitations): Update.
12051 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12053 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12055 2012-02-21 David S. Miller <davem@davemloft.net>
12057 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12058 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12060 2012-02-20 David S. Miller <davem@davemloft.net>
12062 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12063 using a normal save/restore sequence, rather than allocating a
12064 dummy stack frame just to store a frame pointer and restore.
12065 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12067 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12069 * manual/install.texi: Fix stray word in line-wrapped comment.
12071 2012-02-20 David S. Miller <davem@davemloft.net>
12073 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12074 both binutils and gcc support GOTDATA.
12076 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12077 "rd %pc" in the PIC register setup sequences.
12079 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12080 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12081 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12082 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12083 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12084 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12085 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12086 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12088 (SYSCALL_ERROR_HANDLER): Likewise.
12089 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12090 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12092 (SYSCALL_ERROR_HANDLER): Likewise.
12094 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12095 (HAVE_GCC_GOTDATA): New.
12096 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12097 relocation support in both binutils and gcc.
12098 * sysdeps/sparc/elf/configure: Regenerate.
12100 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12101 * sysdeps/sparc/sparc32/elf/configure: Delete.
12102 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12103 * sysdeps/sparc/sparc64/elf/configure: Delete.
12104 * sysdeps/sparc/elf/configure.in: New file.
12105 * sysdeps/sparc/elf/configure: Generate.
12107 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12108 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12109 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12110 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12111 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12113 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12115 * manual/install.texi: Do not mention specific glibc version
12117 * manual/libc.texinfo (VERSION, UPDATED): Update.
12118 (@copying): Use @copyright{} and range of years.
12120 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12123 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12124 [crti.S not in sysdirs] (generated): Do not append.
12125 [crti.S not in sysdirs] (omit-deps): Likewise.
12126 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12127 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12128 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12129 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12130 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12132 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12133 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12134 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12135 * csu/defs.awk: Remove file.
12136 * sysdeps/generic/initfini.c: Likewise.
12137 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12139 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12142 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12144 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12145 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12146 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12147 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12148 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12149 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12151 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12152 (__EPOLL_PACKED): Define to empty if not defined by
12154 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12158 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12160 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12161 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12162 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12163 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12165 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12169 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12171 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12173 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12174 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12175 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12178 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12180 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12181 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12183 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12185 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12186 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12188 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12190 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12193 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12195 * math/w_acos.c: Use non-signaling floating-point comparisons.
12196 * math/w_acosf.c: Likewise.
12197 * math/w_acosh.c: Likewise.
12198 * math/w_acoshf.c: Likewise.
12199 * math/w_acoshl.c: Likewise.
12200 * math/w_acosl.c: Likewise.
12201 * math/w_asin.c: Likewise.
12202 * math/w_asinf.c: Likewise.
12203 * math/w_asinl.c: Likewise.
12204 * math/w_atanh.c: Likewise.
12205 * math/w_atanhf.c: Likewise.
12206 * math/w_atanhl.c: Likewise.
12207 * math/w_exp2.c: Likewise.
12208 * math/w_exp2f.c: Likewise.
12209 * math/w_exp2l.c: Likewise.
12210 * math/w_j0.c: Likewise.
12211 * math/w_j0f.c: Likewise.
12212 * math/w_j0l.c: Likewise.
12213 * math/w_j1.c: Likewise.
12214 * math/w_j1f.c: Likewise.
12215 * math/w_j1l.c: Likewise.
12216 * math/w_jn.c: Likewise.
12217 * math/w_jnf.c: Likewise.
12218 * math/w_log.c: Likewise.
12219 * math/w_log10.c: Likewise.
12220 * math/w_log10f.c: Likewise.
12221 * math/w_log10l.c: Likewise.
12222 * math/w_log2.c: Likewise.
12223 * math/w_log2f.c: Likewise.
12224 * math/w_log2l.c: Likewise.
12225 * math/w_logf.c: Likewise.
12226 * math/w_logl.c: Likewise.
12227 * math/w_sqrt.c: Likewise.
12228 * math/w_sqrtf.c: Likewise.
12229 * math/w_sqrtl.c: Likewise.
12230 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12231 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12232 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12233 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12234 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12236 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12239 * manual/string.texi (strnlen): Use correct parameter name in
12240 equivalent expression.
12242 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12245 * manual/users.texi (seteuid): Consistently use neweuid for
12248 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12251 * manual/nss.texi (Services in the NSS configuration): Correct
12252 list of services in example configuration file.
12254 2012-02-19 Nick Bowler <nbowler@draconx.ca>
12257 * manual/arith.texi: Remove statements about negative zero
12258 behaving identically to zero.
12260 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12263 * manual/install.texi: Do not document upgrading from libc5.
12265 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12268 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12270 2012-02-18 David S. Miller <davem@davemloft.net>
12272 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12273 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12274 %o7 across the call.
12275 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12278 SETUP_PIC_REG_LEAF.
12279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12280 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12281 * sysdeps/sparc/crtn.S: Likewise.
12283 2012-02-17 Ulrich Drepper <drepper@gmail.com>
12285 * aout/Makefile: Remove.
12287 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12290 * manual/examples/argp-ex1.c (main): Format definition in GNU
12292 * manual/examples/argp-ex2.c (main): Likewise.
12293 * manual/examples/argp-ex3.c (main): Likewise.
12294 * manual/examples/argp-ex4.c (main): Likewise.
12295 * manual/examples/longopt.c (main): Use new-style prototype
12297 * manual/examples/strncat.c (main): Specify return type and use
12298 (void) for arguments.
12299 * manual/examples/subopt.c (main): Use char **argv argument.
12301 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12304 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12307 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12310 * manual/string.texi (strchr): Change when strchrnul is
12313 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12316 * manual/locale.texi (setlocale): Document LOCPATH.
12318 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12321 * manual/process.texi (execle): Move @dots{} before last argument.
12323 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
12326 * manual/charset.texi (Generic Charset Conversion): Fix typo
12327 (LC_TYPE -> LC_CTYPE).
12329 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12332 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12333 (scalbnf): Likewise.
12334 (scalbnl): Likewise.
12335 (scalbln): Likewise.
12336 (scalblnf): Likewise.
12337 (scalblnl): Likewise.
12338 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12339 (vwarnx): Likewise.
12342 * manual/filesys.texi (telldir): Use braces around return type.
12343 * manual/llio.texi (mmap): Add space after comma.
12344 (mmap64): Likewise.
12345 * manual/math.texi (jn): Use @var{} on parameter names.
12351 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12353 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12355 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12356 (sched_get_priority_max): Likewise.
12357 * manual/signal.texi (sigvec): Add space after comma.
12358 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12360 (if_indextoname): Likewise.
12361 (if_freenameindex): Likewise.
12362 (sendto): Use ',' instead of '.' in prototype.
12363 * manual/startup.texi (syscall): Use @dots{} instead of literal
12365 * manual/stdio.texi (__fpending): Separate initial words of
12366 paragraph from @deftypefun line.
12367 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12369 (vsyslog): Use @var{} on parameter names.
12370 * manual/terminal.texi (stty): Use @var{} on parameter names.
12371 * manual/users.texi (getutmp): Use @var{} on parameter names.
12372 (getutmpx): Likewise.
12374 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12377 * manual/stdio.texi (fopen): Fix typos in description of
12380 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12383 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12384 get clock_id definition.
12386 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
12389 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12390 (madvise): Cast every argument to void on its own.
12392 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12395 * manual/startup.texi (Exit Status): Fix typo.
12397 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12400 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12401 * manual/examples/argp-ex2.c: Likewise.
12402 * manual/examples/argp-ex3.c: Likewise.
12404 2012-02-16 Richard Henderson <rth@redhat.com>
12406 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12407 * sysdeps/s390/s390-32/initfini.c: Remove.
12408 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12409 * sysdeps/s390/s390-64/initfini.c: Remove.
12411 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12413 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12414 compiler output for sysdeps/generic/initfini.c.
12415 * sysdeps/sh/elf/initfini.c: Remove file.
12417 2012-02-16 David S. Miller <davem@davemloft.net>
12420 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12422 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12423 * sysdeps/sparc/crti.S: New file.
12424 * sysdeps/sparc/crtn.S: New file.
12425 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12426 * sysdeps/sparc/sparc64/Makefile: Likewise.
12428 2012-02-15 Mike Frysinger <vapier@gentoo.org>
12431 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12433 2012-02-15 Roland McGrath <roland@hack.frob.com>
12436 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12438 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12439 (write, read, close): Likewise.
12440 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12442 2012-02-15 Joseph Myers <joseph@codesourcery.com>
12444 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12445 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12446 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12447 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12449 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12453 2012-02-14 Marek Polacek <polacek@redhat.com>
12455 * sysdeps/x86_64/crti.S: New file.
12456 * sysdeps/x86_64/crtn.S: New file.
12457 * sysdeps/x86_64/elf/initfini.c: Remove file.
12459 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12461 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12462 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12463 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12464 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12466 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12470 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12472 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12473 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12474 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12475 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12477 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12481 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12483 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12484 __feraiseexcept instead of feraiseexcept.
12486 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12487 nanosleep invocations.
12488 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12489 strings, and add error checking for a nanosleep invocations.
12491 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12493 Replace FSF snail mail address with URLs, as per GNU coding standards.
12494 Most of the snail mail addresses were wrong anyway, and omitting
12495 them makes the source code easier to maintain. Almost all of the
12496 changes are to license notices and to locale LC_IDENTIFICATION
12497 addresses, except for this one:
12498 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12499 not its snail mail address.
12501 2012-02-09 Richard Henderson <rth@twiddle.net>
12503 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12504 of kernel-features.h.
12506 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12508 2012-02-08 Marek Polacek <polacek@redhat.com>
12510 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12511 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12512 * sysdeps/gnu/_G_config.h: Likewise.
12513 * sysdeps/generic/_G_config.h: Likewise.
12515 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12517 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12521 * sysdeps/powerpc/powerpc32/crti.S: New file.
12522 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12523 * sysdeps/powerpc/powerpc64/crti.S: New file.
12524 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12526 * Makeconfig (have-initfini): Don't set.
12527 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12528 * configure.in (nopic_initfini): Don't substitute.
12529 * config.h.in (HAVE_INITFINI): Don't #undef.
12530 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12531 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12533 2012-02-08 Joseph Myers <joseph@codesourcery.com>
12535 Support crti.S and crtn.S provided directly by architectures.
12536 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12537 [crti.S in sysdirs] (omit-deps): Likewise.
12538 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12539 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12540 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12541 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12542 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12543 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12544 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12545 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12546 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12547 compiler output for sysdeps/generic/initfini.c.
12548 * sysdeps/i386/elf/Makefile: Remove file.
12549 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12551 2012-02-07 Marek Polacek <polacek@redhat.com>
12553 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12554 * sysdeps/gnu/_G_config.h: Likewise.
12555 * sysdeps/mach/hurd/_G_config.h: Likewise.
12557 2012-02-07 Marek Polacek <polacek@redhat.com>
12559 * math/Makefile (tests): Add tst-CMPLX2.
12560 * math/tst-CMPLX2.c: New file.
12562 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12564 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12566 * math/libm-test.inc (jn_test): Add missing L suffix.
12568 2012-02-06 Marek Polacek <polacek@redhat.com>
12570 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12571 * sysdeps/i386/fpu/e_powf.S: Likewise.
12572 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12573 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12574 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12575 * sysdeps/i386/fpu/e_pow.S: Likewise.
12576 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12577 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12578 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12579 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12580 * sysdeps/i386/fpu/e_log2.S: Likewise.
12581 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12582 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12583 * sysdeps/i386/fpu/e_powl.S: Likewise.
12584 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12585 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12586 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12587 * sysdeps/i386/fpu/e_logl.S: Likewise.
12588 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12589 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12590 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12591 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12592 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12593 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12594 * sysdeps/i386/fpu/e_log.S: Likewise.
12595 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12596 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12597 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12598 * sysdeps/i386/fpu/e_logf.S: Likewise.
12599 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12600 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12601 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12602 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12603 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12604 * sysdeps/i386/fpu/e_log10.S: Likewise.
12605 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12606 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12607 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12608 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12609 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12610 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12611 * sysdeps/i386/asm-syntax.h: Likewise.
12612 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12613 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12614 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12615 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12616 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12617 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12618 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12619 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12620 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12621 * sysdeps/powerpc/sysdep.h: Likewise.
12622 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12623 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12625 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12628 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12630 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12632 * sysdeps/i386/sysdep.h: Include <features.h>.
12633 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12636 2012-02-05 Joseph Myers <joseph@codesourcery.com>
12638 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12640 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12643 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12645 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12646 (SETUP_PIC_REG): Use GET_PC_THUNK.
12647 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12650 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12652 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12653 for non-PIC compilation.
12654 (SETUP_PIC_REG): Add .p2align directive.
12655 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12656 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12657 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12658 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12659 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12660 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12661 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12662 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12663 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12664 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12665 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12666 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12667 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12668 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12669 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12670 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12671 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12672 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12673 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12674 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12675 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12676 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12677 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12678 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12679 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12680 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12681 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12682 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12683 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12684 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12685 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12686 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12687 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12688 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12689 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12690 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12691 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12692 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12693 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12694 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12695 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12697 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12699 * math/tst-CMPLX.c: Include <stdio.h>.
12701 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12703 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12705 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12706 * sysdeps/sparc/bits/mathdef.h: Likewise.
12708 2012-01-31 Marek Polacek <polacek@redhat.com>
12710 * libio/libio.h: Don't define _PARAMS.
12711 * locale/programs/config.h: Don't define PARAMS.
12712 * stdlib/strtol_l.c: Likewise.
12713 (__strtol_l): Remove PARAMS from the prototype.
12715 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12717 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12718 names. Just use the correct names. Remove unnecessary wrapper
12720 * malloc/arena.c: Likewise.
12721 * malloc/hooks.c: Likewise.
12723 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12724 ARENA_TEST says not to. Simplify test for creation of a new arena.
12725 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12727 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12729 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12731 (update_get_addr): New function.
12732 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12733 GET_ADDR_MODULE parameter.
12735 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12737 * crypt/cert.c: Remove __STDC__ conditionals.
12738 * crypt/crypt-entry.c: Likewise.
12739 * crypt/crypt_util.c: Likewise.
12740 * libio/filedoalloc.c: Likewise.
12741 * libio/fileops.c: Likewise.
12742 * libio/genops.c: Likewise.
12743 * libio/iofclose.c: Likewise.
12744 * libio/iofdopen.c: Likewise.
12745 * libio/iofopen.c: Likewise.
12746 * libio/iofopen64.c: Likewise.
12747 * libio/iogetdelim.c: Likewise.
12748 * libio/iopopen.c: Likewise.
12749 * libio/obprintf.c: Likewise.
12750 * libio/oldfileops.c: Likewise.
12751 * libio/oldiofclose.c: Likewise.
12752 * libio/oldiofdopen.c: Likewise.
12753 * libio/oldiofopen.c: Likewise.
12754 * libio/oldiopopen.c: Likewise.
12755 * libio/wfiledoalloc.c: Likewise.
12756 * libio/wgenops.c: Likewise.
12757 * locale/programs/xmalloc.c: Likewise.
12758 * misc/syslog.c: Likewise.
12759 * stdio-common/xbug.c: Likewise.
12760 * string/memchr.c: Likewise.
12761 * string/memcmp.c: Likewise.
12762 * string/memrchr.c: Likewise.
12763 * string/rawmemchr.c: Likewise.
12764 * sysdeps/posix/getcwd.c: Likewise.
12765 * time/strftime_l.c: Likewise.
12767 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12769 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12770 * config.make.in (config-cflags-sse2avx): Define.
12771 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12774 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12776 * scripts/config.guess: Update from upstream config git repository.
12777 * scripts/config.sub: Likewise.
12779 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12781 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12783 (R_TILEPRO_*, R_TILEGX_*): New macros.
12785 * scripts/firstversions.awk: Fix bug in version range handling.
12787 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12789 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12791 * include/sys/epoll.h: New file.
12792 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12795 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12797 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12798 Avoid unnecessary __WORDSIZE == 64 test.
12799 (fmaxf): Use VEX format if possible.
12804 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12805 * math/math_private.h: Remove libc_fegetround* and
12807 * sysdeps/i386/configure.in: Check for -msse2avx.
12808 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12809 also if SSE2AVX is defined.
12810 Remove libc_fegetround* and libc_fesetround*.
12811 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12812 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12813 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12815 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12816 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12817 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12818 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12819 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12821 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12823 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12825 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12827 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12829 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12832 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12834 * Makeconfig (libm): Define.
12835 * elf/Makefile: Add rules to build and run tst-relsort1.
12836 * elf/tst-relsort1.c: New file.
12837 * elf/tst-relsort1mod1.c: New file.
12838 * elf/tst-relsort1mod2.c: New file.
12840 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12842 * math/s_ldexp.c: Remove __STDC__ conditionals.
12843 * math/s_ldexpf.c: Likewise.
12844 * math/s_ldexpl.c: Likewise.
12845 * math/s_nextafter.c: Likewise.
12846 * math/s_nexttowardf.c: Likewise.
12847 * math/s_significand.c: Likewise.
12848 * math/s_significandf.c: Likewise.
12849 * math/s_significandl.c: Likewise.
12850 * math/w_jnl.c: Likewise.
12851 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12852 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12853 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12854 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12855 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12857 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12858 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12859 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12860 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12861 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12862 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12863 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12864 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12865 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12866 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12867 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12868 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12870 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12871 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12872 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12873 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12874 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12875 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12876 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12877 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12878 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12879 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12880 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12881 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12882 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12883 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12884 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12885 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12886 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12887 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12888 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12889 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12890 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12891 * sysdeps/ieee754/k_standard.c: Likewise.
12892 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12893 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12895 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12896 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12897 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12898 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12899 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12900 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12901 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12903 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12904 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12905 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12906 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12907 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12911 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12912 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12913 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12914 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12916 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12917 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12918 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12919 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12921 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12922 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12923 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12924 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12925 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12926 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12927 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12928 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12929 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12930 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12931 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12932 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12933 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12934 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12935 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12936 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12937 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12938 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12939 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12940 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12941 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12942 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12943 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12944 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12945 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12946 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12947 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12948 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12949 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12950 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12951 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12952 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12953 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12954 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12955 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12956 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12957 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12958 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12959 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12960 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12961 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12962 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12963 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12964 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12965 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12966 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12967 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12968 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12969 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12970 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12971 * sysdeps/ieee754/s_matherr.c: Likewise.
12972 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12973 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12975 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12977 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12979 * crypt/md5.h: Remove __STDC__ conditionals.
12980 * libio/libioP.h: Likewise.
12981 * locale/programs/config.h: Likewise.
12982 * sysdeps/generic/sysdep.h: Likewise.
12983 * sysdeps/i386/asm-syntax.h: Likewise.
12984 * sysdeps/s390/asm-syntax.h: Likewise.
12985 * sysdeps/unix/sysdep.h: Likewise.
12986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12989 2012-01-26 Joseph Myers <joseph@codesourcery.com>
12991 * libio/libio.h: Remove __STDC__ conditionals.
12992 * malloc/obstack.h: Likewise.
12993 * math/complex.h: Likewise.
12994 * math/math.h: Likewise.
12995 * sysdeps/generic/_G_config.h: Likewise.
12996 * sysdeps/gnu/_G_config.h: Likewise.
12997 * sysdeps/mach/hurd/_G_config.h: Likewise.
12998 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12999 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13000 * sysdeps/sparc/bits/mathdef.h: Likewise.
13002 2012-01-26 Ulrich Drepper <drepper@gmail.com>
13005 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13006 Clean up HAS_* macros.
13007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13008 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13010 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13012 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13013 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13014 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13015 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13016 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13018 2012-01-25 Joseph Myers <joseph@codesourcery.com>
13020 * elf/tst-unique3.cc (gets): Remove declaration.
13021 * elf/tst-unique3lib.cc (gets): Likewise.
13022 * elf/tst-unique3lib2.cc (gets): Likewise.
13023 * elf/tst-unique4.cc (gets): Likewise.
13025 2012-01-24 Ulrich Drepper <drepper@gmail.com>
13027 * include/stdio.h: Add C++ protection. Add gets declarations and
13029 * debug/tst-chk1.c: Don't declare gets here.
13030 * stdio-common/tst-gets.c: Likewise.
13032 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13034 * posix/glob: Remove directory.
13036 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13038 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13040 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13042 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13043 of the non-standard EPFNOSUPPORT.
13045 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13047 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13048 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13049 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13051 2012-01-21 Ulrich Drepper <drepper@gmail.com>
13053 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13055 2012-01-20 Ulrich Drepper <drepper@gmail.com>
13057 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13059 * nscd/grpcache.c (cache_addgr): Likewise.
13060 * nscd/hstcache.c (cache_addhst): Likewise.
13061 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13062 * nscd/pwdcache.c (cache_addpw): Likewise.
13063 * nscd/servicescache.c (cache_addserv): Likewise.
13065 2012-01-16 Ulrich Drepper <drepper@gmail.com>
13067 * malloc/malloc.c: Various cleanups.
13068 * malloc/hooks.c: Likewise.
13070 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13071 * stdlib/bug-fmtmsg1.c: New file.
13073 * stdlib/fmtmsg.c (init): Add missing unlock.
13074 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13076 2012-01-12 Marek Polacek <polacek@redhat.com>
13078 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13081 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13083 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13084 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13085 macro to ensure uniqueness of label name.
13086 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13087 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13089 2012-01-11 Ulrich Drepper <drepper@gmail.com>
13091 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13093 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13094 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13095 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13098 2012-01-10 Ulrich Drepper <drepper@gmail.com>
13100 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13102 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13103 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13104 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13106 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13108 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13109 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13110 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13113 * math/bits/math-finite.h: Add ldexp support.
13115 2012-01-10 Marek Polacek <polacek@redhat.com>
13117 * locale/programs/localedef.h (show_archive_content): Add noreturn
13120 2012-01-09 Ulrich Drepper <drepper@gmail.com>
13122 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13124 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13126 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13128 * io/Makefile (headers): Add bits/poll2.h.
13130 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13133 typo #include statement.
13135 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13137 * include/sys/cdefs.h: Define __attribute_alloc_size.
13138 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13139 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13140 * elf/pldd.c: Likewise.
13141 * iconv/iconv_charmap.c: Likewise.
13142 * iconv/iconvconfig.c: Likewise.
13143 * iconv/strtab.c: Likewise.
13144 * locale/programs/locale.c: Likewise.
13145 * locale/programs/localedef.h: Likewise.
13146 * locale/programs/simple-hash.c: Likewise.
13147 * nscd/nscd.h: Likewise.
13148 * nss/makedb.c: Likewise.
13149 * sysdeps/generic/ldconfig.h: Likewise.
13150 * locale/programs/localedef.c: Remove xmalloc prototype.
13151 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13153 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13155 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13158 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13160 * math/Makefile (tests): Add tst-CMPLX.
13161 * math/tst-CMPLX.c: New file.
13163 * math/complex.h (CMPLXL): Fix typo.
13165 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13166 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13168 * debug/tst-chk1.c: Add poll and ppoll tests.
13169 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13170 * include/sys/poll.h: Add hidden proto for ppoll.
13171 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13172 * sysdeps/mach/hurd/ppoll.c: Likewise.
13173 * io/ppoll.c: Likewise.
13174 * debug/poll_chk.c: New file.
13175 * debug/ppoll_chk.c: New file.
13176 * include/bits/poll2.h: New file.
13177 * io/bits/poll2.h: New file.
13180 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13182 * configure.in: static is always set to yes. Remove.
13183 * config.make.in: Don't set build-static.
13184 * Makeconfig: Remove use of build-static.
13185 * dlfcn/Makefile: Likewise.
13186 * elf/Makefile: Likewise.
13187 * math/Makefile: Likewise.
13188 * misc/Makefile: Likewise.
13189 * nptl/Makefile: Likewise.
13190 * sysdeps/mach/hurd/Makefile: Likewise.
13192 * configure.in: PWD_P is not used anymore.
13193 * config.make.in: Remove PWD_P entry.
13195 * configure.in: Remove last remnants of RANLIB.
13196 No need to check for signed size_t anymore.
13197 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13199 Remove __builtin_expect test because we require at least gcc 3.4.
13200 * aclocal.m4: Likewise.
13202 * wcsmbs/mbrtoc16.c: Implement using towc function.
13203 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13204 * wcsmbs/wcsmbsload.c: Likewise.
13205 * iconv/gconv_simple.c: Likewise.
13206 * iconv/gconv_int.h: Likewise.
13207 * iconv/gconv_builtin.h: Likewise.
13208 * iconv/iconv_prog.c: Remove CHAR16 handling.
13210 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13212 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13214 * configure.in: Remove --with-elf and --enable-bounded options.
13215 Dont set base_machine for ia64. More non-ELF conditions removed.
13216 Remove testing and setting of leading underscore information.
13217 * config.make.in (build-bounded): Set to no.
13218 * config.h.in: Remove NO_UNDERSCORES entry.
13219 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13221 * csu/start.c: Remove !NO_UNDERSCORE code.
13222 * locale/localeinfo.h: Likewise.
13223 * sysdeps/generic/machine-gmon.h: Likewise.
13224 * sysdeps/generic/sysdep.h: Likewise.
13225 * sysdeps/i386/sysdep.h: Likewise.
13226 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13227 * sysdeps/mach/sysdep.h: Likewise.
13228 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13229 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13230 * sysdeps/sh/sysdep.h: Likewise.
13231 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13232 * sysdeps/unix/i386/sysdep.S: Likewise.
13233 * sysdeps/unix/sparc/start.c: Likewise.
13234 * sysdeps/unix/sparc/sysdep.S: Likewise.
13235 * sysdeps/unix/sparc/sysdep.h: Likewise.
13236 * sysdeps/unix/start.c: Likewise.
13237 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13238 * sysdeps/x86_64/sysdep.h: Likewise.
13240 2012-01-07 Ulrich Drepper <drepper@gmail.com>
13243 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13245 * argp/argp-fmtstream.h: Use const instead __const.
13246 * argp/argp.h: Likewise.
13247 * assert/assert.h: Likewise.
13248 * bits/fenv.h: Likewise.
13249 * bits/sched.h: Likewise.
13250 * bits/sigset.h: Likewise.
13251 * bits/sigthread.h: Likewise.
13252 * catgets/nl_types.h: Likewise.
13253 * conform/data/pthread.h-data: Likewise.
13254 * crypt/crypt-private.h: Likewise.
13255 * crypt/crypt.h: Likewise.
13256 * crypt/crypt_util.c: Likewise.
13257 * ctype/ctype.h: Likewise.
13258 * debug/execinfo.h: Likewise.
13259 * debug/mbsnrtowcs_chk.c: Likewise.
13260 * debug/mbsrtowcs_chk.c: Likewise.
13261 * debug/wcsnrtombs_chk.c: Likewise.
13262 * debug/wcsrtombs_chk.c: Likewise.
13263 * debug/wcstombs_chk.c: Likewise.
13264 * dirent/dirent.h: Likewise.
13265 * dlfcn/dlfcn.h: Likewise.
13266 * elf/neededtest4.c: Likewise.
13267 * grp/grp.h: Likewise.
13268 * gshadow/gshadow.h: Likewise.
13269 * iconv/gconv.h: Likewise.
13270 * iconv/gconv_int.h: Likewise.
13271 * iconv/gconv_simple.c: Likewise.
13272 * iconv/iconv.h: Likewise.
13273 * iconv/loop.c: Likewise.
13274 * iconv/skeleton.c: Likewise.
13275 * include/aio.h: Likewise.
13276 * include/aliases.h: Likewise.
13277 * include/argz.h: Likewise.
13278 * include/arpa/inet.h: Likewise.
13279 * include/assert.h: Likewise.
13280 * include/dirent.h: Likewise.
13281 * include/dlfcn.h: Likewise.
13282 * include/execinfo.h: Likewise.
13283 * include/fcntl.h: Likewise.
13284 * include/fenv.h: Likewise.
13285 * include/glob.h: Likewise.
13286 * include/grp.h: Likewise.
13287 * include/libintl.h: Likewise.
13288 * include/mntent.h: Likewise.
13289 * include/netdb.h: Likewise.
13290 * include/pwd.h: Likewise.
13291 * include/rpc/netdb.h: Likewise.
13292 * include/sched.h: Likewise.
13293 * include/search.h: Likewise.
13294 * include/shadow.h: Likewise.
13295 * include/signal.h: Likewise.
13296 * include/stdio.h: Likewise.
13297 * include/stdlib.h: Likewise.
13298 * include/string.h: Likewise.
13299 * include/sys/socket.h: Likewise.
13300 * include/sys/stat.h: Likewise.
13301 * include/sys/statfs.h: Likewise.
13302 * include/sys/statvfs.h: Likewise.
13303 * include/sys/syslog.h: Likewise.
13304 * include/sys/time.h: Likewise.
13305 * include/sys/uio.h: Likewise.
13306 * include/time.h: Likewise.
13307 * include/unistd.h: Likewise.
13308 * include/utmp.h: Likewise.
13309 * include/wchar.h: Likewise.
13310 * include/wctype.h: Likewise.
13311 * inet/aliases.h: Likewise.
13312 * inet/arpa/inet.h: Likewise.
13313 * inet/netinet/ether.h: Likewise.
13314 * inet/netinet/in.h: Likewise.
13315 * intl/libintl.h: Likewise.
13316 * io/bits/fcntl2.h: Likewise.
13317 * io/fcntl.h: Likewise.
13318 * io/ftw.h: Likewise.
13319 * io/sys/poll.h: Likewise.
13320 * io/sys/stat.h: Likewise.
13321 * io/sys/statfs.h: Likewise.
13322 * io/sys/statvfs.h: Likewise.
13323 * io/utime.h: Likewise.
13324 * libio/bits/stdio.h: Likewise.
13325 * libio/bits/stdio2.h: Likewise.
13326 * libio/libio.h: Likewise.
13327 * libio/libioP.h: Likewise.
13328 * libio/stdio.h: Likewise.
13329 * locale/lc-ctype.c: Likewise.
13330 * locale/locale.h: Likewise.
13331 * login/utmp.h: Likewise.
13332 * malloc/arena.c: Likewise.
13333 * malloc/malloc.c: Likewise.
13334 * malloc/malloc.h: Likewise.
13335 * malloc/mcheck.c: Likewise.
13336 * malloc/mtrace.c: Likewise.
13337 * math/bits/mathcalls.h: Likewise.
13338 * math/fenv.h: Likewise.
13339 * math/math_private.h: Likewise.
13340 * misc/bits/error.h: Likewise.
13341 * misc/bits/syslog.h: Likewise.
13342 * misc/err.h: Likewise.
13343 * misc/error.h: Likewise.
13344 * misc/fstab.h: Likewise.
13345 * misc/mntent.h: Likewise.
13346 * misc/regexp.h: Likewise.
13347 * misc/search.h: Likewise.
13348 * misc/sgtty.h: Likewise.
13349 * misc/sys/mman.h: Likewise.
13350 * misc/sys/syslog.h: Likewise.
13351 * misc/sys/uio.h: Likewise.
13352 * misc/sys/xattr.h: Likewise.
13353 * misc/ttyent.h: Likewise.
13354 * nis/rpcsvc/ypclnt.h: Likewise.
13355 * nss/nss.h: Likewise.
13356 * posix/bits/unistd.h: Likewise.
13357 * posix/fnmatch.h: Likewise.
13358 * posix/glob.h: Likewise.
13359 * posix/sched.h: Likewise.
13360 * posix/spawn.h: Likewise.
13361 * posix/sys/wait.h: Likewise.
13362 * posix/unistd.h: Likewise.
13363 * posix/wordexp.h: Likewise.
13364 * pwd/pwd.h: Likewise.
13365 * resolv/netdb.h: Likewise.
13366 * resource/sys/resource.h: Likewise.
13367 * rt/aio.h: Likewise.
13368 * rt/bits/mqueue2.h: Likewise.
13369 * rt/mqueue.h: Likewise.
13370 * shadow/shadow.h: Likewise.
13371 * signal/signal.h: Likewise.
13372 * socket/send.c: Likewise.
13373 * socket/sendto.c: Likewise.
13374 * socket/sys/socket.h: Likewise.
13375 * stdio-common/printf.h: Likewise.
13376 * stdlib/bits/stdlib.h: Likewise.
13377 * stdlib/fmtmsg.h: Likewise.
13378 * stdlib/monetary.h: Likewise.
13379 * stdlib/stdlib.h: Likewise.
13380 * stdlib/ucontext.h: Likewise.
13381 * streams/stropts.h: Likewise.
13382 * string/argz.h: Likewise.
13383 * string/bits/string2.h: Likewise.
13384 * string/string.h: Likewise.
13385 * string/strings.h: Likewise.
13386 * sunrpc/rpc/auth.h: Likewise.
13387 * sunrpc/rpc/auth_des.h: Likewise.
13388 * sunrpc/rpc/clnt.h: Likewise.
13389 * sunrpc/rpc/netdb.h: Likewise.
13390 * sunrpc/rpc/pmap_clnt.h: Likewise.
13391 * sunrpc/rpc/xdr.h: Likewise.
13392 * sysdeps/generic/inttypes.h: Likewise.
13393 * sysdeps/generic/net/if.h: Likewise.
13394 * sysdeps/generic/sys/swap.h: Likewise.
13395 * sysdeps/gnu/net/if.h: Likewise.
13396 * sysdeps/gnu/utmpx.h: Likewise.
13397 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13398 * sysdeps/i386/i486/bits/string.h: Likewise.
13399 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13400 * sysdeps/s390/bits/string.h: Likewise.
13401 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13402 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13403 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13404 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13405 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13406 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13407 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13408 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13409 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13410 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13411 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13412 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13413 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13414 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13415 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13416 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13417 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13418 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13419 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13420 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13421 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13422 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13423 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13424 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13425 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13426 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13427 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13428 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13429 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13430 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13431 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13432 * sysvipc/sys/ipc.h: Likewise.
13433 * sysvipc/sys/msg.h: Likewise.
13434 * sysvipc/sys/sem.h: Likewise.
13435 * sysvipc/sys/shm.h: Likewise.
13436 * termios/termios.h: Likewise.
13437 * time/sys/time.h: Likewise.
13438 * time/time.h: Likewise.
13439 * wcsmbs/bits/wchar2.h: Likewise.
13440 * wcsmbs/uchar.h: Likewise.
13441 * wcsmbs/wchar.h: Likewise.
13442 * wctype/wctype.h: Likewise.
13445 * Makeconfig: Remove all but ELF support including AIX support.
13446 * Makerules: Likewise.
13447 * config.h.in: Likewise.
13448 * config.make.in: Likewise.
13449 * configure: Likewise.
13450 * configure.in: Likewise.
13451 * csu/Makefile: Likewise.
13452 * csu/version.c: Likewise.
13453 * debug/Makefile: Likewise.
13454 * dlfcn/Makefile: Likewise.
13455 * elf/Makefile: Likewise.
13456 * extra-lib.mk: Likewise.
13457 * iconv/Makefile: Likewise.
13458 * include/libc-symbols.h: Likewise.
13459 * include/shlib-compat.h: Likewise.
13460 * resolv/Makefile: Likewise.
13461 * resolv/res_libc.c: Likewise.
13462 * rt/Makefile: Likewise.
13463 * sysdeps/i386/asm-syntax.h: Likewise.
13464 * sysdeps/i386/sysdep.h: Likewise.
13465 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13466 * sysdeps/mach/sysdep.h: Likewise.
13467 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13468 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13469 * sysdeps/s390/asm-syntax.h: Likewise.
13470 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13471 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13472 * sysdeps/sh/sysdep.h: Likewise.
13473 * sysdeps/unix/sparc/sysdep.h: Likewise.
13474 * sysdeps/wordsize-32/divdi3.c: Likewise.
13475 * sysdeps/x86_64/sysdep.h: Likewise.
13477 * argp/Versions: Remove _argp_unlock_xxx.
13480 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13481 * abilist/libBrokenLocale.abilist: Likewise.
13482 * abilist/libanl.abilist: Likewise.
13483 * abilist/libc.abilist: Likewise.
13484 * abilist/libcrypt.abilist: Likewise.
13485 * abilist/libdl.abilist: Likewise.
13486 * abilist/libm.abilist: Likewise.
13487 * abilist/libnsl.abilist: Likewise.
13488 * abilist/libpthread.abilist: Likewise.
13489 * abilist/libresolv.abilist: Likewise.
13490 * abilist/librt.abilist: Likewise.
13491 * abilist/libthread_db.abilist: Likewise.
13492 * abilist/libutil.abilist: Likewise.
13493 * abilist/libnss_db.abilist: New file.
13495 * scripts/abilist.awk: Add support for indirect functions.
13497 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13499 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13501 * shlib-versions: Remove entries for ports architectures.
13503 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13505 * elf/stackguard-macros.h: Remove support for IA-64.
13506 * elf/tst-auditmod1.c: Likewise.
13507 * sysdeps/generic/ldsodefs.h: Likewise.
13509 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13510 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13514 * configure.in: Remove --enable-omitfp support.
13516 * config.make.in: Likewise.
13517 * Makeconfig: Likewise.
13518 * manual/install.texi: Likewise.
13520 In case anyone cares, the IA-64 architecture could move to ports.
13521 * sysdeps/ia64/*: Removed.
13522 * sysdeps/unix/sysv/linux/ia64/*: Removed.
13523 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
13526 * configure.in: Remove entries for unsupported architectures.
13529 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13530 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13532 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13533 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13534 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13535 fall back to using wcrtomb.
13536 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13537 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13539 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13540 * wcsmbs/tst-c16c32-1.c: New file.
13542 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13545 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13547 * elf/tst-unique3.cc: Add explicit declaration of gets.
13548 * elf/tst-unique3lib.cc: Likewise.
13549 * elf/tst-unique3lib2.cc: Likewise.
13550 * elf/tst-unique4.cc: Likewise.
13552 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13554 2012-01-06 Joseph Myers <joseph@codesourcery.com>
13557 * assert/assert.h (static_assert): Don't define for C++.
13558 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13559 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13561 2012-01-03 Ulrich Drepper <drepper@gmail.com>
13563 * iconv/loop.c (single loop): Fix assertion in storing of
13566 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13568 2012-01-01 Ulrich Drepper <drepper@gmail.com>
13570 * posix/getconf.c: Update copyright year.
13571 * nss/getent.c: Likewise.
13572 * nss/makedb.c: Likewise.
13573 * iconv/iconvconfig.c: Likewise.
13574 * iconv/iconv_prog.c: Likewise.
13575 * elf/ldconfig.c: Likewise.
13576 * elf/pldd.c: Likewise.
13577 * elf/sotruss.ksh: Likewise.
13578 * catgets/gencat.c: Likewise.
13579 * csu/version.c: Likewise.
13580 * elf/ldd.bash.in: Likewise.
13581 * elf/sprof.c (print_version): Likewise.
13582 * locale/programs/locale.c: Likewise.
13583 * locale/programs/localedef.c: Likewise.
13584 * login/programs/pt_chown.c: Likewise.
13585 * nscd/nscd.c (print_version): Likewise.
13586 * debug/xtrace.sh: Likewise.
13587 * malloc/memusage.sh: Likewise.
13588 * malloc/mtrace.pl: Likewise.
13589 * debug/catchsegv.sh: Likewise.
13591 2011-12-30 Jakub Jelinek <jakub@redhat.com>
13593 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13596 2011-12-24 Ulrich Drepper <drepper@gmail.com>
13599 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13600 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13602 * iconv/gconv_int.h: Likewise.
13603 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13604 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13605 from libc for GLIBC_2.16.
13606 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13607 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13608 * wcsmbs/uchar.h: Really define mbstate_t.
13609 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13610 * wcsmbs/c16rtomb.c: New file.
13611 * wcsmbs/mbrtoc16.c: New file.
13612 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13613 for C/POSIX locale.
13614 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13615 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13617 * wcsmbs/wchar.h: Add missing __restrict.
13619 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13622 * time/Makefile (routines): Add timespec_get.
13623 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13624 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13625 timespec for ISO C11.
13626 * time/timespec_get.c: New file.
13627 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13628 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13631 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13632 * stdlib/stdlib.h: Declare aligned_alloc.
13633 * Versions.def: Add GLIBC_2.16 for libc.
13634 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13637 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13640 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
13644 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13647 * assert/assert.h (static_assert): Define.
13649 * version.h: Update for 2.16 development version.
13652 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13655 * version.h (RELEASE): Bump for 2.15 release.
13656 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13658 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13659 Patch by Marek Polacek <mpolacek@redhat.com>.
13661 * bits/byteswap.h: Protect long long constants with __extension__.
13662 * sysdeps/i386/bits/byteswap.h: Likewise.
13663 * sysdeps/ia64/bits/byteswap.h: Likewise.
13664 * sysdeps/s390/bits/byteswap.h: Likewise.
13665 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13667 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13670 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13671 destination buffer.
13672 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13674 2011-12-23 Marek Polacek <polacek@redhat.com>
13676 * elf/dl-addr.c (determine_info): Add inline keyword.
13677 * elf/tst-auditmod4b.c (check_avx): Likewise.
13678 * elf/tst-auditmod6b.c (check_avx): Likewise.
13679 * elf/tst-auditmod6c.c (check_avx): Likewise.
13680 * elf/tst-auditmod7b.c (check_avx): Likewise.
13682 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13684 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13687 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13690 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13691 processing for last bytes.
13693 2011-08-06 Bruno Haible <bruno@clisp.org>
13696 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13697 U+0385, not to U+1FEE.
13700 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13701 entry for U+00A5 U+0301.
13703 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13706 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13707 buffer for the output is too small.
13709 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13713 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13714 SSE flags if possible.
13716 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13719 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13720 processing for last bytes.
13722 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13724 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13725 (syscall-list-default-options, syscall-list-default-condition)
13726 (syscall-list-includes): Define.
13727 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13728 list of ABIs and options and #if conditions for each ABI. Do not
13729 handle common syscalls between ABIs specially.
13730 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13732 (syscall-list-variants, syscall-list-32bit-options)
13733 (syscall-list-32bit-condition, syscall-list-64bit-options)
13734 (syscall-list-64bit-condition): Define.
13735 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13736 (syscall-list-variants, syscall-list-32bit-options)
13737 (syscall-list-32bit-condition, syscall-list-64bit-options)
13738 (syscall-list-64bit-condition): Define.
13739 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13741 (syscall-list-variants, syscall-list-32bit-options)
13742 (syscall-list-32bit-condition, syscall-list-64bit-options)
13743 (syscall-list-64bit-condition): Define.
13744 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13746 (syscall-list-variants, syscall-list-32bit-options)
13747 (syscall-list-32bit-condition, syscall-list-64bit-options)
13748 (syscall-list-64bit-condition): Define.
13750 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13752 * locale/iso-639.def: Add brx entry.
13755 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13756 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13758 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13759 __feraiseexcept_renamed.
13761 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13764 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13765 EPOLLET with unsigned values.
13766 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13767 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13769 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13770 to large cancellation.
13771 * math/s_cacoshf.c: Likewise.
13772 * math/s_cacoshl.c: Likewise.
13774 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13778 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13779 * math/s_cacoshf.c: Likewise.
13780 * math/s_cacoshl.c: Likewise.
13782 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13785 * iconv/gconv.h: Define __GCONV_SWAP.
13786 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13787 * iconvdata/utf-16.c: Likewise.
13788 * iconvdata/utf-32.c: Likewise.
13790 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13793 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13794 numerator after shifting it by one limb.
13796 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13798 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13799 under [__USE_EXTERN_INLINES].
13801 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13804 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13806 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13808 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13809 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13811 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13812 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13813 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13814 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13815 for strncasecmp/strncasecmp_l compilation.
13816 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13817 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13819 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13822 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13825 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13828 * time/tzfile.c (__tzfile_read): Check values from file header.
13830 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13832 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13833 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13834 * powerpc/powerpc32/dl-start.S: Likewise.
13835 * powerpc/powerpc32/elf/start.S: Likewise.
13836 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13837 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13838 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13839 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13840 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13841 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13842 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13843 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13844 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13845 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13846 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13847 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13848 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13849 * powerpc/powerpc32/memset.S: Likewise.
13850 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13851 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13852 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13853 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13854 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13855 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13856 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13857 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13858 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13859 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13860 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13861 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13862 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13864 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13866 * math/libm-test.inc: Added more nearbyint tests.
13867 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13868 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13869 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13870 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13872 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13874 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13877 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13879 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13880 Add wcscpy-ssse3 wcscpy-c.
13881 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13882 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13883 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13884 * sysdeps/x86_64/wcschr.S: New file.
13885 * sysdeps/x86_64/wcsrchr.S: New file.
13886 * string/test-strcmp.c: Remove checking of wcscmp function for
13888 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13889 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13890 wcsrchr-sse2 wcsrchr-c.
13891 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13892 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13893 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13894 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13895 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13896 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13897 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13898 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13899 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13900 * wcsmbc/wcschr.c (WCSCHR): New macro.
13902 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13904 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13905 * wcsmbs/test-wcsrchr.c: New file.
13906 * string/test-strrchr.c: Add wcsrchr support.
13908 * wcsmbs/test-wcscpy.c: New file.
13909 * string/test-strcpy.c: Add wcscpy support.
13912 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13914 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13917 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13920 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13922 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13924 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13925 Minor optimizations.
13927 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13928 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13929 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13931 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13933 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13934 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13935 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13936 for gcc to avoid warnings.
13937 * inet/Makefile (tests): Add tst-checks.
13938 * inet/tst-checks.c: New file.
13940 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13943 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13946 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13947 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13949 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13951 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13953 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13956 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13958 2011-11-29 Joseph Myers <joseph@codesourcery.com>
13960 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13961 conditional on GCC version.
13962 (__arch_compare_and_exchange_val_8_acq)
13963 (__arch_compare_and_exchange_val_16_acq)
13964 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13965 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13966 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13968 2011-12-02 Joseph Myers <joseph@codesourcery.com>
13970 * sysdeps/sh/backtrace.c: New file.
13972 2011-12-02 Andreas Schwab <schwab@redhat.com>
13974 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13977 2011-12-01 Andreas Schwab <schwab@redhat.com>
13979 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13980 falling back to utime.
13982 2011-11-30 Andreas Schwab <schwab@redhat.com>
13984 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13985 expectations for float.
13987 2011-11-29 Andreas Schwab <schwab@redhat.com>
13989 * locale/weight.h (findidx): Add parameter len.
13990 * locale/weightwc.h (findidx): Likewise.
13991 * posix/fnmatch_loop.c (FCT): Adjust caller.
13992 * posix/regcomp.c (build_equiv_class): Likewise.
13993 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13994 * posix/regexec.c (check_node_accept_bytes): Likewise.
13995 * string/strcoll_l.c (STRCOLL): Likewise.
13996 * string/strxfrm_l.c (STRXFRM): Likewise.
13998 2011-11-17 Ulrich Drepper <drepper@gmail.com>
14000 * Makefile.in: Remove CVSOPT handling.
14001 * configure.in: Remove use of AC_REVISION.
14002 * iconvdata/Makefile (distribute): No need to filter out CVS.
14003 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14006 2011-11-16 Andreas Schwab <schwab@redhat.com>
14008 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14009 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14010 [USE_AS_STRNCASECMP_L]: Likewise.
14011 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14012 NO_TLS_DIRECT_SEG_REFS.
14013 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14014 Fix argument offsets for non-PIC.
14015 [USE_AS_STRNCASECMP_L]: Likewise.
14016 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14017 NO_TLS_DIRECT_SEG_REFS.
14019 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14021 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14023 * locale/loadlocale.c (_nl_load_locale): Likewise.
14025 2011-11-15 Andreas Schwab <schwab@redhat.com>
14027 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14028 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14029 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14030 (SYSCALL_GETTIME): Set errno on error.
14032 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14033 count references to noai6ai_cached.
14035 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14037 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14039 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14040 FD_CLOEXEC for /proc/self/maps.
14042 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14043 FD_CLOEXEC for /proc/meminfo.
14045 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14048 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14049 FD_CLOEXEC for given file.
14051 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14053 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14054 FD_CLOEXEC for /etc/hosts.
14055 (_gethtent): Likewise.
14057 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14059 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14060 cancellation and set FD_CLOEXEC for /etc/netgroup.
14062 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14063 reading /etc/publickey.
14065 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14066 allow cancellation when reading /etc/group.
14068 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14070 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14072 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14073 when using data file.
14075 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14077 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14078 (write_nis_obj): Use "c" and "e" in fopen.
14080 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14082 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14084 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14086 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14088 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14091 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14093 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14095 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14097 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14098 file parsing and set FD_CLOEXEC.
14100 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14102 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14104 2011-11-14 Andreas Schwab <schwab@redhat.com>
14106 * malloc/arena.c (arena_get2): Don't call reused_arena when
14107 _int_new_arena failed.
14109 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14111 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14112 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14113 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14114 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14115 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14116 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14117 to compile strcasecmp and strncasecmp.
14118 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14119 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14121 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14123 2011-11-13 Ulrich Drepper <drepper@gmail.com>
14125 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14126 locale-defines.sym to gen-as-const-headers.
14127 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14128 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14130 to compile strcasecmp and strncasecmp.
14131 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14132 strcasecmp_l and strncasecmp_l.
14133 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14134 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14135 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14136 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14137 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14138 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14139 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14140 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14141 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14142 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14143 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14145 2011-11-12 Ulrich Drepper <drepper@gmail.com>
14147 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14148 result of SYSDEP_GETTIME_CPU to retval.
14149 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14150 parameter list to macro. Remove trailing semicolon. Adjust users.
14152 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14155 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14157 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14159 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14160 from unused variable.
14162 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14164 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14167 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14170 * sunrpc/rpc_prot.c (rejected): Fix case value.
14172 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14173 unsigned long long int to avoid warnings in shift.
14175 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14177 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14180 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14181 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14182 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14184 * nis/nis_table.c (nis_list): Use variable of correct type for
14185 result of __follow_path call.
14187 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14189 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14190 of math functions ceil, trunc, floor, round, and sqrt, when
14191 avaliable on the platform.
14192 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14194 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14195 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14196 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14198 2011-10-30 Marek Polacek <mpolacek@redhat.com>
14200 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14201 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14203 2011-11-11 Roland McGrath <roland@hack.frob.com>
14205 * include/unistd.h: Fix __readlink return type.
14206 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14208 2011-11-11 Ulrich Drepper <drepper@gmail.com>
14210 * stdlib/ucontext.h: Undo last change for makecontext.
14212 2011-11-11 Andreas Schwab <schwab@redhat.com>
14214 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14216 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14217 * setjmp/setjmp.h: Mark functions as non-leaf.
14218 * setjmp/bits/setjmp2.h: Likewise.
14219 * stdlib/ucontext.h: Likewise.
14221 2011-11-10 Andreas Schwab <schwab@redhat.com>
14223 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14224 (reused_arena): Don't check arena limit.
14225 (arena_get2): Atomically check arena limit.
14227 2011-11-08 Ulrich Drepper <drepper@gmail.com>
14229 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14230 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14235 2011-11-07 Andreas Schwab <schwab@redhat.com>
14237 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14238 handler when locking.
14240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14241 Fix size of allocated buffer.
14243 2011-11-04 Andreas Schwab <schwab@redhat.com>
14246 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14247 declarations for long double functions.
14248 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14250 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14252 2011-11-03 Andreas Schwab <schwab@redhat.com>
14254 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14257 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14260 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14262 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14264 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14266 * include/alloca.h (stackinfo_alloca_round): Define.
14267 (extend_alloca): Use it.
14268 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14269 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14272 * scripts/check-local-headers.sh: Ignore libaudit.h.
14274 * nscd/Makefile (extra-objs): Make recursively expanded.
14276 2011-11-01 Ulrich Drepper <drepper@gmail.com>
14278 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14279 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14281 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14282 * posix/tst-rfc3484-2.c: Likewise.
14283 * posix/tst-rfc3484-3.c: Likewise.
14285 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14287 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14289 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14290 process_vm_writev from libc using GLIBC_2.15 version.
14292 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14294 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14296 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14299 2011-10-31 Ulrich Drepper <drepper@gmail.com>
14302 * nss/getent.c (initgroups_keys): Show error message in case no group
14305 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14306 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14307 __bump_nl_timestamp.
14308 * nscd/connections (nscd_init): When host database is served open
14309 netlink socket and request notification about configuration changes.
14310 (main_loop_poll): Track netlink file descriptor and bump timestamp
14311 in case data becomes available.
14312 (main_loop_epoll): Likewise.
14313 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14314 (database_pers_head): Add extra_data fileds.
14315 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14316 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14317 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14319 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14320 in6ai data, call __free_in6ai.
14321 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14322 Add -DHAVE_NETLINK.
14323 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14324 interface information. Reuse previous data if netlink timestamp
14326 (__bump_nl_timestamp): New function.
14327 (__free_in6ai): New function.
14329 2011-10-30 Ulrich Drepper <drepper@gmail.com>
14331 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14332 close_not_cancel_no_status here.
14333 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14335 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14338 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14341 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
14342 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14343 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14345 2011-07-03 Andreas Jaeger <aj@suse.de>
14348 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14349 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14350 * math/libm-test.inc (sin_test): Add test case.
14352 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14355 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14356 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14358 * elf/chroot_canon.c (chroot_canon): Cleanups.
14360 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14363 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14364 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14366 * string/test-strchr.c: Make usable for strchrnul testing.
14367 * string/test-strchrnul.c: New file.
14368 * string/Makefile (strop-tests): Add strchrnul.
14370 * po/it.po: Update from translation team.
14371 * po/es.po: Likewise.
14373 2011-10-28 Ulrich Drepper <drepper@gmail.com>
14375 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14376 the three constants needed as parameters. Drop the others.
14377 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14378 __m128i_strloadu_tolower.
14379 Create and initialize variable zero and use it in all the places
14380 where _mm_setzero_si128 was used.
14382 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14383 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14384 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14385 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14387 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14388 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14389 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14390 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14391 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14392 __mpranred, __mptan.
14393 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14394 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14395 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14396 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14397 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14398 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14399 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14400 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14401 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14403 2011-10-28 Andreas Schwab <schwab@redhat.com>
14405 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14406 redefine if SHARED.
14407 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14410 wide char related routines to wcsmbs subdir.
14412 2011-10-27 Andreas Schwab <schwab@redhat.com>
14415 * misc/sys/cdefs.h (__THROWNL): Define.
14416 * posix/unistd.h: Use __THREADNL instead of __THREAD
14417 for memory synchronization functions.
14419 2011-10-26 Roland McGrath <roland@hack.frob.com>
14422 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14424 * manual/stdio.texi (Obstack Streams): Node removed.
14426 2011-10-26 Andreas Schwab <schwab@redhat.com>
14428 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14429 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14430 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14432 * math/math_private.h (math_force_eval): Allow non-addressable
14434 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14436 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14438 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14439 file is not needed.
14441 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14442 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14443 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14444 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14445 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14446 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14447 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14448 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14450 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14451 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14452 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14453 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14454 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14455 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14456 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14457 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14458 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14459 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14460 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14461 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14462 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14463 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14464 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14465 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14466 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14467 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14468 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14470 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14471 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14473 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14474 place. Use VEX encoding when compiling for AVX.
14476 2011-10-25 Andreas Schwab <schwab@redhat.com>
14478 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14479 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14481 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14483 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14485 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
14486 useless if() expression.
14487 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14488 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14489 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14490 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14491 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14492 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14493 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14494 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14495 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14496 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14497 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14498 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14499 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14500 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14501 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14502 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14503 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14504 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14505 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14507 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14509 2011-10-25 Andreas Schwab <schwab@redhat.com>
14511 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14513 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14515 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14517 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14518 .text section. Avoid duplicate constants.
14519 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14521 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14523 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14526 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14527 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14528 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14529 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14530 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14531 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14532 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14533 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14534 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14535 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14536 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14537 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14538 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14539 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14540 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14541 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14542 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14543 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14544 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14545 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14546 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14547 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14548 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14549 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14550 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14551 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14552 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14553 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14554 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14555 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14556 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14557 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14558 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14559 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14560 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14561 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14562 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14563 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14565 2011-10-24 Ulrich Drepper <drepper@gmail.com>
14567 * sysdeps/x86_64/dla.h: Move to ...
14568 * sysdeps/x86_64/fpu/dla.h: ...here.
14569 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14570 situations. Use __builtin_fma only for gcc 4.6 and up.
14572 * config.make.in: Add have-mfma4 entry.
14573 * configure.in: Substitute libc_cv_cc_fma4.
14574 * math/Makefile (dbl-only-routines): Add sincostab.
14575 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14576 Use __sincostab not sincos.
14577 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14579 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14584 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14585 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14586 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14587 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14589 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14590 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14592 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14593 define aliases when function name is a macro.
14594 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14595 sysdeps/ieee754/dbl-64/sincos.tbl.
14596 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14597 fma4-enabled routines.
14598 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14599 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14600 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14601 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14602 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14603 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14604 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14605 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14606 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14607 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14608 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14609 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14610 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14611 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14612 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14613 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14614 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14615 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14616 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14617 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14618 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14619 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14620 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14621 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14622 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14623 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14624 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14625 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14626 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14627 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14629 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14632 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14635 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14637 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14638 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14640 2011-10-24 Andreas Schwab <schwab@redhat.com>
14642 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14644 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14646 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14648 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14650 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14652 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14653 Remove unused variable magic_bits.
14654 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14656 * string/strnlen.c: Define and use STRNLEN macro.
14657 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14658 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14659 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14660 * wcsmbs/wcslen.c: Define and use WCSLEN.
14661 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14662 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14663 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14664 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14665 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14666 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14667 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14669 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14672 strnlen-sse2-no-bsf.
14673 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14674 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14675 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14676 Add strnlen support.
14677 (USE_AS_STRNLEN): New macro.
14678 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14679 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14680 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14681 * sysdeps/x86_64/wcslen.S: New file.
14683 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14685 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14686 XMM-moves are used for copying on small sizes.
14688 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14690 * wcsmbs/Makefile (strop-tests): Add wcschr.
14691 * wcsmbs/test-wcschr.c: New file.
14692 * string/test-strchr.c: Update.
14693 Add wcschr support.
14696 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14698 * wcsmbs/Makefile (strop-tests): Add wcslen.
14699 * wcsmbs/test-wcslen.c: New file.
14700 * string/test-strlen.c: Update.
14701 Add wcslen support.
14704 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14706 * po/it.po: Update from translation team.
14708 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14710 * sysdeps/x86_64/wcscmp.S: Update.
14711 Fix wrong comparison semantics.
14712 wcscmp shall use signed comparison not unsigned.
14713 Don't use substraction to avoid overflow bug.
14714 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14715 * wcsmbc/wcscmp.c: Likewise.
14716 * string/test-strcmp.c: Likewise.
14717 Add new tests to check cases with negative values.
14719 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14721 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14722 * sysdeps/x86_64/dla.h: ...here. New file.
14723 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14724 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14725 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14728 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14730 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14731 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14733 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14736 __ynl_finite aliases.
14738 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14742 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14744 [DLA_FMA] (EMULV): Use DLA_FMA.
14745 [DLA_FMA] (MUL12): Use EMULV.
14746 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14747 that are not needed.
14748 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14750 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14751 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14753 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14754 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14756 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14758 * math/s_nan.c: Undef __nan.
14759 * math/s_nanf.c: Undef __nanf.
14760 * math/s_nanl.c: Undef __nanl.
14761 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14764 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14766 * math/s_catan.c: Add branch predictions.
14767 * math/s_catanf.c: Likewise.
14768 * math/s_catanh.c: Likewise.
14769 * math/s_catanhf.c: Likewise.
14770 * math/s_catanhl.c: Likewise.
14771 * math/s_catanl.c: Likewise.
14772 * math/s_cexp.c: Likewise.
14773 * math/s_cexpf.c: Likewise.
14774 * math/s_cexpl.c: Likewise.
14775 * math/s_clog.c: Likewise.
14776 * math/s_clog10.c: Likewise.
14777 * math/s_clog10f.c: Likewise.
14778 * math/s_clog10l.c: Likewise.
14779 * math/s_clogf.c: Likewise.
14780 * math/s_clogl.c: Likewise.
14781 * math/s_csqrt.c: Likewise.
14782 * math/s_csqrtf.c: Likewise.
14783 * math/s_csqrtl.c: Likewise.
14784 * math/s_ctanf.c: Likewise.
14785 * math/s_ctanh.c: Likewise.
14786 * math/s_ctanhf.c: Likewise.
14787 * math/s_ctanhl.c: Likewise.
14788 * math/s_ctanl.c: Likewise.
14790 * math/math_private.h: Define __nan, __nanf, __nanl.
14791 * math/s_cacosh.c: Include <math_private.h>.
14792 * math/s_cacoshl.c: Likewise.
14793 * math/s_casinh.c: Likewise.
14794 * math/s_casinhf.c: Likewise.
14795 * math/s_casinhl.c: Likewise.
14796 * math/s_ccos.c: Rely entire on ccosh.
14797 * math/s_ccosf.c: Rely entire on ccoshf.
14798 * math/s_ccosl.c: Rely entirely on ccoshl.
14799 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14800 Remove tests for FE_INVALID.
14801 * math/s_ccoshf.c: Likewise.
14802 * math/s_ccoshl.c: Likewise.
14803 * math/s_csin.c: Likewise.
14804 * math/s_csinf.c: Likewise.
14805 * math/s_csinh.c Likewise.
14806 * math/s_csinhf.c: Likewise.
14807 * math/s_csinhl.c: Likewise.
14808 * math/s_csinl.c: Likewise.
14809 * math/s_ctan.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14811 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14812 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14814 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14817 compilation problems.
14819 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14822 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14824 * sysdeps/i386/configure.in: Test for -mfma4 option.
14825 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14826 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14827 COMMON_CPUID_INDEX_80000001.
14828 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14829 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14830 use it if FMA3 is not supported.
14831 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14833 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14834 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14836 2011-10-20 Andreas Schwab <schwab@redhat.com>
14839 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14840 it would create a cycle with a link time dependency.
14842 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14844 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14846 * string/Makefile (strop-tests): Add rawmemchr.
14847 * string/test-rawmemchr.c: New file.
14849 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14850 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14851 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14852 when compiling str{,n}casecmp and when AVX is available. Hook up
14853 new optimized code in initializers.
14855 2011-10-19 Andreas Schwab <schwab@redhat.com>
14857 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14858 __feraiseexcept instead of feraiseexcept.
14860 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14862 * math/math_private.h: Define defaults for libc_fetestexcept and
14864 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14865 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14866 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14867 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14868 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14869 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14870 libc_fetestexcept and libc_feupdateenv.
14872 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14873 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14874 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14875 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14876 libc_feholdexcept_setround.
14878 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14879 Add s_nearbyint-c and s_nearbyintf-c.
14880 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14881 nearbyintf inlines.
14882 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14883 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14884 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14885 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14887 * math/math_private.h: Define defaults for libc_fegetround,
14888 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14889 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14890 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14891 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14892 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14893 standard functions.
14894 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14895 Remove comments and hacks for old compiler versions.
14896 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14897 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14898 libc_feholdexceptl.
14900 2011-10-18 Andreas Schwab <schwab@redhat.com>
14902 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14903 (__feraiseexcept_renamed): Add __NTH.
14904 (feraiseexcept): Add __NTH. Rename local variables to fix
14905 namespace violations.
14907 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14909 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14911 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14913 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14914 recently added interfaces.
14915 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14917 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14918 about macro parameter expansion.
14920 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14921 __NO_MATH_INLINES is defined. Cleanups.
14923 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14924 and __floorf is target has SSE4.1.
14925 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14926 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14927 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14928 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14930 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14932 (floorf): Likewise.
14934 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14936 2011-10-17 Andreas Schwab <schwab@redhat.com>
14938 * misc/sys/cdefs.h: Fix last change.
14940 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14943 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14945 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14947 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14948 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14949 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14950 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14951 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14952 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14953 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14954 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14955 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14956 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14957 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14958 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14959 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14960 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14961 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14962 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14963 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14964 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14965 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14966 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14967 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14968 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14970 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14971 ceil, ceilf, floor, floorf.
14973 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14974 Perform IRELATIVE relocations last.
14976 * elf/do-rel.h: Add another parameter nrelative, replacing the
14977 local variable with the same name. Change name of the function
14978 to end in Rel or Rela (uppercase).
14979 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14980 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14981 elf_dynamic_do_##reloc function.
14983 2011-10-15 Ulrich Drepper <drepper@gmail.com>
14985 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14986 is sufficient, at least on modern CPUs.
14988 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14990 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14991 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14993 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14995 * math/bits/math-finite.h: Add entries for exp.
14996 * math/e_expl.c: Add __*_finite alias.
14997 * sysdeps/i386/fpu/e_exp.S: Likewise.
14998 * sysdeps/i386/fpu/e_expf.S: Likewise.
14999 * sysdeps/i386/fpu/e_expl.c: Likewise.
15000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15001 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15002 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15004 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15005 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15006 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15008 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15009 is sufficient, at least on modern CPUs.
15011 * ctype/ctype-info.c (__ctype_init): Define.
15012 * include/ctype.h (__ctype_init): Declare.
15013 (__ctype_b_loc): The variable is always initialized.
15014 (__ctype_toupper_loc): Likewise.
15015 (__ctype_tolower_loc): Likewise.
15016 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15017 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15019 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15021 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15023 * configure.in: Also look in $cxxmachine/include for C++ system
15026 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15028 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15029 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15030 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15031 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15032 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15033 (USE_AS_WMEMCMP): New macro.
15035 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15036 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15037 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15038 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15040 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15041 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15042 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15043 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15044 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15045 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15046 (USE_AS_WMEMCMP): New macro.
15047 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15048 * sysdeps/string/test-memcmp.c: Update.
15049 Fix simple_wmemcmp.
15051 * wcsmbs/wmemcmp.c: Update.
15052 (WMEMCMP): New macro.
15055 2011-10-12 Andreas Jaeger <aj@suse.de>
15058 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15060 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15062 * libio/iofwide.c (do_length): Avoid warning.
15064 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15066 2011-10-14 Ulrich Drepper <drepper@gmail.com>
15068 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15070 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15071 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15072 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15073 * sysdeps/i386/i686/fpu/e_log.S: New file.
15074 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15075 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15077 * ctype/ctype.h: Add support for inlined isXXX functions when
15078 compiling C++ code.
15080 2011-10-14 Andreas Schwab <schwab@redhat.com>
15082 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15084 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15086 2011-10-13 Roland McGrath <roland@hack.frob.com>
15089 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15091 2011-10-13 Andreas Schwab <schwab@redhat.com>
15093 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15094 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15097 * sysdeps/x86_64/memrchr.S: Check for zero size.
15099 * string/stratcliff.c: Add memrchr tests.
15101 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15104 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15105 rawmemchr-sse2 rawmemchr-sse2-bsf.
15106 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15107 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15108 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15109 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15110 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15111 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15112 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15113 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15114 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15115 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15116 * string/memrchr.c (MEMRCHR): New macro.
15118 2011-10-12 Ulrich Drepper <drepper@gmail.com>
15120 Add integration with gcc's -ffinite-math-only and optimize wrapper
15122 * Versions.def: Define GLIBC_2.15 version for libm.
15123 * math/Makefile (headers): Add bits/math-finite.h.
15124 * math/bits/math-finite.h: New file.
15125 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15126 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15127 * math/e_acoshl.c: Add __*_finite alias.
15128 * math/e_acosl.c: Likewise.
15129 * math/e_asinl.c: Likewise.
15130 * math/e_atan2l.c: Likewise.
15131 * math/e_atanhl.c: Likewise.
15132 * math/e_coshl.c: Likewise.
15133 * math/e_exp10.c: Likewise.
15134 * math/e_exp10f.c: Likewise.
15135 * math/e_exp10l.c: Likewise.
15136 * math/e_exp2l.c: Likewise.
15137 * math/e_fmodl.c: Likewise.
15138 * math/e_gammal_r.c: Likewise.
15139 * math/e_hypotl.c: Likewise.
15140 * math/e_j0l.c: Likewise.
15141 * math/e_j1l.c: Likewise.
15142 * math/e_jnl.c: Likewise.
15143 * math/e_lgammal_r.c: Likewise.
15144 * math/e_log10l.c: Likewise.
15145 * math/e_log2l.c: Likewise.
15146 * math/e_logl.c: Likewise.
15147 * math/e_powl.c: Likewise.
15148 * math/e_sinhl.c: Likewise.
15149 * math/e_sqrtl.c: Likewise.
15150 * math/e_scalb.c: Completely rewritten and optimized.
15151 * math/e_scalbf.c: Likewise.
15152 * math/e_scalbl.c: Likewise.
15153 * math/w_acos.c: Likewise.
15154 * math/w_acosf.c: Likewise.
15155 * math/w_acosl.c: Likewise.
15156 * math/w_acosh.c: Likewise.
15157 * math/w_acoshf.c: Likewise.
15158 * math/w_acoshl.c: Likewise.
15159 * math/w_asin.c: Likewise.
15160 * math/w_asinf.c: Likewise.
15161 * math/w_asinl.c: Likewise.
15162 * math/w_atan2.c: Likewise.
15163 * math/w_atan2f.c: Likewise.
15164 * math/w_atan2l.c: Likewise.
15165 * math/w_atanh.c: Likewise.
15166 * math/w_atanhf.c: Likewise.
15167 * math/w_atanhl.c: Likewise.
15168 * math/w_exp10.c: Likewise.
15169 * math/w_exp10f.c: Likewise.
15170 * math/w_exp10l.c: Likewise.
15171 * math/w_fmod.c: Likewise.
15172 * math/w_fmodf.c: Likewise.
15173 * math/w_fmodl.c: Likewise.
15174 * math/w_j0.c: Likewise.
15175 * math/w_j0f.c: Likewise.
15176 * math/w_j0l.c: Likewise.
15177 * math/w_j1.c: Likewise.
15178 * math/w_j1f.c: Likewise.
15179 * math/w_j1l.c: Likewise.
15180 * math/w_jn.c: Likewise.
15181 * math/w_jnf.c: Likewise.
15182 * math/w_log.c: Likewise.
15183 * math/w_logf.c: Likewise.
15184 * math/w_logl.c: Likewise.
15185 * math/w_log10.c: Likewise.
15186 * math/w_log10f.c: Likewise.
15187 * math/w_log10l.c: Likewise.
15188 * math/w_log2.c: Likewise.
15189 * math/w_log2f.c: Likewise.
15190 * math/w_log2l.c: Likewise.
15191 * math/w_pow.c: Likewise.
15192 * math/w_powf.c: Likewise.
15193 * math/w_powl.c: Likewise.
15194 * math/w_remainder.c: Likewise.
15195 * math/w_remainderf.c: Likewise.
15196 * math/w_remainderl.c: Likewise.
15197 * math/w_scalb.c: Likewise.
15198 * math/w_scalbf.c: Likewise.
15199 * math/w_scalbl.c: Likewise.
15200 * math/w_sqrt.c: Likewise.
15201 * math/w_sqrtf.c: Likewise.
15202 * math/w_sqrtl.c: Likewise.
15203 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15204 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15206 * math/math_private.h: Declare __kernel_standard_f.
15207 * math/w_cosh.c: Remove cruft and optimize a bit.
15208 * math/w_coshf.c: Likewise.
15209 * math/w_coshl.c: Likewise.
15210 * math/w_exp2.c: Likewise.
15211 * math/w_exp2f.c: Likewise.
15212 * math/w_exp2l.c: Likewise.
15213 * math/w_hypot.c: Likewise.
15214 * math/w_hypotf.c: Likewise.
15215 * math/w_hypotl.c: Likewise.
15216 * math/w_lgamma.c: Likewise.
15217 * math/w_lgamma_r.c: Likewise.
15218 * math/w_lgammaf.c: Likewise.
15219 * math/w_lgammaf_r.c: Likewise.
15220 * math/w_lgammal.c: Likewise.
15221 * math/w_lgammal_r.c: Likewise.
15222 * math/w_sinh.c: Likewise.
15223 * math/w_sinhf.c: Likewise.
15224 * math/w_sinhl.c: Likewise.
15225 * math/w_tgamma.c: Likewise.
15226 * math/w_tgammaf.c: Likewise.
15227 * math/w_tgammal.c: Likewise.
15228 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15229 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15230 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15231 Minor optimizations. Pretty printing. Remove cruft.
15232 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15233 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15234 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15235 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15236 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15237 * sysdeps/i386/fpu/e_asin.S: Likewise.
15238 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15239 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15240 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15241 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15242 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15243 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15244 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15245 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15246 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15247 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15248 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15249 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15250 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15251 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15252 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15253 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15254 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15255 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15256 * sysdeps/i386/fpu/e_log.S: Likewise.
15257 * sysdeps/i386/fpu/e_log10.S: Likewise.
15258 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15259 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15260 * sysdeps/i386/fpu/e_log2.S: Likewise.
15261 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15262 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15263 * sysdeps/i386/fpu/e_logf.S: Likewise.
15264 * sysdeps/i386/fpu/e_logl.S: Likewise.
15265 * sysdeps/i386/fpu/e_pow.S: Likewise.
15266 * sysdeps/i386/fpu/e_powf.S: Likewise.
15267 * sysdeps/i386/fpu/e_powl.S: Likewise.
15268 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15269 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15270 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15271 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15272 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15273 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15274 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15275 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15276 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15277 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15278 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15280 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15281 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15282 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15283 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15284 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15285 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15286 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15287 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15288 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15290 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15291 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15292 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15293 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15294 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15295 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15296 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15297 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15298 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15299 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15300 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15301 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15302 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15303 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15304 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15305 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15306 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15307 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15308 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15309 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15310 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15311 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15312 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15313 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15314 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15315 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15316 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15317 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15318 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15319 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15320 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15321 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15322 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15323 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15324 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15325 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15326 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15327 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15328 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15329 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15330 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15331 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15332 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15333 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15334 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15335 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15336 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15337 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15338 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15339 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15340 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15341 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15342 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15343 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15344 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15345 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15346 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15347 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15348 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15349 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15350 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15351 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15352 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15353 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15354 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15355 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15356 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15357 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15358 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15359 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15360 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15361 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15362 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15363 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15364 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15365 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15366 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15367 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15368 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15369 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15370 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15371 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15372 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15373 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15374 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15375 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15376 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15377 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15378 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15379 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15380 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15381 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15382 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15383 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15384 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15385 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15386 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15387 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15388 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15389 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15390 (__isnanf): Likewise.
15391 (__isinf_ns): Likewise.
15392 (__isinf_nsf): Likewise.
15393 (__finite): Likewise.
15394 (__finitef): Likewise.
15395 (__ieee754_sqrt): Define as macro.
15396 (__ieee754_sqrtf): Define as macro.
15397 (__ieee754_sqrtl): Define as macro.
15398 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15400 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15401 __FINITE_MATH_ONLY__ consistent.
15402 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15404 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15406 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15409 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15411 2011-10-09 Ulrich Drepper <drepper@gmail.com>
15413 * po/ja.po: Update from translation team.
15415 2011-10-08 Roland McGrath <roland@hack.frob.com>
15417 * locale/programs/locarchive.c (prepare_address_space): New function.
15418 (create_archive, enlarge_archive, open_archive): Use it.
15420 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15421 inside [SHARED], where it is used.
15423 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15425 * nss/getent.c (netgroup_keys): Remove unused variable.
15426 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15428 2011-10-08 Ulrich Drepper <drepper@gmail.com>
15430 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15431 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15433 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15434 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15435 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15436 * math/Makefile (libm-calls): Add s_isinf_ns.
15437 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15438 * math/multc3.c: Likewise.
15439 * math/s_casin.c: Likewise.
15440 * math/s_casinf.c: Likewise.
15441 * math/s_casinl.c: Likewise.
15442 * math/s_ccos.c: Likewise.
15443 * math/s_ccosf.c: Likewise.
15444 * math/s_ccosl.c: Likewise.
15445 * math/s_ctan.c: Likewise.
15446 * math/s_ctanf.c: Likewise.
15447 * math/s_ctanh.c: Likewise.
15448 * math/s_ctanhf.c: Likewise.
15449 * math/s_ctanhl.c: Likewise.
15450 * math/s_ctanl.c: Likewise.
15451 * math/w_fmod.c: Likewise.
15452 * math/w_fmodf.c: Likewise.
15453 * math/w_fmodl.c: Likewise.
15454 * math/w_remainder.c: Likewise.
15455 * math/w_remainderf.c: Likewise.
15456 * math/w_remainderl.c: Likewise.
15457 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15458 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15459 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15461 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15462 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15463 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15464 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15466 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15468 * stdio-common/printf_fphex.c: Likewise.
15469 * stdio-common/printf_size.c: Likewise.
15471 * math/e_exp10.c: Include math_private.h using <...> not "...".
15472 * math/e_exp10f.c: Likewise.
15473 * math/e_exp10l.c: Likewise.
15474 * math/e_exp2l.c: Likewise.
15475 * math/e_j0l.c: Likewise.
15476 * math/e_j1l.c: Likewise.
15477 * math/e_jnl.c: Likewise.
15478 * math/e_lgammal_r.c: Likewise.
15479 * math/e_rem_pio2l.c: Likewise.
15480 * math/e_scalb.c: Likewise.
15481 * math/e_scalbf.c: Likewise.
15482 * math/e_scalbl.c: Likewise.
15483 * math/k_cosl.c: Likewise.
15484 * math/k_sinl.c: Likewise.
15485 * math/k_tanl.c: Likewise.
15486 * math/s_cacoshf.c: Likewise.
15487 * math/s_catan.c: Likewise.
15488 * math/s_catanf.c: Likewise.
15489 * math/s_catanh.c: Likewise.
15490 * math/s_catanhf.c: Likewise.
15491 * math/s_catanhl.c: Likewise.
15492 * math/s_catanl.c: Likewise.
15493 * math/s_ccosh.c: Likewise.
15494 * math/s_ccoshf.c: Likewise.
15495 * math/s_ccoshl.c: Likewise.
15496 * math/s_cexp.c: Likewise.
15497 * math/s_cexpf.c: Likewise.
15498 * math/s_cexpl.c: Likewise.
15499 * math/s_clog.c: Likewise.
15500 * math/s_clog10.c: Likewise.
15501 * math/s_clog10f.c: Likewise.
15502 * math/s_clog10l.c: Likewise.
15503 * math/s_clogf.c: Likewise.
15504 * math/s_clogl.c: Likewise.
15505 * math/s_csin.c: Likewise.
15506 * math/s_csinf.c: Likewise.
15507 * math/s_csinh.c: Likewise.
15508 * math/s_csinhf.c: Likewise.
15509 * math/s_csinhl.c: Likewise.
15510 * math/s_csinl.c: Likewise.
15511 * math/s_csqrt.c: Likewise.
15512 * math/s_csqrtf.c: Likewise.
15513 * math/s_csqrtl.c: Likewise.
15514 * math/s_ctan.c: Likewise.
15515 * math/s_ctanf.c: Likewise.
15516 * math/s_ctanh.c: Likewise.
15517 * math/s_ctanhf.c: Likewise.
15518 * math/s_ctanhl.c: Likewise.
15519 * math/s_ctanl.c: Likewise.
15520 * math/s_ldexp.c: Likewise.
15521 * math/s_ldexpf.c: Likewise.
15522 * math/s_ldexpl.c: Likewise.
15523 * math/s_significand.c: Likewise.
15524 * math/s_significandf.c: Likewise.
15525 * math/s_significandl.c: Likewise.
15526 * math/w_acos.c: Likewise.
15527 * math/w_acosf.c: Likewise.
15528 * math/w_acosh.c: Likewise.
15529 * math/w_acoshf.c: Likewise.
15530 * math/w_acoshl.c: Likewise.
15531 * math/w_acosl.c: Likewise.
15532 * math/w_asin.c: Likewise.
15533 * math/w_asinf.c: Likewise.
15534 * math/w_asinl.c: Likewise.
15535 * math/w_atan2.c: Likewise.
15536 * math/w_atan2f.c: Likewise.
15537 * math/w_atan2l.c: Likewise.
15538 * math/w_atanh.c: Likewise.
15539 * math/w_atanhf.c: Likewise.
15540 * math/w_atanhl.c: Likewise.
15541 * math/w_cosh.c: Likewise.
15542 * math/w_coshf.c: Likewise.
15543 * math/w_coshl.c: Likewise.
15544 * math/w_dremf.c: Likewise.
15545 * math/w_exp10.c: Likewise.
15546 * math/w_exp10f.c: Likewise.
15547 * math/w_exp10l.c: Likewise.
15548 * math/w_exp2.c: Likewise.
15549 * math/w_exp2f.c: Likewise.
15550 * math/w_fmod.c: Likewise.
15551 * math/w_fmodf.c: Likewise.
15552 * math/w_fmodl.c: Likewise.
15553 * math/w_hypot.c: Likewise.
15554 * math/w_hypotf.c: Likewise.
15555 * math/w_hypotl.c: Likewise.
15556 * math/w_j0.c: Likewise.
15557 * math/w_j0f.c: Likewise.
15558 * math/w_j0l.c: Likewise.
15559 * math/w_j1.c: Likewise.
15560 * math/w_j1f.c: Likewise.
15561 * math/w_j1l.c: Likewise.
15562 * math/w_jn.c: Likewise.
15563 * math/w_jnf.c: Likewise.
15564 * math/w_jnl.c: Likewise.
15565 * math/w_lgamma.c: Likewise.
15566 * math/w_lgamma_r.c: Likewise.
15567 * math/w_lgammaf.c: Likewise.
15568 * math/w_lgammaf_r.c: Likewise.
15569 * math/w_lgammal.c: Likewise.
15570 * math/w_lgammal_r.c: Likewise.
15571 * math/w_log.c: Likewise.
15572 * math/w_log10.c: Likewise.
15573 * math/w_log10f.c: Likewise.
15574 * math/w_log10l.c: Likewise.
15575 * math/w_log2.c: Likewise.
15576 * math/w_log2f.c: Likewise.
15577 * math/w_log2l.c: Likewise.
15578 * math/w_logf.c: Likewise.
15579 * math/w_logl.c: Likewise.
15580 * math/w_pow.c: Likewise.
15581 * math/w_powf.c: Likewise.
15582 * math/w_powl.c: Likewise.
15583 * math/w_remainder.c: Likewise.
15584 * math/w_remainderf.c: Likewise.
15585 * math/w_remainderl.c: Likewise.
15586 * math/w_scalb.c: Likewise.
15587 * math/w_scalbf.c: Likewise.
15588 * math/w_scalbl.c: Likewise.
15589 * math/w_sinh.c: Likewise.
15590 * math/w_sinhf.c: Likewise.
15591 * math/w_sinhl.c: Likewise.
15592 * math/w_sqrt.c: Likewise.
15593 * math/w_sqrtf.c: Likewise.
15594 * math/w_sqrtl.c: Likewise.
15595 * math/w_tgamma.c: Likewise.
15596 * math/w_tgammaf.c: Likewise.
15597 * math/w_tgammal.c: Likewise.
15599 * po/ja.po: Update from translation team.
15601 2011-09-29 Andreas Jaeger <aj@suse.de>
15604 * sunrpc/netname.c (netname2host): Fix logic.
15608 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15610 * math/w_remainder.c (__remainder): Likewise.
15611 * math/w_remainderf.c (__remainderf): Likewise.
15612 * math/libm-test.inc (remainder_test): Add test cases.
15614 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15616 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15619 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15621 * string/test-memcmp.c: Avoid unncessary #defines.
15622 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15624 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15626 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15627 Use new sse2 version for core i3 - i7 as it's faster
15628 than sse42 version.
15629 (bit_Prefer_PMINUB_for_stringop): New.
15630 * sysdeps/x86_64/rawmemchr.S: Update.
15631 Replace with faster SSE2 version.
15632 * sysdeps/x86_64/memrchr.S: New file.
15633 * sysdeps/x86_64/memchr.S: Update.
15634 Replace with faster SSE2 version.
15636 2011-09-12 Marek Polacek <mpolacek@redhat.com>
15638 * elf/dl-load.c (lose): Add cast to avoid warning.
15640 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15642 * po/ca.po: Update from translation team.
15644 * inet/getnetgrent_r.c: Hook up nscd.
15645 * nscd/Makefile (routines): Add nscd_netgroup.
15646 (nscd-modules): Add netgroupcache.
15647 (CFLAGS-netgroupcache.c): Define.
15648 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15649 (cache_search): Add const to second parameter.
15650 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15652 (dbs): Add netgrdb entry.
15653 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15654 (verify_persistent_db): Handle netgrdb.
15655 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15656 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15658 (netgroup_response_header): Define.
15659 (innetgroup_response_header): Define.
15660 (datahead): Add netgroup_response_header and innetgroup_response_header
15662 * nscd/nscd.conf: Add entries for netgroup cache.
15663 * nscd/nscd.h (dbtype): Add netgrdb.
15664 (_PATH_NSCD_NETGROUP_DB): Define.
15665 (netgroup_iov_disabled): Declare.
15666 (xmalloc, xcalloc, xrealloc): Move declarations here.
15667 (cache_search): Adjust prototype.
15668 Add netgroup-related prototypes.
15669 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15670 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15671 (__nscd_innetgr): Declare.
15672 * nscd/selinux.c (perms): Use access_vector_t as element type and
15673 add netgroup-related initializers.
15674 * nscd/netgroupcache.c: New file.
15675 * nscd/nscd_netgroup.c: New file.
15676 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15677 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15678 For four parameters use innetgr.
15679 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15680 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15681 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15682 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15684 * nscd/connections.c (register_traced_file): Don't register file
15685 for disabled databases.
15687 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15689 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15691 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15692 from tree and freeing node.
15694 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15696 * nss/nsswitch.c (__nss_database_lookup): Handle
15697 nss_parse_service_list out of memory case.
15699 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15701 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15702 out of memory case.
15704 2011-10-04 Andreas Schwab <schwab@redhat.com>
15706 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15707 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15709 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15710 elf_machine_rela, elf_machine_lazy_rel.
15711 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15712 (ELF_DYNAMIC_DO_REL): Likewise.
15713 (ELF_DYNAMIC_DO_RELA): Likewise.
15714 (ELF_DYNAMIC_RELOCATE): Likewise.
15715 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15716 to ELF_DYNAMIC_DO_REL.
15717 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15718 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15719 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15721 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15722 skip_ifunc, don't call ifunc function if non-zero.
15723 (elf_machine_rela): Likewise.
15724 (elf_machine_lazy_rel): Likewise.
15725 (elf_machine_lazy_rela): Likewise.
15726 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15727 (elf_machine_lazy_rel): Likewise.
15728 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15730 (elf_machine_lazy_rel): Likewise.
15731 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15733 (elf_machine_lazy_rel): Likewise.
15734 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15735 (elf_machine_lazy_rel): Likewise.
15736 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15737 (elf_machine_lazy_rel): Likewise.
15738 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15739 (elf_machine_lazy_rel): Likewise.
15740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15741 (elf_machine_lazy_rel): Likewise.
15742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15743 (elf_machine_lazy_rel): Likewise.
15744 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15745 (elf_machine_lazy_rel): Likewise.
15747 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15749 * nss/nss_files/files-init.c (_nss_files_init): Use static
15750 initialization for all the *_traced_file variables.
15752 2011-09-28 Andreas Schwab <schwab@redhat.com>
15754 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15756 2011-09-27 Roland McGrath <roland@hack.frob.com>
15759 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15761 2011-09-27 Andreas Schwab <schwab@redhat.com>
15763 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15764 Reread the line before reparsing it.
15766 2011-09-26 Andreas Schwab <schwab@redhat.com>
15768 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15770 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15771 Maxim Kuvyrkov <maxim@codesourcery.com>
15772 Joseph Myers <joseph@codesourcery.com>
15774 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15775 if needed for __stack_chk_guard.
15777 2011-09-19 Roland McGrath <roland@hack.frob.com>
15779 * sysdeps/posix/spawni.c (script_execute): Always define it.
15780 It will be optimized away if unused.
15781 (maybe_script_execute): New function.
15782 (__spawni): Call it.
15784 * Makerules: Don't include tls.make.
15785 (config-tls): Always set to thread.
15786 * tls.make.c: File removed.
15788 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15790 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15791 * config.make.in (CPPFLAGS-config): New substituted variable.
15793 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15795 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15798 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15799 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15801 2011-09-15 Roland McGrath <roland@hack.frob.com>
15803 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15804 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15805 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15806 (CALL_FAIL): Likewise.
15807 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15808 (CALL_FAIL): Macro removed.
15809 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15811 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15813 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15814 for __FINITE_MATH_ONLY__ == 1.
15816 2011-09-15 Andreas Schwab <schwab@redhat.com>
15818 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15819 __ieee754_sqrt instead of sqrt.
15820 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15821 __ieee754_sqrtf instead of sqrtf.
15822 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15823 __floorf instead of floorf.
15824 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15825 __floorf, __truncf instead of floorf, truncf.
15827 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15829 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15831 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15832 __extern_always_inline.
15833 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15836 2011-09-14 Andreas Schwab <schwab@redhat.com>
15838 * elf/rtld.c (dl_main): Also relocate in dependency order when
15839 doing symbol dependency testing.
15841 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15843 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15844 Always define `refsym'.
15846 2011-09-13 Andreas Schwab <schwab@redhat.com>
15848 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15849 (__FD_ELT): Renamed from __FDELT.
15850 * misc/bits/select2.h (__FD_ELT): Likewise.
15851 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15852 __FD_MASK instead of __FDELT, __FDMASK.
15853 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15855 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15858 * elf/Makefile (gen-ldd): Fix pattern.
15860 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15861 (init_tls): Likewise.
15863 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15865 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15867 2011-09-12 Andreas Schwab <schwab@redhat.com>
15869 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15870 `struct cmsghdr *' instead of `void *'.
15871 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15874 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15876 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15878 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15879 ldd_rewrite_script.
15881 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15883 * configure.in: Remove --with-tls option.
15884 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15885 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15886 out in case it is missing.
15887 * sysdeps/ia64/elf/configure.in: Likewise.
15888 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15889 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15890 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15891 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15892 * sysdeps/sh/elf/configure.in: Likewise.
15893 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15894 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15895 * sysdeps/x86_64/elf/configure.in: Likewise.
15896 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15897 * sysdeps/mach/hurd/tls.h: Likewise.
15900 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15903 * configure.in: Fix use of AC_INIT.
15905 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15907 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15909 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15911 * malloc/hooks.c: Likewise.
15914 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15915 variables statically.
15916 (narenas): Initialize.
15917 (list_lock): Initialize.
15918 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15919 initializtion of main_arena and list_lock. Small cleanups.
15920 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15921 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15922 Add initializers to main_arena and mp_.
15923 (malloc_state): Remove pagesize member. Change all users to use
15926 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15927 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15928 is always initialized.
15930 * malloc/malloc.c: Removed unused configurations and dead code.
15931 * malloc/arena.c: Likewise.
15932 * malloc/hooks.c: Likewise.
15933 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15935 * include/tls.h: Removed. USE___THREAD must always be defined.
15936 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15937 * elf/dl-libc.c: Likewise.
15938 * elf/dl-tsd.c: Likewise.
15939 * include/errno.h: Likewise.
15940 * include/netdb.h: Likewise.
15941 * include/resolv.h: Likewise.
15942 * inet/herrno-loc.c: Likewise.
15943 * inet/herrno.c: Likewise.
15944 * malloc/arena.c: Likewise.
15945 * malloc/hooks.c: Likewise.
15946 * malloc/malloc.c: Likewise.
15947 * resolv/res-state.c: Likewise.
15948 * resolv/res_libc.c: Likewise.
15949 * sysdeps/i386/dl-machine.h: Likewise.
15950 * sysdeps/ia64/dl-machine.h: Likewise.
15951 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15952 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15953 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15954 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15955 * sysdeps/sh/dl-machine.h: Likewise.
15956 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15957 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15958 * sysdeps/unix/i386/sysdep.S: Likewise.
15959 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15960 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15962 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15963 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15964 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15965 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15967 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15969 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15970 * sysdeps/x86_64/dl-machine.h: Likewise.
15971 * tls.make.c: Likewise.
15973 * configure.in: Remove --with-__thread option. Make tests for
15974 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15975 tls_model attribute fail if no support is available. Remove
15977 * Makeconfig: Adjust for dropped configure option. All features are
15979 * Makerules: Likewise.
15980 * Versions.def: Likewise.
15981 * argp/argp-fmtstream.c: Likewise.
15982 * argp/argp-fmtstream.h: Likewise.
15983 * argp/argp-help.c: Likewise.
15984 * assert/assert.c: Likewise.
15985 * config.h.in: Likewise.
15986 * config.make.in: Likewise.
15987 * configure: Likewise.
15988 * configure.in: Likewise.
15989 * csu/Versions: Likewise.
15990 * csu/init.c: Likewise.
15991 * elf/tst-audit2.c: Likewise.
15992 * elf/tst-tls10.c: Likewise.
15993 * elf/tst-tls10.h: Likewise.
15994 * elf/tst-tls11.c: Likewise.
15995 * elf/tst-tls12.c: Likewise.
15996 * elf/tst-tls14.c: Likewise.
15997 * elf/tst-tlsmod11.c: Likewise.
15998 * elf/tst-tlsmod12.c: Likewise.
15999 * elf/tst-tlsmod13.c: Likewise.
16000 * elf/tst-tlsmod13a.c: Likewise.
16001 * elf/tst-tlsmod14a.c: Likewise.
16002 * elf/tst-tlsmod15b.c: Likewise.
16003 * elf/tst-tlsmod16a.c: Likewise.
16004 * elf/tst-tlsmod16b.c: Likewise.
16005 * elf/tst-tlsmod7.c: Likewise.
16006 * elf/tst-tlsmod8.c: Likewise.
16007 * elf/tst-tlsmod9.c: Likewise.
16008 * gmon/gmon.c: Likewise.
16009 * grp/fgetgrent_r.c: Likewise.
16010 * grp/putgrent.c: Likewise.
16011 * hurd/fopenport.c: Likewise.
16012 * include/libc-symbols.h: Likewise.
16013 * include/tls.h: Likewise.
16014 * intl/gettextP.h: Likewise.
16015 * intl/loadinfo.h: Likewise.
16016 * locale/global-locale.c: Likewise.
16017 * locale/localeinfo.h: Likewise.
16018 * mach/devstream.c: Likewise.
16019 * malloc/arena.c: Likewise.
16020 * malloc/set-freeres.c: Likewise.
16021 * misc/err.c: Likewise.
16022 * misc/getttyent.c: Likewise.
16023 * misc/mntent_r.c: Likewise.
16024 * posix/getopt.c: Likewise.
16025 * posix/wordexp.c: Likewise.
16026 * pwd/fgetpwent_r.c: Likewise.
16027 * resolv/Versions: Likewise.
16028 * resolv/res_hconf.c: Likewise.
16029 * shadow/fgetspent_r.c: Likewise.
16030 * shadow/putspent.c: Likewise.
16031 * stdio-common/printf_fphex.c: Likewise.
16032 * stdio-common/tmpfile.c: Likewise.
16033 * stdlib/abort.c: Likewise.
16034 * stdlib/fmtmsg.c: Likewise.
16035 * sunrpc/auth_unix.c: Likewise.
16036 * sunrpc/clnt_perr.c: Likewise.
16037 * sunrpc/clnt_tcp.c: Likewise.
16038 * sunrpc/clnt_udp.c: Likewise.
16039 * sunrpc/clnt_unix.c: Likewise.
16040 * sunrpc/openchild.c: Likewise.
16041 * sunrpc/svc_simple.c: Likewise.
16042 * sunrpc/svc_tcp.c: Likewise.
16043 * sunrpc/svc_udp.c: Likewise.
16044 * sunrpc/svc_unix.c: Likewise.
16045 * sunrpc/xdr.c: Likewise.
16046 * sunrpc/xdr_array.c: Likewise.
16047 * sunrpc/xdr_rec.c: Likewise.
16048 * sunrpc/xdr_ref.c: Likewise.
16049 * sunrpc/xdr_stdio.c: Likewise.
16051 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16053 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16055 2011-07-03 Andreas Jaeger <aj@suse.de>
16057 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16058 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16059 regenerate with gen-libm-tests.pl.
16061 2010-05-12 Petr Baudis <pasky@suse.cz>
16064 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16065 around j0() zero points by switching to j1().
16066 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16067 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16068 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16069 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16071 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16073 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16075 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16078 Patch in part by Pavel Roskin <proski@gnu.org>.
16081 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16083 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16084 Free memory block if necessary.
16087 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16088 be NULL. Don't lock in this case.
16090 2011-09-09 Roland McGrath <roland@hack.frob.com>
16092 * elf/elf.h (ELFOSABI_GNU): New macro.
16093 (ELFOSABI_LINUX): Define to that.
16095 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16097 * string/strncat.c (strncat): Undef the symbol in case it has been
16098 defined in bits/string.h.
16100 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16102 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16104 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16107 2011-08-17 Andreas Jaeger <aj@suse.de>
16109 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16111 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16112 Ian Lance Taylor <iant@google.com>
16114 * math/libm-test.inc (lround_test): New testcase.
16115 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16117 2011-09-08 Ulrich Drepper <drepper@gmail.com>
16119 * Makefile: Remove support for automatic cvs check-ins.
16120 * Makerules: Likewise.
16121 * config.make.in: Likewise.
16122 * configure.in: Likewise.
16123 * intl/Makefile: Likewise.
16124 * locale/Makefile: Likewise.
16125 * po/Makefile: Likewise.
16126 * posix/Makefile: Likewise.
16127 * sysdeps/gnu/Makefile: Likewise.
16128 * sysdeps/mach/hurd/Makefile: Likewise.
16129 * sysdeps/sparc/sparc32/Makefile: Likewise.
16132 * posix/Makefile (bug-regex32-ENV): Define.
16133 Patch by John Stanley <jpsinthemix@verizon.net>.
16135 * misc/Makefile (headers): Add bits/select2.h.
16136 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16137 * misc/bits/select2.h: New file.
16138 * include/bits/select2.h: New file.
16139 * debug/Makefile (routines): Add fdelt_chk.
16140 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16141 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16143 * debug/fdelt_chk.c: New file.
16145 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16146 * wcsmbs/test-wmemcmp.c: Likewise.
16147 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16148 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16150 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16152 * string/Makefile (strop-tests): Add memcmp.
16153 * string/test-wmemcmp.c: New file.
16154 * string/test-memcmp.c: Add wmemcmp support.
16156 2011-09-08 Roland McGrath <roland@hack.frob.com>
16159 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16162 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16163 garbage value in a __mach_port_mod_refs call in the cases of the
16164 task-self and thread-self ports.
16166 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16168 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16170 2011-09-08 Andreas Schwab <schwab@redhat.com>
16172 * elf/dl-load.c (lose): Check for non-null L.
16174 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16176 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16178 * elf/dl-libc.c (dlerror_run): Pass back error code from
16182 * elf/dl-load.c (lose): Free l_origin if it is valid.
16184 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16186 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16187 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16188 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16189 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16190 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16191 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16193 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16195 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16196 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16197 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16198 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16199 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16200 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16201 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16202 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16203 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16204 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16206 2011-08-15 Alan Modra <amodra@gmail.com>
16209 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16210 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16211 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16212 ppc_mcount to static-only-routines.
16213 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16215 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16216 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16218 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16220 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16221 for finite and infinity parameters.
16223 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16225 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16226 and add nop instructions for throughput optimization.
16227 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16229 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16231 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16232 aligned copy for power7 with vector-scalar instructions.
16233 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16235 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16237 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16240 2011-09-07 Andreas Schwab <schwab@redhat.com>
16243 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16246 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16248 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16249 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16250 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16251 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16254 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16256 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16257 Forgot to demangle the pointer.
16259 * sysdeps/i386/sysdep.h: Define atom_text_section.
16260 * sysdeps/x86_64/sysdep.h: Likewise.
16261 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16262 section with atom_text_section.
16263 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16264 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16265 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16266 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16267 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16269 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16270 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16271 already be defined. Change to take two parameters and don't assign
16272 result to variable. Adjust all users.
16273 Define INTERNAL_GETTIME if not already defined.
16274 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16277 HAVE_CLOCK_GETTIME_VSYSCALL.
16278 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16280 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16281 gettimeofday vsyscall, just use time.
16283 2011-09-06 Andreas Schwab <schwab@redhat.com>
16285 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16288 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16290 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16294 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16295 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16296 syscall if possible.
16298 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16300 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16301 e_ident. Don't pass to find_mapsXX.
16302 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16304 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16307 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16308 * sysdeps/x86_64/multiarch/strchr.S: Update.
16309 Check bit_slow_BSF bit.
16310 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16311 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16312 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16314 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16317 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16319 (tryshell): Define.
16320 (__spawni): Change last parameter to be flag. Test
16321 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16322 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16323 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16324 * posix/spawni.c: Likewise.
16325 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16326 * posix/spawnp.c: Likewise. Change normal version to use
16327 SPAWN_XFLAGS_USE_PATH.
16328 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16329 SPAWN_XFLAGS_TRY_SHELL.
16332 * posix/glob.h: Remove gcc 1.x support.
16335 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16337 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16340 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16342 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16343 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16344 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16345 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16346 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16347 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16349 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16351 * sysdeps/x86_64/wcscmp.S: New file.
16353 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16354 wcscmp-c wcscmp-sse2
16355 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16356 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16357 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16358 * wcsmbs/wcscmp.c: Allow renaming.
16360 2011-09-05 David S. Miller <davem@davemloft.net>
16362 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16363 stack slot, rather than the struct return pointer slot.
16364 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16365 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16367 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16369 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16371 * po/ja.po: Update from translation team.
16374 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16375 kernel in 64-bit binaries.
16377 2011-09-01 David S. Miller <davem@davemloft.net>
16379 * elf/elf.h (HWCAP_SPARC_*): Move to..
16380 * sysdeps/sparc/sysdep.h: this new file and add new values.
16381 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16382 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16383 _DL_HWCAP_COUNT to 24.
16384 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16386 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16387 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16388 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16390 instead of magic constants.
16391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16393 2011-08-31 David S. Miller <davem@davemloft.net>
16395 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16397 Reimplement to do errno handling inline.
16398 (SYSCALL_ERROR_HANDLER): New macro.
16399 (__SYSCALL_STRING): Do not do errno handling in asm.
16400 (__CLONE_SYSCALL_STRING): Delete.
16401 (__INTERNAL_SYSCALL_STRING): Delete.
16402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16403 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16404 (PSEUDO): Reimplement to do errno handling inline.
16405 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16406 (SYSCALL_ERROR_HANDLER): New macro.
16407 (__SYSCALL_STRING): Do not do errno handling in asm.
16408 (__CLONE_SYSCALL_STRING): Delete.
16409 (__INTERNAL_SYSCALL_STRING): Delete.
16410 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16411 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16413 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16414 (inline_syscall*): Add 'err' argument.
16415 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16416 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16417 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16418 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16420 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16421 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16423 2011-08-30 Andreas Schwab <schwab@redhat.com>
16425 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16427 2011-08-29 Jiri Olsa <jolsa@redhat.com>
16429 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16432 2011-08-24 David S. Miller <davem@davemloft.net>
16434 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16436 2011-08-24 Andreas Schwab <schwab@redhat.com>
16438 * elf/Makefile: Add rules to build and run unload8 test.
16439 * elf/unload8.c: New file.
16440 * elf/unload8mod1.c: New file.
16441 * elf/unload8mod1x.c: New file.
16442 * elf/unload8mod2.c: New file.
16443 * elf/unload8mod3.c: New file.
16445 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16448 2011-08-23 David S. Miller <davem@davemloft.net>
16450 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16451 subtract stack bias.
16452 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16453 %sp not %fp in calculations.
16454 (_JMPBUF_UNWINDS_ADJ): Likewise.
16456 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16457 (aio_suspend): Call it to force an exception region around the
16458 AIO_MISC_WAIT() invocation.
16460 2011-08-23 Andreas Schwab <schwab@redhat.com>
16462 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16465 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16467 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16469 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16470 and <dl-machine.h>.
16471 (Elf64_FuncDesc): Remove.
16473 2011-08-22 David S. Miller <davem@davemloft.net>
16475 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16476 sigaltstack check, add missing cfi directives.
16477 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16478 missing cfi directives, and sigaltstack handling.
16480 2011-08-16 Andreas Schwab <schwab@redhat.com>
16483 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16484 object is seen twice.
16485 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16487 * elf/Makefile (distribute): Add tst-initorder2.c.
16488 (tests): Add tst-initorder2.
16489 (modules-names): Add tst-initorder2a tst-initorder2b
16490 tst-initorder2c tst-initorder2d. Add rules to build them.
16491 ($(objpfx)tst-initorder2.out): New rule.
16492 * elf/tst-initorder2.c: New file.
16493 * elf/tst-initorder2.exp: New file.
16495 2011-08-22 Andreas Schwab <schwab@redhat.com>
16497 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16499 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16500 dependencies back to end of function.
16502 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16503 $(elfobjdir)/ld.so.
16505 2011-08-21 Ulrich Drepper <drepper@gmail.com>
16507 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16508 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16509 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16510 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16511 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16512 of __vdso_gettimeofday.
16513 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16514 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16516 (_libc_vdso_platform_setup): Remove initialization of
16517 __vdso_gettimeofday and __vdso_time.
16519 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16521 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16522 and fgetc_unlocked.
16523 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16526 * elf/dl-open.c (add_to_global): Report additions to the global scope
16527 for LD_DEBUG=scopes.
16528 (dl_open_worker): Also print scope of newly loaded dependencies.
16529 (_dl_show_scope): Indicate if there is no scope.
16532 * stdio-common/Makefile (tests): Add bug24.
16533 * stdio-common/bug24.c: New file.
16535 2011-08-19 Andreas Jaeger <aj@suse.de>
16538 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16539 non-existant file when using close-on-exec mode.
16541 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16543 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16544 the very first instruction.
16546 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16547 the CFI state in the end.
16548 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16549 inclusion of dl-trampoline.h.
16550 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16552 2011-08-19 Andreas Schwab <schwab@redhat.com>
16554 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16555 expectations for long double.
16557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16558 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16560 2011-08-14 David S. Miller <davem@davemloft.net>
16562 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16563 artificual limit depends upon the system page size.
16565 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16567 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16568 * resolv/Makefile: Define CFLAGS-libresolv.
16570 2011-08-17 Andreas Schwab <schwab@redhat.com>
16572 * nss/makedb.c (compute_tables): Make variables used in nested
16575 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16577 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16578 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16579 if buffer was too small.
16581 * elf/pldd.c (main): Attach to all threads in the process.
16582 Rewrite /proc handling to use *at functions.
16584 2011-08-16 Ulrich Drepper <drepper@gmail.com>
16586 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16587 specifies first scope to show.
16588 (dl_open_worker): Update callers. Move printing scope of new
16589 object to before the relocation.
16590 * elf/rtld.c (dl_main): Update _dl_show_scope call.
16591 * sysdeps/generic/ldsodefs.h: Update declaration.
16593 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16594 string for the scope number.
16596 2011-08-14 Ulrich Drepper <drepper@gmail.com>
16598 * nscd/servicescache.c (cache_addserv): Make sure written is always
16601 2011-08-14 Roland McGrath <roland@hack.frob.com>
16603 * sysdeps/i386/i486/bits/atomic.h
16604 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16605 statement expression, so as to suppress "set but not used" warning.
16606 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16608 * string/strncat.c (STRNCAT): Use prototype definition.
16610 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16611 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16613 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16614 (localedef-modules): Add localedef.
16615 (locale-modules): Add locale.
16617 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16618 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16619 to avoid a warning.
16621 2011-08-14 David S. Miller <davem@davemloft.net>
16623 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16624 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16626 2011-08-13 Ulrich Drepper <drepper@gmail.com>
16628 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
16629 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16630 * elf/rtld.c (dl_main): Set l_name of vDSO.
16631 Call _dl_show_scope when DL_DEBUG_SCOPES.
16632 (process_dl_debug): Recognize scopes flag and also set it for all.
16633 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16634 Declare _dl_show_scope.
16636 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16637 (do_dlopen): Pass caller_dlopen to dl_open.
16638 (__libc_dlopen_mode): Initialize caller_dlopen.
16640 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16641 of libc. Make tolower call locale-independent. Optimize a bit by
16642 using isdigit instead of isalnum.
16643 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16645 2011-08-12 Ulrich Drepper <drepper@gmail.com>
16647 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16648 was a dependency or dynamically loaded.
16650 2011-08-11 Ulrich Drepper <drepper@gmail.com>
16652 * intl/l10nflist.c: Allow architecture-specific pop function.
16653 * sysdeps/x86_64/l10nflist.c: New file.
16655 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16658 2011-08-10 Andreas Schwab <schwab@redhat.com>
16660 * include/dirent.h: Add libc_hidden_proto for scandirat and
16661 scandirat64. Don't declare __scandirat64.
16662 * dirent/scandirat.c: Add libc_hidden_def.
16663 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16664 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16666 2011-08-10 David S. Miller <davem@davemloft.net>
16668 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16670 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16671 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16672 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16674 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16676 * Versions.def [libc]: Add GLIBC_2.15.
16677 * dirent/Makefile (routines): Add scandirat and scandirat64.
16678 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16680 * dirent/dirent.h: Declare scandirat and scandirat64.
16681 * dirent/scandirat.c: New file.
16682 * dirent/scandirat64.c: New file.
16683 * sysdeps/wordsize-64/scandirat.c: New file.
16684 * sysdeps/wordsize-64/scandirat64.c: New file.
16685 * dirent/opendir.c: Define opendirat.
16686 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16688 * dirent/scandir64.c: Adjust for scandir.c change.
16689 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16690 __scandirat64, and __scandir_cancel_handler.
16691 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16692 additional parameter and use openat instead of open (outside of ld.so).
16693 Add new __opendir as wrapper around __opendirat.
16694 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16695 here without requiring old scandirat implementation.
16697 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16699 * dirent/scandir.c (cancel_handler): Renamed to
16700 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16701 defined. Adjust users.
16702 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16703 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16705 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16707 * string/test-string.h (IMPL): Use __STRING to expand name and then
16710 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16713 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16715 * string/Makefile: Update.
16716 (strop-tests): Append strncat.
16717 * string/test-wcscmp.c: New file.
16718 New comprehensive test for wcscmp.
16719 * string/test-strcmp.c: Update.
16720 (WIDE): New define.
16722 2011-07-22 Andreas Schwab <schwab@redhat.com>
16724 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16727 2011-07-26 Andreas Schwab <schwab@redhat.com>
16729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16730 encoding to ACE if AI_IDN.
16732 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16734 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16735 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16737 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16739 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16740 Fix overflow bug in strncat.
16741 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16743 * string/test-strncat.c: Update.
16744 Add new tests for checking overflow bugs.
16746 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16749 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16750 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16751 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16752 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16753 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16754 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16755 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16756 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16758 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16759 (USE_AS_STRCAT): Define.
16760 Add strcat and strncat support.
16761 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16763 2011-07-25 Andreas Schwab <schwab@redhat.com>
16765 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16766 __n bigger than INT_MAX+1.
16767 (__strncmp_g): Likewise.
16769 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16771 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16772 * libio/stido.h: Likewise.
16774 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16776 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16779 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16780 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16781 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16782 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16783 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16786 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16791 (_dl_x86_64_save_sse): Likewise.
16793 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16797 (_dl_x86_64_save_sse): Likewise.
16799 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16801 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16803 2011-07-21 Andreas Schwab <schwab@redhat.com>
16805 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16807 (_dl_x86_64_save_sse): Use correct AVX check.
16809 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16811 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16812 bug in strncpy/strncat.
16813 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16815 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16817 * string/tester.c (test_strcat): Add tests for different alignments
16818 of source and destination.
16819 (test_strncat): Likewise.
16821 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16824 * posix/glob.c (glob): Check passed in values before using them in
16825 expressions to avoid some overflows.
16826 (glob_in_dir): Likewise.
16829 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16830 check for AVX enablement so that we don't crash with old kernels and
16832 * elf/tst-audit4.c: Add same checks here.
16833 * elf/tst-audit6.c: Likewise.
16835 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16837 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16839 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16841 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16843 * po/cs.po: Update from translation team.
16844 * po/bg.po: Likewise.
16846 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16848 * misc/sys/cdefs.h: Add support for const attribute.
16849 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16850 to gnu_dev_{major,minor,makedev} functions.
16852 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16854 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16856 2011-07-20 Andreas Schwab <schwab@redhat.com>
16858 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16861 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16863 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16864 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16865 register in order to avoid conflicts with the soft frame pointer
16866 being held in r11 when necessary.
16867 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16868 (INTERNAL_VSYSCALL_NCS): Likewise.
16870 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16872 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16873 * elf/dl-fini.c (_dl_fini): Adjust caller.
16874 * elf/dl-close.c (_dl_close_worker): Likewise.
16875 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16877 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16879 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16880 "aux_cache->nlibs < 0".
16882 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16883 in the reload-count case.
16885 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16888 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16889 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16890 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16891 * sysdeps/x86_64/multiarch/strcat.S: New file.
16892 * sysdeps/x86_64/multiarch/strncat.S: New file.
16893 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16894 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16895 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16896 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16897 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16898 (USE_AS_STRCAT): Define.
16899 Add strcat and strncat support.
16900 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16901 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16902 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16903 * string/strncat.c: Update.
16904 (USE_AS_STRNCAT): Define.
16905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16906 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16908 * sysdeps/x86_64/multiarch/init-arch.h
16909 (bit_Prefer_PMINUB_for_stringop): New.
16910 (index_Prefer_PMINUB_for_stringop): Likewise.
16911 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16912 bit_Prefer_PMINUB_for_stringop.
16914 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16916 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16918 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16919 of casting of buffer.
16920 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16921 buffer32 and buffer64.
16922 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16923 writes instead of casting of buffer.
16924 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16926 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16929 2011-07-19 Andreas Schwab <schwab@redhat.com>
16931 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16933 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16935 * nscd/nscd.c (termination_handler): Don't do anything for a database
16936 if it has not yet been initialized.
16938 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16940 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16942 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16944 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16946 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16948 * po/nl.po: Update from translation team.
16949 * po/sv.po: Likewise.
16951 2011-07-16 Roland McGrath <roland@hack.frob.com>
16953 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16954 now disallowed by GCC.
16956 * configure.in (use-default-link): Default to yes if a test -shared
16957 link meets our qualifications.
16958 * configure: Regenerated.
16960 * config.make.in (output-format): New variable.
16961 * configure.in: Check for ld --print-output-format support.
16962 * configure: Regenerated.
16963 * Makerules ($(common-objpfx)format.lds)
16964 [$(output-format) != unknown]: Just use $(output-format),
16965 instead of the linker-script munging.
16967 2011-07-14 Roland McGrath <roland@hack.frob.com>
16969 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16970 of $(common-objpfx)shlib.lds.
16971 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16973 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16974 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16976 * configure.in (-z relro check): Adjust test code to add a large
16977 writable data section after it.
16978 * configure: Regenerated.
16980 2011-07-11 Roland McGrath <roland@hack.frob.com>
16982 * configure.in (-z relro check): Fix test code to make the variable
16984 * configure: Regenerated.
16986 2011-07-11 Ulrich Drepper <drepper@gmail.com>
16988 * nscd/nscd.h (struct traced_file): Define.
16989 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16990 elements. Add traced_files.
16991 (inotify_fd): Declare.
16992 (register_traced_file): Declare.
16993 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16994 (inotify_fd): Export.
16995 (resolv_conf_descr): Remove.
16996 (nscd_init): Move inotify descriptor creation to main.
16997 Don't register files for notification here.
16998 (register_traced_file): New function.
16999 (invalidate_cache): Don't use reset_res to determine whether to call
17000 res_init, go through the list of registered files.
17001 (main_loop_poll): The inotify descriptors are now stored in the
17002 structures for the traced files.
17003 (main_loop_epoll): Likewise
17004 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17005 to __nss_disable_nscd.
17006 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17007 for a database anymore. Check the records for all the registered
17009 * nss/Makefile (libnss_files-routines): Add files-init.
17010 (libnss_db-routines): Add db-init.
17011 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17012 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17013 * nss/nss_db/db-init.c: New file.
17014 * nss/nss_files/files-init.c: New file.
17015 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17016 __nss_lookup_function.
17017 (__nss_lookup_function): Call nss_load_library.
17018 (nss_load_all_libraries): New function.
17019 (__nss_disable_nscd): Take parameter with callback function for files
17020 to register. Set is_nscd. Load all the DSOs for the NSS modules
17021 used for the cached services.
17022 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17023 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17024 options for features to all the files in nscd.
17026 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17028 2011-07-10 Roland McGrath <roland@hack.frob.com>
17030 * csu/elf-init.c (__libc_csu_init): Comment typo.
17032 2011-07-09 Ulrich Drepper <drepper@gmail.com>
17034 * po/pl.po: Update from translation team.
17035 * po/ja.po: Likewise.
17036 * po/ru.po: Likewise.
17037 * po/ko.po: Likewise.
17038 * po/fr.po: Likewise.
17040 2011-07-09 Roland McGrath <roland@hack.frob.com>
17042 * configure.in (.ctors/.dtors header and trailer check):
17043 Use an empirical test on a built program.
17044 * configure: Regenerated.
17046 * configure.in (-z relro check): Use an empirical test on a built DSO.
17047 Detect, but do not require, on ia64.
17048 * configure: Regenerated.
17050 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17051 Update tests that use readelf to use $READELF instead.
17052 * configure: Regenerated.
17054 2011-07-08 Ulrich Drepper <drepper@gmail.com>
17056 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17057 if the result is not used.
17059 2011-07-05 Andreas Jaeger <aj@suse.de>
17062 * stdlib/tst-strtod.c: Add testcase.
17064 2011-07-07 Ulrich Drepper <drepper@gmail.com>
17066 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17067 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17068 The latter has a higher limit. Take additional parameter to pass to
17070 (__pathconf): Pass file to __statfs_link_max.
17071 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17073 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17077 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17078 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17080 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17081 (__statfs_filesize_max): Likewise.
17082 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17084 2011-07-05 Andreas Jaeger <aj@suse.de>
17086 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17088 2011-07-06 Marek Polacek <mpolacek@redhat.com>
17090 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17092 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17095 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17097 * Makefile (strop-tests): Add strncat.
17098 * string/test-strncat.c: New file.
17100 2011-06-30 Marek Polacek <mpolacek@redhat.com>
17102 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17104 2011-06-21 Andreas Jaeger <aj@suse.de>
17106 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17107 Copy rule from iconvdata/Makefile.
17109 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17112 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17113 but no long options are defined, just return 'W'.
17115 2011-06-22 Marek Polacek <mpolacek@redhat.com>
17118 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17120 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17122 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17124 (innetgr): Likewise.
17126 2011-07-05 Roland McGrath <roland@hack.frob.com>
17128 * config.make.in (install_root): Default to $(DESTDIR).
17130 2011-07-05 Ulrich Drepper <drepper@gmail.com>
17132 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17134 2011-07-02 Roland McGrath <roland@hack.frob.com>
17136 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17138 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17139 containing directory rather than embedding absolute directory names.
17141 * scripts/check-local-headers.sh: Rewritten using awk.
17142 Match by word, not by line. Print error messages for matches.
17143 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17145 * Makerules [shlib-lds-flags empty]:
17146 ($(common-objpfx)libc_pic.opts): New target.
17147 ($(common-objpfx)libc_pic.os.clean): New target.
17148 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17150 * config.make.in (OBJCOPY): New variable.
17151 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17152 * configure: Regenerated.
17154 * config.make.in (use-default-link): New variable.
17155 * configure.in (use_default_link): Grok --with-default-link to set it.
17156 * configure: Regenerated.
17157 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17158 (shlib-lds, shlib-lds-flags): Define to empty.
17160 * Makerules (shlib-lds): New variable.
17161 (shlib-lds-flags): New variable.
17162 (build-shlib, build-moduile, build-module-asneeded): Use it.
17163 ($(common-objpfx)libc.so): Use $(shlib-lds).
17164 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17165 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17167 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17168 DT_FLAGS/DT_FLAGS_1 with zero flags.
17170 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17171 linker script munging.
17173 2011-07-02 Ulrich Drepper <drepper@gmail.com>
17175 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17177 * crypt/sha512.c (sha512_process_block): Perform total addition using
17178 128-bit if possible.
17179 (__sha512_finish_ctx): Likewise.
17180 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17182 * crypt/sha256.c (SWAP64): Define.
17183 (sha256_process_block): Perform total addition using 64-bit if
17185 (__sha256_finish_ctx): Likewise.
17187 2011-07-01 Ulrich Drepper <drepper@gmail.com>
17189 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17190 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17191 * nscd/hstcache.c (cache_addhst): Likewise.
17192 * nscd/grpcache.c (cache_addgr): Likewise.
17193 * nscd/aicache.c (addhstaiX): Likewise
17194 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17196 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
17198 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17199 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17200 * nscd/hstcache.c (cache_addhst): Likewise.
17201 * nscd/grpcache.c (cache_addgr): Likewise.
17202 * nscd/aicache.c (addhstaiX): Likewise
17204 2011-07-01 Andreas Schwab <schwab@redhat.com>
17206 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17207 domain only when needed.
17209 2011-06-30 Andreas Schwab <schwab@redhat.com>
17211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17212 is always restored.
17214 2011-06-29 Ulrich Drepper <drepper@gmail.com>
17216 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17217 are re-adding the entry.
17218 * nscd/servicescache.c (cache_addserv): Likewise.
17220 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17222 * sysdeps/generic/dl-irel.h: fix protection against multiple
17224 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17226 2011-06-28 Ulrich Drepper <drepper@gmail.com>
17229 * malloc/memusage.sh: Fix quoting in message.
17230 * debug/xtrace.sh: Likewise.
17232 * configure.in: Remove support for --experimental-malloc option, make
17234 * config.make.in: Likewise.
17235 * malloc/Makefile: Likewise.
17237 2011-06-27 Andreas Schwab <schwab@redhat.com>
17239 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17240 two-byte characters.
17242 2011-06-27 Roland McGrath <roland@hack.frob.com>
17244 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17245 AC_CACHE_CHECK invocation.
17246 * configure: Regenerated.
17248 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17250 2011-06-27 Ulrich Drepper <drepper@gmail.com>
17253 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17254 bit from old_res_options.
17256 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17258 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17259 value type for setfct.
17261 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17263 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17264 __gettimeofday instead of gettimeofday.
17266 2011-06-26 Ulrich Drepper <drepper@gmail.com>
17268 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17270 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17272 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17274 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17277 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17280 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17281 strcpy-sse2-unaligned strncpy-sse2-unaligned
17282 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17283 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17284 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17285 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17286 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17287 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17288 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17289 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17290 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17291 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17292 (STRCPY): Support SSE2 and SSSE3 versions.
17294 2011-06-24 Ulrich Drepper <drepper@gmail.com>
17297 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17298 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17299 kernels which artificially limit size of requests.
17301 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17304 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17305 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17306 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17307 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17308 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17309 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17310 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17311 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17312 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17313 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17314 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17315 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17316 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17317 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17319 Enable unaligned load optimization for Intel Core i3, i5 and i7
17321 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17323 (index_Fast_Unaligned_Load): Define.
17324 (HAS_FAST_UNALIGNED_LOAD): Define.
17326 2011-06-23 Marek Polacek <mpolacek@redhat.com>
17328 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17330 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17333 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17334 until it is clear that the information is realy needed.
17335 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17337 2011-06-22 Andreas Schwab <schwab@redhat.com>
17339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17341 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17343 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17344 /sys/devices/system/cpu/online if it is usable.
17346 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17347 reading the information from the /proc filesystem to once a second.
17349 2011-06-21 Andreas Jaeger <aj@suse.de>
17351 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17352 NULL after inclusion of kernel headers.
17354 2011-06-21 Ulrich Drepper <drepper@gmail.com>
17356 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17357 calls to internal_setent.
17360 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17361 addresses using gethostbyname4_r ignore IPv4 addresses.
17363 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17364 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17366 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17368 2011-06-20 David S. Miller <davem@davemloft.net>
17370 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17372 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17374 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17375 (elf_irel): Use it.
17376 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17377 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17378 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17379 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17380 * sysdeps/x86_64/dl-irel.h: Likewise.
17382 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17383 * elf/dl-sym.c: Likewise.
17385 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17387 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17388 need to dereference resplen2.
17390 2011-06-14 Andreas Schwab <schwab@redhat.com>
17392 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17394 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17396 * Makeconfig: Define vardbdir and inst_vardbdir.
17397 * nss/Makefile: Add rules to install db-Makefile.
17399 * nss/nss_db/db-XXX.c: Cleanup.
17401 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17402 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17404 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17405 * nss/makedb.c: Implement -g option to specify that value strings
17406 are generated and should not be added to table iterated over for
17408 * nss/nss_db/db-initgroups.c: New file.
17410 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17413 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17414 (internal_getgrouplist): Adjust to name change.
17415 Update use_initgroups_entry if this is not the first call.
17416 * nss/databases.def: Add initgroups entry.
17418 * nss/makedb.c (compute_tables): Check result of multiple hash table
17419 sizes to minimize maximum chain length.
17421 2011-06-14 Ulrich Drepper <drepper@gmail.com>
17423 * Versions.def: Add entry for libnss_db.
17424 * shlib-versions: Likewise.
17425 * nss/Makefile: Add rules to build libnss_db.
17426 * nss/Versions: Add libnss_db information. Organize libnss_files
17428 * nss/db-Makefile: Add gshadow support. Change rules for the new
17429 makedb progra. Some minor improvements to generate smaller files.
17430 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17432 * nss/makedb.c: ...here.
17433 Improve database format to be smaller and require less memory at
17435 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17437 * nss/nss_db/db-netgrp.c: Likewise.
17438 * nss/nss_db/db-open.c: Likewise.
17439 * nss/nss_files/flies-XXX.x: Adjust comments.
17440 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17441 * nss/nss_files/files-grp.c: Likewise.
17442 * nss/nss_files/files-hosts.c: Likewise.
17443 * nss/nss_files/files-network.c: Likewise.
17444 * nss/nss_files/files-proto.c: Likewise.
17445 * nss/nss_files/files-pwd.c: Likewise.
17446 * nss/nss_files/files-rpc.c: Likewise.
17447 * nss/nss_files/files-service.c: Likewise.
17448 * nss/nss_files/files-sgrp.c: Likewise.
17449 * nss/nss_files/files-spwd.c: Likewise.
17450 * nss/nss_db/db-alias.c: Removed.
17451 * nss/nss_db/dummy-db.h: Removed.
17453 2011-06-02 Ulrich Drepper <drepper@gmail.com>
17455 * nss/makedb.c: Rewritten to not use database library.
17456 * nss/Makefile: Update to build new makedb program.
17458 2011-06-14 Andreas Jaeger <aj@suse.de>
17460 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17461 memset declaration.
17463 2011-06-10 Andreas Schwab <schwab@redhat.com>
17465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17468 2011-06-10 Roland McGrath <roland@hack.frob.com>
17470 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17471 * elf/Makefile ($(objpfx)ld.so): Likewise.
17473 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17474 Don't list ld.so twice in dependencies.
17476 * posix/bug-regex31.c: Include <stdlib.h>.
17478 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17480 * nis/nss_compat/compat-spwd.c
17481 (getspent_next_nss_netgr): Remove unused variable.
17482 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17484 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17485 nonmembers" output to use the right array.
17487 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17489 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17491 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17492 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17493 * catgets/gencat.c (read_input_file): Likewise.
17494 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17496 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17497 variable definition inside #if's controlling its use.
17499 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17501 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17503 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17505 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17508 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17510 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17511 * configure: Regenerated.
17513 * Makerules: Revert last change.
17514 * elf/Makefile: Likewise.
17516 2011-06-09 Roland McGrath <roland@hack.frob.com>
17518 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17519 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17520 (reloc-link): Likewise.
17522 2011-06-09 Ulrich Drepper <drepper@gmail.com>
17524 * elf/Makefile: Add rules to build pldd.
17525 * elf/pldd.c: New file.
17526 * elf/pldd-xx.c: New file.
17528 2011-06-07 Ulrich Drepper <drepper@gmail.com>
17530 * version.h: Update for 2.15 development version.
17532 2011-06-07 David S. Miller <davem@davemloft.net>
17534 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17536 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17537 elf_machine_lazy_rel): Likewise.
17538 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17539 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17540 elf_machine_lazy_rel): Likewise.
17541 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17542 dl_hwcap via passed in argument.
17543 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17546 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17548 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17550 2011-06-06 Roland McGrath <roland@hack.frob.com>
17553 * manual/fdl-1.1.texi: New file, verbatim from:
17554 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17555 * manual/lgpl-2.1.texi: New file, verbatim from:
17556 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17557 * manual/Makefile (licenses): New variable, list those new file names.
17559 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17561 * manual/fdl.texi: File removed.
17562 * manual/lesser.texi: File removed.
17563 * manual/libc.texinfo (Copying, Documentation License):
17564 Use new @include file names, put @appendix directive before @include.
17566 2011-06-04 Jakub Jelinek <jakub@redhat.com>
17569 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17570 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17571 (mq_open): Add __NTH.
17573 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17576 Assume Intel Core i3/i5/i7 processor if AVX is available.
17578 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17580 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17583 2011-05-31 Andreas Schwab <schwab@redhat.com>
17585 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17586 memory. Use alloca_account. Fix memory leak when retrying.
17588 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17590 * version.h (RELEASE): Bump for 2.14 release.
17591 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17593 * config.make.in (RANLIB): Remove entry.
17595 2011-05-30 Ulrich Drepper <drepper@gmail.com>
17597 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17598 (libc.pot): Work around missing support for .ksh extension in xgettext.
17601 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17602 if both request failed.
17603 (send_dg): In case of server errors clear resplen or *resplen2.
17606 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17607 when there are multiple maps.
17608 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17609 (_dl_fini): Remove test here.
17611 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17613 2011-05-29 Ulrich Drepper <drepper@gmail.com>
17616 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17617 bit from old_res_options.
17618 (gaih_inet): Likewise.
17621 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
17624 * resolv/res_init.c (res_setoptions): Make the code more compact.
17627 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17631 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17633 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17636 * malloc/malloc.h: Declare malloc hook variables as volatile.
17638 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17642 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
17643 raise in the comment.
17644 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17645 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17646 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
17648 2011-05-28 Ulrich Drepper <drepper@gmail.com>
17651 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17652 grow the buffers more if it already has to be sufficient.
17653 (build_wcs_upper_buffer): Likewise.
17654 * posix/regexec.c (check_matching): Likewise.
17655 (clean_state_log_if_needed): Likewise.
17656 (extend_buffers): Don't enlarge buffers beyond size of the input
17658 Patches mostly by Emil Wojak <emil@wojak.eu>.
17659 * posix/bug-regex32.c: New file.
17660 * posix/Makefile (tests): Add bug-regex32.
17662 * locale/findlocale.c (_nl_find_locale): Return right away if
17663 _nl_explode_name failed.
17664 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17666 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17668 * debug/xtrace.sh: Unify messages.
17669 * malloc/memusage.sh: Likewise.
17672 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17673 time symbol from vDSO. Substitute with vsyscall if not available.
17674 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17677 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17678 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17679 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17680 Add sendmmsg and internal_sendmmsg.
17681 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17682 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17683 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17685 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17686 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17687 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17689 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17692 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17693 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17695 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17699 * iconvdata/Makefile (tests): Add bug-iconv9.
17700 * iconvdata/bug-iconv9.c: New file.
17702 2011-05-27 Andreas Schwab <schwab@redhat.com>
17705 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17707 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17710 (struct user_regs_struct): Change intcs field back to cs.
17712 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17714 * po/ja.po: Update from translation team.
17716 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17719 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17720 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17722 2011-05-20 Andreas Schwab <schwab@redhat.com>
17724 * stdlib/longlong.h: Update from GCC.
17726 2011-05-23 Andreas Schwab <schwab@redhat.com>
17728 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17730 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17731 Add parameter name.
17732 (__sysconf): Pass it down.
17734 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17737 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17739 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17740 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17741 add in in __libc_use_alloca calls. Adjust callers.
17742 (glob): Use malloc in some situations.
17744 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17745 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17748 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17750 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17751 and CLOCK_BOOTTIME_ALARM.
17754 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17757 * string/_strerror.c (__strerror_r): Print negative errors as signed
17761 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17762 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17763 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17765 * configure.in: Fix typo in redirection and correct removal of test
17766 files in two cases.
17769 * locale/setlocale.c (new_composite_name): Fix test to check for
17770 identical name of all categories.
17773 * libio/filedoalloc.c (local_isatty): New function.
17774 (_IO_file_doallocate): Use local_isatty.
17775 * stdio-common/perror.c (perror): In case a new stream is used
17776 forward the stream error.
17777 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17780 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17785 * include/alloca.h (extend_alloca_account): Define.
17788 * posix/regex.h: Fix comments with documentation of user-accessible
17789 fields after compilation and describe correct free'ing of pattern
17790 after re_compile_pattern.
17791 Patch by Reuben Thomas <rrt@sc3d.org>.
17793 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17795 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17796 and -mno-altivec to prevent the compiler from using Altivec and/or
17797 VSX instructions when the corresponding registers are not available.
17799 2011-05-19 Andreas Schwab <schwab@redhat.com>
17801 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17803 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17805 * libio/freopen.c (freopen): Use __dup2, not dup2.
17806 * libio/freopen64.c (freopen64): Likewise.
17808 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17811 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17812 * math/Makefile (tests): Add test-powl.
17813 (CFLAGS-test-powl.c): Define.
17814 * math/test-powl.c: New file.
17816 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17818 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17820 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17823 * iconvdata/gb18030.c: Update to GB18020-2005.
17825 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17827 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17828 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17829 Patch by Aharon Robbins <arnold@skeeve.com>.
17832 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17836 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17837 through underflows.
17840 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17841 point to strings before performing equality test for error_one_per_line
17845 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17848 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17849 (struct user_fpregs_struct): Avoid __uint*_t types.
17852 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17853 symbol info. Use it instead of calling _dl_addr locally.
17854 (lock_and_info): New function.
17855 (tr_freehook): Call lock_and_info and pass symbol info as additional
17856 parameter to tr_where.
17857 (tr_mallochook): Likewise.
17858 (tr_reallochook): Likewise.
17859 (tr_memalignhook): Likewise.
17861 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17862 used and couldn't be at all thread-safe.
17864 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17866 * libio/freopen.c (freopen): Don't close old file descriptor
17867 before the new one is opened. Instead dup the new file descriptor
17868 to the old one after the new stream is created.
17869 * libio/freopen64.c (freopen64): Likewise.
17870 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17871 * libio/fileops.c (_IO_new_file_close_it): Handle new
17872 _IO_FLAGS2_NOCLOSE flag.
17873 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17874 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17875 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17876 _IO_FLAGS2_NOCLOSE flag.
17877 * include/unistd.h: Add hidden_proto for dup3.
17878 Define __have_dup3.
17879 * io/dup3.c: Define hidden symbol.
17880 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17883 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17884 when an incomplete long option is used.
17885 * posix/tst-getopt_long1.c: New file.
17886 * posix/Makefile (tests): Add tst-getopt_long1.
17889 * scripts/config.guess: Update from autoconf-2.68.
17890 * scripts/config.sub: Likewise.
17893 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17895 (has_cpuclock): ...this. New function.
17896 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17897 macro here based on has_cpuclock code.
17900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17901 First byte (not low byte) is now always NUL.
17902 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17905 Use non-cancelable interfaces.
17908 * locale/iso-639.def: Add entry for Sorani.
17911 * include/stdlib.h: Move include protection to the right place.
17912 Define abort_msg_s. Declare __abort_msg with it.
17913 * stdlib/abort.c (__abort_msg): Adjust type.
17914 * assert/assert.c (__assert_fail_base): New function. Majority
17915 of code from __assert_fail. Allocate memory for __abort_msg with
17917 (__assert_fail): Now call __assert_fail_base.
17918 * assert/assert-perr.c: Remove bulk of implementation. Use
17919 __assert_fail_base.
17920 * include/assert.hL Declare __assert_fail_base.
17921 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17923 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17925 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17929 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17930 until all modules are registered in the DTV.
17931 * elf/Makefile: Add rules to build and run tst-tls19.
17932 * elf/tst-tls19.c: New file.
17933 * elf/tst-tls19mod1.c: New file.
17934 * elf/tst-tls19mod2.c: New file.
17935 * elf/tst-tls19mod3.c: New file.
17936 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17939 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17943 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17944 two-byte sequence errors.
17945 * iconvdata/Makefile (tests): Add bug-iconv8.
17946 * iconvdata/bug-iconv8.c: New file.
17949 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17952 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17955 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17956 (dummy_getcfa): New function.
17957 (init): Get _Unwind_GetCFA address, use dummy if not found.
17958 (backtrace_helper): In recursion check, also check whether CFA changes.
17959 (__backtrace): Completely initialize arg.
17961 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
17962 storing incomplete byte sequence in state object. Avoid testing for
17963 guaranteed too small input if we know there is enough data available.
17965 2011-05-11 Andreas Schwab <schwab@redhat.com>
17967 * Makeconfig (+link-pie): Indent.
17968 * Rules (binaries-pie): Define if $(have-fpie) and
17970 (binaries-shared): Also filter out $(binaries-pie).
17971 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17972 * nscd/Makefile (others-pie): Add nscd.
17973 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17974 ($(objpfx)nscd): Remove command override.
17975 * login/Makefile (others-pie): Add pt_chown.
17976 ($(objpfx)pt_chown): Remove command override.
17977 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17978 remove command overrides.
17980 2011-05-13 Ulrich Drepper <drepper@gmail.com>
17982 * libio/tst_putwc.c: Fix error messages.
17985 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17986 currently writing and seek to current position when not.
17987 * libio/Makefile (tests): Add bug-fclose1.
17988 * libio/bug-fclose1.c: New file.
17990 2011-05-12 Ulrich Drepper <drepper@gmail.com>
17993 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17994 don't set DF_1_NODELETE here.
17995 (do_lookup_x): When entering new entry test for copy relocation
17996 and if necessary set DF_1_NODELETE flag.
17997 * elf/tst-unique4.cc: New file.
17998 * elf/tst-unique4.h: New file.
17999 * elf/tst-unique4lib.cc: New file.
18000 * elf/Makefile: Add rules to build and run tst-unique4.
18001 Patch by Piotr Bury <pbury@goahead.com>.
18003 2011-05-11 Ulrich Drepper <drepper@gmail.com>
18006 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18009 * misc/mntent_r.c (addmntent): Flush the stream after the output
18012 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18013 (is_trusted_path_normalize): Skip initial colon. Append slash
18014 to empty buffer. Duplicate is_trusted_path code but allow
18015 constructed patch to be prefix.
18016 (is_dst): Allow $ORIGIN followed by /.
18017 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18018 Correct testing of result of is_trusted_path_normalize
18019 (decompose_rpath): Fix warning.
18021 2011-05-10 Ulrich Drepper <drepper@gmail.com>
18024 * grp/initgroups.c (internal_getgrouplist): When we found the service
18025 list through the initgroups entry in nsswitch.conf do not always
18026 continue on a successful lookup. Don't always use the
18027 __nss_group_database value if it is set.
18028 * nss/nsswitch.conf (initgroups): Change action for successful db
18029 lookup to continue for compatibility.
18031 2011-05-09 Ulrich Drepper <drepper@gmail.com>
18034 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18036 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18038 * iconvdata/tst-tables.sh: Likewise.
18039 * iconvdata/cp770.c: New file.
18040 * iconvdata/cp771.c: New file.
18041 * iconvdata/cp772.c: New file.
18042 * iconvdata/cp773.c: New file.
18043 * iconvdata/cp774.c: New file.
18044 * iconvdata/testdata/CP770: New file.
18045 * iconvdata/testdata/CP770..UTF8: New file.
18046 * iconvdata/testdata/CP771: New file.
18047 * iconvdata/testdata/CP771..UTF8: New file.
18048 * iconvdata/testdata/CP772: New file.
18049 * iconvdata/testdata/CP772..UTF8: New file.
18050 * iconvdata/testdata/CP773: New file.
18051 * iconvdata/testdata/CP773..UTF8: New file.
18052 * iconvdata/testdata/CP774: New file.
18053 * iconvdata/testdata/CP774..UTF8: New file.
18055 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18057 * iconvdata/gen-8bit-gap.sh: Likewise.
18058 * iconvdata/gen-8bit.sh: Likewise.
18060 * locale/iso-639.def: Add ary entry.
18063 * locale/C-translit.h.in: Add U20A1 transliteration.
18066 * locale/iso-639.def: Add wae entry.
18067 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18070 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18074 * locale/C-translit.h.in: Add entry for U20B9.
18075 Patch by pravin.d.s@gmail.com.
18077 2011-05-08 Ulrich Drepper <drepper@gmail.com>
18080 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18081 ENAMETOOLONG use generic getcwd.
18082 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18083 in rtld. Use *stat64.
18084 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18085 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18086 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18087 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18088 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18089 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18090 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18091 __fstatat64 macros.
18092 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18093 * dirent/rewinddir.c: Add libc_hidden_def.
18094 * sysdeps/mach/hurd/rewinddir.c: Likewise.
18095 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
18097 * include/dirent.h (__alloc_dir): Add flags parameter.
18098 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18099 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18101 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18102 from fdopendir if O_CLOEXEC is already set.
18104 2011-03-15 Alan Modra <amodra@gmail.com>
18106 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18107 l_tls_firstbyte_offset non-zero. Save padding offset in
18108 l_tls_firstbyte_offset for later use.
18109 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18110 freeing static tls block.
18112 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18114 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18115 where #ifdef was intended. The intent is to prevent ARG_MAX from
18116 being defined by the kernel headers.
18118 2011-05-07 Ulrich Drepper <drepper@gmail.com>
18121 * resolv/resolv.h: Define RES_NOTLDQUERY.
18122 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18123 no-tld-query and set RES_NOTLDQUERY.
18124 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18125 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18126 modern BIND to search name as TLD unless forbidden.
18128 2011-05-07 Petr Baudis <pasky@suse.cz>
18129 Ulrich Drepper <drepper@gmail.com>
18132 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18133 (is_trusted_path): ...to here.
18134 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18135 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18136 using is_trusted_path_normalize() in setuid scripts.
18138 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18140 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18141 __BEGIN/__END_DECLS.
18143 2011-05-06 Ulrich Drepper <drepper@gmail.com>
18145 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18146 NSS_STATUS_NOTFOUND if no record was found.
18148 2011-05-05 Andreas Schwab <schwab@redhat.com>
18150 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18151 (headers-not-in-tirpc): Remove rpc/netdb.h
18152 * resolv/netdb.h: Revert last change.
18154 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18156 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18157 circular dependency between libgcc.a and libc.a.
18159 2011-05-05 Andreas Schwab <schwab@redhat.com>
18161 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18162 * nis/Makefile: Don't install rpcsvc/*.
18163 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18164 instead of <rpc/types.h>.
18165 (MAXHOSTNAMELEN): Define.
18167 2011-05-03 Andreas Schwab <schwab@redhat.com>
18169 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18171 2011-04-28 Maciej Babinski <mbabinski@google.com>
18174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18175 gethostbyname4_r when IPv6 results are possible.
18177 2011-05-02 Ulrich Drepper <drepper@gmail.com>
18180 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18181 _PC_PIPE_BUF handling.
18183 2011-04-30 Bruno Haible <bruno@clisp.org>
18186 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18187 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18189 * inet/getnameinfo.c (getnameinfo): Likewise.
18191 2011-04-29 Ulrich Drepper <drepper@gmail.com>
18193 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18194 to groups setting in database lookup.
18195 * nss/nsswitch.conf: Add initgroups entry.
18197 2011-04-22 Ulrich Drepper <drepper@gmail.com>
18200 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18202 Patch by Eric Blake <eblake@redhat.com>.
18204 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18206 * sunrpc/Makefile (need-export-routines): Add svc_run.
18207 (routines): Remove svc_run.
18208 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18209 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18210 * sunrpc/svc_run.c (svc_run): Likewise.
18211 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18213 2011-04-21 Ulrich Drepper <drepper@gmail.com>
18215 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18216 problem in reallocation in last patch.
18218 2011-04-20 Ulrich Drepper <drepper@gmail.com>
18220 * sunrpc/Makefile: Move inclusion of Rules.
18222 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18224 * nss/nss_files/files-initgroups.c: New file.
18225 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18226 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18227 _nss_files_initgroups_dyn.
18229 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18231 * elf/elf.h (R_ARM_IRELATIVE): Define.
18233 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18235 * po/ru.po: Update from translation team.
18237 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18239 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18242 2011-02-06 Mike Frysinger <vapier@gentoo.org>
18245 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18246 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18247 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18248 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18249 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18251 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18253 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18255 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18256 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18257 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18259 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18262 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18264 * stdlib/bug-getcontext.c: New file.
18265 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18267 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18269 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18270 instructions into .machine "z9-109".
18271 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18272 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18274 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18276 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18277 between environment variables and auxiliary vector.
18279 2011-04-16 Ulrich Drepper <drepper@gmail.com>
18281 * Makefile: Add rules to build linkobj/libc.so.
18282 * include/libc-symbols.h: Define libc_hidden_nolink.
18283 * include/rpc/auth.h: Mark functions which are to be hidden.
18284 * include/rpc/auth_des.h: Likewise.
18285 * include/rpc/auth_unix.h: Likewise.
18286 * include/rpc/clnt.h: Likewise.
18287 * include/rpc/des_crypt.h: Likewise.
18288 * include/rpc/key_prot.h: Likewise.
18289 * include/rpc/pmap_clnt.h: Likewise.
18290 * include/rpc/pmap_prot.h: Likewise.
18291 * include/rpc/pmap_rmt.h: Likewise.
18292 * include/rpc/rpc_msg.h: Likewise.
18293 * include/rpc/svc.h: Likewise.
18294 * include/rpc/svc_auth.h: Likewise.
18295 * include/rpc/xdr.h: Likewise.
18296 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18297 * nss/Makefile: Likewise.
18298 * sunrpc/Makefile: Don't install headers. Build library with normal
18299 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18300 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18301 for the compat linking library. Remove use of INTDEF/INTUSE.
18302 * sunrpc/auth_none.c: Likewise.
18303 * sunrpc/auth_unix.c: Likewise.
18304 * sunrpc/authdes_prot.c: Likewise.
18305 * sunrpc/authuxprot.c: Likewise.
18306 * sunrpc/clnt_gen.c: Likewise.
18307 * sunrpc/clnt_perr.c: Likewise.
18308 * sunrpc/clnt_raw.c: Likewise.
18309 * sunrpc/clnt_simp.c: Likewise.
18310 * sunrpc/clnt_tcp.c: Likewise.
18311 * sunrpc/clnt_udp.c: Likewise.
18312 * sunrpc/clnt_unix.c: Likewise.
18313 * sunrpc/des_crypt.c: Likewise.
18314 * sunrpc/des_soft.c: Likewise.
18315 * sunrpc/get_myaddr.c: Likewise.
18316 * sunrpc/key_call.c: Likewise.
18317 * sunrpc/key_prot.c: Likewise.
18318 * sunrpc/netname.c: Likewise.
18319 * sunrpc/pm_getmaps.c: Likewise.
18320 * sunrpc/pm_getport.c: Likewise.
18321 * sunrpc/pmap_clnt.c: Likewise.
18322 * sunrpc/pmap_prot.c: Likewise.
18323 * sunrpc/pmap_prot2.c: Likewise.
18324 * sunrpc/pmap_rmt.c: Likewise.
18325 * sunrpc/publickey.c: Likewise.
18326 * sunrpc/rpc_cmsg.c: Likewise.
18327 * sunrpc/rpc_common.c: Likewise.
18328 * sunrpc/rpc_dtable.c: Likewise.
18329 * sunrpc/rpc_prot.c: Likewise.
18330 * sunrpc/rpc_thread.c: Likewise.
18331 * sunrpc/rtime.c: Likewise.
18332 * sunrpc/svc.c: Likewise.
18333 * sunrpc/svc_auth.c: Likewise.
18334 * sunrpc/svc_authux.c: Likewise.
18335 * sunrpc/svc_raw.c: Likewise.
18336 * sunrpc/svc_run.c: Likewise.
18337 * sunrpc/svc_simple.c: Likewise.
18338 * sunrpc/svc_tcp.c: Likewise.
18339 * sunrpc/svc_udp.c: Likewise.
18340 * sunrpc/svc_unix.c: Likewise.
18341 * sunrpc/svcauth_des.c: Likewise.
18342 * sunrpc/xcrypt.c: Likewise.
18343 * sunrpc/xdr.c: Likewise.
18344 * sunrpc/xdr_array.c: Likewise.
18345 * sunrpc/xdr_float.c: Likewise.
18346 * sunrpc/xdr_intXX_t.c: Likewise.
18347 * sunrpc/xdr_mem.c: Likewise.
18348 * sunrpc/xdr_rec.c: Likewise.
18349 * sunrpc/xdr_ref.c: Likewise.
18350 * sunrpc/xdr_sizeof.c: Likewise.
18351 * sunrpc/xdr_stdio.c: Likewise.
18353 2011-04-10 Ulrich Drepper <drepper@gmail.com>
18356 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18357 * sysdeps/ia64/dl-tls.h: Likewise.
18358 * sysdeps/powerpc/dl-tls.h: Likewise.
18359 * sysdeps/s390/dl-tls.h: Likewise.
18360 * sysdeps/sh/dl-tls.h: Likewise.
18361 * sysdeps/sparc/dl-tls.h: Likewise.
18362 * sysdeps/x86_64/dl-tls.h: Likewise.
18363 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18365 2011-03-14 Andreas Schwab <schwab@redhat.com>
18367 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18368 rpath element also skip the following colon.
18369 (expand_dynamic_string_token): Add is_path parameter and pass
18370 down to DL_DST_REQUIRED and _dl_dst_substitute.
18371 (decompose_rpath): Call expand_dynamic_string_token with
18372 non-zero is_path. Ignore empty rpaths.
18373 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18376 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18381 2011-04-09 Ulrich Drepper <drepper@gmail.com>
18384 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18385 Patch by Filipe David Manana <fdmanana@apache.org>.
18387 2011-04-07 Andreas Schwab <schwab@redhat.com>
18389 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18390 Maintain aligned stack.
18391 (CHECK_RSP): Remove unused macro.
18393 2011-04-03 Ulrich Drepper <drepper@gmail.com>
18395 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18396 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18398 2011-04-02 Ulrich Drepper <drepper@gmail.com>
18400 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18402 * include/features.h: Mention __USE_XOPEN2K8 in comment.
18404 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18407 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18408 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18409 * sysdeps/x86_64/memmove.c: New file.
18410 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18411 (memcpy): Renamed to ...
18412 (__new_memcpy): This.
18413 (memcpy): Provide GLIBC_2_14 memcpy.
18414 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18415 (memcpy): Provide GLIBC_2_2_5 memcpy.
18417 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18420 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18422 2011-03-30 Andreas Schwab <schwab@redhat.com>
18424 * misc/syncfs.c: New file.
18425 * misc/Makefile (routines): Add syncfs.
18426 * posix/unistd.h: Declare syncfs.
18427 * sysdeps/unix/syscalls.list: Add syncfs.
18429 2011-04-01 Andreas Schwab <schwab@redhat.com>
18431 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18433 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18434 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18436 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18438 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18439 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18441 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18443 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18444 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18445 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18446 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18447 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18449 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18451 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18452 sync_file_range.c with -fexceptions.
18453 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18454 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18455 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18456 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18457 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18458 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18459 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
18460 sync_file_range as cancellation point
18461 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18462 now a wrapper around __call_sync_file_range with cancellation handling.
18463 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18464 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18465 function name to __call_sync_file_range.
18466 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18467 Add call_sync_file_range.
18469 2011-04-01 Andreas Schwab <schwab@redhat.com>
18471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18474 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18476 * iconv/iconv.h: Fix typo in comment.
18477 * io/fcntl.h: Likewise.
18478 * libio/stdio.h: Likewise.
18479 * posix/spawn.h: Likewise.
18480 * posix/unistd.h: Likewise.
18481 * stdlib/stdlib.h: Likewise.
18482 * time/time.h: Likewise.
18483 * wcsmbs/wchar.h: Likewise.
18485 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18486 open_by_handle): Add.
18487 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18488 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18489 Augment a few comments.
18490 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18492 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18494 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18495 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18498 * io/fcntl.h (AT_EMPTY_PATH): Define.
18500 2011-03-30 Ulrich Drepper <drepper@gmail.com>
18502 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18503 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18504 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18506 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
18507 * Versions.def: Add GLIBC_2.14.
18508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18511 2011-03-22 Ulrich Drepper <drepper@gmail.com>
18513 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18515 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18517 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18520 * string/test-strncmp.c (do_page_test): New function.
18521 (check2): Likewise.
18522 (test_main): Call check2.
18523 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18525 2011-03-20 Ulrich Drepper <drepper@gmail.com>
18528 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18529 Handle cache information in CPU leaf 4.
18530 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18532 2011-03-18 Ulrich Drepper <drepper@gmail.com>
18535 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18536 character representation.
18537 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18539 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18541 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18542 END(__isnan) to END(__isnanf) to match function entry point/label
18543 EALIGN(__isnanf,...).
18545 2011-03-10 Jakub Jelinek <jakub@redhat.com>
18547 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18549 2011-03-10 Ulrich Drepper <drepper@gmail.com>
18552 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18553 copy from the symbol referenced in the relocation to initialize the
18555 Patch by Piotr Bury <pbury@goahead.com>.
18556 * elf/Makefile: Add rules to build and tst-unique3.
18557 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18558 * elf/tst-unique3.cc: New file.
18559 * elf/tst-unique3.h: New file.
18560 * elf/tst-unique3lib.cc: New file.
18561 * elf/tst-unique3lib2.cc: New file.
18563 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18565 2011-03-10 Mike Frysinger <vapier@gentoo.org>
18567 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18568 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18571 2011-03-06 Ulrich Drepper <drepper@gmail.com>
18573 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18574 to-be-loaded object along a path to loader is ld.so.
18576 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18577 Ulrich Drepper <drepper@gmail.com>
18579 * sysdeps/x86_64/memset.S: After aligning destination, code
18580 branches to different locations depending on the value of
18581 misalignment, when multiarch is enabled. Fix this.
18583 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18585 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18586 Set _x86_64_preferred_memory_instruction for AMD processsors.
18587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18588 Set bit_Prefer_SSE_for_memop for AMD processors.
18590 2011-03-04 Ulrich Drepper <drepper@gmail.com>
18592 * libio/fmemopen.c (fmemopen): Optimize a bit.
18594 2011-03-03 Andreas Schwab <schwab@redhat.com>
18596 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18598 2011-03-03 Roland McGrath <roland@redhat.com>
18600 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18602 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18604 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
18605 __bzero_ultra1 instead of __memset_ultra1.
18607 2011-02-23 Andreas Schwab <schwab@redhat.com>
18608 Ulrich Drepper <drepper@gmail.com>
18611 * include/link.h (struct link_map): Add l_orig_initfini.
18612 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18613 returning unsuccessfully.
18614 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18615 close of a file loaded at startup, restore the original l_initfini
18617 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18618 list, store the pointer.
18619 * elf/Makefile ($(objpfx)noload-mem): New rule.
18620 (noload-ENV): Define.
18621 (tests): Add $(objpfx)noload-mem.
18622 * elf/noload.c: Include <memcheck.h>.
18623 (main): Call mtrace. Close all opened handles.
18625 2011-02-17 Andreas Schwab <schwab@redhat.com>
18628 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18629 dependencies are missing.
18631 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18633 Fix __if_freereq crash: Unlike the generic version which uses free,
18635 * sysdeps/mach/hurd/ifreq.h: New file.
18637 2011-01-27 Petr Baudis <pasky@suse.cz>
18638 Ulrich Drepper <drepper@gmail.com>
18641 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18642 to extend_alloca().
18643 * stdio-common/bug23.c: New file.
18644 * stdio-common/Makefile (tests): Add bug23.
18646 2010-09-28 Andreas Schwab <schwab@redhat.com>
18647 Ulrich Drepper <drepper@gmail.com>
18650 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18651 before performing relro protection. At old place add assertion
18652 to make sure nothing changed.
18654 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18655 Glauber de Oliveira Costa <glommer@gmail.com>
18657 * elf/elf.h: Add new ARM TLS relocs.
18659 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18662 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18664 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18666 * sysdeps/wordsize-64/tst-writev.c: New file.
18668 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18670 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18671 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18672 insns in _dl_start to prevent a TOC reference before relocs are
18675 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18678 * Makeconfig: Remove RANLIB definition.
18679 * Makerules: Don't use RANLIB.
18680 * aclocal.m4: Remove ranlib test.
18681 * configure.in: No need to check for ranlib.
18682 * elf/rtld-Rules: Don't use RANLIB.
18684 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18686 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18688 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18689 inclusion protection macro.
18691 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18692 SIGRTMIN and SIGRTMAX and print information in that case only when
18693 SIGRTMIN is defined.
18695 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18697 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18698 arginfo fn returning -1.
18700 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18701 and thousands string is zero terminated.
18703 2011-02-03 Andreas Schwab <schwab@redhat.com>
18705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18706 sysdeps/unix/sysv/linux/bits/socket.h.
18708 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18710 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18711 (__CPU_COUNT): Remove old macros.
18712 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18713 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18714 (__CPU_ALLOC, __CPU_FREE): Add macros.
18715 (__sched_cpualloc, __sched_cpufree): Add declarations.
18717 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18719 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18720 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18721 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18722 (readdhstai): Return value of addhstaiX call.
18723 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18724 (addgrbyX): Return value returned by cache_addgr.
18725 (readdgrbyname): Return value returned by addgrbyX.
18726 (readdgrbygid): Likewise.
18727 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18728 (addpwbyX): Return value returned by cache_addpw.
18729 (readdpwbyname): Return value returned by addhstbyX.
18730 (readdpwbyuid): Likewise.
18731 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18732 (addservbyX): Return value returned by cache_addserv.
18733 (readdservbyname): Return value returned by addservbyX:
18734 (readdservbyport): Likewise.
18735 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18736 (addhstbyX): Return value returned by cache_addhst.
18737 (readdhstbyname): Return value returned by addhstbyX.
18738 (readdhstbyaddr): Likewise.
18739 (readdhstbynamev6): Likewise.
18740 (readdhstbyaddrv6): Likewise.
18741 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18742 (readdinitgroups): Return value returned by addinitgroupsX.
18743 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18744 (prune_cache): Keep track of timeout value of re-added entries.
18745 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18746 * nscd/nscd.h: Adjust prototypes of readd* functions.
18748 2011-02-04 Roland McGrath <roland@redhat.com>
18750 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18751 (nis_stats): Likewise.
18752 * nis/nis_modify.c (nis_modify): Likewise.
18753 * nis/nis_remove.c (nis_remove): Likewise.
18754 * nis/nis_add.c (nis_add): Likewise.
18756 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18758 * posix/fnmatch_loop.c: Add some consts.
18760 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18762 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18765 * config.make.in (config-cflags-novzeroupper): Define.
18766 * configure.in: Substitute libc_cv_cc_novzeroupper.
18767 * elf/Makefile (AVX-CFLAGS): Define.
18768 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18769 (CFLAGS-tst-auditmod4a.c): Likewise.
18770 (CFLAGS-tst-auditmod4b.c): Likewise.
18771 (CFLAGS-tst-auditmod6b.c): Likewise.
18772 (CFLAGS-tst-auditmod6c.c): Likewise.
18773 (CFLAGS-tst-auditmod7b.c): Likewise.
18774 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18776 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18778 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18779 function to the callback.
18780 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18782 2011-02-02 Andreas Schwab <schwab@redhat.com>
18784 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18787 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18790 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18792 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18794 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18797 * elf/Makefile: Add rules to build and run new test.
18798 * elf/tst-initorder.c: New file.
18799 * elf/tst-initorder.exp: New file.
18800 * elf/tst-initordera1.c: New file.
18801 * elf/tst-initordera2.c: New file.
18802 * elf/tst-initordera3.c: New file.
18803 * elf/tst-initordera4.c: New file.
18804 * elf/tst-initorderb1.c: New file.
18805 * elf/tst-initorderb2.c: New file.
18806 * elf/tst-order-a1.c: New file.
18807 * elf/tst-order-a2.c: New file.
18808 * elf/tst-order-a3.c: New file.
18809 * elf/tst-order-a4.c: New file.
18810 * elf/tst-order-b1.c: New file.
18811 * elf/tst-order-b2.c: New file.
18812 * elf/tst-order-main.c: New file.
18813 New test case by George Gensure <werkt0@gmail.com>.
18815 2010-10-01 Andreas Schwab <schwab@redhat.com>
18817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18818 decoding ACE if AI_CANONIDN.
18820 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18822 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18824 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18826 * version.h (RELEASE): Bump for 2.13 release.
18827 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18829 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18831 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18833 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18834 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18835 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18836 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18837 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18838 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18840 * posix/getconf.c: Update copyright year.
18841 * catgets/gencat.c: Likewise.
18842 * csu/version.c: Likewise.
18843 * debug/catchsegv.sh: Likewise.
18844 * debug/xtrace.sh: Likewise.
18845 * elf/ldconfig.c: Likewise.
18846 * elf/ldd.bash.in: Likewise.
18847 * elf/sprof.c (print_version): Likewise.
18848 * iconv/iconv_prog.c: Likewise.
18849 * iconv/iconvconfig.c: Likewise.
18850 * locale/programs/locale.c: Likewise.
18851 * locale/programs/localedef.c: Likewise.
18852 * malloc/memusage.sh: Likewise.
18853 * malloc/mtrace.pl: Likewise.
18854 * nscd/nscd.c (print_version): Likewise.
18855 * nss/getent.c: Likewise.
18857 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18858 PF_CAIF, and PF_ALG.
18859 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18861 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18863 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18864 (modules-names): Use them.
18865 (ifunc-test-modules, ifunc-pie-tests): Define.
18866 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18867 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18868 (test-extras): Likewise.
18869 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18870 $(compile-command.c).
18871 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18872 (all-built-dso): Define.
18873 (check-textrel.out, check-execstack.out): Depend on it.
18875 * configure.in: Don't override --enable-multi-arch.
18877 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18880 * nscd/hstcache.c (tryagain): Define.
18881 (cache_addhst): Return tryagain not notfound for temporary errors.
18882 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18885 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18888 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18889 to make the syscall.
18890 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18893 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18894 and fall back to matching as normal character if the string ends before
18895 the matching ']' is found. This is what POSIX requires.
18896 * posix/testfnm.c: Adjust test result.
18897 * posix/globtest.sh: Adjust test result. Add new test.
18898 * posix/tst-fnmatch.input: Likewise.
18899 * posix/tst-fnmatch2.c: Add new test.
18901 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18903 * elf/Makefile (check-execstack): Revert last change. Depend on
18905 (check-execstack.h): New target.
18906 (generated): Add check-execstack.h.
18907 * elf/check-execstack.c: Include "check-execstack.h".
18908 (main): Revert last change.
18909 (handle_file): Return zero if GNU_STACK is absent and
18910 DEFAULT_STACK_PERMS doesn't include PF_X.
18912 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18914 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18915 in child fails because the descriptor is already closed.
18916 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18917 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18918 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18921 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18925 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18926 temporary buffer used to handle multi lookups locally.
18927 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18929 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18931 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18934 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18936 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18937 alignment for SSE2.
18939 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18942 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18943 characters. When rounding increased number of integer digits recompute
18945 * stdio-common/tst-grouping.c: New file.
18946 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18948 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18950 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18951 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18953 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18955 * bits/select.h: Likewise.
18957 2011-01-08 Ulrich Drepper <drepper@gmail.com>
18959 * po/ja.po: Update from translation team.
18961 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
18964 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18965 implementation just like for lxstat, fxstatat, et al.
18967 2010-12-27 Jim Meyering <meyering@redhat.com>
18970 * posix/regexec.c (build_trtable): Return failure indication upon
18971 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18973 2010-12-25 Ulrich Drepper <drepper@gmail.com>
18976 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18977 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18978 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18979 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18982 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18985 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18986 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18988 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18990 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18991 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18992 script has SORT_BY_INIT_PRIORITY.
18993 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18994 NO_CTORS_DTORS_SECTIONS is defined.
18995 * elf/soinit.c: Likewise.
18996 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18997 NO_CTORS_DTORS_SECTIONS is defined.
18998 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18999 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19000 * sysdeps/sh/init-first.c: Likewise.
19001 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19003 2010-12-24 Ulrich Drepper <drepper@gmail.com>
19005 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19006 always use the slow path.
19008 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19010 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19011 similar rule which adds the sysdep directories to the header search in
19012 order to pick up the correct platform stackinfo.h.
19013 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19014 perform test if it is, otherwise return successfully without testing.
19015 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19016 DEFAULT_STACK_PERMS define in stackinfo.h.
19017 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19018 defined in stackinfo.h.
19019 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19020 DEFAULT_STACK_PERMS defined in stackinfo.h.
19021 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19022 * sysdeps/ia64/stackinfo.h: Likewise.
19023 * sysdeps/s390/stackinfo.h: Likewise.
19024 * sysdeps/sh/stackinfo.h: Likewise.
19025 * sysdeps/sparc/stackinfo.h: Likewise.
19026 * sysdeps/x86_64/stackinfo.h: Likewise.
19027 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19028 PF_X for powerpc64. Retain PF_X for powerpc32.
19030 2010-12-19 Ulrich Drepper <drepper@gmail.com>
19032 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19034 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19035 GETDENTS_64BIT_ALIGNED.
19037 2010-12-14 Ulrich Drepper <dreper@gmail.com>
19039 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19041 2010-12-10 Andreas Schwab <schwab@redhat.com>
19043 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19046 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19047 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19049 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19050 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19052 2010-12-09 Ulrich Drepper <drepper@gmail.com>
19055 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19058 2010-12-09 Jakub Jelinek <jakub@redhat.com>
19060 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19062 2010-12-03 Ulrich Drepper <drepper@gmail.com>
19064 * po/it.po: Update from translation team.
19066 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19068 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19071 2010-11-30 Ulrich Drepper <drepper@gmail.com>
19073 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19075 2010-11-24 Andreas Schwab <schwab@redhat.com>
19077 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19079 (gaih_getanswer_slice): Likewise.
19081 2010-10-20 Jakub Jelinek <jakub@redhat.com>
19083 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19085 2010-05-31 Petr Baudis <pasky@suse.cz>
19088 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19089 silently even in the chroot mode.
19091 2010-11-22 Ulrich Drepper <drepper@gmail.com>
19093 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19094 last patch a bit. Pretty printing
19096 2010-05-31 Petr Baudis <pasky@suse.cz>
19099 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19100 initialization of skip_initgroups_dyn.
19102 2010-11-19 Ulrich Drepper <drepper@gmail.com>
19104 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19105 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19107 2010-11-16 Ulrich Drepper <drepper@gmail.com>
19109 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19111 2010-11-11 Andreas Schwab <schwab@redhat.com>
19113 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19114 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19115 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19116 ($(objpfx)tst-fnmatch-mem): New rule.
19117 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19118 * posix/tst-fnmatch.c (main): Call mtrace.
19120 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19123 Support Intel processor model 6 and model 0x2c.
19125 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
19127 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19130 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19133 * string/test-strncasecmp.c (check_result): New function.
19134 (do_one_test): Use it.
19135 (check1): New function.
19136 (test_main): Use it.
19137 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19138 Support strcasecmp and strncasecmp.
19140 2010-11-08 Ulrich Drepper <drepper@gmail.com>
19143 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19144 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19146 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19148 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19152 * sysdeps/x86_64/multiarch/bzero.S: New file.
19153 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19154 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19155 * sysdeps/x86_64/multiarch/memset.S: New file.
19156 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19158 Set bit_Prefer_SSE_for_memop for Intel processors.
19159 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19161 (index_Prefer_SSE_for_memop): Define.
19162 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19164 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
19166 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19167 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19169 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19172 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19173 (__x86_64_raw_data_cache_size_half): Likewise.
19174 (__x86_64_raw_shared_cache_size): Likewise.
19175 (__x86_64_raw_shared_cache_size_half): Likewise.
19177 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19178 (__x86_64_raw_data_cache_size_half): Likewise.
19179 (__x86_64_raw_shared_cache_size): Likewise.
19180 (__x86_64_raw_shared_cache_size_half): Likewise.
19181 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19182 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19183 and __x86_64_raw_shared_cache_size_half. Round
19184 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19185 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19186 to multiple of 256 bytes.
19188 2010-11-03 Ulrich Drepper <drepper@gmail.com>
19191 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19192 of inacessible symlinks. Verify result of symlink before returning it.
19193 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19194 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19196 2010-10-28 Erich Ritz <erichritz@gmail.com>
19198 * math/math.h (isinf): Fix typo in comment.
19200 2010-11-01 Ulrich Drepper <drepper@gmail.com>
19202 * po/da.po: Update from translation team.
19204 2010-10-26 Ulrich Drepper <drepper@gmail.com>
19206 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19207 is added to the list.
19209 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19210 Ulrich Drepper <drepper@gmail.com>
19212 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19213 the global list here. Move code to...
19214 (_dl_add_to_namespace_list): ...here. New function.
19215 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19216 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19217 * elf/dl-load.c (lose): Don't remove the element from the list.
19218 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19219 (_dl_map_object): Likewise.
19221 2010-10-25 Ulrich Drepper <drepper@gmail.com>
19224 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19225 into all bytes of SSE register.
19226 Patch by Richard Li <richardpku@gmail.com>.
19228 2010-10-24 Ulrich Drepper <drepper@gmail.com>
19231 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19234 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19236 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19237 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19238 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19239 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19244 2010-10-22 Andreas Schwab <schwab@redhat.com>
19246 * include/dlfcn.h (__RTLD_SECURE): Define.
19247 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19248 mode & __RTLD_SECURE instead.
19249 (open_path): Rename preloaded parameter to secure.
19250 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19251 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19252 * elf/dl-deps.c (openaux): Likewise.
19253 * elf/rtld.c (struct map_args): Remove is_preloaded.
19254 (map_doit): Don't use it.
19255 (dl_main): Likewise.
19256 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19257 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19259 2010-09-09 Andreas Schwab <schwab@redhat.com>
19261 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19262 (sysd-rules-targets): Remove duplicates.
19263 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19264 rtld-%.$o dependency.
19266 2010-10-18 Andreas Schwab <schwab@redhat.com>
19268 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19269 _dl_map_object do it.
19271 2010-10-19 Ulrich Drepper <drepper@gmail.com>
19273 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19274 fast fma builtins, define the macros in the C99 standard.
19275 (FP_FAST_FMAF): Likewise.
19276 (FP_FAST_FMAL): Likewise.
19277 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19279 * bits/mathdef.h: Update copyright year.
19280 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19282 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19284 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19285 builtins, define the macros in the C99 standard.
19286 (FP_FAST_FMAF): Likewise.
19287 (FP_FAST_FMAL): Likewise.
19288 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19290 (FP_FAST_FMAF): Likewise.
19292 2010-10-15 Jakub Jelinek <jakub@redhat.com>
19295 * math/libm-test.inc (fma_test): Some new testcases.
19296 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19297 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19298 y and infinite z. Do multiplication by C already in long double.
19299 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19300 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19301 y and infinite z. Do bitwise or of inexact bit into u.d.
19302 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19303 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19304 * sysdeps/i386/fpu/s_fma.S: Removed.
19305 * sysdeps/i386/fpu/s_fmal.S: Removed.
19307 2010-10-16 Jakub Jelinek <jakub@redhat.com>
19310 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19311 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19312 computation is not scheduled after fetestexcept. Fix value
19313 of minimum denormal long double.
19315 2010-10-14 Jakub Jelinek <jakub@redhat.com>
19318 * math/libm-test.inc (fma_test): Add some more tests.
19319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19322 2010-10-15 Andreas Schwab <schwab@redhat.com>
19324 * scripts/data/localplt-s390-linux-gnu.data: New file.
19325 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19327 2010-10-13 Jakub Jelinek <jakub@redhat.com>
19330 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19331 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19333 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19335 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19337 if one of x and y is very large and the other is subnormal.
19338 * sysdeps/s390/fpu/s_fmaf.c: New file.
19339 * sysdeps/s390/fpu/s_fma.c: New file.
19340 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19341 * sysdeps/powerpc/fpu/s_fma.S: New file.
19342 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19343 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19344 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19346 2010-10-12 Jakub Jelinek <jakub@redhat.com>
19349 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19351 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19352 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19353 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19354 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19355 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19356 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19357 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19359 2010-10-12 Ulrich Drepper <drepper@redhat.com>
19362 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19363 * posix/bug-regex31.input: Add test case.
19365 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19367 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19368 * posix/bug-regex31.input: New file.
19371 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19372 (parse_sub_exp): Fix last change, use postorder.
19374 * posix/bug-regex31.c: New file.
19375 * posix/Makefile: Add rules to build and run bug-regex31.
19377 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19380 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19383 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19384 to have entries in sys_siglist.
19387 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19390 2010-10-07 Jakub Jelinek <jakub@redhat.com>
19393 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19394 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19395 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19396 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19397 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19398 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19399 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19400 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19401 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19402 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19403 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19404 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19405 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19406 * math/ftestexcept.c (fetestexcept): Likewise.
19407 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19408 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19409 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19410 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19411 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19412 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19413 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19415 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19418 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19421 2010-10-06 Ulrich Drepper <drepper@gmail.com>
19423 * string/bug-strstr1.c: New file.
19424 * string/Makefile: Add rules to build and run bug-strstr1.
19426 2010-10-05 Eric Blake <eblake@redhat.com>
19429 * string/str-two-way.h (two_way_long_needle): Always clear memory
19430 when skipping input due to the shift table.
19432 2010-10-03 Ulrich Drepper <drepper@gmail.com>
19435 * malloc/mcheck.c: Handle large requests.
19438 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19439 for strncmp and strncasecmp.
19440 * string/stratcliff.c: Add tests for strcmp and strncmp.
19441 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19443 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19445 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19448 2010-09-30 Andreas Jaeger <aj@suse.de>
19450 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19451 (CGROUP_SUPER_MAGIC): Define.
19452 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19453 Handle btrfs and cgroup file systems.
19454 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19457 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
19459 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19460 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19462 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19465 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19466 trying to locate the ELF header.
19468 2010-09-27 Andreas Schwab <schwab@redhat.com>
19471 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19472 Mask out sign-bit copies when constructing f_fsid.
19474 2010-09-24 Petr Baudis <pasky@suse.cz>
19476 * debug/stack_chk_fail_local.c: Add missing licence exception.
19477 * debug/warning-nop.c: Likewise.
19479 2010-09-15 Joseph Myers <joseph@codesourcery.com>
19481 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19482 implementing getdents64 using getdents syscall, set d_type if
19483 __ASSUME_GETDENTS32_D_TYPE.
19485 2010-09-16 Andreas Schwab <schwab@redhat.com>
19487 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19488 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19490 2010-09-21 Ulrich Drepper <drepper@redhat.com>
19493 * posix/unistd.h: Undo change of feature selection for ftruncate from
19496 2010-09-20 Ulrich Drepper <drepper@redhat.com>
19498 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
19501 2010-09-20 Andreas Schwab <schwab@redhat.com>
19503 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19505 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19507 2010-09-14 Andreas Schwab <schwab@redhat.com>
19509 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19510 variables after CHECK_SP call.
19511 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19513 2010-09-13 Andreas Schwab <schwab@redhat.com>
19514 Ulrich Drepper <drepper@redhat.com>
19516 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19517 re-relocationg ld.so.
19518 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19519 _dl_init_paths call.
19520 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19523 2010-09-14 Ulrich Drepper <drepper@redhat.com>
19525 * resolv/res_init.c (__res_vinit): Count the default server we added.
19527 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19528 Ulrich Drepper <drepper@redhat.com>
19531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19532 (____longjmp_chk): Use %ebx for saving value across system call.
19535 2010-09-06 Andreas Schwab <schwab@redhat.com>
19537 * manual/Makefile: Don't mix pattern rules with normal rules.
19539 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19541 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19543 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19544 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19545 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19546 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19547 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19550 2010-09-04 Ulrich Drepper <drepper@redhat.com>
19553 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19554 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19556 2010-09-02 Ulrich Drepper <drepper@redhat.com>
19558 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19559 * sysdeps/x86_64/addmul_1.S: Likewise.
19560 * sysdeps/x86_64/lshift.S: Likewise.
19561 * sysdeps/x86_64/mul_1.S: Likewise.
19562 * sysdeps/x86_64/rshift.S: Likewise.
19563 * sysdeps/x86_64/sub_n.S: Likewise.
19564 * sysdeps/x86_64/submul_1.S: Likewise.
19566 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19568 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19569 Define __sched_param instead of SCHED_* and sched_param when
19570 <bits/sched.h> is included with __need_schedparam defined.
19571 * bits/sched.h [__need_schedparam]
19572 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
19573 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19574 (__defined_schedparam): Define to 1.
19575 (__sched_param): New structure, identical to sched_param.
19576 (__need_schedparam): Undefine.
19578 2010-08-31 Mike Frysinger <vapier@gentoo.org>
19580 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19581 (epoll_create1): Declare.
19583 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19585 2010-08-31 Andreas Schwab <schwab@redhat.com>
19588 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19589 shifting retval into place.
19591 2010-09-01 Ulrich Drepper <drepper@redhat.com>
19593 * nis/rpcsvc/nis.h: Update copyright notice.
19594 * nis/rpcsvc/nis.x: Likewise.
19595 * nis/rpcsvc/nis_callback.h: Likewise.
19596 * nis/rpcsvc/nis_callback.x: Likewise.
19597 * nis/rpcsvc/nis_object.x: Likewise.
19598 * nis/rpcsvc/nis_tags.h: Likewise.
19599 * nis/rpcsvc/yp.h: Likewise.
19600 * nis/rpcsvc/yp.x: Likewise.
19601 * nis/rpcsvc/ypupd.h: Likewise.
19602 * nis/yp_xdr.c: Likewise.
19603 * nis/ypupdate_xdr.c: Likewise.
19605 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19606 mainly the body of pmap_getport. Add parameters to specify timeouts.
19607 (pmap_getport): Use __libc_rpc_getport.
19608 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19609 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19610 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19612 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19617 2010-08-27 Roland McGrath <roland@redhat.com>
19619 * sysdeps/i386/i686/multiarch/Makefile
19620 (CFLAGS-varshift.c): New variable.
19622 2010-08-27 Ulrich Drepper <drepper@redhat.com>
19624 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19625 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19627 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19629 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19631 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19633 * sysdeps/x86_64/strlen.S: Unroll the loop.
19634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19635 strlen-sse2 strlen-sse2-bsf.
19636 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19637 __strlen_no_bsf if bit_Slow_BSF is set.
19638 (__strlen_sse42): Removed.
19639 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19640 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19642 2010-08-25 Roland McGrath <roland@redhat.com>
19644 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19645 * sysdeps/x86_64/multiarch/varshift.c: New file.
19646 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19647 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19648 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19649 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19651 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19654 strlen-sse2 strlen-sse2-bsf.
19655 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19656 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19657 (__strlen_sse2): Removed.
19658 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19659 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19661 bit_Slow_BSF for Atom.
19662 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19663 (index_Slow_BSF): Define.
19664 (HAS_SLOW_BSF): Define.
19666 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19669 * resolv/res_init.c (__res_vinit): When no server address at all
19670 is given default to loopback.
19672 2010-08-24 Roland McGrath <roland@redhat.com>
19674 * configure.in: Remove config-name.h generation.
19675 * configure: Regenerated.
19676 * config-name.in: File removed.
19677 * scripts/config-uname.sh: New file.
19678 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19679 ($(objdir)config-name.h): New target.
19681 * sunrpc/rpc_parse.h: Avoid nested comment.
19683 2010-08-24 Richard Henderson <rth@redhat.com>
19684 Ulrich Drepper <drepper@redhat.com>
19685 H.J. Lu <hongjiu.lu@intel.com>
19687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19689 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19690 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19691 _mm_alignr_epi8 with _mm_loadu_si128.
19692 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19693 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19694 (__m128i_shift_right): Removed.
19695 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19696 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19697 * sysdeps/x86_64/multiarch/varshift.h: New file.
19698 * sysdeps/x86_64/multiarch/varshift.S: New file.
19700 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19702 * configure.in: Move assembler checks to before sysdep dir checking.
19704 2010-08-20 Petr Baudis <pasky@suse.cz>
19706 * LICENSES: Sync the sunrpc license.
19708 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19710 * sunrpc/auth_des.c: Update copyright notice once again.
19711 * sunrpc/auth_none.c: Likewise.
19712 * sunrpc/auth_unix.c: Likewise.
19713 * sunrpc/authdes_prot.c: Likewise.
19714 * sunrpc/authuxprot.c: Likewise.
19715 * sunrpc/bindrsvprt.c: Likewise.
19716 * sunrpc/clnt_gen.c: Likewise.
19717 * sunrpc/clnt_perr.c: Likewise.
19718 * sunrpc/clnt_raw.c: Likewise.
19719 * sunrpc/clnt_simp.c: Likewise.
19720 * sunrpc/clnt_tcp.c: Likewise.
19721 * sunrpc/clnt_udp.c: Likewise.
19722 * sunrpc/clnt_unix.c: Likewise.
19723 * sunrpc/des_crypt.c: Likewise.
19724 * sunrpc/des_soft.c: Likewise.
19725 * sunrpc/get_myaddr.c: Likewise.
19726 * sunrpc/getrpcport.c: Likewise.
19727 * sunrpc/key_call.c: Likewise.
19728 * sunrpc/key_prot.c: Likewise.
19729 * sunrpc/openchild.c: Likewise.
19730 * sunrpc/pm_getmaps.c: Likewise.
19731 * sunrpc/pm_getport.c: Likewise.
19732 * sunrpc/pmap_clnt.c: Likewise.
19733 * sunrpc/pmap_prot.c: Likewise.
19734 * sunrpc/pmap_prot2.c: Likewise.
19735 * sunrpc/pmap_rmt.c: Likewise.
19736 * sunrpc/rpc/auth.h: Likewise.
19737 * sunrpc/rpc/auth_unix.h: Likewise.
19738 * sunrpc/rpc/clnt.h: Likewise.
19739 * sunrpc/rpc/des_crypt.h: Likewise.
19740 * sunrpc/rpc/key_prot.h: Likewise.
19741 * sunrpc/rpc/netdb.h: Likewise.
19742 * sunrpc/rpc/pmap_clnt.h: Likewise.
19743 * sunrpc/rpc/pmap_prot.h: Likewise.
19744 * sunrpc/rpc/pmap_rmt.h: Likewise.
19745 * sunrpc/rpc/rpc.h: Likewise.
19746 * sunrpc/rpc/rpc_des.h: Likewise.
19747 * sunrpc/rpc/rpc_msg.h: Likewise.
19748 * sunrpc/rpc/svc.h: Likewise.
19749 * sunrpc/rpc/svc_auth.h: Likewise.
19750 * sunrpc/rpc/types.h: Likewise.
19751 * sunrpc/rpc/xdr.h: Likewise.
19752 * sunrpc/rpc_clntout.c: Likewise.
19753 * sunrpc/rpc_cmsg.c: Likewise.
19754 * sunrpc/rpc_common.c: Likewise.
19755 * sunrpc/rpc_cout.c: Likewise.
19756 * sunrpc/rpc_dtable.c: Likewise.
19757 * sunrpc/rpc_hout.c: Likewise.
19758 * sunrpc/rpc_main.c: Likewise.
19759 * sunrpc/rpc_parse.c: Likewise.
19760 * sunrpc/rpc_parse.h: Likewise.
19761 * sunrpc/rpc_prot.c: Likewise.
19762 * sunrpc/rpc_sample.c: Likewise.
19763 * sunrpc/rpc_scan.c: Likewise.
19764 * sunrpc/rpc_scan.h: Likewise.
19765 * sunrpc/rpc_svcout.c: Likewise.
19766 * sunrpc/rpc_tblout.c: Likewise.
19767 * sunrpc/rpc_util.c: Likewise.
19768 * sunrpc/rpc_util.h: Likewise.
19769 * sunrpc/rpcinfo.c: Likewise.
19770 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19771 * sunrpc/rpcsvc/key_prot.x: Likewise.
19772 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19773 * sunrpc/rpcsvc/mount.x: Likewise.
19774 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19775 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19776 * sunrpc/rpcsvc/rex.x: Likewise.
19777 * sunrpc/rpcsvc/rstat.x: Likewise.
19778 * sunrpc/rpcsvc/rusers.x: Likewise.
19779 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19780 * sunrpc/rpcsvc/spray.x: Likewise.
19781 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19782 * sunrpc/rtime.c: Likewise.
19783 * sunrpc/svc.c: Likewise.
19784 * sunrpc/svc_auth.c: Likewise.
19785 * sunrpc/svc_authux.c: Likewise.
19786 * sunrpc/svc_raw.c: Likewise.
19787 * sunrpc/svc_run.c: Likewise.
19788 * sunrpc/svc_simple.c: Likewise.
19789 * sunrpc/svc_tcp.c: Likewise.
19790 * sunrpc/svc_udp.c: Likewise.
19791 * sunrpc/svc_unix.c: Likewise.
19792 * sunrpc/svcauth_des.c: Likewise.
19793 * sunrpc/xcrypt.c: Likewise.
19794 * sunrpc/xdr.c: Likewise.
19795 * sunrpc/xdr_array.c: Likewise.
19796 * sunrpc/xdr_float.c: Likewise.
19797 * sunrpc/xdr_mem.c: Likewise.
19798 * sunrpc/xdr_rec.c: Likewise.
19799 * sunrpc/xdr_ref.c: Likewise.
19800 * sunrpc/xdr_sizeof.c: Likewise.
19801 * sunrpc/xdr_stdio.c: Likewise.
19803 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19806 2010-08-19 Andreas Schwab <schwab@redhat.com>
19808 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19810 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19812 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19813 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19814 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19815 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19816 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19817 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19818 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19819 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19820 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19821 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19822 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19823 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19824 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19825 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19827 2010-07-26 Anton Blanchard <anton@samba.org>
19829 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19830 * malloc/arena.c (heap_trim): Likewise.
19832 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19834 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19836 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19837 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19839 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19841 * sysdeps/i386/elf/Makefile: New file.
19843 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19845 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19846 from fanotify_init.
19847 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19848 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19850 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19852 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19854 * sysdeps/multiarch/strcmp.S: Likewise.
19856 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19858 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19859 strncase_l-nonascii.
19860 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19861 Add strncase_l-ssse3.
19862 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19863 * sysdeps/x86_64/strcmp.S: Likewise.
19864 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19865 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19866 * sysdeps/x86_64/strncase.S: New file.
19867 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19868 * sysdeps/x86_64/strncase_l.S: New file.
19869 * string/Makefile (strop-tests): Add strncasecmp.
19870 * string/test-strncasecmp.c: New file.
19872 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19875 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19876 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19878 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19880 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19882 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19884 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19885 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19886 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19888 2010-05-01 Alan Modra <amodra@gmail.com>
19890 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19891 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19892 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19893 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19894 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19895 tidying. Don't tail-call __sigjmp_save for static lib.
19896 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19898 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19899 (CALL_MCOUNT): Add eh info, and nop after bl.
19900 (TAIL_CALL_SYSCALL_ERROR): New macro.
19901 (PSEUDO_RET): Use it.
19902 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19903 Correct save location of integer regs and cr.
19904 (_dl_profile_resolve): Correct cr save location. Delete nops
19905 after bl when SHARED. Reduce cfi size a little by better
19906 placement of cfi directives.
19907 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19908 make a stack frame. Instead use parm save area as a temp.
19909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19910 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19912 Don't make a stack frame for parent, use parm save area.
19913 Increase child stack frame to 112 bytes. Don't save unused reg,
19914 and adjust reg usage. Set up cfi on error recovery and
19915 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19917 (__makecontext): Add dummy nop after jump to exit.
19918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19919 Use correct parm save area and cr save, reduce stack frame.
19920 Correct cfi for possible PSEUDO_RET frame setup.
19921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19922 Branch to local label emitted by PSEUDO_RET rather than
19925 2010-08-12 Andreas Schwab <schwab@redhat.com>
19928 * locale/programs/locale.c (print_assignment): New function.
19929 (show_locale_vars): Use it.
19931 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19933 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19935 (struct statfs64): Likewise.
19936 (_STATFS_F_FLAGS): Define.
19937 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19938 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19939 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19940 (ST_VALID): Define locally.
19941 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19942 __statvfs_getflags, use the provided value.
19943 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19944 __ASSUME_STATFS_F_FLAGS.
19946 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19948 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19949 Add sys/fanotify.h.
19950 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19951 fanotify_mask for GLIBC_2.13.
19952 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19953 fanotify_init and fanotify_mark.
19954 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19955 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19957 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19959 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19960 prlimit64 for GLIBC_2.13.
19961 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19963 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19966 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19967 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19968 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19971 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19974 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19975 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19977 * nss/Makefile: Add rules to build and run tst-nss-test1.
19978 * shlib-versions: Add entry for libnss_test1.
19979 * nss/nss_test1.c: New file.
19980 * nss/tst-nss-test1.c: New file.
19982 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19983 (__nss_configure_lookup): Set appropriate entry in
19984 __nss_configure_lookup to true.
19985 * nss/nsswitch.h: Define enum with indeces of databases in
19986 databases and __nss_database_custom arrays. Declare
19987 __nss_database_custom.
19988 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19989 to avoid using nscd when custom rules are installed.
19990 * nss/getXXbyYY_r.c: Likewise.
19991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19993 * nss/nss_files/files-parse.c: Whitespace fixes.
19995 2010-08-09 Ulrich Drepper <drepper@redhat.com>
19998 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19999 * posix/fnmatch_loop.c: Likewise.
20001 2010-07-17 Andi Kleen <ak@linux.intel.com>
20003 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20004 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20005 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20006 * Versions.def [GLIBC_2.13]: Add.
20008 2010-08-06 Ulrich Drepper <drepper@redhat.com>
20010 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20011 Also fail if tpwd after pwuid call is NULL.
20013 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20015 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20016 when converting to ms.
20018 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20020 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20021 EOPNOTSUPP errors with ENOTTY.
20022 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20023 EOPNOTSUPP errors with ENOTTY.
20025 2010-07-31 Ulrich Drepper <drepper@redhat.com>
20027 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20028 Add strcasecmp_l-ssse3.
20029 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20031 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20032 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20033 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20035 2010-07-30 Ulrich Drepper <drepper@redhat.com>
20037 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20039 * string/Makefile (strop-tests): Add strcasecmp.
20040 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20041 strcasecmp_l-nonascii.
20042 (gen-as-const-headers): Add locale-defines.sym.
20043 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20044 * sysdeps/x86_64/strcasecmp.S: New file.
20045 * sysdeps/x86_64/strcasecmp_l.S: New file.
20046 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20047 * sysdeps/x86_64/locale-defines.sym: New file.
20048 * string/test-strcasecmp.c: New file.
20050 * string/test-strcasestr.c: Test both ends of the range of characters.
20051 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20053 2010-07-29 Roland McGrath <roland@redhat.com>
20056 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20058 2010-07-27 Ulrich Drepper <drepper@redhat.com>
20060 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20063 2010-07-27 Andreas Schwab <schwab@redhat.com>
20065 * manual/memory.texi (Malloc Tunable Parameters): Document
20068 2010-07-26 Roland McGrath <roland@redhat.com>
20071 * configure.in (-fgnu89-inline check): Set and substitute
20072 gnu89_inline, not libc_cv_gnu89_inline.
20073 * configure: Regenerated.
20074 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20076 2010-07-26 Ulrich Drepper <drepper@redhat.com>
20078 * string/test-strnlen.c: New file.
20079 * string/Makefile (strop-tests): Add strnlen.
20080 * string/tester.c (test_strnlen): Add a few more test cases.
20081 * string/tst-strlen.c: Better error reporting.
20083 * sysdeps/x86_64/strnlen.S: New file.
20085 2010-07-24 Ulrich Drepper <drepper@redhat.com>
20087 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20088 lower-latency instructions.
20090 2010-07-23 Ulrich Drepper <drepper@redhat.com>
20092 * string/test-strcasestr.c: New file.
20093 * string/test-strstr.c: New file.
20094 * string/Makefile (strop-tests): Add strstr and strcasestr.
20095 * string/str-two-way.h: Don't undefine MAX.
20096 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20098 2010-07-21 Andreas Schwab <schwab@redhat.com>
20100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20101 strcasestr-nonascii.
20102 (CFLAGS-strcasestr-nonascii.c): Define.
20103 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20104 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20105 Remove unused attribute.
20107 2010-07-20 Roland McGrath <roland@redhat.com>
20109 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20110 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20111 ld.so.cache was broken. With it, there is no way to disable dsocaps
20112 like LD_HWCAP_MASK can disable hwcaps.
20114 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20116 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20118 2010-07-16 Ulrich Drepper <drepper@redhat.com>
20120 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20121 call in strcasestr.
20122 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20123 __strcasestr_sse42_nonascii.
20124 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20125 strcasestr-nonascii.c.
20126 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20128 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
20130 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20131 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20132 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20133 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20135 2010-07-09 Ulrich Drepper <drepper@redhat.com>
20137 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20140 2010-07-06 Andreas Schwab <schwab@redhat.com>
20143 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20146 2010-07-06 Ulrich Drepper <drepper@redhat.com>
20148 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20149 _PC_PIPE_BUF using F_GETPIPE_SZ.
20151 2010-07-05 Roland McGrath <roland@redhat.com>
20153 * manual/arith.texi (Rounding Functions): Fix rint description
20154 implicit in round description.
20156 2010-07-02 Ulrich Drepper <drepper@redhat.com>
20158 * elf/Makefile: Fix linking for a few tests to make recent linker
20161 2010-06-30 Andreas Schwab <schwab@redhat.com>
20163 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20164 $(common-objpfx)libc_nonshared.a.
20166 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
20168 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20169 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20170 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20171 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20172 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20173 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20174 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20175 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20190 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20191 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20192 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20193 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20194 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20195 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20196 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20197 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20198 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20199 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20200 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20201 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20217 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20219 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20220 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20221 * string/memmove.c (memmove): Renamed to ...
20222 (MEMMOVE): ...this. Default to memmove.
20223 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20224 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20227 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20228 mempcpy-ssse3-back memmove-ssse3-back.
20229 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20230 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20231 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20232 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20233 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20234 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20235 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20236 * sysdeps/x86_64/multiarch/memmove.c: New file.
20237 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20238 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20239 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20240 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20241 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20242 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20244 (index_Fast_Copy_Backward): Define.
20245 (HAS_ARCH_FEATURE): Define.
20246 (HAS_FAST_REP_STRING): Define.
20247 (HAS_FAST_COPY_BACKWARD): Define.
20249 2010-06-21 Andreas Schwab <schwab@redhat.com>
20251 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20252 Restore proper fallback handling.
20254 2010-06-19 Ulrich Drepper <drepper@redhat.com>
20257 * posix/group_member.c (__group_member): Correct checking loop.
20259 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20260 OOM in getpwuid_r correctly. Return error number when the caller
20261 should return, otherwise -1.
20262 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20263 call returning > 0 value.
20264 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20266 2010-06-07 Andreas Schwab <schwab@redhat.com>
20268 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20269 libc_nonshared.a from targets in modules-names.
20271 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20273 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20276 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
20278 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20279 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20280 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20281 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20283 2010-06-02 Andreas Schwab <schwab@redhat.com>
20285 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20287 2010-06-14 Ulrich Drepper <drepper@redhat.com>
20289 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20292 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20294 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20295 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20296 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20298 2010-06-14 Roland McGrath <roland@redhat.com>
20300 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20302 2010-06-07 Jakub Jelinek <jakub@redhat.com>
20304 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20305 __REDIRECT followed by __THROW.
20306 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20307 * posix/getopt.h (getopt): Likewise.
20309 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20311 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20312 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20313 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20315 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20316 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20318 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
20320 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20322 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20326 Properly check family and model.
20328 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20330 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20332 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
20334 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20336 2010-05-21 Ulrich Drepper <drepper@redhat.com>
20338 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20341 2010-05-19 Andreas Schwab <schwab@redhat.com>
20343 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20346 2010-05-21 Andreas Schwab <schwab@redhat.com>
20348 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20349 and internal_recvmmsg.
20350 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20351 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20352 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20353 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20355 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20356 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20357 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20359 2010-05-20 Andreas Schwab <schwab@redhat.com>
20361 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20363 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
20365 POWER7 optimizations.
20366 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20367 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20369 2010-05-19 Ulrich Drepper <drepper@redhat.com>
20371 * version.h: Update for 2.13 development version.
20373 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
20375 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20376 exceptions. Return 0.
20378 2010-05-07 Roland McGrath <roland@redhat.com>
20380 * elf/ldconfig.c (main): Add a const.
20382 2010-05-06 Ulrich Drepper <drepper@redhat.com>
20384 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20385 (args_options): Add no-idn option.
20386 (ahosts_keys_int): Add idn_flags to ai_flags.
20387 (parse_option): Handle 'i' option to clear idn_flags.
20389 * malloc/malloc.c (_int_free): Possible race in the most recently
20390 added check. Only act on the data if no current modification
20393 See ChangeLog.17 for earlier changes.