]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Use $(built-program-cmd) in io/ftwtest-sh.
[thirdparty/glibc.git] / ChangeLog
1 2012-10-19 Joseph Myers <joseph@codesourcery.com>
2
3 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5 directly. Pass built executable to script as
6 $(built-program-cmd).
7 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8 $testprogram without using LD_LIBRARY_PATH and $ldso.
9
10 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12 $(rtld-installed-name).
13 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14 (rtld_installed_name): Likewise.
15 (library_path): Likewise.
16 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18 $(run-program-prefix) to tst-tables.sh.
19 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
20 it to run tst-table-from and tst-table-to.
21 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22 Pass it to tst-table.sh.
23 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24 $(run-program-prefix) to tst-gettext.sh.
25 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26 tst-translit.sh.
27 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28 tst-gettext2.sh.
29 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30 to run tst-gettext.
31 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32 to run tst-gettext2.
33 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
34 to run tst-translit.
35 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36 $(run-program-prefix) to tst-mtrace.sh.
37 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
38 to run tst-mtrace.
39 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41 $(rtld-installed-name).
42 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43 (rtld_installed_name): Likewise.
44 (run_program_prefix): New variable. Use it to run wordexp-test.
45
46 * Makeconfig (ARCH): Remove all definitions.
47 (machine): Likewise.
48 [ARCH]: Remove conditional code.
49 [!objdir]: Give error.
50 [!objdir] (objpfx): Remove.
51 [!objdir] (common-objpfx): Likewise.
52 [!objdir] (common-objdir): Likewise.
53 * configure.in (config_makefile): Remove. Hardcode Makefile in
54 AC_CONFIG_FILES call.
55 * configure: Regenerated.
56
57 [BZ #13888]
58 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59 or TMPDIR.
60 (testout): Likewise.
61
62 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
63 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
64 $(rtld-installed-name).
65 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
66 (rtld_installed_name): Likwise.
67 (runit): Remove function.
68 (run_getconf): New variable, Use it for running getconf binary.
69
70 2012-10-19 Jim Blandy <jimb@codesourcery.com>
71 Joseph Myers <joseph@codesourcery.com>
72
73 * localedata/tst-wctype.sh (run_program_prefix): Remove variable.
74 (tst_wctype): New variable. Use it directly to run test program
75 instead of passing test program name as argument.
76
77 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
78
79 [BZ #14716]
80 * string/test-memmem.c (check_result): New function.
81 (do_one_test): Use it.
82 (check1): New function.
83 (test_main): Use it.
84
85 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
86
87 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
88
89 2012-10-18 Joseph Myers <joseph@codesourcery.com>
90
91 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
92 (_G_LSEEK64): Likewise.
93 (_G_MMAP64): Likewise.
94 (_G_FSTAT64): Likewise.
95 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
96 (_G_LSEEK64): Likewise.
97 (_G_MMAP64): Likewise.
98 (_G_FSTAT64): Likewise.
99 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
100 unconditional. Call __mmap64 directly.
101 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
102 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
103 __lseek64 directly.
104 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
105 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
106 __mmap64 directly.
107 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
108 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
109 __lseek64 directly.
110 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
111 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
112 __lseek64 directly.
113 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
114 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
115 __lseek64 directly.
116 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
117 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
118 __fxstat64 directly.
119 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
120 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
121 unconditional.
122 (freopen64) [!_G_OPEN64]: Remove conditional code.
123 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
124 unconditional.
125 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
126 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
127 unconditional.
128 (ftello64) [!_G_LSEEK64]: Remove conditional code.
129 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
130 unconditional.
131 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
132 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
133 unconditional.
134 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
135 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
136 unconditional.
137 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
138 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
139 unconditional.
140 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
141 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
142 unconditional.
143 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
144
145 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
146
147 [BZ #12140]
148 * manual/memory.texi (Malloc Tunable Parameters): Add note
149 about free list pointers overwriting some perturb bytes.
150 Wording suggested by Roland McGrath.
151
152 2012-10-17 Joseph Myers <joseph@codesourcery.com>
153
154 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
155 (lgamma_test): Likewise.
156 (tgamma_test): Likewise.
157
158 2012-10-16 Florian Weimer <fweimer@redhat.com>
159
160 [BZ #14700]
161 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
162 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
163
164 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
165
166 * NEWS: Mention BZ #14716.
167 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
168 when removing AVAILABLE1_USES_J macro.
169
170 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
171
172 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
173 (__bswap_64): __uint64_t for unsigned 64-bit int.
174
175 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
176
177 * include/string.h (memmem): Declare libc hidden alias.
178 * string/memmem.c (memmem): Define libc hidden alias.
179 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
180 __read, __close instead of open, read, close.
181
182 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
183
184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
185 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
186 global and hidden.
187 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
188 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
189 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
190 Likewise.
191 (__rawmemchr_sse2): Likewise.
192 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
193 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
194 (__strchr_sse2): Likewise.
195 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
196 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
197 (__strcasecmp_sse2): Likewise.
198 (__strncasecmp_sse2): Likewise.
199 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
200 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
201 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
202 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
203 (__strrchr_sse2): Likewise.
204 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
205 ifunc-impl-list.c.
206 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
207 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
208 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
209 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
210 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
211 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
212 * sysdeps/x86_64/multiarch/memset.S: Likewise.
213 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
214 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
215 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
216 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
217 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
218 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
219 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
220 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
221 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
222 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
223 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
224 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
225 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
226 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
227 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
228 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
229 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
230 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
231 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
232 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
233 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
234 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
235 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
236
237 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
238 global and hidden.
239 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
240 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
241 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
242 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
243 Likewise.
244 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
245 Likewise.
246 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
247 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
248 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
249 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
250 ifunc-impl-list.c.
251 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
252 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
253 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
254 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
255 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
256 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
257 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
258 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
259 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
260 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
261 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
262 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
263 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
264 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
265 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
266 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
267 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
268 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
269 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
270 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
271 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
272 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
273 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
274 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
275 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
276 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
277 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
278 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
279 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
280 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
281 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
282 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
283 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
284 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
285 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
286 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
287 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
288 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
289 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
290 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
291 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
292
293 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
294 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
295 * include/ifunc-impl-list.h: New file.
296 * misc/ifunc-impl-list.c: Likewise.
297 * misc/Makefile (routines): Add ifunc-impl-list.
298 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
299 * string/test-string.h: Include <ifunc-impl-list.h>.
300 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
301 impl_array): New variables.
302 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
303 are defined.
304 (test_init): Call __libc_ifunc_impl_list to initialize
305 func_list if TEST_IFUNC and TEST_NAME are defined.
306
307 * string/Makefile (strop-tests): Add bcopy and bzero.
308 * string/test-bcopy.c: New file.
309 * string/test-bzero.c: Likewise.
310 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
311 defined.
312 * string/test-memset.c: Support bzero test if TEST_BZERO is
313 defined.
314 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
315 __libc_memmove.
316 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
317 __libc_memset.
318 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
319 of memset.
320
321 2012-10-10 Joseph Myers <joseph@codesourcery.com>
322
323 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
324 * configure: Regenerated.
325
326 * Makeconfig (+link-static-before-libc): Don't include
327 $(link-static-libc).
328
329 * libio/libio.h (_IO_pos_t): Remove.
330
331 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
332
333 * NEWS: Add note about FIPS mode. Wording suggested by Roland
334 McGrath.
335
336 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
337
338 * crypt/crypt-entry.c: Include fips-private.h.
339 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
340 * crypt/md5c-test.c (main): Tolerate disabled MD5.
341 * sysdeps/unix/sysv/linux/fips-private.h: New file.
342 * sysdeps/generic/fips-private.h: New file, dummy fallback.
343
344 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
345
346 * crypt/crypt-private.h: Include stdbool.h.
347 (_ufc_setup_salt_r): Return bool.
348 * crypt/crypt-entry.c: Include errno.h.
349 (__crypt_r): Return NULL with EINVAL for bad salt.
350 * crypt/crypt_util.c (bad_for_salt): New.
351 (_ufc_setup_salt_r): Check that salt is long enough and within
352 the specified alphabet.
353 * crypt/badsalttest.c: New file.
354 * crypt/Makefile (tests): Add it.
355 ($(objpfx)badsalttest): New.
356
357 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
358
359 * NEWS: Add entry for BZ #14602.
360
361 2012-10-09 Joseph Myers <joseph@codesourcery.com>
362
363 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
364 type-generic.
365 * math/libm-test.inc: Update comment listing what functions and
366 macros are tested.
367 (isgreater_test): New function.
368 (isgreaterequal_test): Likewise.
369 (isless_test): Likewise.
370 (islessequal_test): Likewise.
371 (islessgreater_test): Likewise.
372 (isunordered_test): Likewise.
373 (main): Call the new functions.
374
375 2012-10-09 Roland McGrath <roland@hack.frob.com>
376
377 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
378 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
379 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
380 * sysdeps/i386/configure: Regenerated.
381 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
382 * sysdeps/mach/configure: Regenerated.
383 * sysdeps/mach/hurd/configure: Regenerated.
384 * sysdeps/powerpc/configure: Regenerated.
385 * sysdeps/powerpc/powerpc32/configure: Regenerated.
386 * sysdeps/powerpc/powerpc64/configure: Regenerated.
387 * sysdeps/s390/s390-32/configure: Regenerated.
388 * sysdeps/s390/s390-64/configure: Regenerated.
389 * sysdeps/sh/configure: Regenerated.
390 * sysdeps/sparc/configure: Regenerated.
391 * sysdeps/unix/sysv/linux/configure: Regenerated.
392 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
393 * sysdeps/x86_64/configure: Regenerated.
394
395 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
396 defined. Don't check if MAP is NULL.
397
398 2012-10-09 Joseph Myers <joseph@codesourcery.com>
399
400 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
401 (_G_stat64): Likewise.
402 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
403 (_G_stat64): Likewise.
404 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
405 instead of struct _G_stat64.
406 * libio/fileops.c (mmap_remap_check): Likewise.
407 (decide_maybe_mmap): Likewise.
408 (_IO_new_file_seekoff): Likewise.
409 (_IO_file_stat): Likewise.
410 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
411 _G_off64_t.
412 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
413 instead of struct _G_stat64.
414 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
415
416 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
417
418 [BZ #14602]
419 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
420 Replace with ...
421 (CHECK_EOL): New macro.
422 (two_way_short_needle): Check beginning of haystack for EOL. Use
423 CHECK_EOL.
424 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
425 Replace with CHECK_EOL.
426 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
427 Replace with CHECK_EOL.
428
429 2012-10-08 Joseph Myers <joseph@codesourcery.com>
430
431 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
432 type-generic.
433 * math/libm-test.inc: Update comment listing what functions and
434 macros are tested.
435 (finite_test): New function.
436 (isinf_test): Likewise.
437 (isnan_test): Likewise.
438 (fpclassify_test): Test subnormal input.
439 (isfinite_test): Likewise.
440 (isnormal_test): Likewise.
441 (main): Call the new functions.
442
443 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
444
445 [BZ #14660]
446 * Makerules (%.dynsym): Force C locale when running
447 $(OBJDUMP) --dynamic-syms.
448
449 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
450
451 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
452 <stdint.h>.
453
454 2012-10-06 David S. Miller <davem@davemloft.net>
455
456 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
457 upper 32-bits of the length value in %o2 since we use branch-on-register
458 tests which consider the entire 64-bit register.
459
460 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
461
462 * string/test-strstr.c (check2): Add a test for page boundary.
463
464 2012-10-05 David S. Miller <davem@davemloft.net>
465
466 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
467 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
468 file.
469 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
470 sysdep_routines.
471 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
472 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
473 and bzero when HWCAP_SPARC_CRYPTO is present.
474
475 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
476
477 [BZ #14602]
478 * string/test-strstr.c (check2): New function.
479 (test_main): Call check2.
480
481 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
482 and bug-strchr1.
483 * string/bug-strcasestr1.c (do_test): Moved to ...
484 * string/test-strcasestr.c (check1): Here. New function.
485 (do_one_test): Break out result checking code into ...
486 (check_result): This. New function.
487 (do_one_test): Call check_result.
488 (test_main): Call check1.
489 * string/bug-strchr1.c (do_test): Moved to ...
490 * string/test-strchr.c (check1): Here. New function.
491 (do_one_test): Break out result checking code into ...
492 (check_result): This. New function.
493 (do_one_test): Call check_result.
494 (test_main): Call check1.
495 * string/bug-strstr1.c (main): Moved to ...
496 * string/test-strchr.c (check1): Here. New function.
497 (do_one_test): Break out result checking code into ...
498 (check_result): This. New function.
499 (do_one_test): Call check_result.
500 (test_main): Call check1.
501 * string/bug-strcasestr1.c: Removed.
502 * string/bug-strchr1.c: Likewise.
503 * string/bug-strstr1.c: Likewise.
504
505 * elf/Makefile (dl-routines): Add hwcaps.
506 * elf/dl-support.c (_dl_important_hwcaps): Removed.
507 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
508 (_dl_important_hwcaps): Moved to ...
509 * elf/dl-hwcaps.c: Here. New file.
510 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
511
512 [BZ #14557]
513 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
514 if IS_IN_rtld isn't defined.
515
516 * elf/dl-support.c (_dl_sysinfo_map): New.
517 Include "get-dynamic-info.h" and "setup-vdso.h".
518 (_dl_non_dynamic_init): Call setup_vdso.
519 * elf/dynamic-link.h: Don't include <assert.h>.
520 (elf_get_dynamic_info): Moved to ...
521 * elf/get-dynamic-info.h: Here. New file.
522 * elf/dynamic-link.h: Include "get-dynamic-info.h".
523 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
524 * elf/setup-vdso.h: Here. New file.
525 * elf/rtld.c: Include "setup-vdso.h".
526 (dl_main): Call setup_vdso.
527
528 2012-10-05 Joseph Myers <joseph@codesourcery.com>
529
530 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
531 creal in comment listing functions tested. List finite, isinf,
532 isnan, isless, islessequal, isgreater, isgreaterequal,
533 islessgreater, isunordered, lgamma_r and pow10 as functions and
534 macros not tested. Mention which functions not tested are aliases
535 for other functions. Fix typo. Note that signs of NaNs are not
536 tested.
537
538 * scripts/config.guess: Update from config.git.
539 * scripts/config.sub: Likewise.
540
541 2012-10-04 Roland McGrath <roland@hack.frob.com>
542
543 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
544 * misc/madvise.c (madvise): Renamed to __madvise.
545 Make madvise a weak alias.
546 * include/sys/mman.h: Declare __madvise.
547 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
548 * sysdeps/unix/syscalls.list
549 (madvise): Make __madvise the strong name, and madvise a weak alias.
550 * sysdeps/unix/sysv/linux/syscalls.list
551 (madvise, mmap): Remove redundant entries.
552 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
553 * malloc/malloc.c (mtrim): Likewise.
554 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
555
556 2012-10-03 Roland McGrath <roland@hack.frob.com>
557
558 * sysdeps/mach/hurd/dl-cache.c: File removed.
559 * config.h.in (USE_LDCONFIG): New #undef.
560 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
561 * configure: Regenerated.
562 * elf/Makefile (dl-routines): Add dl-cache only under
563 [$(use-ldconfig) = yes].
564 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
565 cache on [USE_LDCONFIG].
566 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
567 [USE_LDCONFIG].
568 * elf/rtld.c (dl_main): Likewise.
569
570 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
571
572 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
573 _SC_LEVEL4_CACHE_LINESIZE.
574
575 2012-10-03 Roland McGrath <roland@hack.frob.com>
576
577 * sysdeps/unix/bsd/confstr.h: File removed.
578
579 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
580
581 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
582 sys/sdt-config.h.
583
584 2012-10-02 Roland McGrath <roland@hack.frob.com>
585
586 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
587 Make 'mapoff' field ElfW(Off) rather than off_t.
588
589 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
590
591 * nscd/Makefile: Remove nscd-cflags and all its users.
592 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
593 (CFLAGS-nonlib): Add compiler flags for nscd modules.
594
595 [BZ #10631]
596 * malloc.c (malloc_printerr): Clarify error message.
597
598 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
599
600 [BZ #14648]
601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
602 Set bit_FMA_Usable if FMA is supported.
603 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
604 macro.
605 (bit_FMA4_Usable): Updated.
606 (index_FMA_Usable): New macro.
607 (CPUID_FMA): Likewise
608 (HAS_FMA): Defined with bit_FMA_Usable.
609
610 2012-10-01 Roland McGrath <roland@hack.frob.com>
611
612 * bits/types.h (__swblk_t): Type removed.
613 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
614 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
615 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
616 (__SWBLK_T_TYPE): Likewise.
617 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
618 (__SWBLK_T_TYPE): Likewise.
619 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
620 (__SWBLK_T_TYPE): Likewise.
621 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
622 (__SWBLK_T_TYPE): Likewise.
623
624 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
625 Honza Horak <hhorak@redhat.com>
626
627 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
628 (xdr_mapname): Use YPMAXMAP as maxsize.
629 (xdr_peername): Use YPMAXPEER as maxsize.
630 (xdr_keydat): Use YPAXRECORD as maxsize.
631 (xdr_valdat): Use YPMAXRECORD as maxsize.
632
633 2012-10-01 Roland McGrath <roland@hack.frob.com>
634
635 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
636
637 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
638 * csu/init-first.c: ... here.
639 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
640 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
641 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
642 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
643 * sysdeps/i386/init-first.c: File removed.
644 * sysdeps/sh/init-first.c: File removed.
645
646 2012-10-01 Joseph Myers <joseph@codesourcery.com>
647
648 [BZ #14645]
649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
650 if x * y might underflow to zero and z is zero.
651 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
652 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
653 * math/libm-test.inc (min_subnorm_value): New variable.
654 (fma_test): Add more tests.
655 (fma_test_towardzero): Likewise.
656 (fma_test_downward): Likewise
657 (fma_test_upward): Likewise.
658 (initialize): Set min_subnorm_value.
659
660 2012-09-29 Joseph Myers <joseph@codesourcery.com>
661
662 [BZ #14638]
663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
664 0 + 0.
665 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
666 mode for addition resulting in exact zero.
667 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
668 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
669 exact 0 + 0.
670 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
671 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
672 * math/libm-test.inc (fma_test): Add more tests.
673 (fma_test_towardzero): New function.
674 (fma_test_downward): Likewise.
675 (fma_test_upward): Likewise.
676 (main): Call the new functions.
677
678 2012-09-28 David S. Miller <davem@davemloft.net>
679
680 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
681
682 2012-09-28 Roland McGrath <roland@hack.frob.com>
683
684 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
685 instead of SIGALRM.
686
687 * sysdeps/gnu/_G_config.h: Moved to ...
688 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
689 * sysdeps/mach/hurd/_G_config.h: Moved to ...
690 * sysdeps/generic/_G_config.h: ... here.
691
692 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
693
694 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
695
696 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
697 Conditionalize target on [libnss_test1.so-version].
698
699 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
700
701 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
702 (elfobjdir): Move out of conditionals.
703
704 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
705 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
706 (__nss_lookup_function): Conditionalize label remove_from_tree on
707 [!DO_STATIC_NSS || SHARED], matching its only use.
708
709 2012-09-28 David S. Miller <davem@davemloft.net>
710
711 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
712 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
713 file.
714 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
715 sysdep_routines.
716 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
717 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
718 when HWCAP_SPARC_CRYPTO is present.
719
720 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
721
722 * io/tst-mknodat.c: Create a FIFO instead of a socket.
723
724 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
725
726 [BZ #6530]
727 * stdio-common/vfprintf.c (process_string_arg): Revert
728 2000-07-22 change.
729
730 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
731
732 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
733 for testcase.
734 * stdio-common/tst-sprintf.c: Include <locale.h>
735 (main): Test sprintf's handling of incomplete multibyte
736 characters.
737
738 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
739
740 * elf/dl-runtime.c (VERSYMIDX): Removed.
741 * elf/dl-version.c (VERSYMIDX): Likewise.
742 * elf/do-rel.h (VERSYMIDX): Likewise.
743 (VALIDX): Likewise.
744 * elf/dynamic-link.h (VERSYMIDX): Likewise.
745 * elf/rtld.c (VALIDX): Likewise.
746 (ADDRIDX): Likewise.
747 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
748 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
749 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
750 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
751 (VALIDX): Likewise.
752 (ADDRIDX): Likewise.
753
754 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
755
756 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
757
758 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
759
760 [BZ #11438]
761 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
762 to global scope.
763 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
764 addresses are in the same scope as 192.0.2/24.
765 * posix/gai.conf: Document new scope table defaults.
766
767 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
768
769 [BZ #5298]
770 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
771 for ftell. Compute offsets from write pointers instead.
772 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
773
774 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
775
776 [BZ #14543]
777 * libio/Makefile (tests): New test case tst-fseek.
778 * libio/tst-fseek.c: New test case to verify that fseek/ftell
779 combination works in wide mode.
780 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
781 state when the external buffer state changes.
782
783 2012-09-27 David S. Miller <davem@davemloft.net>
784
785 [BZ #14376]
786 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
787 pass reloc->r_addend in as the 'high' argument to
788 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
789
790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
791
792 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
793
794 * rt/tst-aio2.c: Include <pthread.h>.
795 * rt/tst-aio3.c: Likewise.
796
797 2012-09-27 Steve Ellcey <sellcey@mips.com>
798
799 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
800
801 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
802
803 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
804 contents on [SHARED].
805
806 2012-09-26 Marek Polacek <polacek@redhat.com>
807
808 [BZ #14530]
809 [BZ #13741]
810 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
811 for C++ and GCC <4.3 as well as for non GCC compilers.
812
813 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
814
815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
816
817 2012-09-25 Roland McGrath <roland@hack.frob.com>
818
819 * Makefile.in (all, install): Declare with .PHONY.
820 Reported by Michael Hope <michael.hope@linaro.org>.
821
822 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
823
824 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
825 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
826 system header.
827 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
828 Likewise.
829 (sydep_routines): Add the new and the internal functions.
830 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
831 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
833 (GLIBC_2.17): Add the new function.
834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
835 (GLIBC_2.17): Likewise.
836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
837 (GLIBC_2.17): Likewise.
838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
839 (GLIBC_2.17): Likewise.
840 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
841
842 2012-09-25 Alan Modra <amodra@gmail.com>
843
844 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
845 Add release barrier before setting once_control to say
846 initialisation is done. Add hints on lwarx. Use macro in
847 place of isync.
848 (clear_once_control): Add release barrier.
849
850 2012-09-25 Joseph Myers <joseph@codesourcery.com>
851
852 [BZ #13629]
853 * math/s_clog.c (__clog): Handle more values close to |z| = 1
854 specially.
855 * math/s_clog10.c (__clog10): Likewise.
856 * math/s_clog10f.c (__clog10f): Likewise.
857 * math/s_clog10l.c (__clog10l): Likewise.
858 * math/s_clogf.c (__clogf): Likewise.
859 * math/s_clogl.c (__clogl): Likewise.
860 * math/Makefile (libm-calls): Add x2y2m1.
861 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
862 (__x2y2m1): Likewise.
863 (__x2y2m1l): Likewise.
864 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
865 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
866 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
867 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
868 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
869 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
870 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
871 * sysdeps/i386/fpu/libm-test-ulps: Update.
872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
873
874 [BZ #14621]
875 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
876 int as type of variable DEPTH.
877 (glob): Use size_t instead of int as type of variables NEWCOUNT
878 and OLD_PATHC.
879
880 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
881
882 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
883 Add s_sincosf-sse2.
884 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
885 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
886 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
887 macros for using routine as __sincosf_ia32.
888 Use macro for function declaration and weak_alias.
889 * sysdeps/i386/fpu/libm-test-ulps: Update.
890
891 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
893
894 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
895 subnormal argument.
896 * math/s_cexpf.c (__cexpf): Likewise.
897 * math/s_csinf.c (__csinf): Likewise.
898 * math/s_csinhf.c (__csinhf): Likewise.
899 * math/s_ctanf.c (__ctanf): Likewise.
900 * math/s_ctanhf.c (__ctanhf): Likewise.
901 * math/s_ccosh.c (__ccoshf): Likewise.
902 * math/s_cexp.c (__cexpl): Likewise.
903 * math/s_csin.c (__csin): Likewise.
904 * math/s_csinh.c (__csinh): Likewise.
905 * math/s_ctan.c (__ctan): Likewise.
906 * math/s_ctanh.c (ctanh): Likewise.
907 * math/s_ccoshl.c (__ccoshl): Likewise.
908 * math/s_cexpl.c (__cexpl): Likewise.
909 * math/s_csinl.c (__csinl): Likewise.
910 * math/s_csinhl.c (__csinhl): Likewise.
911 * math/s_ctanl.c (__ctanl): Likewise.
912 * math/s_ctanhl.c (__ctanhl): Likewise.
913
914 2012-09-25 Joseph Myers <joseph@codesourcery.com>
915
916 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
917 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
918 (_IO_off_t): Define to __off_t, not _G_off_t.
919 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
920 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
921 (_IO_wint_t): Define to wint_t, not _G_wint_t.
922 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
923 type of __dummy and __dummy2 fields.
924 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
925 (_G_ssize_t): Likewise.
926 (_G_off_t): Likewise.
927 (_G_pid_t): Likewise.
928 (_G_uid_t): Likewise.
929 (_G_wchar_t): Likewise.
930 (_G_wint_t): Likewise.
931 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
932 (_G_ssize_t): Likewise.
933 (_G_off_t): Likewise.
934 (_G_pid_t): Likewise.
935 (_G_uid_t): Likewise.
936 (_G_wchar_t): Likewise.
937 (_G_wint_t): Likewise.
938 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
939 (_G_ssize_t): Likewise.
940 (_G_off_t): Likewise.
941 (_G_pid_t): Likewise.
942 (_G_uid_t): Likewise.
943 (_G_wchar_t): Likewise.
944 (_G_wint_t): Likewise.
945
946 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
947
948 * malloc/arena.c: Include malloc-sysdep.h.
949 (shrink_heap): Use check_may_shrink_heap to decide if madvise
950 is sufficient to shrink the heap or an unmap is needed.
951 * sysdeps/generic/malloc-sysdep.h: New file. Define
952 new function check_may_shrink_heap.
953 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
954 new function check_may_shrink_heap.
955
956 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
957
958 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
959 comments.
960
961 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
962
963 * catgets/test-gencat.sh: Add "set -e".
964 * elf/tst-pathopt.sh: Likewise.
965 * grp/tst_fgetgrent.sh: Likewise.
966 * iconvdata/run-iconv-test.sh: Likewise.
967 * intl/tst-gettext.sh: Likewise.
968 * intl/tst-gettext2.sh: Likewise.
969 * intl/tst-gettext4.sh: Likewise.
970 * intl/tst-gettext6.sh: Likewise.
971 * intl/tst-translit.sh: Likewise.
972 * io/ftwtest-sh: Likewise.
973 * libio/test-freopen.sh: Likewise.
974 * malloc/tst-mtrace.sh: Likewise.
975 * posix/globtest.sh: Likewise.
976 * posix/tst-getconf.sh: Likewise.
977 * posix/wordexp-tst.sh: Likewise.
978 * stdio-common/tst-printf.sh: Likewise.
979 * stdio-common/tst-unbputc.sh: Likewise.
980 * stdlib/tst-fmtmsg.sh: Likewise.
981 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
982 * catgets/Makefile: Do not specify -e option when running
983 testsuite shell scripts.
984 * elf/Makefile: Likewise.
985 * grp/Makefile: Likewise.
986 * iconvdata/Makefile: Likewise.
987 * intl/Makefile: Likewise.
988 * io/Makefile: Likewise.
989 * libio/Makefile: Likewise.
990 * malloc/Makefile: Likewise.
991 * posix/Makefile: Likewise.
992 * stdio-common/Makefile: Likewise.
993 * stdlib/Makefile: Likewise.
994 * sysdeps/x86_64/Makefile: Likewise.
995
996 * io/ftwtest-sh: Add copyright header.
997 * posix/globtest.sh: Likewise.
998 * posix/tst-getconf.sh: Likewise.
999 * posix/wordexp-tst.sh: Likewise.
1000 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1001
1002 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 [BZ #13679]
1005 * Makeconfig (+link): Defined as $(+link-static) if
1006 $(build-shared) isn't yes.
1007 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1008 isn't yes.
1009 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1010
1011 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1012
1013 [BZ #14562]
1014 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1015 new chunk size with MALLOC_ALIGN_MASK.
1016
1017 2012-09-24 Joseph Myers <joseph@codesourcery.com>
1018
1019 [BZ #5044]
1020 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1021 <rounding-mode.h>.
1022 (__printf_fphex): Determine rounding using get_rounding_mode and
1023 round_away.
1024 * stdio-common/tst-printf-round.c (struct hex_test): New
1025 structure.
1026 (hex_tests): New variable.
1027 (test_hex_in_one_mode): New function.
1028 (do_test): Also run tests for hex float output.
1029
1030 2012-09-21 Joseph Myers <joseph@codesourcery.com>
1031
1032 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1033 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1034 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1035 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1036 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1037 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1038 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1039 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1040
1041 2012-09-20 Joseph Myers <joseph@codesourcery.com>
1042
1043 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1044 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1045 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1046 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1047
1048 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1049
1050 [BZ #14579]
1051 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1052 mode only.
1053 * elf/tst-rtld-load-self.sh: New test.
1054 * elf/Makefile: Run it.
1055
1056 2012-09-18 Joseph Myers <joseph@codesourcery.com>
1057
1058 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1059 (tst-writev-ENV): Remove.
1060 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1061
1062 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1063
1064 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1065
1066 2012-09-17 Joseph Myers <joseph@codesourcery.com>
1067
1068 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1069 unconditional.
1070 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1071 Likewise.
1072 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1073 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1074 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1075 Likewise.
1076
1077 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1078
1079 [BZ #14587]
1080 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1081 * config.make.in (have-cpp-asm-debuginfo): Removed.
1082 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1083 * configure: Regenerated.
1084
1085 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1086
1087 [BZ #5044]
1088 * stdio-common/printf_fp.c: Include <stdbool.h> and
1089 <rounding-mode.h>.
1090 (___printf_fp): Determine rounding using get_rounding_mode and
1091 round_away.
1092 * stdio-common/tst-printf-round.c: New file.
1093 * stdio-common/Makefile (tests): Add tst-printf-round.
1094 (link-libm): New variable.
1095 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1096
1097 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1098
1099 [BZ #14576]
1100 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1101 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1102 Likewise.
1103 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1104 Likewise.
1105
1106 2012-09-13 Joseph Myers <joseph@codesourcery.com>
1107
1108 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1109 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1110 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1111 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1112
1113 2012-09-12 Joseph Myers <joseph@codesourcery.com>
1114
1115 [BZ #14518]
1116 * include/rounding-mode.h: New file.
1117 * sysdeps/generic/get-rounding-mode.h: Likewise.
1118 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1119 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1120 (MAX_VALUE): New macro.
1121 (MIN_VALUE): Likewise.
1122 (overflow_value): New function.
1123 (underflow_value): Likewise.
1124 (round_and_return): Use overflow_value and underflow_value to
1125 determine return values in overflow and underflow cases. Use
1126 round_away to determine rounding depending on rounding mode.
1127 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1128 determine return values in overflow and underflow cases.
1129 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1130 (struct test_results): New structure.
1131 (struct test): Use struct test_results to store expected results
1132 for all rounding modes.
1133 (TEST): Include expected results for all rounding modes.
1134 (test_in_one_mode): New function.
1135 (do_test): Use test_in_one_mode to compute and check results.
1136 Check results for all rounding modes.
1137 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1138 $(link-libm).
1139
1140 2012-12-09 Allan McRae <allan@archlinux.org>
1141
1142 * sysdeps/i386/fpu/libm-test-ulps: Update
1143
1144 2012-09-11 Joseph Myers <joseph@codesourcery.com>
1145
1146 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1147 (_G_int32_t): Likewise.
1148 (_G_uint16_t): Likewise.
1149 (_G_uint32_t): Likewise.
1150 (_G_HAVE_BOOL): Likewise.
1151 (_G_HAVE_ATEXIT): Likewise.
1152 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1153 (_G_HAVE_IO_FILE_OPEN): Likewise.
1154 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1155 (_G_int32_t): Likewise.
1156 (_G_uint16_t): Likewise.
1157 (_G_uint32_t): Likewise.
1158 (_G_HAVE_BOOL): Likewise.
1159 (_G_HAVE_ATEXIT): Likewise.
1160 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1161 (_G_HAVE_IO_FILE_OPEN): Likewise.
1162 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1163 (_G_int32_t): Likewise.
1164 (_G_uint16_t): Likewise.
1165 (_G_uint32_t): Likewise.
1166 (_G_HAVE_BOOL): Likewise.
1167 (_G_HAVE_ATEXIT): Likewise.
1168 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1169 (_G_HAVE_IO_FILE_OPEN): Likewise.
1170
1171 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1172
1173 * csu/libc-tls.c: Update copyright years.
1174
1175 2012-09-10 Joseph Myers <joseph@codesourcery.com>
1176
1177 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1178 [!_G_USING_THUNKS]: Remove conditional code.
1179 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1180 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1181
1182 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1183 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1184 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1185 (_G_VTABLE_LABEL_PREFIX): Likewise.
1186 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1187 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1188 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1189 (_G_VTABLE_LABEL_PREFIX): Likewise.
1190 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1191 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1192 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1193 (_G_VTABLE_LABEL_PREFIX): Likewise.
1194 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1195
1196 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1197
1198 * libio/Makefile: Include ../Makeconfig before tests.
1199 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1200 only if $(build-shared) is yes.
1201
1202 * iconv/gconv_db.c: Update copyright years.
1203
1204 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1205
1206 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1207 unwind info if defined PIC. Fix special cases description.
1208 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1209
1210 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1211 DP_HI_MASK entry.
1212 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1213
1214 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1215
1216 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1217
1218 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1219 is NULL.
1220
1221 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1222 (LDLIBS-tst-chk4): This.
1223 (LDFLAGS-tst-chk5): Renamed to ...
1224 (LDLIBS-tst-chk5): This.
1225 (LDFLAGS-tst-chk6): Renamed to ...
1226 (LDLIBS-tst-chk6): This.
1227 (LDFLAGS-tst-lfschk4): Renamed to ...
1228 (LDLIBS-tst-lfschk4): This.
1229 (LDFLAGS-tst-lfschk5): Renamed to ...
1230 (LDLIBS-tst-lfschk5): This.
1231 (LDFLAGS-tst-lfschk6): Renamed to ...
1232 (LDLIBS-tst-lfschk6): This.
1233
1234 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1235 on $(common-objpfx)soversions.mk.
1236
1237 2012-09-07 Joseph Myers <joseph@codesourcery.com>
1238
1239 [BZ #10014]
1240 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1241 example host name.
1242
1243 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1244
1245 * malloc/arena.c (arena_get_retry): New function that gets
1246 another arena for the caller to try its request on.
1247 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1248 current arena cannot fulfill the request.
1249 (__libc_memalign): Likewise.
1250 (__libc_memalign): Likewise.
1251 (__libc_pvalloc): Likewise.
1252 (__libc_calloc): Likewise.
1253
1254 2012-09-05 John Tobey <john.tobey@gmail.com>
1255
1256 [BZ #13542]
1257 * manual/arith.texi (Operations on Complex): Fix description
1258 of carg branch cut.
1259
1260 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1261
1262 [BZ #10014]
1263 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1264 host name.
1265
1266 [BZ #10038]
1267 * manual/memory.texi (Memory): Make order of menu items match
1268 order of sections.
1269
1270 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1271
1272 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1273 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1274 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1275
1276 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1277
1278 * csu/libc-tls.c (static_dtv): Renamed to ...
1279 (_dl_static_dtv): This. Make it global.
1280 (_dl_initial_dtv): Removed.
1281 (__libc_setup_tls): Updated.
1282 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1283 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1284 DL_INITIAL_DTV.
1285
1286 2012-09-06 Petr Machata <pmachata@redhat.com>
1287
1288 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1289 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1290 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1291 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1292
1293 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1294
1295 [BZ #14545]
1296 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1297 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1298 freeing dtv[-1].
1299
1300 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1301
1302 [BZ #14544]
1303 * Makeconfig (link-static-before-libc): Replace $(+prector)
1304 with $(+prectorT).
1305 (link-static-after-libc): Replace $(+postctor) with
1306 $(+postctorT).
1307 (link-bounded): Replace $(+prector)/$(+postctor) with
1308 $(+prectorT)/$(+postctorT).
1309 (+prectorT): New macro.
1310 (+postctorT): Likewise.
1311
1312 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1313
1314 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1315 (round_str): Handle values above the maximum for IBM long double
1316 as inexact.
1317 * stdlib/tst-strtod-round.c (tests): Regenerated.
1318
1319 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1320
1321 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1322 assembler flag.
1323 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1324 zarch_nohighgprs around the zarch optimized routines.
1325 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1326 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1327 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1328 for zarch.
1329
1330 2012-09-05 David S. Miller <davem@davemloft.net>
1331
1332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1333
1334 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1335 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1336 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1337 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1338 entries.
1339
1340 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1341
1342 * malloc/arena.c: Fold copyright years.
1343 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1344
1345 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1346
1347 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1348
1349 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1350
1351 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1352
1353 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1354
1355 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1356 change internal state upon failure.
1357
1358 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1359
1360 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1361 * malloc/memusage.c (mmap): Likewise.
1362 (mmap64, mremap): Likewise. Adjust name in comment.
1363
1364 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1365
1366 * libio/fileops.c: Fix typos in comments.
1367 * libio/oldfileops.c: Likewise.
1368 * libio/wfileops.c: Likewise.
1369
1370 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1371
1372 [BZ #1349]
1373 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1374 (tst-malloc-usable-ENV): Set environment for test case.
1375 * malloc/hooks.c (malloc_check_get_size): New function to get
1376 requested size.
1377 * malloc/malloc.c (musable): Use malloc_check_get_size.
1378 * malloc/tst-malloc-usable.c: New test case.
1379
1380 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1381
1382 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1383
1384 2012-09-05 Allan McRae <allan@archlinux.org>
1385
1386 [BZ #13966]
1387 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1388 determine header location.
1389 * configure: Regenerated.
1390
1391 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1392
1393 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1394 float format.
1395 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
1396 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1397 format.
1398 (test): Regenerate.
1399
1400 2012-09-04 David S. Miller <davem@davemloft.net>
1401
1402 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1403 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1404 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1405
1406 2012-09-04 Florian Weimer <fweimer@redhat.com>
1407
1408 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1409 failures.
1410
1411 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1412
1413 2012-09-04 Joseph Myers <joseph@codesourcery.com>
1414
1415 [BZ #9914]
1416 * libio/iogetdelim.c: Include <limits.h>.
1417 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1418 + len + 1 would overflow.
1419
1420 2012-09-03 Andreas Jaeger <aj@suse.de>
1421
1422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1423 * sysdeps/i386/fpu/libm-test-ulps: Update.
1424
1425 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1426
1427 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1428 Add s_sinf-sse2, s_conf-sse2.
1429
1430 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1431 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1432 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1433 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1434
1435 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1436 for using routine as __sinf_ia32.
1437 Use macro for function declaration and weak_alias.
1438 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1439 for using routine as __cosf_ia32.
1440 Use macro for function declaration and weak_alias.
1441
1442 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1443 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1444
1445 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1446 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1448
1449 * math/libm-test.inc (cos_test): Add more test cases.
1450 (sin_test): Likewise.
1451 (sincos_test): Likewise.
1452
1453 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1454
1455 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1456 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1457 hidden.
1458 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1459
1460 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1461
1462 [BZ #14538]
1463 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1464 first element of the GOT.
1465 (elf_machine_load_address): Return the difference between
1466 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1467
1468 2012-09-01 Allan McRae <allan@archlinux.org>
1469
1470 [BZ #13412]
1471 * configure.in (AWK): Require gawk version 3.0 or later.
1472 * configure: Regenerated.
1473
1474 2012-09-01 Joseph Myers <joseph@codesourcery.com>
1475
1476 * sysdeps/unix/sysv/linux/kernel-features.h
1477 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1478 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1479 [__NR_clock_getres]: Make code unconditional.
1480 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1481 (clock_getcpuclockid): Remove code left unreachable by removal of
1482 conditionals.
1483 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1484 code unconditional.
1485 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1486 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1487 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1488 Make code unconditional.
1489 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1490 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1491 * sysdeps/unix/sysv/linux/clock_settime.c
1492 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1493 conditional code.
1494 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1495 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1496
1497 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1498
1499 [BZ #14476]
1500 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1501 scripts/test-installation.pl.
1502
1503 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1504 and $ld_so_version if it is set.
1505
1506 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1507
1508 [BZ #14516]
1509 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1510 failure if reading from procfs failed.
1511 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1512
1513 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1514
1515 * sysdeps/unix/sysv/linux/kernel-features.h
1516 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1517 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1518 Remove conditional code.
1519 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1520 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1521 Remove conditional code.
1522 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1523 * sysdeps/unix/sysv/linux/i386/fxstat.c
1524 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1525 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1526 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1527 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1528 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1529 * sysdeps/unix/sysv/linux/i386/lxstat.c
1530 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1531 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1532 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1533 Remove conditional code.
1534 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1535 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1536 Remove conditional code.
1537 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1538 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1539 <kernel-features.h>.
1540 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1541 Remove.
1542 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1543 Remove conditional code.
1544 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1545 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1546 Remove conditional.
1547
1548 2012-08-27 Mike Frysinger <vapier@gentoo.org>
1549
1550 [BZ #5400]
1551 * NEWS: Add fixed bug number.
1552
1553 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1554
1555 [BZ #14519]
1556 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1557 underflowing exponent in case of negative sign.
1558 * stdlib/tst-strtod-round-data: Add more tests.
1559 * stdlib/tst-strtod-round.c (tests): Regenerated.
1560
1561 [BZ #3479]
1562 * stdlib/strtod_l.c (NDIG): Remove.
1563 (HEXNDIG): Likewise.
1564 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1565 smallest representable value.
1566 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1567 lie within an exact representation of 1/2 ulp of the result.
1568 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1569 unconditionally.
1570 (TENS_P9_IDX): Define unconditionally.
1571 (TENS_P9_SIZE): Likewise.
1572 (TENS_P10_IDX): Likewise.
1573 (TENS_P10_SIZE): Likewise.
1574 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1575 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1576 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1577 entries for 10^2^13 and 10^2^14.
1578 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1579 (TENS_P13_IDX): Define.
1580 (TENS_P13_SIZE): Likewise.
1581 (TENS_P14_IDX): Likewise.
1582 (TENS_P14_SIZE): Likewise.
1583 (_fpioconst_pow10): Change array size to
1584 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1585 unconditional.
1586 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1587 1024]: Add entries for 10^2^13 and 10^2^14.
1588 [LAST_POW10 > _LAST_POW10]: Remove #error.
1589 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1590 (_fpioconst_pow10): Change array size to
1591 FPIOCONST_POW10_ARRAY_SIZE.
1592 * stdlib/gen-fpioconst.c: New file.
1593 * stdlib/gen-tst-strtod-round.c: Likewise.
1594 * stdlib/tst-strtod-round-data: Likewise.
1595 * stdlib/tst-strtod-round.c: Likewise.
1596 * stdlib/Makefile (tests): Add tst-strtod-round.
1597
1598 [BZ #14459]
1599 * stdlib/strtod_l.c: Include <stdint.h>.
1600 (NDEBUG): Do not define.
1601 (round_and_return): Change EXPONENT parameter to type intmax_t.
1602 Rearrange calculations to avoid internal overflow possibilities.
1603 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1604 Rearrange calculations to avoid internal overflow possibilities.
1605 Assert that number fits inside MPNSIZE limbs.
1606 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1607 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1608 calculations and add assertions to avoid internal overflow
1609 possibilities. Add casts to avoid signed/unsigned operations.
1610 * stdlib/tst-strtod-overflow.c: New file.
1611 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1612
1613 2012-08-25 Marek Polacek <polacek@redhat.com>
1614
1615 * time/time.h: Fix some typos in comments.
1616
1617 2012-08-23 Roland McGrath <roland@hack.frob.com>
1618
1619 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1620 * posix/tst-rfc3484-2.c: Likewise.
1621 * posix/tst-rfc3484-3.c: Likewise.
1622
1623 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1624
1625 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1626 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1627
1628 2012-08-23 Joseph Myers <joseph@codesourcery.com>
1629
1630 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1631 #include of fxstatat64.c.
1632
1633 2012-08-22 Roland McGrath <roland@hack.frob.com>
1634
1635 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1636 * shadow/getspent_r.c: Likewise.
1637 * shadow/getspnam.c: Likewise.
1638 * shadow/getspnam_r.c: Likewise.
1639 * gshadow/getsgent.c: Likewise.
1640 * gshadow/getsgent_r.c: Likewise.
1641 * gshadow/getsgnam.c: Likewise.
1642 * gshadow/getsgnam_r.c: Likewise.
1643 * inet/getnetbyad.c: Likewise.
1644 * inet/getnetbyad_r.c: Likewise.
1645 * inet/getnetbynm.c: Likewise.
1646 * inet/getnetbynm_r.c: Likewise.
1647 * inet/getnetent.c: Likewise.
1648 * inet/getnetent_r.c: Likewise.
1649 * inet/getproto.c: Likewise.
1650 * inet/getproto_r.c: Likewise.
1651 * inet/getprtent.c: Likewise.
1652 * inet/getprtent_r.c: Likewise.
1653 * inet/getprtname.c: Likewise.
1654 * inet/getprtname_r.c: Likewise.
1655 * inet/getrpcbyname.c: Likewise.
1656 * inet/getrpcbyname_r.c: Likewise.
1657 * inet/getrpcbynumber.c: Likewise.
1658 * inet/getrpcbynumber_r.c: Likewise.
1659 * inet/getrpcent.c: Likewise.
1660 * inet/getrpcent_r.c: Likewise.
1661 * inet/getaliasent.c: Likewise.
1662 * inet/getaliasent_r.c: Likewise.
1663 * inet/getaliasname.c: Likewise.
1664 * inet/getaliasname_r.c: Likewise.
1665 * nscd/getgrgid_r.c: Likewise.
1666 * nscd/getgrnam_r.c: Likewise.
1667 * nscd/gethstbyad_r.c: Likewise.
1668 * nscd/gethstbynm3_r.c: Likewise.
1669 * nscd/getpwnam_r.c: Likewise.
1670 * nscd/getpwuid_r.c: Likewise.
1671 * nscd/getsrvbynm_r.c: Likewise.
1672 * nscd/getsrvbypt_r.c: Likewise.
1673 * nscd/gai.c: Likewise.
1674
1675 * configure.in (build_nscd): New substituted variable, set
1676 by --disable-build-nscd and defaults to $use_nscd.
1677 * configure: Regenerated.
1678 * config.make.in (build-nscd): New substituted variable.
1679 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1680 Change conditional to require [$(build-nscd) = yes] as well.
1681 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1682
1683 [BZ# 13696]
1684 * configure.in (use_nscd): New substituted variable, set by
1685 --disable-nscd. If enabled, define USE_NSCD.
1686 * configure: Regenerated.
1687 * config.h.in: Add USE_NSCD.
1688 * config.make.in (use-nscd): New substituted variable.
1689 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1690 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1691 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1692 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1693 (CFLAGS-getgrnam_r.c): Likewise.
1694 (CFLAGS-initgroups.c): Likewise.
1695 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1696 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1697 Variables removed.
1698 * inet/getnetgrent_r.c
1699 (nscd_setnetgrent): New function, broken out of ...
1700 (setnetgrent): ... here. Call it.
1701 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1702 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1703 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1704 * nscd/Makefile (routines, aux): Move definitions after include of
1705 Makeconfig. Conditionalize on [$(use-nscd) != no].
1706 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1707 Conditionalize on [USE_NSCD].
1708 (is_nscd, nscd_init_cb): Likewise.
1709 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1710 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1711 * nss/nss_db/db-init.c: Likewise.
1712 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1713 [USE_NSCD].
1714 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1715 (make_request): Use it.
1716 (cache_valid_p): New function.
1717 (__check_pf): Use it.
1718 * NEWS: Add item for --disable-nscd.
1719
1720 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1721
1722 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1723 to support sed >= 4.2.1-20-ga9bf076.
1724 * configure: Regenerated.
1725
1726 2012-08-22 Roland McGrath <roland@hack.frob.com>
1727
1728 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1729 Conditionalize whole body on [IREL].
1730
1731 2012-08-22 Jeff Law <law@redhat.com>
1732
1733 [BZ #14505]
1734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1735 if the family is PF_UNSPEC.
1736
1737 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1738
1739 * Makerules (lib-version): Rename from V.
1740 (install-lib-nosubdir): Change V to lib-version.
1741
1742 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1743
1744 [BZ #14252]
1745 * powerpc32/power6/wcschr.c: New file.
1746 * powerpc32/power6/wcscpy.c: New file.
1747 * powerpc32/power6/wcsrchr.c: New file.
1748 * powerpc64/power6/wcschr.c: New file.
1749 * powerpc64/power6/wcscpy.c: New file.
1750 * powerpc64/power6/wcsrchr.c: New file.
1751
1752 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1753
1754 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1755 (two_way_short_needle): Use it.
1756 * string/strstr.c (AVAILABLE1_USES_J): Define.
1757 * string/strcasestr.c: Likewise.
1758
1759 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1760 array references.
1761 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1762
1763 [BZ #11607]
1764 * NEWS: Add an entry.
1765 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1766 define their defaults.
1767 (two_way_short_needle): Detect end-of-string on-the-fly.
1768 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1769 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1770 * string/bug-strcasestr1.c: New test.
1771 * string/Makefile: Run it.
1772
1773 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1774
1775 [BZ #11607]
1776 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1777 the first character.
1778
1779 2012-08-21 Roland McGrath <roland@hack.frob.com>
1780
1781 * csu/elf-init.c (__libc_csu_irel): Function removed.
1782 * csu/libc-start.c (apply_irel): New function.
1783 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1784
1785 2012-08-21 Joseph Myers <joseph@codesourcery.com>
1786
1787 * sysdeps/unix/sysv/linux/kernel-features.h
1788 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1789 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1790 <kernel-features.h>.
1791 [__NR_fadvise64_64]: Make code unconditional.
1792 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1793 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1794 !__NR_fadvise64_64)]: Likewise.
1795 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1796 !__NR_fadvise64_64))]: Likewise.
1797 [__NR_fadvise64]: Make code unconditional.
1798 [!__NR_fadvise64]: Remove conditional code.
1799 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1800 <kernel-features.h>.
1801 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1802 unconditional.
1803 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1804 conditional code.
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1806 not include <kernel-features.h>.
1807 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1808 unconditional.
1809 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1810 conditional code.
1811 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1812 include <kernel-features.h>.
1813 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1814 unconditional.
1815 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1816 conditional code.
1817
1818 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1819
1820 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1821 slight instruction rearrangements per scrollpipe analysis.
1822 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1823
1824 2012-08-20 Roland McGrath <roland@hack.frob.com>
1825
1826 * manual/syslog.texi (syslog; vsyslog, closelog):
1827 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1828 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1829
1830 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1831 DSOCAPS to match condition on defining it.
1832
1833 2012-08-20 Joseph Myers <joseph@codesourcery.com>
1834
1835 * sysdeps/unix/sysv/linux/kernel-features.h
1836 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1838 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1839 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1841 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1842 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1844 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1845 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1846
1847 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1848 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1849
1850 * sysdeps/unix/sysv/linux/kernel-features.h
1851 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1852 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1853 unconditional.
1854 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1855 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1856 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1857 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1858 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1859 Make code unconditional.
1860 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1861 (__mmap64) [!__NR_mmap2]: Likewise.
1862 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1863 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1864 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1865 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1866 [__NR_mmap2]: Make code unconditional.
1867 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1868 (__mmap64) [!__NR_mmap2]: Likewise.
1869
1870 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1871
1872 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1873
1874 2012-08-18 Andreas Jaeger <aj@suse.de>
1875
1876 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1877
1878 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1879
1880 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1881 * include/unistd.h (__have_sock_cloexec): Likewise.
1882 (__have_pipe2): Likewise.
1883 (__have_dup3): Likewise.
1884
1885 2012-08-18 Mike Frysinger <vapier@gentoo.org>
1886
1887 [BZ #9685]
1888 * include/unistd.h (__have_pipe2): Change define into an extern int.
1889 (__have_dup3): Likewise.
1890 * socket/have_sock_cloexec.c: Include fcntl.h.
1891 (__have_pipe2): New variable.
1892 (__have_dup3): Likewise.
1893
1894 2012-08-17 Mike Frysinger <vapier@gentoo.org>
1895
1896 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1897
1898 2012-08-17 Marek Polacek <polacek@redhat.com>
1899
1900 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1901 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1902
1903 2012-08-17 Roland McGrath <roland@hack.frob.com>
1904
1905 * configure.in: Add AC_SUBST for sysheaders.
1906 * configure: Regenerated.
1907 * config.make.in (sysheaders): New substituted variable.
1908
1909 * sysdeps/unix/mkfifo.c: Moved ...
1910 * sysdeps/posix/mkfifo.c: ... here.
1911 * sysdeps/unix/mkfifoat.c: Moved ...
1912 * sysdeps/posix/mkfifoat.c: ... here.
1913
1914 * sysdeps/unix/utime.c: Moved ...
1915 * sysdeps/posix/utime.c: ... here.
1916
1917 * sysdeps/unix/time.c: Moved ...
1918 * sysdeps/posix/time.c: ... here.
1919 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1920 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1921
1922 * sysdeps/unix/nice.c: Moved ...
1923 * sysdeps/posix/nice.c: ... here.
1924
1925 * sysdeps/unix/alarm.c: Moved ...
1926 * sysdeps/posix/alarm.c: ... here.
1927
1928 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1929
1930 2012-08-17 Jeff Law <law@redhat.com>
1931
1932 * intl/Makefile (codeset_mo): New variable.
1933 ($(codeset_mo)): New target.
1934 (tst-codeset.out): Depend on that. Remove explicit rule.
1935 (tst-gettext3.out, tst-gettext5.out): Likewise.
1936 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1937 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1938 * intl/tst-codeset.sh: Remove.
1939 * intl/tst-gettext3.sh: Likewise.
1940 * intl/tst-gettext5.sh: Likewise.
1941
1942 2012-08-17 Roland McGrath <roland@hack.frob.com>
1943
1944 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1945 * sysdeps/unix/syscalls.list: ... here.
1946
1947 * sysdeps/posix/getaddrinfo.c
1948 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1949 (gaiconf_init, gaiconf_reload): Use them.
1950 [!_STATBUF_ST_NSEC]
1951 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1952 Define using time_t rather than struct timespec.
1953
1954 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1955 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1956 Macros removed.
1957 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1958 [!NO_THREADS].
1959 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1960 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1961 Likewise.
1962
1963 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1964 __libc_cleanup_push argument.
1965
1966 * bits/param.h: New file.
1967 * misc/sys/param.h: New file.
1968 * include/sys/param.h: New file.
1969 * misc/Makefile (headers): Add bits/param.h.
1970 * sysdeps/generic/sys/param.h: File removed.
1971 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1972 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1973 * sysdeps/mach/hurd/bits/param.h: New file.
1974 * sysdeps/mach/hurd/sys/param.h: New file.
1975
1976 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1977 last change.
1978
1979 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1980 [_IO_MTSAFE_IO].
1981 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1982 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1983 New macros.
1984
1985 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1986 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1987 rather than -D_IO_MTSAFE_IO conditionally.
1988 * stdio-common/Makefile (CPPFLAGS): Likewise.
1989 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1990 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1991 Use $(libio-mtsafe).
1992 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1993 of -D_IO_MTSAFE_IO.
1994 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1995 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1996 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1997 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1998 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1999 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2000 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2001 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2002 (CFLAGS-fread_u_chk.c): Likewise.
2003 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2004 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2005 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2006 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2007 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2008 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2009 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2010 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2011 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2012
2013 * libio/Makefile: Test [$(libc-reentrant) = yes]
2014 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2015
2016 * Makeconfig
2017 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2018 * sysdeps/pthread/configure: File removed.
2019 * sysdeps/pthread/Makeconfig: New file.
2020 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2021 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2022
2023 2012-08-16 Gary Benson <gbenson@redhat.com>
2024
2025 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2026 unmapping the first object in a namespace.
2027
2028 2012-08-16 Roland McGrath <roland@hack.frob.com>
2029
2030 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2031 (__internal_setnetgrent): ... this. Add internal_function to
2032 definition. Add libc_hidden_def.
2033 (setnetgrent): Update caller.
2034 (internal_endnetgrent): Renamed to ...
2035 (__internal_endnetgrent): ... this. Add internal_function to
2036 definition. Add libc_hidden_def.
2037 (endnetgrent): Update caller.
2038 (internal_getnetgrent_r): Renamed to ...
2039 (__internal_getnetgrent_r): ... this. Add internal_function to
2040 definition. Add libc_hidden_def.
2041 (__getnetgrent_r): Update caller.
2042 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2043
2044 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2045
2046 * stdlib/longlong.h: Update from GCC.
2047
2048 2012-08-16 Roland McGrath <roland@hack.frob.com>
2049
2050 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2051 on _QL, which is set by umul_ppmm but never used.
2052 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2053 variables, which are set by GMP macros but never used.
2054 * stdio-common/_itowa.c (_itowa): Likewise.
2055 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2056 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2057
2058 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2059
2060 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2061 struct La_sh_regs is not constant.
2062 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2063 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2064 and struct La_sparc64_regs are not constant.
2065
2066 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2067
2068 * sysdeps/unix/sysv/linux/kernel-features.h
2069 (__ASSUME_POSIX_TIMERS): Remove.
2070 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2071 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2072 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2073 Make code unconditional.
2074 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2075 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2076 Make code unconditional.
2077 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2078 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2079 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2080 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2081 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2082 Make code unconditional.
2083 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2084 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2085 (__libc_missing_posix_timers): Remove.
2086
2087 2012-08-15 Roland McGrath <roland@hack.frob.com>
2088
2089 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2090 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2091
2092 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2093
2094 * elf/dl-sym.c: Include <stdlib.h>.
2095
2096 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2097 constants, which avoids warnings in 32-bit builds.
2098
2099 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2100 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2101
2102 * misc/lseek.c: File moved to ...
2103 * io/lseek.c: ... here.
2104
2105 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2106
2107 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2108 shifting LEN more than 31 bits at once.
2109
2110 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2111
2112 [BZ #14195]
2113 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2114 segmentation fault for a case of two empty input strings.
2115 * string/test-strncasecmp.c (check1): Renamed to...
2116 (bz12205): ...this.
2117 (bz14195): Add new testcase for two empty input strings and N > 0.
2118 (test_main): Call new testcase, adapt for renamed function.
2119
2120 2012-08-15 Andreas Jaeger <aj@suse.de>
2121
2122 [BZ #14090]
2123 * crypt/md5test2.c: New test, based on test supplied by Serge
2124 Belyshev <belyshev@depni.sinp.msu.ru>.
2125 * crypt/Makefile (xtests): Add md5test-giant..
2126 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2127
2128 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2129
2130 [BZ #14090]
2131 * crypt/md5.c (md5_process_block): Don't assume the buffer
2132 length is less than 2**32.
2133 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2134 length is less than 2**64.
2135
2136 2012-08-15 Roland McGrath <roland@hack.frob.com>
2137
2138 * string/str-two-way.h: Include <sys/param.h>.
2139 (MAX): Macro removed.
2140
2141 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2142 Move #define and #undef of memmove to just before and after
2143 including <string.h>.
2144
2145 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2146 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2147 and after including <string.h>. Move declarations of
2148 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2149 to before #include "string/memmove.c".
2150
2151 * include/dirent.h: Declare __getdirentries.
2152
2153 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2154 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2155
2156 2012-08-14 Mike Frysinger <vapier@gentoo.org>
2157
2158 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2159 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2160 * sysdeps/i386/configure: Regenerated.
2161 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2162 STABS_CURRENT_FILE, and STABS_FUN.
2163 (END): Remove call to STABS_FUN_END.
2164 (STABS_CURRENT_FILE1): Delete.
2165 (STABS_CURRENT_FILE): Likewise.
2166 (STABS_FUN): Likewise.
2167 (STABS_FUN_END): Likewise.
2168 (STABS_FUN2): Likewise.
2169 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2170 * sysdeps/x86_64/configure: Regenerated.
2171
2172 2012-08-14 Roland McGrath <roland@hack.frob.com>
2173
2174 * elf/dl-open.c: Include <atomic.h>.
2175 * elf/dl-lookup.c: Likewise.
2176
2177 2012-08-14 Joseph Myers <joseph@codesourcery.com>
2178
2179 * sysdeps/unix/sysv/linux/kernel-features.h
2180 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2181 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2182 unconditionally.
2183 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2184 unconditionally.
2185 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2186 condition on __ASSUME_CLONE_THREAD_FLAGS.
2187
2188 2012-08-14 Andreas Jaeger <aj@suse.de>
2189
2190 * sysdeps/i386/fpu/libm-test-ulps: Update.
2191
2192 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2193
2194 * include/atomic.h (atomic_exchange_and_add): Split into ...
2195 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2196 New atomic macros.
2197
2198 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2199
2200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2201
2202 2012-08-13 Jeff Law <law@redhat.com>
2203
2204 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2205 null byte in the output string.
2206
2207 2012-08-10 Joseph Myers <joseph@codesourcery.com>
2208
2209 * sysdeps/unix/sysv/linux/kernel-features.h
2210 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2211 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2212 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2213 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2214 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2215 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2216 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2217
2218 2012-08-09 Jeff Law <law@redhat.com>
2219
2220 [BZ #13939]
2221 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2222 When avoid_arena is set, don't retry in the that arena. Pick the
2223 next one, whatever it might be.
2224 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2225 (arena_lock): Pass in new parameter to arena_get2.
2226 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2227 arena_get2.
2228 (__libc_malloc): Unify retrying after main arena failure with
2229 __libc_memalign version.
2230 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2231
2232 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2233
2234 [BZ #14166]
2235 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2236 to __redirect_strstr.
2237 (__strstr_sse42): Use typeof __redirect_strstr.
2238 (__strstr_ia32): Likewise.
2239 (__libc_strstr): New prototype.
2240 (strstr): Renamed to ...
2241 (__libc_strstr): This.
2242 (strstr): New strong alias of __libc_strstr.
2243 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2244 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2245 __redirect_time.
2246 Include <time.h>.
2247 (__libc_time): New prototype.
2248 (time_ifunc): Replace time with __libc_time.
2249 (time): New strong alias and hidden definition of __libc_time.
2250 (__GI_time): Remove strong alias.
2251 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2252 Include <stddef.h>.
2253 (memmove): Redefined to __redirect_memmove.
2254 (__memmove_sse2): Use typeof __redirect_memmove.
2255 (__memmove_ssse3): Likewise.
2256 (__memmove_ssse3_back): Likewise.
2257 (__libc_memmove): New prototype.
2258 (memmove): Renamed to ...
2259 (__libc_memmove): This.
2260 (memmove): New strong alias of __libc_memmove.
2261
2262 2012-08-08 Mark Salter <msalter@redhat.com>
2263
2264 * elf/elf.h
2265 (R_MN10300_TLS_GD): Define.
2266 (R_MN10300_TLS_LD): Likewise.
2267 (R_MN10300_TLS_LDO): Likewise.
2268 (R_MN10300_TLS_GOTIE): Likewise.
2269 (R_MN10300_TLS_IE): Likewise.
2270 (R_MN10300_TLS_LE): Likewise.
2271 (R_MN10300_TLS_DTPMOD): Likewise.
2272 (R_MN10300_TLS_DTPOFF): Likewise.
2273 (R_MN10300_TLS_TPOFF): Likewise.
2274 (R_MN10300_SYM_DIFF): Likewise.
2275 (R_MN10300_ALIGN): Likewise.
2276 (R_MN10300_NUM): Update.
2277
2278 2012-08-08 Joseph Myers <joseph@codesourcery.com>
2279
2280 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2281 Remove.
2282
2283 2012-08-08 Roland McGrath <roland@hack.frob.com>
2284
2285 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2286
2287 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2288 sysdeps/unix -> sysdeps/posix move.
2289 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2290
2291 2012-08-07 Allan McRae <allan@archlinux.org>
2292
2293 [BZ #14303]
2294 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2295 (SUNOS_CPP): Likewise.
2296 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2297 not found.
2298 (open_input): Call CPP using execvp.
2299
2300 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2301
2302 * sysdeps/unix/sysv/linux/kernel-features.h
2303 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2304 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2305 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2306 (__ASSUME_WAITID_SYSCALL): Likewise.
2307 * sysdeps/unix/sysv/linux/dl-execstack.c
2308 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2309 code unconditional.
2310 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2311 conditional code.
2312 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2313 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2314 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2315 code.
2316 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2317 unconditional.
2318 [__ASSUME_WAITID_SYSCALL]: Likewise.
2319 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2320
2321 2012-08-07 Roland McGrath <roland@hack.frob.com>
2322
2323 * sysdeps/unix/closedir.c: Renamed to ...
2324 * sysdeps/posix/closedir.c: ... here.
2325 * sysdeps/unix/dirfd.c: Renamed to ...
2326 * sysdeps/posix/dirfd.c: ... here.
2327 * sysdeps/unix/dirstream.h: Renamed to ...
2328 * sysdeps/posix/dirstream.h: ... here.
2329 * sysdeps/unix/fdopendir.c: Renamed to ...
2330 * sysdeps/posix/fdopendir.c: ... here.
2331 * sysdeps/unix/opendir.c: Renamed to ...
2332 * sysdeps/posix/opendir.c: ... here.
2333 * sysdeps/unix/readdir.c: Renamed to ...
2334 * sysdeps/posix/readdir.c: ... here.
2335 * sysdeps/unix/readdir_r.c: Renamed to ...
2336 * sysdeps/posix/readdir_r.c: ... here.
2337 * sysdeps/unix/rewinddir.c: Renamed to ...
2338 * sysdeps/posix/rewinddir.c: ... here.
2339 * sysdeps/unix/seekdir.c: Renamed to ...
2340 * sysdeps/posix/seekdir.c: ... here.
2341 * sysdeps/unix/telldir.c: Renamed to ...
2342 * sysdeps/posix/telldir.c: ... here.
2343 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2344 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2345 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2346 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2347
2348 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2349 * bits/fcntl.h: ... here.
2350
2351 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2352 not 0.
2353 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2354 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2355 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2356 (struct flock): Move l_start, l_len to the beginning.
2357 Use __pid_t for l_pid.
2358 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2359 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2360 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2361 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2362 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2363 [__USE_LARGEFILE64] (struct flock64): New type.
2364 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2365
2366 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2367 * bits/dirent.h: ... here.
2368
2369 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2370 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2371
2372 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2373
2374 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2375 Change from 2.6.0 to 2.6.16.
2376 * sysdeps/unix/sysv/linux/configure: Regenerated.
2377 * sysdeps/unix/sysv/linux/kernel-features.h
2378 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2379 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2380 version.
2381 (__ASSUME_UTIMES): Likewise.
2382 (__ASSUME_CLONE_STOPPED): Remove.
2383 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2384 architectures, not kernel version.
2385 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2386 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2387 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2388 (__ASSUME_WAITID_SYSCALL): Likewise.
2389 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2390 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2391 * README: State 2.6.16 as minimum Linux kernel version. Do not
2392 refer to older versions.
2393
2394 2012-08-06 Roland McGrath <roland@hack.frob.com>
2395
2396 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2397 Define alphasort64 as an alias.
2398 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2399 Define versionsort64 as an alias.
2400 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2401 Define scandir64 as an alias.
2402 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2403 Define scandirat64 as an alias.
2404 * dirent/alphasort64.c (alphasort64):
2405 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2406 * dirent/versionsort64.c: Likewise.
2407 * dirent/scandir64.c: Likewise.
2408 * dirent/scandirat64.c: Likewise.
2409 * sysdeps/wordsize-64/alphasort.c: File removed.
2410 * sysdeps/wordsize-64/alphasort64.c: File removed.
2411 * sysdeps/wordsize-64/scandir.c: File removed.
2412 * sysdeps/wordsize-64/scandir64.c: File removed.
2413 * sysdeps/wordsize-64/scandirat.c: File removed.
2414 * sysdeps/wordsize-64/scandirat64.c: File removed.
2415 * sysdeps/wordsize-64/versionsort.c: File removed.
2416 * sysdeps/wordsize-64/versionsort64.c: File removed.
2417 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2418 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2419 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2420 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2421 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2422 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2423 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2424 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2425
2426 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2427 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2428 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2429 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2430 [defined __arch64__ || defined __sparcv9]
2431 (__INO_T_MATCHES_INO64_T): New macro.
2432 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2433 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2434 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2435 * sysdeps/unix/sysv/linux/bits/dirent.h
2436 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2437 (_DIRENT_MATCHES_DIRENT64): New macro.
2438
2439 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2440 Define lockf64 as an alias.
2441 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2442 Define fseeko64 as an alias.
2443 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2444 Define ftello64 as an alias.
2445 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2446 Define _IO_fgetpos64 and fgetpos64 as aliases.
2447 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2448 Define _IO_fsetpos64 and fsetpos64 as aliases.
2449 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2450 Conditionalize body on this.
2451 * libio/fseeko64.c: Likewise.
2452 * libio/ftello64.c: Likewise.
2453 * libio/iofgetpos64.c: Likewise.
2454 * libio/iofsetpos64.c: Likewise.
2455 * sysdeps/wordsize-64/lockf.c: File removed.
2456 * sysdeps/wordsize-64/lockf64.c: File removed.
2457 * sysdeps/wordsize-64/fseeko.c: File removed.
2458 * sysdeps/wordsize-64/fseeko64.c: File removed.
2459 * sysdeps/wordsize-64/ftello.c: File removed.
2460 * sysdeps/wordsize-64/ftello64.c: File removed.
2461 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2462 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2463 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2464 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2465 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2466 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2467 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2468 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2469 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2470 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2471 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2472 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2473 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2474 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2475
2476 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2477 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2478 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2479 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2480 [defined __arch64__ || defined __sparcv9]
2481 (__OFF_T_MATCHES_OFF64_T): New macro.
2482 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2483 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2484 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2485 (__OFF_T_MATCHES_OFF64_T): New macro.
2486
2487 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2488
2489 * stdlib/secure-getenv.c (__secure_getenv): Replace
2490 GLIBC_2_16 with GLIBC_2_17.
2491
2492 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2493
2494 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2495 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2496
2497 2012-08-03 David S. Miller <davem@davemloft.net>
2498
2499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2500
2501 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2502
2503 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2504 Remove.
2505 (__ASSUME_CORRECT_SI_PID): Likewise.
2506 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2507 (__ASSUME_TMPFS_NAME): Likewise.
2508 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2509 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2510 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2511 (HAVE_AUX_SECURE): Make definition unconditional.
2512 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2513 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2514
2515 2012-08-03 Roland McGrath <roland@hack.frob.com>
2516
2517 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2518 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2519 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2520 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2521 __eloop_threshold instead of SYMLOOP_MAX.
2522
2523 * sysdeps/generic/eloop-threshold.h: New file.
2524 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2525 of MAXSYMLINKS.
2526 * elf/chroot_canon.c (chroot_canon): Likewise.
2527
2528 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2529
2530 [BZ #13717]
2531 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2532 Change to 2.6.0 everywhere.
2533 * sysdeps/unix/sysv/linux/configure: Regenerated.
2534 * sysdeps/unix/sysv/linux/kernel-features.h
2535 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2536 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2537 kernel versions.
2538 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2539 (__ASSUME_FUTEX_REQUEUE): Remove.
2540 (__ASSUME_STATFS64): Define unconditionally.
2541 (__ASSUME_AT_SECURE): Likewise.
2542 (__ASSUME_CORRECT_SI_PID): Likewise.
2543 (__ASSUME_TGKILL): Define without depending on kernel version for
2544 i386.
2545 (__ASSUME_UTIMES): Likewise.
2546 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2547 kernel version.
2548 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2549 (__ASSUME_TMPFS_NAME): Likewise.
2550 * README: Update reference to Linux kernel versions.
2551
2552 2012-08-02 Marek Polacek <polacek@redhat.com>
2553
2554 [BZ# 14150]
2555 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2556 libc_cv_asm_type_prefix with %.
2557 * configure: Regenerated.
2558 * include/libc-symbols.h: Remove comment about
2559 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2560 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2561 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2562 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2563 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2564 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2565 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2566 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2567 * elf/tst-unique2mod1.c: Likewise.
2568 * elf/tst-unique1mod2.c: Likewise.
2569 * elf/tst-unique1mod1.c: Likewise.
2570 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2571 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2572 Replace ASM_TYPE_DIRECTIVE with .type.
2573 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2574 * sysdeps/i386/sysdep.h: Likewise.
2575 * sysdeps/x86_64/sysdep.h: Likewise.
2576 * sysdeps/sh/sysdep.h: Likewise.
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2578 Do not define ASM_TYPE_DIRECTIVE.
2579 * sysdeps/powerpc/sysdep.h: Likewise.
2580 * sysdeps/powerpc/powerpc32/sysdep.h:
2581 Replace ASM_TYPE_DIRECTIVE with .type.
2582 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2583 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2584 * sysdeps/i386/fpu/e_powf.S: Likewise.
2585 * sysdeps/i386/fpu/e_expl.S: Likewise.
2586 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2587 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2588 * sysdeps/i386/fpu/e_pow.S: Likewise.
2589 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2590 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2591 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2592 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2593 * sysdeps/i386/fpu/e_log2.S: Likewise.
2594 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2595 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2596 * sysdeps/i386/fpu/e_powl.S: Likewise.
2597 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2598 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2599 * sysdeps/i386/fpu/e_logl.S: Likewise.
2600 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2601 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2602 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2603 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2604 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2605 * sysdeps/i386/fpu/e_log.S: Likewise.
2606 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2607 * sysdeps/i386/fpu/e_logf.S: Likewise.
2608 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2609 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2610 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2611 * sysdeps/i386/fpu/e_log10.S: Likewise.
2612 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2613 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2614 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2615 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2616 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2617 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2618 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2619 * sysdeps/i386/i686/strtok.S: Likewise.
2620 * sysdeps/i386/i386-mcount.S: Likewise.
2621 * sysdeps/i386/strtok.S: Likewise.
2622 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2623 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2624 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2625 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2626 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2627 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2628 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2629 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2630 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2631 * sysdeps/x86_64/_mcount.S: Likewise.
2632 * sysdeps/x86_64/strtok.S: Likewise.
2633 * sysdeps/sh/_mcount.S: Likewise.
2634
2635 2012-08-01 Roland McGrath <roland@hack.frob.com>
2636
2637 * libio/iofopen.c: Include <fcntl.h>.
2638 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2639 (_IO_fopen64, fopen64): Define as aliases.
2640 * libio/iofopen64.c: Include <fcntl.h>.
2641 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2642 Conditionalize body on this.
2643 * sysdeps/wordsize-64/iofopen.c: File removed.
2644 * sysdeps/wordsize-64/iofopen64.c: File removed.
2645
2646 2012-08-01 Marek Polacek <polacek@redhat.com>
2647
2648 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2649 Use dlfcn directly instead of a variable.
2650 (binfmt-subdir): Do not define.
2651 (dlfcn): Likewise.
2652
2653 2012-08-01 Joseph Myers <joseph@codesourcery.com>
2654
2655 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2656 Remove all definitions.
2657 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2658 <kernel-features.h>.
2659 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2660 (miss_F_GETOWN_EX): Remove all definitions.
2661 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2662 macro definition.
2663 [!__ASSUME_FCNTL64]: Remove conditional code.
2664 [__ASSUME_FCNTL64]: Make code unconditional.
2665 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2666 <kernel-features.h>.
2667 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2668 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2669 (lockf64) [__NR_fcntl64]: Make code unconditional.
2670 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2671
2672 * sysdeps/unix/sysv/linux/kernel-features.h
2673 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2674 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2675 Make code unconditional.
2676 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2677 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2679 [__NR_vfork]: Make code unconditional.
2680 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2681 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2683 [__NR_vfork]: Make code unconditional.
2684 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2685 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2686
2687 2012-08-01 Roland McGrath <roland@hack.frob.com>
2688
2689 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2690 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2691
2692 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2693 Define mkstemp64 as an alias.
2694 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2695 Define mkstemps64 as an alias.
2696 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2697 Define mkostemp64 as an alias.
2698 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2699 Define mkostemps64 as an alias.
2700 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2701 Conditionalize body on this.
2702 * misc/mkostemp64.c: Likewise.
2703 * misc/mkostemps64.c: Likewise.
2704 * misc/mkstemps64.c: Likewise.
2705 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2706 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2707 * sysdeps/wordsize-64/mkostemp.c: File removed.
2708 * sysdeps/wordsize-64/mkstemp.c: File removed.
2709 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2710 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2711 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2712 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2713
2714 [BZ #14138]
2715 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2716 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2717 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2718 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2719
2720 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2721 compat_symbol macros from <shlib-compat.h> rather than the underlying
2722 default_symbol_version and symbol_version macros, so that DEFAULT
2723 lines in shlib-versions are respected.
2724 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2725
2726 2012-08-01 Florian Weimer <fweimer@redhat.com>
2727
2728 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2729 Declare with warn_unused_result.
2730 (setgid, setregid, setegid, setresgid): Likewise.
2731 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2732 Likewise.
2733 * WUR-REPORT: Remove set*id functions.
2734
2735 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2736
2737 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2738
2739 2012-07-31 Roland McGrath <roland@hack.frob.com>
2740
2741 * include/sys/socket.h (__libc_accept, __libc_accept4):
2742 Add attribute_hidden.
2743 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2744
2745 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2746 use of PTR_MANGLE.
2747 * inet/getnetgrent_r.c (setup): Likewise.
2748
2749 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2750
2751 2012-07-31 David S. Miller <davem@davemloft.net>
2752
2753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2754
2755 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2756
2757 [BZ #13629]
2758 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2759 value between 1.0 and 2.0 and smaller part has absolute value less
2760 than 1.0.
2761 * math/s_clog10.c (__clog10): Likewise.
2762 * math/s_clog10f.c (__clog10f): Likewise.
2763 * math/s_clog10l.c (__clog10l): Likewise.
2764 * math/s_clogf.c (__clogf): Likewise.
2765 * math/s_clogl.c (__clogl): Likewise.
2766 * math/libm-test.inc (clog_test): Add more tests.
2767 (clog10_test): Likewise.
2768 * sysdeps/i386/fpu/libm-test-ulps: Update.
2769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2770
2771 2012-07-31 Florian Weimer <fweimer@redhat.com>
2772
2773 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2774 Exit with zero in case no suitable GID is found, and write a
2775 message to standard error.
2776
2777 2012-07-30 Roland McGrath <roland@hack.frob.com>
2778
2779 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2780 rather than to 1.
2781 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2782 (MAXPATHLEN): Removed.
2783 (NOGROUP, NODEV): New macros.
2784 (setbit, clrbit, isset, isclr): New macros.
2785 (howmany, roundup, powerof2): New macros.
2786 (DEV_BSIZE): New macro.
2787
2788 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2789 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2790
2791 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2792 definition on [!__NO_LONG_DOUBLE_MATH].
2793
2794 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2795 PTR_MANGLE and PTR_DEMANGLE.
2796
2797 * socket/accept4.c (accept4): Rename to __libc_accept4.
2798 Define accept4 as a weak alias.
2799
2800 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2801 on [_DIRENT_HAVE_D_TYPE].
2802 * io/ftw.c (ftw_dir): Likewise.
2803
2804 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2805
2806 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2807
2808 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2809 Use the BSD numbers rather than the arbitrary ones we had.
2810 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2811 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2812 (SIGXCPU, SIGXFSZ): New macros.
2813 (_NSIG): Now 32.
2814
2815 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2816 initializer on [_LIBC_REENTRANT].
2817
2818 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2819 definitions inside [_POSIX_MAPPED_FILES].
2820
2821 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2822
2823 * dirent/opendir.c: Include <fcntl.h>.
2824
2825 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2826 (__libc_getspecific): Likewise.
2827 (__libc_key_create): Likewise.
2828
2829 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2830 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2831 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2832 (tmpfile64): Define as alias.
2833 * sysdeps/wordsize-64/tmpfile.c: File removed.
2834 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2835 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2836 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2837
2838 * stdio-common/vfscanf.c: Include <stdbool.h>.
2839 * nss/makedb.c: Likewise.
2840 * stdio-common/_i18n_number.h: Likewise.
2841 * argp/argp-help.c: Likewise.
2842 * posix/wordexp.c: Likewise.
2843 * sysdeps/posix/spawni.c: Likewise.
2844 * nss/nss_files/files-initgroups.c: Likewise.
2845 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2846 * nss/nss_files/files-initgroups.c: Likewise.
2847 * nss/nss_db/db-netgrp.c: Likewise.
2848 * nss/nss_db/db-initgroups.c: Likewise.
2849 * io/fchmodat.c: Include <sys/stat.h>.
2850
2851 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2852 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2853
2854 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2855 [HAVE_MMAP].
2856
2857 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2858 Add multiple inclusion protection.
2859
2860 2012-07-27 David S. Miller <davem@davemloft.net>
2861
2862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2863
2864 2012-07-27 Gary Benson <gbenson@redhat.com>
2865
2866 [BZ #14298]
2867 * elf/rtld.c: Include <stap-probe.h>.
2868 (dl_main): Added static probes "init_start" and "init_complete".
2869 * elf/dl-load.c: Include <stap-probe.h>.
2870 (lose): Take new parameter "nsid".
2871 Added static probe "map_failed".
2872 (_dl_map_object_from_fd): Pass namespace id to lose.
2873 Added static probe "map_start".
2874 (open_verify): Pass namespace id to lose.
2875 * elf/dl-open.c: Include <stap-probe.h>.
2876 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2877 and "reloc_complete".
2878 * elf/dl-close.c: Include <stap-probe.h>.
2879 (_dl_close_worker): Added static probes "unmap_start" and
2880 "unmap_complete".
2881 * elf/rtld-debugger-interface.txt: New file documenting the above.
2882
2883 2012-07-26 Roland McGrath <roland@hack.frob.com>
2884
2885 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2886 rather than a string variable.
2887 * sunrpc/rpc_main.c (h_output): Likewise.
2888 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2889
2890 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2891
2892 * inet/check_native.c: New file.
2893
2894 2012-07-26 Joseph Myers <joseph@codesourcery.com>
2895
2896 [BZ #13629]
2897 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2898 if larger part has absolute value 1.0.
2899 * math/s_clog10.c (__clog10): Likewise.
2900 * math/s_clog10f.c (__clog10f): Likewise.
2901 * math/s_clog10l.c (__clog10l): Likewise.
2902 * math/s_clogf.c (__clogf): Likewise.
2903 * math/s_clogl.c (__clogl): Likewise.
2904 * math/libm-test.inc (clog_test): Add more tests.
2905 (clog10_test): Likewise.
2906 * sysdeps/i386/fpu/libm-test-ulps: Update.
2907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2908
2909 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2910 (pltexit): Likewise.
2911 (La_regs): Likewise.
2912 (La_retval): Likewise.
2913 (int_retval): Likewise.
2914 Update #error for removed macros to refer only to definitions in
2915 tst-audit.h.
2916 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2917 macro.
2918 (pltexit): Likewise.
2919 (La_regs): Likewise.
2920 (La_retval): Likewise.
2921 (int_retval): Likewise.
2922 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2923 macro.
2924 (pltexit): Likewise.
2925 (La_regs): Likewise.
2926 (La_retval): Likewise.
2927 (int_retval): Likewise.
2928 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2929 macro.
2930 (pltexit): Likewise.
2931 (La_regs): Likewise.
2932 (La_retval): Likewise.
2933 (int_retval): Likewise.
2934 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2935 macro.
2936 (pltexit): Likewise.
2937 (La_regs): Likewise.
2938 (La_retval): Likewise.
2939 (int_retval): Likewise.
2940 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2941 macro.
2942 (pltexit): Likewise.
2943 (La_regs): Likewise.
2944 (La_retval): Likewise.
2945 (int_retval): Likewise.
2946 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2947 macro.
2948 (pltexit): Likewise.
2949 (La_regs): Likewise.
2950 (La_retval): Likewise.
2951 (int_retval): Likewise.
2952 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2953 macro definitions in tst-audit.h.
2954 * sysdeps/i386/tst-audit.h: New file.
2955 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2956 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2957 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2958 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2959 * sysdeps/sh/tst-audit.h: Likewise.
2960 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2961 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2962 * sysdeps/x86_64/tst-audit.h: Likewise.
2963
2964 2012-07-26 Andreas Jaeger <aj@suse.de>
2965
2966 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2967 ptrace.
2968
2969 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2970 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2971 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2972 PTRACE_O_MASK.
2973 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2974 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2975 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2976
2977 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2978 value.
2979
2980 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2981 _sigsys.
2982 (si_call_addr, si_syscall, si_arch): Define new macro.
2983 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2984 _sigsys.
2985 (si_call_addr, si_syscall, si_arch): Define new marcro.
2986 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2987 _sigsys.
2988 (si_call_addr, si_syscall, si_arch): Define new macro.
2989 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2990 _sigsys.
2991 (si_call_addr, si_syscall, si_arch): Define new macro.
2992
2993 2012-07-25 Joseph Myers <joseph@codesourcery.com>
2994
2995 [BZ #13717]
2996 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2997 Change to 2.4.21 where previously 2.4.1.
2998 * sysdeps/unix/sysv/linux/configure: Regenerated.
2999 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3000 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3001 Linux kernel version.
3002 (__ASSUME_STD_AUXV): Remove.
3003 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3004 kernel version.
3005 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3006 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3007 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3008 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3009 (__ASSUME_NETLINK_SUPPORT): Likewise.
3010 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3011 (__no_netlink_support): Remove conditional definition.
3012 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3013 Remove.
3014 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3015 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3016 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3017 (if_nameindex_ioctl): Remove.
3018 (if_nameindex_netlink): Do not handle __no_netlink_support.
3019 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3020 code.
3021 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3022 Remove conditional code.
3023 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3024 code.
3025 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3026 unconditional.
3027 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3028 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3029 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3030 Remove.
3031 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3032 [!__ASSUME_STD_AUXV]: Remove conditional code.
3033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3034 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3035 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3037 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3038 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3039 code.
3040 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3042 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3043 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3044 conditional code.
3045 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3047 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3048 code.
3049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3050 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3051 conditional code.
3052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3053 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3054 code unconditional.
3055 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3056 conditional code.
3057 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3058 unconditional.
3059 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3060 conditional code.
3061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3062 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3063 unconditional.
3064 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3065 conditional code.
3066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3067 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3068 code unconditional.
3069 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3070 conditional code.
3071 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3072 unconditional.
3073 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3074 conditional code.
3075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3076 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3077 code unconditional.
3078 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3079 conditional code.
3080 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3081 unconditional.
3082 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3083 conditional code.
3084
3085 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3086
3087 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3088 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3089 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3090 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3091 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3092 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3093 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3094 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3095 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3096 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3097 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3098 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3099 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3100 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3101 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3102 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3103 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3104 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3105 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3106 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3107 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3108 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3109 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3110
3111 2012-07-25 Florian Weimer <fweimer@redhat.com>
3112
3113 * Versions.def: Add GLIBC_2.17.
3114 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3115 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3116 Introduce __libc_secure_getenv.
3117 * stdlib/Versions (2.17): Add secure_getenv
3118 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3119 * stdlib/secure-getenv.c: Rename __secure_getenv to
3120 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3121 symbol __secure_getenv for GLIBC_2.0.
3122 * stdlib/tst-secure-getenv.c: New.
3123 * stdlib/Makefile (tests): Add testcase.
3124 * manual/startup.texi (Environment Access): Document
3125 secure_getenv.
3126 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3127 __libc_secure_getenv.
3128 * inet/ruserpass.c (ruserpass): Likewise.
3129 * malloc/mtrace.c (mtrace): Likewise.
3130 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3131 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3132 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3133 * sysdeps/posix/tempname.c: Likewise. Evaluate
3134 HAVE_SECURE_GETENV.
3135 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3136 __secure_getenv to __libc_secure_getenv.
3137 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3139 Likewise.
3140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3141 Likewise.
3142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3144 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3149
3150 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3151
3152 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3153 (struct La_i86_retval): Likewise.
3154 (struct La_x86_64_regs): Likewise.
3155 (struct La_x86_64_retval): Likewise.
3156 (struct La_x32_regs): Likewise.
3157 (struct La_x32_retval): Likewise.
3158 (struct La_ppc32_regs): Likewise.
3159 (struct La_ppc32_retval): Likewise.
3160 (struct La_ppc64_regs): Likewise.
3161 (struct La_ppc64_retval): Likewise.
3162 (struct La_sh_regs): Likewise.
3163 (struct La_sh_retval): Likewise.
3164 (struct La_s390_32_regs): Likewise.
3165 (struct La_s390_32_retval): Likewise.
3166 (struct La_s390_64_regs): Likewise.
3167 (struct La_s390_64_retval): Likewise.
3168 (struct La_sparc32_regs): Likewise.
3169 (struct La_sparc32_retval): Likewise.
3170 (struct La_sparc64_regs): Likewise.
3171 (struct La_sparc64_retval): Likewise.
3172 (struct audit_ifaces): Remove architecture-specific pltenter and
3173 pltexit members.
3174 * sysdeps/i386/ldsodefs.h: New file.
3175 * sysdeps/powerpc/ldsodefs.h: Likewise.
3176 * sysdeps/s390/ldsodefs.h: Likewise.
3177 * sysdeps/sh/ldsodefs.h: Likewise.
3178 * sysdeps/sparc/ldsodefs.h: Likewise.
3179 * sysdeps/x86_64/ldsodefs.h: Likewise.
3180
3181 2012-07-25 Marek Polacek <polacek@redhat.com>
3182
3183 [BZ #6808]
3184 * math/libm-test.inc (yn_test): Add another test.
3185 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3186 to ERANGE when the result is +-Inf.
3187 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3188 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3189 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3190 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3191
3192 2012-07-24 Joseph Myers <joseph@codesourcery.com>
3193
3194 * conform/data/time.h-data (NULL): Use macro-constant. Require
3195 equal to 0.
3196 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3197 clock_t.
3198 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3199
3200 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3201
3202 * configure.in <sysdeps resolving>: Correct printing
3203 Implies_before.
3204 * configure: Regenerate.
3205
3206 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3207
3208 * math/w_ilogb.c: Include <limits.h>.
3209 * math/w_ilogbl.c: Likewise.
3210
3211 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3212
3213 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3214 va_copy. Document allowing for unavailable va_copy only as
3215 pre-C99 compatibility.
3216 * manual/string.texi (Copying and Concatenation): Use va_copy
3217 instead of __va_copy in concat example.
3218
3219 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3220
3221 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3222 (__sendto): Use create_address_port. Initialize APORT and deallocate
3223 it if not null.
3224
3225 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3226 with O_NOLINK passed to __file_name_lookup.
3227
3228 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3229 with O_NOLINK passed to __file_name_lookup.
3230
3231 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3232 negative N or less than NGIDS.
3233
3234 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3235 type to string_t. Set ERANGE as errno and return it if NAME is not big
3236 enough. Use memcpy instead of strncpy.
3237
3238 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3239
3240 * elf/Makefile (check-data): Remove.
3241 (localplt.data): New vpath directive.
3242 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3243 instead of $(check-data).
3244 * scripts/data/localplt-generic.data: Move to ...
3245 * sysdeps/generic/localplt.data: ... here.
3246 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3247 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3248 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3250 ... here.
3251 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3253 ... here.
3254 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3256 ... here.
3257 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3259 ... here.
3260 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3262 ... here.
3263 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3265 ... here.
3266
3267 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3268
3269 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3270 PPC32 and PPC64 files.
3271 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3272 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3273
3274 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3275
3276 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3277 __makecontext_ret to ...
3278 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3279 ... here and call exit if uc_link is NULL. New file.
3280 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3281 __makecontext_ret.S.
3282 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3283 __makecontext_ret to ...
3284 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3285 ... here and call exit if uc_link is NULL. New file.
3286 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3287 __makecontext_ret.S.
3288
3289 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3290
3291 * elf/elf.h (R_390_IRELATIVE): New definition.
3292 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3293 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3294 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3295 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3296 (elf_machine_lazy_rel): Likewise.
3297 * sysdeps/s390/dl-irel.h: New file.
3298 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3299 * sysdeps/s390/s390-64/memset.S: New asm code.
3300 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3301 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3302 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3303 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3304 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3305 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3306 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3307 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3308 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3309 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3310 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3311 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3312 * sysdeps/s390/s390-32/memset.S: New asm code.
3313 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3314
3315 2012-07-17 Marek Polacek <polacek@redhat.com>
3316
3317 [BZ #14349]
3318 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3319 * sysdeps/s390/s390-64/configure.in: Likewise.
3320 * sysdeps/sparc/configure.in: Likewise.
3321 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3322 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3323 * sysdeps/i386/configure.in: Likewise.
3324 * sysdeps/x86_64/configure.in: Likewise.
3325 * sysdeps/sh/configure.in: Likewise.
3326 * sysdeps/s390/s390-32/configure: Regenerated.
3327 * sysdeps/s390/s390-64/configure: Likewise.
3328 * sysdeps/x86_64/configure: Likewise.
3329 * sysdeps/sh/configure: Likewise.
3330 * sysdeps/powerpc/powerpc64/configure: Likewise.
3331 * sysdeps/powerpc/powerpc32/configure: Likewise.
3332 * sysdeps/sparc/configure: Likwise.
3333 * sysdeps/i386/configure: Likewise.
3334
3335 * elf/dl-open.c: Comment fixes.
3336
3337 2012-07-17 Joseph Myers <joseph@codesourcery.com>
3338
3339 * Makefile [CXX] (check-data): Remove.
3340 [CXX] (c++-types.data): New vpath directive.
3341 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3342 vpath. Do not allow for C++ type data being missing.
3343 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3344 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3345 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3346 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3347 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3348 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3349 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3351 ... here.
3352 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3354 ... here.
3355 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3357 ... here.
3358 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3360 ... here.
3361 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3363 ... here.
3364 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3366 ... here.
3367 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3369 ... here.
3370 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3372
3373 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3374 definitions to architecture-specific files.
3375 (TLS_IE): Likewise.
3376 (TLS_LD): Likewise.
3377 (TLS_GD): Likewise.
3378 * sysdeps/i386/tls-macros.h: New file.
3379 * sysdeps/powerpc/tls-macros.h: Likewise.
3380 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3381 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3382 * sysdeps/sh/tls-macros.h: Likewise.
3383 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3384 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3385 * sysdeps/x86_64/tls-macros.h: Likewise.
3386
3387 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3388
3389 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3390 zero value for regular exit case.
3391
3392 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3393 (__start_context): Preserve zero value for regular exit case.
3394
3395 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3396 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3397
3398 * manual/setjmp.texi (setcontext): Clarify normal process
3399 termination when uc_link is the null pointer.
3400 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3401 exit call.
3402
3403 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3404
3405 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3406 preprocessor. Test for each exception mask separately.
3407
3408 2012-07-16 Andreas Jaeger <aj@suse.de>
3409
3410 * po/ru.po: Update from translation team.
3411
3412 2012-07-15 Joseph Myers <joseph@codesourcery.com>
3413
3414 * conform/data/string.h-data (NULL): Use macro-constant. Require
3415 equal to 0.
3416 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3417 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3418 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3419 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3420 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3421
3422 2012-07-13 Andreas Jaeger <aj@suse.de>
3423
3424 * po/fr.po: Update from translation team.
3425
3426 2012-07-12 Marek Polacek <polacek@redhat.com>
3427
3428 [BZ #14173]
3429 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3430 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3431 loop condition.
3432
3433 2012-07-12 Joseph Myers <joseph@codesourcery.com>
3434
3435 [BZ #13717]
3436 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3437 Change to 2.4.1 where previously 2.4.0.
3438 * sysdeps/unix/sysv/linux/configure: Regenerated.
3439 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3440 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3441 version.
3442 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3443 (__ASSUME_AT_CLKTCK): Remove.
3444 (__ASSUME_AT_PAGESIZE): Likewise.
3445 (__ASSUME_AT_XID): Likewise.
3446 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3447 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3448 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3449 unconditionally.
3450 (HAVE_AUX_PAGESIZE): Likewise.
3451 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3452 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3453 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3454
3455 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3456
3457 [BZ #14307]
3458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3459 the temporary buffer used to invoke __gethostbyname2_r,
3460 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3461 host_data / struct gaih_addrtuple.
3462 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3463 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3464 header file nss/nsswitch.h.
3465 * nss/nsswitch.h (global scope): Add definition of implementation
3466 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3467 resolv/nss_dns/dns-host.c).
3468
3469 2012-07-11 Andreas Jaeger <aj@suse.de>
3470
3471 * po/fr.po: Update from translation team.
3472
3473 * po/sv.po: Update from translation team
3474 * po/fr.po: Another update from translation team.
3475
3476 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3477
3478 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3479 for subnormals or multiply small sinh result by itself.
3480 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3482
3483 2012-07-11 David S. Miller <davem@davemloft.net>
3484
3485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3486
3487 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3488
3489 [BZ #14347]
3490 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3491 (INTERNAL_MARK): Shift it here.
3492
3493 2012-07-10 Marek Polacek <polacek@redhat.com>
3494
3495 [BZ #14151]
3496 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3497 libc_cv_asm_global_directive with .globl.
3498 * configure: Regenerated.
3499 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3500 with .globl.
3501 * sysdeps/i386/configure: Regenerated.
3502 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3503 with .globl.
3504 * sysdeps/x86_64/configure: Regenerated.
3505 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3506 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3507 * elf/tst-unique2mod2.c: Likewise.
3508 * elf/tst-unique2mod1.c: Likewise.
3509 * elf/tst-unique1mod2.c: Likewise.
3510 * elf/tst-unique1mod1.c: Likewise.
3511 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3512 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3513 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3514 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3515 * sysdeps/mach/sysdep.h: Likewise.
3516 * sysdeps/i386/sysdep.h: Likewise.
3517 * sysdeps/i386/i386-mcount.S: Likewise.
3518 * sysdeps/x86_64/_mcount.S: Likewise.
3519 * sysdeps/x86_64/sysdep.h: Likewise.
3520 * sysdeps/sh/_mcount.S: Likewise.
3521 * sysdeps/sh/sysdep.h: Likewise.
3522 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3523 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3524 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3525 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3526 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3527 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3528 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3529 * locale/localeinfo.h: Likewise.
3530 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3531 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3532
3533 2012-07-09 Roland McGrath <roland@hack.frob.com>
3534
3535 [BZ #14336]
3536 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3537 system".
3538 * manual/message.texi (The Uniforum approach): Likewise.
3539 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3540 (glibc iconv Implementation): Likewise.
3541
3542 2012-07-09 Joseph Myers <joseph@codesourcery.com>
3543
3544 [BZ #14337]
3545 * math/s_clog.c (__clog): Avoid scaling a value down where that
3546 could result in underflow.
3547 * math/s_clog10.c (__clog10): Likewise.
3548 * math/s_clog10f.c (__clog10f): Likewise.
3549 * math/s_clog10l.c (__clog10l): Likewise.
3550 * math/s_clogf.c (__clogf): Likewise.
3551 * math/s_clogl.c (__clogl): Likewise.
3552 * math/libm-test.inc (clog_test): Add more tests.
3553 (clog10_test): Likewise.
3554 * sysdeps/i386/fpu/libm-test-ulps: Update.
3555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3556
3557 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3558
3559 [BZ #14283]
3560 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3561 by 7 not 8 to examine high bit of fractional part.
3562
3563 [BZ #14042]
3564 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3565 for call to __mcount_internal.
3566 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3567 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3568 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3569
3570 2012-07-06 Joseph Myers <joseph@codesourcery.com>
3571
3572 [BZ #14154]
3573 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3574 approximation for values within 0x1p-13f of an odd multiple of
3575 pi/4.
3576 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3577 exception. Add more tests.
3578 * sysdeps/i386/fpu/libm-test-ulps: Update.
3579
3580 [BZ #6778]
3581 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3582 inputs and return -1 for them. Do not check for +Inf in case not
3583 reachable for +Inf.
3584 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3585 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3586 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3587 and return -1 for them. Do not check for +Inf in case not
3588 reachable for +Inf.
3589 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3590 define.
3591 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3592 and return -1 for them. Do not check for +Inf in case not
3593 reachable for +Inf.
3594 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3595 spurious underflow.
3596 * sysdeps/i386/fpu/libm-test-ulps: Update.
3597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3598
3599 2012-07-06 Mike Frysinger <vapier@gentoo.org>
3600
3601 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3602
3603 2012-07-05 Joseph Myers <joseph@codesourcery.com>
3604
3605 [BZ #14157]
3606 [BZ #14331]
3607 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3608 could result in spurious underflow. Scale down values above
3609 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3610 * math/s_csqrtf.c (__csqrtf): Likewise.
3611 * math/s_csqrtl.c (__csqrtl): Likewise.
3612 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3613 spurious underflow.
3614 * sysdeps/i386/fpu/libm-test-ulps: Update.
3615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3616
3617 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3618
3619 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3620 xopen-msg.sed.
3621 * catgets/xopen-msg.awk: New file.
3622 * catgets/xopen-msg.sed: Removed.
3623
3624 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3625 po2text.sed.
3626 * intl/po2test.awk: New file.
3627 * intl/po2test.sed: Removed.
3628
3629 2012-07-04 Joseph Myers <joseph@codesourcery.com>
3630
3631 [BZ #14328]
3632 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3633 or multiply small sinh result by itself.
3634 * math/s_ctanf.c (__ctanf): Likewise.
3635 * math/s_ctanh.c (__ctanh): Likewise.
3636 * math/s_ctanhf.c (__ctanhf): Likewise.
3637 * math/s_ctanhl.c (__ctanhl): Likewise.
3638 * math/s_ctanl.c (__ctanl): Likewise.
3639 * math/libm-test.inc (ctan_test_tonearest): New function.
3640 (ctan_test_towardzero): Likewise.
3641 (ctan_test_downward): Likewise.
3642 (ctan_test_upward): Likewise.
3643 (ctanh_test_tonearest): Likewise.
3644 (ctanh_test_towardzero): Likewise.
3645 (ctanh_test_downward): Likewise.
3646 (ctanh_test_upward): Likewise.
3647 (main): Call these new functions.
3648 * sysdeps/i386/fpu/libm-test-ulps: Update.
3649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3650
3651 2012-07-03 Mike Frysinger <vapier@gentoo.org>
3652
3653 * .gitignore: Delete /ports entry.
3654
3655 2012-07-03 Andreas Jaeger <aj@suse.de>
3656
3657 * po/bg.po: Update from translation team.
3658 * po/cs.po: Likewise.
3659 * po/de.po: Likewise.
3660 * po/hr.po: Likewise.
3661 * po/nl.pl: Likewise.
3662 * po/pl.po: Likewise.
3663 * po/vi.po: Likewise.
3664
3665 2012-07-03 Joseph Myers <joseph@codesourcery.com>
3666
3667 * Makeconfig [!+link] (+link-before-libc): New variable.
3668 [!+link] (+link-after-libc): Likewise.
3669 [!+link] (+link-tests): Likewise.
3670 [!+link] (+link): Define in terms of $(+link-before-libc) and
3671 $(+link-after-libc).
3672 [!+link-static] (+link-static-before-libc): New variable.
3673 [!+link-static] (+link-static-after-libc): Likewise.
3674 [!+link-static] (+link-static-tests): Likewise.
3675 [!+link-static] (+link-static): Define in terms of
3676 $(+link-static-before-libc) and $(+link-static-after-libc).
3677 [build-shared] (link-libc-before-gnulib): New variable.
3678 [build-shared] (link-libc-tests): Likewise.
3679 [build-shared] (link-libc): Define in terms of
3680 $(link-libc-before-gnulib).
3681 [!build-shared] (link-libc-tests): New variable.
3682 (link-libc-static-tests): New variable.
3683 [!gnulib] (gnulib-arch): New variable.
3684 [!gnulib] (gnulib-tests): Likewise.
3685 [!gnulib] (static-gnulib-arch): Likewise.
3686 [!gnulib] (static-gnulib-tests): Likewise.
3687 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3688 Define with "=" instead of ":=".
3689 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3690 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3691 * Rules (binaries-all-notests): New variable.
3692 (binaries-all-tests): Likewise.
3693 (binaries-static-notests): Likewise.
3694 (binaries-static-tests): Likewise.
3695 (binaries-all): Define using $(binaries-all-notests) and
3696 $(binaries-all-tests).
3697 (binaries-static): Define using $(binaries-static-notests) and
3698 $(binaries-static-tests).
3699 (binaries-shared-tests): New variable.
3700 (binaries-shared-notests): Likewise.
3701 (binaries-shared): Remove variable.
3702 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3703 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3704 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3705 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3706 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3707 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3708 * elf/Makefile (sln-modules): New variable.
3709 (extra-objs): Add $(sln-modules:=.o).
3710 (ldconfig-modules): Add static-stubs.
3711 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3712 * elf/static-stubs.c: New file.
3713
3714 [BZ #14283]
3715 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3716 by 7 not 8 to examine high bit of fractional part. Use volatile
3717 variables when splitting into final array of floats if
3718 __FLT_EVAL_METHOD__ != 0.
3719 * math/libm-test.inc (cos_test): Add another test.
3720 (sin_test): Likewise.
3721 * sysdeps/i386/fpu/libm-test-ulps: Update.
3722
3723 [BZ #14273]
3724 * math/libm-test.inc (cosh_test): Add more tests.
3725
3726 * version.h (RELEASE): Set to "development".
3727 (VERSION): Set to "2.16.90".
3728
3729 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3730
3731 * NEWS: Update copyright. Remove last-updated date.
3732 Mention math library bug fixes and timezone data changes.
3733 * README: Mention GNU/Hurd, x32, and HPPA support status.
3734
3735 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3736
3737 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3738
3739 2012-06-27 Andreas Jaeger <aj@suse.de>
3740
3741 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3742
3743 2012-06-25 Andreas Jaeger <aj@suse.de>
3744
3745 * sysdeps/s390/fpu/libm-test-ulps: Update.
3746
3747 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3748 Thomas Schwinge <thomas@codesourcery.com>
3749
3750 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3751 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3753 fanotify_mark.
3754
3755 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3756
3757 * sysdeps/mach/start.c: Remove file.
3758 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3759 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3760 * sysdeps/sh/init-first.c: Likewise.
3761
3762 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3763 registers for frame unwinding purposes, add CFI directives.
3764 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3765 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3766 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3767 Likewise.
3768
3769 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3770 __fortify_fail returning.
3771 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3772
3773 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3774 sysdeps/sh/____longjmp_chk.S.
3775 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3776 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3777 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3778 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3779
3780 * sysdeps/sh/abort-instr.h: New file.
3781 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3782 process in case exit returns.
3783
3784 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3785 initialize the GOT register before use.
3786
3787 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3788 calculation of ARGC > 4.
3789
3790 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3791 meaningful names to some local labels.
3792
3793 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3794 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3795
3796 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3797 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3798 (__arch_compare_and_exchange_val_16_acq): Likewise.
3799 (__arch_compare_and_exchange_val_32_acq): Likewise.
3800 (atomic_exchange_and_add): Fix gUSA sequence.
3801 (atomic_add): Likewise.
3802 (atomic_add_negative): Likewise.
3803 (atomic_add_zero): Likewise.
3804 (atomic_bit_test_set): Likewise.
3805
3806 2012-06-22 Andreas Schwab <schwab@redhat.com>
3807
3808 [BZ #13579]
3809 * include/link.h (struct link_map): Add l_free_initfini.
3810 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3811 l_initfini.
3812 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3813 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3814 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3815 set.
3816
3817 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3818
3819 * configure.in: Use AC_LANG_SOURCE.
3820 * configure: Regenerate.
3821
3822 2012-06-22 Roland McGrath <roland@hack.frob.com>
3823
3824 * configure.in (libc_cv_localstatedir): New substituted variable.
3825 * configure: Regenerated.
3826 * config.make.in (localstatedir): New variable, substituted from
3827 libc_cv_localstatedir.
3828 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3829 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3830 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3831 * sysdeps/gnu/configure: Regenerated.
3832
3833 2012-06-21 Jeff Law <law@redhat.com>
3834
3835 [BZ #14277]
3836 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3837 free. Simplify list management for _LIBC case.
3838
3839 2012-06-21 Joseph Myers <joseph@codesourcery.com>
3840
3841 [BZ #14273]
3842 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3843 Clear sign bit of 64-bit integer value before comparing against
3844 overflow value.
3845
3846 * sysdeps/mach/configure: Regenerated.
3847
3848 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3849
3850 [BZ #14278]
3851 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3852
3853 2012-06-21 Jeff Law <law@redhat.com>
3854
3855 [BZ #13882]
3856 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3857 uint16_t for elements in the "seen" array to avoid char overflows.
3858 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3859 * elf/dl-open.c (dl_open_worker): Likewise.
3860
3861 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3862
3863 * scripts/list-sources.sh: Scan PORTS for translations.
3864 * po/libc.pot: Regenerated.
3865
3866 2012-06-21 Andreas Jaeger <aj@suse.de>
3867
3868 [BZ #12194]
3869 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3870 warning.
3871 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3872 * bits/byteswap-16.h (__bswap_16): Likewise.
3873 * bits/byteswap.h (__bswap_constant_16): Likewise.
3874
3875 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3876
3877 [BZ #14117]
3878 * sysdeps/i386/fpu_control.h: Removed.
3879 * sysdeps/x86_64/fpu_control.h: Moved to ...
3880 * sysdeps/x86/fpu_control.h: Here.
3881
3882 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3883 (_FPU_SETCW): Likewise.
3884
3885 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3886
3887 [BZ #14117]
3888 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3889 * sysdeps/x86/fpu/bits/mathinline.h: This.
3890 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3891
3892 [BZ #14050]
3893 [BZ #14117]
3894 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3895 functions if __x86_64__ is defined.
3896
3897 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3898
3899 * string/endian.h: Add !__ASSEMBLER__ condition for including
3900 conversion interfaces.
3901
3902 2012-06-15 Joseph Myers <joseph@codesourcery.com>
3903
3904 [BZ #14241]
3905 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3906 of ABS(x) in calculating zero to negative powers other than odd
3907 integers.
3908 * math/libm-test.inc (pow_test): Add more tests.
3909
3910 2012-06-15 Andreas Jaeger <aj@suse.de>
3911
3912 * manual/contrib.texi (Contributors): Update entry of Liubov
3913 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3914 Machado Filho.
3915
3916 2012-06-15 Cyril Hrubis <metan@ucw.cz>
3917
3918 * string/string.h: Add __wur to GNU version of strerror_r.
3919
3920 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3921
3922 [BZ #14229]
3923 * string/Makefile (tests): Add tst-strtok_r.
3924 * string/tst-strtok_r.c: New file.
3925 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3926 RAX_LP/RDX_LP on SAVE_PTR.
3927
3928 2012-06-14 Roland McGrath <roland@hack.frob.com>
3929
3930 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3931
3932 2012-06-14 Joseph Myers <joseph@codesourcery.com>
3933
3934 * libm_test.inc (csqrt_test): Allow more spurious underflow
3935 exceptions.
3936 (j0_test): Likewise.
3937 (j1_test): Likewise.
3938 (y0_test): Likewise.
3939 (y1_test): Likewise.
3940
3941 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3942
3943 * po/Makefile (libc.pot): Use UTF-8 charset.
3944
3945 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3946
3947 [BZ #14210]
3948 Suppress sign-conversion warning from FD_SET.
3949 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3950 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3951 not unsigned long int.
3952 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3953
3954 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3955
3956 [BZ #14050]
3957 [BZ #14117]
3958 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3959 __extern_always_inline instead of __extern_inline.
3960 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3961 (__signbit): Likewise.
3962 (__signbitl): Support C++ namespace.
3963 (lrintf): New inline function.
3964 (lrint): Likewise.
3965 (llrintf): Likewise.
3966 (llrint): Likewise.
3967 (fmaxf): Likewise.
3968 (fmax): Likewise.
3969 (fminf): Likewise.
3970 (fmin): Likewise.
3971 (rint): Likewise.
3972 (rintf): Likewise.
3973 (ceil): Likewise.
3974 (ceilf): Likewise.
3975 (floor): Likewise.
3976 (floorf): Likewise.
3977 (nearbyint): Likewise.
3978 (nearbyintf): Likewise.
3979
3980 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3981
3982 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3983 non-default versions.
3984
3985 2012-06-11 Roland McGrath <roland@hack.frob.com>
3986
3987 [BZ #14218]
3988 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3989
3990 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3991
3992 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3993 (FE_UPWARD, FE_DOWNWARD): Don't define.
3994 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3995 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3996
3997 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3998 reading it.
3999 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4000 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4001
4002 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4003
4004 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4006 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4007 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4008
4009 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4010
4011 [BZ #14117]
4012 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4013 * sysdeps/i386/fpu/Implies: New file.
4014 * sysdeps/x86_64/fpu/Implies: Likewise.
4015 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4016 * sysdeps/x86/fpu/bits/fenv.h: This.
4017
4018 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4019 __SSE_MATH__.
4020
4021 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4022
4023 [BZ #14134]
4024 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4025 character 0xffff that matches the last element of the
4026 conversion table.
4027
4028 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4029
4030 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4031 fmodl commit.
4032
4033 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4034
4035 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4036 values higher than 25.6283.
4037
4038 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4039
4040 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4041 subnormal exponent extraction and add some __builtin_expect.
4042 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4043 Fix for subnormal mantissa calculation.
4044
4045 2012-06-04 Mike Frysinger <vapier@gentoo.org>
4046
4047 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4048 cpu2 is -1 and errno is not ENOSYS.
4049
4050 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4051
4052 [BZ #14117]
4053 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4054 * sysdeps/x86/bits/string.h: This.
4055 * sysdeps/x86_64/bits/string.h: Removed.
4056
4057 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4058 if not compiling for x86-64, but compiling for >= i486.
4059
4060 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4061 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4062
4063 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4064 New macro from Linux kernel 3.4.0.
4065 (FP_XSTATE_MAGIC2): Likewise.
4066 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4067 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4068 (struct _fpx_sw_bytes): New struct.
4069 (struct _xsave_hdr): Likewise.
4070 (struct _ymmh_state): Likewise.
4071 (struct _xstate): Likewise.
4072
4073 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4074 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4075 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4076 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4077 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4078 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4079
4080 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4081 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4082 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4083 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4084 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4085 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4086
4087 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4088
4089 [BZ #13743]
4090 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4091 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4092 (sysdep_headers): Include sys/platform/ppc.h.
4093 * sysdeps/powerpc/test-gettimebase.c: Test for
4094 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4095 * manual/Makefile (appendices): Include platform.texi.
4096 * manual/contrib.texi (Contributors): Update @node pointers.
4097 * manual/maint.texi (Maintenance): Likewise.
4098 (Platform): New node.
4099 * manual/platform.texi: New file. Document the new features.
4100
4101 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4102 Jakub Jelinek <jakub@redhat.com>
4103
4104 [BZ #14188]
4105 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4106 where __builtin_expect is unavailable.
4107
4108 2012-06-03 David S. Miller <davem@davemloft.net>
4109
4110 * stdlib/longlong.h: Updated from GCC.
4111
4112 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4113
4114 [BZ #14042]
4115 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4116 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4117 __mcount_internal.
4118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4119 (GLIBC_2.16): Likewise.
4120
4121 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4122
4123 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4124
4125 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4126
4127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4128 (default-abi): New variable.
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4130 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4131 variable.
4132 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4133 Likewise.
4134 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4135 Likewise.
4136 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4137 Likewise.
4138
4139 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4140 definition. Document in comment.
4141
4142 2012-06-01 David S. Miller <davem@davemloft.net>
4143
4144 * stdlib/longlong.h: Updated from GCC.
4145
4146 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4147
4148 [BZ #14117]
4149 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4150 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4151 sys/debugreg.h sys/io.h here.
4152 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4153 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4154 sys/io.h.
4155 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4156 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4157 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4158 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4159 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4160 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4161
4162 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4163 Define only if __x86_64__ is defined.
4164
4165 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4166
4167 [BZ #14048]
4168 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4169 Use int64_t for variable i.
4170 * math/libm-test.inc (fmod_test): Add more tests.
4171
4172 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4173 z computation is not scheduled after fetestexcept.
4174 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4175 Use math_force_eval instead of asm to ensure calculation scheduled
4176 before exception test.
4177 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4178 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4179
4180 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4181
4182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4183 computation is not scheduled after fetestexcept.
4184
4185 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4186
4187 [BZ #14117]
4188 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4189 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4190
4191 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4192
4193 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4194 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4195
4196 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4197
4198 [BZ #14117]
4199 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4200 <bits/wordsize.h>.
4201 (__WCHAR_MIN): Support __WORDSIZE == 64.
4202 (__WCHAR_MAX): Likewise.
4203
4204 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4205 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4206
4207 [BZ #14183]
4208 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4209 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4210
4211 [BZ #14117]
4212 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4213 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4214
4215 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4216 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4217
4218 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4219 Defined to 1 if __x86_64__ isn't defined.
4220 (_STAT_VER_LINUX_OLD): New.
4221 (st_atime): Remove duplicate.
4222 (st_mtime): Likewise.
4223 (st_ctime): Likewise.
4224
4225 2012-05-31 David S. Miller <davem@davemloft.net>
4226
4227 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4228 entries.
4229
4230 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4231
4232 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4233 gen-libm-test.pl.
4234
4235 [BZ #14132]
4236 * elf/dl-reloc.c: Include <_itoa.h>.
4237 (_dl_reloc_bad_type): Remove use of INTUSE.
4238 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4239 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4240 * stdio-common/psiginfo.c (psiginfo): Likewise.
4241 * stdio-common/psignal.c (psignal): Likewise.
4242 * string/strsignal.c (strsignal): Likewise.
4243 * include/signal.h (_sys_siglist): Declare hidden proto.
4244 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4245 INTVARDEF with libc_hidden_data_def.
4246 * stdio-common/itoa-udigits.c: Likewise.
4247 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4248 (_itoa_lower_digits_internal): Remove declaration.
4249 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4250 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4251 (_sys_sigabbrev_internal): Remove aliases.
4252 (_sys_siglist): Define hidden alias.
4253
4254 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4255
4256 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4257 bits/sysctl.h.
4258
4259 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4260
4261 [BZ #14117]
4262 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4263 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4264
4265 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4266 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4267 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4268 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4269 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4270 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4271
4272 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4273 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4274 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4275
4276 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4277 with __addr.
4278 (insw): Likewise.
4279 (insl): Likewise.
4280 (outsb): Likewise.
4281 (outsw): Likewise.
4282 (outsl): Likewise.
4283
4284 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4285 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4286 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4287
4288 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4289 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4290 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4291 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4292 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4293 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4294
4295 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4296 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4297
4298 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4299 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4300
4301 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4302 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4303 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4304
4305 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4306 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4307 to ...
4308 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4309
4310 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4311 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4312 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4313
4314 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4315 for x86-64.
4316 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4317
4318 2012-05-31 Joseph Myers <joseph@codesourcery.com>
4319
4320 * math/math.h (M_El): Use two more decimal places.
4321 (M_LOG2El): Likewise.
4322 (M_LOG10El): Likewise.
4323 (M_LN2l): Likewise.
4324 (M_LN10l): Likewise.
4325 (M_PIl): Likewise.
4326 (M_PI_2l): Likewise.
4327 (M_PI_4l): Likewise.
4328 (M_1_PIl): Likewise.
4329 (M_2_PIl): Likewise.
4330 (M_2_SQRTPIl): Likewise.
4331 (M_SQRT2l): Likewise.
4332 (M_SQRT1_2l): Likewise.
4333
4334 2012-05-31 David S. Miller <davem@davemloft.net>
4335
4336 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4337 values between float registers.
4338 * sysdeps/sparc/sparc64/memset.S: Likewise.
4339 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4340
4341 2012-05-31 Mike Frysinger <vapier@gentoo.org>
4342
4343 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4344 -D_FORTIFY_SOURCE=1.
4345 (CPPFLAGS-tst-longjmp_chk.c): Define.
4346 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4347 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4348 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4349 CFLAGS-tst-wchar-h.c.
4350
4351 2012-05-31 Marek Polacek <polacek@redhat.com>
4352
4353 [BZ #14132]
4354 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4355 __endmntent_internal): Remove declaration.
4356 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4357 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4358 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4359
4360 2012-05-30 David S. Miller <davem@davemloft.net>
4361
4362 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4363 (___Q_simulate_exceptions): Use real FP ops rather than writing
4364 into the %fsr.
4365 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4366 Likewise.
4367
4368 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4369
4370 [BZ #14117]
4371 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4372 * sysdeps/x86/bits/xtitypes.h: This.
4373
4374 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4375 * sysdeps/x86/bits/wordsize.h: This.
4376
4377 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4378 * sysdeps/x86/bits/huge_vall.h: This.
4379
4380 * sysdeps/i386/bits/select.h: Removed.
4381 * sysdeps/x86_64/bits/select.h: Renamed to ...
4382 * sysdeps/x86/bits/select.h: This.
4383
4384 * sysdeps/i386/bits/setjmp.h: Removed.
4385 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4386 * sysdeps/x86/bits/setjmp.h: This.
4387
4388 * sysdeps/i386/bits/mathdef.h: Removed.
4389 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4390 * sysdeps/x86/bits/mathdef.h: This.
4391
4392 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4393
4394 [BZ #14132]
4395 * include/sys/socket.h (__connect_internal)
4396 (__libc_sa_len_internal): Remove declaration.
4397 (__connect, __libc_sa_len): Declare hidden_proto.
4398 (SA_LEN): Remove use of INTUSE.
4399 * socket/connect.c: Add libc_hidden_def.
4400 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4401 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4402 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4403 alias.
4404 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4405 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4406 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4407 of adding _internal alias.
4408
4409 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4410
4411 [BZ #14117]
4412 * sysdeps/i386/bits/link.h: Removed.
4413 * sysdeps/i386/bits/linkmap.h: Likewise.
4414 * sysdeps/x86_64/bits/link.h: Renamed to ...
4415 * sysdeps/x86/bits/link.h: This.
4416 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4417 * sysdeps/x86/bits/linkmap.h: This.
4418
4419 * sysdeps/i386/bits/endian.h: Removed.
4420 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4421 * sysdeps/x86/bits/endian.h: This.
4422
4423 * sysdeps/i386/bits/byteswap.h: Removed.
4424 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4425 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4426 * sysdeps/x86/bits/byteswap.h: This.
4427 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4428 * sysdeps/x86/bits/byteswap-16.h: This.
4429 * sysdeps/i386/Implies: Add x86.
4430 * sysdeps/x86_64/Implies: Likewise.
4431
4432 2012-05-30 David S. Miller <davem@davemloft.net>
4433
4434 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4435 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4436 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4437 (FP_TRAPPING_EXCEPTIONS): Define.
4438 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4439 (FP_TRAPPING_EXCEPTIONS): Define.
4440 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4441 subnormals only when inexact has been signalled or underflow
4442 exceptions are enabled.
4443 (_FP_PACK_CANONICAL): Likewise.
4444
4445 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4446
4447 [BZ #14183]
4448 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4449 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4450
4451 2012-05-30 Richard Henderson <rth@twiddle.net>
4452
4453 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4454 with #ifndef NOT_IN_libc.
4455
4456 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4457 marked to avoid plt entry.
4458
4459 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4460
4461 [BZ #14112]
4462 * Makeconfig (default-abi): New macro.
4463 (abi-includes): Likewise.
4464 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4465 $(abi-$(default-abi)-lib-soname) for soname if defined.
4466 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4467 abi-variants.
4468 * Makefile (installed-stubs): Likewise.
4469 * include/stubs-biarch.h: Removed.
4470 * scripts/lib-names.awk: Only handle one library at a time.
4471 * scripts/soversions.awk: Remove WORDSIZE support.
4472 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4473 entries.
4474 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4475 Removed.
4476 (syscall-list-default-condition): Likewise.
4477 (syscall-list-default-condition): Likewise.
4478 (syscall-list-includes): Likewise.
4479 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4480 syscall-list-* with abi-*. Handle undefined abi-variants.
4481 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4482 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4483 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4484 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4485 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4486 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4487 Removed.
4488 (syscall-list-32-options): Likewise.
4489 (syscall-list-32-condition): Likewise.
4490 (syscall-list-64-options): Likewise.
4491 (syscall-list-64-condition): Likewise.
4492 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4493 macro.
4494 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4495 Renamed to ...
4496 (abi-*): This.
4497 (abi-64-ld-soname): New macro.
4498 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4499 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4500 Renamed to ...
4501 (abi-*): This.
4502 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4503 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4504
4505 2012-05-30 Joseph Myers <joseph@codesourcery.com>
4506
4507 * sysdeps/unix/sysv/linux/kernel-features.h
4508 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4509 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4510 include <kernel-features.h>.
4511 [!__NR_ftruncate64]: Remove conditional code.
4512 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4513 [__NR_ftruncate64]: Make code unconditional.
4514 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4515 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4516 include <kernel-features.h>.
4517 [!__NR_ftruncate64]: Remove conditional code.
4518 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4519 [__NR_ftruncate64]: Make code unconditional.
4520 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4522 include <kernel-features.h>.
4523 [!__NR_ftruncate64]: Remove conditional code.
4524 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4525 [__NR_ftruncate64]: Make code unconditional.
4526 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4528 include <kernel-features.h>.
4529 [!__NR_ftruncate64]: Remove conditional code.
4530 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4531 [__NR_ftruncate64]: Make code unconditional.
4532 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4533
4534 * configure.in (libc_cv_fpie): Weaken to a compile test using
4535 LIBC_TRY_CC_OPTION.
4536 * configure: Regenerated.
4537
4538 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4539
4540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4544 Refreshed.
4545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4551 Refreshed.
4552
4553 2012-05-27 David S. Miller <davem@davemloft.net>
4554
4555 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4556 (___Q_zero): New.
4557 (__Q_simulate_exceptions): Return void. Change to simulate
4558 exceptions by writing into the %fsr.
4559 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4560 (__Qp_handle_exceptions): Likewise.
4561 (numbers): Delete.
4562 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4563 __Qp_handle_exceptions.
4564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4565 __Qp_handle_exceptions.
4566 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4567 as unused and give dummy FP_RND_NEAREST initializer.
4568 (FP_INHIBIT_RESULTS): Define.
4569 (___Q_simulate_exceptions): Update declaration.
4570 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4571 formatting.
4572 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4573 as unused and give dummy FP_RND_NEAREST initializer.
4574 (__Qp_handle_exceptions): Update declaration.
4575 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4576 formatting.
4577
4578 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4579
4580 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4581 the temporary FPU control word.
4582 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4583 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4584 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4585 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4586 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4587 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4588 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4589 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4590 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4591 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4592 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4593
4594 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4595
4596 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4597 fields.
4598
4599 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4600
4601 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4602 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4603 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4604 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4605 Likewise.
4606 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4607 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4608 Likewise.
4609
4610 2012-05-27 Ulrich Drepper <drepper@gmail.com>
4611
4612 * po/h.po: Update from translation team.
4613
4614 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4615
4616 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4617
4618 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4619 handling of denormals.
4620 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4621 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4622 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4623 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4624 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4626 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4627 Likewise.
4628
4629 2012-05-26 Marek Polacek <polacek@redhat.com>
4630
4631 [BZ #14152]
4632 * math/libm-test.inc (fma_test): Don't always expect underflow
4633 exception.
4634
4635 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4636
4637 [BZ #12416]
4638 * elf/tst-execstack.c: Include stackinfo.h.
4639 (do_test): Adjust test case to ensure that pthread_getattr_np
4640 behaviour remains the same after marking stack executable.
4641
4642 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4643
4644 * sysdeps/unix/sysv/linux/kernel-features.h
4645 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4646 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4647 kernel-features.h.
4648 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4649 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4650 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4651 kernel-features.h.
4652 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4653 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4654
4655 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4656
4657 * configure.in: Define the default includes to being none.
4658 * configure: Regenerated.
4659
4660 2012-05-25 Roland McGrath <roland@hack.frob.com>
4661
4662 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4663 * sysdeps/x86_64/setjmp.S: Likewise.
4664 * sysdeps/i386/bsd-setjmp.S: Likewise.
4665 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4666 * sysdeps/i386/setjmp.S: Likewise.
4667 * sysdeps/i386/__longjmp.S: Likewise.
4668 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4669 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4670
4671 * include/stap-probe.h: New file.
4672 * configure.in: Handle --enable-systemtap.
4673 * configure: Regenerated.
4674 * config.h.in (USE_STAP_PROBE): New #undef.
4675 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4676 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4677 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4678
4679 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4680
4681 [BZ #13717]
4682 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4683 to 2.4.0 where earlier.
4684 * sysdeps/unix/sysv/linux/configure: Regenerated.
4685 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
4694 [__ASSUME_32BITUIDS]: Make code unconditional.
4695 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4696 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4697 <kernel-features.h>.
4698 [__ASSUME_32BITUIDS]: Make code unconditional.
4699 [!__ASSUME_32BITUIDS]: Remove conditional code.
4700 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4701 <kernel-features.h>.
4702 [__ASSUME_32BITUIDS]: Make code unconditional.
4703 [!__ASSUME_32BITUIDS]: Remove conditional code.
4704 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4705 <kernel-features.h>.
4706 [__ASSUME_32BITUIDS]: Make code unconditional.
4707 [!__ASSUME_32BITUIDS]: Remove conditional code.
4708 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4709 <kernel-features.h>.
4710 [__ASSUME_32BITUIDS]: Make code unconditional.
4711 [!__ASSUME_32BITUIDS]: Remove conditional code.
4712 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4713 <kernel-features.h>.
4714 [__ASSUME_32BITUIDS]: Make code unconditional.
4715 [!__ASSUME_32BITUIDS]: Remove conditional code.
4716 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4717 <kernel-features.h>.
4718 [__ASSUME_32BITUIDS]: Make code unconditional.
4719 [!__ASSUME_32BITUIDS]: Remove conditional code.
4720 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4721 <kernel-features.h>.
4722 [__ASSUME_32BITUIDS]: Make code unconditional.
4723 [!__ASSUME_32BITUIDS]: Remove conditional code.
4724 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4725 <kernel-features.h>.
4726 [__ASSUME_32BITUIDS]: Make code unconditional.
4727 [!__ASSUME_32BITUIDS]: Remove conditional code.
4728 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4729 <kernel-features.h>.
4730 [__ASSUME_32BITUIDS]: Make code unconditional.
4731 [!__ASSUME_32BITUIDS]: Remove conditional code.
4732 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4733 <kernel-features.h>.
4734 [__ASSUME_32BITUIDS]: Make code unconditional.
4735 [!__ASSUME_32BITUIDS]: Remove conditional code.
4736 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4737 <kernel-features.h>.
4738 [__NR_setresgid] (__setresgid): Do not declare.
4739 [__ASSUME_32BITUIDS]: Make code unconditional.
4740 [!__ASSUME_32BITUIDS]: Remove conditional code.
4741 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4742 <kernel-features.h>.
4743 [__NR_setresuid] (__setresuid): Do not declare.
4744 [__ASSUME_32BITUIDS]: Make code unconditional.
4745 [!__ASSUME_32BITUIDS]: Remove conditional code.
4746 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4747 <kernel-features.h>.
4748 [__ASSUME_32BITUIDS]: Make code unconditional.
4749 [!__ASSUME_32BITUIDS]: Remove conditional code.
4750 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4751 <kernel-features.h>.
4752 [__ASSUME_32BITUIDS]: Make code unconditional.
4753 [!__ASSUME_32BITUIDS]: Remove conditional code.
4754 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4755 <kernel-features.h>.
4756 [__ASSUME_32BITUIDS]: Make code unconditional.
4757 [!__ASSUME_32BITUIDS]: Remove conditional code.
4758 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4759 <kernel-features.h>.
4760 [__ASSUME_32BITUIDS]: Make code unconditional.
4761 [!__ASSUME_32BITUIDS]: Remove conditional code.
4762 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4763 <kernel-features.h>.
4764 [__ASSUME_32BITUIDS]: Make code unconditional.
4765 [!__ASSUME_32BITUIDS]: Remove conditional code.
4766 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4767 <kernel-features.h>.
4768 [__ASSUME_32BITUIDS]: Make code unconditional.
4769 [!__ASSUME_32BITUIDS]: Remove conditional code.
4770 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4771 <kernel-features.h>.
4772 [__ASSUME_32BITUIDS]: Make code unconditional.
4773 [!__ASSUME_32BITUIDS]: Remove conditional code.
4774 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4775 <kernel-features.h>.
4776 [__ASSUME_32BITUIDS]: Make code unconditional.
4777 [!__ASSUME_32BITUIDS]: Remove conditional code.
4778 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4779 <kernel-features.h>.
4780 [__ASSUME_32BITUIDS]: Make code unconditional.
4781 [!__ASSUME_32BITUIDS]: Remove conditional code.
4782 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4783 <kernel-features.h>.
4784 [__ASSUME_32BITUIDS]: Make code unconditional.
4785 [!__ASSUME_32BITUIDS]: Remove conditional code.
4786 * sysdeps/unix/sysv/linux/kernel-features.h
4787 (__ASSUME_SETRESUID_SYSCALL): Remove.
4788 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4789 (__ASSUME_32BITUIDS): Likewise.
4790 (__ASSUME_LDT_WORKS): Likewise.
4791 (__ASSUME_O_DIRECTORY): Likewise.
4792 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4793 architecture but not kernel version.
4794 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4795 (__ASSUME_MMAP2_SYSCALL): Likewise.
4796 (__ASSUME_STAT64_SYSCALL): Likewise.
4797 (__ASSUME_IPC64): Likewise.
4798 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4799 <kernel-features.h>.
4800 [__ASSUME_32BITUIDS]: Make code unconditional.
4801 [!__ASSUME_32BITUIDS]: Remove conditional code.
4802 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4803 <kernel-features.h>.
4804 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4805 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4806 132096]: Remove conditional code.
4807 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4808 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4809 <kernel-features.h>.
4810 [__ASSUME_32BITUIDS]: Make code unconditional.
4811 [!__ASSUME_32BITUIDS]: Remove conditional code.
4812 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4813 <kernel-features.h>.
4814 [__ASSUME_32BITUIDS]: Make code unconditional.
4815 [!__ASSUME_32BITUIDS]: Remove conditional code.
4816 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4817 <kernel-features.h>.
4818 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4819 unconditional.
4820 (__setresgid): Do not declare.
4821 [__ASSUME_32BITUIDS]: Make code unconditional.
4822 [!__ASSUME_32BITUIDS]: Remove conditional code.
4823 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4824 <kernel-features.h>.
4825 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4826 unconditional.
4827 (__setresuid): Do not declare.
4828 [__ASSUME_32BITUIDS]: Make code unconditional.
4829 [!__ASSUME_32BITUIDS]: Remove conditional code.
4830 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4831 <kernel-features.h>.
4832 [__ASSUME_32BITUIDS]: Make code unconditional.
4833 [!__ASSUME_32BITUIDS]: Remove conditional code.
4834 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4835 <kernel-features.h>.
4836 [__ASSUME_32BITUIDS]: Make code unconditional.
4837 [!__ASSUME_32BITUIDS]: Remove conditional code.
4838
4839 2012-05-25 Richard Henderson <rth@twiddle.net>
4840
4841 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4842 dl_hwcap to ifunc resolver.
4843 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4844 elf_ifunc_invoke.
4845 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4846 dl_hwcap to ifunc resolver.
4847 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4848
4849 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4850
4851 [BZ #14153]
4852 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4853 for |x| <= 2**-26, not 2**-57.
4854 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4855 exception.
4856
4857 2012-05-24 Jeff Law <law@redhat.com>
4858
4859 * stdio-common/Makefile (tests): Add bug25.
4860 * stdio-common/bug25.c: New test.
4861
4862 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4863
4864 [BZ #13576]
4865 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4866 multiple of MALLOC_ALIGNMENT in size.
4867 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4868
4869 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4870
4871 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4872 Require >= 256.
4873 (FILENAME_MAX): Use macro-int-constant.
4874 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4875 (_IOFBF): Use macro-int-constant.
4876 (_IOLBF): Likewise.
4877 (_IONBF): Likewise.
4878 (SEEK_CUR): Likewise.
4879 (SEEK_END): Likewise.
4880 (SEEK_SET): Likewise.
4881 (TMP_MAX): Likewise.
4882 (EOF): Use macro-int-constant. Require < 0.
4883 (NULL): Use macro-constant. Require == 0.
4884 (stdin): Require type to be FILE *.
4885 (stdout): Likewise.
4886 (stderr): Likewise.
4887 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4888 macro-int-constant.
4889 (EXIT_SUCCESS): Likewise.
4890 (NULL): Use macro-constant. Require == 0.
4891 (RAND_MAX): Use macro-int-constant.
4892 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4893 [C99-based standards] (strtof): Require function.
4894 [C99-based standards] (strtold): Likewise.
4895 [C99-based standards] (strtoll): Likewise.
4896 [C99-based standards] (strtoull): Likewise.
4897 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4898 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4899 [ISO || ISO99 || ISO11] (math.h): Likewise.
4900 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4901 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4902 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4903
4904 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4905
4906 [BZ #14132]
4907 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4908 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4909 * intl/dgettext.c (DCGETTEXT): Likewise.
4910 * intl/gettext.c (DCGETTEXT): Likewise.
4911 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4912 * posix/regex_internal.h (gettext): Likewise.
4913 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4914 Remove declaration.
4915 * include/argz.h (__argz_count_internal)
4916 (__argz_stringify_internal): Remove declaration.
4917 (__argz_count, __argz_stringify): Declare hidden proto.
4918 * intl/dcgettext.c: Remove use of INTDEF.
4919 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4920 * string/argz-stringify.c: Likewise.
4921 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4922 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4923 Declare hidden proto.
4924 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4925 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4926 Declare hidden proto.
4927 * include/stdio.h (__asprintf_internal): Don't declare.
4928 (__asprintf): Don't define as macro. Declare hidden proto.
4929 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4930 (__fsetlocking): Declare hidden proto.
4931 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4932 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4933 hidden proto.
4934 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4935 (_IO_setlinebuf): Remove use of INTUSE.
4936 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4937 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4938 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4939 Remove declaration.
4940 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4941 (_IO_do_flush): Remove use of INTUSE.
4942 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4943 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4944 (_IO_adjust_column, _IO_least_wmarker)
4945 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4946 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4947 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4948 (_IO_default_doallocate, _IO_wdefault_doallocate)
4949 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4950 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4951 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4952 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4953 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4954 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4955 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4956 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4957 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4958 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4959 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4960 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4961 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4962 proto.
4963 (_IO_flush_all_internal, _IO_adjust_column_internal)
4964 (_IO_default_uflow_internal, _IO_default_finish_internal)
4965 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4966 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4967 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4968 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4969 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4970 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4971 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4972 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4973 (_IO_file_close_internal, _IO_file_close_it_internal)
4974 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4975 (_IO_file_init_internal, _IO_file_attach_internal)
4976 (_IO_file_fopen_internal, _IO_file_read_internal)
4977 (_IO_file_sync_internal, _IO_file_seek_internal)
4978 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4979 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4980 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4981 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4982 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4983 (_IO_list_all_internal, _IO_link_in_internal)
4984 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4985 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4986 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4987 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4988 (_IO_do_write_internal, _IO_padn_internal)
4989 (_IO_getline_info_internal, _IO_getline_internal)
4990 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4991 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4992 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4993 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4994 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4995 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4996 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4997 with libc_hidden_ver, remove use of INTUSE.
4998 * libio/genops.c: Likewise.
4999 * libio/freopen.c: Likewise.
5000 * libio/freopen64.c: Likewise.
5001 * libio/iofclose.c: Likewise.
5002 * libio/iofdopen.c: Likewise.
5003 * libio/iofflush.c: Likewise.
5004 * libio/iofflush_u.c: Likewise.
5005 * libio/iofgets.c: Likewise.
5006 * libio/iofgets_u.c: Likewise.
5007 * libio/iofopen.c: Likewise.
5008 * libio/iofopncook.c: Likewise.
5009 * libio/iofread.c: Likewise.
5010 * libio/iofread_u.c: Likewise.
5011 * libio/ioftell.c: Likewise.
5012 * libio/iofwrite.c: Likewise.
5013 * libio/iogetline.c: Likewise.
5014 * libio/iogets.c: Likewise.
5015 * libio/iogetwline.c: Likewise.
5016 * libio/iopadn.c: Likewise.
5017 * libio/iopopen.c: Likewise.
5018 * libio/ioseekoff.c: Likewise.
5019 * libio/ioseekpos.c: Likewise.
5020 * libio/iosetbuffer.c: Likewise.
5021 * libio/iosetvbuf.c: Likewise.
5022 * libio/ioungetc.c: Likewise.
5023 * libio/ioungetwc.c: Likewise.
5024 * libio/iovdprintf.c: Likewise.
5025 * libio/iovsprintf.c: Likewise.
5026 * libio/iovsscanf.c: Likewise.
5027 * libio/memstream.c: Likewise.
5028 * libio/obprintf.c: Likewise.
5029 * libio/oldfileops.c: Likewise.
5030 * libio/oldiofclose.c: Likewise.
5031 * libio/oldiofdopen.c: Likewise.
5032 * libio/oldiofopen.c: Likewise.
5033 * libio/oldiopopen.c: Likewise.
5034 * libio/oldstdfiles.c: Likewise.
5035 * libio/putc.c: Likewise.
5036 * libio/setbuf.c: Likewise.
5037 * libio/setlinebuf.c: Likewise.
5038 * libio/stdfiles.c: Likewise.
5039 * libio/strops.c: Likewise.
5040 * libio/vasprintf.c: Likewise.
5041 * libio/vscanf.c: Likewise.
5042 * libio/vsnprintf.c: Likewise.
5043 * libio/vswprintf.c: Likewise.
5044 * libio/wfiledoalloc.c: Likewise.
5045 * libio/wfileops.c: Likewise.
5046 * libio/wgenops.c: Likewise.
5047 * libio/wmemstream.c: Likewise.
5048 * libio/wstrops.c: Likewise.
5049 * libio/__fpurge.c: Likewise.
5050 * libio/__fsetlocking.c: Likewise.
5051 * assert/assert.c: Likewise.
5052 * debug/fgets_chk.c: Likewise.
5053 * debug/fgets_u_chk.c: Likewise.
5054 * debug/fread_chk.c: Likewise.
5055 * debug/fread_u_chk.c: Likewise.
5056 * debug/gets_chk.c: Likewise.
5057 * debug/obprintf_chk.c: Likewise.
5058 * debug/vasprintf_chk.c: Likewise.
5059 * debug/vdprintf_chk.c: Likewise.
5060 * debug/vsnprintf_chk.c: Likewise.
5061 * debug/vsprintf_chk.c: Likewise.
5062 * malloc/mtrace.c: Likewise.
5063 * misc/error.c: Likewise.
5064 * misc/syslog.c: Likewise.
5065 * stdio-common/asprintf.c: Likewise.
5066 * stdio-common/fxprintf.c: Likewise.
5067 * stdio-common/getw.c: Likewise.
5068 * stdio-common/isoc99_fscanf.c: Likewise.
5069 * stdio-common/isoc99_scanf.c: Likewise.
5070 * stdio-common/isoc99_vfscanf.c: Likewise.
5071 * stdio-common/isoc99_vscanf.c: Likewise.
5072 * stdio-common/isoc99_vsscanf.c: Likewise.
5073 * stdio-common/printf-prs.c: Likewise.
5074 * stdio-common/printf_fp.c: Likewise.
5075 * stdio-common/printf_fphex.c: Likewise.
5076 * stdio-common/printf_size.c: Likewise.
5077 * stdio-common/putw.c: Likewise.
5078 * stdio-common/scanf.c: Likewise.
5079 * stdio-common/sprintf.c: Likewise.
5080 * stdio-common/tmpfile.c: Likewise.
5081 * stdio-common/vfprintf.c: Likewise.
5082 * stdio-common/vfscanf.c: Likewise.
5083 * stdlib/strfmon_l.c: Likewise.
5084 * sunrpc/openchild.c: Likewise.
5085 * sunrpc/xdr_stdio.c: Likewise.
5086 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5087 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5088
5089 2012-05-24 Roland McGrath <roland@hack.frob.com>
5090
5091 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5092
5093 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5094 in the third column, to generate for the shared library an IFUNC
5095 that uses _dl_vdso_vsym.
5096 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5097 * Makeconfig (object-suffixes-noshared): New variable.
5098
5099 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5100 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5101 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5102 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5103
5104 [BZ #14132]
5105 * include/sys/time.h (__gettimeofday): Remove macro.
5106 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5107 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5108 Remove INTDEF.
5109 (__gettimeofday): Add libc_hidden_def.
5110 (gettimeofday): Add libc_hidden_weak.
5111 * sysdeps/mach/gettimeofday.c: Likewise.
5112 * sysdeps/posix/gettimeofday.c: Likewise.
5113 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5114 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5115 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5116 (__gettimeofday_internal): Remove strong_alias.
5117 (__gettimeofday): Add libc_hidden_def.
5118 (gettimeofday): Add libc_hidden_weak.
5119 * sysdeps/unix/syscalls.list (gettimeofday):
5120 Remove __gettimeofday_internal alias.
5121
5122 2012-05-24 Daniel Jacobowitz <drow@false.org>
5123 H.J. Lu <hongjiu.lu@intel.com>
5124
5125 [BZ #12495]
5126 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5127 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5128 (largebin_index_32_big): New.
5129 (largebin_index): Use it for 16-byte alignment.
5130 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5131 correction with front_misalign.
5132
5133 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5134
5135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5137 Likewise.
5138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5139 Likewise.
5140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5141 Likewise.
5142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5143 Likewise.
5144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5145 Likewise.
5146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5147 Likewise.
5148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5149 Likewise.
5150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5151 Likewise.
5152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5153 Likewise.
5154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5155 Likewise.
5156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5157 Likewise.
5158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5159 Likewise.
5160
5161 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5162 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5163
5164 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5165
5166 [BZ #10846]
5167 [BZ #14036]
5168 * math/libm-test.inc (exp_test): Add test from bug 14036.
5169 (pow_test): Add test from bug 10846.
5170
5171 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5172 and other flags.
5173 (special_function): Do not include flags in test name.
5174 (parse_args): Likewise.
5175 * sysdeps/i386/fpu/libm-test-ulps: Update.
5176 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5177 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5178 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5180
5181 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5182 exceptions.
5183 * math/libm-test.inc ("Philosophy"): Update comment about
5184 exception testing.
5185 (UNDERFLOW_EXCEPTION): New macro.
5186 (UNDERFLOW_EXCEPTION_OK): Likewise.
5187 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5188 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5189 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5190 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5191 (INVALID_EXCEPTION_OK): Update value.
5192 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5193 (OVERFLOW_EXCEPTION_OK): Likewise.
5194 (IGNORE_ZERO_INF_SIGN): Likewise.
5195 (test_exceptions): Handle underflow exceptions.
5196 (acos_test): Update for underflow exception expectations.
5197 (cexp_test): Likewise.
5198 (clog_test): Likewise.
5199 (clog10_test): Likewise.
5200 (csqrt_test): Likewise.
5201 (ctan_test): Likewise.
5202 (ctanh_test): Likewise.
5203 (exp_test): Likewise.
5204 (exp10_test): Likewise.
5205 (exp2_test): Likewise.
5206 (expm1_test): Likewise.
5207 (fma_test): Likewise.
5208 (j0_test): Likewise.
5209 (jn_test): Likewise.
5210 (nexttoward_test): Likewise.
5211 (pow_test): Likewise.
5212 (scalbn_test): Likewise.
5213 (scalbln_test): Likewise.
5214 (tan_test): Likewise.
5215 (y1_test): Likewise.
5216 * sysdeps/i386/fpu/libm-test-ulps: Update.
5217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5218
5219 2012-05-23 David S. Miller <davem@davemloft.net>
5220
5221 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5222 (__libc_sigaction): Remove unused local variables.
5223
5224 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5225
5226 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5227
5228 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5229
5230 mktime: avoid signed integer overflow
5231 * time/mktime.c (__mktime_internal): Do not mishandle the case
5232 where diff == INT_MIN.
5233
5234 mktime: simplify computation of average
5235 * time/mktime.c (ranged_convert): Use new time_t_avg function
5236 instead of rolling our own (probably-slower) code.
5237
5238 mktime: do not assume signed right shift propagates sign bit
5239 * time/mktime.c (isdst_differ): New static function.
5240 (__mktime_internal): No need to normalize tm_isdst now.
5241 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5242 tm_isdst values.
5243
5244 mktime: merge another wrapv change from gnulib
5245 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5246 from some compilers.
5247
5248 mktime: remove incorrect attempt at unusual arithmetics
5249 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5250 The code didn't really work on such machines anyway.
5251 (TYPE_MINIMUM): Assume two's complement.
5252 (twos_complement_arithmetic): Verify that long_int and time_t
5253 are two's complement (or unsigned, in the latter case).
5254
5255 mktime: check signed shifts on long_int and time_t, too
5256 * time/mktime.c (SHR): Check that shifts work as desired
5257 on the types long_int and time_t too, as SHR is used on
5258 such types.
5259
5260 mktime: do not assume 'long' is wide enough
5261 * time/mktime.c (verify): Move decl up.
5262 (long_int): New type.
5263 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5264 to remove assumption in the code that 'long' is wide enough to
5265 store year values. This assumption is not true on x32 and on
5266 some non-glibc platforms.
5267
5268 mktime: merge wrapv change from gnulib
5269 * time/mktime.c (WRAPV): New macro.
5270 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5271 (guess_time_tm, __mktime_internal): Do not assume that signed
5272 integer overflow wraps around; modern compilers generate code
5273 where this assumption is no longer valid.
5274
5275 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5276
5277 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5278 Replace "jmp L(pseudo_end)" with "ret".
5279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5280 Likewise.
5281
5282 2012-05-23 Andreas Jaeger <aj@suse.de>
5283
5284 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5285 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5286
5287 2012-05-23 Andreas Jaeger <aj@suse.de>
5288 Maximilian Attems <max@stro.at>
5289
5290 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5291 New macros.
5292
5293 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5294
5295 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5296 code so that pseudo_end is just ret and the stack pointer is
5297 correct also for static library in error case.
5298
5299 2012-05-23 Joseph Myers <joseph@codesourcery.com>
5300
5301 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5302 move to syscalls.list.
5303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5307
5308 * manual/install.texi (Running make install): Do not mention Linux
5309 kernel version for which pt_chown is not needed.
5310 (Linux): Do not mention problems with nscd with 2.0 kernels.
5311 * INSTALL: Regenerated.
5312
5313 2012-05-23 Andreas Jaeger <aj@suse.de>
5314
5315 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5316 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5317 macro.
5318 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5319 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5320 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5321 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5322 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5323 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5324 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5325 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5326 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5327 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5328 * sysdeps/unix/sysv/linux/bits/in.h
5329 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5330
5331 2012-05-22 Roland McGrath <roland@hack.frob.com>
5332
5333 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5334 (PREPARE_VERSION): Just use assert instead, it will be elided
5335 under [NDEBUG] anyway.
5336
5337 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5338
5339 * sysdeps/unix/sysv/linux/Makefile: Include
5340 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5341 (sysdep_routines): Remove sysctl.
5342 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5343 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5344 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5345 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5346 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5347
5348 2012-05-22 Andreas Jaeger <aj@suse.de>
5349
5350 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5351 that pseudo_end is just ret and the stack pointer is correct also
5352 for static library in error case.
5353
5354 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5355
5356 [BZ #14122]
5357 * nss/nsswitch.c (defconfig_entries): New variable.
5358 (__nss_database_lookup): Don't leak defconfig entries.
5359 (nss_parse_service_list): Don't leak on error paths.
5360 (free_database_entries): New function.
5361 (free_defconfig): New function.
5362 (free_mem): Move common code to free_database_entries.
5363
5364 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5365
5366 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5367 Add arch_prctl.
5368 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5369
5370 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5371 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5372 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5373 New macro.
5374 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5375 (INTERNAL_SYSCALL_TYPES): Likewise.
5376 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5377 (LOAD_REGS_TYPES_[1-6]): Likewise.
5378 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5379 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5380
5381 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5382
5383 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5384 copysignl for GLIBC_2_0.
5385 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5386 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5387 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5388 logbl for GLIBC_2_0.
5389 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5390 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5391
5392 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5393
5394 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5395 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5396
5397 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5398 Use "neg %eax".
5399
5400 * time/mktime.c: Update copyright years.
5401
5402 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5403
5404 mktime: merge comment-quoting-style change from gnulib
5405 * time/mktime.c: Quote 'like this' in comments.
5406 The GNU coding standards suggest that we no longer quote `like this',
5407 as "`" and "'" are typically rendered asymmetrically nowadays.
5408 The typical gnulib style is to quote 'like this' when quoting
5409 code, and "like this" when quoting English.
5410
5411 * time/mktime.c (compile-command): Add "-I.".
5412
5413 mktime: merge mktime-internal.h change from gnulib
5414 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5415
5416 mktime: merge time_r change from gnulib
5417 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5418
5419 mktime: merge DEBUG change from gnulib
5420 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5421 case system <time.h> has a #define.
5422
5423 mktime: merge <sys/types.h> change from gnulib
5424 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5425 since <time.t> is now guaranteed to define time_t.
5426
5427 mktime: merge HAVE_CONFIG_H change from gnulib
5428 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5429
5430 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5431
5432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5433 Use "neg %eax".
5434
5435 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5436 __rlim_t cast.
5437 (struct rusage): Use anonymous union to pad each field to
5438 __syscall_slong_t.
5439
5440 2012-05-21 David S. Miller <davem@davemloft.net>
5441
5442 * Makefules (o-iterator): Remove .s cases.
5443 (compile-command.s): Delete.
5444 (COMPILE.s): Delete.
5445 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5446
5447 2012-05-21 Joseph Myers <joseph@codesourcery.com>
5448
5449 * configure.in (libc_cv_predef_stack_protector): Only consider
5450 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5451 * configure: Regenerated.
5452
5453 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5454
5455 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5456 New macro. Use R*LP on int and pointer.
5457 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
5458 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5459 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
5460 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5461
5462 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5463 [__WORDSIZE_TIME64_COMPAT32] instead of
5464 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5465 (struct utmp): Likewise.
5466 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5467 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5468 Renamed to ...
5469 (__WORDSIZE_TIME64_COMPAT32): This.
5470 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5471 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5472 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5473 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5474 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5475 (__WORDSIZE_TIME64_COMPAT32): New macro.
5476
5477 2012-05-21 Andreas Jaeger <aj@suse.de>
5478
5479 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5480 only if [SHARED]. Add prototype for __wcschr_ia32.
5481
5482 2012-05-21 Roland McGrath <roland@hack.frob.com>
5483
5484 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5485 of %rbp unmolested in the jmp_buf while mangling the low bits.
5486 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5487 unmolested high bits of %rbp while demangling the low bits.
5488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5489
5490 2012-05-21 Andreas Jaeger <aj@suse.de>
5491
5492 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5493 * sunrpc/svc_simple.c: Use it for registerrpc.
5494 * sunrpc/xcrypt.c: Use it for passwd2des.
5495
5496 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5497
5498 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5499
5500 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5501 Don't define if [__SYSCALL_WORDSIZE != 32].
5502 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5503 New macro.
5504
5505 2012-05-21 Bruno Haible <bruno@clisp.org>
5506 Andreas Jaeger <aj@suse.de>
5507
5508 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5509 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5510 inptr and inend for must_buffer_ch.
5511 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5512 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5513 * stdio-common/Makefile (tests): Remove bug15.
5514 (bug15-ENV): Remove macro.
5515 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5516 anymore.
5517
5518 2012-05-19 Andreas Jaeger <aj@suse.de>
5519 Roland McGrath <roland@hack.frob.com>
5520
5521 * manual/contrib.texi: Completely rewritten. It contains now an
5522 alphabetical list of contributors and their contributions.
5523
5524 2012-05-21 Richard Henderson <rth@twiddle.net>
5525
5526 * misc/getauxval.c (__getauxval): Use unsigned long int.
5527 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5528 (getauxval): Use unsigned long int.
5529
5530 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5531
5532 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5533
5534 2012-05-21 Roland McGrath <roland@hack.frob.com>
5535
5536 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5537 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5538 __alignof__ (long double).
5539
5540 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5541
5542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5543
5544 2012-05-20 Richard Henderson <rth@twiddle.net>
5545
5546 * misc/getauxval.c: New file.
5547 * misc/sys/auxv.h: New file.
5548 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5549 (routines): Add getauxval.
5550 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5551 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5552 * elf/dl-sysdep.c (_dl_auxv): Remove.
5553 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5554 * elf/dl-support.c (_dl_auxv): New variable.
5555 (_dl_aux_init): Initialize it.
5556 * manual/startup.texi (Auxiliary Vector): New node.
5557 * sysdeps/generic/bits/hwcap.h: New file.
5558 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5559 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5560 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5561 * sysdeps/sparc/sysdep.h: ... here. Include it.
5562 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5563 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
5564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5565 Update.
5566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5569 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5574
5575 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5576
5577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5578
5579 2012-05-19 David S. Miller <davem@davemloft.net>
5580
5581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5582
5583 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5584
5585 [BZ #14123]
5586 * math/s_ccosh.c: Include <float.h>
5587 (__ccosh): Avoid internal overflow calculating sinh and cosh
5588 values before multiplying by sin and cos values.
5589 * math/s_ccoshf.c: Likewise.
5590 * math/s_ccoshl.c: Likewise.
5591 * math/s_csin.c: Likewise.
5592 * math/s_csinf.c: Likewise.
5593 * math/s_csinl.c: Likewise.
5594 * math/s_csinh.c: Likewise.
5595 * math/s_csinhf.c: Likewise.
5596 * math/s_csinhl.c: Likewise.
5597 * math/libm-test.inc (ccos_test): Add more tests.
5598 (ccosh_test): Likewise.
5599 (csin_test): Likewise.
5600 (csinh_test): Likewise.
5601 * sysdeps/i386/fpu/libm-test-ulps: Update.
5602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5603
5604 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5605
5606 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5607 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5608
5609 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5610
5611 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5612
5613 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5614 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5615 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5616 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5617 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5618 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5619 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5620 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5621 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5622 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5623 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5624 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5625 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5626 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5627 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5628 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5629 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5630 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5631 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5632 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5633 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5634 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5635 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5636 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5637 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5638 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5639 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5640 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5641 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5642 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5643 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5644
5645 2012-05-18 Andreas Jaeger <aj@suse.de>
5646
5647 * csu/.gitignore: Delete.
5648
5649 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5650
5651 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5652 (timex): Use __syscall_slong_t.
5653
5654 2012-05-18 Andreas Jaeger <aj@suse.de>
5655 Carlos O'Donell <carlos_odonell@mentor.com>
5656
5657 * manual/install.texi (Configuring and compiling): Update
5658 description about files modified in the source directory.
5659 * INSTALL: Regenerated.
5660
5661 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5662
5663 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5664 value. Use "or" to set return value to -1.
5665 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5666 negate return value.
5667
5668 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5669
5670 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5671 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5672 failure if the compiler has Graphite support disabled.
5673 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5674 Likewise.
5675 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5676 CFLAGS-memmove.c): Likewise.
5677 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5678 Likewise.
5679
5680 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5681
5682 * sysdeps/x86_64/x32/_itoa.h: New file.
5683
5684 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5685 getdents system call only if kernel and user dirents have the
5686 same d_ino and d_off.
5687
5688 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5689 LLONG_MAX != LONG_MAX.
5690 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5691 (_fitoa_word): Likewise.
5692
5693 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5694 years.
5695 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5696 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5697 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5698
5699 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5700 include <bits/wordsize.h>. Check __x86_64__ instead of
5701 __WORDSIZE.
5702 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5703 if __x86_64__ is defined. Use anonymous union on fpstate.
5704
5705 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5706 anonymous union.
5707
5708 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5709
5710 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5711 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5712 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5713 Refer to _rtld_local_ro instead of _rtld_global_ro.
5714 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5715 Likewise.
5716 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5717 Likewise.
5718 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5719 Likewise.
5720 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5721 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5722 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5723
5724 * sysdeps/powerpc/powerpc32/dl-machine.c
5725 (__elf_machine_runtime_setup) [PROF]: Don't reference
5726 _dl_prof_resolve.
5727
5728 2012-05-18 Andreas Jaeger <aj@suse.de>
5729
5730 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5731 function only available for GCCs before 3.4 since GCC 3.4
5732 introduced a builtin.
5733 (lrint): Likewise.
5734 (llrintf): Likewise.
5735 (llrint): Likewise.
5736 (fmaxf): Likewise.
5737 (fmax): Likewise.
5738 (fminf): Likewise.
5739 (fmin): Likewise.
5740 (rint): Likewise.
5741 (rintf): Likewise.
5742 (nearbyint): Likewise.
5743 (nearbyintf): Likewise.
5744 (ceil): Likewise.
5745 (ceilf): Likewise.
5746 (floor): Likewise.
5747 (floorf): Likewise.
5748
5749 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5750
5751 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5752 on both fields and cast pointer to __syscall_ulong_t.
5753
5754 * bits/types.h (__fsword_t): New type.
5755 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5756 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5757 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5758 (__FSWORD_T_TYPE): Likewise.
5759 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5760 (__FSWORD_T_TYPE): Likewise.
5761 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5762 (__FSWORD_T_TYPE): Likewise.
5763 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5764 (__FSWORD_T_TYPE): Likewise.
5765 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5766 __SWORD_TYPE with __fsword_t.
5767 (statfs64): Likewise.
5768
5769 2012-05-17 David S. Miller <davem@davemloft.net>
5770
5771 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5772
5773 2012-05-17 Andreas Jaeger <aj@suse.de>
5774
5775 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5776 warning.
5777
5778 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5779
5780 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5781
5782 2012-05-17 Andreas Jaeger <aj@suse.de>
5783
5784 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5785 when it is used.
5786
5787 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5788
5789 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5790
5791 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5792
5793 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5794 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5795
5796 2012-05-17 Andreas Jaeger <aj@suse.de>
5797 Carlos O'Donell <carlos_odonell@mentor.com>
5798
5799 [BZ #14059]
5800 * sysdeps/x86_64/multiarch/init-arch.h
5801 (bit_YMM_Usable): Rename to...
5802 (bit_AVX_Usable): ... this.
5803 (bit_FMA4_Usable): New macro.
5804 (bit_XMM_state): New macro.
5805 (bit_YMM_state): New macro.
5806 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5807 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5808 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5809 (CPUID_OSXSAVE): New macro.
5810 (CPUID_AVX): New macro.
5811 (CPUID_FMA4): New macro.
5812 (index_YMM_Usable): Rename to...
5813 (index_AVX_Usable): ... this.
5814 (HAS_AVX): Use HAS_ARCH_FEATURE.
5815 (HAS_FMA4): Likewise.
5816 (HAS_YMM_USABLE): Remove.
5817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5818 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5819 are present.
5820 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5821 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5822 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5823 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5824 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5825
5826 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5827
5828 * math/libm-test.c: Support platforms without multiple rounding modes.
5829 * math/bug-nextafter.c: Support platforms without FP exceptions.
5830 * math/bug-nexttoward.c: Likewise.
5831 * math/test-fenv.c: Likewise.
5832 * math/test-misc.c: Likewise.
5833 * stdlib/bug-getcontext.c: Likewise.
5834
5835 2012-05-17 Andreas Jaeger <aj@suse.de>
5836
5837 * manual/examples/search.c (critter_cmp): Change signature to
5838 avoid warnings.
5839 * manual/string.texi (Collation Functions): Likewise.
5840
5841 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5842
5843 * bits/types.h: Fold copyright years.
5844 * bits/typesizes.h: Likewise.
5845 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5846 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5847 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5848 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5849 * time/time.h: Likewise.
5850
5851 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5852
5853 [BZ #208]
5854 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5855 in instead of returning them. Return void.
5856 (__libc_mallinfo): Accumulate over all arenas.
5857 (__malloc_stats): Adjust for change in int_mallinfo interface.
5858
5859 2012-05-16 Roland McGrath <roland@hack.frob.com>
5860
5861 [BZ #10375]
5862 * configure.in (NM): Add AC_CHECK_TOOL for it.
5863 (libc_extra_cflags): New substituted variable.
5864 Check for -fstack-protector being used implicitly.
5865 * configure: Regenerated.
5866 * config.make.in (config-extra-cflags): New variable,
5867 gets @libc_extra_cflags@.
5868 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5869
5870 [BZ #10375]
5871 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5872 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5873 * configure: Regenerated.
5874 * config.make.in (CPPUNDEFS): New substituted variable.
5875 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5876 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5877 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5878
5879 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5880
5881 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5882 (mq_attr): Use __syscall_slong_t.
5883
5884 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5885
5886 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5887 Check __x86_64__ instead of __WORDSIZE.
5888 (_STAT_VER_LINUX): Likewise.
5889 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5890 __syscall_ulong_t and __syscall_slong_t.
5891 (stat64): Likewise.
5892
5893 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5894
5895 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5896
5897 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5898
5899 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5900
5901 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5902
5903 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5904 __syscall_ulong_t.
5905
5906 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5907 include <bits/wordsize.h>. Check __x86_64__ instead of
5908 __WORDSIZE.
5909 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5910 defined.
5911 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5912
5913 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5914 include <bits/wordsize.h>. Check __x86_64__ instead of
5915 __WORDSIZE.
5916 (user_regs_struct): Use "__extension__ unsigned long long"
5917 instead of "unsigned long" if __x86_64__ is defined.
5918 (user): Likewise. Pad after pointer field if __ILP32__ is
5919 defined.
5920
5921 2012-05-16 Joseph Myers <joseph@codesourcery.com>
5922
5923 * configure.in (makeinfo): Require version 4.5 or later. Allow
5924 versions 5 to 9.
5925 * configure: Regenerated.
5926 * manual/install.texi (texinfo): Increase version requirement to
5927 4.5 or later.
5928 * INSTALL: Regenerated.
5929
5930 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5931
5932 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5933
5934 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5935
5936 * sysdeps/x86_64/x32/ffs.c: New file.
5937
5938 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5939 __syscall_ulong_t.
5940 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5941 defined. Use __syscall_ulong_t.
5942 (shminfo): Use __syscall_ulong_t.
5943 (shm_info): Likewise.
5944
5945 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5946 __syscall_ulong_t.
5947
5948 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5949 <bits/wordsize.h>.
5950 (msgqnum_t): Use __syscall_ulong_t.
5951 (msglen_t): Likewise.
5952 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5953 __syscall_ulong_t.
5954
5955 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5956 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5957
5958 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5959
5960 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5961 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5962
5963 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5964 __syscall_slong_t.
5965
5966 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5967 include <bits/wordsize.h>. Check __x86_64__ instead of
5968 __WORDSIZE.
5969
5970 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5971 "unsigned long long int" if __x86_64__ is defined.
5972 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5973
5974 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5975 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5976 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5977
5978 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5979 <stdint.h>.
5980 (GET_PC): Cast to uintptr_t first.
5981 (GET_FRAME): Likewise.
5982 (GET_STACK): Likewise.
5983
5984 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5985 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5986 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5987 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5988 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5989 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5990 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5991 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5992 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5993 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5994 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5995 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5996 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5997 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5998 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5999 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6000 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6001 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6002 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6003 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6004 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6005 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6006 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6007 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6008 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6009 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6010 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6011 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6012 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6013
6014 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6015
6016 * Makerules (+depfiles): Also collect depfiles from .oS in
6017 $(extra-objs).
6018 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6019 .oS, $(libnldbl-routines)).
6020
6021 * Makerules (native-compile-mkdep-flags): Define.
6022 * sunrpc/Makefile (extra-objs): Add $(addprefix
6023 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6024 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6025 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6026 calling $(make-target-directory).
6027
6028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6029
6030 * bits/types.h (__snseconds_t): Removed.
6031 * time/time.h (struct timespec): Replace __snseconds_t with
6032 __syscall_slong_t.
6033 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6034 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6035 Likewise.
6036 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6037 (__SNSECONDS_T_TYPE): Likewise.
6038 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6039 (__SNSECONDS_T_TYPE): Likewise.
6040 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6041 (__SNSECONDS_T_TYPE): Likewise.
6042
6043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6044
6045 * sysdeps/mach/hurd/bits/typesizes.h
6046 (__SYSCALL_SLONG_TYPE): New macro.
6047 (__SYSCALL_ULONG_TYPE): Likewise.
6048
6049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6050
6051 * bits/types.h (__syscall_slong_t): New type.
6052 (__syscall_ulong_t): Likewise.
6053
6054 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6055 (__SYSCALL_ULONG_TYPE): Likewise.
6056 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6057 (__SYSCALL_SLONG_TYPE): Likewise.
6058 (__SYSCALL_ULONG_TYPE): Likewise.
6059 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6060 (__SYSCALL_SLONG_TYPE): Likewise.
6061 (__SYSCALL_ULONG_TYPE): Likewise.
6062 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6063 (__SYSCALL_SLONG_TYPE): Likewise.
6064 (__SYSCALL_ULONG_TYPE): Likewise.
6065
6066 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6067
6068 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6069 Add sigaltstack-offsets.sym.
6070 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6071 <sigaltstack-offsets.h>.
6072 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6073 longjmp_msg pointer.
6074 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6075 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6076 signal stack.
6077 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6078
6079 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6080
6081 * elf/stackguard-macros.h: Remove file.
6082 * sysdeps/generic/stackguard-macros.h: New file.
6083 * sysdeps/i386/stackguard-macros.h: Likewise.
6084 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6085 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6086 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6087 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6088 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6089 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6090 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6091 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6092 <elf/stackguard-macros.h>.
6093
6094 [BZ #14109]
6095 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6096 __aligned__ in attribute.
6097 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6098 (gregset_t): Likewise.
6099
6100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6101
6102 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6103 * sysdeps/x86_64/64/Implies-after: Here. New file.
6104 * sysdeps/x86_64/x32/Implies-after: New file.
6105
6106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6107
6108 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6109 and access return value for _dl_profile_fixup. Use R10_LP to
6110 load frame size.
6111
6112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6113
6114 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6115
6116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6117
6118 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6119 * sysdeps/x86_64/x32/sysdep.h: New file.
6120
6121 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6122
6123 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6124 * sysdeps/x86_64/setjmp.S: Likewise.
6125
6126 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6127
6128 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6129 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6130 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6131 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6132 remove unused global constant.
6133
6134 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6135
6136 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6137 include of <not-cancel.h>.
6138
6139 2012-05-15 Roland McGrath <roland@hack.frob.com>
6140
6141 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6142
6143 2012-05-15 Jeff Law <law@redhat.com>
6144 Andreas Jaeger <aj@suse.de>
6145
6146 [BZ #13594]
6147 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6148 out from...
6149 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6150 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6151 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6152 code changing __hst_map_handle.map.
6153
6154 2012-05-15 Roland McGrath <roland@hack.frob.com>
6155
6156 * configure.in (sysnames): Look for Implies-before and Implies-after
6157 files.
6158 * configure: Regenerated.
6159
6160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6161
6162 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6163 8-byte data alignment with LP_SIZE alignment.
6164
6165 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6166
6167 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6168 into R10_LP.
6169
6170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6171
6172 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6173
6174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6175
6176 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6177 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6178 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6179 Likewise.
6180 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6181
6182 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6183
6184 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6185 (stackinfo_sub_sp): Likewise.
6186
6187 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6188
6189 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6190 RAX_LP.
6191
6192 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6193
6194 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6195 into R*_LP.
6196
6197 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6198
6199 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6200 sizes into R*_LP.
6201
6202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6203
6204 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6205
6206 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6207
6208 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6209 into R11_LP and load __x86_64_shared_cache_size_half into
6210 R8_LP.
6211
6212 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6213
6214 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6215 R8_LP.
6216
6217 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6218
6219 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6220 logb for POWER7.
6221 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6222 logbf for POWER7.
6223 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6224 logbl for POWER7.
6225 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6226 powerpc32/power7/fpu/s_logb.c via #include.
6227 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6228 powerpc32/power7/fpu/s_logbf.c via #include.
6229 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6230 powerpc32/power7/fpu/s_logbl.c via #include.
6231
6232 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6233
6234 * README.libm: Remove file.
6235
6236 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6237
6238 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6239 count for x32. Use R*_LP and omit operand-size suffix.
6240
6241 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6242
6243 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6244 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6245 * sysdeps/x86_64/x32/shlib-versions: New file.
6246
6247 2012-05-14 Roland McGrath <roland@hack.frob.com>
6248
6249 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6250 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6251 Use _dl_fatal_printf instead.
6252
6253 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6254
6255 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6256 set if not set by the user. Do not allow for being unset.
6257 * sysdeps/unix/sysv/linux/configure: Regenerated.
6258
6259 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6260
6261 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6262 the `q' suffix from lea and replace .quad with ASM_ADDR.
6263
6264 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6265
6266 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6267 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6268 instead of $17.
6269 (PTR_DEMANGLE): Likewise.
6270
6271 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6272
6273 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6274 (LP_OP): Likewise.
6275 (ASM_ADDR): Likewise.
6276 (RAX_LP): Likewise.
6277 (RBP_LP): Likewise.
6278 (RBX_LP): Likewise.
6279 (RCX_LP): Likewise.
6280 (RDI_LP): Likewise.
6281 (RSI_LP): Likewise.
6282 (RSP_LP): Likewise.
6283 (R8_LP): Likewise.
6284 (R9_LP): Likewise.
6285 (R10_LP): Likewise.
6286 (R10_LP): Likewise.
6287 (R11_LP): Likewise.
6288 (R12_LP): Likewise.
6289 (R13_LP): Likewise.
6290 (R14_LP): Likewise.
6291 (R15_LP): Likewise.
6292
6293 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6294
6295 * sysdeps/x86_64/x32/dl-machine.h: New file.
6296
6297 2012-05-14 Andreas Jaeger <aj@suse.de>
6298
6299 * manual/Makefile (subdir): Remove export of subdir.
6300 (all): Remove target.
6301 (.PHONY): Remove all from list.
6302 (mkinstalldirs): Remove.
6303 (.PHONY): Remove installdirs from list.
6304 ($(inst_infodir)/libc.info): Use make-target-directory.
6305 (installdirs): Remove.
6306 (subdir_%): Remove.
6307 (glibc-targets): Remove.
6308 (lib): Remove.
6309 (stubs): Remove.
6310 ($(objpfx)stubs ../po/manual.pot): Remove.
6311 ($(objpfx)stamp%): Remove.
6312 (make-target-directory): Remove.
6313 (subdir_install): Remove.
6314 (routines): Remove.
6315 (aux): Remove.
6316 (sources): Remove.
6317 (objects): Remove.
6318 (headers): Remove.
6319
6320 [BZ #13750]
6321 * manual/.gitignore: Remove, it's not needed anymore.
6322 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6323 all files in it.
6324 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6325 directory.
6326 (texis): Renamed to $(objpfx)texis.
6327 (texis-path): New, contains path to generated files.
6328 (chapters.%): Use texis-path for complete path, add extra argument
6329 libc-texinfo.sh.
6330 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6331 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6332 (summary,texi, stamp-summary): Use complete path of
6333 files. Generate files in build dir.
6334 (dir-add.texi): Build in build dir.
6335 (libm-err.texi,stamp-libm-err): Likewise.
6336 (version.texi, stamp-version): Likewise.
6337 (.%c.texi): Likewise.
6338 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6339 (mostlyclean): Remove target.
6340 (realclean): Remove target.
6341 (generated): Add new variable with contents from mostlyclean and
6342 realclean, remove entries duplicated in common-mostlyclean, add
6343 stamp-libm-err and stamp-version.
6344 (generated-dirs): Add libc directory.
6345 ($(inst_infodir)/libc.info): Install files from build dir.
6346
6347 * manual/install.texi (Configuring and compiling): Adjust since
6348 the info files are not part of the tar ball anymore.
6349
6350 2012-05-14 Andreas Jaeger <aj@suse.de>
6351
6352 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6353 variable.
6354
6355 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6356
6357 [BZ #13717]
6358 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6359 to 2.2.0 where earlier.
6360 * sysdeps/unix/sysv/linux/configure: Regenerated.
6361 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6362 Remove conditional code.
6363 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6364 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6365 Remove conditional code.
6366 [!__NR_lchown]: Likewise.
6367 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6368 [__NR_lchown]: Likewise.
6369 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6370 comment referencing __ASSUME_LCHOWN_SYSCALL.
6371 * sysdeps/unix/sysv/linux/i386/sigaction.c
6372 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6373 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6374 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6375 Remove conditional code.
6376 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6377 (__protocol_available): Remove #if 0 code.
6378 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6379 conditional code.
6380 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6381 * sysdeps/unix/sysv/linux/kernel-features.h
6382 (__ASSUME_GETCWD_SYSCALL): Don't define.
6383 (__ASSUME_REALTIME_SIGNALS): Likewise.
6384 (__ASSUME_PREAD_SYSCALL): Likewise.
6385 (__ASSUME_PWRITE_SYSCALL): Likewise.
6386 (__ASSUME_POLL_SYSCALL): Likewise.
6387 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6388 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6389 non-SPARC.
6390 (__ASSUME_SIOCGIFNAME): Don't define.
6391 (__ASSUME_MSG_NOSIGNAL): Likewise.
6392 (__ASSUME_SENDFILE): Define unconditionally.
6393 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6394 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6395 conditional code.
6396 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6397 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6398 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6399 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6400 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6401 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6402 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6404 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6405 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6407 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6408 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6410 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6411 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6413 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6414 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6416 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6417 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6419 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6420 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6422 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6423 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6425 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6426 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6427 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6428 Remove conditional code.
6429 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6430 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6431 Remove conditional code.
6432 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6433 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6434 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6435 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6436 Remove conditional code.
6437 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6438 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6439 Remove conditional code.
6440 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6441 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6442 Remove conditional code.
6443 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6444 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6445 Remove conditional code.
6446 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6447 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6448 Remove conditional code.
6449 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6450 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6451 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6452 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6453 * sysdeps/unix/sysv/linux/sigaction.c
6454 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6455 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6456 * sysdeps/unix/sysv/linux/sigpending.c
6457 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6458 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6459 * sysdeps/unix/sysv/linux/sigprocmask.c
6460 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6461 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6462 * sysdeps/unix/sysv/linux/sigsuspend.c
6463 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6464 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6465 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6466 (__libc_missing_rt_sigs): Remove.
6467 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6468 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6469 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6470 Remove conditional code.
6471 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6472 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6473 return 1.
6474 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6475 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6476 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6477 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6478
6479 2012-05-14 Andreas Jaeger <aj@suse.de>
6480
6481 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6482 it's not used in glibc.
6483 (__coshm1): Likewise.
6484 (__acosh1p): Likewise.
6485 (__sgn): Likewise.
6486
6487 * manual/string.texi (Copying and Concatenation): Add missing
6488 variable in concat example.
6489 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6490
6491 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6492
6493 [BZ #14103]
6494 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6495 __builtin_clzl with __builtin_clzll.
6496
6497 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6498
6499 [BZ #14104]
6500 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6501 libc_freeres_ptr.
6502
6503 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6504
6505 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6506 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6507 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6508 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6509
6510 2012-05-14 Mike Frysinger <vapier@gentoo.org>
6511
6512 * NEWS: Update ia64 info.
6513
6514 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6515
6516 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6517 used as bcopy.
6518
6519 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6520
6521 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6522 * sysdeps/unix/syscalls.list (dup3): Likewise.
6523 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6524 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6525
6526 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6527
6528 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6529 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6530
6531 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6532
6533 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6534 thread pointer.
6535 (TLS_IE): Use mov/add instead of movq/addq to load thread
6536 pointer.
6537 (TLS_GD_PREFIX): New.
6538 (TLS_GD): Use it.
6539
6540 2012-05-11 David S. Miller <davem@davemloft.net>
6541
6542 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6543 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6544 (_FPU_SETCW): Likewise.
6545
6546 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6547
6548 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6549 is 32-byte aligned.
6550
6551 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6552
6553 [BZ #11837]
6554 * iconvdata/gb18030.c: Update tables.
6555 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6556 characters specially.
6557 (BODY for TO_LOOP): Add encoding of missing ranges.
6558
6559 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6560
6561 [BZ #13673]
6562 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6563 * sysdeps/mach/hurd/dup3.c: Likewise.
6564 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6565 * sysdeps/powerpc/memmove.c:: Likewise.
6566
6567 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6568
6569 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6570 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6571
6572 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6573
6574 * elf/elf.h (R_X86_64_RELATIVE64): New.
6575 (R_X86_64_NUM): Updated.
6576 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6577 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6578 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6579 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6580 tst-quad1pie tst-quad2pie
6581 (modules-names): Add tst-quadmod1 tst-quadmod2.
6582 ($(objpfx)tst-quad1): New dependency.
6583 ($(objpfx)tst-quad2): Likewise.
6584 ($(objpfx)tst-quad1pie): Likewise.
6585 ($(objpfx)tst-quad2pie): Likewise.
6586 * sysdeps/x86_64/tst-quad1.c: New file.
6587 * sysdeps/x86_64/tst-quad1pie.c: New file.
6588 * sysdeps/x86_64/tst-quad2.c: Likewise.
6589 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6590 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6591 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6592 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6593 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6594
6595 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6596
6597 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6598 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6599 * streams/stropts.h (t_scalar_t): Define type.
6600
6601 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6602 (_PATH_PRESERVE): Set to "/var/lib".
6603 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6604
6605 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6606 instead of int.
6607
6608 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6609 if __dir_mkfile succeeded.
6610
6611 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6612 checking for _hurd_dtablesize. Unlock it right after having
6613 finished _hurd_dtable allocation.
6614
6615 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6616
6617 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6618 * sysdeps/mach/hurd/configure: Regenerated.
6619 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6620 special-casing to...
6621 * sysdeps/gnu/configure.in: ... this new file.
6622 * sysdeps/unix/sysv/linux/configure: Regenerated.
6623 * sysdeps/gnu/configure: New generated file.
6624
6625 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6626 for Linux: use nsec instead of usec, as well as:
6627 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6628 members of type struct timespec.
6629 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6630 New macros.
6631 (struct stat64): Likewise.
6632 (_STATBUF_ST_NSEC): New macro.
6633 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6634
6635 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6636 __strtoul_internal rather than strtoul.
6637
6638 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6639
6640 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6641 and reject them.
6642
6643 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6644
6645 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6646 which preserves existing values.
6647 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6648
6649 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6650
6651 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6652 TIMEOUT values. Return EINVAL for NFDS values either negative or
6653 greater than FD_SETSIZE.
6654
6655 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6656
6657 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6658 allocated, call __vm_protect to finish enabling the existing space, and
6659 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6660 allocate the remainder.
6661
6662 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6663
6664 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6665 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6666
6667 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6668
6669 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6670 sysdeps/mach/hurd/readlink.c.
6671
6672 * posix/tst-sysconf.c (posix_options): Only use
6673 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6674 _POSIX_SYNCHRONIZED_IO when they are defined
6675 * sysdeps/mach/hurd/bits/posix_opt.h:
6676 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6677 (_XOPEN_REALTIME): Undefine macro.
6678 (_XOPEN_REALTIME_THREADS): Undefine macro.
6679 (_XOPEN_SHM): Undefine macro.
6680 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6681 macro to -1.
6682 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6683 macro to -1.
6684 (_POSIX_ASYNC_IO): Undefine macro.
6685 (_POSIX_PRIORITIZED_IO): Undefine macro.
6686 (_POSIX_SPIN_LOCKS): Define macro to -1.
6687
6688 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6689 SA_NODEFER, SA_RESETHAND.
6690 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6691 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6692 F_DUPFD_CLOEXEC.
6693
6694 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6695
6696 * elf/Makefile (pldd-modules): Define unconditionally.
6697
6698 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6699
6700 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6701
6702 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6703
6704 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6705 Return ENOENT when name is empty.
6706 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6707
6708 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6709
6710 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6711
6712 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6713
6714 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6715
6716 Fix mlock in all cases except non-readable pages.
6717 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6718 instead of VM_PROT_ALL as parameter to __vm_wire function.
6719
6720 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6721 (__mkdir): When path is `/', just fail with EEXIST.
6722 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6723
6724 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6725
6726 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6727 <sys/uio.h> (for writev).
6728 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6729 and <sys/param.h> (for MIN).
6730
6731 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6732
6733 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6734 REQUESTED_TIME. Properly set the remaining time and return EINTR
6735 if interrupted.
6736
6737 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6738
6739 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6740 Depend on against $(link-rpcuserlibs).
6741
6742 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6743
6744 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6745 (__libc_stack_end): Do not use attribute_relro.
6746 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6747 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6748 to libthread-provided value.
6749 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6750 attribute_relro.
6751
6752 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6753
6754 [BZ #3748]
6755 * bits/libc-lock.h (__libc_once_get): New macro.
6756 * sysdeps/mach/bits/libc-lock.h: Likewise.
6757 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6758 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6759 instead of using implementation details.
6760
6761 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6762 * libio/freopen.c: Likewise.
6763 * libio/freopen64.c: Likewise.
6764 * misc/syslog.c: Likewise.
6765 * nscd/connections.c: Likewise.
6766 * nscd/netgroupcache.c: Likewise.
6767 * sysdeps/posix/getcwd.c: Likewise.
6768
6769 2012-05-10 Roland McGrath <roland@hack.frob.com>
6770
6771 * math/w_ilogbf.c: Add #include <limits.h>.
6772
6773 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6774
6775 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6776 path instead of returning without unlocking.
6777
6778 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6779 immediate-write ioctls.
6780 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6781
6782 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6783
6784 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6785 __builtin_frame_address instead of making assumptions about the
6786 location of the return address relative to DATA. Force early load of
6787 the return address.
6788 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6789 __builtin_frame_address.
6790
6791 dup3 for GNU Hurd.
6792 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6793 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6794 implement dup3 and do some further code clean-ups.
6795 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6796 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6797
6798 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6799
6800 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6801
6802 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6803 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6804 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6805 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6806 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6807 d->port.lock.
6808
6809 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6810 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6811 when handler == SIG_ERR, not when handler != SIG_ERR.
6812
6813 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6814
6815 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6816 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6817 definitions.
6818
6819 accept4 for GNU Hurd.
6820 * include/sys/socket.h (__libc_accept4): New prototype.
6821 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6822 to implement __libc_accept4.
6823 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6824 __libc_accept4.
6825 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6826
6827 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6828 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6829 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6830 signal-defines.sym.
6831
6832 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6833
6834 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6835
6836 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6837
6838 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6839 assertion on O_CLOEXEC flag.
6840 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6841 * hurd/intern-fd.c: Likewise.
6842 * hurd/port2fd.c: Likewise.
6843
6844 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6845
6846 [BZ #3906]
6847 * bits/in.h (IPV6_PKTINFO): Define new macro.
6848 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6849
6850 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6851
6852 [BZ #13954]
6853 [BZ #13955]
6854 [BZ #13956]
6855 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6856 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6857 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6858 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6859 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6860 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6861 * math/libm-test.inc (logb_test) : Additional logb tests.
6862
6863 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6864 Andreas Jaeger <aj@suse.de>
6865
6866 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6867 * configure: Regenerated.
6868 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6869 * config.make.in (link-obsolete-rpc): New substituted variable.
6870 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6871 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6872 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6873 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6874 so that libc.a contains the symbols.
6875 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6876 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6877 * sunrpc/auth_none.c: Likewise.
6878 * sunrpc/auth_unix.c: Likewise.
6879 * sunrpc/authdes_prot.c: Likewise.
6880 * sunrpc/authuxprot.c: Likewise.
6881 * sunrpc/clnt_gen.c: Likewise.
6882 * sunrpc/clnt_perr.c: Likewise.
6883 * sunrpc/clnt_raw.c: Likewise.
6884 * sunrpc/clnt_simp.c: Likewise.
6885 * sunrpc/clnt_tcp.c: Likewise.
6886 * sunrpc/clnt_udp.c: Likewise.
6887 * sunrpc/clnt_unix.c: Likewise.
6888 * sunrpc/des_crypt.c: Likewise.
6889 * sunrpc/des_soft.c: Likewise.
6890 * sunrpc/get_myaddr.c: Likewise.
6891 * sunrpc/key_call.c: Likewise.
6892 * sunrpc/key_prot.c: Likewise.
6893 * sunrpc/netname.c: Likewise.
6894 * sunrpc/pm_getmaps.c: Likewise.
6895 * sunrpc/pm_getport.c: Likewise.
6896 * sunrpc/pmap_clnt.c: Likewise.
6897 * sunrpc/pmap_prot.c: Likewise.
6898 * sunrpc/pmap_prot2.c: Likewise.
6899 * sunrpc/pmap_rmt.c: Likewise.
6900 * sunrpc/publickey.c: Likewise.
6901 * sunrpc/rpc_cmsg.c: Likewise.
6902 * sunrpc/rpc_common.c: Likewise.
6903 * sunrpc/rpc_dtable.c: Likewise.
6904 * sunrpc/rpc_prot.c: Likewise.
6905 * sunrpc/rpc_thread.c: Likewise.
6906 * sunrpc/rtime.c: Likewise.
6907 * sunrpc/svc.c: Likewise.
6908 * sunrpc/svc_auth.c: Likewise.
6909 * sunrpc/svc_raw.c: Likewise.
6910 * sunrpc/svc_run.c: Likewise.
6911 * sunrpc/svc_tcp.c: Likewise.
6912 * sunrpc/svc_udp.c: Likewise.
6913 * sunrpc/svc_unix.c: Likewise.
6914 * sunrpc/svcauth_des.c: Likewise.
6915 * sunrpc/xcrypt.c: Likewise.
6916 * sunrpc/xdr.c: Likewise.
6917 * sunrpc/xdr_array.c: Likewise.
6918 * sunrpc/xdr_float.c: Likewise.
6919 * sunrpc/xdr_intXX_t.c: Likewise.
6920 * sunrpc/xdr_mem.c: Likewise.
6921 * sunrpc/xdr_rec.c: Likewise.
6922 * sunrpc/xdr_ref.c: Likewise.
6923 * sunrpc/xdr_sizeof.c: Likewise.
6924 * sunrpc/xdr_stdio.c: Likewise.
6925
6926 2012-05-10 Roland McGrath <roland@hack.frob.com>
6927
6928 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6929 change. Update copyright years.
6930
6931 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6932
6933 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6934
6935 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6936 Joseph Myers <joseph@codesourcery.com>
6937 Paul Pluzhnikov <ppluzhnikov@google.com>
6938
6939 [BZ #14012]
6940 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6941 requiring rpcgen.
6942 [cross-compiling] (extra-libs): Likewise.
6943 [cross-compiling] (extra-libs-others): Likewise.
6944 [cross-compiling] (librpcsvc-routines): Likewise.
6945 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6946 [cross-compiling] (omit-deps): Likewise.
6947 (sunrpc-CPPFLAGS): New variable.
6948 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6949 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6950 (cross-rpcgen-objs): New variable.
6951 (extra-objs): Append $(cross-rpcgen-objs).
6952 ($(cross-rpcgen-objs)): New rule.
6953 ($(objpfx)cross-rpcgen): Likewise.
6954 (rpcgen-cmd): Define to use $(built-program-file). Expand
6955 comment.
6956 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6957 ($(objpfx)x%.stmp): Likewise.
6958 * sunrpc/proto.h [IS_IN_build] (_): Define.
6959 [IS_IN_build] (_libc_intl_domainname): Likewise.
6960
6961 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6962
6963 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6964 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6965 and R_X86_64_TPOFF64.
6966
6967 2012-05-10 Joseph Myers <joseph@codesourcery.com>
6968
6969 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6970 sysdeps/unix/sysv/syscalls.list.
6971 (stime): Likewise.
6972 (utime): Likewise.
6973 * sysdeps/unix/sysv/syscalls.list: Remove file.
6974
6975 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6976
6977 [BZ #3440]
6978 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6979 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6980 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6981 (__LC_IDENTIFICATION): Make these macros useful in #if
6982 expressions, as required by C99.
6983
6984 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6985
6986 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6987 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6988 after this.
6989
6990 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6991
6992 * stdlib/longlong.h: Updated from GCC.
6993
6994 2012-05-09 Andreas Jaeger <aj@suse.de>
6995
6996 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6997 default is first entry.
6998 (run_mode): Set type.
6999 (main): Remove informal message about syslog.
7000 (options): Fix typo.
7001
7002 [BZ #14053]
7003 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7004 to asm.
7005 (lrint): Likewise.
7006 (llrintf): Likewise.
7007 (llrint): Likewise.
7008 (rint): Likewise.
7009 (rintf): Likewise.
7010 (nearbyint): Likewise.
7011 (nearbyintf): Likewise.
7012
7013 2012-05-09 Andreas Jaeger <aj@suse.de>
7014 Pedro Alves <palves@redhat.com>
7015
7016 * nscd/nscd.c (run_mode): Use enum.
7017 (main): Cleanup coding style issue.
7018
7019 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
7020 Andreas Jaeger <aj@suse.de>
7021
7022 * nscd/nscd.c (go_background): Replaced with...
7023 (run_mode): ... this.
7024 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7025 (options): Add -F --foreground.
7026 (main): Implement it.
7027 (parse_opt): Parse it.
7028
7029 2012-05-09 Andreas Jaeger <aj@suse.de>
7030
7031 [BZ #14083]
7032 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7033 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7034 -Wconversion warning.
7035 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7036 Likewise.
7037
7038 2012-05-09 Joseph Myers <joseph@codesourcery.com>
7039
7040 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7041 == 0.
7042 (LC_ALL): Use macro-int-constant.
7043 (LC_COLLATE): Likewise.
7044 (LC_CTYPE): Likewise.
7045 (LC_MESSAGES): Likewise.
7046 (LC_MONETARY): Likewise.
7047 (LC_NUMERIC): Likewise.
7048 (LC_TIME): Likewise.
7049 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7050 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7051 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7052 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7053 Specify type.
7054 [C99-based standards] (float_t): Expect type.
7055 [C99-based standards] (double_t): Expect type.
7056 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7057 type.
7058 [C99-based standards] (HUGE_VALL): Likewise.
7059 [C99-based standards] (INFINITY): Likewise.
7060 [C99-based standards] (NAN): Likewise.
7061 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7062 [C99-based standards] (FP_NAN): Likewise.
7063 [C99-based standards] (FP_NORMAL): Likewise.
7064 [C99-based standards] (FP_SUBNORMAL): Likewise.
7065 [C99-based standards] (FP_ZERO): Likewise.
7066 [C99-based standards] (FP_FAST_FMA): Use
7067 optional-macro-int-constant. Specify type. Require == 1.
7068 [C99-based standards] (FP_FAST_FMAF): Likewise.
7069 [C99-based standards] (FP_FAST_FMAL): Likewise.
7070 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7071 [C99-based standards] (FP_ILOGBNAN): Likewise.
7072 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7073 Specify type.
7074 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7075 [C99-based standards] (math_errhandling): Specify type.
7076 [ISO99 || ISO11] (signgam): Do not allow.
7077 [non-C99-based standards] (copysignf): Do not allow.
7078 [non-C99-based standards] (exp2f): Likewise.
7079 [non-C99-based standards] (log2f): Likewise.
7080 [non-C99-based standards] (modff): Allow.
7081 [non-C99-based standards] (erff): Do not allow.
7082 [non-C99-based standards] (erfcf): Likewise.
7083 [non-C99-based standards] (gammaf): Likewise.
7084 [non-C99-based standards] (hypotf): Likewise.
7085 [non-C99-based standards] (j0f): Likewise.
7086 [non-C99-based standards] (j1f): Likewise.
7087 [non-C99-based standards] (jnf): Likewise.
7088 [non-C99-based standards] (lgammaf): Likewise.
7089 [non-C99-based standards] (tgammaf): Likewise.
7090 [non-C99-based standards] (y0f): Likewise.
7091 [non-C99-based standards] (y1f): Likewise.
7092 [non-C99-based standards] (ynf): Likewise.
7093 [non-C99-based standards] (isnanf): Likewise.
7094 [non-C99-based standards] (acoshf): Likewise.
7095 [non-C99-based standards] (asinhf): Likewise.
7096 [non-C99-based standards] (atanhf): Likewise.
7097 [non-C99-based standards] (cbrtf): Likewise.
7098 [non-C99-based standards] (expm1f): Likewise.
7099 [non-C99-based standards] (ilogbf): Likewise.
7100 [non-C99-based standards] (log1pf): Likewise.
7101 [non-C99-based standards] (logbf): Likewise.
7102 [non-C99-based standards] (nextafterf): Likewise.
7103 [non-C99-based standards] (remainderf): Likewise.
7104 [non-C99-based standards] (rintf): Likewise.
7105 [non-C99-based standards] (scalbf): Likewise.
7106 [non-C99-based standards] (copysignl): Likewise.
7107 [non-C99-based standards] (exp2l): Likewise.
7108 [non-C99-based standards] (log2l): Likewise.
7109 [non-C99-based standards] (modfl): Allow.
7110 [non-C99-based standards] (erfl): Do not allow.
7111 [non-C99-based standards] (erfcl): Likewise.
7112 [non-C99-based standards] (gammal): Likewise.
7113 [non-C99-based standards] (hypotl): Likewise.
7114 [non-C99-based standards] (j0l): Likewise.
7115 [non-C99-based standards] (j1l): Likewise.
7116 [non-C99-based standards] (jnl): Likewise.
7117 [non-C99-based standards] (lgammal): Likewise.
7118 [non-C99-based standards] (tgammal): Likewise.
7119 [non-C99-based standards] (y0l): Likewise.
7120 [non-C99-based standards] (y1l): Likewise.
7121 [non-C99-based standards] (ynl): Likewise.
7122 [non-C99-based standards] (isnanl): Likewise.
7123 [non-C99-based standards] (acoshl): Likewise.
7124 [non-C99-based standards] (asinhl): Likewise.
7125 [non-C99-based standards] (atanhl): Likewise.
7126 [non-C99-based standards] (cbrtl): Likewise.
7127 [non-C99-based standards] (expm1l): Likewise.
7128 [non-C99-based standards] (ilogbl): Likewise.
7129 [non-C99-based standards] (log1pl): Likewise.
7130 [non-C99-based standards] (logbl): Likewise.
7131 [non-C99-based standards] (nextafterl): Likewise.
7132 [non-C99-based standards] (remainderl): Likewise.
7133 [non-C99-based standards] (rintl): Likewise.
7134 [non-C99-based standards] (scalbl): Likewise.
7135 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7136 [non-C99-based standards] (FP_*): Do not allow.
7137 [C99-based standards] (FP_*): Change to
7138 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7139 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7140 allow.
7141 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7142 (SIG_ERR): Likewise.
7143 [X/Open-based standards] (SIG_HOLD): Likewise.
7144 (SIG_IGN): Likewise.
7145 (SIGABRT): Use macro-int-constant. Specify type. Require
7146 positive value.
7147 (SIGFPE): Likewise.
7148 (SIGILL): Likewise.
7149 (SIGINT): Likewise.
7150 (SIGSEGV): Likewise.
7151 (SIGTER): Likewise.
7152 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7153 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7154 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7155 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7156 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7157 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7158 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7159 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7160 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7161 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7162 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7163 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7164 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7165 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7166 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7167 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7168 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7169 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7170 [X/Open-based standards] (SIGTRAP): Likewise.
7171 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7172 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7173 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7174 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7175 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7176 allow.
7177
7178 2012-05-08 Ian Wienand <ianw@vmware.com>
7179
7180 [BZ #14080]
7181 * time/tzset.c (__tzset_parse_tz): Update default rules for
7182 daylight time changes in the Energy Policy Act of 2005.
7183
7184 2012-05-09 Andreas Jaeger <aj@suse.de>
7185
7186 [BZ #13983]
7187 * elf/ldconfig.c (parse_conf): Change string to make clear that
7188 ldconfig only issued a warning if ld.so.conf does not exist.
7189
7190 2012-05-08 David S. Miller <davem@davemloft.net>
7191
7192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7193 movxtod instead of popping the value on the stack.
7194
7195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7196
7197 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7198
7199 * config.h.in: Add HAVE_ARM_PCS_VFP.
7200
7201 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
7202
7203 [BZ #13979]
7204 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7205 checking but the checks are disabled for any reason.
7206
7207 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7208
7209 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7210 and ELF64_R_TYPE with ELFW(R_TYPE).
7211
7212 2012-05-08 Joseph Myers <joseph@codesourcery.com>
7213
7214 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7215 (ulimit): Likewise.
7216
7217 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7218 (settimeofday): Likewise.
7219
7220 2012-05-08 Mike Frysinger <vapier@gentoo.org>
7221
7222 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7223 a struct th_u2 inside the union, and move tu_block/tu_code into
7224 a new th_u3 union of tu_block/tu_code inside of that. Move
7225 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7226 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7227 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7228 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7229 (th_stuff): Change to th_u1.tu_stuff.
7230 (th_data): Define.
7231 (th_msg): Change to th_u1.th_u2.tu_data.
7232
7233 2012-05-07 David S. Miller <davem@davemloft.net>
7234
7235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7236
7237 [BZ #14074]
7238 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7239 (SETUP_PIC_REG): Use it.
7240 (SETUP_PIC_REG_LEAF): Use it.
7241
7242 2012-05-07 Joseph Myers <joseph@codesourcery.com>
7243
7244 [BZ #13885]
7245 [BZ #13923]
7246 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7247 USE_AS_EXPM1L.
7248 (EXPL_FINITE): Likewise.
7249 (FLDLOG): Likewise.
7250 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7251 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7252 e_expl.S.
7253 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7254 USE_AS_EXPM1L.
7255 (EXPL_FINITE): Likewise.
7256 (FLDLOG): Likewise.
7257 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7258 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7259 e_expl.S.
7260 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7261 test of -max_value argument for long double.
7262 * sysdeps/i386/fpu/libm-test-ulps: Update.
7263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7264
7265 2012-05-06 David S. Miller <davem@davemloft.net>
7266
7267 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7268 quad soft-float symbols whose references which are compiler
7269 generated.
7270 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7271
7272 2012-05-06 Joseph Myers <joseph@codesourcery.com>
7273
7274 [BZ #13884]
7275 [BZ #13914]
7276 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7277 USE_AS_EXP10L.
7278 (EXPL_FINITE): Likewise.
7279 (FLDLOG): Likewise.
7280 (c0): Likewise.
7281 (c1): Likewise.
7282 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7283 Adjust comments for base varying.
7284 (__expl_finite): Change alias to EXPL_FINITE.
7285 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7286 e_expl.S.
7287 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7288 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7290 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7291 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7292 USE_AS_EXP10L.
7293 (EXPL_FINITE): Likewise.
7294 (FLDLOG): Likewise.
7295 (c0): Likewise.
7296 (c1): Likewise.
7297 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7298 Adjust comments for base varying.
7299 (__expl_finite): Change alias to EXPL_FINITE.
7300 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7301 tests for bugs.
7302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7303
7304 [BZ #14064]
7305 * math/libm-test.inc (check_float_internal): Correct ulp
7306 calculation for subnormal expected results.
7307
7308 2012-05-06 Andreas Jaeger <aj@suse.de>
7309
7310 * Makeconfig (+math-flags): New, set to -frounding-math.
7311 (+cflags): Add +math-flags so that all of glibc gets compiled with
7312 it.
7313
7314 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7315
7316 2012-05-05 Joseph Myers <joseph@codesourcery.com>
7317
7318 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7319 Disable one test.
7320
7321 [BZ #13787]
7322 [BZ #13922]
7323 [BZ #14036]
7324 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7325 (__ieee754_expl): Allow for and saturate large arguments.
7326 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7327 (u_threshold): Likewise.
7328 (__exp): Call __ieee754_exp before checking for overflow and
7329 underflow.
7330 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7331 (u_threshold): Likewise.
7332 (__expf): Call __ieee754_expf before checking for overflow and
7333 underflow.
7334 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7335 (u_threshold): Likewise.
7336 (__expl): Call __ieee754_expl before checking for overflow and
7337 underflow.
7338 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7339 (__ieee754_expl): Allow for and saturate large arguments.
7340 * math/libm-test.inc (exp_test): Add another test. Do not allow
7341 missing overflow exception on overflow.
7342 (expm1_test): Do not allow missing overflow exception on overflow.
7343
7344 * sysdeps/i386/fpu/e_expl.c: Move to ...
7345 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7346 rather than using inline asm.
7347 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7348 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7349 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7350
7351 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7352 (nice): Likewise.
7353 (poll): Likewise.
7354 (signal): Likewise.
7355 (time): Likewise.
7356 (times): Likewise.
7357
7358 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7359
7360 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7361 sysdeps/unix/common/syscalls.list.
7362 (fchmod): Likewise.
7363 (fchown): Likewise.
7364 (ftruncate): Likewise.
7365 (getrusage): Likewise.
7366 (gettimeofday): Likewise.
7367 (setpgid): Likewise.
7368 (setregid): Likewise.
7369 (setreuid): Likewise.
7370 (sigaction): Likewise.
7371 (truncate): Likewise.
7372 (vhangup): Likewise.
7373 * sysdeps/unix/common/syscalls.list: Remove file.
7374 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7375 * sysdeps/unix/sysv/linux/Implies: Likewise.
7376
7377 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7378
7379 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7381 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7382 Moved to ...
7383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7384 Here.
7385 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7386 to ...
7387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7388 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7389 to ...
7390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7391 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7392 to ...
7393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7394 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7395 to ...
7396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7397 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7398 to ...
7399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7400 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7401 to ...
7402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7403 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7404 to ...
7405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7406 Here.
7407 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7408 to ...
7409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7410 Here.
7411 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7412 to ...
7413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7414 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7415 Moved to ...
7416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7417 Here.
7418 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7419 to ...
7420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7421
7422 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7423
7424 * sysdeps/unix/common/bits/dirent.h: Remove file.
7425 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7426
7427 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7428 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7429 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7430 * sysdeps/unix/bsd/isatty.c: Likewise.
7431 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7432 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7433 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7434
7435 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7436
7437 [BZ #13563]
7438 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7439 long double comparison inaccuracies.
7440 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7442
7443 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7444
7445 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7446 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7447
7448 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7449
7450 [BZ #14049]
7451 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7452 nonzero digits before rounding a hex value.
7453 * stdlib/tst-strtod.c (tests): Add another test.
7454
7455 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7456
7457 * sysdeps/s390/fpu/libm-test-ulps: Update.
7458
7459 2012-05-03 Andreas Jaeger <aj@suse.de>
7460
7461 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7462 does not get optimized out.
7463 (malloc_opt_barrier): New.
7464
7465 2012-05-03 Andreas Jaeger <aj@suse.de>
7466 Roland McGrath <roland@hack.frob.com>
7467
7468 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
7469 intermediate file deletion.
7470 (generated): Add .symlist files.
7471
7472 2012-05-03 Joseph Myers <joseph@codesourcery.com>
7473
7474 [BZ #13775]
7475 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7476 Redirect under this condition.
7477 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7478 [__USE_GNU] (__dprintf_chk): Not under this condition.
7479 [__USE_GNU] (__vdprintf_chk): Likewise.
7480 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7481 under this condition.
7482 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7483 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7484 [__USE_XOPEN2K8] (vdprintf): Likewise.
7485 [__USE_GNU] (__dprintf_chk): Not under this condition.
7486 [__USE_GNU] (__vdprintf_chk): Likewise.
7487 [__USE_GNU] (dprintf): Likewise.
7488 [__USE_GNU] (vdprintf): Likewise.
7489
7490 2012-05-03 Roland McGrath <roland@hack.frob.com>
7491
7492 * elf/Makefile (common-generated): Set this instead of generated for
7493 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7494 $(all-built-dso)-derived lists.
7495
7496 2012-05-03 Andreas Jaeger <aj@suse.de>
7497
7498 * sysdeps/i386/fpu/libm-test-ulps: Update.
7499
7500 * FAQ: Removed.
7501 * FAQ.in: Likewise.
7502 * scripts/gen-FAQ.pl: Likewise.
7503 * manual/install.texi (Installation): Point to online location of
7504 FAQ.
7505 * Makefile (files-for-dist): Remove FAQ.
7506 (FAQ): Remove.
7507
7508 2012-05-02 Allan McRae <allan@archlinux.org>
7509
7510 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7511 (LDFLAGS-reldepmod5.so): Likewise.
7512 (LDFLAGS-reldep6mod1.so): Likewise.
7513 (LDFLAGS-reldep6mod4.so): Likewise.
7514 (LDFLAGS-reldep8mod3.so): Likewise.
7515 (LDFLAGS-unload4mod1.so): Likewise.
7516 (LDFLAGS-unload4mod2.so): Likewise.
7517 (LDFLAGS-tst-initorder): Likewise.
7518 (LDFLAGS-tst-initordera2.so): Likewise.
7519 (LDFLAGS-tst-initordera3.so): Likewise.
7520 (LDFLAGS-tst-initordera4.so): Likewise.
7521 (LDFLAGS-tst-initorderb2.so): Likewise.
7522 (LDFLAGS-noload): Likewise.
7523 (LDFLAGS-next): Likewise.
7524 (LDFLAGS-order2mod1.so): Likewise.
7525 (LDFLAGS-order2mod2.so): Likewise.
7526 (LDFLAGS-tst-initorder2): Likewise.
7527 (LDFLAGS-tst-initorder2a.so): Likewise.
7528 (LDFLAGS-tst-initorder2b.so): Likewise.
7529 (LDFLAGS-tst-initorder2c.so): Likewise.
7530 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7531
7532 2012-05-02 David S. Miller <davem@davemloft.net>
7533
7534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7535
7536 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7537
7538 [BZ #14055]
7539 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7540
7541 2012-05-02 Andreas Jaeger <aj@suse.de>
7542
7543 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7544 since we manipulate rounding mode.
7545 (CPPFLAGS-test-idouble.c): Likewise.
7546 (CPPFLAGS-test-ifloat.c): Likewise.
7547 (CFLAGS-test-ldouble.c): Likewise.
7548 (CFLAGS-test-double.c): Likewise.
7549 (CFLAGS-test-float.c): Likewise.
7550 (CFLAGS-test-misc.c): Likewise.
7551 (CFLAGS-test-test-fenv.c): Likewise.
7552
7553 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7554
7555 [BZ #2550]
7556 [BZ #2570]
7557 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7558 comparisons to determine direction to adjust input.
7559
7560 2012-05-01 Roland McGrath <roland@hack.frob.com>
7561
7562 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7563 output to the target.
7564
7565 * scripts/localplt.awk: New file.
7566 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7567 (check-localplt-CFLAGS): Variable removed.
7568 ($(all-built-dso:=.jmprel)): New static pattern rule.
7569 (generated): Add those targets.
7570 (localplt-built-dso): New variable.
7571 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7572
7573 * elf/check-localplt.c: File removed.
7574
7575 * scripts/check-execstack.awk: New file.
7576 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7577 (check-execstack-CFLAGS): Variable removed.
7578 ($(objpfx)check-execstack.h): Target removed.
7579 ($(objpfx)execstack-default): New target.
7580 (generated): Add that instead of check-execstack.h.
7581 ($(all-built-dso:=.phdr)): New static pattern rule.
7582 (generated): Add those targets.
7583 * elf/check-execstack.c: File removed.
7584
7585 * scripts/check-textrel.awk: New file.
7586 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7587 (check-textrel-CFLAGS): Variable removed.
7588 (all-built-dso): Use := to define.o
7589 ($(all-built-dso:=.dyn)): New static pattern rule.
7590 (generated): Add those targets.
7591 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7592 * config.make.in (READELF): New substituted variable.
7593 * elf/check-textrel.c: File removed.
7594
7595 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7596
7597 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7598 allow.
7599 * conform/data/ctype.h-data [C99-based standards] (isblank):
7600 Expect function.
7601 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7602 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7603 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7604 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7605 Specify type. Require positive value.
7606 (EILSEQ): Likewise.
7607 (ERANGE): Likewise.
7608 [ISO || POSIX] (EILSEQ): Do not expect.
7609 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7610 Specify type. Require positive value.
7611 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7612 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7613 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7614 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7615 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7616 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7617 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7618 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7619 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7620 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7621 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7622 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7623 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7624 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7625 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7626 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7627 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7628 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7629 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7630 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7631 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7632 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7633 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7634 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7635 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7636 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7637 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7638 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7639 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7640 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7641 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7642 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7643 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7644 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7645 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7646 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7647 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7648 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7649 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7650 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7651 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7652 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7653 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7654 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7655 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7656 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7657 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7658 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7659 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7660 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7661 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7662 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7663 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7664 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7665 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7666 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7667 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7668 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7669 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7670 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7671 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7672 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7673 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7674 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7675 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7676 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7677 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7678 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7679 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7680 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7681 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7682 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7683 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7684 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7685 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7686 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7687 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7688 Require >= 2.
7689 (FLT_ROUNDS): Expect as macro, not constant.
7690 (FLT_MANT_DIG): Use macro-int-constant.
7691 (DBL_MANT_DIG): Likewise.
7692 (LDBL_MANT_DIG): Likewise.
7693 (FLT_DIG): Likewise.
7694 (DBL_DIG): Likewise.
7695 (LDBL_DIG): Likewise.
7696 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7697 (DBL_MIN_EXP): Likewise.
7698 (LDBL_MIN_EXP): Likewise.
7699 (FLT_MAX_EXP): Use macro-int-constant.
7700 (DBL_MAX_EXP): Likewise.
7701 (LDBL_MAX_EXP): Likewise.
7702 (FLT_MAX_10_EXP): Likewise.
7703 (DBL_MAX_10_EXP): Likewise.
7704 (LDBL_MAX_10_EXP): Likewise.
7705 (FLT_MAX): Use macro-constant.
7706 (DBL_MAX): Likewise.
7707 (LDBL_MAX): Likewise.
7708 (FLT_EPSILON): Use macro-constant. Give upper bound.
7709 (DBL_EPSILON): Likewise.
7710 (LDBL_EPSILON): Likewise.
7711 (FLT_MIN): Likewise.
7712 (DBL_MIN): Likewise.
7713 (LDBL_MIN): Likewise.
7714 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7715 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7716 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7717 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7718 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7719 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7720 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7721 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7722 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7723 [ISO11] (FLT_TRUE_MIN): Likewise.
7724 [ISO11] (LDBL_TRUE_MIN): Likewise.
7725 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7726 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7727 (SCHAR_MIN): Use macro-int-constant. Specify type.
7728 (SCHAR_MAX): Likewise.
7729 (UCHAR_MAX): Likewise.
7730 (CHAR_MIN): Likewise.
7731 (CHAR_MAX): Likewise.
7732 (MB_LEN_MAX): Use macro-int-constant.
7733 (SHRT_MIN): Use macro-int-constant. Specify type.
7734 (SHRT_MAX): Likewise.
7735 (USHRT_MAX): Likewise.
7736 (INT_MAX): Likewise.
7737 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7738 bound negative.
7739 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7740 bound with "U".
7741 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7742 bound with "L".
7743 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7744 bound negative. Suffix upper bound with "L".
7745 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7746 bound with "UL".
7747 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7748 Specify type.
7749 [C99-based standards] (LLONG_MAX): Likewise.
7750 [C99-based standards] (ULLONG_MAX): Likewise.
7751 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7752 == 0.
7753 [ISO11] (max_align_t): Require type.
7754 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7755
7756 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7757 from $CFLAGS, without defining away __attribute__ calls.
7758 (checknamespace): Use $CFLAGS_namespace.
7759
7760 * conform/conformtest.pl (@keywords): Only include C99 keywords
7761 for standards based on C99 or C11.
7762
7763 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7764 Disable tests.
7765 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7766 UNIX98]: Likewise.
7767
7768 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7769 usability of symbols in #if.
7770
7771 * conform/conformtest.pl: If macro or constant types start
7772 "promoted:", expect the symbol to be of the following type
7773 promoted by the integer promotions.
7774
7775 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7776 in one place. Also handle "macro-constant".
7777
7778 * conform/conformtest.pl: Only accept expected macro values with
7779 "==". Parse all "macro" lines in one place.
7780 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7781
7782 * conform/conformtest.pl: Handle braced types on "constant" lines
7783 instead of handling "typed-constant".
7784 * conform/data/signal.h-data: Use "constant" instead of
7785 "typed-constant".
7786
7787 * conform/conformtest.pl: Handle "optional-" at start of lines in
7788 one place rather than duplicating several cases. Handle each
7789 format of "macro" line with initial "optional-".
7790
7791 * conform/conformtest.pl: Only accept expected constant or
7792 optional-constant values with "==". Parse all "constant" lines in
7793 one place. Parse all "optional-constant" lines in one place.
7794 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7795 * conform/data/fmtmsg.h-data: Likewise.
7796 * conform/data/netinet/in.h-data: Likewise.
7797 * conform/data/tar.h-data: Likewise.
7798 * conform/data/limits.h-data: Use "==" form on "constant" and
7799 "optional-constant" lines.
7800
7801 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7802 Use -std=c99 for XOPEN2K.
7803 (@knownproblems): Remove.
7804 (newtoken): Don't check %isknown.
7805
7806 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7807 Do not expect macro.
7808 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7809 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7810 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7811 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7812 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7813 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7814 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7815 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7816 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7817 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7818 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7819 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7820 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7821 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7822 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7823 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7824 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7825 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7826 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7827 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7828 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7829 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7830 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7831 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7832 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7833 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7834 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7835 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7836 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7837 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7838 [XPG3] (acosh): Likewise.
7839 [XPG3] (asinh): Likewise.
7840 [XPG3] (atanh): Likewise.
7841 [XPG3] (cbrt): Likewise.
7842 [XPG3] (expm1): Likewise.
7843 [XPG3] (ilogb): Likewise.
7844 [XPG3] (log1p): Likewise.
7845 [XPG3] (logb): Likewise.
7846 [XPG3] (nextafter): Likewise.
7847 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7848 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7849 [XPG3] (remainder): Likewise.
7850 [XPG3] (rint): Likewise.
7851 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7852 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7853 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7854 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7855 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7856 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7857 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7858 [UNIX98 || XOPEN2K] (scalb): Expect.
7859 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7860 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7861 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7862 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7863 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7864 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7865 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7866 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7867 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7868 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7869 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7870 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7871 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7872 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7873 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7874 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7875 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7876 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7877 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7878 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7879 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7880 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7881 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7882 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7883 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7884 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7885 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7886 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7887 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7888 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7889 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7890 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7891 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7892 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7893 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7894 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7895 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7896 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7897 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7898 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7899 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7900 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7901 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7902 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7903 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7904 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7905 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7906 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7907 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7908 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7909 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7910 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7911 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7912 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7913 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7914 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7915 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7916 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7917 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7918 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7919 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7920 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7921 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7922 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7923 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7924 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7925 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7926 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7927 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7928 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7929 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7930 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7931 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7932 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7933 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7934 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7935 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7936 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7937 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7938 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7939 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7940 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7941 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7942 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7943 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7944 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7945 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7946 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7947 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7948 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7949 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7950 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7951 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7952 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7953 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7954 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7955 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7956 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7957 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7958 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7959 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7960 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7961 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7962 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7963 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7964 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7965 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7966 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7967 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7968 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7969 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7970 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7971 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7972 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7973 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7974 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7975 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7976 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7977 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7978 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7979 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7980 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7981 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7982 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7983 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7984 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7985 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7986 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7987 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7988 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7989 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7990 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7991 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7992 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7993 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7994 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7995 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7996
7997 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7998 _XOPEN_SOURCE_EXTENDED for XPG4.
7999
8000 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8001
8002 * Makeconfig (localtime): Remove variable.
8003 (inst_localtime-file): Likewise.
8004
8005 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8006
8007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8008 Update.
8009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8010 Update.
8011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8012 Update.
8013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8014 Update.
8015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8016 Update.
8017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8018 Update.
8019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8020 Update.
8021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8022 Update.
8023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8024 Update.
8025
8026 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8027
8028 [BZ #2550]
8029 [BZ #2570]
8030 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8031 comparisons to determine direction to adjust input.
8032 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8033 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8034 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8035 Likewise.
8036 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8037 Likewise.
8038 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8039 Likewise.
8040 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8041 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8042 Likewise.
8043 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8044 Likewise.
8045 * math/libm-test.inc (nexttoward_test): Add more tests.
8046
8047 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8048
8049 [BZ #14040]
8050 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8051 in version GLIBC_2.1, not GLIBC_2.0.
8052 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8053 Likewise.
8054
8055 2012-04-30 Joseph Myers <joseph@codesourcery.com>
8056
8057 [BZ #13942]
8058 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8059 (1 - x) * (1 + x).
8060 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8061 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8062 * math/libm-test.inc (acos_test): Add more tests.
8063 (asin_test): Likewise.
8064 * sysdeps/i386/fpu/libm-test-ulps: Update.
8065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8066
8067 [BZ #14034]
8068 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8069 of square root.
8070 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8071 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8072 * math/libm-test.inc (acos_test_tonearest): New function.
8073 (acos_test_towardzero): Likewise.
8074 (acos_test_downward): Likewise.
8075 (acos_test_upward): Likewise.
8076 (asin_test_tonearest): Likewise.
8077 (asin_test_towardzero): Likewise.
8078 (asin_test_downward): Likewise.
8079 (asin_test_upward): Likewise.
8080 (main): Call the new functions.
8081 * sysdeps/i386/fpu/libm-test-ulps: Update.
8082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8083
8084 [BZ #13884]
8085 [BZ #13924]
8086 * math/e_exp10.c: Include <float.h>.
8087 (__ieee754_exp10): Handle underflow here rather than multiplying
8088 large negative argument by M_LN10.
8089 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8090 of __ieee754_expf.
8091 * math/e_exp10l.c: Include <float.h>.
8092 (__ieee754_exp10l): Handle underflow here rather than multiplying
8093 large negative argument by M_LN10l.
8094 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8095 spurious overflow exception on underflow.
8096
8097 2012-04-29 Marek Polacek <polacek@redhat.com>
8098
8099 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8100 (__fortify_function): New macro.
8101 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8102 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8103 __extern_always_inline.
8104 * libio/bits/stdio2.h: Likewise.
8105 * libio/bits/stdio.h: Likewise.
8106 * string/string.h: Likewise.
8107 * string/bits/string3.h: Likewise.
8108 * include/stdio.h: Likewise.
8109 * stdlib/bits/stdlib.h: Likewise.
8110 * stdlib/stdlib.h: Likewise.
8111 * rt/bits/mqueue2.h: Likewise.
8112 * rt/mqueue.h: Likewise.
8113 * posix/bits/unistd.h: Likewise.
8114 * posix/unistd.h: Likewise.
8115 * io/bits/poll2.h: Likewise.
8116 * io/bits/fcntl2.h: Likewise.
8117 * io/fcntl.h: Likewise.
8118 * io/sys/poll.h: Likewise.
8119 * misc/bits/syslog.h: Likewise.
8120 * misc/bits/syslog-ldbl.h: Likewise.
8121 * misc/sys/syslog.h: Likewise.
8122 * socket/bits/socket2.h: Likewise.
8123 * socket/sys/socket.h: Likewise.
8124 * debug/tst-chk1.c: Likewise.
8125 * wcsmbs/bits/wchar2.h: Likewise.
8126 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8127 * wcsmbs/wchar.h: Likewise.
8128
8129 2012-04-29 Andreas Jaeger <aj@suse.de>
8130
8131 * Makerules (tests): Remove enable-check-abi protection.
8132 (check-abi-warn): Remove.
8133 (check-abi-%): Remove check-abi-warn usage.
8134
8135 * configure.in: Remove check-abi configure option.
8136 * configure: Regenerated.
8137 * config.make.in (enable-check-abi): Remove.
8138
8139 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8140
8141 [BZ #14033]
8142 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8143 double functions to double *_finite functions.
8144
8145 [BZ #13941]
8146 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8147 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8148 LDBL_MIN_EXP.
8149 * stdio-common/Makefile (tests): Add tst-sprintf3.
8150 * stdio-common/tst-sprintf3.c: New file.
8151
8152 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8153 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8154
8155 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8156
8157 * conform/conformtest.pl: Remove duplicate typed-constant
8158 handling.
8159
8160 2012-04-28 David S. Miller <davem@davemloft.net>
8161
8162 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8163 (check-abi-%): Remove AWK script prerequisite and explicit
8164 abilist directory.
8165 (check-abi): Rewrite to just diff the symlist with the abilist.
8166 (config-tls, config-abi-config): Delete, no longer used.
8167 (update-abi-%): Remove AWK script and explicit abilist directory.
8168 (update-abi): Rewrite to simply compare and conditionally copy the
8169 symlist and the sysdep abilist file. Remove update-abi-config
8170 checks.
8171 * abilist/ld.abilist: Remove.
8172 * abilist/libBrokenLocale.abilist: Remove.
8173 * abilist/libanl.abilist: Remove.
8174 * abilist/libcrypt.abilist: Remove.
8175 * abilist/libdl.abilist: Remove.
8176 * abilist/librt.abilist: Remove.
8177 * abilist/libthread_db.abilist: Remove.
8178 * abilist/libutil.abilist: Remove.
8179 * scripts/extract-abilist.awk: Remove.
8180 * scripts/merge-abilist.awk: Remove.
8181 * sysdeps/generic/libcidn.abilist: New file.
8182 * sysdeps/generic/libnss_compat.abilist: New file.
8183 * sysdeps/generic/libnss_db.abilist: New file.
8184 * sysdeps/generic/libnss_dns.abilist: New file.
8185 * sysdeps/generic/libnss_files.abilist: New file.
8186 * sysdeps/generic/libnss_hesiod.abilist: New file.
8187 * sysdeps/generic/libnss_nis.abilist: New file.
8188 * sysdeps/generic/libnss_nisplus.abilist: New file.
8189 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8190 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8191 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8192 file.
8193 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8194 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8195 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8196 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8197 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8198 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8199 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8200 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8201 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8202 file.
8203 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8204 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8205 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8206 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8207 file.
8208 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8209 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8210 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8211 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8212 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8213 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8214 file.
8215 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8216 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8217 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8218 file.
8219 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8221 New file.
8222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8223 New file.
8224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8225 New file.
8226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8227 New file.
8228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8229 New file.
8230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8231 New file.
8232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8233 New file.
8234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8235 New file.
8236 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8237 New file.
8238 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8239 New file.
8240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8241 New file.
8242 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8243 New file.
8244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8245 New file.
8246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8247 file.
8248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8249 New file.
8250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8251 New file.
8252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8253 file.
8254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8255 New file.
8256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8257 New file.
8258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8259 file.
8260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8261 New file.
8262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8263 New file.
8264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8265 New file.
8266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8267 New file.
8268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8269 New file.
8270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8271 New file.
8272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8274 file.
8275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8276 New file.
8277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8278 file.
8279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8280 file.
8281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8282 file.
8283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8284 file.
8285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8286 file.
8287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8288 New file.
8289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8290 file.
8291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8292 file.
8293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8294 New file.
8295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8296 file.
8297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8299 file.
8300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8301 New file.
8302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8303 file.
8304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8305 file.
8306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8307 file.
8308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8309 file.
8310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8311 file.
8312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8313 New file.
8314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8315 file.
8316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8317 file.
8318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8319 New file.
8320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8321 file.
8322 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8323 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8324 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8325 file.
8326 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8327 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8328 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8329 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8330 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8331 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8332 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8333 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8334 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8335 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8338 file.
8339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8340 New file.
8341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8342 file.
8343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8344 file.
8345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8346 file.
8347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8348 file.
8349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8350 file.
8351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8352 New file.
8353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8354 New file.
8355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8356 file.
8357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8358 New file.
8359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8360 file.
8361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8363 file.
8364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8365 New file.
8366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8367 file.
8368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8369 file.
8370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8371 file.
8372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8373 file.
8374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8375 file.
8376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8377 New file.
8378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8379 New file.
8380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8381 file.
8382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8383 New file.
8384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8385 file.
8386
8387 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8388
8389 * conform/conformtest.pl: Fix typo in handling typed-constant from
8390 allow-header.
8391
8392 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8393
8394 * README: Cut down references to pre-2.6 Linux kernels and
8395 Linuxthreads. Update lists of configurations in libc and ports
8396 and sort alphabetically. Say "or newer" with Linux kernel version
8397 requirements.
8398
8399 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8400
8401 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8402
8403 [BZ #887]
8404 * math/libm-test.inc (logb_test_downward): New test to expose
8405 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8406 rounding mode.
8407
8408 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8409
8410 [BZ #14027]
8411 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8412 to be done.
8413 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8414 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8415
8416 2012-04-26 Joseph Myers <joseph@codesourcery.com>
8417
8418 * sysdeps/unix/i386/brk.S: Remove file.
8419 * sysdeps/unix/i386/dl-brk.S: Likewise.
8420 * sysdeps/unix/i386/pipe.S: Likewise.
8421 * sysdeps/unix/i386/sigreturn.S: Likewise.
8422 * sysdeps/unix/i386/syscall.S: Likewise.
8423 * sysdeps/unix/i386/vfork.S: Likewise.
8424 * sysdeps/unix/i386/wait.S: Likewise.
8425
8426 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8427 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8428
8429 * configure.in (arm*-none*): Do not allow without
8430 --enable-hacker-mode.
8431 (netbsd*): Remove case setting base_os.
8432 (386bsd*): Likewise.
8433 (freebsd*): Likewise.
8434 (bsdi*): Likewise.
8435 (osf*): Likewise.
8436 (sunos*): Likewise.
8437 (ultrix*): Likewise.
8438 (newsos*): Likewise.
8439 (dynix*): Likewise.
8440 (*bsd*): Likewise.
8441 (sysv*): Likewise.
8442 (isc*): Likewise.
8443 (esix*): Likewise.
8444 (sco*): Likewise.
8445 (minix*): Likewise.
8446 (irix4*): Likewise.
8447 (irix6*): Likewise.
8448 (solaris[2-9]*): Likewise.
8449 (none): Likewise.
8450 * configure: Regenerated.
8451
8452 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8453
8454 [BZ #11521]
8455 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8456 overflow or cancellation in calculating denominator.
8457 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8458 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8459 down expression to avoid unexpected rounding in newer GCCs.
8460 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8461
8462 2012-04-26 David S. Miller <davem@davemloft.net>
8463
8464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8465 long-double compat symbols.
8466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8479
8480 2012-04-25 David S. Miller <davem@davemloft.net>
8481
8482 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8483 HWCAP_* values only after the memory barriers have been defined.
8484 (atomic_full_barrier): Define.
8485 (atomic_read_barrier): Define.
8486 (atomic_write_barrier): Define.
8487
8488 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8489
8490 * shlib-versions: Add libgcc_s version information.
8491 * sysdeps/generic/libgcc_s.h: Remove.
8492 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8493 libgcc_s.h.
8494 * sysdeps/gnu/unwind-resume.c: Likewise.
8495 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8496
8497 2012-04-25 David S. Miller <davem@davemloft.net>
8498
8499 * sysdeps/unix/sparc/brk.S: Delete.
8500 * sysdeps/unix/sparc/dl-brk.S: Delete.
8501 * sysdeps/unix/sparc/pipe.S: Delete.
8502 * sysdeps/unix/sparc/sysdep.S: Delete.
8503 * sysdeps/unix/sparc/sysdep.h: Delete.
8504 * sysdeps/unix/sparc/vfork.S: Delete.
8505 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8506 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8507 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8508 ret_ERRVAL, r0, r1, MOVE): Define.
8509 (JUMPTARGET): Remove.
8510 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8511 sysdeps/unix/sparc/sysdep.h
8512 (ENTRY, END): Remove.
8513 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8514
8515 2012-04-25 Joseph Myers <joseph@codesourcery.com>
8516
8517 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8518 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8519 -DIS_IN_build.
8520
8521 * timezone/README: Update upstream location and email address for
8522 tzcode and tzdata.
8523 * timezone/zdump.c: Update from tzcode 2012b.
8524 * timezone/zic.c: Likewise.
8525
8526 * configure.in (libc_cv_as_needed): Remove test.
8527 * configure: Regenerated.
8528 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8529 conditional definition.
8530 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8531 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8532 * config.make.in (have-as-needed): Remove variable.
8533
8534 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8535 Paul Pluzhnikov <ppluzhnikov@google.com>
8536
8537 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8538 strings correctly.
8539
8540 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8541
8542 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8543 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8544 * sysdeps/sh/strlen.S: Likewise.
8545
8546 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8547
8548 * sysdeps/unix/fork.S: Remove file.
8549 * sysdeps/unix/i386/fork.S: Likewise.
8550 * sysdeps/unix/sparc/fork.S: Likewise.
8551
8552 * sysdeps/unix/system.c: Remove file.
8553 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8554
8555 * sysdeps/unix/getegid.S: Remove file.
8556 * sysdeps/unix/geteuid.S: Likewise.
8557
8558 2012-04-24 Roland McGrath <roland@hack.frob.com>
8559
8560 * scripts/check-localplt.awk: New file.
8561 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8562 of diff.
8563 * scripts/data/localplt-generic.data: Add a comment.
8564
8565 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8566 NODE when __dir_mkfile failed.
8567 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8568 Reported by Ludovic Courtès <ludo@gnu.org>.
8569
8570 2012-04-24 Andreas Jaeger <aj@suse.de>
8571
8572 * Makerules (common-clean): Also remove gen-as-const-headers
8573 files.
8574
8575 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8576
8577 * Makerules (native-compile): Do not change working directory for
8578 build. Use $(OUTPUT_OPTION) in command.
8579 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8580
8581 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8582
8583 [BZ #13886]
8584 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8585 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8586 * math/libm-test.inc (floor_test): Add more tests.
8587 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8588
8589 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8590
8591 * sysdeps/unix/getdents.c: Remove file.
8592 * sysdeps/unix/sysv/getdents.c: Likewise.
8593 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8594
8595 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8596 sysdeps/unix/mman/syscalls.list.
8597 (mmap): Likewise.
8598 (mprotect): Likewise.
8599 (msync): Likewise.
8600 (munmap): Likewise.
8601 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8602 * sysdeps/unix/mman/syscalls.list: Remove.
8603 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8604
8605 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8606 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8607 * configure: Regenerated.
8608 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8609 $(libgcc_s_suffix).
8610 * config.make.in (libgcc_s_suffix): Remove variable.
8611
8612 2012-04-23 Joseph Myers <joseph@codesourcery.com>
8613
8614 * sysdeps/unix/sysv/gethostname.c: Move to ...
8615 * sysdeps/posix/gethostname.c: ... here.
8616
8617 * sysdeps/unix/execve.S: Remove file.
8618
8619 * sysdeps/unix/_exit.S: Remove file.
8620
8621 2012-04-23 Andreas Jaeger <aj@suse.de>
8622
8623 [BZ #13739]
8624 * manual/Makefile: Remove make dist support, there's no
8625 need for a stand-alone documentation tar ball.
8626 (TEXI2DVI): Define always, it's not in Makeconfig.
8627 (dist): Removed.
8628 (tar-it): Removed.
8629 (edition): Removed.
8630 (glibc-doc-$(edition).tar): Removed
8631 (%.Z): Removed.
8632 (%.gz): Removed.
8633 (%.uu): Removed.
8634 (ETAGS): Remove, it's in Makeconfig.
8635 (move-if-change): Remove, it's in Makeconfig.
8636
8637 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8638
8639 [BZ #13970]
8640 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8641 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8642 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8643 (strtod_l, strtof_l, strtold_l): Remove __wur.
8644 It is not necessarily an error to ignore strtol's return value.
8645 One can reliably look at the stored endptr to decide whether
8646 the number had valid syntax.
8647
8648 2012-04-21 Andreas Jaeger <aj@suse.de>
8649
8650 [BZ #13739]
8651 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8652
8653 2012-04-21 Joseph Myers <joseph@codesourcery.com>
8654
8655 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8656 * sysdeps/unix/sysv/Versions: Remove file.
8657
8658 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8659
8660 [BZ #13927]
8661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8662
8663 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
8664
8665 [BZ #7064]
8666 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8667 version from __vm86.
8668
8669 2012-04-20 Joseph Myers <joseph@codesourcery.com>
8670
8671 * sysdeps/unix/common/lxstat.c: Remove file.
8672 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8673
8674 * sysdeps/unix/sysv/Makefile: Remove file.
8675
8676 * sysdeps/unix/sysv/direct.h: Remove file.
8677
8678 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8679 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8680 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8681 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8682 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8683 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8684 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8685
8686 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8687
8688 * sysdeps/unix/xmknod.c: Remove file.
8689 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8690
8691 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8692
8693 * sysdeps/unix/sysv/i386/time.S: Remove file.
8694
8695 * sysdeps/unix/fxstat.c: Remove file.
8696 * sysdeps/unix/xstat.c: Likewise.
8697 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8698
8699 * sysdeps/unix/sysv/sigaction.c: Remove file.
8700
8701 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8702 (sysdep_headers): Remove variable.
8703 [termio.h not in sysdep_headers] (generated): Likewise.
8704 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8705 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8706 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8707 * sysdeps/unix/sysv/tcflow.c: Likewise.
8708 * sysdeps/unix/sysv/tcflush.c: Likewise.
8709 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8710 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8711 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8712 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8713 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8714
8715 * sysdeps/unix/siglist.c: Remove file.
8716
8717 * sysdeps/unix/getppid.S: Remove file.
8718
8719 * sysdeps/unix/mkdir.c: Remove file.
8720 * sysdeps/unix/rmdir.c: Likewise.
8721
8722 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8723
8724 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8725 ERR_MAX value.
8726 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8727 errlist-compat value.
8728
8729 2012-04-18 David S. Miller <davem@davemloft.net>
8730
8731 * sysdeps/generic/memcopy.h (reg_char): Delete.
8732 * debug/strcat_chk.c: Use char, not reg_char.
8733 * debug/strcpy_chk.c: Likewise.
8734 * debug/strncat_chk.c: Likewise.
8735 * debug/strncpy_chk.c: Likewise.
8736 * string/memchr.c: Likewise.
8737 * string/memrchr.c: Likewise.
8738 * string/rawmemchr.c: Likewise.
8739 * string/strcat.c: Likewise.
8740 * string/strchr.c: Likewise.
8741 * string/strchrnul.c: Likewise.
8742 * string/strcmp.c: Likewise.
8743 * string/strcpy.c: Likewise.
8744 * string/strncat.c: Likewise.
8745 * string/strncmp.c: Likewise.
8746 * string/strncpy.c: Likewise.
8747
8748 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8749
8750 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8751 __builtin_memcopy is called when src and dest ranges are known to not
8752 overlap.
8753
8754 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8755
8756 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8757 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8758 fwd_align_merge macro call.
8759 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8760 bwd_align_merge macro call.
8761 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8762
8763 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8764
8765 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8766 bwd_align_merge macros.
8767 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8768 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8769 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8770
8771 2012-04-18 David S. Miller <davem@davemloft.net>
8772
8773 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8774
8775 2012-04-18 Andreas Jaeger <aj@suse.de>
8776
8777 [BZ# 6794]
8778 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8779 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8780 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8781
8782 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8783 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8784 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8785
8786 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8787 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8788 Adjust for changed ldbl-128 files.
8789
8790 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8791 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8792 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8793
8794 2012-04-17 David S. Miller <davem@davemloft.net>
8795
8796 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8797
8798 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8799
8800 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8801 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8802 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8803 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8804 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8805 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8806
8807 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8808
8809 [BZ #6794]
8810 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8811 * math/libm-test.inc: Add ilogb errno and exception tests.
8812 * math/w_ilogb.c: New file: ilogb wrapper.
8813 * math/w_ilogbf.c: New file: ilogbf wrapper.
8814 * math/w_ilogbl.c: New file: ilogbl wrapper.
8815 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8816 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8817 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8818 exception being thrown with 0.0 as argument.
8819 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8820 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8821 exception being thrown with 0.0 as argument.
8822 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8823 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8824 exception being thrown with 0.0 as argument.
8825 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8826 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8827 exception being thrown with 0.0 as argument.
8828 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8829 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8830 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8831 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8832 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8833 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8834 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8835 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8836 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8837
8838 2012-04-17 Petr Baudis <pasky@ucw.cz>
8839
8840 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8841 with altivec.
8842
8843 2012-04-16 Marek Polacek <polacek@redhat.com>
8844
8845 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8846
8847 2012-04-16 Marek Polacek <polacek@redhat.com>
8848
8849 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8850 operands of fdivp instruction.
8851
8852 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8853
8854 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8855 * elf/tst-auditmod3b.c: Likewise.
8856 * elf/tst-auditmod4b.c: Likewise.
8857 * elf/tst-auditmod5b.c: Likewise.
8858 * elf/tst-auditmod6b.c: Likewise.
8859 * elf/tst-auditmod6c.c: Likewise.
8860 * elf/tst-auditmod7b.c: Likewise.
8861 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8862 * sysdeps/x86_64/preconfigure.in: Likewise.
8863 * sysdeps/x86_64/preconfigure: Regenerated.
8864
8865 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8866
8867 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8868 __ILP32__.
8869
8870 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
8871
8872 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8873 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8874
8875 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8876
8877 [BZ #13973]
8878 * locale/iso-639.def: Fix gl language name. Spotted by
8879 Yaron Shahrabani.
8880
8881 2012-04-12 Roland McGrath <roland@hack.frob.com>
8882
8883 [BZ #2074]
8884 * libio/libio.h (__io_write_fn): Update comment.
8885
8886 2012-04-12 Petr Baudis <pasky@ucw.cz>
8887
8888 [BZ #2074]
8889 * stdio.texi (Hook Functions): The user provided writer function
8890 is not allowed to return -1.
8891
8892 2012-04-11 David S. Miller <davem@davemloft.net>
8893
8894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8895
8896 2012-04-11 Mike Frysinger <vapier@gentoo.org>
8897
8898 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8899 Add a leading slash to rtkaio.
8900
8901 2012-04-11 Jim Meyering <meyering@redhat.com>
8902
8903 [BZ #11959]
8904 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8905 It is not necessarily an error to ignore fwrite's return
8906 value. One can reliably use ferror to test for errors after
8907 the fact.
8908
8909 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8910
8911 * bits/types.h (__snseconds_t): New type.
8912 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8913
8914 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8915 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8916 (__SNSECONDS_T_TYPE): Likewise.
8917 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8918 (__SNSECONDS_T_TYPE): Likewise.
8919 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8920 (__SNSECONDS_T_TYPE): Likewise.
8921
8922 2012-04-10 Andreas Jaeger <aj@suse.de>
8923
8924 [BZ #2636]
8925 * manual/time.texi (Processor Time): Return type of times is
8926 elapsed real time since an arbitrary point in the past.
8927 (CPU Time): Move CLK_TCK from here...
8928 (Processor Time): ...to here. Correct description.
8929 * manual/conf.texi (Constants for Sysconf): Correct description of
8930 _SC_CLK_TCK.
8931
8932 2012-04-10 David S. Miller <davem@davemloft.net>
8933
8934 [BZ #13967]
8935 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8936 where the is a gap between DT_REL(A) and DT_JMPREL.
8937
8938 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8939
8940 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8941 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8942 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8943
8944 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8945
8946 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8947 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8948 (dl_main): Handle --inhibit-cache.
8949 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8950 _dl_inhibit_cache.
8951 * elf/dl-load.c (_dl_map_object): Use it.
8952 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8953
8954 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8955
8956 [BZ #13872]
8957 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8958 (__ieee754_powl): Saturate large exponents rather than testing for
8959 overflow of y*log2(x).
8960 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8961 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8962 exceptions.
8963
8964 [BZ #11521]
8965 * math/s_ctan.c: Include <float.h>.
8966 (__ctan): Avoid internal overflow or cancellation in calculating
8967 denominator.
8968 * math/s_ctanf.c: Likewise.
8969 * math/s_ctanl.c: Likewise.
8970 * math/s_ctanh.c: Likewise.
8971 * math/s_ctanhf.c: Likewise.
8972 * math/s_ctanhl.c: Likewise.
8973 * math/libm-test.inc (ctan_test): Add more tests.
8974 (ctanh_test): Likewise.
8975 * sysdeps/i386/fpu/libm-test-ulps: Update.
8976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8977
8978 2012-04-09 Andreas Jaeger <aj@suse.de>
8979
8980 [BZ #6894]
8981 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8982 is an optional BSD extension.
8983
8984 [BZ #10254]
8985 * manual/stdio.texi (Opening Streams): Document additional fopen
8986 parameters.
8987
8988 2012-04-09 Roland McGrath <roland@hack.frob.com>
8989
8990 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8991 %eax without telling the compiler.
8992
8993 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8994
8995 [BZ # 13963]
8996 * manual/install.texi: Use sourceware.org.
8997
8998 2012-04-09 Joseph Myers <joseph@codesourcery.com>
8999
9000 [BZ #13873]
9001 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9002 (__ieee754_pow): Generate overflow and underflow using huge*huge
9003 and tiny*tiny rather than just returning constant infinity or zero
9004 for large exponents.
9005 * math/libm-test.inc (pow_test): Require overflow exceptions for
9006 applicable cases of large exponents.
9007
9008 [BZ #706]
9009 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9010 (__ieee754_pow): Use iterative multiplication algorithm only for
9011 integer exponents with absolute value below 1024. Check for odd
9012 integer exponents when using algorithm for real exponents.
9013 * math/libm-test.inc (pow_test): Add more tests.
9014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9015
9016 2012-04-08 Joseph Myers <joseph@codesourcery.com>
9017
9018 [BZ #13705]
9019 * math/libm-test.inc (exp_test): Do not allow overflow exception
9020 on underflow test.
9021
9022 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9023
9024 [BZ #13705]
9025 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9026 instead of __kernel_standard_f.
9027
9028 2012-04-08 Mike Frysinger <vapier@gentoo.org>
9029
9030 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9031 * sysdeps/x86_64/memset_chk.S: Likewise.
9032
9033 2012-04-08 Andreas Jaeger <aj@suse.de>
9034
9035 [BZ #10153]
9036 * manual/startup.texi (Environment Access): Describe return value
9037 for putenv and setenv.
9038
9039 [BZ #6895]
9040 * manual/filesys.texi (Directory Entries): Add description for
9041 DT_LNK.
9042
9043 [BZ #6890]
9044 * manual/filesys.texi (Directory Entries): Clarify that it's file
9045 system not operating system in the description of DT_UNKNOWN.
9046
9047 [BZ #6578]
9048 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9049
9050 2012-04-08 Stephen Compall <s11@member.fsf.org>
9051
9052 [BZ #6649]
9053 * manual/llio.texi (Opening and Closing Files): Add cross
9054 reference to explain mode argument.
9055
9056 2012-04-07 Mike Frysinger <vapier@gentoo.org>
9057
9058 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9059 * sysdeps/x86_64/memset_chk.S: Likewise.
9060
9061 2012-04-07 David S. Miller <davem@davemloft.net>
9062
9063 * elf/elf.h (R_SPARC_WDISP10): Define.
9064 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9065 R_SPARC_SIZE32.
9066 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9067 R_SPARC_SIZE64 and R_SPARC_H34.
9068
9069 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9070
9071 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9072 conditions and remove no longer applicable assertion.
9073
9074 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9075
9076 * bits/byteswap.h: Include <features.h>.
9077 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9078 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9079
9080 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9081
9082 * bits/byteswap.h (__bswap_16): Removed.
9083 Include <bits/byteswap-16.h> to get __bswap_16.
9084 * sysdeps/i386/bits/byteswap.h: Likewise.
9085 * sysdeps/s390/bits/byteswap.h: Likewise.
9086 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9087 * bits/byteswap-16.h: New file.
9088 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9089 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9090 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9091 * string/Makefile (headers): Add bits/byteswap-16.h.
9092
9093 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9094
9095 [BZ #13895]
9096 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9097 extra indirection.
9098 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9099 * nss/tst-nss-static.c: New.
9100
9101 2012-04-06 Robert Millan <rmh@gnu.org>
9102
9103 [BZ #6486]
9104 * manual/llio.texi (File Position Primitive): lseek
9105 refers to WHENCE when it really means OFFSET.
9106
9107 2012-04-06 Andreas Jaeger <aj@suse.de>
9108
9109 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9110 strncmp declarations.
9111
9112 * abilist/libc.abilist: Add __poll and __ppoll.
9113
9114 2012-04-05 David S. Miller <davem@davemloft.net>
9115
9116 * scripts/check-local-headers.sh: Accept a host triplet in the
9117 path matched by the exclude regexp.
9118
9119 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9120 definition.
9121 * sysdeps/powerpc/powerpc32/dl-machine.h
9122 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9123 * sysdeps/s390/s390-32/dl-machine.h
9124 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9125 * sysdeps/sparc/sparc32/dl-machine.h
9126 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9127 * sysdeps/sparc/sparc64/dl-machine.h
9128 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9129
9130 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9131 lazy binding.
9132 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9133 undefined symbol errors.
9134
9135 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9136 DT_NEEDED entries.
9137
9138 2012-04-05 Michael Matz <matz@suse.de>
9139
9140 [BZ #13592]
9141 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9142
9143 2012-04-05 Andreas Jaeger <aj@suse.de>
9144
9145 [BZ #13908]
9146 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9147 comment.
9148
9149 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9150
9151 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9152 which ROUND is no valid rounding mode.
9153
9154 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9155
9156 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9157 read again.
9158 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9159
9160 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9161
9162 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9163 an exception using FPU order intentionally.
9164
9165 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9166
9167 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9168 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9169 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9170 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9171
9172 2012-04-05 Simon Josefsson <simon@josefsson.org>
9173
9174 [BZ #12340]
9175 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9176 EINVAL when BUFLEN is too smal.
9177
9178 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9179
9180 [BZ #13553]
9181 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9182 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9183
9184 2012-04-03 Andreas Jaeger <aj@suse.de>
9185
9186 [BZ #13938]
9187 * manual/setjmp.texi (System V contexts): Fix sentence.
9188
9189 [BZ #13926]
9190 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9191 New macro for this case.
9192 [!__GNUC__] (__bswap_64): New inline function for this case.
9193 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9194 * bits/byteswap.h: Likewise.
9195 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9196 ull, guard with __GLIBC_HAVE_LONG_LONG.
9197
9198 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9199 __GLIBC_HAVE_LONG_LONG.
9200
9201 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9202 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9203
9204 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9205
9206 [BZ #13691]
9207 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9208 inptr and inend, rather than using last_ch.
9209
9210 2012-04-02 David S. Miller <davem@davemloft.net>
9211
9212 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9213 * stdio-common/printf-parse.h (read_int): Change return type to
9214 'int', return -1 on INT_MAX overflow.
9215 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9216 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9217 overflows INT_MAX. Check for overflow of in-format-string precision
9218 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9219 SIZE_MAX not INT_MAX for integer overflow test.
9220 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9221 skip the construct in the format string but do not record anything.
9222 * stdio-common/bug22.c: Adjust to test both width/prevision
9223 INT_MAX overflow as well as total length INT_MAX overflow. Check
9224 explicitly for proper errno values.
9225
9226 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9227
9228 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9229 CHAR_MAX.
9230 * string/test-strcmp.c [! WIDE]: Likewise.
9231 * time/tst-mktime2.c: Likewise for INT_MAX.
9232 * string/test-string.h: #include <sys/param.h> for MIN.
9233
9234 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9235 * sysdeps/i386/init-first.c (init): Likewise.
9236 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9237 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9238 * sysdeps/sh/init-first.c (init): Likewise.
9239
9240 2012-04-01 Ulrich Drepper <drepper@gmail.com>
9241
9242 * po/ru.po: Update from translation team.
9243 * po/vi.po: Likewise.
9244
9245 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9246
9247 * resolv/nss_dns/dns-host.c: Merge copyright years.
9248
9249 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9250
9251 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9252 Optimize memcpy with prefetch if
9253 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9254 src, dst pointers have unequal 16 byte alignments.
9255
9256 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9257
9258 [BZ #13928]
9259 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9260 from a CNAME entry and return the minimum ttl for the query.
9261 (gaih_getanswer_slice): Likewise.
9262
9263 2012-03-30 Jeff Law <law@redhat.com>
9264
9265 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9266 due to long keys.
9267 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9268 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9269
9270 * resolv/nss_dns/dns-host.c: Update copyright year.
9271
9272 2012-03-30 Ulrich Drepper <drepper@gmail.com>
9273
9274 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9275 requests to save a system call. Fix check that all bytes are sent.
9276
9277 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9278 comments for sendmmsg.
9279
9280 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9281
9282 [BZ #13691]
9283 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9284 with only 1 character between 0x0041 and 0x01b0.
9285 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9286 * wcsmbs/tst-mbsnrtowcs.c: New file.
9287
9288 2012-03-29 David S. Miller <davem@davemloft.net>
9289
9290 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9291 small copies by hand.
9292
9293 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9294
9295 [BZ #13761]
9296 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9297 _nss_compat_initgroups_dyn): Fall back to malloc/free
9298 for large group memberships.
9299
9300 2012-03-28 David S. Miller <davem@davemloft.net>
9301
9302 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9303 that branches into memcpy.
9304 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9305 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9306 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9307 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9308 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9309 bits.
9310 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9311 implementation too.
9312 * sysdeps/sparc/mempcpy.S: New file.
9313
9314 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9315 the IFUNC routine in the libc case.
9316 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9317
9318 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9319 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9320 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9321 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9322 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9323 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9324 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9325 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9326
9327 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9328 loop to 256 bytes instead of 64 bytes and fix test signedness.
9329
9330 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9331 * sysdeps/sparc/sparc32/Makefile: rather than here...
9332 * sysdeps/sparc/sparc64/Makefile: and here.
9333
9334 2012-03-28 Ulrich Drepper <drepper@gmail.com>
9335
9336 * malloc/mallocbug.c: Avoid warnings about unused variables.
9337
9338 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9339
9340 [BZ #13760]
9341 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9342 in the right place. Discard and retry query if response is
9343 larger than input buffer size.
9344
9345 2012-03-28 Joseph Myers <joseph@codesourcery.com>
9346
9347 [BZ #369]
9348 [BZ #2678]
9349 [BZ #3866]
9350 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9351 x for large integer exponent.
9352 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9353 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9354 sign of result as needed afterwards.
9355 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9356 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9357 result for underflowing pow the same as for overflow.
9358 (__kernel_standard_l): Handle powl overflow and underflow here
9359 rather than calling __kernel_standard.
9360 * math/libm-test.inc (pow_test): Add more tests.
9361
9362 [BZ #3868]
9363 [BZ #13879]
9364 [BZ #13910]
9365 [BZ #13911]
9366 [BZ #13912]
9367 [BZ #13913]
9368 [BZ #13915]
9369 [BZ #13916]
9370 [BZ #13917]
9371 [BZ #13918]
9372 [BZ #13919]
9373 [BZ #13920]
9374 [BZ #13921]
9375 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9376 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9377 (__kernel_standard_l): New function.
9378 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9379 __kernel_standard.
9380 * math/w_acosl.c (__acosl): Likewise.
9381 * math/w_asinl.c (__asinl): Likewise.
9382 * math/w_atan2l.c (__atan2l): Likewise.
9383 * math/w_atanhl.c (__atanhl): Likewise.
9384 * math/w_coshl.c (__coshl): Likewise.
9385 * math/w_exp10l.c (__exp10l): Likewise.
9386 * math/w_exp2l.c (__exp2l): Likewise.
9387 * math/w_fmodl.c (__fmodl): Likewise.
9388 * math/w_hypotl.c (__hypotl): Likewise.
9389 * math/w_j0l.c (__j0l, __y0l): Likewise.
9390 * math/w_j1l.c (__j1l, __y1l): Likewise.
9391 * math/w_jnl.c (__jnl, __ynl): Likewise.
9392 * math/w_lgammal.c (__lgammal): Likewise.
9393 * math/w_log10l.c (__log10l): Likewise.
9394 * math/w_log2l.c (__log2l): Likewise.
9395 * math/w_logl.c (__logl): Likewise.
9396 * math/w_powl.c (__powl): Likewise.
9397 * math/w_remainderl.c (__remainderl): Likewise.
9398 * math/w_scalbl.c (sysv_scalbl): Likewise.
9399 * math/w_sinhl.c (__sinhl): Likewise.
9400 * math/w_sqrtl.c (__sqrtl): Likewise.
9401 * math/w_tgammal.c (__tgammal): Likewise.
9402 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9403 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9404 * math/libm-test.inc (acos_test): Add more tests.
9405 (acosh_test): Likewise.
9406 (asin_test): Likewise.
9407 (atanh_test): Likewise.
9408 (exp_test): Likewise.
9409 (exp10_test): Likewise.
9410 (exp2_test): Likewise.
9411 (expm1_test): Likewise.
9412 (lgamma_test): Likewise.
9413 (log_test): Likewise.
9414 (log10_test): Likewise.
9415 (log1p_test): Likewise.
9416 (log2_test): Likewise.
9417 (pow_test): Do not allow some spurious overflow exceptions.
9418 (sqrt_test): Add more tests.
9419 (tgamma_test): Likewise.
9420 (y0_test): Likewise.
9421 (y1_test): Likewise.
9422 (yn_test): Likewise.
9423
9424 2012-03-27 Anton Blanchard <anton@samba.org>
9425
9426 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9427 MAP_HUGETLB.
9428 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9429 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9430 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9431
9432 2012-03-27 David S. Miller <davem@davemloft.net>
9433
9434 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9435
9436 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9437 have-as-vis3 check.
9438
9439 2012-03-27 Andreas Jaeger <aj@suse.de>
9440
9441 * sysdeps/x86_64/elf/configure.in: Moved to ...
9442 * sysdeps/x86_64/configure.in: ... here.
9443 * sysdeps/x86_64/elf/start.S: Moved to ...
9444 * sysdeps/x86_64/start.S: ... here.
9445 * sysdeps/x86_64/elf/configure: Delete.
9446
9447 * sysdeps/x86_64/configure.in: Merge contents from
9448 sysdeps/i386/configure.in (without i686 check).
9449
9450 * sysdeps/i386/elf/Versions: Merge into ...
9451 * sysdeps/i386/Versions: ... this.
9452 * sysdeps/i386/elf/Versions: Delete file.
9453 * sysdeps/i386/elf/start.S: Moved to ...
9454 * sysdeps/i386/start.S: ...here.
9455 * sysdeps/i386/elf/configure.in: Merge into...
9456 * sysdeps/i386/configure.in: ...here.
9457 * sysdeps/i386/elf/configure.in: Delete file.
9458 * sysdeps/i386/elf/configure: Delete file.
9459
9460 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9461 * debug/backtracesyms.c: ... here.
9462 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9463 * debug/backtracesymsfd.c: ... here.
9464 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9465 * sysdeps/generic/ifunc-sel.h: ... here.
9466
9467 * sysdeps/unix/i386/start.c: Delete file.
9468 * sysdeps/unix/sparc/start.c: Delete file.
9469 * sysdeps/unix/start.c: Delete file.
9470
9471 * sysdeps/sh/elf/configure.in: Moved to ...
9472 * sysdeps/sh/configure.in: ... here.
9473 * sysdeps/sh/elf/start.S: Moved to ...
9474 * sysdeps/sh/start.S: ... here.
9475 * sysdeps/sh/elf/configure: Delete file.
9476
9477 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9478 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9479 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9480 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9481 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9482 * sysdeps/powerpc/powerpc64/start.S: here.
9483 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9484 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9485 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9486 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9487 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9488
9489 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9490 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9491 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9492 * sysdeps/powerpc/powerpc32/start.S: ... here.
9493 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9494 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9495 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9496
9497 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9498 * sysdeps/powerpc/ifunc-sel.h: ... here.
9499 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9500 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9501
9502 * sysdeps/sparc/elf/configure.in: Moved to ...
9503 * sysdeps/sparc/configure.in: ... here.
9504 * sysdeps/sparc/elf/configure: Delete file.
9505 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9506 * sysdeps/sparc/sparc32/start.S: ... here.
9507 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9508 * sysdeps/sparc/sparc64/start.S: ... here.
9509 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9510 * sysdeps/sparc/sparc32/Makefile: ... this.
9511 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9512 * sysdeps/sparc/sparc64/Makefile: ... this.
9513
9514 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9515 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9516 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9517 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9518 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9519 * sysdeps/s390/s390-32/setjmp.S: ... here.
9520 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9521 * sysdeps/s390/s390-32/configure.in: ... here.
9522 * sysdeps/s390/s390-32/elf/configure: Delete file.
9523 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9524 * sysdeps/s390/s390-32/start.S: ... here.
9525
9526 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9527 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9528 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9529 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9530 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9531 * sysdeps/s390/s390-64/setjmp.S: ... here.
9532 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9533 * sysdeps/s390/s390-64/configure.in: ... here
9534 * sysdeps/s390/s390-64/elf/configure: Delete file.
9535 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9536 * sysdeps/s390/s390-64/start.S: ... here.
9537 * sysdeps/s390/s390-64/elf/configure: Delete.
9538
9539 * configure.in: Remove support for elf directories in sysdeps.
9540
9541 * configure: Regenerated.
9542 * sysdeps/i386/configure: Regenerated.
9543 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9544 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9545 * sysdeps/s390/s390-32/configure: Regenerated.
9546 * sysdeps/s390/s390-64/configure: Regenerated.
9547 * sysdeps/sh/configure: Regenerated.
9548 * sysdeps/sparc/configure: Regenerated.
9549 * sysdeps/x86_64/configure: Regenerated.
9550
9551 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9552
9553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9554
9555 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9556 denormal result into account.
9557
9558 2012-03-25 Roland McGrath <roland@hack.frob.com>
9559
9560 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9561 Reported by Allan McRae <allan@archlinux.org>.
9562
9563 2012-03-23 Jeff Law <law@redhat.com>
9564
9565 * nss/getnssent.c (__nss_getent): Fix typo.
9566
9567 2012-03-23 David S. Miller <davem@davemloft.net>
9568
9569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9570
9571 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9572
9573 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9574 to pad to uint64_t for each field.
9575 (dl_tls_index): Replace unsigned long with uint64_t.
9576
9577 2012-03-23 Daniel Jacobowitz <dmj@google.com>
9578 Paul Pluzhnikov <ppluzhnikov@google.com>
9579
9580 [BZ #6528]
9581 * grp/Makefile (otherlibs): Don't set it.
9582 * inet/Makefile (otherlibs): Likewise.
9583 * login/Makefile (otherlibs): Likewise.
9584 * nscd/Makefile (otherlibs): Likewise.
9585 * posix/Makefile (otherlibs): Likewise.
9586 * pwd/Makefile (otherlibs): Likewise.
9587 * rt/Makefile (otherlibs): Likewise.
9588 * sunrpc/Makefile (otherlibs): Likewise.
9589 * nss/Makefile (otherlibs): Likewise.
9590 Add libnss_files to routines and static-only-routines.
9591 ($(objpfx)getent): Remove rule.
9592 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9593 static-only-routines.
9594
9595 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9596
9597 [BZ #13892]
9598 * math/s_cexp.c: Include <float.h>.
9599 (__cexp): Handle exp result overflowing not necessarily
9600 overflowing both real and imaginary parts of result.
9601 * math/s_cexpf.c: Likewise.
9602 * math/s_cexpl.c: Likewise.
9603 * math/libm-test.inc (cexp_test): Add more tests.
9604 * sysdeps/i386/fpu/libm-test-ulps: Update.
9605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9606
9607 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9608
9609 * include/link.h (ELFW): New macro.
9610 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9611 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9612
9613 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9614
9615 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9616 with uint64_t.
9617
9618 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9619
9620 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9621 declaration.
9622 (struct La_x32_retval): Likewise.
9623
9624 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9625
9626 * sysdeps/x86_64/preconfigure.in: New file.
9627 * sysdeps/x86_64/preconfigure: New generated file.
9628
9629 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9630
9631 [BZ #13824]
9632 * math/e_exp2l.c: Include <float.h>.
9633 (__ieee754_exp2l): Handle overflow and underflow cases
9634 separately. Only pass fractional part of argument to
9635 __ieee754_expl.
9636 * math/libm-test.inc (exp2_test): Add more tests.
9637
9638 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9639 negating x to take absolute value.
9640 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9641 Likewise.
9642 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9643 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9644 Likewise.
9645 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9646 computing low part if x was negated.
9647 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9648
9649 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9650
9651 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9652 la_x32_gnu_pltexit.
9653 (pltexit): Cast int_retval to ptrdiff_t.
9654 * elf/tst-auditmod3b.c: Likewise.
9655 * elf/tst-auditmod4b.c: Likewise.
9656 * elf/tst-auditmod5b.c: Likewise.
9657 * elf/tst-auditmod6b.c: Likewise.
9658 * elf/tst-auditmod6c.c: Likewise.
9659 * elf/tst-auditmod7b.c: Likewise.
9660
9661 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9662 and x32_gnu_pltexit.
9663
9664 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9665 __ELF_NATIVE_CLASS.
9666 (La_x32_regs): New macro.
9667 (La_x32_retval): Likewise.
9668 (la_x32_gnu_pltenter): New function prototype.
9669 (la_x32_gnu_pltexit): Likewise.
9670
9671 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9672
9673 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9674 exponent.
9675
9676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9677
9678 * configure.in (libc_cv_cc_nofma): Check for option to disable
9679 generation of FMA instructions.
9680 * configure: Regenerate.
9681 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9682 * sysdeps/ieee754/dbl-64/Makefile: New file.
9683 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9684 Remove brandred-fma4.
9685 (CFLAGS-brandred-fma4.c): Remove.
9686 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9687 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9688 define.
9689 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9690 define.
9691
9692 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9693
9694 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9695 LLONG_MAX != LONG_MAX.
9696 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9697 (_fitoa_word): Likewise.
9698 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9699 LLONG_MAX != LONG_MAX.
9700 * stdio-common/_itowa.h: Include <_itoa.h>.
9701 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9702 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9703 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9704 only if not defined.
9705 (_ITOA_WORD_TYPE): Likewise.
9706 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9707 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9708
9709 2012-03-21 David S. Miller <davem@davemloft.net>
9710
9711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9712
9713 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9714
9715 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9716 of x86_64 when setting libc_cv_slibdir, libdir and
9717 libc_cv_localedir.
9718 * sysdeps/unix/sysv/linux/configure: Regenerated.
9719
9720 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9721
9722 * manual/lang.texi (Old Varargs): Remove section.
9723 (How Variadic): Update menu.
9724 (va_start): Do not mention varargs.h.
9725
9726 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9727 Joseph Myers <joseph@codesourcery.com>
9728
9729 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9730 link test.
9731 * configure: Regenerated.
9732
9733 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9734
9735 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9736 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9737 conformtest.pl
9738
9739 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9740
9741 * NOTES: Remove.
9742 * Makefile (files-for-dist): Remove NOTES.
9743 (NOTES): Remove rule.
9744 * README: Don't refer to NOTES.
9745 * manual/creature.texi: Don't include macros.texi.
9746 * manual/intro.texi (creature.texi): Remove comment referring to
9747 NOTES.
9748
9749 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9750 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9751 * configure: Regenerated.
9752 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9753 LIBC_TRY_CC_OPTION.
9754 (libc_cv_as_i686): Likewise.
9755 (libc_cv_cc_avx): Likewise.
9756 (libc_cv_cc_sse2avx): Likewise.
9757 (libc_cv_cc_fma4): Likewise.
9758 (libc_cv_cc_novzeroupper): Likewise.
9759 * sysdeps/i386/configure: Regenerated.
9760
9761 [BZ #13883]
9762 * sysdeps/i386/fpu/s_cexp.S: Remove.
9763 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9764 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9765 * math/libm-test.inc (cexp_test): Add more tests.
9766 * sysdeps/i386/fpu/libm-test-ulps: Update.
9767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9768
9769 2012-03-21 Allan McRae <allan@archlinux.org>
9770
9771 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9772
9773 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9774
9775 [BZ #13871]
9776 * math/w_exp2.c: Do not include <float.h>.
9777 (o_threshold, u_threshold): Remove.
9778 (__exp2): Calculate result before checking finiteness and calling
9779 __kernel_standard.
9780 * math/w_exp2f.c: Likewise.
9781 * math/w_exp2l.c: Likewise.
9782 * math/libm-test.inc (exp2_test): Require overflow exception for
9783 1e6 input.
9784
9785 [BZ #3866]
9786 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9787 range of signed 64-bit integers before using fistpll. Remove
9788 checks for whether integers fit in mantissa bits.
9789 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9790 the range of signed 32-bit integers before using fistpl. Remove
9791 checks for whether integers fit in mantissa bits.
9792 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9793 (__ieee754_powl): Test for y outside the range of signed 64-bit
9794 integers before using fistpll. Reduce 64-bit values to 63-bit
9795 ones as needed.
9796 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9797 divide-by-zero is raised for zero to large negative powers.
9798 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9799 (__ieee754_powl): Test for y outside the range of signed 64-bit
9800 integers before using fistpll. Reduce 64-bit values to 63-bit
9801 ones as needed.
9802 * math/libm-test.inc (pow_test): Add more tests.
9803
9804 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9805
9806 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9807 <stdio-common/_itoa.h>.
9808 * debug/segfault.c: Likewise.
9809 * elf/dl-cache.c: Likewise.
9810 * elf/dl-minimal.c: Likewise.
9811 * elf/dl-misc.c: Likewise.
9812 * elf/dl-sysdep.c: Likewise.
9813 * elf/dl-version.c: Likewise.
9814 * elf/rtld.c: Likewise.
9815 * hurd/hurdsock.c: Likewise.
9816 * hurd/lookup-retry.c: Likewise.
9817 * malloc/malloc.c: Likewise.
9818 * malloc/mtrace.c: Likewise.
9819 * nscd/nscd_getgr_r.c: Likewise.
9820 * nscd/nscd_getpw_r.c: Likewise.
9821 * nscd/nscd_getserv_r.c: Likewise.
9822 * posix/getopt_init.c: Likewise.
9823 * posix/wordexp.c: Likewise.
9824 * stdio-common/_itoa.c: Likewise.
9825 * stdio-common/printf_fphex.c: Likewise.
9826 * stdio-common/vfprintf.c: Likewise.
9827 * string/_strerror.c: Likewise.
9828 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9829 * sysdeps/i386/i686/hp-timing.h: Likewise.
9830 * sysdeps/mach/_strerror.c: Likewise.
9831 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9832 * sysdeps/mach/hurd/sethostid.c: Likewise.
9833 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9834 * sysdeps/mach/xpg-strerror.c: Likewise.
9835 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9836 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9837 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9838 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9839 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9840 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9841 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9842 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9843 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9844 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9845 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9846 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9847 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9848 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9849 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9850 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9851 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9852 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9853 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9854 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9855 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9856
9857 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9858
9859 * stdio-common/_itoa.h: Moved to ...
9860 * sysdeps/generic/_itoa.h: Here.
9861
9862 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9863
9864 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9865 instead of "_itoa.h" and "_itowa.h".
9866 * stdio-common/vfprintf.: Likewise.
9867
9868 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9869
9870 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9871 <bits/wordsize.h>.
9872 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9873 (__signbit): Likwise.
9874 (llrintf): Likwise.
9875 (llrint): Likwise.
9876
9877 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9878
9879 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9880 __WORDSIZE != 64.
9881
9882 2012-03-20 Joseph Myers <joseph@codesourcery.com>
9883
9884 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9885 OVERFLOW_EXCEPTION_OK.
9886 * math/libm-test.inc ("Philosophy"): Update comment about
9887 exception testing.
9888 (OVERFLOW_EXCEPTION): Define.
9889 (OVERFLOW_EXCEPTION_OK): Likewise.
9890 (INVALID_EXCEPTION_OK): Renumber.
9891 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9892 (IGNORE_ZERO_INF_SIGN): Likewise.
9893 (test_exceptions): Handle FE_OVERFLOW.
9894 (exp10_test): Expect overflow exceptions.
9895 (exp2_test): Likewise.
9896 (expm1_test): Likewise.
9897 (nextafter_test): Likewise.
9898 (pow_test): Likewise.
9899 (scalbn_test): Likewise.
9900 (scalbln_test): Likewise.
9901
9902 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9903
9904 * sysdeps/x86_64/bits/atomic.h
9905 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9906 64bit integer.
9907 (atomic_exchange_acq): Likewise.
9908 (__arch_exchange_and_add_body): Likewise.
9909 (__arch_add_body): Likewise.
9910 (atomic_add_negative): Likewise.
9911 (atomic_add_zero): Likewise.
9912
9913 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9914
9915 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9916 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9917
9918 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9919
9920 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9921 Check __x86_64__ instead of __WORDSIZE.
9922
9923 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9924
9925 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9926
9927 2012-03-19 David S. Miller <davem@davemloft.net>
9928
9929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9930
9931 * sysdeps/sparc/fpu/fenv_private.h: New file.
9932 * sysdeps/sparc/fpu/math_private.h: Use it.
9933 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9934 Remove.
9935 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9936 (libc_feholdexcept_setroundl): Remove.
9937 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9938 Remove.
9939 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9940 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9941
9942 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9943
9944 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9945 int64_t instead of long int.
9946 (INSERT_WORDS64): Likwise.
9947
9948 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9949
9950 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9951 _Unwind_GetCFA return to _Unwind_Ptr first.
9952
9953 2012-03-19 Joseph Myers <joseph@codesourcery.com>
9954
9955 [BZ #13629]
9956 * math/s_clog.c: Include <float.h>.
9957 (__clog): Scale large or subnormal inputs.
9958 * math/s_clogf.c: Likewise.
9959 * math/s_clogl.c: Likewise.
9960 * math/s_clog10.c: Include <float.h>.
9961 (M_LOG10_2): Define.
9962 (__clog10): Scale large or subnormal inputs.
9963 * math/s_clog10f.c: Likewise.
9964 * math/s_clog10l.c: Likewise.
9965 * math/libm-test.inc (clog_test): Add more tests.
9966 (clog10_test): Likewise.
9967 * sysdeps/i386/fpu/libm-test-ulps: Update.
9968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9969
9970 [BZ #11451]
9971 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9972 x and y.
9973 * math/libm-test.inc (atan2_test): Add another test.
9974
9975 * Makerules (common-objdir-compile): Remove.
9976 * sysdeps/unix/Makefile (config-generated): Do not add
9977 $(unix-generated) to variable.
9978 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9979 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9980 Remove rule.
9981 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9982 Likewise.
9983 [generic bits/local_lim.h] (before-compile): Do not append to
9984 variable.
9985 [generic bits/local_lim.h] (common-generated): Likewise.
9986 [generic sys/param.h] (before-compile): Do not append to variable.
9987 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9988 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9989 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9990 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9991 include.
9992 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9993 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9994 [generic sys/param.h] ($(addprefix
9995 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9996 [generic sys/param.h] (common-generated): Do not append to
9997 variable.
9998 [generic sys/param.h] (sysdep_headers): Likewise.
9999 [generic bits/errno.h] (before-compile): Do not append to
10000 variable.
10001 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10002 rule.
10003 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10004 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10005 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10006 [generic bits/errno.h] (common-generated): Do not append to
10007 variable.
10008 [generic bits/ioctls.h] (before-compile): Do not append to
10009 variable.
10010 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10011 rule.
10012 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10013 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10014 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10015 rule.
10016 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10017 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10018 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10019 [generic bits/ioctls.h] (common-generated): Do not append to
10020 variable.
10021 [generic sys/syscall.h] (syscall.h): Remove variable.
10022 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10023 rule.
10024 [generic sys/syscall.h] (before-compile): Do not append to
10025 variable.
10026 [generic sys/syscall.h] (common-generated): Likewise.
10027 * sysdeps/unix/errnos-tmpl.c: Remove file.
10028 * sysdeps/unix/errnos.awk: Likewise.
10029 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10030 * sysdeps/unix/ioctls.awk: Likewise.
10031 * sysdeps/unix/mk-local_lim.c: Likewise.
10032 * sysdeps/unix/snarf-ioctls: Likewise.
10033
10034 2012-03-19 Richard Henderson <rth@twiddle.net>
10035
10036 * sysdeps/i386/fpu/fenv_private.h: New file.
10037 * sysdeps/i386/fpu/math_private.h: Use it.
10038 (math_opt_barrier, math_force_eval): Remove.
10039 (libc_feholdexcept_setround_53bit): Remove.
10040 (libc_feupdateenv_53bit): Remove.
10041 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10042 (math_opt_barrier, math_force_eval): Remove.
10043 (libc_feholdexcept): Remove.
10044 (libc_feholdexcept_setround): Remove.
10045 (libc_fetestexcept, libc_fesetenv): Remove.
10046 (libc_feupdateenv_test): Remove.
10047 (libc_feupdateenv, libc_feholdsetround): Remove.
10048 (libc_feresetround): Remove.
10049
10050 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10051 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10052
10053 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10054 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10055 (libc_feupdateenv_testl): New.
10056 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10057 (libc_feupdateenv_testf): New.
10058 (libc_feupdateenv): Use libc_feupdateenv_test.
10059 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10060 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10061
10062 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10063 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10064 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10065 (libc_feresetround_noex): New.
10066 (libc_feresetround_noexf): New.
10067 (libc_feresetround_noexl): New.
10068 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10069 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10070 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10071 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10072 SET_RESTORE_ROUND.
10073 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10074 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10075 (__cos): Likewise.
10076 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10077 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10078 SET_RESTORE_ROUND_NOEX.
10079 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10080 SET_RESTORE_ROUND_NOEXF.
10081 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10082 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10083 (libc_feholdsetroundf): New.
10084 (libc_feresetround, libc_feresetroundf): New.
10085
10086 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10087 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10088 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10089
10090 * sysdeps/generic/math_private.h: Include <fenv.h>.
10091 (default_libc_feholdexcept): New.
10092 (default_libc_feholdexcept_setround): New.
10093 (default_libc_fesetenv, default_libc_feupdateenv): New.
10094 (libc_feholdexcept): Only define if undefined.
10095 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10096 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10097 (libc_feholdexcept_setroundl): Likewise.
10098 (libc_feholdexcept_setround_53bit): Likewise.
10099 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10100 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10101 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10102 (libc_feupdateenv_53bit): Likewise.
10103 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10104 (libc_feholdexcept): Convert from macro to inline function.
10105 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10106 (libc_fesetenv, libc_feupdateenv): Likewise.
10107
10108 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10109 not previously defined.
10110 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10111 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10112 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10113 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10114 * sysdeps/ieee754/flt-32/math_private.h: New file.
10115 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10116 math_private.h below SET_FLOAT_WORD.
10117 (__isnan, __isinf_ns, __finite): Remove.
10118 (__isnanf, __isinf_nsf, __finitef): Remove.
10119
10120 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10121
10122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10123
10124 2012-03-17 David S. Miller <davem@davemloft.net>
10125
10126 [BZ #6471]
10127 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10128 for 2.16.
10129
10130 2012-03-16 David S. Miller <davem@davemloft.net>
10131
10132 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10133 warnings.
10134
10135 [BZ #6471]
10136 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10137 properly.
10138 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10139 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10140 sysdep_routines when subdir is sysvipc.
10141 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10142 __getshmlba helper.
10143
10144 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10145
10146 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10147
10148 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10149 [__LP64__].
10150
10151 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10152
10153 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10154 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10155 (__lround): Renamed to ...
10156 (__llround): This. Replace long int with long long int.
10157 Define lround functions as aliases of llround functions.
10158 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10159
10160 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10161
10162 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10163 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10164 adresses to uintptr_t. Replace "long int" and "unsigned long
10165 int" with "greg_t" on va_arg.
10166
10167 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10168
10169 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10170 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10171
10172 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10173 Move e_machine check before EI_CLASS check. Handle x32
10174 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10175 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10176 SKIP_EM_IA_64 and include
10177 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10178
10179 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10180 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10181 (add_system_dir): New macro.
10182
10183 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10184 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10185
10186 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10187
10188 [BZ #2551]
10189 [BZ #2552]
10190 [BZ #2553]
10191 [BZ #2554]
10192 [BZ #2562]
10193 [BZ #2563]
10194 [BZ #2565]
10195 [BZ #2566]
10196 [BZ #2576]
10197 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10198 (y0): Likewise.
10199 * math/w_j0f.c (j0f): Likewise.
10200 (y0f): Likewise.
10201 * math/w_j0l.c (__j0l): Likewise.
10202 (__y0l): Likewise.
10203 * math/w_j1.c (j1): Likewise.
10204 (y1): Likewise.
10205 * math/w_j1f.c (j1f): Likewise.
10206 (y1f): Likewise.
10207 * math/w_j1l.c (__j1l): Likewise.
10208 (__y1l): Likewise.
10209 * math/w_jn.c (jn): Likewise.
10210 (yn): Likewise.
10211 * math/w_jnf.c (jnf): Likewise.
10212 (ynf): Likewise.
10213 * math/w_jnl.c (__jnl): Likewise.
10214 (__ynl): Likewise.
10215 * math/libm-test.inc (j0_test): Add more tests.
10216 (j1_test): Likewise.
10217 (jn_test): Likewise. Add trailing semicolon to existing test.
10218 (y0_test): Likewise.
10219 (y1_test): Likewise.
10220 * sysdeps/i386/fpu/libm-test-ulps: Update.
10221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10222
10223 [BZ #13851]
10224 [BZ #13854]
10225 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10226 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10227 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10228 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10229 (__tanl): Set errno for infinite argument.
10230 * sysdeps/i386/fpu/mptan.c: Remove.
10231 * sysdeps/i386/fpu/s_tan.S: Likewise.
10232 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10233 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10234 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10235 * math/libm-test.inc (tan_test): Add more tests and enable more
10236 tests for double and long double.
10237 * sysdeps/i386/fpu/libm-test-ulps: Update.
10238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10239
10240 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10241
10242 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10243 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10244
10245 2012-03-16 Roland McGrath <roland@hack.frob.com>
10246
10247 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10248 * configure.in: Use it for both main tree and add-ons.
10249 * configure: Regenerated.
10250
10251 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10252
10253 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10254
10255 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10256
10257 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10258 in comment.
10259
10260 [BZ #13851]
10261 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10262 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10266 infinite argument.
10267 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10268 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10269 != 0 for prec == 2.
10270 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10271 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10272 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10273 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10274 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10275 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10276 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10277 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10278 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10279 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10280 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10281 * math/libm-test.inc (cos_test): Add more tests and enable more
10282 tests for long double.
10283 (sin_test): Likewise.
10284 (sincos_test): Likewise.
10285 * sysdeps/i386/fpu/libm-test-ulps: Update.
10286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10287
10288 2012-03-16 David S. Miller <davem@davemloft.net>
10289
10290 * sysdeps/sparc/fpu/math_private.h: New file.
10291
10292 2012-03-15 David S. Miller <davem@davemloft.net>
10293
10294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10295 file.
10296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10298 file.
10299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10304 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10305 sysdep routines.
10306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10307
10308 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10309 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10310
10311 * sysdeps/sparc/sparc-ifunc.h: New file.
10312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10313 sparc-ifunc.h
10314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10316 Likewise.
10317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10318 Likewise.
10319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10323 Likewise.
10324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10329 Likewise.
10330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10331 Likewise.
10332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10337 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10338 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10339 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10350 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10351 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10352 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10353 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10354 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10355 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10356
10357 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10358
10359 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10360 scaling.
10361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10362
10363 2012-03-15 Andreas Jaeger <aj@suse.de>
10364
10365 [BZ #13852]
10366 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10367 ieee754/flt-32 implementation for sin, cos and sincos.
10368 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10369 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10370 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10371 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10372 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10373 ieee754/flt-32 implementation for tan.
10374
10375 * math/libm-test.inc (cos_test): Enable some large input tests for
10376 float as well
10377 (sin_test): Likewise.
10378 (sincos_test): Likewise.
10379 (tan_test): Add tests for large input.
10380
10381 * sysdeps/i386/fpu/libm-test-ulps: Update.
10382
10383 2012-03-15 Andreas Jaeger <aj@suse.de>
10384
10385 [BZ #13658]
10386 * math/libm-test.inc (cos_test): Add more test cases.
10387 (sin_test): Likewise.
10388 (sincos_test): Likewise.
10389
10390 2012-03-15 Andreas Jaeger <aj@suse.de>
10391
10392 [BZ #13837]
10393 * math/libm-test.inc (cos_test): Add a test case for large input
10394 value.
10395 (sin_test): Likewise.
10396 (sincos_test): Likewise.
10397
10398 2012-03-15 Andreas Jaeger <aj@suse.de>,
10399 Joseph Myers <joseph@codesourcery.com>
10400
10401 [BZ #13658]
10402 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
10403 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10404 * sysdeps/i386/fpu/branred.c: Likewise.
10405 * sysdeps/i386/fpu/dosincos.c: Likewise.
10406 * sysdeps/i386/fpu/mpa.c: Likewise.
10407 * sysdeps/i386/fpu/s_cos.S: Likewise.
10408 * sysdeps/i386/fpu/s_sin.S: Likewise.
10409 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10410 * sysdeps/i386/fpu/sincos32.c: Likewise.
10411
10412 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10413 Define.
10414 (libc_feupdateenv_53bit): Define.
10415 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10416 Define.
10417 (libc_feupdateenv_53bit): Define.
10418
10419 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10420 53 bit (without extend i386 double precision).
10421
10422 * math/libm-test.inc (sincos_test): Add tests for large input.
10423 (sin): Likewise.
10424 (cos): Likewise.
10425
10426 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10427
10428 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10429
10430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10431
10432 2012-03-15 David S. Miller <davem@davemloft.net>
10433
10434 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10435 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10436 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10437 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
10449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10450 file.
10451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
10452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10453 file.
10454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
10455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10456 file.
10457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
10458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10459 file.
10460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10461 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10462 fmin/fmax sysdep routines.
10463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10464
10465 2012-03-14 David S. Miller <davem@davemloft.net>
10466
10467 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10471 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10472 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10473 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10474 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10476 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10477 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10487 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10488 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10489 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10490 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10491 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10492 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10493 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10494 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
10495 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10496 routines.
10497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10498 file.
10499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
10500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10501 file.
10502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
10503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10504 file.
10505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
10506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10507 file.
10508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
10509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10510 file.
10511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
10512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10513 file.
10514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10515 file.
10516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10517 file.
10518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10519 file.
10520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10521 New file.
10522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10523 file.
10524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10525 file.
10526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
10527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10528 file.
10529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
10530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10531 file.
10532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
10533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10534 file.
10535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
10536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10537 VIS3 routines.
10538
10539 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10540 New file.
10541
10542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10543
10544 * sysdeps/sparc/configure.in: New file.
10545 * sysdeps/sparc/configure: Generate.
10546 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10547 * configure: Regenerate.
10548 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10549 * config.make.in (have-as-vis3): New.
10550 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10551 available use -Av9d instead of -Av9a.
10552 * sysdeps/sparc/sparc64/Makefile: Likewise.
10553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
10554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10555 New file.
10556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10557 file.
10558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10559 New file.
10560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10561 file.
10562 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10563 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10564 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10565 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10566 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10567
10568 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10569 fzeros/fnegs to load 0x80000000 into a float register instead of
10570 using the stack.
10571 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10572
10573 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10574
10575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10576 bits/syscall.h.
10577 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10578 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10579 ($(inst_includedir)/bits/syscall.h): Remove rule.
10580 ($(objpfx)bits/syscall.d): Include instead of
10581 $(objpfx)syscall-list.d.
10582 (generated): Change syscall-list.h and syscall-list.d to
10583 bits/syscall.h and bits/syscall.d.
10584
10585 2012-03-14 Roland McGrath <roland@hack.frob.com>
10586
10587 [BZ #13846]
10588 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10589
10590 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10591
10592 [BZ #13841]
10593 * math/s_csqrt.c: Include <float.h>.
10594 (__csqrt): Scale large or subnormal inputs.
10595 * math/s_csqrtf.c: Likewise.
10596 * math/s_csqrtl.c: Likewise.
10597 * math/libm-test.inc (csqrt_test): Add more tests.
10598 * sysdeps/i386/fpu/libm-test-ulps: Update.
10599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10600
10601 [BZ #13840]
10602 * math/libm-test.inc (hypot_test): Add more tests.
10603
10604 2012-03-13 David S. Miller <davem@davemloft.net>
10605
10606 [BZ #13840]
10607 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10608 double-precision for the calculation instead of scaling.
10609
10610 2012-03-13 Joseph Myers <joseph@codesourcery.com>
10611
10612 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10613 manipulate bits before adding and subtracting TWO52[sx].
10614 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10615 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10616 Likewise.
10617 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10618
10619 2012-03-13 David S. Miller <davem@davemloft.net>
10620
10621 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10622 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10623 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10624 rtld-global-offsets.h
10625 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10626
10627 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10628 large parameters.
10629
10630 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10631
10632 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10633 'err' in the ifdef scope in which it is actually used.
10634
10635 * nss/nss_db/db-init.c: Include string.h
10636
10637 2012-03-12 David S. Miller <davem@davemloft.net>
10638
10639 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10640 masking out of the most significant byte of random value used.
10641 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10642 Fix coding style in previous change.
10643
10644 * sysdeps/unix/sysv/linux/kernel-features.h
10645 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10646 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10647 expression.
10648 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10649 later.
10650
10651 2012-03-11 David S. Miller <davem@davemloft.net>
10652
10653 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10654 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10655 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10656 for 'resultvar' otherwise things get truncated on 64-bit.
10657
10658 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10659 Fix masking out of the most significant byte of random value used.
10660
10661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10662
10663 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10664
10665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10666
10667 2012-03-09 David S. Miller <davem@davemloft.net>
10668
10669 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10670 variables with appropriate CPP guards.
10671 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10672 frame pointer, not the stack pointer. Correct layout comments. Fix test
10673 on resulting framesize and the management of the outregs buffer for pltexit.
10674 Preserve floating point return values across _dl_call_pltexit call.
10675 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10676 framesize and the management of the outregs buffer for pltexit.
10677 Preserve floating point return values across _dl_call_pltexit
10678 call.
10679 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10680 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10681 (print_exit): Fix format string for return register value.
10682
10683 2012-03-10 Joseph Myers <joseph@codesourcery.com>
10684
10685 * sunrpc/Makefile (others): Add rpcgen.
10686 ($(objpfx)rpcgen): Remove special build rule and dependency on
10687 libc.
10688 * sunrpc/rpcgen.c: New file.
10689
10690 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10691
10692 [BZ #13673]
10693 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10694 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10695 * sysdeps/i386/crti.S: Likewise.
10696 * sysdeps/i386/crtn.S: Likewise.
10697 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10698 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10699 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10700 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10701 * sysdeps/sh/crti.S: Likewise.
10702 * sysdeps/sh/crtn.S: Likewise.
10703 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10704
10705 [BZ #13673]
10706 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10707 with URL.
10708 * locale/programs/locfile-kw.gperf: Likewise.
10709 * locale/programs/charmap-kw.h: Regenerated.
10710 * locale/programs/locfile-kw.h: Likewise.
10711
10712 [BZ #13673]
10713 * intl/plural.y: Replace FSF snail mail address with URL.
10714 * intl/plural.c: Regenerated.
10715
10716 2012-03-09 Richard Henderson <rth@twiddle.net>
10717
10718 * include/math_private.h: Remove file.
10719 * math/math_private.h: Move file ...
10720 * sysdeps/generic/math_private.h: ... here.
10721
10722 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10723 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10724 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10725
10726 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10727 and <math_private.h>.
10728 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10729 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10730 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10731 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10732 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10733 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10734 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10735 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10736 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10737 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10738 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10739 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10740 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10741 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10742 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10743 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10744 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10745 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10746 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10747 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10764 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10765 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10766 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10767 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10768 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10769 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10770 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10771 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10772 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10773 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10774 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10775 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10776 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10777 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10780 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10781 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10782 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10784 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10785 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10786 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10787 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10788 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10789 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10790 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10792 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10797 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10798 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10799 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10801 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10802 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10803 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10804 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10805 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10806 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10807 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10808 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10809 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10810 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10811 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10812 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10813 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10814 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10815 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10816 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10817 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10818 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10819 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10820 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10821 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10822 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10823 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10824 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10825 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10826 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10827 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10828 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10829 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10830 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10831 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10832 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10833 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10834 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10835 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10836 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10837 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10838 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10839 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10840 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10841 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10842 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10843 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10844 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10845 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10846 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10847 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10848 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10849 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10850 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10851 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10852 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10853 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10854 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10855 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10856 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10857 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10858 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10859 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10860 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10861 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10862 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10863 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10864 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10865 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10866 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10867 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10868 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10869 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10870 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10871 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10872 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10873 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10874 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10875 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10876 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10877 * sysdeps/ieee754/k_standard.c: Likewise.
10878 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10879 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10880 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10881 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10882 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10883 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10884 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10885 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10886 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10887 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10888 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10889 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10890 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10891 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10892 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10893 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10894 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10895 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10896 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10897 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10898 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10899 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10900 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10901 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10902 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10903 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10904 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10905 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10906 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10907 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10908 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10909 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10910 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10911 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10912 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10913 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10914 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10915 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10916 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10917 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10918 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10919 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10920 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10921 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10922 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10923 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10924 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10925 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10926 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10927 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10928 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10929 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10930 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10931 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10932 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10933 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10934 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10935 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10936 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10937 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10938 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10939 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10940 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10941 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10942 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10943 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10944 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10945 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10946 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10947 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10948 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10949 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10950 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10951 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10952 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10953 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10954 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10955 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10956 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10957 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10958 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10959 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10960 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10961 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10962 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10963 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10964 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10965 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10966 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10967 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10968 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10969 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10970 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10971 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10972 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10973 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10974 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10975 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10976 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10977 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10978 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10979 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10980 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10981 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10982 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10983 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10984 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10985 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10986 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10987 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10988 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10989 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10990 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10991 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10992 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10993 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10994 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10995 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10996 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10997 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10998 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10999 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11000 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11001 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11002 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11003 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11004 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11005 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11006 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11007 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11008 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11009 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11010 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11012 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11013 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11014 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11016 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11017 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11019 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11020 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11021 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11022 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11023 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11024 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11025 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11026 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11027 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11028 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11029 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11030 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11031 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11032 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11033 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11034 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11035 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11036 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11037 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11038 * sysdeps/ieee754/s_lib_version.c: Likewise.
11039 * sysdeps/ieee754/s_matherr.c: Likewise.
11040 * sysdeps/ieee754/s_signgam.c: Likewise.
11041 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11042 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11043 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11044 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11045 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11046 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11047 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11048 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11049 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11050 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11051 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11052 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11053 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11054 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11055 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11056 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11057 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11058 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11059 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11060 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11061 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11062
11063 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11064
11065 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11066 * sunrpc/rpc_main.c: Likewise.
11067 * sunrpc/rpc_svcout.c: Likewise.
11068
11069 2012-03-09 David S. Miller <davem@davemloft.net>
11070
11071 * include/math_private.h: New file.
11072
11073 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11074
11075 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11076 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11077 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11078 from <bits/socket_type.h>.
11079 (enum __socket_type): Don't define here.
11080 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11081 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11082 bits/socket_type.h.
11083
11084 [BZ #13566]
11085 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11086 checking __USE_GNU.
11087
11088 * Makerules ($(inst_includedir)/%.h): New rule.
11089 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11090 (install-others): Remove variable setting.
11091 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11092
11093 2012-03-08 Richard Henderson <rth@twiddle.net>
11094
11095 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11096 from macro to inline function; merge with the
11097 !__LIBC_INTERNAL_MATH_INLINES version.
11098 (__ieee754_sqrtf): Likewise.
11099
11100 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11101 to inline function.
11102 (__rintf, __floor, __floorf): Likewise.
11103
11104 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11105 macro to inline function.
11106 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11107
11108 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11109 not <math/math_private.h>.
11110
11111 2012-03-08 David S. Miller <davem@davemloft.net>
11112
11113 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11114 copyright year.
11115 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11116
11117 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11118
11119 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11120 normalization.
11121 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11122 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11123
11124 2012-03-08 Ulrich Drepper <drepper@gmail.com>
11125
11126 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11127 be defined individually, they must be defined as a block. Define
11128 S for printing a string instead of hidint the different by using a
11129 macro for adding the 'l'.
11130 * stdio-common/tst-fphex-wide.c: Adjust.
11131
11132 2012-03-07 Marek Polacek <polacek@redhat.com>
11133
11134 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11135
11136 2012-03-08 Marek Polacek <polacek@redhat.com>
11137
11138 [BZ #13806]
11139 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11140 * stdio-common/tst-fphex.c: Define a few macros to make the
11141 test reusable. Use them.
11142 * stdio-common/tst-fphex-wide.c: New file.
11143
11144 2012-03-08 Joseph Myers <joseph@codesourcery.com>
11145
11146 [BZ #6911]
11147 * manual/macros.texi (gnusystems): New macro.
11148 (nongnusystems): Likewise.
11149 (gnulinuxhurdsystems): Likewise.
11150 (gnuhurdsystems): Likewise..
11151 (gnulinuxsystems): Likewise.
11152 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11153 variants of the GNU system, not "GNU system".
11154 * manual/conf.texi: Likewise.
11155 * manual/errno.texi: Likewise. Update example of errno macro
11156 expansion.
11157 * manual/filesys.texi: Likewise.
11158 (getumask): Document as specific to GNU/Hurd.
11159 * manual/install.texi: Likewise. Reword some references to
11160 GNU/Linux.
11161 * manual/intro.texi: Likewise.
11162 * manual/io.texi: Likewise.
11163 (File Name Portability): Detail which constraints are inapplicable
11164 to all GNU systems and which are only inapplicable to GNU/Hurd.
11165 * manual/job.texi: Likewise.
11166 * manual/llio.texi: Likewise.
11167 (O_NOCTTY): Document as present on GNU/Linux.
11168 * manual/maint.texi: Likewise.
11169 * manual/memory.texi: Likewise.
11170 * manual/pattern.texi: Likewise.
11171 * manual/pipe.texi: Likewise.
11172 * manual/process.texi: Likewise.
11173 * manual/resource.texi: Likewise.
11174 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11175 child on GNU/Hurd.
11176 * manual/setjmp.texi: Likewise.
11177 * manual/signal.texi: Likewise.
11178 * manual/startup.texi: Likewise.
11179 * manual/stdio.texi: Likewise.
11180 * manual/terminal.texi: Likewise.
11181 (ONLCR): Document as POSIX.
11182 (OXTABS): Document availability on GNU/Linux as XTABS.
11183 (ONOEOT): Document availability separately from other bits.
11184 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11185 * manual/time.texi: Likewise.
11186 * manual/users.texi: Likewise.
11187 * INSTALL: Regenerated.
11188 * sysdeps/gnu/errlist.c: Regenerated.
11189
11190 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11191 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11192 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11193 puts.
11194 * configure: Regenerated.
11195
11196 2012-03-07 Joseph Myers <joseph@codesourcery.com>
11197
11198 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11199 default includes instead of AC_HEADER_CHECK.
11200 * sysdeps/i386/configure: Regenerated.
11201
11202 [BZ #10716]
11203 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11204 * math/s_cacoshf.c (__cacoshf): Likewise.
11205 * math/s_cacoshl.c (__cacoshl): Likewise.
11206 * math/s_casinh.c (__casinh): Set signs of result from argument.
11207 * math/s_casinhf.c (__casinhf): Likewise.
11208 * math/s_casinhl.c (__casinhl): Likewise.
11209 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11210 (casinh_test): Add more tests.
11211 * sysdeps/i386/fpu/libm-test-ulps: Update.
11212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11213
11214 2012-03-07 Ulrich Drepper <drepper@gmail.com>
11215
11216 * po/zh_TW.po: Update from translation team.
11217
11218 * login/Makefile (distribute): Remove variable.
11219 * catgets/Makefile: Likewise.
11220 * mach/Makefile: Likewise.
11221 * malloc/Makefile: Likewise.
11222 * misc/Makefile: Likewise.
11223 * iconv/Makefile: Likewise.
11224 * nscd/Makefile: Likewise.
11225 * hurd/Makefile: Likewise.
11226 * manual/Makefile: Likewise.
11227 * locale/Makefile: Likewise.
11228 * intl/Makefile: Likewise.
11229 * conform/Makefile: Likewise.
11230 * nss/Makefile: Likewise.
11231 * time/Makefile: Likewise.
11232 * soft-fp/Makefile: Likewise.
11233 * dirent/Makefile: Likewise.
11234 * gmon/Makefile: Likewise.
11235 * po/Makefile: Likewise.
11236 * rt/Makefile: Likewise.
11237 * socket/Makefile: Likewise.
11238 * math/Makefile: Likewise.
11239 * signal/Makefile: Likewise.
11240 * debug/Makefile: Likewise.
11241 * elf/Makefile: Likewise.
11242 * timezone/Makefile: Likewise.
11243 * stdlib/Makefile: Likewise.
11244 * iconvdata/Makefile: Likewise.
11245 * sunrpc/Makefile: Likewise.
11246 * io/Makefile: Likewise.
11247 * argp/Makefile: Likewise.
11248 * inet/Makefile: Likewise.
11249 * hesiod/Makefile: Likewise.
11250 * grp/Makefile: Likewise.
11251 * csu/Makefile: Likewise.
11252 * wctype/Makefile: Likewise.
11253 * crypt/Makefile: Likewise.
11254 * libio/Makefile: Likewise.
11255 * string/Makefile: Likewise.
11256 * nis/Makefile: Likewise.
11257 * resolv/Makefile: Likewise.
11258 * stdio-common/Makefile: Likewise.
11259 * wcsmbs/Makefile: Likewise.
11260 * dlfcn/Makefile: Likewise.
11261 * posix/Makefile: Likewise.
11262
11263 [BZ #6959]
11264 * timezone/Makefile: Don't install timezone files, just the programs
11265 and scripts.
11266
11267 2012-03-06 Ulrich Drepper <drepper@gmail.com>
11268
11269 * nss/databases.def: Add missing gshadow entry.
11270
11271 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11272
11273 2012-03-06 Marek Polacek <polacek@redhat.com>
11274
11275 [BZ #13726]
11276 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11277 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11278 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11279 * stdio-common/tst-long-dbl-fphex.c: New file.
11280
11281 2012-03-06 David S. Miller <davem@davemloft.net>
11282
11283 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11284 (set_obp_int): New function.
11285 (get_obp_int): New function.
11286 (__get_clockfreq_via_dev_openprom): Likewise.
11287 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11288 Avoid unused variable warnings on 'val' and use builtin_expect.
11289 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11290 __builtin_expect.
11291 (INLINE_CLONE_SYSCALL): Likewise.
11292
11293 2012-03-05 David S. Miller <davem@davemloft.net>
11294
11295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11296
11297 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11298
11299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11300
11301 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11302 only for |x| >= 40.
11303 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11304
11305 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
11306
11307 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11308 Replace gettimeofday with __vdso_gettimeofday.
11309
11310 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11311 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11312 __vdso_clock_gettime and __vdso_getcpu.
11313
11314 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11315 time with __vdso_time.
11316
11317 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11318
11319 * manual/lang.texi (size_t): Note types to which size_t may be
11320 equivalent with the GNU C Library, but do not describe when
11321 differences between them are significant.
11322
11323 2012-03-05 Andreas Jaeger <aj@suse.de>
11324
11325 * sysdeps/i386/fpu/libm-test-ulps: Update.
11326
11327 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11328
11329 [BZ #3976]
11330 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11331 (__ieee754_pow): Save and restore rounding mode and use
11332 round-to-nearest for main computations.
11333 * math/libm-test.inc (pow_test_tonearest): New function.
11334 (pow_test_towardzero): Likewise.
11335 (pow_test_downward): Likewise.
11336 (pow_test_upward): Likewise.
11337 (main): Call the new functions.
11338 * sysdeps/i386/fpu/libm-test-ulps: Update.
11339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11340
11341 [BZ #3976]
11342 * math/libm-test.inc (cosh_test_tonearest): New function.
11343 (cosh_test_towardzero): Likewise.
11344 (cosh_test_downward): Likewise.
11345 (cosh_test_upward): Likewise.
11346 (sinh_test_tonearest): Likewise.
11347 (sinh_test_towardzero): Likewise.
11348 (sinh_test_downward): Likewise.
11349 (sinh_test_upward): Likewise.
11350 (main): Call the new functions.
11351 * sysdeps/i386/fpu/libm-test-ulps: Update.
11352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11353
11354 2012-03-05 Tom de Vries <tom@codesourcery.com>
11355
11356 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11357 default stack guard is set in last bytes.
11358 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11359
11360 2012-03-05 Kees Cook <keescook@chromium.org>
11361
11362 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
11363
11364 [BZ #13656]
11365 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11366 possibly allocate from heap instead of stack.
11367 * stdio-common/bug-vfprintf-nargs.c: New file.
11368 * stdio-common/Makefile (tests): Add nargs overflow test.
11369
11370 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11371
11372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11373
11374 2012-03-03 Marek Polacek <polacek@redhat.com>
11375
11376 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11377 * math/math_private.h: Likewise.
11378 * stdlib/tst-strtod.c: Likewise.
11379 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11380 * sysdeps/x86_64/bits/atomic.h: Likewise.
11381
11382 2012-03-02 David S. Miller <davem@davemloft.net>
11383
11384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11388 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11389 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11390 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11391 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11392
11393 2012-03-02 Roland McGrath <roland@hack.frob.com>
11394
11395 [BZ #13792]
11396 * manual/examples/README: New file, says the example source files
11397 can be used under GPL>=2.
11398 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11399 line containing just "*/".
11400 * manual/examples/add.c: Add copyright header (GPL>=2).
11401 * manual/examples/argp-ex1.c: Likewise.
11402 * manual/examples/argp-ex2.c: Likewise.
11403 * manual/examples/argp-ex3.c: Likewise.
11404 * manual/examples/argp-ex4.c: Likewise.
11405 * manual/examples/atexit.c: Likewise.
11406 * manual/examples/db.c: Likewise.
11407 * manual/examples/dir.c: Likewise.
11408 * manual/examples/dir2.c: Likewise.
11409 * manual/examples/execinfo.c: Likewise.
11410 * manual/examples/filecli.c: Likewise.
11411 * manual/examples/filesrv.c: Likewise.
11412 * manual/examples/fmtmsgexpl.c: Likewise.
11413 * manual/examples/genpass.c: Likewise.
11414 * manual/examples/inetcli.c: Likewise.
11415 * manual/examples/inetsrv.c: Likewise.
11416 * manual/examples/isockad.c: Likewise.
11417 * manual/examples/longopt.c: Likewise.
11418 * manual/examples/memopen.c: Likewise.
11419 * manual/examples/memstrm.c: Likewise.
11420 * manual/examples/mkfsock.c: Likewise.
11421 * manual/examples/mkisock.c: Likewise.
11422 * manual/examples/mygetpass.c: Likewise.
11423 * manual/examples/pipe.c: Likewise.
11424 * manual/examples/popen.c: Likewise.
11425 * manual/examples/rprintf.c: Likewise.
11426 * manual/examples/search.c: Likewise.
11427 * manual/examples/select.c: Likewise.
11428 * manual/examples/setjmp.c: Likewise.
11429 * manual/examples/sigh1.c: Likewise.
11430 * manual/examples/sigusr.c: Likewise.
11431 * manual/examples/stpcpy.c: Likewise.
11432 * manual/examples/strdupa.c: Likewise.
11433 * manual/examples/strftim.c: Likewise.
11434 * manual/examples/strncat.c: Likewise.
11435 * manual/examples/subopt.c: Likewise.
11436 * manual/examples/swapcontext.c: Likewise.
11437 * manual/examples/termios.c: Likewise.
11438 * manual/examples/testopt.c: Likewise.
11439 * manual/examples/testpass.c: Likewise.
11440 * manual/examples/timeval_subtract.c: Likewise.
11441
11442 [BZ #13792]
11443 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11444 function to ...
11445 * manual/timeval_subtract.c.texi: ... here, new file.
11446
11447 2012-03-02 David S. Miller <davem@davemloft.net>
11448
11449 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11450
11451 2012-03-02 Joseph Myers <joseph@codesourcery.com>
11452
11453 [BZ #3976]
11454 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11455 (__sin): Save and restore rounding mode and use round-to-nearest
11456 for all computations.
11457 (__cos): Save and restore rounding mode and use round-to-nearest
11458 for all computations.
11459 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11460 <fenv.h>.
11461 (tan): Save and restore rounding mode and use round-to-nearest for
11462 all computations.
11463 * math/libm-test.inc (cos_test_tonearest): New function.
11464 (cos_test_towardzero): Likewise.
11465 (cos_test_downward): Likewise.
11466 (cos_test_upward): Likewise.
11467 (sin_test_tonearest): Likewise.
11468 (sin_test_towardzero): Likewise.
11469 (sin_test_downward): Likewise.
11470 (sin_test_upward): Likewise.
11471 (tan_test_tonearest): Likewise.
11472 (tan_test_towardzero): Likewise.
11473 (tan_test_downward): Likewise.
11474 (tan_test_upward): Likewise.
11475 (main): Call the new functions.
11476 * sysdeps/i386/fpu/libm-test-ulps: Update.
11477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11478
11479 [BZ #10135]
11480 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11481 small n, then large n, before computing and testing k+n.
11482 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11483 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11484 Likewise.
11485 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11486 Likewise.
11487 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11488 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11489 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11490 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11491 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11492 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11493 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11494 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11495 * math/libm-test.inc (scalbn_test): Add more tests.
11496 (scalbln_test): Likewise.
11497
11498 * manual/filesys.texi (mode_t): Describe constraints on size and
11499 signedness, not exact equivalence to a particular type.
11500 (ino_t): Likewise.
11501 (ino64_t): Likewise.
11502 (dev_t): Likewise.
11503 (nlink_t): Likewise.
11504 (blkcnt_t): Likewise.
11505 (blkcnt64_t): Likewise.
11506 * manual/llio.texi (off_t): Likewise.
11507
11508 [BZ #3976]
11509 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11510 (__ieee754_exp): Save and restore rounding mode and use
11511 round-to-nearest for all computations.
11512 * math/libm-test.inc (exp_test_tonearest): New function.
11513 (exp_test_towardzero): Likewise.
11514 (exp_test_downward): Likewise.
11515 (exp_test_upward): Likewise.
11516 (main): Call the new functions.
11517 * sysdeps/i386/fpu/libm-test-ulps: Update.
11518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11519
11520 2012-03-01 Chris Demetriou <cgd@google.com>
11521
11522 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11523 have predictable order.
11524
11525 2012-03-01 David S. Miller <davem@davemloft.net>
11526
11527 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11528
11529 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11530 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11531 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11532 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11533
11534 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11535 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11536 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11538 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11539 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11540 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11541 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11542 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11543
11544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11545
11546 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11547 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11548 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11549
11550 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11551 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11552 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11553 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11554 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11555 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11556 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11557 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11558 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11559 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11560 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11561 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11562 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11563 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11564 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11565 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11566 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11567 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11568 * sysdeps/sparc/elf/configure: Regenerated.
11569
11570 2012-03-01 Joseph Myers <joseph@codesourcery.com>
11571
11572 * configure.in (AS, LD): Require binutils 2.20 or later.
11573 * configure: Regenerated.
11574 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11575 as required minimum version.
11576 * INSTALL: Regenerated.
11577
11578 [BZ #2541]
11579 [BZ #4108]
11580 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11581 before squaring exponent.
11582 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11583 bottom long double and 27 bits of top long double before squaring
11584 exponent.
11585 * math/libm-test.inc (erfc_test): Add more tests.
11586 * sysdeps/i386/fpu/libm-test-ulps: Update.
11587 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11589
11590 2012-03-01 Kai Tietz <ktietz@redhat.com>
11591
11592 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11593 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11594 containing bit-fields.
11595 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11596 * soft-fp/single.h (_FP_UNION_S): Likewise.
11597 * soft-fp/double.h (_FP_UNION_D): Likewise.
11598
11599 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11600
11601 [BZ #13786]
11602 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11603 not include ../strcmp.S.
11604 [USE_AS_STRNCASECMP_L]: Likewise.
11605 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11606 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11607 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11608 (__strncasecmp_l_ia32): Define as alias to
11609 __strncasecmp_l_nonascii.
11610
11611 [BZ #5794]
11612 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11613 * sysdeps/i386/fpu/libm-test-ulps: Update.
11614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11615
11616 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11618
11619 2012-02-29 Jeff Law <law@redhat.com>
11620
11621 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11622 out of bounds read.
11623
11624 2012-02-29 Marek Polacek <polacek@redhat.com>
11625
11626 [BZ #13706]
11627 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11628 * elf/Makefile: Add rules to run tst-unused-dep.out.
11629
11630 2012-02-28 David S. Miller <davem@davemloft.net>
11631
11632 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11633 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11634 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11635 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11636 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11637 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11638
11639 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11640
11641 * math/libm-test.inc (llround_test): Move one test from
11642 lround_test. Use TEST_f_L in moved test.
11643 (lround_test): Move misplaced test to llround_test. Add testcase
11644 from bug 2561.
11645
11646 2012-02-28 Ulrich Drepper <drepper@gmail.com>
11647
11648 * sysdeps/x86_64/fpu/e_expf.S: New file.
11649 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11650
11651 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11652
11653 [BZ #13637]
11654 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11655 of remain_len that may cause incomplete multi-byte character and
11656 false match.
11657 * posix/bug-regex33.c: New file.
11658 * posix/Makefile (tests): Add bug-regex33.
11659
11660 2012-02-28 Joseph Myers <joseph@codesourcery.com>
11661
11662 * manual/macros.texi: New file.
11663 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11664 * manual/libc.texinfo: Include macros.texi.
11665 * manual/creatute.texi: Likewise.
11666 * manual/install.texi: Likewise.
11667 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11668 @glibcadj{} in references to the GNU C Library.
11669 * manual/charset.texi: Likewise.
11670 * manual/conf.texi: Likewise.
11671 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11672 when not using those macros.
11673 * manual/creature.texi: Likewise.
11674 * manual/crypt.texi: Likewise.
11675 * manual/errno.texi: Likewise.
11676 * manual/filesys.texi: Likewise.
11677 * manual/header.texi: Likewise.
11678 * manual/install.texi: Likewise.
11679 * manual/intro.texi: Likewise.
11680 * manual/io.texi: Likewise.
11681 * manual/job.texi: Likewise.
11682 * manual/lang.texi: Likewise.
11683 * manual/libc.texiinfo: Likewise.
11684 * manual/llio.texi: Likewise.
11685 * manual/locale.texi: Likewise.
11686 * manual/maint.texi: Likewise.
11687 * manual/math.texi: Likewise.
11688 * manual/memory.texi: Likewise.
11689 * manual/message.texi: Likewise.
11690 * manual/nss.texi: Likewise.
11691 * manual/pattern.texi: Likewise.
11692 * manual/process.texi: Likewise.
11693 * manual/resource.texi: Likewise.
11694 * manual/search.texi: Likewise.
11695 * manual/setjmp.texi: Likewise.
11696 * manual/signal.texi: Likewise.
11697 * manual/socket.texi: Likewise.
11698 * manual/startup.texi: Likewise.
11699 * manual/stdio.texi: Likewise.
11700 * manual/string.texi: Likewise.
11701 * manual/sysinfo.texi: Likewise.
11702 * manual/syslog.texi: Likewise.
11703 * manual/terminal.texi: Likewise.
11704 * manual/time.texi: Likewise.
11705 * manual/users.texi: Likewise.
11706 * INSTALL: Regenerated.
11707 * NOTES: Regenerated.
11708 * sysdeps/gnu/errlist.c: Regenerated.
11709
11710 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11711
11712 * include/dirent.h: Include <dirstream.h> before
11713 <dirent/dirent.h>.
11714
11715 2012-02-28 David S. Miller <davem@davemloft.net>
11716
11717 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11718 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11719 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11720 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11721
11722 2012-02-27 David S. Miller <davem@davemloft.net>
11723
11724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11726 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11727 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11728
11729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11730 frame pointer instead of stack pointer relative arg slot.
11731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11732 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11733 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11734
11735 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11736
11737 [BZ #3992]
11738 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11739
11740 2012-02-27 David S. Miller <davem@davemloft.net>
11741
11742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11746 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11747 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11748 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11749 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11750
11751 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11752
11753 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11754 later. Allow versions 5-9.
11755 * configure: Regenerated.
11756 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11757 required minimum version and 4.6 as recommended version. Do not
11758 mention bugs in GCC 2.7 and 2.8.
11759 * INSTALL: Regenerated.
11760
11761 2012-02-27 David S. Miller <davem@davemloft.net>
11762
11763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11767 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11768 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11769 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11770 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11771
11772 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11773 manipulate bits before adding and subtracting TWO112[sx].
11774 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11775
11776 2012-02-27 Roland McGrath <roland@hack.frob.com>
11777
11778 [BZ #13775]
11779 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11780 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11781 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11782 being in POSIX, because they are in 1003.1-2008.
11783
11784 * rt/tst-aio.c: Include <fcntl.h>.
11785 * rt/tst-aio7.c: Likewise.
11786 * rt/tst-aio64.c: Likewise.
11787
11788 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11789
11790 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11791
11792 * manual/install.texi (--with-headers): Describe headers as
11793 interface headers, not private headers.
11794 (Specific advice for GNU/Linux systems): Describe use of headers
11795 from "make headers_install", not private headers from older
11796 kernels.
11797 * INSTALL: Regenerated.
11798 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11799 Change to 2.6.19.
11800 * sysdeps/unix/sysv/linux/configure: Regenerated.
11801
11802 * manual/llio.texi (fclean): Remove documentation.
11803
11804 * manual/Makefile (libc-texi-generated): New variable. Include
11805 version.texi.
11806 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11807 $(libc-texi-generated), not duplicated list of files.
11808 (version.texi, stamp-version): New rules.
11809 (realclean): Remove $(libc-texi-generated), not individual files
11810 from that list. Do not remove dir-add.texinfo.
11811 * manual/libc.texinfo: Comment out uses of edition numbers and
11812 references to printed manual. Remove last-updated dates.
11813 (EDITION): Comment out.
11814 (ISBN): Likewise.
11815 (VERSION, UPDATED): Remove.
11816 (version.texi): Include.
11817
11818 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11819
11820 * sysdeps/posix/spawni.c: Include <signal.h>.
11821 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11822 * sysdeps/pthread/aio_fsync.c: Likewise.
11823
11824 2012-02-26 Ulrich Drepper <drepper@gmail.com>
11825
11826 * conform/Makefile (tests): Run only when not cross-compiling and
11827 when fast-check is not defined.
11828
11829 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11830 * conform/data/limits.h-data: Fixes for POSIX2008.
11831 * conform/run-conformtest.sh: Run all tests.
11832 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11833 headers.
11834 * include/bits/dlfcn.h: Likewise.
11835 * include/langinfo.h: Likewise.
11836 * include/monetary.h: Likewise.
11837 * include/sys/poll.h: Likewise.
11838
11839 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11840 for __USE_GNU.
11841 * posix/spawn.h: Define __need_sigset_t.
11842 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11843 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11844 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11845 to get sigevent_t only.
11846 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11847 only for __USE_GNU.
11848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11849 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11850 process_vm_writev only for __USE_GNU.
11851 * termios/termios.h: Declare tcgetsid also for POSIX2008.
11852
11853 * conform/Makefile: For now ignore errors from run-conformtest.
11854 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11855 POSIX to avoid namespace pollution. Don't prepend headers.
11856 * conform/data/aio.h-data: Fixes for POSIX testing.
11857 * conform/data/fcntl.h-data: Likewise.
11858 * conform/data/glob.h-data: Likewise.
11859 * conform/data/grp.h-data: Likewise.
11860 * conform/data/pthread.h-data: Likewise.
11861 * conform/data/pwd.h-data: Likewise.
11862 * conform/data/signal.h-data: Likewise.
11863 * conform/data/spawn.h-data: Likewise.
11864 * conform/data/stdio.h-data: Likewise.
11865 * conform/data/stdlib.h-data: Likewise.
11866 * conform/data/stropts.h-data: Likewise.
11867 * conform/data/sys/mman.h-data: Likewise.
11868 * conform/data/sys/stat.h-data: Likewise.
11869 * conform/data/sys/types.h-data: Likewise.
11870 * conform/data/sys/wait.h-data: Likewise.
11871 * conform/data/time.h-data: Likewise.
11872 * conform/data/unistd.h-data: Likewise.
11873 * conform/data/utime.h-data: Likewise.
11874
11875 * io/sys/stat.h: fchmod was always in POSIX.
11876 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11877 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11878 * rt/aio.h: Define __need_timespec before including <time.h>.
11879 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11880 struct. Add forward declaration of pthread_attr_t and use it in
11881 sigevent.
11882 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11883 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11884 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11885 always remove CLK_TCK definition.
11886
11887 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11888
11889 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11890
11891 2012-02-25 Ulrich Drepper <drepper@gmail.com>
11892
11893 * conform/run-conformtest.sh: New file.
11894 * conform/Makefile: Run run-conformtest for tests.
11895 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11896 support.
11897
11898 * conform/data/uchar.h-data: New file.
11899 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11900 * conform/data/arpa/inet.h-data: Likewise.
11901 * conform/data/assert.h-data: Likewise.
11902 * conform/data/complex.h-data: Likewise.
11903 * conform/data/cpio.h-data: Likewise.
11904 * conform/data/ctype.h-data: Likewise.
11905 * conform/data/dirent.h-data: Likewise.
11906 * conform/data/dlfcn.h-data: Likewise.
11907 * conform/data/errno.h-data: Likewise.
11908 * conform/data/fcntl.h-data: Likewise.
11909 * conform/data/float.h-data: Likewise.
11910 * conform/data/fmtmsg.h-data: Likewise.
11911 * conform/data/fnmatch.h-data: Likewise.
11912 * conform/data/ftw.h-data: Likewise.
11913 * conform/data/glob.h-data: Likewise.
11914 * conform/data/grp.h-data: Likewise.
11915 * conform/data/iconv.h-data: Likewise.
11916 * conform/data/inttypes.h-data: Likewise.
11917 * conform/data/langinfo.h-data: Likewise.
11918 * conform/data/libgen.h-data: Likewise.
11919 * conform/data/limits.h-data: Likewise.
11920 * conform/data/locale.h-data: Likewise.
11921 * conform/data/math.h-data: Likewise.
11922 * conform/data/monetary.h-data: Likewise.
11923 * conform/data/mqueue.h-data: Likewise.
11924 * conform/data/ndbm.h-data: Likewise.
11925 * conform/data/net/if.h-data: Likewise.
11926 * conform/data/netdb.h-data: Likewise.
11927 * conform/data/netinet/in.h-data: Likewise.
11928 * conform/data/nl_types.h-data: Likewise.
11929 * conform/data/poll.h-data: Likewise.
11930 * conform/data/pthread.h-data: Likewise.
11931 * conform/data/pwd.h-data: Likewise.
11932 * conform/data/regex.h-data: Likewise.
11933 * conform/data/sched.h-data: Likewise.
11934 * conform/data/search.h-data: Likewise.
11935 * conform/data/semaphore.h-data: Likewise.
11936 * conform/data/setjmp.h-data: Likewise.
11937 * conform/data/signal.h-data: Likewise.
11938 * conform/data/spawn.h-data: Likewise.
11939 * conform/data/stdarg.h-data: Likewise.
11940 * conform/data/stdio.h-data: Likewise.
11941 * conform/data/stdlib.h-data: Likewise.
11942 * conform/data/string.h-data: Likewise.
11943 * conform/data/strings.h-data: Likewise.
11944 * conform/data/stropts.h-data: Likewise.
11945 * conform/data/sys/ipc.h-data: Likewise.
11946 * conform/data/sys/mman.h-data: Likewise.
11947 * conform/data/sys/msg.h-data: Likewise.
11948 * conform/data/sys/resource.h-data: Likewise.
11949 * conform/data/sys/select.h-data: Likewise.
11950 * conform/data/sys/sem.h-data: Likewise.
11951 * conform/data/sys/shm.h-data: Likewise.
11952 * conform/data/sys/socket.h-data: Likewise.
11953 * conform/data/sys/stat.h-data: Likewise.
11954 * conform/data/sys/statvfs.h-data: Likewise.
11955 * conform/data/sys/time.h-data: Likewise.
11956 * conform/data/sys/timeb.h-data: Likewise.
11957 * conform/data/sys/times.h-data: Likewise.
11958 * conform/data/sys/types.h-data: Likewise.
11959 * conform/data/sys/uio.h-data: Likewise.
11960 * conform/data/sys/un.h-data: Likewise.
11961 * conform/data/sys/utsname.h-data: Likewise.
11962 * conform/data/sys/wait.h-data: Likewise.
11963 * conform/data/syslog.h-data: Likewise.
11964 * conform/data/tar.h-data: Likewise.
11965 * conform/data/termios.h-data: Likewise.
11966 * conform/data/utime.h-data: Likewise.
11967 * conform/data/utmpx.h-data: Likewise.
11968 * conform/data/varargs.h-data: Likewise.
11969 * conform/data/wchar.h-data: Likewise.
11970 * conform/data/wctype.h-data: Likewise.
11971 * conform/data/wordexp.h-data: Likewise.
11972
11973 * include/stropts.h: New file.
11974 * include/uchar.h: New file.
11975 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11976 * include/assert.h: Likewise.
11977 * include/ctype.h: Likewise.
11978 * include/dirent.h: Likewise.
11979 * include/dlfcn.h: Likewise.
11980 * include/fcntl.h: Likewise.
11981 * include/fnmatch.h: Likewise.
11982 * include/glob.h: Likewise.
11983 * include/grp.h: Likewise.
11984 * include/libio.h: Likewise.
11985 * include/locale.h: Likewise.
11986 * include/math.h: Likewise.
11987 * include/net/if.h: Likewise.
11988 * include/netdb.h: Likewise.
11989 * include/netinet/in.h: Likewise.
11990 * include/pthread.h: Likewise.
11991 * include/pwd.h: Likewise.
11992 * include/regex.h: Likewise.
11993 * include/sched.h: Likewise.
11994 * include/search.h: Likewise.
11995 * include/setjmp.h: Likewise.
11996 * include/signal.h: Likewise.
11997 * include/stdio.h: Likewise.
11998 * include/stdlib.h: Likewise.
11999 * include/string.h: Likewise.
12000 * include/sys/cdefs.h: Likewise.
12001 * include/sys/mman.h: Likewise.
12002 * include/sys/msg.h: Likewise.
12003 * include/sys/resource.h: Likewise.
12004 * include/sys/select.h: Likewise.
12005 * include/sys/socket.h: Likewise.
12006 * include/sys/stat.h: Likewise.
12007 * include/sys/statvfs.h: Likewise.
12008 * include/sys/time.h: Likewise.
12009 * include/sys/times.h: Likewise.
12010 * include/sys/uio.h: Likewise.
12011 * include/sys/utsname.h: Likewise.
12012 * include/sys/wait.h: Likewise.
12013 * include/termios.h: Likewise.
12014 * include/time.h: Likewise.
12015 * include/ulimit.h: Likewise.
12016 * include/unistd.h: Likewise.
12017 * include/utime.h: Likewise.
12018 * include/wchar.h: Likewise.
12019 * include/wctype.h: Likewise.
12020 * include/wordexp.h: Likewise.
12021
12022 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12023
12024 * time/time.h: TIME_UTC must be a macro.
12025 Make timespec_get available for ISO C11 only as well.
12026
12027 2012-02-24 Ulrich Drepper <drepper@gmail.com>
12028
12029 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12030 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12031
12032 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12033
12034 * configure.in: Use -o not -a in test for unsupported multi-arch.
12035
12036 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12037
12038 * manual/texinfo.tex: Update to version 2012-01-19.16.
12039
12040 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12041
12042 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12043
12044 2012-02-24 Roland McGrath <roland@hack.frob.com>
12045
12046 [BZ #13738]
12047 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12048 * manual/fdl-1.3.texi: New file.
12049 * manual/fdl-1.1.texi: File removed.
12050
12051 [BZ #13738]
12052 * manual/libc.texinfo (FDL_VERSION): New @set.
12053 Use it for mention of FDL in cover text.
12054 (Documentation License): Use it in @include file name.
12055
12056 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12057 Roland McGrath <roland@hack.frob.com>
12058
12059 [BZ #5461]
12060 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12061 not LONG_LONG_MAX and LONG_LONG_MIN.
12062 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12063 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12064 name.
12065 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12066
12067 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12068
12069 [BZ #2547]
12070 [BZ #11365]
12071 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12072 manipulate bits before adding and subtracting TWO23[sx].
12073 * math/libm-test.inc (nearbyint_test): Add more tests.
12074
12075 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12076
12077 [BZ #2548]
12078 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12079 bits before adding and subtracting TWO23[sx].
12080 * math/libm-test.inc (rint_test): Add more tests.
12081 (rint_test_tonearest): Likewise.
12082 (rint_test_towardzero): Likewise.
12083 (rint_test_downward): Likewise.
12084 (rint_test_upward: Likewise.
12085
12086 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12087
12088 [BZ #10110]
12089 * include/stdc-predef.h: New file. Extracted from features.h.
12090 * include/features.h: Include stdc-predef.h.
12091 * Makefile (headers): Add stdc-predef.h.
12092 * CONFORMANCE (Compiler limitations): Update.
12093
12094 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12095
12096 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12097
12098 2012-02-21 David S. Miller <davem@davemloft.net>
12099
12100 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12101 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12102
12103 2012-02-20 David S. Miller <davem@davemloft.net>
12104
12105 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12106 using a normal save/restore sequence, rather than allocating a
12107 dummy stack frame just to store a frame pointer and restore.
12108 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12109
12110 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12111
12112 * manual/install.texi: Fix stray word in line-wrapped comment.
12113
12114 2012-02-20 David S. Miller <davem@davemloft.net>
12115
12116 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12117 both binutils and gcc support GOTDATA.
12118
12119 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12120 "rd %pc" in the PIC register setup sequences.
12121
12122 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12123 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12124 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12125 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12126 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12127 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12128 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12129 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12130 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12131 (SYSCALL_ERROR_HANDLER): Likewise.
12132 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12133 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12134 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12135 (SYSCALL_ERROR_HANDLER): Likewise.
12136
12137 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12138 (HAVE_GCC_GOTDATA): New.
12139 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12140 relocation support in both binutils and gcc.
12141 * sysdeps/sparc/elf/configure: Regenerate.
12142
12143 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12144 * sysdeps/sparc/sparc32/elf/configure: Delete.
12145 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12146 * sysdeps/sparc/sparc64/elf/configure: Delete.
12147 * sysdeps/sparc/elf/configure.in: New file.
12148 * sysdeps/sparc/elf/configure: Generate.
12149
12150 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12151 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12152 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12153 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12154 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12155
12156 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12157
12158 * manual/install.texi: Do not mention specific glibc version
12159 numbers.
12160 * manual/libc.texinfo (VERSION, UPDATED): Update.
12161 (@copying): Use @copyright{} and range of years.
12162
12163 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12164
12165 [BZ #13695]
12166 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12167 [crti.S not in sysdirs] (generated): Do not append.
12168 [crti.S not in sysdirs] (omit-deps): Likewise.
12169 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12170 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12171 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12172 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12173 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12174 Likewise.
12175 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12176 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12177 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12178 * csu/defs.awk: Remove file.
12179 * sysdeps/generic/initfini.c: Likewise.
12180 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12181 variable.
12182 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12183 Likewise.
12184
12185 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12186
12187 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12188 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12189 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12190 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12191 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12192 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12193 <bits/epoll.h>.
12194 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12195 (__EPOLL_PACKED): Define to empty if not defined by
12196 <bits/epoll.h>.
12197 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12199 bits/epoll.h.
12200
12201 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12202
12203 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12204 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12205 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12206 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12207 <bits/timerfd.h>.
12208 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12210 bits/timerfd.h.
12211
12212 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12213
12214 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12215 in C locale.
12216 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12217 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12218 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12220
12221 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12222
12223 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12224 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12225
12226 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12227
12228 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12229 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12230 defined.
12231 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12232 Likewise.
12233 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12234 entry for 2.16.
12235
12236 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12237
12238 * math/w_acos.c: Use non-signaling floating-point comparisons.
12239 * math/w_acosf.c: Likewise.
12240 * math/w_acosh.c: Likewise.
12241 * math/w_acoshf.c: Likewise.
12242 * math/w_acoshl.c: Likewise.
12243 * math/w_acosl.c: Likewise.
12244 * math/w_asin.c: Likewise.
12245 * math/w_asinf.c: Likewise.
12246 * math/w_asinl.c: Likewise.
12247 * math/w_atanh.c: Likewise.
12248 * math/w_atanhf.c: Likewise.
12249 * math/w_atanhl.c: Likewise.
12250 * math/w_exp2.c: Likewise.
12251 * math/w_exp2f.c: Likewise.
12252 * math/w_exp2l.c: Likewise.
12253 * math/w_j0.c: Likewise.
12254 * math/w_j0f.c: Likewise.
12255 * math/w_j0l.c: Likewise.
12256 * math/w_j1.c: Likewise.
12257 * math/w_j1f.c: Likewise.
12258 * math/w_j1l.c: Likewise.
12259 * math/w_jn.c: Likewise.
12260 * math/w_jnf.c: Likewise.
12261 * math/w_log.c: Likewise.
12262 * math/w_log10.c: Likewise.
12263 * math/w_log10f.c: Likewise.
12264 * math/w_log10l.c: Likewise.
12265 * math/w_log2.c: Likewise.
12266 * math/w_log2f.c: Likewise.
12267 * math/w_log2l.c: Likewise.
12268 * math/w_logf.c: Likewise.
12269 * math/w_logl.c: Likewise.
12270 * math/w_sqrt.c: Likewise.
12271 * math/w_sqrtf.c: Likewise.
12272 * math/w_sqrtl.c: Likewise.
12273 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12274 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12275 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12276 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12277 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12278
12279 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12280
12281 [BZ #9739]
12282 * manual/string.texi (strnlen): Use correct parameter name in
12283 equivalent expression.
12284
12285 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12286
12287 [BZ #11174]
12288 * manual/users.texi (seteuid): Consistently use neweuid for
12289 argument name.
12290
12291 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12292
12293 [BZ #13704]
12294 * manual/nss.texi (Services in the NSS configuration): Correct
12295 list of services in example configuration file.
12296
12297 2012-02-19 Nick Bowler <nbowler@draconx.ca>
12298
12299 [BZ #11322]
12300 * manual/arith.texi: Remove statements about negative zero
12301 behaving identically to zero.
12302
12303 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12304
12305 [BZ #5993]
12306 * manual/install.texi: Do not document upgrading from libc5.
12307
12308 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12309
12310 [BZ #4596]
12311 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12312
12313 2012-02-18 David S. Miller <davem@davemloft.net>
12314
12315 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12316 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12317 %o7 across the call.
12318 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12319 instead.
12320 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12321 SETUP_PIC_REG_LEAF.
12322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12323 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12324 * sysdeps/sparc/crtn.S: Likewise.
12325
12326 2012-02-17 Ulrich Drepper <drepper@gmail.com>
12327
12328 * aout/Makefile: Remove.
12329
12330 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12331
12332 [BZ #13058]
12333 * manual/examples/argp-ex1.c (main): Format definition in GNU
12334 style.
12335 * manual/examples/argp-ex2.c (main): Likewise.
12336 * manual/examples/argp-ex3.c (main): Likewise.
12337 * manual/examples/argp-ex4.c (main): Likewise.
12338 * manual/examples/longopt.c (main): Use new-style prototype
12339 definition.
12340 * manual/examples/strncat.c (main): Specify return type and use
12341 (void) for arguments.
12342 * manual/examples/subopt.c (main): Use char **argv argument.
12343
12344 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12345
12346 [BZ #5077]
12347 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12348 rounding modes.
12349
12350 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12351
12352 [BZ #6907]
12353 * manual/string.texi (strchr): Change when strchrnul is
12354 recommended.
12355
12356 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12357
12358 [BZ #174]
12359 * manual/locale.texi (setlocale): Document LOCPATH.
12360
12361 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12362
12363 [BZ #10210]
12364 * manual/process.texi (execle): Move @dots{} before last argument.
12365
12366 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
12367
12368 [BZ #12047]
12369 * manual/charset.texi (Generic Charset Conversion): Fix typo
12370 (LC_TYPE -> LC_CTYPE).
12371
12372 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12373
12374 [BZ #5805]
12375 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12376 (scalbnf): Likewise.
12377 (scalbnl): Likewise.
12378 (scalbln): Likewise.
12379 (scalblnf): Likewise.
12380 (scalblnl): Likewise.
12381 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12382 (vwarnx): Likewise.
12383 (verr): Likewise.
12384 (verrx): Likewise.
12385 * manual/filesys.texi (telldir): Use braces around return type.
12386 * manual/llio.texi (mmap): Add space after comma.
12387 (mmap64): Likewise.
12388 * manual/math.texi (jn): Use @var{} on parameter names.
12389 (jnf): Likewise.
12390 (jnl): Likewise.
12391 (yn): Likewise.
12392 (ynf): Likewise.
12393 (ynl): Likewise.
12394 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12395 line.
12396 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12397 "...".
12398 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12399 (sched_get_priority_max): Likewise.
12400 * manual/signal.texi (sigvec): Add space after comma.
12401 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12402 names.
12403 (if_indextoname): Likewise.
12404 (if_freenameindex): Likewise.
12405 (sendto): Use ',' instead of '.' in prototype.
12406 * manual/startup.texi (syscall): Use @dots{} instead of literal
12407 "...".
12408 * manual/stdio.texi (__fpending): Separate initial words of
12409 paragraph from @deftypefun line.
12410 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12411 "...".
12412 (vsyslog): Use @var{} on parameter names.
12413 * manual/terminal.texi (stty): Use @var{} on parameter names.
12414 * manual/users.texi (getutmp): Use @var{} on parameter names.
12415 (getutmpx): Likewise.
12416
12417 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12418
12419 [BZ #6884]
12420 * manual/stdio.texi (fopen): Fix typos in description of
12421 ",ccs=STRING".
12422
12423 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12424
12425 [BZ #4026]
12426 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12427 get clock_id definition.
12428
12429 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
12430
12431 [BZ #4822]
12432 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12433 (madvise): Cast every argument to void on its own.
12434
12435 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12436
12437 [BZ #9902]
12438 * manual/startup.texi (Exit Status): Fix typo.
12439
12440 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12441
12442 [BZ #10140]
12443 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12444 * manual/examples/argp-ex2.c: Likewise.
12445 * manual/examples/argp-ex3.c: Likewise.
12446
12447 2012-02-16 Richard Henderson <rth@redhat.com>
12448
12449 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12450 * sysdeps/s390/s390-32/initfini.c: Remove.
12451 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12452 * sysdeps/s390/s390-64/initfini.c: Remove.
12453
12454 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12455
12456 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12457 compiler output for sysdeps/generic/initfini.c.
12458 * sysdeps/sh/elf/initfini.c: Remove file.
12459
12460 2012-02-16 David S. Miller <davem@davemloft.net>
12461
12462 [BZ #11494]
12463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12464
12465 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12466 * sysdeps/sparc/crti.S: New file.
12467 * sysdeps/sparc/crtn.S: New file.
12468 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12469 * sysdeps/sparc/sparc64/Makefile: Likewise.
12470
12471 2012-02-15 Mike Frysinger <vapier@gentoo.org>
12472
12473 [BZ #3335]
12474 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12475
12476 2012-02-15 Roland McGrath <roland@hack.frob.com>
12477
12478 [BZ #4822]
12479 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12480
12481 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12482 (write, read, close): Likewise.
12483 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12484
12485 2012-02-15 Joseph Myers <joseph@codesourcery.com>
12486
12487 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12488 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12489 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12490 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12491 <bits/signalfd.h>.
12492 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12494 bits/signalfd.h.
12495
12496 2012-02-14 Marek Polacek <polacek@redhat.com>
12497
12498 * sysdeps/x86_64/crti.S: New file.
12499 * sysdeps/x86_64/crtn.S: New file.
12500 * sysdeps/x86_64/elf/initfini.c: Remove file.
12501
12502 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12503
12504 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12505 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12506 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12507 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12508 <bits/inotify.h>.
12509 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12511 bits/inotify.h.
12512
12513 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12514
12515 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12516 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12517 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12518 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12519 <bits/eventfd.h>.
12520 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12522 bits/eventfd.h.
12523
12524 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12525
12526 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12527 __feraiseexcept instead of feraiseexcept.
12528
12529 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12530 nanosleep invocations.
12531 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12532 strings, and add error checking for a nanosleep invocations.
12533
12534 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12535
12536 Replace FSF snail mail address with URLs, as per GNU coding standards.
12537 Most of the snail mail addresses were wrong anyway, and omitting
12538 them makes the source code easier to maintain. Almost all of the
12539 changes are to license notices and to locale LC_IDENTIFICATION
12540 addresses, except for this one:
12541 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12542 not its snail mail address.
12543
12544 2012-02-09 Richard Henderson <rth@twiddle.net>
12545
12546 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12547 of kernel-features.h.
12548
12549 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12550
12551 2012-02-08 Marek Polacek <polacek@redhat.com>
12552
12553 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12554 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12555 * sysdeps/gnu/_G_config.h: Likewise.
12556 * sysdeps/generic/_G_config.h: Likewise.
12557
12558 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12559
12560 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12561 tests.
12562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12563
12564 * sysdeps/powerpc/powerpc32/crti.S: New file.
12565 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12566 * sysdeps/powerpc/powerpc64/crti.S: New file.
12567 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12568
12569 * Makeconfig (have-initfini): Don't set.
12570 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12571 * configure.in (nopic_initfini): Don't substitute.
12572 * config.h.in (HAVE_INITFINI): Don't #undef.
12573 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12574 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12575
12576 2012-02-08 Joseph Myers <joseph@codesourcery.com>
12577
12578 Support crti.S and crtn.S provided directly by architectures.
12579 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12580 [crti.S in sysdirs] (omit-deps): Likewise.
12581 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12582 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12583 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12584 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12585 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12586 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12587 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12588 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12589 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12590 compiler output for sysdeps/generic/initfini.c.
12591 * sysdeps/i386/elf/Makefile: Remove file.
12592 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12593
12594 2012-02-07 Marek Polacek <polacek@redhat.com>
12595
12596 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12597 * sysdeps/gnu/_G_config.h: Likewise.
12598 * sysdeps/mach/hurd/_G_config.h: Likewise.
12599
12600 2012-02-07 Marek Polacek <polacek@redhat.com>
12601
12602 * math/Makefile (tests): Add tst-CMPLX2.
12603 * math/tst-CMPLX2.c: New file.
12604
12605 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12606
12607 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12608
12609 * math/libm-test.inc (jn_test): Add missing L suffix.
12610
12611 2012-02-06 Marek Polacek <polacek@redhat.com>
12612
12613 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12614 * sysdeps/i386/fpu/e_powf.S: Likewise.
12615 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12616 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12617 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12618 * sysdeps/i386/fpu/e_pow.S: Likewise.
12619 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12620 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12621 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12622 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12623 * sysdeps/i386/fpu/e_log2.S: Likewise.
12624 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12625 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12626 * sysdeps/i386/fpu/e_powl.S: Likewise.
12627 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12628 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12629 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12630 * sysdeps/i386/fpu/e_logl.S: Likewise.
12631 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12632 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12633 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12634 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12635 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12636 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12637 * sysdeps/i386/fpu/e_log.S: Likewise.
12638 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12639 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12640 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12641 * sysdeps/i386/fpu/e_logf.S: Likewise.
12642 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12643 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12644 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12645 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12646 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12647 * sysdeps/i386/fpu/e_log10.S: Likewise.
12648 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12649 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12650 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12651 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12652 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12653 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12654 * sysdeps/i386/asm-syntax.h: Likewise.
12655 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12656 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12657 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12658 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12659 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12660 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12661 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12662 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12663 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12664 * sysdeps/powerpc/sysdep.h: Likewise.
12665 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12666 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12667
12668 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12669
12670 [BZ #411]
12671 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12672
12673 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12674
12675 * sysdeps/i386/sysdep.h: Include <features.h>.
12676 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12677 version.
12678
12679 2012-02-05 Joseph Myers <joseph@codesourcery.com>
12680
12681 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12682 Define.
12683 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12684 LOAD_PIC_REG_STR.
12685
12686 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12687
12688 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12689 (SETUP_PIC_REG): Use GET_PC_THUNK.
12690 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12691 macro.
12692
12693 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12694
12695 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12696 for non-PIC compilation.
12697 (SETUP_PIC_REG): Add .p2align directive.
12698 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12699 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12700 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12701 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12702 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12703 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12704 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12705 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12706 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12707 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12708 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12709 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12710 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12711 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12712 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12713 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12714 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12715 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12716 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12717 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12718 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12719 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12720 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12721 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12722 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12723 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12724 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12725 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12726 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12727 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12728 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12729 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12730 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12731 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12732 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12733 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12734 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12735 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12736 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12737 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12738 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12739
12740 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12741
12742 * math/tst-CMPLX.c: Include <stdio.h>.
12743
12744 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12745
12746 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12747 float.
12748 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12749 * sysdeps/sparc/bits/mathdef.h: Likewise.
12750
12751 2012-01-31 Marek Polacek <polacek@redhat.com>
12752
12753 * libio/libio.h: Don't define _PARAMS.
12754 * locale/programs/config.h: Don't define PARAMS.
12755 * stdlib/strtol_l.c: Likewise.
12756 (__strtol_l): Remove PARAMS from the prototype.
12757
12758 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12759
12760 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12761 names. Just use the correct names. Remove unnecessary wrapper
12762 functions.
12763 * malloc/arena.c: Likewise.
12764 * malloc/hooks.c: Likewise.
12765
12766 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12767 ARENA_TEST says not to. Simplify test for creation of a new arena.
12768 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12769
12770 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12771
12772 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12773 into tail calls.
12774 (update_get_addr): New function.
12775 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12776 GET_ADDR_MODULE parameter.
12777
12778 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12779
12780 * crypt/cert.c: Remove __STDC__ conditionals.
12781 * crypt/crypt-entry.c: Likewise.
12782 * crypt/crypt_util.c: Likewise.
12783 * libio/filedoalloc.c: Likewise.
12784 * libio/fileops.c: Likewise.
12785 * libio/genops.c: Likewise.
12786 * libio/iofclose.c: Likewise.
12787 * libio/iofdopen.c: Likewise.
12788 * libio/iofopen.c: Likewise.
12789 * libio/iofopen64.c: Likewise.
12790 * libio/iogetdelim.c: Likewise.
12791 * libio/iopopen.c: Likewise.
12792 * libio/obprintf.c: Likewise.
12793 * libio/oldfileops.c: Likewise.
12794 * libio/oldiofclose.c: Likewise.
12795 * libio/oldiofdopen.c: Likewise.
12796 * libio/oldiofopen.c: Likewise.
12797 * libio/oldiopopen.c: Likewise.
12798 * libio/wfiledoalloc.c: Likewise.
12799 * libio/wgenops.c: Likewise.
12800 * locale/programs/xmalloc.c: Likewise.
12801 * misc/syslog.c: Likewise.
12802 * stdio-common/xbug.c: Likewise.
12803 * string/memchr.c: Likewise.
12804 * string/memcmp.c: Likewise.
12805 * string/memrchr.c: Likewise.
12806 * string/rawmemchr.c: Likewise.
12807 * sysdeps/posix/getcwd.c: Likewise.
12808 * time/strftime_l.c: Likewise.
12809
12810 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12811
12812 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12813 * config.make.in (config-cflags-sse2avx): Define.
12814 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12815 Fix typo.
12816
12817 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12818
12819 * scripts/config.guess: Update from upstream config git repository.
12820 * scripts/config.sub: Likewise.
12821
12822 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12823
12824 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12825 (EM_NUM): Update.
12826 (R_TILEPRO_*, R_TILEGX_*): New macros.
12827
12828 * scripts/firstversions.awk: Fix bug in version range handling.
12829
12830 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12831
12832 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12833
12834 * include/sys/epoll.h: New file.
12835 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12836 libc_hidden_def.
12837
12838 2012-01-28 Ulrich Drepper <drepper@gmail.com>
12839
12840 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12841 Avoid unnecessary __WORDSIZE == 64 test.
12842 (fmaxf): Use VEX format if possible.
12843 (fmax): Likewise.
12844 (fminf): Likewise.
12845 (fmin): Likewise.
12846
12847 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12848 * math/math_private.h: Remove libc_fegetround* and
12849 libc_fesetround*.
12850 * sysdeps/i386/configure.in: Check for -msse2avx.
12851 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12852 also if SSE2AVX is defined.
12853 Remove libc_fegetround* and libc_fesetround*.
12854 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12855 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12856 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12857 of HAS_YMM_USABLE.
12858 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12859 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12860 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12861 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12862 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12863
12864 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12865
12866 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12867
12868 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12869 size is not set.
12870 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12871
12872 2012-01-27 Ulrich Drepper <drepper@gmail.com>
12873
12874 [BZ #13618]
12875 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12876 relocation.
12877 * Makeconfig (libm): Define.
12878 * elf/Makefile: Add rules to build and run tst-relsort1.
12879 * elf/tst-relsort1.c: New file.
12880 * elf/tst-relsort1mod1.c: New file.
12881 * elf/tst-relsort1mod2.c: New file.
12882
12883 2012-01-27 Joseph Myers <joseph@codesourcery.com>
12884
12885 * math/s_ldexp.c: Remove __STDC__ conditionals.
12886 * math/s_ldexpf.c: Likewise.
12887 * math/s_ldexpl.c: Likewise.
12888 * math/s_nextafter.c: Likewise.
12889 * math/s_nexttowardf.c: Likewise.
12890 * math/s_significand.c: Likewise.
12891 * math/s_significandf.c: Likewise.
12892 * math/s_significandl.c: Likewise.
12893 * math/w_jnl.c: Likewise.
12894 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12895 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12896 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12897 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12898 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12899 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12900 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12901 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12902 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12903 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12904 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12905 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12906 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12907 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12908 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12909 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12910 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12911 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12912 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12913 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12914 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12915 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12916 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12917 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12918 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12919 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12920 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12921 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12922 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12923 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12924 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12925 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12926 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12927 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12928 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12929 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12930 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12931 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12932 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12933 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12934 * sysdeps/ieee754/k_standard.c: Likewise.
12935 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12936 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12937 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12938 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12939 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12940 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12941 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12942 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12943 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12944 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12945 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12946 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12947 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12948 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12949 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12950 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12951 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12952 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12953 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12954 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12955 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12956 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12957 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12958 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12959 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12960 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12961 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12962 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12963 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12964 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12965 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12966 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12967 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12968 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12969 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12970 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12971 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12973 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12974 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12975 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12976 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12977 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12978 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12979 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12980 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12981 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12982 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12983 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12984 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12985 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12986 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12987 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12988 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12989 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12990 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12991 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12992 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12993 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12994 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12995 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12996 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12997 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12998 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12999 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13000 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13001 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13002 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13003 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13004 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13005 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13006 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13007 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13008 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13009 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13010 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13011 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13012 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13013 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13014 * sysdeps/ieee754/s_matherr.c: Likewise.
13015 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13016 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13017 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13018 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13019
13020 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13021
13022 * crypt/md5.h: Remove __STDC__ conditionals.
13023 * libio/libioP.h: Likewise.
13024 * locale/programs/config.h: Likewise.
13025 * sysdeps/generic/sysdep.h: Likewise.
13026 * sysdeps/i386/asm-syntax.h: Likewise.
13027 * sysdeps/s390/asm-syntax.h: Likewise.
13028 * sysdeps/unix/sysdep.h: Likewise.
13029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13031
13032 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13033
13034 * libio/libio.h: Remove __STDC__ conditionals.
13035 * malloc/obstack.h: Likewise.
13036 * math/complex.h: Likewise.
13037 * math/math.h: Likewise.
13038 * sysdeps/generic/_G_config.h: Likewise.
13039 * sysdeps/gnu/_G_config.h: Likewise.
13040 * sysdeps/mach/hurd/_G_config.h: Likewise.
13041 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13042 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13043 * sysdeps/sparc/bits/mathdef.h: Likewise.
13044
13045 2012-01-26 Ulrich Drepper <drepper@gmail.com>
13046
13047 [BZ #13583]
13048 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13049 Clean up HAS_* macros.
13050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13051 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13052 possible.
13053 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13054 HAS_AVX.
13055 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13056 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13057 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13058 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13059 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13060
13061 2012-01-25 Joseph Myers <joseph@codesourcery.com>
13062
13063 * elf/tst-unique3.cc (gets): Remove declaration.
13064 * elf/tst-unique3lib.cc (gets): Likewise.
13065 * elf/tst-unique3lib2.cc (gets): Likewise.
13066 * elf/tst-unique4.cc (gets): Likewise.
13067
13068 2012-01-24 Ulrich Drepper <drepper@gmail.com>
13069
13070 * include/stdio.h: Add C++ protection. Add gets declarations and
13071 definitions.
13072 * debug/tst-chk1.c: Don't declare gets here.
13073 * stdio-common/tst-gets.c: Likewise.
13074
13075 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13076
13077 * posix/glob: Remove directory.
13078
13079 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13080
13081 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13082
13083 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13084
13085 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13086 of the non-standard EPFNOSUPPORT.
13087
13088 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13089
13090 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13091 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13092 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13093
13094 2012-01-21 Ulrich Drepper <drepper@gmail.com>
13095
13096 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13097
13098 2012-01-20 Ulrich Drepper <drepper@gmail.com>
13099
13100 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13101 transient errors.
13102 * nscd/grpcache.c (cache_addgr): Likewise.
13103 * nscd/hstcache.c (cache_addhst): Likewise.
13104 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13105 * nscd/pwdcache.c (cache_addpw): Likewise.
13106 * nscd/servicescache.c (cache_addserv): Likewise.
13107
13108 2012-01-16 Ulrich Drepper <drepper@gmail.com>
13109
13110 * malloc/malloc.c: Various cleanups.
13111 * malloc/hooks.c: Likewise.
13112
13113 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13114 * stdlib/bug-fmtmsg1.c: New file.
13115
13116 * stdlib/fmtmsg.c (init): Add missing unlock.
13117 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13118
13119 2012-01-12 Marek Polacek <polacek@redhat.com>
13120
13121 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13122 and _GNU_SOURCE.
13123
13124 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13125
13126 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13127 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13128 macro to ensure uniqueness of label name.
13129 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13130 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13131
13132 2012-01-11 Ulrich Drepper <drepper@gmail.com>
13133
13134 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13135
13136 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13137 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13138 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13139 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13140
13141 2012-01-10 Ulrich Drepper <drepper@gmail.com>
13142
13143 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13144
13145 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13146 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13147 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13148
13149 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13150
13151 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13152 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13153 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13154 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13155
13156 * math/bits/math-finite.h: Add ldexp support.
13157
13158 2012-01-10 Marek Polacek <polacek@redhat.com>
13159
13160 * locale/programs/localedef.h (show_archive_content): Add noreturn
13161 attribute.
13162
13163 2012-01-09 Ulrich Drepper <drepper@gmail.com>
13164
13165 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13166
13167 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13168
13169 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13170
13171 * io/Makefile (headers): Add bits/poll2.h.
13172
13173 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13174
13175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13176 typo #include statement.
13177
13178 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13179
13180 * include/sys/cdefs.h: Define __attribute_alloc_size.
13181 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13182 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13183 * elf/pldd.c: Likewise.
13184 * iconv/iconv_charmap.c: Likewise.
13185 * iconv/iconvconfig.c: Likewise.
13186 * iconv/strtab.c: Likewise.
13187 * locale/programs/locale.c: Likewise.
13188 * locale/programs/localedef.h: Likewise.
13189 * locale/programs/simple-hash.c: Likewise.
13190 * nscd/nscd.h: Likewise.
13191 * nss/makedb.c: Likewise.
13192 * sysdeps/generic/ldconfig.h: Likewise.
13193 * locale/programs/localedef.c: Remove xmalloc prototype.
13194 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13195
13196 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13197
13198 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13199 appropriate.
13200
13201 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13202
13203 * math/Makefile (tests): Add tst-CMPLX.
13204 * math/tst-CMPLX.c: New file.
13205
13206 * math/complex.h (CMPLXL): Fix typo.
13207
13208 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13209 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13210 GLIBC_2.16.
13211 * debug/tst-chk1.c: Add poll and ppoll tests.
13212 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13213 * include/sys/poll.h: Add hidden proto for ppoll.
13214 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13215 * sysdeps/mach/hurd/ppoll.c: Likewise.
13216 * io/ppoll.c: Likewise.
13217 * debug/poll_chk.c: New file.
13218 * debug/ppoll_chk.c: New file.
13219 * include/bits/poll2.h: New file.
13220 * io/bits/poll2.h: New file.
13221
13222 [BZ #1350]
13223 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13224
13225 * configure.in: static is always set to yes. Remove.
13226 * config.make.in: Don't set build-static.
13227 * Makeconfig: Remove use of build-static.
13228 * dlfcn/Makefile: Likewise.
13229 * elf/Makefile: Likewise.
13230 * math/Makefile: Likewise.
13231 * misc/Makefile: Likewise.
13232 * nptl/Makefile: Likewise.
13233 * sysdeps/mach/hurd/Makefile: Likewise.
13234
13235 * configure.in: PWD_P is not used anymore.
13236 * config.make.in: Remove PWD_P entry.
13237
13238 * configure.in: Remove last remnants of RANLIB.
13239 No need to check for signed size_t anymore.
13240 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13241 and IA-64.
13242 Remove __builtin_expect test because we require at least gcc 3.4.
13243 * aclocal.m4: Likewise.
13244
13245 * wcsmbs/mbrtoc16.c: Implement using towc function.
13246 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13247 * wcsmbs/wcsmbsload.c: Likewise.
13248 * iconv/gconv_simple.c: Likewise.
13249 * iconv/gconv_int.h: Likewise.
13250 * iconv/gconv_builtin.h: Likewise.
13251 * iconv/iconv_prog.c: Remove CHAR16 handling.
13252
13253 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13254
13255 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13256
13257 * configure.in: Remove --with-elf and --enable-bounded options.
13258 Dont set base_machine for ia64. More non-ELF conditions removed.
13259 Remove testing and setting of leading underscore information.
13260 * config.make.in (build-bounded): Set to no.
13261 * config.h.in: Remove NO_UNDERSCORES entry.
13262 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13263 them.
13264 * csu/start.c: Remove !NO_UNDERSCORE code.
13265 * locale/localeinfo.h: Likewise.
13266 * sysdeps/generic/machine-gmon.h: Likewise.
13267 * sysdeps/generic/sysdep.h: Likewise.
13268 * sysdeps/i386/sysdep.h: Likewise.
13269 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13270 * sysdeps/mach/sysdep.h: Likewise.
13271 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13272 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13273 * sysdeps/sh/sysdep.h: Likewise.
13274 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13275 * sysdeps/unix/i386/sysdep.S: Likewise.
13276 * sysdeps/unix/sparc/start.c: Likewise.
13277 * sysdeps/unix/sparc/sysdep.S: Likewise.
13278 * sysdeps/unix/sparc/sysdep.h: Likewise.
13279 * sysdeps/unix/start.c: Likewise.
13280 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13281 * sysdeps/x86_64/sysdep.h: Likewise.
13282
13283 2012-01-07 Ulrich Drepper <drepper@gmail.com>
13284
13285 [BZ #13553]
13286 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13287 for non-gcc.
13288 * argp/argp-fmtstream.h: Use const instead __const.
13289 * argp/argp.h: Likewise.
13290 * assert/assert.h: Likewise.
13291 * bits/fenv.h: Likewise.
13292 * bits/sched.h: Likewise.
13293 * bits/sigset.h: Likewise.
13294 * bits/sigthread.h: Likewise.
13295 * catgets/nl_types.h: Likewise.
13296 * conform/data/pthread.h-data: Likewise.
13297 * crypt/crypt-private.h: Likewise.
13298 * crypt/crypt.h: Likewise.
13299 * crypt/crypt_util.c: Likewise.
13300 * ctype/ctype.h: Likewise.
13301 * debug/execinfo.h: Likewise.
13302 * debug/mbsnrtowcs_chk.c: Likewise.
13303 * debug/mbsrtowcs_chk.c: Likewise.
13304 * debug/wcsnrtombs_chk.c: Likewise.
13305 * debug/wcsrtombs_chk.c: Likewise.
13306 * debug/wcstombs_chk.c: Likewise.
13307 * dirent/dirent.h: Likewise.
13308 * dlfcn/dlfcn.h: Likewise.
13309 * elf/neededtest4.c: Likewise.
13310 * grp/grp.h: Likewise.
13311 * gshadow/gshadow.h: Likewise.
13312 * iconv/gconv.h: Likewise.
13313 * iconv/gconv_int.h: Likewise.
13314 * iconv/gconv_simple.c: Likewise.
13315 * iconv/iconv.h: Likewise.
13316 * iconv/loop.c: Likewise.
13317 * iconv/skeleton.c: Likewise.
13318 * include/aio.h: Likewise.
13319 * include/aliases.h: Likewise.
13320 * include/argz.h: Likewise.
13321 * include/arpa/inet.h: Likewise.
13322 * include/assert.h: Likewise.
13323 * include/dirent.h: Likewise.
13324 * include/dlfcn.h: Likewise.
13325 * include/execinfo.h: Likewise.
13326 * include/fcntl.h: Likewise.
13327 * include/fenv.h: Likewise.
13328 * include/glob.h: Likewise.
13329 * include/grp.h: Likewise.
13330 * include/libintl.h: Likewise.
13331 * include/mntent.h: Likewise.
13332 * include/netdb.h: Likewise.
13333 * include/pwd.h: Likewise.
13334 * include/rpc/netdb.h: Likewise.
13335 * include/sched.h: Likewise.
13336 * include/search.h: Likewise.
13337 * include/shadow.h: Likewise.
13338 * include/signal.h: Likewise.
13339 * include/stdio.h: Likewise.
13340 * include/stdlib.h: Likewise.
13341 * include/string.h: Likewise.
13342 * include/sys/socket.h: Likewise.
13343 * include/sys/stat.h: Likewise.
13344 * include/sys/statfs.h: Likewise.
13345 * include/sys/statvfs.h: Likewise.
13346 * include/sys/syslog.h: Likewise.
13347 * include/sys/time.h: Likewise.
13348 * include/sys/uio.h: Likewise.
13349 * include/time.h: Likewise.
13350 * include/unistd.h: Likewise.
13351 * include/utmp.h: Likewise.
13352 * include/wchar.h: Likewise.
13353 * include/wctype.h: Likewise.
13354 * inet/aliases.h: Likewise.
13355 * inet/arpa/inet.h: Likewise.
13356 * inet/netinet/ether.h: Likewise.
13357 * inet/netinet/in.h: Likewise.
13358 * intl/libintl.h: Likewise.
13359 * io/bits/fcntl2.h: Likewise.
13360 * io/fcntl.h: Likewise.
13361 * io/ftw.h: Likewise.
13362 * io/sys/poll.h: Likewise.
13363 * io/sys/stat.h: Likewise.
13364 * io/sys/statfs.h: Likewise.
13365 * io/sys/statvfs.h: Likewise.
13366 * io/utime.h: Likewise.
13367 * libio/bits/stdio.h: Likewise.
13368 * libio/bits/stdio2.h: Likewise.
13369 * libio/libio.h: Likewise.
13370 * libio/libioP.h: Likewise.
13371 * libio/stdio.h: Likewise.
13372 * locale/lc-ctype.c: Likewise.
13373 * locale/locale.h: Likewise.
13374 * login/utmp.h: Likewise.
13375 * malloc/arena.c: Likewise.
13376 * malloc/malloc.c: Likewise.
13377 * malloc/malloc.h: Likewise.
13378 * malloc/mcheck.c: Likewise.
13379 * malloc/mtrace.c: Likewise.
13380 * math/bits/mathcalls.h: Likewise.
13381 * math/fenv.h: Likewise.
13382 * math/math_private.h: Likewise.
13383 * misc/bits/error.h: Likewise.
13384 * misc/bits/syslog.h: Likewise.
13385 * misc/err.h: Likewise.
13386 * misc/error.h: Likewise.
13387 * misc/fstab.h: Likewise.
13388 * misc/mntent.h: Likewise.
13389 * misc/regexp.h: Likewise.
13390 * misc/search.h: Likewise.
13391 * misc/sgtty.h: Likewise.
13392 * misc/sys/mman.h: Likewise.
13393 * misc/sys/syslog.h: Likewise.
13394 * misc/sys/uio.h: Likewise.
13395 * misc/sys/xattr.h: Likewise.
13396 * misc/ttyent.h: Likewise.
13397 * nis/rpcsvc/ypclnt.h: Likewise.
13398 * nss/nss.h: Likewise.
13399 * posix/bits/unistd.h: Likewise.
13400 * posix/fnmatch.h: Likewise.
13401 * posix/glob.h: Likewise.
13402 * posix/sched.h: Likewise.
13403 * posix/spawn.h: Likewise.
13404 * posix/sys/wait.h: Likewise.
13405 * posix/unistd.h: Likewise.
13406 * posix/wordexp.h: Likewise.
13407 * pwd/pwd.h: Likewise.
13408 * resolv/netdb.h: Likewise.
13409 * resource/sys/resource.h: Likewise.
13410 * rt/aio.h: Likewise.
13411 * rt/bits/mqueue2.h: Likewise.
13412 * rt/mqueue.h: Likewise.
13413 * shadow/shadow.h: Likewise.
13414 * signal/signal.h: Likewise.
13415 * socket/send.c: Likewise.
13416 * socket/sendto.c: Likewise.
13417 * socket/sys/socket.h: Likewise.
13418 * stdio-common/printf.h: Likewise.
13419 * stdlib/bits/stdlib.h: Likewise.
13420 * stdlib/fmtmsg.h: Likewise.
13421 * stdlib/monetary.h: Likewise.
13422 * stdlib/stdlib.h: Likewise.
13423 * stdlib/ucontext.h: Likewise.
13424 * streams/stropts.h: Likewise.
13425 * string/argz.h: Likewise.
13426 * string/bits/string2.h: Likewise.
13427 * string/string.h: Likewise.
13428 * string/strings.h: Likewise.
13429 * sunrpc/rpc/auth.h: Likewise.
13430 * sunrpc/rpc/auth_des.h: Likewise.
13431 * sunrpc/rpc/clnt.h: Likewise.
13432 * sunrpc/rpc/netdb.h: Likewise.
13433 * sunrpc/rpc/pmap_clnt.h: Likewise.
13434 * sunrpc/rpc/xdr.h: Likewise.
13435 * sysdeps/generic/inttypes.h: Likewise.
13436 * sysdeps/generic/net/if.h: Likewise.
13437 * sysdeps/generic/sys/swap.h: Likewise.
13438 * sysdeps/gnu/net/if.h: Likewise.
13439 * sysdeps/gnu/utmpx.h: Likewise.
13440 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13441 * sysdeps/i386/i486/bits/string.h: Likewise.
13442 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13443 * sysdeps/s390/bits/string.h: Likewise.
13444 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13445 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13446 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13447 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13448 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13449 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13450 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13451 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13452 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13453 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13454 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13455 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13456 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13457 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13458 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13459 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13460 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13461 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13462 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13463 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13464 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13465 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13466 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13467 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13468 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13469 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13470 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13471 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13472 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13473 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13474 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13475 * sysvipc/sys/ipc.h: Likewise.
13476 * sysvipc/sys/msg.h: Likewise.
13477 * sysvipc/sys/sem.h: Likewise.
13478 * sysvipc/sys/shm.h: Likewise.
13479 * termios/termios.h: Likewise.
13480 * time/sys/time.h: Likewise.
13481 * time/time.h: Likewise.
13482 * wcsmbs/bits/wchar2.h: Likewise.
13483 * wcsmbs/uchar.h: Likewise.
13484 * wcsmbs/wchar.h: Likewise.
13485 * wctype/wctype.h: Likewise.
13486
13487 [BZ #13551]
13488 * Makeconfig: Remove all but ELF support including AIX support.
13489 * Makerules: Likewise.
13490 * config.h.in: Likewise.
13491 * config.make.in: Likewise.
13492 * configure: Likewise.
13493 * configure.in: Likewise.
13494 * csu/Makefile: Likewise.
13495 * csu/version.c: Likewise.
13496 * debug/Makefile: Likewise.
13497 * dlfcn/Makefile: Likewise.
13498 * elf/Makefile: Likewise.
13499 * extra-lib.mk: Likewise.
13500 * iconv/Makefile: Likewise.
13501 * include/libc-symbols.h: Likewise.
13502 * include/shlib-compat.h: Likewise.
13503 * resolv/Makefile: Likewise.
13504 * resolv/res_libc.c: Likewise.
13505 * rt/Makefile: Likewise.
13506 * sysdeps/i386/asm-syntax.h: Likewise.
13507 * sysdeps/i386/sysdep.h: Likewise.
13508 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13509 * sysdeps/mach/sysdep.h: Likewise.
13510 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13511 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13512 * sysdeps/s390/asm-syntax.h: Likewise.
13513 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13514 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13515 * sysdeps/sh/sysdep.h: Likewise.
13516 * sysdeps/unix/sparc/sysdep.h: Likewise.
13517 * sysdeps/wordsize-32/divdi3.c: Likewise.
13518 * sysdeps/x86_64/sysdep.h: Likewise.
13519
13520 * argp/Versions: Remove _argp_unlock_xxx.
13521
13522 [BZ #13559]
13523 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13524 * abilist/libBrokenLocale.abilist: Likewise.
13525 * abilist/libanl.abilist: Likewise.
13526 * abilist/libc.abilist: Likewise.
13527 * abilist/libcrypt.abilist: Likewise.
13528 * abilist/libdl.abilist: Likewise.
13529 * abilist/libm.abilist: Likewise.
13530 * abilist/libnsl.abilist: Likewise.
13531 * abilist/libpthread.abilist: Likewise.
13532 * abilist/libresolv.abilist: Likewise.
13533 * abilist/librt.abilist: Likewise.
13534 * abilist/libthread_db.abilist: Likewise.
13535 * abilist/libutil.abilist: Likewise.
13536 * abilist/libnss_db.abilist: New file.
13537
13538 * scripts/abilist.awk: Add support for indirect functions.
13539
13540 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13541
13542 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13543
13544 * shlib-versions: Remove entries for ports architectures.
13545
13546 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13547 files in ports.
13548 * elf/stackguard-macros.h: Remove support for IA-64.
13549 * elf/tst-auditmod1.c: Likewise.
13550 * sysdeps/generic/ldsodefs.h: Likewise.
13551
13552 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13553 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13554 configure files.
13555
13556 [BZ #13552]
13557 * configure.in: Remove --enable-omitfp support.
13558 * FAQ.in: Adjust.
13559 * config.make.in: Likewise.
13560 * Makeconfig: Likewise.
13561 * manual/install.texi: Likewise.
13562
13563 In case anyone cares, the IA-64 architecture could move to ports.
13564 * sysdeps/ia64/*: Removed.
13565 * sysdeps/unix/sysv/linux/ia64/*: Removed.
13566 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
13567
13568 [BZ #13555]
13569 * configure.in: Remove entries for unsupported architectures.
13570
13571 [BZ #13533]
13572 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13573 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13574 routines.
13575 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13576 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13577 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13578 fall back to using wcrtomb.
13579 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13580 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13581 renaming.
13582 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13583 * wcsmbs/tst-c16c32-1.c: New file.
13584
13585 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13586 local variable.
13587
13588 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13589
13590 * elf/tst-unique3.cc: Add explicit declaration of gets.
13591 * elf/tst-unique3lib.cc: Likewise.
13592 * elf/tst-unique3lib2.cc: Likewise.
13593 * elf/tst-unique4.cc: Likewise.
13594
13595 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13596
13597 2012-01-06 Joseph Myers <joseph@codesourcery.com>
13598
13599 [BZ #13566]
13600 * assert/assert.h (static_assert): Don't define for C++.
13601 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13602 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13603
13604 2012-01-03 Ulrich Drepper <drepper@gmail.com>
13605
13606 * iconv/loop.c (single loop): Fix assertion in storing of
13607 remaining bytes.
13608
13609 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13610
13611 2012-01-01 Ulrich Drepper <drepper@gmail.com>
13612
13613 * posix/getconf.c: Update copyright year.
13614 * nss/getent.c: Likewise.
13615 * nss/makedb.c: Likewise.
13616 * iconv/iconvconfig.c: Likewise.
13617 * iconv/iconv_prog.c: Likewise.
13618 * elf/ldconfig.c: Likewise.
13619 * elf/pldd.c: Likewise.
13620 * elf/sotruss.ksh: Likewise.
13621 * catgets/gencat.c: Likewise.
13622 * csu/version.c: Likewise.
13623 * elf/ldd.bash.in: Likewise.
13624 * elf/sprof.c (print_version): Likewise.
13625 * locale/programs/locale.c: Likewise.
13626 * locale/programs/localedef.c: Likewise.
13627 * login/programs/pt_chown.c: Likewise.
13628 * nscd/nscd.c (print_version): Likewise.
13629 * debug/xtrace.sh: Likewise.
13630 * malloc/memusage.sh: Likewise.
13631 * malloc/mtrace.pl: Likewise.
13632 * debug/catchsegv.sh: Likewise.
13633
13634 2011-12-30 Jakub Jelinek <jakub@redhat.com>
13635
13636 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13637 pure attribute.
13638
13639 2011-12-24 Ulrich Drepper <drepper@gmail.com>
13640
13641 [BZ #13533]
13642 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13643 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13644 transformations.
13645 * iconv/gconv_int.h: Likewise.
13646 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13647 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13648 from libc for GLIBC_2.16.
13649 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13650 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13651 * wcsmbs/uchar.h: Really define mbstate_t.
13652 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13653 * wcsmbs/c16rtomb.c: New file.
13654 * wcsmbs/mbrtoc16.c: New file.
13655 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13656 for C/POSIX locale.
13657 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13658 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13659
13660 * wcsmbs/wchar.h: Add missing __restrict.
13661
13662 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13663
13664 [BZ #13532]
13665 * time/Makefile (routines): Add timespec_get.
13666 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13667 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13668 timespec for ISO C11.
13669 * time/timespec_get.c: New file.
13670 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13671 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13672
13673 [BZ #13531]
13674 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13675 * stdlib/stdlib.h: Declare aligned_alloc.
13676 * Versions.def: Add GLIBC_2.16 for libc.
13677 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13678
13679 [BZ 13527]
13680 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13681 ISO C11.
13682
13683 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
13684 code.
13685
13686 [BZ #13528]
13687 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13688
13689 [BZ #13529]
13690 * assert/assert.h (static_assert): Define.
13691
13692 * version.h: Update for 2.16 development version.
13693
13694 [BZ #13526]
13695 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13696 _ISOC11_SOURCE.
13697
13698 * version.h (RELEASE): Bump for 2.15 release.
13699 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13700
13701 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13702 Patch by Marek Polacek <mpolacek@redhat.com>.
13703
13704 * bits/byteswap.h: Protect long long constants with __extension__.
13705 * sysdeps/i386/bits/byteswap.h: Likewise.
13706 * sysdeps/ia64/bits/byteswap.h: Likewise.
13707 * sysdeps/s390/bits/byteswap.h: Likewise.
13708 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13709
13710 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13711
13712 [BZ #13540]
13713 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13714 destination buffer.
13715 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13716
13717 2011-12-23 Marek Polacek <polacek@redhat.com>
13718
13719 * elf/dl-addr.c (determine_info): Add inline keyword.
13720 * elf/tst-auditmod4b.c (check_avx): Likewise.
13721 * elf/tst-auditmod6b.c (check_avx): Likewise.
13722 * elf/tst-auditmod6c.c (check_avx): Likewise.
13723 * elf/tst-auditmod7b.c (check_avx): Likewise.
13724
13725 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13726
13727 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13728 !__SSE_MATH__.
13729
13730 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13731
13732 [BZ #13540]
13733 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13734 processing for last bytes.
13735
13736 2011-08-06 Bruno Haible <bruno@clisp.org>
13737
13738 [BZ #13061]
13739 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13740 U+0385, not to U+1FEE.
13741
13742 [BZ #13062]
13743 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13744 entry for U+00A5 U+0301.
13745
13746 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13747
13748 [BZ #13166]
13749 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13750 buffer for the output is too small.
13751
13752 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13753 optimization.
13754
13755 [BZ #13185]
13756 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13757 SSE flags if possible.
13758
13759 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13760
13761 [BZ #13540]
13762 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13763 processing for last bytes.
13764
13765 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13766
13767 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13768 (syscall-list-default-options, syscall-list-default-condition)
13769 (syscall-list-includes): Define.
13770 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13771 list of ABIs and options and #if conditions for each ABI. Do not
13772 handle common syscalls between ABIs specially.
13773 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13774 Remove.
13775 (syscall-list-variants, syscall-list-32bit-options)
13776 (syscall-list-32bit-condition, syscall-list-64bit-options)
13777 (syscall-list-64bit-condition): Define.
13778 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13779 (syscall-list-variants, syscall-list-32bit-options)
13780 (syscall-list-32bit-condition, syscall-list-64bit-options)
13781 (syscall-list-64bit-condition): Define.
13782 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13783 Remove.
13784 (syscall-list-variants, syscall-list-32bit-options)
13785 (syscall-list-32bit-condition, syscall-list-64bit-options)
13786 (syscall-list-64bit-condition): Define.
13787 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13788 Remove.
13789 (syscall-list-variants, syscall-list-32bit-options)
13790 (syscall-list-32bit-condition, syscall-list-64bit-options)
13791 (syscall-list-64bit-condition): Define.
13792
13793 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13794
13795 * locale/iso-639.def: Add brx entry.
13796
13797 [BZ #13328]
13798 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13799 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13800
13801 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13802 __feraiseexcept_renamed.
13803
13804 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13805
13806 [BZ #13538]
13807 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13808 EPOLLET with unsigned values.
13809 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13810 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13811
13812 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13813 to large cancellation.
13814 * math/s_cacoshf.c: Likewise.
13815 * math/s_cacoshl.c: Likewise.
13816
13817 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13818
13819 [BZ #13305]
13820 [BZ #12786]
13821 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13822 * math/s_cacoshf.c: Likewise.
13823 * math/s_cacoshl.c: Likewise.
13824
13825 2011-12-21 Ulrich Drepper <drepper@gmail.com>
13826
13827 [BZ #13439]
13828 * iconv/gconv.h: Define __GCONV_SWAP.
13829 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13830 * iconvdata/utf-16.c: Likewise.
13831 * iconvdata/utf-32.c: Likewise.
13832
13833 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13834
13835 [BZ #13524]
13836 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13837 numerator after shifting it by one limb.
13838
13839 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13840
13841 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13842 under [__USE_EXTERN_INLINES].
13843
13844 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13845
13846 [BZ #13446]
13847 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13848
13849 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13850
13851 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13852 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13853 optimized code.
13854 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13855 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13856 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13857 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13858 for strncasecmp/strncasecmp_l compilation.
13859 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13860 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13861
13862 2011-12-08 Marek Polacek <mpolacek@redhat.com>
13863
13864 [BZ #13484]
13865 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13866 of __asm__.
13867
13868 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13869
13870 [BZ #13506]
13871 * time/tzfile.c (__tzfile_read): Check values from file header.
13872
13873 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13874
13875 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13876 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13877 * powerpc/powerpc32/dl-start.S: Likewise.
13878 * powerpc/powerpc32/elf/start.S: Likewise.
13879 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13880 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13881 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13882 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13883 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13884 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13885 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13886 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13887 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13888 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13889 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13890 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13891 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13892 * powerpc/powerpc32/memset.S: Likewise.
13893 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13894 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13895 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13896 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13897 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13898 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13899 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13900 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13901 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13902 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13903 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13904 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13905 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13906
13907 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13908
13909 * math/libm-test.inc: Added more nearbyint tests.
13910 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13911 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13912 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13913 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13914
13915 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13916
13917 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13918 FD_CLOEXEC.
13919
13920 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13921
13922 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13923 Add wcscpy-ssse3 wcscpy-c.
13924 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13925 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13926 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13927 * sysdeps/x86_64/wcschr.S: New file.
13928 * sysdeps/x86_64/wcsrchr.S: New file.
13929 * string/test-strcmp.c: Remove checking of wcscmp function for
13930 wrong alignments.
13931 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13932 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13933 wcsrchr-sse2 wcsrchr-c.
13934 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13935 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13936 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13937 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13938 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13939 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13940 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13941 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13942 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13943 * wcsmbc/wcschr.c (WCSCHR): New macro.
13944
13945 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13946
13947 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13948 * wcsmbs/test-wcsrchr.c: New file.
13949 * string/test-strrchr.c: Add wcsrchr support.
13950 (WIDE): New macro.
13951 * wcsmbs/test-wcscpy.c: New file.
13952 * string/test-strcpy.c: Add wcscpy support.
13953 (WIDE): New macro.
13954
13955 2011-12-10 Ulrich Drepper <drepper@gmail.com>
13956
13957 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13958 the inner loop.
13959
13960 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13961
13962 [BZ #13472]
13963 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13964
13965 2011-12-04 Ulrich Drepper <drepper@gmail.com>
13966
13967 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
13968 Minor optimizations.
13969
13970 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13971 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13972 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13973
13974 2011-12-03 Ulrich Drepper <drepper@gmail.com>
13975
13976 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13977 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13978 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13979 for gcc to avoid warnings.
13980 * inet/Makefile (tests): Add tst-checks.
13981 * inet/tst-checks.c: New file.
13982
13983 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13984 warning.
13985
13986 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13987 __wmemcmp_sse2.
13988
13989 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13990 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13991
13992 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13993
13994 2011-12-02 Ulrich Drepper <drepper@gmail.com>
13995
13996 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13997 problem.
13998
13999 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14000
14001 2011-11-29 Joseph Myers <joseph@codesourcery.com>
14002
14003 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14004 conditional on GCC version.
14005 (__arch_compare_and_exchange_val_8_acq)
14006 (__arch_compare_and_exchange_val_16_acq)
14007 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14008 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14009 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14010
14011 2011-12-02 Joseph Myers <joseph@codesourcery.com>
14012
14013 * sysdeps/sh/backtrace.c: New file.
14014
14015 2011-12-02 Andreas Schwab <schwab@redhat.com>
14016
14017 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14018 parenthesis.
14019
14020 2011-12-01 Andreas Schwab <schwab@redhat.com>
14021
14022 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14023 falling back to utime.
14024
14025 2011-11-30 Andreas Schwab <schwab@redhat.com>
14026
14027 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14028 expectations for float.
14029
14030 2011-11-29 Andreas Schwab <schwab@redhat.com>
14031
14032 * locale/weight.h (findidx): Add parameter len.
14033 * locale/weightwc.h (findidx): Likewise.
14034 * posix/fnmatch_loop.c (FCT): Adjust caller.
14035 * posix/regcomp.c (build_equiv_class): Likewise.
14036 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14037 * posix/regexec.c (check_node_accept_bytes): Likewise.
14038 * string/strcoll_l.c (STRCOLL): Likewise.
14039 * string/strxfrm_l.c (STRXFRM): Likewise.
14040
14041 2011-11-17 Ulrich Drepper <drepper@gmail.com>
14042
14043 * Makefile.in: Remove CVSOPT handling.
14044 * configure.in: Remove use of AC_REVISION.
14045 * iconvdata/Makefile (distribute): No need to filter out CVS.
14046 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14047 handling.
14048
14049 2011-11-16 Andreas Schwab <schwab@redhat.com>
14050
14051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14052 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14053 [USE_AS_STRNCASECMP_L]: Likewise.
14054 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14055 NO_TLS_DIRECT_SEG_REFS.
14056 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14057 Fix argument offsets for non-PIC.
14058 [USE_AS_STRNCASECMP_L]: Likewise.
14059 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14060 NO_TLS_DIRECT_SEG_REFS.
14061
14062 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14063
14064 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14065 O_CLOEXEC.
14066 * locale/loadlocale.c (_nl_load_locale): Likewise.
14067
14068 2011-11-15 Andreas Schwab <schwab@redhat.com>
14069
14070 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14071 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14072 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14073 (SYSCALL_GETTIME): Set errno on error.
14074
14075 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14076 count references to noai6ai_cached.
14077
14078 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14079
14080 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14081
14082 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14083 FD_CLOEXEC for /proc/self/maps.
14084
14085 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14086 FD_CLOEXEC for /proc/meminfo.
14087
14088 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14089 gai.conf.
14090
14091 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14092 FD_CLOEXEC for given file.
14093
14094 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14095
14096 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14097 FD_CLOEXEC for /etc/hosts.
14098 (_gethtent): Likewise.
14099
14100 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14101
14102 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14103 cancellation and set FD_CLOEXEC for /etc/netgroup.
14104
14105 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14106 reading /etc/publickey.
14107
14108 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14109 allow cancellation when reading /etc/group.
14110
14111 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14112 cancellation.
14113 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14114
14115 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14116 when using data file.
14117
14118 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14119
14120 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14121 (write_nis_obj): Use "c" and "e" in fopen.
14122
14123 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14124
14125 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14126
14127 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14128
14129 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14130
14131 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14132 locale.alias.
14133
14134 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14135
14136 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14137
14138 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14139
14140 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14141 file parsing and set FD_CLOEXEC.
14142
14143 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14144
14145 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14146
14147 2011-11-14 Andreas Schwab <schwab@redhat.com>
14148
14149 * malloc/arena.c (arena_get2): Don't call reused_arena when
14150 _int_new_arena failed.
14151
14152 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14153
14154 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14155 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14156 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14157 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14158 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14159 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14160 to compile strcasecmp and strncasecmp.
14161 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14162 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14163
14164 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14165
14166 2011-11-13 Ulrich Drepper <drepper@gmail.com>
14167
14168 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14169 locale-defines.sym to gen-as-const-headers.
14170 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14171 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14172 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14173 to compile strcasecmp and strncasecmp.
14174 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14175 strcasecmp_l and strncasecmp_l.
14176 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14177 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14178 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14179 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14180 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14181 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14182 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14183 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14184 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14185 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14186 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14187
14188 2011-11-12 Ulrich Drepper <drepper@gmail.com>
14189
14190 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14191 result of SYSDEP_GETTIME_CPU to retval.
14192 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14193 parameter list to macro. Remove trailing semicolon. Adjust users.
14194
14195 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14196 variable.
14197
14198 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14199 mantissa words.
14200 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14201
14202 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14203 from unused variable.
14204
14205 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14206 DWARF definitions.
14207 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14208 for assembling.
14209
14210 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14211 over namespaces.
14212
14213 * sunrpc/rpc_prot.c (rejected): Fix case value.
14214
14215 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14216 unsigned long long int to avoid warnings in shift.
14217
14218 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14219 of use of trans.
14220 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14221 variable tmp.
14222
14223 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14224 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14225 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14226
14227 * nis/nis_table.c (nis_list): Use variable of correct type for
14228 result of __follow_path call.
14229
14230 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14231
14232 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14233 of math functions ceil, trunc, floor, round, and sqrt, when
14234 avaliable on the platform.
14235 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14236 name clash.
14237 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14238 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14239 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14240
14241 2011-10-30 Marek Polacek <mpolacek@redhat.com>
14242
14243 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14244 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14245
14246 2011-11-11 Roland McGrath <roland@hack.frob.com>
14247
14248 * include/unistd.h: Fix __readlink return type.
14249 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14250
14251 2011-11-11 Ulrich Drepper <drepper@gmail.com>
14252
14253 * stdlib/ucontext.h: Undo last change for makecontext.
14254
14255 2011-11-11 Andreas Schwab <schwab@redhat.com>
14256
14257 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14258
14259 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14260 * setjmp/setjmp.h: Mark functions as non-leaf.
14261 * setjmp/bits/setjmp2.h: Likewise.
14262 * stdlib/ucontext.h: Likewise.
14263
14264 2011-11-10 Andreas Schwab <schwab@redhat.com>
14265
14266 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14267 (reused_arena): Don't check arena limit.
14268 (arena_get2): Atomically check arena limit.
14269
14270 2011-11-08 Ulrich Drepper <drepper@gmail.com>
14271
14272 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14273 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14274
14275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14276 instructions.
14277
14278 2011-11-07 Andreas Schwab <schwab@redhat.com>
14279
14280 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14281 handler when locking.
14282
14283 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14284 Fix size of allocated buffer.
14285
14286 2011-11-04 Andreas Schwab <schwab@redhat.com>
14287
14288 [BZ #10103]
14289 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14290 declarations for long double functions.
14291 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14292
14293 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14294
14295 2011-11-03 Andreas Schwab <schwab@redhat.com>
14296
14297 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14298 installed.
14299
14300 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14301 is disabled.
14302
14303 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14304
14305 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14306
14307 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14308
14309 * include/alloca.h (stackinfo_alloca_round): Define.
14310 (extend_alloca): Use it.
14311 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14312 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14313 here.
14314
14315 * scripts/check-local-headers.sh: Ignore libaudit.h.
14316
14317 * nscd/Makefile (extra-objs): Make recursively expanded.
14318
14319 2011-11-01 Ulrich Drepper <drepper@gmail.com>
14320
14321 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14322 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14323
14324 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14325 * posix/tst-rfc3484-2.c: Likewise.
14326 * posix/tst-rfc3484-3.c: Likewise.
14327
14328 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14329 process_vm_writev.
14330 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14331 process_vm_writev.
14332 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14333 process_vm_writev from libc using GLIBC_2.15 version.
14334
14335 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14336
14337 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14338
14339 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14340 stack usage.
14341
14342 2011-10-31 Ulrich Drepper <drepper@gmail.com>
14343
14344 [BZ #13367]
14345 * nss/getent.c (initgroups_keys): Show error message in case no group
14346 names are given.
14347
14348 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14349 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14350 __bump_nl_timestamp.
14351 * nscd/connections (nscd_init): When host database is served open
14352 netlink socket and request notification about configuration changes.
14353 (main_loop_poll): Track netlink file descriptor and bump timestamp
14354 in case data becomes available.
14355 (main_loop_epoll): Likewise.
14356 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14357 (database_pers_head): Add extra_data fileds.
14358 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14359 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14360 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14361 Adjust caller.
14362 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14363 in6ai data, call __free_in6ai.
14364 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14365 Add -DHAVE_NETLINK.
14366 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14367 interface information. Reuse previous data if netlink timestamp
14368 is not changed.
14369 (__bump_nl_timestamp): New function.
14370 (__free_in6ai): New function.
14371
14372 2011-10-30 Ulrich Drepper <drepper@gmail.com>
14373
14374 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14375 close_not_cancel_no_status here.
14376 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14377
14378 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14379
14380 [BZ #13276]
14381 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14382 return value.
14383
14384 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
14385 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14386 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14387
14388 2011-07-03 Andreas Jaeger <aj@suse.de>
14389
14390 [BZ #10709]
14391 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14392 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14393 * math/libm-test.inc (sin_test): Add test case.
14394
14395 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14396
14397 [BZ #13337]
14398 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14399 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14400
14401 * elf/chroot_canon.c (chroot_canon): Cleanups.
14402
14403 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14404
14405 [BZ #13335]
14406 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14407 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14408
14409 * string/test-strchr.c: Make usable for strchrnul testing.
14410 * string/test-strchrnul.c: New file.
14411 * string/Makefile (strop-tests): Add strchrnul.
14412
14413 * po/it.po: Update from translation team.
14414 * po/es.po: Likewise.
14415
14416 2011-10-28 Ulrich Drepper <drepper@gmail.com>
14417
14418 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14419 the three constants needed as parameters. Drop the others.
14420 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14421 __m128i_strloadu_tolower.
14422 Create and initialize variable zero and use it in all the places
14423 where _mm_setzero_si128 was used.
14424
14425 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14426 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14427 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14428 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14429 anymore.
14430 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14431 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14432 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14433 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14434 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14435 __mpranred, __mptan.
14436 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14437 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14438 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14439 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14440 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14441 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14442 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14443 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14444 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14445
14446 2011-10-28 Andreas Schwab <schwab@redhat.com>
14447
14448 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14449 redefine if SHARED.
14450 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14451
14452 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14453 wide char related routines to wcsmbs subdir.
14454
14455 2011-10-27 Andreas Schwab <schwab@redhat.com>
14456
14457 [BZ #13344]
14458 * misc/sys/cdefs.h (__THROWNL): Define.
14459 * posix/unistd.h: Use __THREADNL instead of __THREAD
14460 for memory synchronization functions.
14461
14462 2011-10-26 Roland McGrath <roland@hack.frob.com>
14463
14464 [BZ #13349]
14465 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14466 doesn't exist.
14467 * manual/stdio.texi (Obstack Streams): Node removed.
14468
14469 2011-10-26 Andreas Schwab <schwab@redhat.com>
14470
14471 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14472 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14473 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14474
14475 * math/math_private.h (math_force_eval): Allow non-addressable
14476 arguments.
14477 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14478
14479 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14480
14481 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14482 file is not needed.
14483
14484 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14485 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14486 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14487 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14488 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14489 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14490 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14491 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14492 Add AVX variants.
14493 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14494 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14495 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14496 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14497 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14498 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14499 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14500 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14501 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14502 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14503 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14504 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14505 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14506 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14507 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14508 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14509 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14510 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14511 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14512
14513 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14514 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14515
14516 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14517 place. Use VEX encoding when compiling for AVX.
14518
14519 2011-10-25 Andreas Schwab <schwab@redhat.com>
14520
14521 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14522 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14523
14524 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14525
14526 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14527
14528 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
14529 useless if() expression.
14530 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14531 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14532 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14533 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14534 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14535 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14536 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14537 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14538 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14539 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14540 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14541 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14542 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14543 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14544 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14545 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14546 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14547 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14548 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14549
14550 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14551
14552 2011-10-25 Andreas Schwab <schwab@redhat.com>
14553
14554 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14555 condition.
14556 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14557
14558 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14559
14560 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14561 .text section. Avoid duplicate constants.
14562 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14563 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14564 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14565 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14566 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14567 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14568 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14570 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14571 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14572 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14573 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14574 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14575 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14576 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14577 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14578 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14579 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14580 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14582 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14583 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14584 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14585 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14586 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14587 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14588 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14589 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14590 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14591 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14592 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14593 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14594 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14595 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14596 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14597 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14598 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14599 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14600 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14601 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14602 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14603 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14604 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14605 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14606 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14607
14608 2011-10-24 Ulrich Drepper <drepper@gmail.com>
14609
14610 * sysdeps/x86_64/dla.h: Move to ...
14611 * sysdeps/x86_64/fpu/dla.h: ...here.
14612 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14613 situations. Use __builtin_fma only for gcc 4.6 and up.
14614
14615 * config.make.in: Add have-mfma4 entry.
14616 * configure.in: Substitute libc_cv_cc_fma4.
14617 * math/Makefile (dbl-only-routines): Add sincostab.
14618 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14619 Use __sincostab not sincos.
14620 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14621 name is a macro.
14622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14626 using __copysign.
14627 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14628 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14629 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14630 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14631 and __inv.
14632 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14633 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14634 __copysign.
14635 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14636 define aliases when function name is a macro.
14637 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14638 sysdeps/ieee754/dbl-64/sincos.tbl.
14639 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14640 fma4-enabled routines.
14641 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14642 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14643 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14644 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14645 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14646 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14647 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14648 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14649 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14650 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14651 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14652 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14653 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14654 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14655 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14656 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14657 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14658 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14659 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14660 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14661 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14662 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14663 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14664 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14665 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14666 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14667 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14668 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14669 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14670 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14671
14672 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14673 rename.
14674 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14675 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14676 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14677 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14678 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14679 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14680 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14681 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14682
14683 2011-10-24 Andreas Schwab <schwab@redhat.com>
14684
14685 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14686
14687 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14688
14689 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14690
14691 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14692 prediction.
14693 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14694
14695 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14696 Remove unused variable magic_bits.
14697 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14698
14699 * string/strnlen.c: Define and use STRNLEN macro.
14700 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14701 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14702 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14703 * wcsmbs/wcslen.c: Define and use WCSLEN.
14704 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14705 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14706 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14707 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14708 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14709 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14710 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14711
14712 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14713
14714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14715 strnlen-sse2-no-bsf.
14716 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14717 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14718 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14719 Add strnlen support.
14720 (USE_AS_STRNLEN): New macro.
14721 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14722 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14723 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14724 * sysdeps/x86_64/wcslen.S: New file.
14725
14726 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14727
14728 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14729 XMM-moves are used for copying on small sizes.
14730
14731 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14732
14733 * wcsmbs/Makefile (strop-tests): Add wcschr.
14734 * wcsmbs/test-wcschr.c: New file.
14735 * string/test-strchr.c: Update.
14736 Add wcschr support.
14737 (WIDE): New macro.
14738
14739 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14740
14741 * wcsmbs/Makefile (strop-tests): Add wcslen.
14742 * wcsmbs/test-wcslen.c: New file.
14743 * string/test-strlen.c: Update.
14744 Add wcslen support.
14745 (WIDE): New macro.
14746
14747 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14748
14749 * po/it.po: Update from translation team.
14750
14751 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14752
14753 * sysdeps/x86_64/wcscmp.S: Update.
14754 Fix wrong comparison semantics.
14755 wcscmp shall use signed comparison not unsigned.
14756 Don't use substraction to avoid overflow bug.
14757 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14758 * wcsmbc/wcscmp.c: Likewise.
14759 * string/test-strcmp.c: Likewise.
14760 Add new tests to check cases with negative values.
14761
14762 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14763
14764 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14765 * sysdeps/x86_64/dla.h: ...here. New file.
14766 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14767 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14768 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14769 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14770 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14771 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14772 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14773 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14774 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14775
14776 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14777
14778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14779 __ynl_finite aliases.
14780
14781 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14782
14783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14784
14785 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14786 define DLA_FMA.
14787 [DLA_FMA] (EMULV): Use DLA_FMA.
14788 [DLA_FMA] (MUL12): Use EMULV.
14789 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14790 that are not needed.
14791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14792 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14793 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14794 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14795 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14796 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14797 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14798
14799 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14800
14801 * math/s_nan.c: Undef __nan.
14802 * math/s_nanf.c: Undef __nanf.
14803 * math/s_nanl.c: Undef __nanl.
14804 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14805 "math_private.h".
14806
14807 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14808
14809 * math/s_catan.c: Add branch predictions.
14810 * math/s_catanf.c: Likewise.
14811 * math/s_catanh.c: Likewise.
14812 * math/s_catanhf.c: Likewise.
14813 * math/s_catanhl.c: Likewise.
14814 * math/s_catanl.c: Likewise.
14815 * math/s_cexp.c: Likewise.
14816 * math/s_cexpf.c: Likewise.
14817 * math/s_cexpl.c: Likewise.
14818 * math/s_clog.c: Likewise.
14819 * math/s_clog10.c: Likewise.
14820 * math/s_clog10f.c: Likewise.
14821 * math/s_clog10l.c: Likewise.
14822 * math/s_clogf.c: Likewise.
14823 * math/s_clogl.c: Likewise.
14824 * math/s_csqrt.c: Likewise.
14825 * math/s_csqrtf.c: Likewise.
14826 * math/s_csqrtl.c: Likewise.
14827 * math/s_ctanf.c: Likewise.
14828 * math/s_ctanh.c: Likewise.
14829 * math/s_ctanhf.c: Likewise.
14830 * math/s_ctanhl.c: Likewise.
14831 * math/s_ctanl.c: Likewise.
14832
14833 * math/math_private.h: Define __nan, __nanf, __nanl.
14834 * math/s_cacosh.c: Include <math_private.h>.
14835 * math/s_cacoshl.c: Likewise.
14836 * math/s_casinh.c: Likewise.
14837 * math/s_casinhf.c: Likewise.
14838 * math/s_casinhl.c: Likewise.
14839 * math/s_ccos.c: Rely entire on ccosh.
14840 * math/s_ccosf.c: Rely entire on ccoshf.
14841 * math/s_ccosl.c: Rely entirely on ccoshl.
14842 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14843 Remove tests for FE_INVALID.
14844 * math/s_ccoshf.c: Likewise.
14845 * math/s_ccoshl.c: Likewise.
14846 * math/s_csin.c: Likewise.
14847 * math/s_csinf.c: Likewise.
14848 * math/s_csinh.c Likewise.
14849 * math/s_csinhf.c: Likewise.
14850 * math/s_csinhl.c: Likewise.
14851 * math/s_csinl.c: Likewise.
14852 * math/s_ctan.c: Likewise.
14853 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14854 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14855 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14856
14857 2011-10-21 Ulrich Drepper <drepper@gmail.com>
14858
14859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14860 compilation problems.
14861
14862 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14863 __builtin_expect.
14864
14865 2011-10-20 Ulrich Drepper <drepper@gmail.com>
14866
14867 * sysdeps/i386/configure.in: Test for -mfma4 option.
14868 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14869 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14870 COMMON_CPUID_INDEX_80000001.
14871 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14872 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14873 use it if FMA3 is not supported.
14874 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14875
14876 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14877 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14878
14879 2011-10-20 Andreas Schwab <schwab@redhat.com>
14880
14881 [BZ #12892]
14882 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14883 it would create a cycle with a link time dependency.
14884
14885 2011-10-19 Ulrich Drepper <drepper@gmail.com>
14886
14887 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14888 instruction.
14889 * string/Makefile (strop-tests): Add rawmemchr.
14890 * string/test-rawmemchr.c: New file.
14891
14892 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14893 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14894 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14895 when compiling str{,n}casecmp and when AVX is available. Hook up
14896 new optimized code in initializers.
14897
14898 2011-10-19 Andreas Schwab <schwab@redhat.com>
14899
14900 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14901 __feraiseexcept instead of feraiseexcept.
14902
14903 2011-10-18 Ulrich Drepper <drepper@gmail.com>
14904
14905 * math/math_private.h: Define defaults for libc_fetestexcept and
14906 libc_feupdateenv.
14907 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14908 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14909 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14910 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14911 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14912 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14913 libc_fetestexcept and libc_feupdateenv.
14914
14915 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14916 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14917 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14918 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14919 libc_feholdexcept_setround.
14920
14921 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14922 Add s_nearbyint-c and s_nearbyintf-c.
14923 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14924 nearbyintf inlines.
14925 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14926 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14927 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14928 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14929
14930 * math/math_private.h: Define defaults for libc_fegetround,
14931 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14932 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14933 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14934 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14935 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14936 standard functions.
14937 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14938 Remove comments and hacks for old compiler versions.
14939 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14940 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14941 libc_feholdexceptl.
14942
14943 2011-10-18 Andreas Schwab <schwab@redhat.com>
14944
14945 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
14946 (__feraiseexcept_renamed): Add __NTH.
14947 (feraiseexcept): Add __NTH. Rename local variables to fix
14948 namespace violations.
14949
14950 2011-10-17 Ulrich Drepper <drepper@gmail.com>
14951
14952 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14953
14954 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14955
14956 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14957 recently added interfaces.
14958 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14959
14960 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14961 about macro parameter expansion.
14962
14963 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14964 __NO_MATH_INLINES is defined. Cleanups.
14965
14966 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14967 and __floorf is target has SSE4.1.
14968 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14969 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14970 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14971 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14972
14973 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14974 name.
14975 (floorf): Likewise.
14976
14977 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14978
14979 2011-10-17 Andreas Schwab <schwab@redhat.com>
14980
14981 * misc/sys/cdefs.h: Fix last change.
14982
14983 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14984 database lookup.
14985
14986 2011-10-16 Ulrich Drepper <drepper@gmail.com>
14987
14988 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14989
14990 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14991 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14992 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14993 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14994 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14995 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14996 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14997 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14998 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14999 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15000 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15001 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15002 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15003 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15004 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15005 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15006 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15007 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15008 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15009 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15010 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15011 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15012
15013 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15014 ceil, ceilf, floor, floorf.
15015
15016 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15017 Perform IRELATIVE relocations last.
15018
15019 * elf/do-rel.h: Add another parameter nrelative, replacing the
15020 local variable with the same name. Change name of the function
15021 to end in Rel or Rela (uppercase).
15022 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15023 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15024 elf_dynamic_do_##reloc function.
15025
15026 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15027
15028 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15029 is sufficient, at least on modern CPUs.
15030
15031 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15032
15033 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15034 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15035
15036 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15037 __expl_finite.
15038 * math/bits/math-finite.h: Add entries for exp.
15039 * math/e_expl.c: Add __*_finite alias.
15040 * sysdeps/i386/fpu/e_exp.S: Likewise.
15041 * sysdeps/i386/fpu/e_expf.S: Likewise.
15042 * sysdeps/i386/fpu/e_expl.c: Likewise.
15043 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15044 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15045 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15047 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15048 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15049 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15050
15051 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15052 is sufficient, at least on modern CPUs.
15053
15054 * ctype/ctype-info.c (__ctype_init): Define.
15055 * include/ctype.h (__ctype_init): Declare.
15056 (__ctype_b_loc): The variable is always initialized.
15057 (__ctype_toupper_loc): Likewise.
15058 (__ctype_tolower_loc): Likewise.
15059 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15060 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15061
15062 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15063
15064 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15065
15066 * configure.in: Also look in $cxxmachine/include for C++ system
15067 headers.
15068
15069 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15070
15071 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15072 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15073 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15074 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15075 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15076 (USE_AS_WMEMCMP): New macro.
15077 Fixing indents.
15078 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15079 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15080 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15081 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15083 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15084 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15085 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15086 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15087 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15088 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15089 (USE_AS_WMEMCMP): New macro.
15090 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15091 * sysdeps/string/test-memcmp.c: Update.
15092 Fix simple_wmemcmp.
15093 Add new tests.
15094 * wcsmbs/wmemcmp.c: Update.
15095 (WMEMCMP): New macro.
15096 Fix overflow bug.
15097
15098 2011-10-12 Andreas Jaeger <aj@suse.de>
15099
15100 [BZ #13268]
15101 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15102
15103 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15104
15105 * libio/iofwide.c (do_length): Avoid warning.
15106
15107 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15108
15109 2011-10-14 Ulrich Drepper <drepper@gmail.com>
15110
15111 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15112
15113 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15114 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15115 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15116 * sysdeps/i386/i686/fpu/e_log.S: New file.
15117 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15118 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15119
15120 * ctype/ctype.h: Add support for inlined isXXX functions when
15121 compiling C++ code.
15122
15123 2011-10-14 Andreas Schwab <schwab@redhat.com>
15124
15125 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15126
15127 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15128
15129 2011-10-13 Roland McGrath <roland@hack.frob.com>
15130
15131 [BZ #13291]
15132 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15133
15134 2011-10-13 Andreas Schwab <schwab@redhat.com>
15135
15136 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15137 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15138 feraiseexcept.
15139
15140 * sysdeps/x86_64/memrchr.S: Check for zero size.
15141
15142 * string/stratcliff.c: Add memrchr tests.
15143
15144 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15145
15146 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15147 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15148 rawmemchr-sse2 rawmemchr-sse2-bsf.
15149 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15150 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15151 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15152 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15153 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15154 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15155 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15156 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15157 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15158 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15159 * string/memrchr.c (MEMRCHR): New macro.
15160
15161 2011-10-12 Ulrich Drepper <drepper@gmail.com>
15162
15163 Add integration with gcc's -ffinite-math-only and optimize wrapper
15164 functions in libm.
15165 * Versions.def: Define GLIBC_2.15 version for libm.
15166 * math/Makefile (headers): Add bits/math-finite.h.
15167 * math/bits/math-finite.h: New file.
15168 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15169 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15170 * math/e_acoshl.c: Add __*_finite alias.
15171 * math/e_acosl.c: Likewise.
15172 * math/e_asinl.c: Likewise.
15173 * math/e_atan2l.c: Likewise.
15174 * math/e_atanhl.c: Likewise.
15175 * math/e_coshl.c: Likewise.
15176 * math/e_exp10.c: Likewise.
15177 * math/e_exp10f.c: Likewise.
15178 * math/e_exp10l.c: Likewise.
15179 * math/e_exp2l.c: Likewise.
15180 * math/e_fmodl.c: Likewise.
15181 * math/e_gammal_r.c: Likewise.
15182 * math/e_hypotl.c: Likewise.
15183 * math/e_j0l.c: Likewise.
15184 * math/e_j1l.c: Likewise.
15185 * math/e_jnl.c: Likewise.
15186 * math/e_lgammal_r.c: Likewise.
15187 * math/e_log10l.c: Likewise.
15188 * math/e_log2l.c: Likewise.
15189 * math/e_logl.c: Likewise.
15190 * math/e_powl.c: Likewise.
15191 * math/e_sinhl.c: Likewise.
15192 * math/e_sqrtl.c: Likewise.
15193 * math/e_scalb.c: Completely rewritten and optimized.
15194 * math/e_scalbf.c: Likewise.
15195 * math/e_scalbl.c: Likewise.
15196 * math/w_acos.c: Likewise.
15197 * math/w_acosf.c: Likewise.
15198 * math/w_acosl.c: Likewise.
15199 * math/w_acosh.c: Likewise.
15200 * math/w_acoshf.c: Likewise.
15201 * math/w_acoshl.c: Likewise.
15202 * math/w_asin.c: Likewise.
15203 * math/w_asinf.c: Likewise.
15204 * math/w_asinl.c: Likewise.
15205 * math/w_atan2.c: Likewise.
15206 * math/w_atan2f.c: Likewise.
15207 * math/w_atan2l.c: Likewise.
15208 * math/w_atanh.c: Likewise.
15209 * math/w_atanhf.c: Likewise.
15210 * math/w_atanhl.c: Likewise.
15211 * math/w_exp10.c: Likewise.
15212 * math/w_exp10f.c: Likewise.
15213 * math/w_exp10l.c: Likewise.
15214 * math/w_fmod.c: Likewise.
15215 * math/w_fmodf.c: Likewise.
15216 * math/w_fmodl.c: Likewise.
15217 * math/w_j0.c: Likewise.
15218 * math/w_j0f.c: Likewise.
15219 * math/w_j0l.c: Likewise.
15220 * math/w_j1.c: Likewise.
15221 * math/w_j1f.c: Likewise.
15222 * math/w_j1l.c: Likewise.
15223 * math/w_jn.c: Likewise.
15224 * math/w_jnf.c: Likewise.
15225 * math/w_log.c: Likewise.
15226 * math/w_logf.c: Likewise.
15227 * math/w_logl.c: Likewise.
15228 * math/w_log10.c: Likewise.
15229 * math/w_log10f.c: Likewise.
15230 * math/w_log10l.c: Likewise.
15231 * math/w_log2.c: Likewise.
15232 * math/w_log2f.c: Likewise.
15233 * math/w_log2l.c: Likewise.
15234 * math/w_pow.c: Likewise.
15235 * math/w_powf.c: Likewise.
15236 * math/w_powl.c: Likewise.
15237 * math/w_remainder.c: Likewise.
15238 * math/w_remainderf.c: Likewise.
15239 * math/w_remainderl.c: Likewise.
15240 * math/w_scalb.c: Likewise.
15241 * math/w_scalbf.c: Likewise.
15242 * math/w_scalbl.c: Likewise.
15243 * math/w_sqrt.c: Likewise.
15244 * math/w_sqrtf.c: Likewise.
15245 * math/w_sqrtl.c: Likewise.
15246 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15247 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15248 used.
15249 * math/math_private.h: Declare __kernel_standard_f.
15250 * math/w_cosh.c: Remove cruft and optimize a bit.
15251 * math/w_coshf.c: Likewise.
15252 * math/w_coshl.c: Likewise.
15253 * math/w_exp2.c: Likewise.
15254 * math/w_exp2f.c: Likewise.
15255 * math/w_exp2l.c: Likewise.
15256 * math/w_hypot.c: Likewise.
15257 * math/w_hypotf.c: Likewise.
15258 * math/w_hypotl.c: Likewise.
15259 * math/w_lgamma.c: Likewise.
15260 * math/w_lgamma_r.c: Likewise.
15261 * math/w_lgammaf.c: Likewise.
15262 * math/w_lgammaf_r.c: Likewise.
15263 * math/w_lgammal.c: Likewise.
15264 * math/w_lgammal_r.c: Likewise.
15265 * math/w_sinh.c: Likewise.
15266 * math/w_sinhf.c: Likewise.
15267 * math/w_sinhl.c: Likewise.
15268 * math/w_tgamma.c: Likewise.
15269 * math/w_tgammaf.c: Likewise.
15270 * math/w_tgammal.c: Likewise.
15271 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15272 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15273 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15274 Minor optimizations. Pretty printing. Remove cruft.
15275 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15276 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15277 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15278 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15279 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15280 * sysdeps/i386/fpu/e_asin.S: Likewise.
15281 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15282 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15283 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15284 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15285 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15286 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15287 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15288 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15289 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15290 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15291 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15292 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15293 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15294 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15295 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15296 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15297 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15298 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15299 * sysdeps/i386/fpu/e_log.S: Likewise.
15300 * sysdeps/i386/fpu/e_log10.S: Likewise.
15301 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15302 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15303 * sysdeps/i386/fpu/e_log2.S: Likewise.
15304 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15305 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15306 * sysdeps/i386/fpu/e_logf.S: Likewise.
15307 * sysdeps/i386/fpu/e_logl.S: Likewise.
15308 * sysdeps/i386/fpu/e_pow.S: Likewise.
15309 * sysdeps/i386/fpu/e_powf.S: Likewise.
15310 * sysdeps/i386/fpu/e_powl.S: Likewise.
15311 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15312 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15313 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15314 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15315 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15316 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15317 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15318 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15319 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15321 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15322 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15323 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15324 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15325 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15326 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15327 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15328 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15329 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15330 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15331 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15341 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15342 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15343 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15344 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15345 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15346 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15347 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15348 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15349 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15350 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15351 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15352 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15353 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15354 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15355 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15356 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15357 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15358 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15359 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15360 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15361 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15362 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15363 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15364 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15365 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15366 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15367 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15368 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15369 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15370 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15371 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15372 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15373 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15374 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15375 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15376 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15377 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15378 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15379 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15380 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15381 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15382 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15383 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15384 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15385 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15386 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15387 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15388 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15389 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15390 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15391 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15392 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15393 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15394 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15395 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15396 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15397 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15398 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15399 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15400 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15401 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15402 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15403 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15404 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15405 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15406 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15407 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15408 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15409 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15410 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15411 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15412 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15413 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15414 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15415 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15416 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15417 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15418 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15419 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15420 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15421 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15422 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15423 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15424 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15425 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15426 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15427 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15428 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15429 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15430 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15431 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15432 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15433 (__isnanf): Likewise.
15434 (__isinf_ns): Likewise.
15435 (__isinf_nsf): Likewise.
15436 (__finite): Likewise.
15437 (__finitef): Likewise.
15438 (__ieee754_sqrt): Define as macro.
15439 (__ieee754_sqrtf): Define as macro.
15440 (__ieee754_sqrtl): Define as macro.
15441 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15442 inlined copy.
15443 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15444 __FINITE_MATH_ONLY__ consistent.
15445 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15446
15447 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15448
15449 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15450 of rawmemchr.
15451
15452 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15453
15454 2011-10-09 Ulrich Drepper <drepper@gmail.com>
15455
15456 * po/ja.po: Update from translation team.
15457
15458 2011-10-08 Roland McGrath <roland@hack.frob.com>
15459
15460 * locale/programs/locarchive.c (prepare_address_space): New function.
15461 (create_archive, enlarge_archive, open_archive): Use it.
15462
15463 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15464 inside [SHARED], where it is used.
15465
15466 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15467
15468 * nss/getent.c (netgroup_keys): Remove unused variable.
15469 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15470
15471 2011-10-08 Ulrich Drepper <drepper@gmail.com>
15472
15473 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15474 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15475 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15476 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15477 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15478 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15479 * math/Makefile (libm-calls): Add s_isinf_ns.
15480 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15481 * math/multc3.c: Likewise.
15482 * math/s_casin.c: Likewise.
15483 * math/s_casinf.c: Likewise.
15484 * math/s_casinl.c: Likewise.
15485 * math/s_ccos.c: Likewise.
15486 * math/s_ccosf.c: Likewise.
15487 * math/s_ccosl.c: Likewise.
15488 * math/s_ctan.c: Likewise.
15489 * math/s_ctanf.c: Likewise.
15490 * math/s_ctanh.c: Likewise.
15491 * math/s_ctanhf.c: Likewise.
15492 * math/s_ctanhl.c: Likewise.
15493 * math/s_ctanl.c: Likewise.
15494 * math/w_fmod.c: Likewise.
15495 * math/w_fmodf.c: Likewise.
15496 * math/w_fmodl.c: Likewise.
15497 * math/w_remainder.c: Likewise.
15498 * math/w_remainderf.c: Likewise.
15499 * math/w_remainderl.c: Likewise.
15500 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15501 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15502 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15504 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15505 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15506 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15507 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15508
15509 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15510 of the number.
15511 * stdio-common/printf_fphex.c: Likewise.
15512 * stdio-common/printf_size.c: Likewise.
15513
15514 * math/e_exp10.c: Include math_private.h using <...> not "...".
15515 * math/e_exp10f.c: Likewise.
15516 * math/e_exp10l.c: Likewise.
15517 * math/e_exp2l.c: Likewise.
15518 * math/e_j0l.c: Likewise.
15519 * math/e_j1l.c: Likewise.
15520 * math/e_jnl.c: Likewise.
15521 * math/e_lgammal_r.c: Likewise.
15522 * math/e_rem_pio2l.c: Likewise.
15523 * math/e_scalb.c: Likewise.
15524 * math/e_scalbf.c: Likewise.
15525 * math/e_scalbl.c: Likewise.
15526 * math/k_cosl.c: Likewise.
15527 * math/k_sinl.c: Likewise.
15528 * math/k_tanl.c: Likewise.
15529 * math/s_cacoshf.c: Likewise.
15530 * math/s_catan.c: Likewise.
15531 * math/s_catanf.c: Likewise.
15532 * math/s_catanh.c: Likewise.
15533 * math/s_catanhf.c: Likewise.
15534 * math/s_catanhl.c: Likewise.
15535 * math/s_catanl.c: Likewise.
15536 * math/s_ccosh.c: Likewise.
15537 * math/s_ccoshf.c: Likewise.
15538 * math/s_ccoshl.c: Likewise.
15539 * math/s_cexp.c: Likewise.
15540 * math/s_cexpf.c: Likewise.
15541 * math/s_cexpl.c: Likewise.
15542 * math/s_clog.c: Likewise.
15543 * math/s_clog10.c: Likewise.
15544 * math/s_clog10f.c: Likewise.
15545 * math/s_clog10l.c: Likewise.
15546 * math/s_clogf.c: Likewise.
15547 * math/s_clogl.c: Likewise.
15548 * math/s_csin.c: Likewise.
15549 * math/s_csinf.c: Likewise.
15550 * math/s_csinh.c: Likewise.
15551 * math/s_csinhf.c: Likewise.
15552 * math/s_csinhl.c: Likewise.
15553 * math/s_csinl.c: Likewise.
15554 * math/s_csqrt.c: Likewise.
15555 * math/s_csqrtf.c: Likewise.
15556 * math/s_csqrtl.c: Likewise.
15557 * math/s_ctan.c: Likewise.
15558 * math/s_ctanf.c: Likewise.
15559 * math/s_ctanh.c: Likewise.
15560 * math/s_ctanhf.c: Likewise.
15561 * math/s_ctanhl.c: Likewise.
15562 * math/s_ctanl.c: Likewise.
15563 * math/s_ldexp.c: Likewise.
15564 * math/s_ldexpf.c: Likewise.
15565 * math/s_ldexpl.c: Likewise.
15566 * math/s_significand.c: Likewise.
15567 * math/s_significandf.c: Likewise.
15568 * math/s_significandl.c: Likewise.
15569 * math/w_acos.c: Likewise.
15570 * math/w_acosf.c: Likewise.
15571 * math/w_acosh.c: Likewise.
15572 * math/w_acoshf.c: Likewise.
15573 * math/w_acoshl.c: Likewise.
15574 * math/w_acosl.c: Likewise.
15575 * math/w_asin.c: Likewise.
15576 * math/w_asinf.c: Likewise.
15577 * math/w_asinl.c: Likewise.
15578 * math/w_atan2.c: Likewise.
15579 * math/w_atan2f.c: Likewise.
15580 * math/w_atan2l.c: Likewise.
15581 * math/w_atanh.c: Likewise.
15582 * math/w_atanhf.c: Likewise.
15583 * math/w_atanhl.c: Likewise.
15584 * math/w_cosh.c: Likewise.
15585 * math/w_coshf.c: Likewise.
15586 * math/w_coshl.c: Likewise.
15587 * math/w_dremf.c: Likewise.
15588 * math/w_exp10.c: Likewise.
15589 * math/w_exp10f.c: Likewise.
15590 * math/w_exp10l.c: Likewise.
15591 * math/w_exp2.c: Likewise.
15592 * math/w_exp2f.c: Likewise.
15593 * math/w_fmod.c: Likewise.
15594 * math/w_fmodf.c: Likewise.
15595 * math/w_fmodl.c: Likewise.
15596 * math/w_hypot.c: Likewise.
15597 * math/w_hypotf.c: Likewise.
15598 * math/w_hypotl.c: Likewise.
15599 * math/w_j0.c: Likewise.
15600 * math/w_j0f.c: Likewise.
15601 * math/w_j0l.c: Likewise.
15602 * math/w_j1.c: Likewise.
15603 * math/w_j1f.c: Likewise.
15604 * math/w_j1l.c: Likewise.
15605 * math/w_jn.c: Likewise.
15606 * math/w_jnf.c: Likewise.
15607 * math/w_jnl.c: Likewise.
15608 * math/w_lgamma.c: Likewise.
15609 * math/w_lgamma_r.c: Likewise.
15610 * math/w_lgammaf.c: Likewise.
15611 * math/w_lgammaf_r.c: Likewise.
15612 * math/w_lgammal.c: Likewise.
15613 * math/w_lgammal_r.c: Likewise.
15614 * math/w_log.c: Likewise.
15615 * math/w_log10.c: Likewise.
15616 * math/w_log10f.c: Likewise.
15617 * math/w_log10l.c: Likewise.
15618 * math/w_log2.c: Likewise.
15619 * math/w_log2f.c: Likewise.
15620 * math/w_log2l.c: Likewise.
15621 * math/w_logf.c: Likewise.
15622 * math/w_logl.c: Likewise.
15623 * math/w_pow.c: Likewise.
15624 * math/w_powf.c: Likewise.
15625 * math/w_powl.c: Likewise.
15626 * math/w_remainder.c: Likewise.
15627 * math/w_remainderf.c: Likewise.
15628 * math/w_remainderl.c: Likewise.
15629 * math/w_scalb.c: Likewise.
15630 * math/w_scalbf.c: Likewise.
15631 * math/w_scalbl.c: Likewise.
15632 * math/w_sinh.c: Likewise.
15633 * math/w_sinhf.c: Likewise.
15634 * math/w_sinhl.c: Likewise.
15635 * math/w_sqrt.c: Likewise.
15636 * math/w_sqrtf.c: Likewise.
15637 * math/w_sqrtl.c: Likewise.
15638 * math/w_tgamma.c: Likewise.
15639 * math/w_tgammaf.c: Likewise.
15640 * math/w_tgammal.c: Likewise.
15641
15642 * po/ja.po: Update from translation team.
15643
15644 2011-09-29 Andreas Jaeger <aj@suse.de>
15645
15646 [BZ #13179]
15647 * sunrpc/netname.c (netname2host): Fix logic.
15648
15649 [BZ #6779]
15650 [BZ #6783]
15651 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15652 correctly.
15653 * math/w_remainder.c (__remainder): Likewise.
15654 * math/w_remainderf.c (__remainderf): Likewise.
15655 * math/libm-test.inc (remainder_test): Add test cases.
15656
15657 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15658
15659 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15660 sdiv_qrnnd.
15661
15662 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15663
15664 * string/test-memcmp.c: Avoid unncessary #defines.
15665 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15666
15667 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15668
15669 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15670 Use new sse2 version for core i3 - i7 as it's faster
15671 than sse42 version.
15672 (bit_Prefer_PMINUB_for_stringop): New.
15673 * sysdeps/x86_64/rawmemchr.S: Update.
15674 Replace with faster SSE2 version.
15675 * sysdeps/x86_64/memrchr.S: New file.
15676 * sysdeps/x86_64/memchr.S: Update.
15677 Replace with faster SSE2 version.
15678
15679 2011-09-12 Marek Polacek <mpolacek@redhat.com>
15680
15681 * elf/dl-load.c (lose): Add cast to avoid warning.
15682
15683 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15684
15685 * po/ca.po: Update from translation team.
15686
15687 * inet/getnetgrent_r.c: Hook up nscd.
15688 * nscd/Makefile (routines): Add nscd_netgroup.
15689 (nscd-modules): Add netgroupcache.
15690 (CFLAGS-netgroupcache.c): Define.
15691 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15692 (cache_search): Add const to second parameter.
15693 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15694 INNETGR.
15695 (dbs): Add netgrdb entry.
15696 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15697 (verify_persistent_db): Handle netgrdb.
15698 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15699 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15700 GETFDNETGR.
15701 (netgroup_response_header): Define.
15702 (innetgroup_response_header): Define.
15703 (datahead): Add netgroup_response_header and innetgroup_response_header
15704 elements.
15705 * nscd/nscd.conf: Add entries for netgroup cache.
15706 * nscd/nscd.h (dbtype): Add netgrdb.
15707 (_PATH_NSCD_NETGROUP_DB): Define.
15708 (netgroup_iov_disabled): Declare.
15709 (xmalloc, xcalloc, xrealloc): Move declarations here.
15710 (cache_search): Adjust prototype.
15711 Add netgroup-related prototypes.
15712 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15713 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15714 (__nscd_innetgr): Declare.
15715 * nscd/selinux.c (perms): Use access_vector_t as element type and
15716 add netgroup-related initializers.
15717 * nscd/netgroupcache.c: New file.
15718 * nscd/nscd_netgroup.c: New file.
15719 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15720 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15721 For four parameters use innetgr.
15722 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15723 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15724 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15725 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15726
15727 * nscd/connections.c (register_traced_file): Don't register file
15728 for disabled databases.
15729
15730 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15731
15732 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15733
15734 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15735 from tree and freeing node.
15736
15737 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15738
15739 * nss/nsswitch.c (__nss_database_lookup): Handle
15740 nss_parse_service_list out of memory case.
15741
15742 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15743
15744 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15745 out of memory case.
15746
15747 2011-10-04 Andreas Schwab <schwab@redhat.com>
15748
15749 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15750 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15751 pass it down.
15752 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15753 elf_machine_rela, elf_machine_lazy_rel.
15754 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15755 (ELF_DYNAMIC_DO_REL): Likewise.
15756 (ELF_DYNAMIC_DO_RELA): Likewise.
15757 (ELF_DYNAMIC_RELOCATE): Likewise.
15758 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15759 to ELF_DYNAMIC_DO_REL.
15760 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15761 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15762 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15763 elf_machine_rela.
15764 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15765 skip_ifunc, don't call ifunc function if non-zero.
15766 (elf_machine_rela): Likewise.
15767 (elf_machine_lazy_rel): Likewise.
15768 (elf_machine_lazy_rela): Likewise.
15769 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15770 (elf_machine_lazy_rel): Likewise.
15771 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15772 Likewise.
15773 (elf_machine_lazy_rel): Likewise.
15774 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15775 Likewise.
15776 (elf_machine_lazy_rel): Likewise.
15777 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15778 (elf_machine_lazy_rel): Likewise.
15779 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15780 (elf_machine_lazy_rel): Likewise.
15781 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15782 (elf_machine_lazy_rel): Likewise.
15783 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15784 (elf_machine_lazy_rel): Likewise.
15785 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15786 (elf_machine_lazy_rel): Likewise.
15787 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15788 (elf_machine_lazy_rel): Likewise.
15789
15790 2011-09-28 Ulrich Drepper <drepper@gmail.com>
15791
15792 * nss/nss_files/files-init.c (_nss_files_init): Use static
15793 initialization for all the *_traced_file variables.
15794
15795 2011-09-28 Andreas Schwab <schwab@redhat.com>
15796
15797 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15798
15799 2011-09-27 Roland McGrath <roland@hack.frob.com>
15800
15801 [BZ #13226]
15802 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15803
15804 2011-09-27 Andreas Schwab <schwab@redhat.com>
15805
15806 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15807 Reread the line before reparsing it.
15808
15809 2011-09-26 Andreas Schwab <schwab@redhat.com>
15810
15811 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15812
15813 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15814 Maxim Kuvyrkov <maxim@codesourcery.com>
15815 Joseph Myers <joseph@codesourcery.com>
15816
15817 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15818 if needed for __stack_chk_guard.
15819
15820 2011-09-19 Roland McGrath <roland@hack.frob.com>
15821
15822 * sysdeps/posix/spawni.c (script_execute): Always define it.
15823 It will be optimized away if unused.
15824 (maybe_script_execute): New function.
15825 (__spawni): Call it.
15826
15827 * Makerules: Don't include tls.make.
15828 (config-tls): Always set to thread.
15829 * tls.make.c: File removed.
15830
15831 2011-09-19 Mike Frysinger <vapier@gentoo.org>
15832
15833 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15834 * config.make.in (CPPFLAGS-config): New substituted variable.
15835
15836 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15837
15838 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15839
15840 [BZ #13192]
15841 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15842 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15843
15844 2011-09-15 Roland McGrath <roland@hack.frob.com>
15845
15846 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15847 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15848 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15849 (CALL_FAIL): Likewise.
15850 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15851 (CALL_FAIL): Macro removed.
15852 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15853
15854 2011-09-15 Ulrich Drepper <drepper@gmail.com>
15855
15856 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15857 for __FINITE_MATH_ONLY__ == 1.
15858
15859 2011-09-15 Andreas Schwab <schwab@redhat.com>
15860
15861 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15862 __ieee754_sqrt instead of sqrt.
15863 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15864 __ieee754_sqrtf instead of sqrtf.
15865 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15866 __floorf instead of floorf.
15867 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15868 __floorf, __truncf instead of floorf, truncf.
15869
15870 2011-09-14 Ulrich Drepper <drepper@gmail.com>
15871
15872 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15873
15874 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15875 __extern_always_inline.
15876 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15877 32-bit.
15878
15879 2011-09-14 Andreas Schwab <schwab@redhat.com>
15880
15881 * elf/rtld.c (dl_main): Also relocate in dependency order when
15882 doing symbol dependency testing.
15883
15884 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15885
15886 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15887 Always define `refsym'.
15888
15889 2011-09-13 Andreas Schwab <schwab@redhat.com>
15890
15891 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15892 (__FD_ELT): Renamed from __FDELT.
15893 * misc/bits/select2.h (__FD_ELT): Likewise.
15894 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15895 __FD_MASK instead of __FDELT, __FDMASK.
15896 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15897 Likewise.
15898 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15899 Likewise.
15900
15901 * elf/Makefile (gen-ldd): Fix pattern.
15902
15903 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15904 (init_tls): Likewise.
15905
15906 2011-09-12 Ulrich Drepper <drepper@gmail.com>
15907
15908 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15909
15910 2011-09-12 Andreas Schwab <schwab@redhat.com>
15911
15912 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15913 `struct cmsghdr *' instead of `void *'.
15914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15915 Likewise.
15916
15917 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15918
15919 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15920 if non-absolute.
15921 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15922 ldd_rewrite_script.
15923
15924 2011-09-11 Ulrich Drepper <drepper@gmail.com>
15925
15926 * configure.in: Remove --with-tls option.
15927 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15928 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15929 out in case it is missing.
15930 * sysdeps/ia64/elf/configure.in: Likewise.
15931 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15932 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15933 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15934 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15935 * sysdeps/sh/elf/configure.in: Likewise.
15936 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15937 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15938 * sysdeps/x86_64/elf/configure.in: Likewise.
15939 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15940 * sysdeps/mach/hurd/tls.h: Likewise.
15941
15942 [BZ #13067]
15943 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15944
15945 [BZ #13090]
15946 * configure.in: Fix use of AC_INIT.
15947
15948 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15949
15950 2011-09-10 Ulrich Drepper <drepper@gmail.com>
15951
15952 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15953 __set_errno.
15954 * malloc/hooks.c: Likewise.
15955
15956 [BZ #11929]
15957 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15958 variables statically.
15959 (narenas): Initialize.
15960 (list_lock): Initialize.
15961 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15962 initializtion of main_arena and list_lock. Small cleanups.
15963 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15964 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15965 Add initializers to main_arena and mp_.
15966 (malloc_state): Remove pagesize member. Change all users to use
15967 GLRO(dl_pagesize).
15968
15969 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15970 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15971 is always initialized.
15972
15973 * malloc/malloc.c: Removed unused configurations and dead code.
15974 * malloc/arena.c: Likewise.
15975 * malloc/hooks.c: Likewise.
15976 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
15977
15978 * include/tls.h: Removed. USE___THREAD must always be defined.
15979 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15980 * elf/dl-libc.c: Likewise.
15981 * elf/dl-tsd.c: Likewise.
15982 * include/errno.h: Likewise.
15983 * include/netdb.h: Likewise.
15984 * include/resolv.h: Likewise.
15985 * inet/herrno-loc.c: Likewise.
15986 * inet/herrno.c: Likewise.
15987 * malloc/arena.c: Likewise.
15988 * malloc/hooks.c: Likewise.
15989 * malloc/malloc.c: Likewise.
15990 * resolv/res-state.c: Likewise.
15991 * resolv/res_libc.c: Likewise.
15992 * sysdeps/i386/dl-machine.h: Likewise.
15993 * sysdeps/ia64/dl-machine.h: Likewise.
15994 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15995 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15996 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15997 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15998 * sysdeps/sh/dl-machine.h: Likewise.
15999 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16000 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16001 * sysdeps/unix/i386/sysdep.S: Likewise.
16002 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16003 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16004 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16005 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16006 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16007 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16008 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16009 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16010 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16011 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16012 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16013 * sysdeps/x86_64/dl-machine.h: Likewise.
16014 * tls.make.c: Likewise.
16015
16016 * configure.in: Remove --with-__thread option. Make tests for
16017 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16018 tls_model attribute fail if no support is available. Remove
16019 USE_IN_LIBIO.
16020 * Makeconfig: Adjust for dropped configure option. All features are
16021 now mandatory.
16022 * Makerules: Likewise.
16023 * Versions.def: Likewise.
16024 * argp/argp-fmtstream.c: Likewise.
16025 * argp/argp-fmtstream.h: Likewise.
16026 * argp/argp-help.c: Likewise.
16027 * assert/assert.c: Likewise.
16028 * config.h.in: Likewise.
16029 * config.make.in: Likewise.
16030 * configure: Likewise.
16031 * configure.in: Likewise.
16032 * csu/Versions: Likewise.
16033 * csu/init.c: Likewise.
16034 * elf/tst-audit2.c: Likewise.
16035 * elf/tst-tls10.c: Likewise.
16036 * elf/tst-tls10.h: Likewise.
16037 * elf/tst-tls11.c: Likewise.
16038 * elf/tst-tls12.c: Likewise.
16039 * elf/tst-tls14.c: Likewise.
16040 * elf/tst-tlsmod11.c: Likewise.
16041 * elf/tst-tlsmod12.c: Likewise.
16042 * elf/tst-tlsmod13.c: Likewise.
16043 * elf/tst-tlsmod13a.c: Likewise.
16044 * elf/tst-tlsmod14a.c: Likewise.
16045 * elf/tst-tlsmod15b.c: Likewise.
16046 * elf/tst-tlsmod16a.c: Likewise.
16047 * elf/tst-tlsmod16b.c: Likewise.
16048 * elf/tst-tlsmod7.c: Likewise.
16049 * elf/tst-tlsmod8.c: Likewise.
16050 * elf/tst-tlsmod9.c: Likewise.
16051 * gmon/gmon.c: Likewise.
16052 * grp/fgetgrent_r.c: Likewise.
16053 * grp/putgrent.c: Likewise.
16054 * hurd/fopenport.c: Likewise.
16055 * include/libc-symbols.h: Likewise.
16056 * include/tls.h: Likewise.
16057 * intl/gettextP.h: Likewise.
16058 * intl/loadinfo.h: Likewise.
16059 * locale/global-locale.c: Likewise.
16060 * locale/localeinfo.h: Likewise.
16061 * mach/devstream.c: Likewise.
16062 * malloc/arena.c: Likewise.
16063 * malloc/set-freeres.c: Likewise.
16064 * misc/err.c: Likewise.
16065 * misc/getttyent.c: Likewise.
16066 * misc/mntent_r.c: Likewise.
16067 * posix/getopt.c: Likewise.
16068 * posix/wordexp.c: Likewise.
16069 * pwd/fgetpwent_r.c: Likewise.
16070 * resolv/Versions: Likewise.
16071 * resolv/res_hconf.c: Likewise.
16072 * shadow/fgetspent_r.c: Likewise.
16073 * shadow/putspent.c: Likewise.
16074 * stdio-common/printf_fphex.c: Likewise.
16075 * stdio-common/tmpfile.c: Likewise.
16076 * stdlib/abort.c: Likewise.
16077 * stdlib/fmtmsg.c: Likewise.
16078 * sunrpc/auth_unix.c: Likewise.
16079 * sunrpc/clnt_perr.c: Likewise.
16080 * sunrpc/clnt_tcp.c: Likewise.
16081 * sunrpc/clnt_udp.c: Likewise.
16082 * sunrpc/clnt_unix.c: Likewise.
16083 * sunrpc/openchild.c: Likewise.
16084 * sunrpc/svc_simple.c: Likewise.
16085 * sunrpc/svc_tcp.c: Likewise.
16086 * sunrpc/svc_udp.c: Likewise.
16087 * sunrpc/svc_unix.c: Likewise.
16088 * sunrpc/xdr.c: Likewise.
16089 * sunrpc/xdr_array.c: Likewise.
16090 * sunrpc/xdr_rec.c: Likewise.
16091 * sunrpc/xdr_ref.c: Likewise.
16092 * sunrpc/xdr_stdio.c: Likewise.
16093
16094 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16095
16096 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16097
16098 2011-07-03 Andreas Jaeger <aj@suse.de>
16099
16100 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16101 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16102 regenerate with gen-libm-tests.pl.
16103
16104 2010-05-12 Petr Baudis <pasky@suse.cz>
16105
16106 [BZ #11589]
16107 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16108 around j0() zero points by switching to j1().
16109 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16110 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16111 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16112 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16113
16114 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16115
16116 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16117 instead of 0.
16118 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16119 instead of 0. .
16120 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16121 Patch in part by Pavel Roskin <proski@gnu.org>.
16122
16123 [BZ #13138]
16124 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16125 realloc.
16126 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16127 Free memory block if necessary.
16128
16129 [BZ #12847]
16130 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16131 be NULL. Don't lock in this case.
16132
16133 2011-09-09 Roland McGrath <roland@hack.frob.com>
16134
16135 * elf/elf.h (ELFOSABI_GNU): New macro.
16136 (ELFOSABI_LINUX): Define to that.
16137
16138 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16139
16140 * string/strncat.c (strncat): Undef the symbol in case it has been
16141 defined in bits/string.h.
16142
16143 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16144
16145 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16146
16147 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16148 link map.
16149
16150 2011-08-17 Andreas Jaeger <aj@suse.de>
16151
16152 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16153
16154 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16155 Ian Lance Taylor <iant@google.com>
16156
16157 * math/libm-test.inc (lround_test): New testcase.
16158 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16159
16160 2011-09-08 Ulrich Drepper <drepper@gmail.com>
16161
16162 * Makefile: Remove support for automatic cvs check-ins.
16163 * Makerules: Likewise.
16164 * config.make.in: Likewise.
16165 * configure.in: Likewise.
16166 * intl/Makefile: Likewise.
16167 * locale/Makefile: Likewise.
16168 * po/Makefile: Likewise.
16169 * posix/Makefile: Likewise.
16170 * sysdeps/gnu/Makefile: Likewise.
16171 * sysdeps/mach/hurd/Makefile: Likewise.
16172 * sysdeps/sparc/sparc32/Makefile: Likewise.
16173
16174 [BZ #13118]
16175 * posix/Makefile (bug-regex32-ENV): Define.
16176 Patch by John Stanley <jpsinthemix@verizon.net>.
16177
16178 * misc/Makefile (headers): Add bits/select2.h.
16179 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16180 * misc/bits/select2.h: New file.
16181 * include/bits/select2.h: New file.
16182 * debug/Makefile (routines): Add fdelt_chk.
16183 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16184 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16185 FD_ISSET.
16186 * debug/fdelt_chk.c: New file.
16187
16188 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16189 * wcsmbs/test-wmemcmp.c: Likewise.
16190 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16191 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16192
16193 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16194
16195 * string/Makefile (strop-tests): Add memcmp.
16196 * string/test-wmemcmp.c: New file.
16197 * string/test-memcmp.c: Add wmemcmp support.
16198
16199 2011-09-08 Roland McGrath <roland@hack.frob.com>
16200
16201 [BZ #13153]
16202 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16203 2011-07-19 change.
16204
16205 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16206 garbage value in a __mach_port_mod_refs call in the cases of the
16207 task-self and thread-self ports.
16208
16209 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16210
16211 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16212
16213 2011-09-08 Andreas Schwab <schwab@redhat.com>
16214
16215 * elf/dl-load.c (lose): Check for non-null L.
16216
16217 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16218
16219 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16220
16221 * elf/dl-libc.c (dlerror_run): Pass back error code from
16222 dl_catch_error.
16223
16224 [BZ #13123]
16225 * elf/dl-load.c (lose): Free l_origin if it is valid.
16226
16227 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16228 names.
16229 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16230 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16231 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16232 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16233 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16234 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16235
16236 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16237
16238 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16239 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16240 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16241 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16242 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16243 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16244 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16245 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16246 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16247 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16248
16249 2011-08-15 Alan Modra <amodra@gmail.com>
16250
16251 [BZ #13092]
16252 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16253 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16254 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16255 ppc_mcount to static-only-routines.
16256 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16257 __mcount_internal.
16258 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16259 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16260
16261 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16262
16263 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16264 for finite and infinity parameters.
16265
16266 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16267
16268 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16269 and add nop instructions for throughput optimization.
16270 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16271
16272 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16273
16274 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16275 aligned copy for power7 with vector-scalar instructions.
16276 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16277
16278 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16279
16280 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16281 AVX check.
16282
16283 2011-09-07 Andreas Schwab <schwab@redhat.com>
16284
16285 [BZ #13144]
16286 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16287 last change.
16288
16289 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16290
16291 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16292 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16293 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16294 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16295 clock_gettime.
16296
16297 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16298
16299 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16300 Forgot to demangle the pointer.
16301
16302 * sysdeps/i386/sysdep.h: Define atom_text_section.
16303 * sysdeps/x86_64/sysdep.h: Likewise.
16304 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16305 section with atom_text_section.
16306 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16307 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16308 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16309 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16310 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16311
16312 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16313 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16314 already be defined. Change to take two parameters and don't assign
16315 result to variable. Adjust all users.
16316 Define INTERNAL_GETTIME if not already defined.
16317 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16318 call.
16319 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16320 HAVE_CLOCK_GETTIME_VSYSCALL.
16321 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16322
16323 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16324 gettimeofday vsyscall, just use time.
16325
16326 2011-09-06 Andreas Schwab <schwab@redhat.com>
16327
16328 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16329 <errno.h>.
16330
16331 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16332
16333 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16334 syscall on x86-64.
16335 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16336 syscall.
16337 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16338 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16339 syscall if possible.
16340
16341 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16342
16343 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16344 e_ident. Don't pass to find_mapsXX.
16345 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16346
16347 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16348
16349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16350 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16351 * sysdeps/x86_64/multiarch/strchr.S: Update.
16352 Check bit_slow_BSF bit.
16353 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16354 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16355 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16356
16357 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16358
16359 [BZ #13134]
16360 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16361 before glibc 2.15.
16362 (tryshell): Define.
16363 (__spawni): Change last parameter to be flag. Test
16364 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16365 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16366 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16367 * posix/spawni.c: Likewise.
16368 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16369 * posix/spawnp.c: Likewise. Change normal version to use
16370 SPAWN_XFLAGS_USE_PATH.
16371 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16372 SPAWN_XFLAGS_TRY_SHELL.
16373
16374 [BZ #13150]
16375 * posix/glob.h: Remove gcc 1.x support.
16376
16377 [BZ #13068]
16378 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16379
16380 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16381
16382 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16383 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16384 strrchr-sse2-bsf
16385 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16386 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16387 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16388 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16389 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16390 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16391
16392 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16393
16394 * sysdeps/x86_64/wcscmp.S: New file.
16395
16396 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16397 wcscmp-c wcscmp-sse2
16398 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16399 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16400 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16401 * wcsmbs/wcscmp.c: Allow renaming.
16402
16403 2011-09-05 David S. Miller <davem@davemloft.net>
16404
16405 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16406 stack slot, rather than the struct return pointer slot.
16407 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16408 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16410 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16411
16412 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16413
16414 * po/ja.po: Update from translation team.
16415
16416 [BZ #13144]
16417 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16418 kernel in 64-bit binaries.
16419
16420 2011-09-01 David S. Miller <davem@davemloft.net>
16421
16422 * elf/elf.h (HWCAP_SPARC_*): Move to..
16423 * sysdeps/sparc/sysdep.h: this new file and add new values.
16424 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16425 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16426 _DL_HWCAP_COUNT to 24.
16427 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16428 entries.
16429 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16430 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16431 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16432 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16433 instead of magic constants.
16434 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16435
16436 2011-08-31 David S. Miller <davem@davemloft.net>
16437
16438 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16440 Reimplement to do errno handling inline.
16441 (SYSCALL_ERROR_HANDLER): New macro.
16442 (__SYSCALL_STRING): Do not do errno handling in asm.
16443 (__CLONE_SYSCALL_STRING): Delete.
16444 (__INTERNAL_SYSCALL_STRING): Delete.
16445 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16446 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16447 (PSEUDO): Reimplement to do errno handling inline.
16448 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16449 (SYSCALL_ERROR_HANDLER): New macro.
16450 (__SYSCALL_STRING): Do not do errno handling in asm.
16451 (__CLONE_SYSCALL_STRING): Delete.
16452 (__INTERNAL_SYSCALL_STRING): Delete.
16453 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16454 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16455 i386.
16456 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16457 (inline_syscall*): Add 'err' argument.
16458 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16459 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16460 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16461 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16462
16463 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16464 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16465
16466 2011-08-30 Andreas Schwab <schwab@redhat.com>
16467
16468 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16469
16470 2011-08-29 Jiri Olsa <jolsa@redhat.com>
16471
16472 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16473 directive.
16474
16475 2011-08-24 David S. Miller <davem@davemloft.net>
16476
16477 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16478
16479 2011-08-24 Andreas Schwab <schwab@redhat.com>
16480
16481 * elf/Makefile: Add rules to build and run unload8 test.
16482 * elf/unload8.c: New file.
16483 * elf/unload8mod1.c: New file.
16484 * elf/unload8mod1x.c: New file.
16485 * elf/unload8mod2.c: New file.
16486 * elf/unload8mod3.c: New file.
16487
16488 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16489 it wasn't used.
16490
16491 2011-08-23 David S. Miller <davem@davemloft.net>
16492
16493 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16494 subtract stack bias.
16495 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16496 %sp not %fp in calculations.
16497 (_JMPBUF_UNWINDS_ADJ): Likewise.
16498
16499 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16500 (aio_suspend): Call it to force an exception region around the
16501 AIO_MISC_WAIT() invocation.
16502
16503 2011-08-23 Andreas Schwab <schwab@redhat.com>
16504
16505 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16506 backslash.
16507
16508 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16509
16510 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16511 protection macro.
16512 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16513 and <dl-machine.h>.
16514 (Elf64_FuncDesc): Remove.
16515
16516 2011-08-22 David S. Miller <davem@davemloft.net>
16517
16518 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16519 sigaltstack check, add missing cfi directives.
16520 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16521 missing cfi directives, and sigaltstack handling.
16522
16523 2011-08-16 Andreas Schwab <schwab@redhat.com>
16524
16525 [BZ #11724]
16526 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16527 object is seen twice.
16528 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16529
16530 * elf/Makefile (distribute): Add tst-initorder2.c.
16531 (tests): Add tst-initorder2.
16532 (modules-names): Add tst-initorder2a tst-initorder2b
16533 tst-initorder2c tst-initorder2d. Add rules to build them.
16534 ($(objpfx)tst-initorder2.out): New rule.
16535 * elf/tst-initorder2.c: New file.
16536 * elf/tst-initorder2.exp: New file.
16537
16538 2011-08-22 Andreas Schwab <schwab@redhat.com>
16539
16540 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16541
16542 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16543 dependencies back to end of function.
16544
16545 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16546 $(elfobjdir)/ld.so.
16547
16548 2011-08-21 Ulrich Drepper <drepper@gmail.com>
16549
16550 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16551 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16552 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16553 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16554 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16555 of __vdso_gettimeofday.
16556 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16557 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16558 attribute_hidden.
16559 (_libc_vdso_platform_setup): Remove initialization of
16560 __vdso_gettimeofday and __vdso_time.
16561
16562 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16563
16564 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16565 and fgetc_unlocked.
16566 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16567 getc_unlocked.
16568
16569 * elf/dl-open.c (add_to_global): Report additions to the global scope
16570 for LD_DEBUG=scopes.
16571 (dl_open_worker): Also print scope of newly loaded dependencies.
16572 (_dl_show_scope): Indicate if there is no scope.
16573
16574 [BZ #13114]
16575 * stdio-common/Makefile (tests): Add bug24.
16576 * stdio-common/bug24.c: New file.
16577
16578 2011-08-19 Andreas Jaeger <aj@suse.de>
16579
16580 [BZ #13114]
16581 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16582 non-existant file when using close-on-exec mode.
16583
16584 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16585
16586 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16587 the very first instruction.
16588
16589 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16590 the CFI state in the end.
16591 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16592 inclusion of dl-trampoline.h.
16593 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16594
16595 2011-08-19 Andreas Schwab <schwab@redhat.com>
16596
16597 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16598 expectations for long double.
16599
16600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16601 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16602
16603 2011-08-14 David S. Miller <davem@davemloft.net>
16604
16605 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16606 artificual limit depends upon the system page size.
16607
16608 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16609
16610 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16611 * resolv/Makefile: Define CFLAGS-libresolv.
16612
16613 2011-08-17 Andreas Schwab <schwab@redhat.com>
16614
16615 * nss/makedb.c (compute_tables): Make variables used in nested
16616 function static.
16617
16618 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16619
16620 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16621 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16622 if buffer was too small.
16623
16624 * elf/pldd.c (main): Attach to all threads in the process.
16625 Rewrite /proc handling to use *at functions.
16626
16627 2011-08-16 Ulrich Drepper <drepper@gmail.com>
16628
16629 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16630 specifies first scope to show.
16631 (dl_open_worker): Update callers. Move printing scope of new
16632 object to before the relocation.
16633 * elf/rtld.c (dl_main): Update _dl_show_scope call.
16634 * sysdeps/generic/ldsodefs.h: Update declaration.
16635
16636 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16637 string for the scope number.
16638
16639 2011-08-14 Ulrich Drepper <drepper@gmail.com>
16640
16641 * nscd/servicescache.c (cache_addserv): Make sure written is always
16642 initialized.
16643
16644 2011-08-14 Roland McGrath <roland@hack.frob.com>
16645
16646 * sysdeps/i386/i486/bits/atomic.h
16647 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16648 statement expression, so as to suppress "set but not used" warning.
16649 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16650
16651 * string/strncat.c (STRNCAT): Use prototype definition.
16652
16653 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16654 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16655 -Iprograms here.
16656 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16657 (localedef-modules): Add localedef.
16658 (locale-modules): Add locale.
16659
16660 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16661 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16662 to avoid a warning.
16663
16664 2011-08-14 David S. Miller <davem@davemloft.net>
16665
16666 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16667 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16668
16669 2011-08-13 Ulrich Drepper <drepper@gmail.com>
16670
16671 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
16672 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16673 * elf/rtld.c (dl_main): Set l_name of vDSO.
16674 Call _dl_show_scope when DL_DEBUG_SCOPES.
16675 (process_dl_debug): Recognize scopes flag and also set it for all.
16676 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16677 Declare _dl_show_scope.
16678
16679 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16680 (do_dlopen): Pass caller_dlopen to dl_open.
16681 (__libc_dlopen_mode): Initialize caller_dlopen.
16682
16683 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16684 of libc. Make tolower call locale-independent. Optimize a bit by
16685 using isdigit instead of isalnum.
16686 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16687
16688 2011-08-12 Ulrich Drepper <drepper@gmail.com>
16689
16690 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16691 was a dependency or dynamically loaded.
16692
16693 2011-08-11 Ulrich Drepper <drepper@gmail.com>
16694
16695 * intl/l10nflist.c: Allow architecture-specific pop function.
16696 * sysdeps/x86_64/l10nflist.c: New file.
16697
16698 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16699 classification.
16700
16701 2011-08-10 Andreas Schwab <schwab@redhat.com>
16702
16703 * include/dirent.h: Add libc_hidden_proto for scandirat and
16704 scandirat64. Don't declare __scandirat64.
16705 * dirent/scandirat.c: Add libc_hidden_def.
16706 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16707 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16708
16709 2011-08-10 David S. Miller <davem@davemloft.net>
16710
16711 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16712 enum.
16713 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16714 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16715 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16716
16717 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16718
16719 * Versions.def [libc]: Add GLIBC_2.15.
16720 * dirent/Makefile (routines): Add scandirat and scandirat64.
16721 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16722 GLIBC_2.15.
16723 * dirent/dirent.h: Declare scandirat and scandirat64.
16724 * dirent/scandirat.c: New file.
16725 * dirent/scandirat64.c: New file.
16726 * sysdeps/wordsize-64/scandirat.c: New file.
16727 * sysdeps/wordsize-64/scandirat64.c: New file.
16728 * dirent/opendir.c: Define opendirat.
16729 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16730 using scandirat.
16731 * dirent/scandir64.c: Adjust for scandir.c change.
16732 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16733 __scandirat64, and __scandir_cancel_handler.
16734 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16735 additional parameter and use openat instead of open (outside of ld.so).
16736 Add new __opendir as wrapper around __opendirat.
16737 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16738 here without requiring old scandirat implementation.
16739
16740 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16741
16742 * dirent/scandir.c (cancel_handler): Renamed to
16743 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16744 defined. Adjust users.
16745 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16746 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16747
16748 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16749
16750 * string/test-string.h (IMPL): Use __STRING to expand name and then
16751 stringify it.
16752
16753 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16754 of cleanups.
16755
16756 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16757
16758 * string/Makefile: Update.
16759 (strop-tests): Append strncat.
16760 * string/test-wcscmp.c: New file.
16761 New comprehensive test for wcscmp.
16762 * string/test-strcmp.c: Update.
16763 (WIDE): New define.
16764
16765 2011-07-22 Andreas Schwab <schwab@redhat.com>
16766
16767 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16768 line.
16769
16770 2011-07-26 Andreas Schwab <schwab@redhat.com>
16771
16772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16773 encoding to ACE if AI_IDN.
16774
16775 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16776
16777 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16778 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16779
16780 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16781
16782 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16783 Fix overflow bug in strncat.
16784 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16785
16786 * string/test-strncat.c: Update.
16787 Add new tests for checking overflow bugs.
16788
16789 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16790
16791 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16792 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16793 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16794 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16795 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16796 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16797 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16798 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16799 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16800
16801 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16802 (USE_AS_STRCAT): Define.
16803 Add strcat and strncat support.
16804 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16805
16806 2011-07-25 Andreas Schwab <schwab@redhat.com>
16807
16808 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16809 __n bigger than INT_MAX+1.
16810 (__strncmp_g): Likewise.
16811
16812 2011-07-23 Ulrich Drepper <drepper@gmail.com>
16813
16814 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16815 * libio/stido.h: Likewise.
16816
16817 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16818 (AF_NFC): Define.
16819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16820 (AF_NFC): Define.
16821
16822 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16823 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16824 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16825 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16826 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16827
16828 [BZ #13021]
16829 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16830 installed.
16831
16832 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16833 typo.
16834 (_dl_x86_64_save_sse): Likewise.
16835
16836 2011-07-22 Ulrich Drepper <drepper@gmail.com>
16837
16838 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16839 OSXSAVE.
16840 (_dl_x86_64_save_sse): Likewise.
16841
16842 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16843
16844 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16845
16846 2011-07-21 Andreas Schwab <schwab@redhat.com>
16847
16848 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16849 change.
16850 (_dl_x86_64_save_sse): Use correct AVX check.
16851
16852 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16853
16854 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16855 bug in strncpy/strncat.
16856 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16857
16858 2011-07-21 Ulrich Drepper <drepper@gmail.com>
16859
16860 * string/tester.c (test_strcat): Add tests for different alignments
16861 of source and destination.
16862 (test_strncat): Likewise.
16863
16864 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16865
16866 [BZ #12852]
16867 * posix/glob.c (glob): Check passed in values before using them in
16868 expressions to avoid some overflows.
16869 (glob_in_dir): Likewise.
16870
16871 [BZ #13007]
16872 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16873 check for AVX enablement so that we don't crash with old kernels and
16874 new hardware.
16875 * elf/tst-audit4.c: Add same checks here.
16876 * elf/tst-audit6.c: Likewise.
16877
16878 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16879
16880 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16881
16882 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16883
16884 2011-07-20 Ulrich Drepper <drepper@gmail.com>
16885
16886 * po/cs.po: Update from translation team.
16887 * po/bg.po: Likewise.
16888
16889 2011-07-12 Marek Polacek <mpolacek@redhat.com>
16890
16891 * misc/sys/cdefs.h: Add support for const attribute.
16892 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16893 to gnu_dev_{major,minor,makedev} functions.
16894
16895 2011-07-20 Marek Polacek <mpolacek@redhat.com>
16896
16897 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16898
16899 2011-07-20 Andreas Schwab <schwab@redhat.com>
16900
16901 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16902 strlen results.
16903
16904 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16905
16906 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16907 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16908 register in order to avoid conflicts with the soft frame pointer
16909 being held in r11 when necessary.
16910 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16911 (INTERNAL_VSYSCALL_NCS): Likewise.
16912
16913 2011-07-14 Marek Polacek <mpolacek@redhat.com>
16914
16915 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16916 * elf/dl-fini.c (_dl_fini): Adjust caller.
16917 * elf/dl-close.c (_dl_close_worker): Likewise.
16918 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16919
16920 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16921
16922 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16923 "aux_cache->nlibs < 0".
16924
16925 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16926 in the reload-count case.
16927
16928 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16929
16930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16931 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16932 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16933 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16934 * sysdeps/x86_64/multiarch/strcat.S: New file.
16935 * sysdeps/x86_64/multiarch/strncat.S: New file.
16936 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16937 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16938 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16939 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16940 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16941 (USE_AS_STRCAT): Define.
16942 Add strcat and strncat support.
16943 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16944 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16945 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16946 * string/strncat.c: Update.
16947 (USE_AS_STRNCAT): Define.
16948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16949 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16950 and i7.
16951 * sysdeps/x86_64/multiarch/init-arch.h
16952 (bit_Prefer_PMINUB_for_stringop): New.
16953 (index_Prefer_PMINUB_for_stringop): Likewise.
16954 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16955 bit_Prefer_PMINUB_for_stringop.
16956
16957 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16958
16959 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16960 buffer64.
16961 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16962 of casting of buffer.
16963 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16964 buffer32 and buffer64.
16965 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16966 writes instead of casting of buffer.
16967 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16968 buffer32.
16969 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16970 casting of buffer.
16971
16972 2011-07-19 Andreas Schwab <schwab@redhat.com>
16973
16974 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16975
16976 2011-07-19 Ulrich Drepper <drepper@gmail.com>
16977
16978 * nscd/nscd.c (termination_handler): Don't do anything for a database
16979 if it has not yet been initialized.
16980
16981 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16982
16983 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16984
16985 2011-07-15 Marek Polacek <mpolacek@redhat.com>
16986
16987 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16988
16989 2011-07-18 Ulrich Drepper <drepper@gmail.com>
16990
16991 * po/nl.po: Update from translation team.
16992 * po/sv.po: Likewise.
16993
16994 2011-07-16 Roland McGrath <roland@hack.frob.com>
16995
16996 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16997 now disallowed by GCC.
16998
16999 * configure.in (use-default-link): Default to yes if a test -shared
17000 link meets our qualifications.
17001 * configure: Regenerated.
17002
17003 * config.make.in (output-format): New variable.
17004 * configure.in: Check for ld --print-output-format support.
17005 * configure: Regenerated.
17006 * Makerules ($(common-objpfx)format.lds)
17007 [$(output-format) != unknown]: Just use $(output-format),
17008 instead of the linker-script munging.
17009
17010 2011-07-14 Roland McGrath <roland@hack.frob.com>
17011
17012 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17013 of $(common-objpfx)shlib.lds.
17014 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17015
17016 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17017 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17018
17019 * configure.in (-z relro check): Adjust test code to add a large
17020 writable data section after it.
17021 * configure: Regenerated.
17022
17023 2011-07-11 Roland McGrath <roland@hack.frob.com>
17024
17025 * configure.in (-z relro check): Fix test code to make the variable
17026 truly const.
17027 * configure: Regenerated.
17028
17029 2011-07-11 Ulrich Drepper <drepper@gmail.com>
17030
17031 * nscd/nscd.h (struct traced_file): Define.
17032 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17033 elements. Add traced_files.
17034 (inotify_fd): Declare.
17035 (register_traced_file): Declare.
17036 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17037 (inotify_fd): Export.
17038 (resolv_conf_descr): Remove.
17039 (nscd_init): Move inotify descriptor creation to main.
17040 Don't register files for notification here.
17041 (register_traced_file): New function.
17042 (invalidate_cache): Don't use reset_res to determine whether to call
17043 res_init, go through the list of registered files.
17044 (main_loop_poll): The inotify descriptors are now stored in the
17045 structures for the traced files.
17046 (main_loop_epoll): Likewise
17047 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17048 to __nss_disable_nscd.
17049 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17050 for a database anymore. Check the records for all the registered
17051 files instead.
17052 * nss/Makefile (libnss_files-routines): Add files-init.
17053 (libnss_db-routines): Add db-init.
17054 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17055 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17056 * nss/nss_db/db-init.c: New file.
17057 * nss/nss_files/files-init.c: New file.
17058 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17059 __nss_lookup_function.
17060 (__nss_lookup_function): Call nss_load_library.
17061 (nss_load_all_libraries): New function.
17062 (__nss_disable_nscd): Take parameter with callback function for files
17063 to register. Set is_nscd. Load all the DSOs for the NSS modules
17064 used for the cached services.
17065 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17066 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17067 options for features to all the files in nscd.
17068
17069 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17070
17071 2011-07-10 Roland McGrath <roland@hack.frob.com>
17072
17073 * csu/elf-init.c (__libc_csu_init): Comment typo.
17074
17075 2011-07-09 Ulrich Drepper <drepper@gmail.com>
17076
17077 * po/pl.po: Update from translation team.
17078 * po/ja.po: Likewise.
17079 * po/ru.po: Likewise.
17080 * po/ko.po: Likewise.
17081 * po/fr.po: Likewise.
17082
17083 2011-07-09 Roland McGrath <roland@hack.frob.com>
17084
17085 * configure.in (.ctors/.dtors header and trailer check):
17086 Use an empirical test on a built program.
17087 * configure: Regenerated.
17088
17089 * configure.in (-z relro check): Use an empirical test on a built DSO.
17090 Detect, but do not require, on ia64.
17091 * configure: Regenerated.
17092
17093 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17094 Update tests that use readelf to use $READELF instead.
17095 * configure: Regenerated.
17096
17097 2011-07-08 Ulrich Drepper <drepper@gmail.com>
17098
17099 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17100 if the result is not used.
17101
17102 2011-07-05 Andreas Jaeger <aj@suse.de>
17103
17104 [BZ#9696]
17105 * stdlib/tst-strtod.c: Add testcase.
17106
17107 2011-07-07 Ulrich Drepper <drepper@gmail.com>
17108
17109 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17110 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17111 The latter has a higher limit. Take additional parameter to pass to
17112 the new function.
17113 (__pathconf): Pass file to __statfs_link_max.
17114 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17115 __statfs_link_max.
17116 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17117 __statfs_link_max.
17118
17119 [BZ #12868]
17120 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17121 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17122 Handle Lustre.
17123 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17124 (__statfs_filesize_max): Likewise.
17125 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17126
17127 2011-07-05 Andreas Jaeger <aj@suse.de>
17128
17129 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17130
17131 2011-07-06 Marek Polacek <mpolacek@redhat.com>
17132
17133 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17134 `status' variable.
17135 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17136 Likewise.
17137
17138 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17139
17140 * Makefile (strop-tests): Add strncat.
17141 * string/test-strncat.c: New file.
17142
17143 2011-06-30 Marek Polacek <mpolacek@redhat.com>
17144
17145 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17146
17147 2011-06-21 Andreas Jaeger <aj@suse.de>
17148
17149 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17150 Copy rule from iconvdata/Makefile.
17151
17152 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17153
17154 [BZ #12922]
17155 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17156 but no long options are defined, just return 'W'.
17157
17158 2011-06-22 Marek Polacek <mpolacek@redhat.com>
17159
17160 [BZ #9696]
17161 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17162
17163 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17164
17165 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17166 netgroups to read.
17167 (innetgr): Likewise.
17168
17169 2011-07-05 Roland McGrath <roland@hack.frob.com>
17170
17171 * config.make.in (install_root): Default to $(DESTDIR).
17172
17173 2011-07-05 Ulrich Drepper <drepper@gmail.com>
17174
17175 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17176
17177 2011-07-02 Roland McGrath <roland@hack.frob.com>
17178
17179 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17180
17181 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17182 containing directory rather than embedding absolute directory names.
17183
17184 * scripts/check-local-headers.sh: Rewritten using awk.
17185 Match by word, not by line. Print error messages for matches.
17186 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17187
17188 * Makerules [shlib-lds-flags empty]:
17189 ($(common-objpfx)libc_pic.opts): New target.
17190 ($(common-objpfx)libc_pic.os.clean): New target.
17191 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17192
17193 * config.make.in (OBJCOPY): New variable.
17194 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17195 * configure: Regenerated.
17196
17197 * config.make.in (use-default-link): New variable.
17198 * configure.in (use_default_link): Grok --with-default-link to set it.
17199 * configure: Regenerated.
17200 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17201 (shlib-lds, shlib-lds-flags): Define to empty.
17202
17203 * Makerules (shlib-lds): New variable.
17204 (shlib-lds-flags): New variable.
17205 (build-shlib, build-moduile, build-module-asneeded): Use it.
17206 ($(common-objpfx)libc.so): Use $(shlib-lds).
17207 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17208 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17209
17210 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17211 DT_FLAGS/DT_FLAGS_1 with zero flags.
17212
17213 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17214 linker script munging.
17215
17216 2011-07-02 Ulrich Drepper <drepper@gmail.com>
17217
17218 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17219 as 128-bit value.
17220 * crypt/sha512.c (sha512_process_block): Perform total addition using
17221 128-bit if possible.
17222 (__sha512_finish_ctx): Likewise.
17223 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17224 as 64-bit value.
17225 * crypt/sha256.c (SWAP64): Define.
17226 (sha256_process_block): Perform total addition using 64-bit if
17227 possible.
17228 (__sha256_finish_ctx): Likewise.
17229
17230 2011-07-01 Ulrich Drepper <drepper@gmail.com>
17231
17232 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17233 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17234 * nscd/hstcache.c (cache_addhst): Likewise.
17235 * nscd/grpcache.c (cache_addgr): Likewise.
17236 * nscd/aicache.c (addhstaiX): Likewise
17237 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17238
17239 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
17240
17241 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17242 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17243 * nscd/hstcache.c (cache_addhst): Likewise.
17244 * nscd/grpcache.c (cache_addgr): Likewise.
17245 * nscd/aicache.c (addhstaiX): Likewise
17246
17247 2011-07-01 Andreas Schwab <schwab@redhat.com>
17248
17249 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17250 domain only when needed.
17251
17252 2011-06-30 Andreas Schwab <schwab@redhat.com>
17253
17254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17255 is always restored.
17256
17257 2011-06-29 Ulrich Drepper <drepper@gmail.com>
17258
17259 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17260 are re-adding the entry.
17261 * nscd/servicescache.c (cache_addserv): Likewise.
17262
17263 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17264
17265 * sysdeps/generic/dl-irel.h: fix protection against multiple
17266 inclusions.
17267 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17268
17269 2011-06-28 Ulrich Drepper <drepper@gmail.com>
17270
17271 [BZ #12935]
17272 * malloc/memusage.sh: Fix quoting in message.
17273 * debug/xtrace.sh: Likewise.
17274
17275 * configure.in: Remove support for --experimental-malloc option, make
17276 it the default.
17277 * config.make.in: Likewise.
17278 * malloc/Makefile: Likewise.
17279
17280 2011-06-27 Andreas Schwab <schwab@redhat.com>
17281
17282 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17283 two-byte characters.
17284
17285 2011-06-27 Roland McGrath <roland@hack.frob.com>
17286
17287 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17288 AC_CACHE_CHECK invocation.
17289 * configure: Regenerated.
17290
17291 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17292
17293 2011-06-27 Ulrich Drepper <drepper@gmail.com>
17294
17295 [BZ #12350]
17296 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17297 bit from old_res_options.
17298
17299 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17300
17301 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17302 value type for setfct.
17303
17304 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17305
17306 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17307 __gettimeofday instead of gettimeofday.
17308
17309 2011-06-26 Ulrich Drepper <drepper@gmail.com>
17310
17311 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17312
17313 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17314
17315 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17316
17317 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17318 info.
17319
17320 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17321
17322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17323 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17324 strcpy-sse2-unaligned strncpy-sse2-unaligned
17325 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17326 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17327 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17328 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17329 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17330 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17331 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17332 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17333 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17334 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17335 (STRCPY): Support SSE2 and SSSE3 versions.
17336
17337 2011-06-24 Ulrich Drepper <drepper@gmail.com>
17338
17339 [BZ #12874]
17340 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17341 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17342 kernels which artificially limit size of requests.
17343
17344 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17345
17346 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17347 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17348 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17349 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17350 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17351 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17352 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17353 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17354 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17355 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17356 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17357 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17358 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17359 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17360 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17362 Enable unaligned load optimization for Intel Core i3, i5 and i7
17363 processors.
17364 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17365 Define.
17366 (index_Fast_Unaligned_Load): Define.
17367 (HAS_FAST_UNALIGNED_LOAD): Define.
17368
17369 2011-06-23 Marek Polacek <mpolacek@redhat.com>
17370
17371 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17372
17373 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17374
17375 [BZ #12907]
17376 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17377 until it is clear that the information is realy needed.
17378 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17379
17380 2011-06-22 Andreas Schwab <schwab@redhat.com>
17381
17382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17383
17384 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17385
17386 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17387 /sys/devices/system/cpu/online if it is usable.
17388
17389 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17390 reading the information from the /proc filesystem to once a second.
17391
17392 2011-06-21 Andreas Jaeger <aj@suse.de>
17393
17394 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17395 NULL after inclusion of kernel headers.
17396
17397 2011-06-21 Ulrich Drepper <drepper@gmail.com>
17398
17399 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17400 calls to internal_setent.
17401
17402 [BZ #12885]
17403 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17404 addresses using gethostbyname4_r ignore IPv4 addresses.
17405
17406 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17407 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17408
17409 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17410
17411 2011-06-20 David S. Miller <davem@davemloft.net>
17412
17413 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17414 inclusions.
17415 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17416
17417 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17418 (elf_irel): Use it.
17419 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17420 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17421 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17422 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17423 * sysdeps/x86_64/dl-irel.h: Likewise.
17424
17425 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17426 * elf/dl-sym.c: Likewise.
17427
17428 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17429
17430 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17431 need to dereference resplen2.
17432
17433 2011-06-14 Andreas Schwab <schwab@redhat.com>
17434
17435 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17436
17437 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17438
17439 * Makeconfig: Define vardbdir and inst_vardbdir.
17440 * nss/Makefile: Add rules to install db-Makefile.
17441
17442 * nss/nss_db/db-XXX.c: Cleanup.
17443
17444 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17445 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17446 GLIBC_PRIVATE.
17447 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17448 * nss/makedb.c: Implement -g option to specify that value strings
17449 are generated and should not be added to table iterated over for
17450 get*ent calls.
17451 * nss/nss_db/db-initgroups.c: New file.
17452
17453 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17454 interface.
17455
17456 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17457 (internal_getgrouplist): Adjust to name change.
17458 Update use_initgroups_entry if this is not the first call.
17459 * nss/databases.def: Add initgroups entry.
17460
17461 * nss/makedb.c (compute_tables): Check result of multiple hash table
17462 sizes to minimize maximum chain length.
17463
17464 2011-06-14 Ulrich Drepper <drepper@gmail.com>
17465
17466 * Versions.def: Add entry for libnss_db.
17467 * shlib-versions: Likewise.
17468 * nss/Makefile: Add rules to build libnss_db.
17469 * nss/Versions: Add libnss_db information. Organize libnss_files
17470 entries better.
17471 * nss/db-Makefile: Add gshadow support. Change rules for the new
17472 makedb progra. Some minor improvements to generate smaller files.
17473 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17474 here from...
17475 * nss/makedb.c: ...here.
17476 Improve database format to be smaller and require less memory at
17477 runtime.
17478 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17479 db anymore.
17480 * nss/nss_db/db-netgrp.c: Likewise.
17481 * nss/nss_db/db-open.c: Likewise.
17482 * nss/nss_files/flies-XXX.x: Adjust comments.
17483 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17484 * nss/nss_files/files-grp.c: Likewise.
17485 * nss/nss_files/files-hosts.c: Likewise.
17486 * nss/nss_files/files-network.c: Likewise.
17487 * nss/nss_files/files-proto.c: Likewise.
17488 * nss/nss_files/files-pwd.c: Likewise.
17489 * nss/nss_files/files-rpc.c: Likewise.
17490 * nss/nss_files/files-service.c: Likewise.
17491 * nss/nss_files/files-sgrp.c: Likewise.
17492 * nss/nss_files/files-spwd.c: Likewise.
17493 * nss/nss_db/db-alias.c: Removed.
17494 * nss/nss_db/dummy-db.h: Removed.
17495
17496 2011-06-02 Ulrich Drepper <drepper@gmail.com>
17497
17498 * nss/makedb.c: Rewritten to not use database library.
17499 * nss/Makefile: Update to build new makedb program.
17500
17501 2011-06-14 Andreas Jaeger <aj@suse.de>
17502
17503 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17504 memset declaration.
17505
17506 2011-06-10 Andreas Schwab <schwab@redhat.com>
17507
17508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17509 tmpbuf.
17510
17511 2011-06-10 Roland McGrath <roland@hack.frob.com>
17512
17513 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17514 * elf/Makefile ($(objpfx)ld.so): Likewise.
17515
17516 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17517 Don't list ld.so twice in dependencies.
17518
17519 * posix/bug-regex31.c: Include <stdlib.h>.
17520
17521 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17522
17523 * nis/nss_compat/compat-spwd.c
17524 (getspent_next_nss_netgr): Remove unused variable.
17525 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17526
17527 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17528 nonmembers" output to use the right array.
17529
17530 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17531
17532 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17533
17534 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17535 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17536 * catgets/gencat.c (read_input_file): Likewise.
17537 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17538
17539 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17540 variable definition inside #if's controlling its use.
17541
17542 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17543
17544 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17545
17546 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17547
17548 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17549 unreachable code.
17550
17551 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17552
17553 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17554 * configure: Regenerated.
17555
17556 * Makerules: Revert last change.
17557 * elf/Makefile: Likewise.
17558
17559 2011-06-09 Roland McGrath <roland@hack.frob.com>
17560
17561 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17562 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17563 (reloc-link): Likewise.
17564
17565 2011-06-09 Ulrich Drepper <drepper@gmail.com>
17566
17567 * elf/Makefile: Add rules to build pldd.
17568 * elf/pldd.c: New file.
17569 * elf/pldd-xx.c: New file.
17570
17571 2011-06-07 Ulrich Drepper <drepper@gmail.com>
17572
17573 * version.h: Update for 2.15 development version.
17574
17575 2011-06-07 David S. Miller <davem@davemloft.net>
17576
17577 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17578 ifuncs.
17579 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17580 elf_machine_lazy_rel): Likewise.
17581 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17582 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17583 elf_machine_lazy_rel): Likewise.
17584 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17585 dl_hwcap via passed in argument.
17586 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17587 Likewise.
17588
17589 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17590
17591 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17592
17593 2011-06-06 Roland McGrath <roland@hack.frob.com>
17594
17595 [BZ #12849]
17596 * manual/fdl-1.1.texi: New file, verbatim from:
17597 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17598 * manual/lgpl-2.1.texi: New file, verbatim from:
17599 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17600 * manual/Makefile (licenses): New variable, list those new file names.
17601 (texis): Use it.
17602 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17603
17604 * manual/fdl.texi: File removed.
17605 * manual/lesser.texi: File removed.
17606 * manual/libc.texinfo (Copying, Documentation License):
17607 Use new @include file names, put @appendix directive before @include.
17608
17609 2011-06-04 Jakub Jelinek <jakub@redhat.com>
17610
17611 [BZ #12841]
17612 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17613 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17614 (mq_open): Add __NTH.
17615
17616 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17617
17618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17619 Assume Intel Core i3/i5/i7 processor if AVX is available.
17620
17621 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17622
17623 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17624 typo.
17625
17626 2011-05-31 Andreas Schwab <schwab@redhat.com>
17627
17628 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17629 memory. Use alloca_account. Fix memory leak when retrying.
17630
17631 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17632
17633 * version.h (RELEASE): Bump for 2.14 release.
17634 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17635
17636 * config.make.in (RANLIB): Remove entry.
17637
17638 2011-05-30 Ulrich Drepper <drepper@gmail.com>
17639
17640 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17641 (libc.pot): Work around missing support for .ksh extension in xgettext.
17642
17643 [BZ #12684]
17644 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17645 if both request failed.
17646 (send_dg): In case of server errors clear resplen or *resplen2.
17647
17648 [BZ #12454]
17649 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17650 when there are multiple maps.
17651 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17652 (_dl_fini): Remove test here.
17653
17654 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17655
17656 2011-05-29 Ulrich Drepper <drepper@gmail.com>
17657
17658 [BZ #12350]
17659 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17660 bit from old_res_options.
17661 (gaih_inet): Likewise.
17662
17663 [BZ #11099]
17664 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
17665 as signed.
17666
17667 * resolv/res_init.c (res_setoptions): Make the code more compact.
17668
17669 [BZ #11558]
17670 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17671 set RES_USEVC.
17672
17673 [BZ #11634]
17674 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17675
17676 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17677
17678 [BZ #11781]
17679 * malloc/malloc.h: Declare malloc hook variables as volatile.
17680
17681 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17682 in last patch.
17683
17684 [BZ #11799]
17685 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
17686 raise in the comment.
17687 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17688 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17689 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
17690
17691 2011-05-28 Ulrich Drepper <drepper@gmail.com>
17692
17693 [BZ #12811]
17694 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17695 grow the buffers more if it already has to be sufficient.
17696 (build_wcs_upper_buffer): Likewise.
17697 * posix/regexec.c (check_matching): Likewise.
17698 (clean_state_log_if_needed): Likewise.
17699 (extend_buffers): Don't enlarge buffers beyond size of the input
17700 buffer.
17701 Patches mostly by Emil Wojak <emil@wojak.eu>.
17702 * posix/bug-regex32.c: New file.
17703 * posix/Makefile (tests): Add bug-regex32.
17704
17705 * locale/findlocale.c (_nl_find_locale): Return right away if
17706 _nl_explode_name failed.
17707 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17708
17709 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17710
17711 * debug/xtrace.sh: Unify messages.
17712 * malloc/memusage.sh: Likewise.
17713
17714 [BZ #12813]
17715 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17716 time symbol from vDSO. Substitute with vsyscall if not available.
17717 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17718 __vdso_time.
17719
17720 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17721 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17722 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17723 Add sendmmsg and internal_sendmmsg.
17724 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17725 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17726 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17727
17728 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17729 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17730 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17731
17732 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17733
17734 [BZ #12813]
17735 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17736 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17737 available.
17738 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17739 __vdso_getcpu.
17740
17741 [BZ #12814]
17742 * iconvdata/Makefile (tests): Add bug-iconv9.
17743 * iconvdata/bug-iconv9.c: New file.
17744
17745 2011-05-27 Andreas Schwab <schwab@redhat.com>
17746
17747 [BZ #12814]
17748 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17749
17750 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17751
17752 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17753 (struct user_regs_struct): Change intcs field back to cs.
17754
17755 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17756
17757 * po/ja.po: Update from translation team.
17758
17759 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17760
17761 [BZ #12795]
17762 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17763 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17764
17765 2011-05-20 Andreas Schwab <schwab@redhat.com>
17766
17767 * stdlib/longlong.h: Update from GCC.
17768
17769 2011-05-23 Andreas Schwab <schwab@redhat.com>
17770
17771 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17772 parameter name.
17773 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17774 Add parameter name.
17775 (__sysconf): Pass it down.
17776
17777 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17778
17779 [BZ #12671]
17780 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17781 some situations.
17782 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17783 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17784 add in in __libc_use_alloca calls. Adjust callers.
17785 (glob): Use malloc in some situations.
17786
17787 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17788 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17789 pltexit.
17790
17791 2011-05-21 Ulrich Drepper <drepper@gmail.com>
17792
17793 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17794 and CLOCK_BOOTTIME_ALARM.
17795
17796 [BZ #12782]
17797 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17798 is returned.
17799
17800 * string/_strerror.c (__strerror_r): Print negative errors as signed
17801 numbers.
17802
17803 [BZ #12777]
17804 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17805 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17806 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17807
17808 * configure.in: Fix typo in redirection and correct removal of test
17809 files in two cases.
17810
17811 [BZ #12788]
17812 * locale/setlocale.c (new_composite_name): Fix test to check for
17813 identical name of all categories.
17814
17815 [BZ #12792]
17816 * libio/filedoalloc.c (local_isatty): New function.
17817 (_IO_file_doallocate): Use local_isatty.
17818 * stdio-common/perror.c (perror): In case a new stream is used
17819 forward the stream error.
17820 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17821 error flag.
17822
17823 2011-05-20 Ulrich Drepper <drepper@gmail.com>
17824
17825 [BZ #11869]
17826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17827 alloca.
17828 * include/alloca.h (extend_alloca_account): Define.
17829
17830 [BZ #11857]
17831 * posix/regex.h: Fix comments with documentation of user-accessible
17832 fields after compilation and describe correct free'ing of pattern
17833 after re_compile_pattern.
17834 Patch by Reuben Thomas <rrt@sc3d.org>.
17835
17836 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17837
17838 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17839 and -mno-altivec to prevent the compiler from using Altivec and/or
17840 VSX instructions when the corresponding registers are not available.
17841
17842 2011-05-19 Andreas Schwab <schwab@redhat.com>
17843
17844 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17845
17846 2011-05-19 Ulrich Drepper <drepper@gmail.com>
17847
17848 * libio/freopen.c (freopen): Use __dup2, not dup2.
17849 * libio/freopen64.c (freopen64): Likewise.
17850
17851 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17852
17853 [BZ #12775]
17854 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17855 * math/Makefile (tests): Add test-powl.
17856 (CFLAGS-test-powl.c): Define.
17857 * math/test-powl.c: New file.
17858
17859 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17860
17861 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17862
17863 2011-05-17 Ulrich Drepper <drepper@gmail.com>
17864
17865 [BZ #11837]
17866 * iconvdata/gb18030.c: Update to GB18020-2005.
17867
17868 2011-05-16 Ulrich Drepper <drepper@gmail.com>
17869
17870 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17871 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17872 Patch by Aharon Robbins <arnold@skeeve.com>.
17873
17874 [BZ #11892]
17875 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17876 on the stack.
17877
17878 [BZ #11895]
17879 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17880 through underflows.
17881
17882 [BZ #12766]
17883 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17884 point to strings before performing equality test for error_one_per_line
17885 mode.
17886
17887 [BZ #11697]
17888 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17889
17890 [BZ #11820]
17891 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17892 (struct user_fpregs_struct): Avoid __uint*_t types.
17893
17894 [BZ #6420]
17895 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17896 symbol info. Use it instead of calling _dl_addr locally.
17897 (lock_and_info): New function.
17898 (tr_freehook): Call lock_and_info and pass symbol info as additional
17899 parameter to tr_where.
17900 (tr_mallochook): Likewise.
17901 (tr_reallochook): Likewise.
17902 (tr_memalignhook): Likewise.
17903
17904 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17905 used and couldn't be at all thread-safe.
17906
17907 2011-05-15 Ulrich Drepper <drepper@gmail.com>
17908
17909 * libio/freopen.c (freopen): Don't close old file descriptor
17910 before the new one is opened. Instead dup the new file descriptor
17911 to the old one after the new stream is created.
17912 * libio/freopen64.c (freopen64): Likewise.
17913 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17914 * libio/fileops.c (_IO_new_file_close_it): Handle new
17915 _IO_FLAGS2_NOCLOSE flag.
17916 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17917 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17918 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17919 _IO_FLAGS2_NOCLOSE flag.
17920 * include/unistd.h: Add hidden_proto for dup3.
17921 Define __have_dup3.
17922 * io/dup3.c: Define hidden symbol.
17923 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17924
17925 [BZ #7101]
17926 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17927 when an incomplete long option is used.
17928 * posix/tst-getopt_long1.c: New file.
17929 * posix/Makefile (tests): Add tst-getopt_long1.
17930
17931 [BZ #10138]
17932 * scripts/config.guess: Update from autoconf-2.68.
17933 * scripts/config.sub: Likewise.
17934
17935 [BZ #10157]
17936 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17937 tests into ...
17938 (has_cpuclock): ...this. New function.
17939 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17940 macro here based on has_cpuclock code.
17941
17942 [BZ #10149]
17943 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17944 First byte (not low byte) is now always NUL.
17945 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17946
17947 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17948 Use non-cancelable interfaces.
17949
17950 [BZ #9809]
17951 * locale/iso-639.def: Add entry for Sorani.
17952
17953 [BZ #11901]
17954 * include/stdlib.h: Move include protection to the right place.
17955 Define abort_msg_s. Declare __abort_msg with it.
17956 * stdlib/abort.c (__abort_msg): Adjust type.
17957 * assert/assert.c (__assert_fail_base): New function. Majority
17958 of code from __assert_fail. Allocate memory for __abort_msg with
17959 mmap.
17960 (__assert_fail): Now call __assert_fail_base.
17961 * assert/assert-perr.c: Remove bulk of implementation. Use
17962 __assert_fail_base.
17963 * include/assert.hL Declare __assert_fail_base.
17964 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17965 mmap.
17966 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17967
17968 2011-05-14 Ulrich Drepper <drepper@gmail.com>
17969
17970 [BZ #11952]
17971 [BZ #12453]
17972 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17973 until all modules are registered in the DTV.
17974 * elf/Makefile: Add rules to build and run tst-tls19.
17975 * elf/tst-tls19.c: New file.
17976 * elf/tst-tls19mod1.c: New file.
17977 * elf/tst-tls19mod2.c: New file.
17978 * elf/tst-tls19mod3.c: New file.
17979 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17980
17981 [BZ #12083]
17982 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17983 correctly.
17984
17985 [BZ #12601]
17986 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17987 two-byte sequence errors.
17988 * iconvdata/Makefile (tests): Add bug-iconv8.
17989 * iconvdata/bug-iconv8.c: New file.
17990
17991 [BZ #12626]
17992 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17993 buf2 definition.
17994
17995 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17996
17997 [BZ #12432]
17998 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17999 (dummy_getcfa): New function.
18000 (init): Get _Unwind_GetCFA address, use dummy if not found.
18001 (backtrace_helper): In recursion check, also check whether CFA changes.
18002 (__backtrace): Completely initialize arg.
18003
18004 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18005 storing incomplete byte sequence in state object. Avoid testing for
18006 guaranteed too small input if we know there is enough data available.
18007
18008 2011-05-11 Andreas Schwab <schwab@redhat.com>
18009
18010 * Makeconfig (+link-pie): Indent.
18011 * Rules (binaries-pie): Define if $(have-fpie) and
18012 $(build-shared).
18013 (binaries-shared): Also filter out $(binaries-pie).
18014 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18015 * nscd/Makefile (others-pie): Add nscd.
18016 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18017 ($(objpfx)nscd): Remove command override.
18018 * login/Makefile (others-pie): Add pt_chown.
18019 ($(objpfx)pt_chown): Remove command override.
18020 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18021 remove command overrides.
18022
18023 2011-05-13 Ulrich Drepper <drepper@gmail.com>
18024
18025 * libio/tst_putwc.c: Fix error messages.
18026
18027 [BZ #12724]
18028 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18029 currently writing and seek to current position when not.
18030 * libio/Makefile (tests): Add bug-fclose1.
18031 * libio/bug-fclose1.c: New file.
18032
18033 2011-05-12 Ulrich Drepper <drepper@gmail.com>
18034
18035 [BZ #12511]
18036 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18037 don't set DF_1_NODELETE here.
18038 (do_lookup_x): When entering new entry test for copy relocation
18039 and if necessary set DF_1_NODELETE flag.
18040 * elf/tst-unique4.cc: New file.
18041 * elf/tst-unique4.h: New file.
18042 * elf/tst-unique4lib.cc: New file.
18043 * elf/Makefile: Add rules to build and run tst-unique4.
18044 Patch by Piotr Bury <pbury@goahead.com>.
18045
18046 2011-05-11 Ulrich Drepper <drepper@gmail.com>
18047
18048 [BZ #12052]
18049 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18050
18051 [BZ #12625]
18052 * misc/mntent_r.c (addmntent): Flush the stream after the output
18053
18054 [BZ #12393]
18055 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18056 (is_trusted_path_normalize): Skip initial colon. Append slash
18057 to empty buffer. Duplicate is_trusted_path code but allow
18058 constructed patch to be prefix.
18059 (is_dst): Allow $ORIGIN followed by /.
18060 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18061 Correct testing of result of is_trusted_path_normalize
18062 (decompose_rpath): Fix warning.
18063
18064 2011-05-10 Ulrich Drepper <drepper@gmail.com>
18065
18066 [BZ #11257]
18067 * grp/initgroups.c (internal_getgrouplist): When we found the service
18068 list through the initgroups entry in nsswitch.conf do not always
18069 continue on a successful lookup. Don't always use the
18070 __nss_group_database value if it is set.
18071 * nss/nsswitch.conf (initgroups): Change action for successful db
18072 lookup to continue for compatibility.
18073
18074 2011-05-09 Ulrich Drepper <drepper@gmail.com>
18075
18076 [BZ #11532]
18077 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18078 and CP774 modules.
18079 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18080 and CP774 modules.
18081 * iconvdata/tst-tables.sh: Likewise.
18082 * iconvdata/cp770.c: New file.
18083 * iconvdata/cp771.c: New file.
18084 * iconvdata/cp772.c: New file.
18085 * iconvdata/cp773.c: New file.
18086 * iconvdata/cp774.c: New file.
18087 * iconvdata/testdata/CP770: New file.
18088 * iconvdata/testdata/CP770..UTF8: New file.
18089 * iconvdata/testdata/CP771: New file.
18090 * iconvdata/testdata/CP771..UTF8: New file.
18091 * iconvdata/testdata/CP772: New file.
18092 * iconvdata/testdata/CP772..UTF8: New file.
18093 * iconvdata/testdata/CP773: New file.
18094 * iconvdata/testdata/CP773..UTF8: New file.
18095 * iconvdata/testdata/CP774: New file.
18096 * iconvdata/testdata/CP774..UTF8: New file.
18097
18098 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18099 END CHARMAP line.
18100 * iconvdata/gen-8bit-gap.sh: Likewise.
18101 * iconvdata/gen-8bit.sh: Likewise.
18102
18103 * locale/iso-639.def: Add ary entry.
18104
18105 [BZ #11258]
18106 * locale/C-translit.h.in: Add U20A1 transliteration.
18107
18108 [BZ #12178]
18109 * locale/iso-639.def: Add wae entry.
18110 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18111
18112 [BZ #12545]
18113 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18114 for n.
18115
18116 [BZ #12711]
18117 * locale/C-translit.h.in: Add entry for U20B9.
18118 Patch by pravin.d.s@gmail.com.
18119
18120 2011-05-08 Ulrich Drepper <drepper@gmail.com>
18121
18122 [BZ #12713]
18123 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18124 ENAMETOOLONG use generic getcwd.
18125 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18126 in rtld. Use *stat64.
18127 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18128 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18129 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18130 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18131 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18132 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18133 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18134 __fstatat64 macros.
18135 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18136 * dirent/rewinddir.c: Add libc_hidden_def.
18137 * sysdeps/mach/hurd/rewinddir.c: Likewise.
18138 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
18139
18140 * include/dirent.h (__alloc_dir): Add flags parameter.
18141 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18142 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18143 __alloc_dir.
18144 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18145 from fdopendir if O_CLOEXEC is already set.
18146
18147 2011-03-15 Alan Modra <amodra@gmail.com>
18148
18149 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18150 l_tls_firstbyte_offset non-zero. Save padding offset in
18151 l_tls_firstbyte_offset for later use.
18152 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18153 freeing static tls block.
18154
18155 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18156
18157 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18158 where #ifdef was intended. The intent is to prevent ARG_MAX from
18159 being defined by the kernel headers.
18160
18161 2011-05-07 Ulrich Drepper <drepper@gmail.com>
18162
18163 [BZ #12734]
18164 * resolv/resolv.h: Define RES_NOTLDQUERY.
18165 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18166 no-tld-query and set RES_NOTLDQUERY.
18167 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18168 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18169 modern BIND to search name as TLD unless forbidden.
18170
18171 2011-05-07 Petr Baudis <pasky@suse.cz>
18172 Ulrich Drepper <drepper@gmail.com>
18173
18174 [BZ #12393]
18175 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18176 (is_trusted_path): ...to here.
18177 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18178 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18179 using is_trusted_path_normalize() in setuid scripts.
18180
18181 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18182
18183 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18184 __BEGIN/__END_DECLS.
18185
18186 2011-05-06 Ulrich Drepper <drepper@gmail.com>
18187
18188 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18189 NSS_STATUS_NOTFOUND if no record was found.
18190
18191 2011-05-05 Andreas Schwab <schwab@redhat.com>
18192
18193 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18194 (headers-not-in-tirpc): Remove rpc/netdb.h
18195 * resolv/netdb.h: Revert last change.
18196
18197 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18198
18199 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18200 circular dependency between libgcc.a and libc.a.
18201
18202 2011-05-05 Andreas Schwab <schwab@redhat.com>
18203
18204 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18205 * nis/Makefile: Don't install rpcsvc/*.
18206 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18207 instead of <rpc/types.h>.
18208 (MAXHOSTNAMELEN): Define.
18209
18210 2011-05-03 Andreas Schwab <schwab@redhat.com>
18211
18212 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18213
18214 2011-04-28 Maciej Babinski <mbabinski@google.com>
18215
18216 [BZ #12714]
18217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18218 gethostbyname4_r when IPv6 results are possible.
18219
18220 2011-05-02 Ulrich Drepper <drepper@gmail.com>
18221
18222 [BZ #12723]
18223 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18224 _PC_PIPE_BUF handling.
18225
18226 2011-04-30 Bruno Haible <bruno@clisp.org>
18227
18228 [BZ #12717]
18229 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18230 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18231 to 'int'.
18232 * inet/getnameinfo.c (getnameinfo): Likewise.
18233
18234 2011-04-29 Ulrich Drepper <drepper@gmail.com>
18235
18236 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18237 to groups setting in database lookup.
18238 * nss/nsswitch.conf: Add initgroups entry.
18239
18240 2011-04-22 Ulrich Drepper <drepper@gmail.com>
18241
18242 [BZ #12685]
18243 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18244 mode string.
18245 Patch by Eric Blake <eblake@redhat.com>.
18246
18247 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18248
18249 * sunrpc/Makefile (need-export-routines): Add svc_run.
18250 (routines): Remove svc_run.
18251 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18252 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18253 * sunrpc/svc_run.c (svc_run): Likewise.
18254 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18255
18256 2011-04-21 Ulrich Drepper <drepper@gmail.com>
18257
18258 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18259 problem in reallocation in last patch.
18260
18261 2011-04-20 Ulrich Drepper <drepper@gmail.com>
18262
18263 * sunrpc/Makefile: Move inclusion of Rules.
18264
18265 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18266
18267 * nss/nss_files/files-initgroups.c: New file.
18268 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18269 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18270 _nss_files_initgroups_dyn.
18271
18272 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18273
18274 * elf/elf.h (R_ARM_IRELATIVE): Define.
18275
18276 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18277
18278 * po/ru.po: Update from translation team.
18279
18280 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18281
18282 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18283 dependencies.
18284
18285 2011-02-06 Mike Frysinger <vapier@gentoo.org>
18286
18287 [BZ #12653]
18288 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18289 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18290 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18291 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18292 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18293
18294 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18295
18296 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18297 differing bytes.
18298 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18299 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18300 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18301
18302 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18303
18304 [BZ #12420]
18305 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18306 storing it.
18307 * stdlib/bug-getcontext.c: New file.
18308 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18309
18310 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18311
18312 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18313 instructions into .machine "z9-109".
18314 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18315 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18316
18317 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18318
18319 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18320 between environment variables and auxiliary vector.
18321
18322 2011-04-16 Ulrich Drepper <drepper@gmail.com>
18323
18324 * Makefile: Add rules to build linkobj/libc.so.
18325 * include/libc-symbols.h: Define libc_hidden_nolink.
18326 * include/rpc/auth.h: Mark functions which are to be hidden.
18327 * include/rpc/auth_des.h: Likewise.
18328 * include/rpc/auth_unix.h: Likewise.
18329 * include/rpc/clnt.h: Likewise.
18330 * include/rpc/des_crypt.h: Likewise.
18331 * include/rpc/key_prot.h: Likewise.
18332 * include/rpc/pmap_clnt.h: Likewise.
18333 * include/rpc/pmap_prot.h: Likewise.
18334 * include/rpc/pmap_rmt.h: Likewise.
18335 * include/rpc/rpc_msg.h: Likewise.
18336 * include/rpc/svc.h: Likewise.
18337 * include/rpc/svc_auth.h: Likewise.
18338 * include/rpc/xdr.h: Likewise.
18339 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18340 * nss/Makefile: Likewise.
18341 * sunrpc/Makefile: Don't install headers. Build library with normal
18342 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18343 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18344 for the compat linking library. Remove use of INTDEF/INTUSE.
18345 * sunrpc/auth_none.c: Likewise.
18346 * sunrpc/auth_unix.c: Likewise.
18347 * sunrpc/authdes_prot.c: Likewise.
18348 * sunrpc/authuxprot.c: Likewise.
18349 * sunrpc/clnt_gen.c: Likewise.
18350 * sunrpc/clnt_perr.c: Likewise.
18351 * sunrpc/clnt_raw.c: Likewise.
18352 * sunrpc/clnt_simp.c: Likewise.
18353 * sunrpc/clnt_tcp.c: Likewise.
18354 * sunrpc/clnt_udp.c: Likewise.
18355 * sunrpc/clnt_unix.c: Likewise.
18356 * sunrpc/des_crypt.c: Likewise.
18357 * sunrpc/des_soft.c: Likewise.
18358 * sunrpc/get_myaddr.c: Likewise.
18359 * sunrpc/key_call.c: Likewise.
18360 * sunrpc/key_prot.c: Likewise.
18361 * sunrpc/netname.c: Likewise.
18362 * sunrpc/pm_getmaps.c: Likewise.
18363 * sunrpc/pm_getport.c: Likewise.
18364 * sunrpc/pmap_clnt.c: Likewise.
18365 * sunrpc/pmap_prot.c: Likewise.
18366 * sunrpc/pmap_prot2.c: Likewise.
18367 * sunrpc/pmap_rmt.c: Likewise.
18368 * sunrpc/publickey.c: Likewise.
18369 * sunrpc/rpc_cmsg.c: Likewise.
18370 * sunrpc/rpc_common.c: Likewise.
18371 * sunrpc/rpc_dtable.c: Likewise.
18372 * sunrpc/rpc_prot.c: Likewise.
18373 * sunrpc/rpc_thread.c: Likewise.
18374 * sunrpc/rtime.c: Likewise.
18375 * sunrpc/svc.c: Likewise.
18376 * sunrpc/svc_auth.c: Likewise.
18377 * sunrpc/svc_authux.c: Likewise.
18378 * sunrpc/svc_raw.c: Likewise.
18379 * sunrpc/svc_run.c: Likewise.
18380 * sunrpc/svc_simple.c: Likewise.
18381 * sunrpc/svc_tcp.c: Likewise.
18382 * sunrpc/svc_udp.c: Likewise.
18383 * sunrpc/svc_unix.c: Likewise.
18384 * sunrpc/svcauth_des.c: Likewise.
18385 * sunrpc/xcrypt.c: Likewise.
18386 * sunrpc/xdr.c: Likewise.
18387 * sunrpc/xdr_array.c: Likewise.
18388 * sunrpc/xdr_float.c: Likewise.
18389 * sunrpc/xdr_intXX_t.c: Likewise.
18390 * sunrpc/xdr_mem.c: Likewise.
18391 * sunrpc/xdr_rec.c: Likewise.
18392 * sunrpc/xdr_ref.c: Likewise.
18393 * sunrpc/xdr_sizeof.c: Likewise.
18394 * sunrpc/xdr_stdio.c: Likewise.
18395
18396 2011-04-10 Ulrich Drepper <drepper@gmail.com>
18397
18398 [BZ #12650]
18399 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18400 * sysdeps/ia64/dl-tls.h: Likewise.
18401 * sysdeps/powerpc/dl-tls.h: Likewise.
18402 * sysdeps/s390/dl-tls.h: Likewise.
18403 * sysdeps/sh/dl-tls.h: Likewise.
18404 * sysdeps/sparc/dl-tls.h: Likewise.
18405 * sysdeps/x86_64/dl-tls.h: Likewise.
18406 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18407
18408 2011-03-14 Andreas Schwab <schwab@redhat.com>
18409
18410 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18411 rpath element also skip the following colon.
18412 (expand_dynamic_string_token): Add is_path parameter and pass
18413 down to DL_DST_REQUIRED and _dl_dst_substitute.
18414 (decompose_rpath): Call expand_dynamic_string_token with
18415 non-zero is_path. Ignore empty rpaths.
18416 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18417 with zero is_path.
18418
18419 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18420
18421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18422 Make cancelable.
18423
18424 2011-04-09 Ulrich Drepper <drepper@gmail.com>
18425
18426 [BZ #12655]
18427 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18428 Patch by Filipe David Manana <fdmanana@apache.org>.
18429
18430 2011-04-07 Andreas Schwab <schwab@redhat.com>
18431
18432 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18433 Maintain aligned stack.
18434 (CHECK_RSP): Remove unused macro.
18435
18436 2011-04-03 Ulrich Drepper <drepper@gmail.com>
18437
18438 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18439 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18440
18441 2011-04-02 Ulrich Drepper <drepper@gmail.com>
18442
18443 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18444
18445 * include/features.h: Mention __USE_XOPEN2K8 in comment.
18446
18447 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18448
18449 [BZ #12518]
18450 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18451 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18452 * sysdeps/x86_64/memmove.c: New file.
18453 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18454 (memcpy): Renamed to ...
18455 (__new_memcpy): This.
18456 (memcpy): Provide GLIBC_2_14 memcpy.
18457 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18458 (memcpy): Provide GLIBC_2_2_5 memcpy.
18459
18460 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18461
18462 [BZ #12631]
18463 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18464
18465 2011-03-30 Andreas Schwab <schwab@redhat.com>
18466
18467 * misc/syncfs.c: New file.
18468 * misc/Makefile (routines): Add syncfs.
18469 * posix/unistd.h: Declare syncfs.
18470 * sysdeps/unix/syscalls.list: Add syncfs.
18471
18472 2011-04-01 Andreas Schwab <schwab@redhat.com>
18473
18474 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18475 open_by_handle_at.
18476 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18477 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18478 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18479 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18481 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18482 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18483
18484 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18485
18486 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18487 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18488 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18489 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18490 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18491 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18492 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18493
18494 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18495 sync_file_range.c with -fexceptions.
18496 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18497 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18498 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18499 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18500 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18501 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18502 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
18503 sync_file_range as cancellation point
18504 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18505 now a wrapper around __call_sync_file_range with cancellation handling.
18506 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18507 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18508 function name to __call_sync_file_range.
18509 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18510 Add call_sync_file_range.
18511
18512 2011-04-01 Andreas Schwab <schwab@redhat.com>
18513
18514 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18515 bits/timex.h.
18516
18517 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18518
18519 * iconv/iconv.h: Fix typo in comment.
18520 * io/fcntl.h: Likewise.
18521 * libio/stdio.h: Likewise.
18522 * posix/spawn.h: Likewise.
18523 * posix/unistd.h: Likewise.
18524 * stdlib/stdlib.h: Likewise.
18525 * time/time.h: Likewise.
18526 * wcsmbs/wchar.h: Likewise.
18527
18528 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18529 open_by_handle): Add.
18530 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18531 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18532 Augment a few comments.
18533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18535 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18537 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18538 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18539 open_by_handle.
18540
18541 * io/fcntl.h (AT_EMPTY_PATH): Define.
18542
18543 2011-03-30 Ulrich Drepper <drepper@gmail.com>
18544
18545 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18546 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18547 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18548 to...
18549 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
18550 * Versions.def: Add GLIBC_2.14.
18551 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18552 Export.
18553
18554 2011-03-22 Ulrich Drepper <drepper@gmail.com>
18555
18556 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18557 round counter.
18558 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18559
18560 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18561
18562 [BZ #12597]
18563 * string/test-strncmp.c (do_page_test): New function.
18564 (check2): Likewise.
18565 (test_main): Call check2.
18566 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18567
18568 2011-03-20 Ulrich Drepper <drepper@gmail.com>
18569
18570 [BZ #12587]
18571 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18572 Handle cache information in CPU leaf 4.
18573 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18574
18575 2011-03-18 Ulrich Drepper <drepper@gmail.com>
18576
18577 [BZ #12583]
18578 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18579 character representation.
18580 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18581
18582 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18583
18584 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18585 END(__isnan) to END(__isnanf) to match function entry point/label
18586 EALIGN(__isnanf,...).
18587
18588 2011-03-10 Jakub Jelinek <jakub@redhat.com>
18589
18590 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18591
18592 2011-03-10 Ulrich Drepper <drepper@gmail.com>
18593
18594 [BZ #12510]
18595 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18596 copy from the symbol referenced in the relocation to initialize the
18597 used variable.
18598 Patch by Piotr Bury <pbury@goahead.com>.
18599 * elf/Makefile: Add rules to build and tst-unique3.
18600 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18601 * elf/tst-unique3.cc: New file.
18602 * elf/tst-unique3.h: New file.
18603 * elf/tst-unique3lib.cc: New file.
18604 * elf/tst-unique3lib2.cc: New file.
18605
18606 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18607
18608 2011-03-10 Mike Frysinger <vapier@gentoo.org>
18609
18610 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18611 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18612 to _start.
18613
18614 2011-03-06 Ulrich Drepper <drepper@gmail.com>
18615
18616 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18617 to-be-loaded object along a path to loader is ld.so.
18618
18619 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18620 Ulrich Drepper <drepper@gmail.com>
18621
18622 * sysdeps/x86_64/memset.S: After aligning destination, code
18623 branches to different locations depending on the value of
18624 misalignment, when multiarch is enabled. Fix this.
18625
18626 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18627
18628 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18629 Set _x86_64_preferred_memory_instruction for AMD processsors.
18630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18631 Set bit_Prefer_SSE_for_memop for AMD processors.
18632
18633 2011-03-04 Ulrich Drepper <drepper@gmail.com>
18634
18635 * libio/fmemopen.c (fmemopen): Optimize a bit.
18636
18637 2011-03-03 Andreas Schwab <schwab@redhat.com>
18638
18639 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18640
18641 2011-03-03 Roland McGrath <roland@redhat.com>
18642
18643 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18644
18645 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18646
18647 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
18648 __bzero_ultra1 instead of __memset_ultra1.
18649
18650 2011-02-23 Andreas Schwab <schwab@redhat.com>
18651 Ulrich Drepper <drepper@gmail.com>
18652
18653 [BZ #12509]
18654 * include/link.h (struct link_map): Add l_orig_initfini.
18655 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18656 returning unsuccessfully.
18657 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18658 close of a file loaded at startup, restore the original l_initfini
18659 list.
18660 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18661 list, store the pointer.
18662 * elf/Makefile ($(objpfx)noload-mem): New rule.
18663 (noload-ENV): Define.
18664 (tests): Add $(objpfx)noload-mem.
18665 * elf/noload.c: Include <memcheck.h>.
18666 (main): Call mtrace. Close all opened handles.
18667
18668 2011-02-17 Andreas Schwab <schwab@redhat.com>
18669
18670 [BZ #12454]
18671 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18672 dependencies are missing.
18673
18674 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18675
18676 Fix __if_freereq crash: Unlike the generic version which uses free,
18677 Hurd needs munmap.
18678 * sysdeps/mach/hurd/ifreq.h: New file.
18679
18680 2011-01-27 Petr Baudis <pasky@suse.cz>
18681 Ulrich Drepper <drepper@gmail.com>
18682
18683 [BZ 12445]#
18684 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18685 to extend_alloca().
18686 * stdio-common/bug23.c: New file.
18687 * stdio-common/Makefile (tests): Add bug23.
18688
18689 2010-09-28 Andreas Schwab <schwab@redhat.com>
18690 Ulrich Drepper <drepper@gmail.com>
18691
18692 [BZ #12489]
18693 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18694 before performing relro protection. At old place add assertion
18695 to make sure nothing changed.
18696
18697 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18698 Glauber de Oliveira Costa <glommer@gmail.com>
18699
18700 * elf/elf.h: Add new ARM TLS relocs.
18701
18702 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18703
18704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18705 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18706 cast from r3.
18707 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18708 'tests' variable.
18709 * sysdeps/wordsize-64/tst-writev.c: New file.
18710
18711 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18712
18713 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18714 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18715 insns in _dl_start to prevent a TOC reference before relocs are
18716 resolved.
18717
18718 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18719
18720 [BZ #12469]
18721 * Makeconfig: Remove RANLIB definition.
18722 * Makerules: Don't use RANLIB.
18723 * aclocal.m4: Remove ranlib test.
18724 * configure.in: No need to check for ranlib.
18725 * elf/rtld-Rules: Don't use RANLIB.
18726
18727 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18728
18729 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18730 protection macro.
18731 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18732 inclusion protection macro.
18733
18734 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18735 SIGRTMIN and SIGRTMAX and print information in that case only when
18736 SIGRTMIN is defined.
18737
18738 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18739
18740 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18741 arginfo fn returning -1.
18742
18743 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18744 and thousands string is zero terminated.
18745
18746 2011-02-03 Andreas Schwab <schwab@redhat.com>
18747
18748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18749 sysdeps/unix/sysv/linux/bits/socket.h.
18750
18751 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18752
18753 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18754 (__CPU_COUNT): Remove old macros.
18755 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18756 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18757 (__CPU_ALLOC, __CPU_FREE): Add macros.
18758 (__sched_cpualloc, __sched_cpufree): Add declarations.
18759
18760 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18761
18762 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18763 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18764 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18765 (readdhstai): Return value of addhstaiX call.
18766 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18767 (addgrbyX): Return value returned by cache_addgr.
18768 (readdgrbyname): Return value returned by addgrbyX.
18769 (readdgrbygid): Likewise.
18770 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18771 (addpwbyX): Return value returned by cache_addpw.
18772 (readdpwbyname): Return value returned by addhstbyX.
18773 (readdpwbyuid): Likewise.
18774 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18775 (addservbyX): Return value returned by cache_addserv.
18776 (readdservbyname): Return value returned by addservbyX:
18777 (readdservbyport): Likewise.
18778 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18779 (addhstbyX): Return value returned by cache_addhst.
18780 (readdhstbyname): Return value returned by addhstbyX.
18781 (readdhstbyaddr): Likewise.
18782 (readdhstbynamev6): Likewise.
18783 (readdhstbyaddrv6): Likewise.
18784 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18785 (readdinitgroups): Return value returned by addinitgroupsX.
18786 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18787 (prune_cache): Keep track of timeout value of re-added entries.
18788 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18789 * nscd/nscd.h: Adjust prototypes of readd* functions.
18790
18791 2011-02-04 Roland McGrath <roland@redhat.com>
18792
18793 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18794 (nis_stats): Likewise.
18795 * nis/nis_modify.c (nis_modify): Likewise.
18796 * nis/nis_remove.c (nis_remove): Likewise.
18797 * nis/nis_add.c (nis_add): Likewise.
18798
18799 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18800
18801 * posix/fnmatch_loop.c: Add some consts.
18802
18803 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18804
18805 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18806
18807 [BZ #12460]
18808 * config.make.in (config-cflags-novzeroupper): Define.
18809 * configure.in: Substitute libc_cv_cc_novzeroupper.
18810 * elf/Makefile (AVX-CFLAGS): Define.
18811 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18812 (CFLAGS-tst-auditmod4a.c): Likewise.
18813 (CFLAGS-tst-auditmod4b.c): Likewise.
18814 (CFLAGS-tst-auditmod6b.c): Likewise.
18815 (CFLAGS-tst-auditmod6c.c): Likewise.
18816 (CFLAGS-tst-auditmod7b.c): Likewise.
18817 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18818
18819 2011-02-02 Ulrich Drepper <drepper@gmail.com>
18820
18821 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18822 function to the callback.
18823 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18824
18825 2011-02-02 Andreas Schwab <schwab@redhat.com>
18826
18827 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18828 of errno.
18829
18830 2011-01-19 Ulrich Drepper <drepper@gmail.com>
18831
18832 [BZ #11724]
18833 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18834 of constructors.
18835 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18836 of destructors.
18837 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18838
18839 [BZ #11724]
18840 * elf/Makefile: Add rules to build and run new test.
18841 * elf/tst-initorder.c: New file.
18842 * elf/tst-initorder.exp: New file.
18843 * elf/tst-initordera1.c: New file.
18844 * elf/tst-initordera2.c: New file.
18845 * elf/tst-initordera3.c: New file.
18846 * elf/tst-initordera4.c: New file.
18847 * elf/tst-initorderb1.c: New file.
18848 * elf/tst-initorderb2.c: New file.
18849 * elf/tst-order-a1.c: New file.
18850 * elf/tst-order-a2.c: New file.
18851 * elf/tst-order-a3.c: New file.
18852 * elf/tst-order-a4.c: New file.
18853 * elf/tst-order-b1.c: New file.
18854 * elf/tst-order-b2.c: New file.
18855 * elf/tst-order-main.c: New file.
18856 New test case by George Gensure <werkt0@gmail.com>.
18857
18858 2010-10-01 Andreas Schwab <schwab@redhat.com>
18859
18860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18861 decoding ACE if AI_CANONIDN.
18862
18863 2011-01-18 Ulrich Drepper <drepper@gmail.com>
18864
18865 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18866
18867 2011-01-17 Ulrich Drepper <drepper@gmail.com>
18868
18869 * version.h (RELEASE): Bump for 2.13 release.
18870 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18871
18872 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18873
18874 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18875 MADV_NOHUGEPAGE.
18876 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18877 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18878 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18879 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18880 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18881 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18882
18883 * posix/getconf.c: Update copyright year.
18884 * catgets/gencat.c: Likewise.
18885 * csu/version.c: Likewise.
18886 * debug/catchsegv.sh: Likewise.
18887 * debug/xtrace.sh: Likewise.
18888 * elf/ldconfig.c: Likewise.
18889 * elf/ldd.bash.in: Likewise.
18890 * elf/sprof.c (print_version): Likewise.
18891 * iconv/iconv_prog.c: Likewise.
18892 * iconv/iconvconfig.c: Likewise.
18893 * locale/programs/locale.c: Likewise.
18894 * locale/programs/localedef.c: Likewise.
18895 * malloc/memusage.sh: Likewise.
18896 * malloc/mtrace.pl: Likewise.
18897 * nscd/nscd.c (print_version): Likewise.
18898 * nss/getent.c: Likewise.
18899
18900 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18901 PF_CAIF, and PF_ALG.
18902 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18903
18904 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18905
18906 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18907 (modules-names): Use them.
18908 (ifunc-test-modules, ifunc-pie-tests): Define.
18909 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18910 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18911 (test-extras): Likewise.
18912 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18913 $(compile-command.c).
18914 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18915 (all-built-dso): Define.
18916 (check-textrel.out, check-execstack.out): Depend on it.
18917
18918 * configure.in: Don't override --enable-multi-arch.
18919
18920 2011-01-15 Ulrich Drepper <drepper@gmail.com>
18921
18922 [BZ #6812]
18923 * nscd/hstcache.c (tryagain): Define.
18924 (cache_addhst): Return tryagain not notfound for temporary errors.
18925 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18926 failed.
18927
18928 2011-01-14 Ulrich Drepper <drepper@gmail.com>
18929
18930 [BZ #10563]
18931 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18932 to make the syscall.
18933 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18934
18935 [BZ #12378]
18936 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18937 and fall back to matching as normal character if the string ends before
18938 the matching ']' is found. This is what POSIX requires.
18939 * posix/testfnm.c: Adjust test result.
18940 * posix/globtest.sh: Adjust test result. Add new test.
18941 * posix/tst-fnmatch.input: Likewise.
18942 * posix/tst-fnmatch2.c: Add new test.
18943
18944 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18945
18946 * elf/Makefile (check-execstack): Revert last change. Depend on
18947 check-execstack.h.
18948 (check-execstack.h): New target.
18949 (generated): Add check-execstack.h.
18950 * elf/check-execstack.c: Include "check-execstack.h".
18951 (main): Revert last change.
18952 (handle_file): Return zero if GNU_STACK is absent and
18953 DEFAULT_STACK_PERMS doesn't include PF_X.
18954
18955 2011-01-13 Ulrich Drepper <drepper@gmail.com>
18956
18957 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18958 in child fails because the descriptor is already closed.
18959 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18960 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18961 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
18962
18963 [BZ #12397]
18964 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18965 syscall.
18966
18967 [BZ #10484]
18968 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18969 temporary buffer used to handle multi lookups locally.
18970 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
18971
18972 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18973
18974 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18975 loader is ld.so.
18976
18977 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18978
18979 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18980 alignment for SSE2.
18981
18982 2011-01-12 Ulrich Drepper <drepper@gmail.com>
18983
18984 [BZ #12394]
18985 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18986 characters. When rounding increased number of integer digits recompute
18987 number of groups.
18988 * stdio-common/tst-grouping.c: New file.
18989 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18990
18991 2011-01-09 Ulrich Drepper <drepper@gmail.com>
18992
18993 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18994 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18995
18996 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18997 void.
18998 * bits/select.h: Likewise.
18999
19000 2011-01-08 Ulrich Drepper <drepper@gmail.com>
19001
19002 * po/ja.po: Update from translation team.
19003
19004 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
19005
19006 [BZ #11155]
19007 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19008 implementation just like for lxstat, fxstatat, et al.
19009
19010 2010-12-27 Jim Meyering <meyering@redhat.com>
19011
19012 [BZ #12348]
19013 * posix/regexec.c (build_trtable): Return failure indication upon
19014 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19015
19016 2010-12-25 Ulrich Drepper <drepper@gmail.com>
19017
19018 [BZ #12201]
19019 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19020 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19021 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19022 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19023
19024 [BZ #12207]
19025 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19026
19027 [BZ #12204]
19028 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19029 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19030
19031 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19032
19033 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19034 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19035 script has SORT_BY_INIT_PRIORITY.
19036 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19037 NO_CTORS_DTORS_SECTIONS is defined.
19038 * elf/soinit.c: Likewise.
19039 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19040 NO_CTORS_DTORS_SECTIONS is defined.
19041 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19042 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19043 * sysdeps/sh/init-first.c: Likewise.
19044 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19045
19046 2010-12-24 Ulrich Drepper <drepper@gmail.com>
19047
19048 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19049 always use the slow path.
19050
19051 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19052
19053 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19054 similar rule which adds the sysdep directories to the header search in
19055 order to pick up the correct platform stackinfo.h.
19056 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19057 perform test if it is, otherwise return successfully without testing.
19058 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19059 DEFAULT_STACK_PERMS define in stackinfo.h.
19060 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19061 defined in stackinfo.h.
19062 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19063 DEFAULT_STACK_PERMS defined in stackinfo.h.
19064 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19065 * sysdeps/ia64/stackinfo.h: Likewise.
19066 * sysdeps/s390/stackinfo.h: Likewise.
19067 * sysdeps/sh/stackinfo.h: Likewise.
19068 * sysdeps/sparc/stackinfo.h: Likewise.
19069 * sysdeps/x86_64/stackinfo.h: Likewise.
19070 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19071 PF_X for powerpc64. Retain PF_X for powerpc32.
19072
19073 2010-12-19 Ulrich Drepper <drepper@gmail.com>
19074
19075 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19076 accurately.
19077 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19078 GETDENTS_64BIT_ALIGNED.
19079
19080 2010-12-14 Ulrich Drepper <dreper@gmail.com>
19081
19082 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19083
19084 2010-12-10 Andreas Schwab <schwab@redhat.com>
19085
19086 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19087 _GNU_SOURCE.
19088
19089 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19090 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19091 Remove __restrict.
19092 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19093 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19094
19095 2010-12-09 Ulrich Drepper <drepper@gmail.com>
19096
19097 [BZ #11655]
19098 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19099 are initialized.
19100
19101 2010-12-09 Jakub Jelinek <jakub@redhat.com>
19102
19103 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19104
19105 2010-12-03 Ulrich Drepper <drepper@gmail.com>
19106
19107 * po/it.po: Update from translation team.
19108
19109 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19110
19111 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19112 unused codes.
19113
19114 2010-11-30 Ulrich Drepper <drepper@gmail.com>
19115
19116 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19117
19118 2010-11-24 Andreas Schwab <schwab@redhat.com>
19119
19120 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19121 specially.
19122 (gaih_getanswer_slice): Likewise.
19123
19124 2010-10-20 Jakub Jelinek <jakub@redhat.com>
19125
19126 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19127
19128 2010-05-31 Petr Baudis <pasky@suse.cz>
19129
19130 [BZ #11149]
19131 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19132 silently even in the chroot mode.
19133
19134 2010-11-22 Ulrich Drepper <drepper@gmail.com>
19135
19136 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19137 last patch a bit. Pretty printing
19138
19139 2010-05-31 Petr Baudis <pasky@suse.cz>
19140
19141 [BZ #10085]
19142 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19143 initialization of skip_initgroups_dyn.
19144
19145 2010-11-19 Ulrich Drepper <drepper@gmail.com>
19146
19147 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19148 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19149
19150 2010-11-16 Ulrich Drepper <drepper@gmail.com>
19151
19152 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19153
19154 2010-11-11 Andreas Schwab <schwab@redhat.com>
19155
19156 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19157 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19158 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19159 ($(objpfx)tst-fnmatch-mem): New rule.
19160 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19161 * posix/tst-fnmatch.c (main): Call mtrace.
19162
19163 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19164
19165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19166 Support Intel processor model 6 and model 0x2c.
19167
19168 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
19169
19170 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19171 signed comparison.
19172
19173 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19174
19175 [BZ #12205]
19176 * string/test-strncasecmp.c (check_result): New function.
19177 (do_one_test): Use it.
19178 (check1): New function.
19179 (test_main): Use it.
19180 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19181 Support strcasecmp and strncasecmp.
19182
19183 2010-11-08 Ulrich Drepper <drepper@gmail.com>
19184
19185 [BZ #12194]
19186 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19187 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19188
19189 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19190
19191 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19192 IFUNC support.
19193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19194 memset-x86-64.
19195 * sysdeps/x86_64/multiarch/bzero.S: New file.
19196 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19197 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19198 * sysdeps/x86_64/multiarch/memset.S: New file.
19199 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19201 Set bit_Prefer_SSE_for_memop for Intel processors.
19202 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19203 Define.
19204 (index_Prefer_SSE_for_memop): Define.
19205 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19206
19207 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
19208
19209 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19210 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19211
19212 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19213
19214 [BZ #12191]
19215 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19216 (__x86_64_raw_data_cache_size_half): Likewise.
19217 (__x86_64_raw_shared_cache_size): Likewise.
19218 (__x86_64_raw_shared_cache_size_half): Likewise.
19219
19220 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19221 (__x86_64_raw_data_cache_size_half): Likewise.
19222 (__x86_64_raw_shared_cache_size): Likewise.
19223 (__x86_64_raw_shared_cache_size_half): Likewise.
19224 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19225 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19226 and __x86_64_raw_shared_cache_size_half. Round
19227 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19228 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19229 to multiple of 256 bytes.
19230
19231 2010-11-03 Ulrich Drepper <drepper@gmail.com>
19232
19233 [BZ #12167]
19234 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19235 of inacessible symlinks. Verify result of symlink before returning it.
19236 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19237 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19238
19239 2010-10-28 Erich Ritz <erichritz@gmail.com>
19240
19241 * math/math.h (isinf): Fix typo in comment.
19242
19243 2010-11-01 Ulrich Drepper <drepper@gmail.com>
19244
19245 * po/da.po: Update from translation team.
19246
19247 2010-10-26 Ulrich Drepper <drepper@gmail.com>
19248
19249 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19250 is added to the list.
19251
19252 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19253 Ulrich Drepper <drepper@gmail.com>
19254
19255 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19256 the global list here. Move code to...
19257 (_dl_add_to_namespace_list): ...here. New function.
19258 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19259 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19260 * elf/dl-load.c (lose): Don't remove the element from the list.
19261 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19262 (_dl_map_object): Likewise.
19263
19264 2010-10-25 Ulrich Drepper <drepper@gmail.com>
19265
19266 [BZ #12159]
19267 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19268 into all bytes of SSE register.
19269 Patch by Richard Li <richardpku@gmail.com>.
19270
19271 2010-10-24 Ulrich Drepper <drepper@gmail.com>
19272
19273 [BZ #12140]
19274 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19275 perturbing.
19276
19277 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19278
19279 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19280 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19281 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19282 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19284 submachine.
19285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19286
19287 2010-10-22 Andreas Schwab <schwab@redhat.com>
19288
19289 * include/dlfcn.h (__RTLD_SECURE): Define.
19290 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19291 mode & __RTLD_SECURE instead.
19292 (open_path): Rename preloaded parameter to secure.
19293 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19294 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19295 * elf/dl-deps.c (openaux): Likewise.
19296 * elf/rtld.c (struct map_args): Remove is_preloaded.
19297 (map_doit): Don't use it.
19298 (dl_main): Likewise.
19299 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19300 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19301
19302 2010-09-09 Andreas Schwab <schwab@redhat.com>
19303
19304 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19305 (sysd-rules-targets): Remove duplicates.
19306 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19307 rtld-%.$o dependency.
19308
19309 2010-10-18 Andreas Schwab <schwab@redhat.com>
19310
19311 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19312 _dl_map_object do it.
19313
19314 2010-10-19 Ulrich Drepper <drepper@gmail.com>
19315
19316 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19317 fast fma builtins, define the macros in the C99 standard.
19318 (FP_FAST_FMAF): Likewise.
19319 (FP_FAST_FMAL): Likewise.
19320 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19321
19322 * bits/mathdef.h: Update copyright year.
19323 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19324
19325 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19326
19327 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19328 builtins, define the macros in the C99 standard.
19329 (FP_FAST_FMAF): Likewise.
19330 (FP_FAST_FMAL): Likewise.
19331 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19332 multiply/add.
19333 (FP_FAST_FMAF): Likewise.
19334
19335 2010-10-15 Jakub Jelinek <jakub@redhat.com>
19336
19337 [BZ #3268]
19338 * math/libm-test.inc (fma_test): Some new testcases.
19339 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19340 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19341 y and infinite z. Do multiplication by C already in long double.
19342 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19343 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19344 y and infinite z. Do bitwise or of inexact bit into u.d.
19345 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19346 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19347 * sysdeps/i386/fpu/s_fma.S: Removed.
19348 * sysdeps/i386/fpu/s_fmal.S: Removed.
19349
19350 2010-10-16 Jakub Jelinek <jakub@redhat.com>
19351
19352 [BZ #3268]
19353 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19354 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19355 computation is not scheduled after fetestexcept. Fix value
19356 of minimum denormal long double.
19357
19358 2010-10-14 Jakub Jelinek <jakub@redhat.com>
19359
19360 [BZ #3268]
19361 * math/libm-test.inc (fma_test): Add some more tests.
19362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19363 correctly.
19364
19365 2010-10-15 Andreas Schwab <schwab@redhat.com>
19366
19367 * scripts/data/localplt-s390-linux-gnu.data: New file.
19368 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19369
19370 2010-10-13 Jakub Jelinek <jakub@redhat.com>
19371
19372 [BZ #3268]
19373 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19374 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19375 instead of dbl-64.
19376 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19377 inlines.
19378 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19379 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19380 if one of x and y is very large and the other is subnormal.
19381 * sysdeps/s390/fpu/s_fmaf.c: New file.
19382 * sysdeps/s390/fpu/s_fma.c: New file.
19383 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19384 * sysdeps/powerpc/fpu/s_fma.S: New file.
19385 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19386 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19387 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19388
19389 2010-10-12 Jakub Jelinek <jakub@redhat.com>
19390
19391 [BZ #3268]
19392 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19393 fma tests.
19394 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19395 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19396 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19397 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19398 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19399 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19400 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19401
19402 2010-10-12 Ulrich Drepper <drepper@redhat.com>
19403
19404 [BZ #12078]
19405 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19406 * posix/bug-regex31.input: Add test case.
19407
19408 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19409
19410 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19411 * posix/bug-regex31.input: New file.
19412
19413 [BZ #12078]
19414 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19415 (parse_sub_exp): Fix last change, use postorder.
19416
19417 * posix/bug-regex31.c: New file.
19418 * posix/Makefile: Add rules to build and run bug-regex31.
19419
19420 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19421
19422 [BZ #12078]
19423 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19424
19425 [BZ #12108]
19426 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19427 to have entries in sys_siglist.
19428
19429 [BZ #12093]
19430 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19431 be NULL.
19432
19433 2010-10-07 Jakub Jelinek <jakub@redhat.com>
19434
19435 [BZ #3268]
19436 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19437 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19438 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19439 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19440 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19441 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19442 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19443 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19444 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19445 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19446 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19447 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19448 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19449 * math/ftestexcept.c (fetestexcept): Likewise.
19450 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19451 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19452 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19453 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19454 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19455 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19456 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19457
19458 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19459
19460 [BZ #12107]
19461 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19462 newline.
19463
19464 2010-10-06 Ulrich Drepper <drepper@gmail.com>
19465
19466 * string/bug-strstr1.c: New file.
19467 * string/Makefile: Add rules to build and run bug-strstr1.
19468
19469 2010-10-05 Eric Blake <eblake@redhat.com>
19470
19471 [BZ #12092]
19472 * string/str-two-way.h (two_way_long_needle): Always clear memory
19473 when skipping input due to the shift table.
19474
19475 2010-10-03 Ulrich Drepper <drepper@gmail.com>
19476
19477 [BZ #12005]
19478 * malloc/mcheck.c: Handle large requests.
19479
19480 [BZ #12077]
19481 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19482 for strncmp and strncasecmp.
19483 * string/stratcliff.c: Add tests for strcmp and strncmp.
19484 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19485
19486 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19487
19488 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19489 __set_fpscr.
19490
19491 2010-09-30 Andreas Jaeger <aj@suse.de>
19492
19493 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19494 (CGROUP_SUPER_MAGIC): Define.
19495 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19496 Handle btrfs and cgroup file systems.
19497 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19498 Likewise.
19499
19500 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
19501
19502 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19503 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19504
19505 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19506
19507 [BZ #12067]
19508 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19509 trying to locate the ELF header.
19510
19511 2010-09-27 Andreas Schwab <schwab@redhat.com>
19512
19513 [BZ #11611]
19514 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19515 Mask out sign-bit copies when constructing f_fsid.
19516
19517 2010-09-24 Petr Baudis <pasky@suse.cz>
19518
19519 * debug/stack_chk_fail_local.c: Add missing licence exception.
19520 * debug/warning-nop.c: Likewise.
19521
19522 2010-09-15 Joseph Myers <joseph@codesourcery.com>
19523
19524 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19525 implementing getdents64 using getdents syscall, set d_type if
19526 __ASSUME_GETDENTS32_D_TYPE.
19527
19528 2010-09-16 Andreas Schwab <schwab@redhat.com>
19529
19530 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19531 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19532
19533 2010-09-21 Ulrich Drepper <drepper@redhat.com>
19534
19535 [BZ #12037]
19536 * posix/unistd.h: Undo change of feature selection for ftruncate from
19537 2010-01-11.
19538
19539 2010-09-20 Ulrich Drepper <drepper@redhat.com>
19540
19541 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
19542 detection.
19543
19544 2010-09-20 Andreas Schwab <schwab@redhat.com>
19545
19546 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19547 fanotify_mark.
19548 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19549
19550 2010-09-14 Andreas Schwab <schwab@redhat.com>
19551
19552 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19553 variables after CHECK_SP call.
19554 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19555
19556 2010-09-13 Andreas Schwab <schwab@redhat.com>
19557 Ulrich Drepper <drepper@redhat.com>
19558
19559 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19560 re-relocationg ld.so.
19561 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19562 _dl_init_paths call.
19563 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19564 here anymore.
19565
19566 2010-09-14 Ulrich Drepper <drepper@redhat.com>
19567
19568 * resolv/res_init.c (__res_vinit): Count the default server we added.
19569
19570 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19571 Ulrich Drepper <drepper@redhat.com>
19572
19573 [BZ #11968]
19574 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19575 (____longjmp_chk): Use %ebx for saving value across system call.
19576 Add unwind info.
19577
19578 2010-09-06 Andreas Schwab <schwab@redhat.com>
19579
19580 * manual/Makefile: Don't mix pattern rules with normal rules.
19581
19582 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19583
19584 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19585 operation.
19586 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19587 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19588 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19589 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19590 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19591 Likewise.
19592
19593 2010-09-04 Ulrich Drepper <drepper@redhat.com>
19594
19595 [BZ #11979]
19596 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19597 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19598
19599 2010-09-02 Ulrich Drepper <drepper@redhat.com>
19600
19601 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19602 * sysdeps/x86_64/addmul_1.S: Likewise.
19603 * sysdeps/x86_64/lshift.S: Likewise.
19604 * sysdeps/x86_64/mul_1.S: Likewise.
19605 * sysdeps/x86_64/rshift.S: Likewise.
19606 * sysdeps/x86_64/sub_n.S: Likewise.
19607 * sysdeps/x86_64/submul_1.S: Likewise.
19608
19609 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19610
19611 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19612 Define __sched_param instead of SCHED_* and sched_param when
19613 <bits/sched.h> is included with __need_schedparam defined.
19614 * bits/sched.h [__need_schedparam]
19615 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
19616 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19617 (__defined_schedparam): Define to 1.
19618 (__sched_param): New structure, identical to sched_param.
19619 (__need_schedparam): Undefine.
19620
19621 2010-08-31 Mike Frysinger <vapier@gentoo.org>
19622
19623 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19624 (epoll_create1): Declare.
19625
19626 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19627
19628 2010-08-31 Andreas Schwab <schwab@redhat.com>
19629
19630 [BZ #7066]
19631 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19632 shifting retval into place.
19633
19634 2010-09-01 Ulrich Drepper <drepper@redhat.com>
19635
19636 * nis/rpcsvc/nis.h: Update copyright notice.
19637 * nis/rpcsvc/nis.x: Likewise.
19638 * nis/rpcsvc/nis_callback.h: Likewise.
19639 * nis/rpcsvc/nis_callback.x: Likewise.
19640 * nis/rpcsvc/nis_object.x: Likewise.
19641 * nis/rpcsvc/nis_tags.h: Likewise.
19642 * nis/rpcsvc/yp.h: Likewise.
19643 * nis/rpcsvc/yp.x: Likewise.
19644 * nis/rpcsvc/ypupd.h: Likewise.
19645 * nis/yp_xdr.c: Likewise.
19646 * nis/ypupdate_xdr.c: Likewise.
19647
19648 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19649 mainly the body of pmap_getport. Add parameters to specify timeouts.
19650 (pmap_getport): Use __libc_rpc_getport.
19651 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19652 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19653 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19654
19655 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19656
19657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19658 fanotify_mark.
19659
19660 2010-08-27 Roland McGrath <roland@redhat.com>
19661
19662 * sysdeps/i386/i686/multiarch/Makefile
19663 (CFLAGS-varshift.c): New variable.
19664
19665 2010-08-27 Ulrich Drepper <drepper@redhat.com>
19666
19667 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19668 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19669
19670 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19671
19672 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19673
19674 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19675
19676 * sysdeps/x86_64/strlen.S: Unroll the loop.
19677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19678 strlen-sse2 strlen-sse2-bsf.
19679 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19680 __strlen_no_bsf if bit_Slow_BSF is set.
19681 (__strlen_sse42): Removed.
19682 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19683 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19684
19685 2010-08-25 Roland McGrath <roland@redhat.com>
19686
19687 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19688 * sysdeps/x86_64/multiarch/varshift.c: New file.
19689 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19690 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19691 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19692 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19693
19694 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19695
19696 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19697 strlen-sse2 strlen-sse2-bsf.
19698 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19699 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19700 (__strlen_sse2): Removed.
19701 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19702 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19704 bit_Slow_BSF for Atom.
19705 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19706 (index_Slow_BSF): Define.
19707 (HAS_SLOW_BSF): Define.
19708
19709 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19710
19711 [BZ #10851]
19712 * resolv/res_init.c (__res_vinit): When no server address at all
19713 is given default to loopback.
19714
19715 2010-08-24 Roland McGrath <roland@redhat.com>
19716
19717 * configure.in: Remove config-name.h generation.
19718 * configure: Regenerated.
19719 * config-name.in: File removed.
19720 * scripts/config-uname.sh: New file.
19721 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19722 ($(objdir)config-name.h): New target.
19723
19724 * sunrpc/rpc_parse.h: Avoid nested comment.
19725
19726 2010-08-24 Richard Henderson <rth@redhat.com>
19727 Ulrich Drepper <drepper@redhat.com>
19728 H.J. Lu <hongjiu.lu@intel.com>
19729
19730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19732 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19733 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19734 _mm_alignr_epi8 with _mm_loadu_si128.
19735 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19736 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19737 (__m128i_shift_right): Removed.
19738 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19739 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19740 * sysdeps/x86_64/multiarch/varshift.h: New file.
19741 * sysdeps/x86_64/multiarch/varshift.S: New file.
19742
19743 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19744
19745 * configure.in: Move assembler checks to before sysdep dir checking.
19746
19747 2010-08-20 Petr Baudis <pasky@suse.cz>
19748
19749 * LICENSES: Sync the sunrpc license.
19750
19751 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19752
19753 * sunrpc/auth_des.c: Update copyright notice once again.
19754 * sunrpc/auth_none.c: Likewise.
19755 * sunrpc/auth_unix.c: Likewise.
19756 * sunrpc/authdes_prot.c: Likewise.
19757 * sunrpc/authuxprot.c: Likewise.
19758 * sunrpc/bindrsvprt.c: Likewise.
19759 * sunrpc/clnt_gen.c: Likewise.
19760 * sunrpc/clnt_perr.c: Likewise.
19761 * sunrpc/clnt_raw.c: Likewise.
19762 * sunrpc/clnt_simp.c: Likewise.
19763 * sunrpc/clnt_tcp.c: Likewise.
19764 * sunrpc/clnt_udp.c: Likewise.
19765 * sunrpc/clnt_unix.c: Likewise.
19766 * sunrpc/des_crypt.c: Likewise.
19767 * sunrpc/des_soft.c: Likewise.
19768 * sunrpc/get_myaddr.c: Likewise.
19769 * sunrpc/getrpcport.c: Likewise.
19770 * sunrpc/key_call.c: Likewise.
19771 * sunrpc/key_prot.c: Likewise.
19772 * sunrpc/openchild.c: Likewise.
19773 * sunrpc/pm_getmaps.c: Likewise.
19774 * sunrpc/pm_getport.c: Likewise.
19775 * sunrpc/pmap_clnt.c: Likewise.
19776 * sunrpc/pmap_prot.c: Likewise.
19777 * sunrpc/pmap_prot2.c: Likewise.
19778 * sunrpc/pmap_rmt.c: Likewise.
19779 * sunrpc/rpc/auth.h: Likewise.
19780 * sunrpc/rpc/auth_unix.h: Likewise.
19781 * sunrpc/rpc/clnt.h: Likewise.
19782 * sunrpc/rpc/des_crypt.h: Likewise.
19783 * sunrpc/rpc/key_prot.h: Likewise.
19784 * sunrpc/rpc/netdb.h: Likewise.
19785 * sunrpc/rpc/pmap_clnt.h: Likewise.
19786 * sunrpc/rpc/pmap_prot.h: Likewise.
19787 * sunrpc/rpc/pmap_rmt.h: Likewise.
19788 * sunrpc/rpc/rpc.h: Likewise.
19789 * sunrpc/rpc/rpc_des.h: Likewise.
19790 * sunrpc/rpc/rpc_msg.h: Likewise.
19791 * sunrpc/rpc/svc.h: Likewise.
19792 * sunrpc/rpc/svc_auth.h: Likewise.
19793 * sunrpc/rpc/types.h: Likewise.
19794 * sunrpc/rpc/xdr.h: Likewise.
19795 * sunrpc/rpc_clntout.c: Likewise.
19796 * sunrpc/rpc_cmsg.c: Likewise.
19797 * sunrpc/rpc_common.c: Likewise.
19798 * sunrpc/rpc_cout.c: Likewise.
19799 * sunrpc/rpc_dtable.c: Likewise.
19800 * sunrpc/rpc_hout.c: Likewise.
19801 * sunrpc/rpc_main.c: Likewise.
19802 * sunrpc/rpc_parse.c: Likewise.
19803 * sunrpc/rpc_parse.h: Likewise.
19804 * sunrpc/rpc_prot.c: Likewise.
19805 * sunrpc/rpc_sample.c: Likewise.
19806 * sunrpc/rpc_scan.c: Likewise.
19807 * sunrpc/rpc_scan.h: Likewise.
19808 * sunrpc/rpc_svcout.c: Likewise.
19809 * sunrpc/rpc_tblout.c: Likewise.
19810 * sunrpc/rpc_util.c: Likewise.
19811 * sunrpc/rpc_util.h: Likewise.
19812 * sunrpc/rpcinfo.c: Likewise.
19813 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19814 * sunrpc/rpcsvc/key_prot.x: Likewise.
19815 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19816 * sunrpc/rpcsvc/mount.x: Likewise.
19817 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19818 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19819 * sunrpc/rpcsvc/rex.x: Likewise.
19820 * sunrpc/rpcsvc/rstat.x: Likewise.
19821 * sunrpc/rpcsvc/rusers.x: Likewise.
19822 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19823 * sunrpc/rpcsvc/spray.x: Likewise.
19824 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19825 * sunrpc/rtime.c: Likewise.
19826 * sunrpc/svc.c: Likewise.
19827 * sunrpc/svc_auth.c: Likewise.
19828 * sunrpc/svc_authux.c: Likewise.
19829 * sunrpc/svc_raw.c: Likewise.
19830 * sunrpc/svc_run.c: Likewise.
19831 * sunrpc/svc_simple.c: Likewise.
19832 * sunrpc/svc_tcp.c: Likewise.
19833 * sunrpc/svc_udp.c: Likewise.
19834 * sunrpc/svc_unix.c: Likewise.
19835 * sunrpc/svcauth_des.c: Likewise.
19836 * sunrpc/xcrypt.c: Likewise.
19837 * sunrpc/xdr.c: Likewise.
19838 * sunrpc/xdr_array.c: Likewise.
19839 * sunrpc/xdr_float.c: Likewise.
19840 * sunrpc/xdr_mem.c: Likewise.
19841 * sunrpc/xdr_rec.c: Likewise.
19842 * sunrpc/xdr_ref.c: Likewise.
19843 * sunrpc/xdr_sizeof.c: Likewise.
19844 * sunrpc/xdr_stdio.c: Likewise.
19845
19846 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19847 handling.
19848
19849 2010-08-19 Andreas Schwab <schwab@redhat.com>
19850
19851 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19852
19853 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
19854
19855 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19856 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19857 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19858 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19859 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19860 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19861 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19862 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19863 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19864 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19865 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19866 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19867 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19868 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19869
19870 2010-07-26 Anton Blanchard <anton@samba.org>
19871
19872 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19873 * malloc/arena.c (heap_trim): Likewise.
19874
19875 2010-08-16 Ulrich Drepper <drepper@redhat.com>
19876
19877 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19878 here. Not...
19879 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19880 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19881
19882 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19883
19884 * sysdeps/i386/elf/Makefile: New file.
19885
19886 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19887
19888 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19889 from fanotify_init.
19890 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19891 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19892
19893 2010-08-15 Ulrich Drepper <drepper@redhat.com>
19894
19895 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19896 of strncasecmp_l.
19897 * sysdeps/multiarch/strcmp.S: Likewise.
19898
19899 2010-08-14 Ulrich Drepper <drepper@redhat.com>
19900
19901 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19902 strncase_l-nonascii.
19903 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19904 Add strncase_l-ssse3.
19905 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19906 * sysdeps/x86_64/strcmp.S: Likewise.
19907 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19908 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19909 * sysdeps/x86_64/strncase.S: New file.
19910 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19911 * sysdeps/x86_64/strncase_l.S: New file.
19912 * string/Makefile (strop-tests): Add strncasecmp.
19913 * string/test-strncasecmp.c: New file.
19914
19915 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19916 warning.
19917
19918 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19919 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19920
19921 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19922
19923 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19924
19925 2010-08-12 Ulrich Drepper <drepper@redhat.com>
19926
19927 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19928 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19929 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19930
19931 2010-05-01 Alan Modra <amodra@gmail.com>
19932
19933 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19934 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19935 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19936 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19937 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19938 tidying. Don't tail-call __sigjmp_save for static lib.
19939 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19940 save location.
19941 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19942 (CALL_MCOUNT): Add eh info, and nop after bl.
19943 (TAIL_CALL_SYSCALL_ERROR): New macro.
19944 (PSEUDO_RET): Use it.
19945 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19946 Correct save location of integer regs and cr.
19947 (_dl_profile_resolve): Correct cr save location. Delete nops
19948 after bl when SHARED. Reduce cfi size a little by better
19949 placement of cfi directives.
19950 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19951 make a stack frame. Instead use parm save area as a temp.
19952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19953 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19955 Don't make a stack frame for parent, use parm save area.
19956 Increase child stack frame to 112 bytes. Don't save unused reg,
19957 and adjust reg usage. Set up cfi on error recovery and
19958 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19960 (__makecontext): Add dummy nop after jump to exit.
19961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19962 Use correct parm save area and cr save, reduce stack frame.
19963 Correct cfi for possible PSEUDO_RET frame setup.
19964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19965 Branch to local label emitted by PSEUDO_RET rather than
19966 __syscall_error.
19967
19968 2010-08-12 Andreas Schwab <schwab@redhat.com>
19969
19970 [BZ #11904]
19971 * locale/programs/locale.c (print_assignment): New function.
19972 (show_locale_vars): Use it.
19973
19974 2010-08-11 Ulrich Drepper <drepper@redhat.com>
19975
19976 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19977 field.
19978 (struct statfs64): Likewise.
19979 (_STATFS_F_FLAGS): Define.
19980 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19981 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19982 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19983 (ST_VALID): Define locally.
19984 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19985 __statvfs_getflags, use the provided value.
19986 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19987 __ASSUME_STATFS_F_FLAGS.
19988
19989 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19990
19991 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19992 Add sys/fanotify.h.
19993 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19994 fanotify_mask for GLIBC_2.13.
19995 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19996 fanotify_init and fanotify_mark.
19997 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19998 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19999
20000 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20001 Add prlimit.
20002 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20003 prlimit64 for GLIBC_2.13.
20004 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20005 prlimit64.
20006 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20007 syscall.
20008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20009 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20010 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20011 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20012 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20013 add prlimit alias.
20014 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20015
20016 [BZ #11903]
20017 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20018 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20019
20020 * nss/Makefile: Add rules to build and run tst-nss-test1.
20021 * shlib-versions: Add entry for libnss_test1.
20022 * nss/nss_test1.c: New file.
20023 * nss/tst-nss-test1.c: New file.
20024
20025 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20026 (__nss_configure_lookup): Set appropriate entry in
20027 __nss_configure_lookup to true.
20028 * nss/nsswitch.h: Define enum with indeces of databases in
20029 databases and __nss_database_custom arrays. Declare
20030 __nss_database_custom.
20031 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20032 to avoid using nscd when custom rules are installed.
20033 * nss/getXXbyYY_r.c: Likewise.
20034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20035
20036 * nss/nss_files/files-parse.c: Whitespace fixes.
20037
20038 2010-08-09 Ulrich Drepper <drepper@redhat.com>
20039
20040 [BZ #11883]
20041 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20042 * posix/fnmatch_loop.c: Likewise.
20043
20044 2010-07-17 Andi Kleen <ak@linux.intel.com>
20045
20046 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20047 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20048 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20049 * Versions.def [GLIBC_2.13]: Add.
20050
20051 2010-08-06 Ulrich Drepper <drepper@redhat.com>
20052
20053 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20054 Also fail if tpwd after pwuid call is NULL.
20055
20056 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20057
20058 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20059 when converting to ms.
20060
20061 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20062
20063 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20064 EOPNOTSUPP errors with ENOTTY.
20065 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20066 EOPNOTSUPP errors with ENOTTY.
20067
20068 2010-07-31 Ulrich Drepper <drepper@redhat.com>
20069
20070 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20071 Add strcasecmp_l-ssse3.
20072 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20073 strcasecmp.
20074 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20075 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20076 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20077
20078 2010-07-30 Ulrich Drepper <drepper@redhat.com>
20079
20080 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20081
20082 * string/Makefile (strop-tests): Add strcasecmp.
20083 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20084 strcasecmp_l-nonascii.
20085 (gen-as-const-headers): Add locale-defines.sym.
20086 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20087 * sysdeps/x86_64/strcasecmp.S: New file.
20088 * sysdeps/x86_64/strcasecmp_l.S: New file.
20089 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20090 * sysdeps/x86_64/locale-defines.sym: New file.
20091 * string/test-strcasecmp.c: New file.
20092
20093 * string/test-strcasestr.c: Test both ends of the range of characters.
20094 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20095
20096 2010-07-29 Roland McGrath <roland@redhat.com>
20097
20098 [BZ #11856]
20099 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20100
20101 2010-07-27 Ulrich Drepper <drepper@redhat.com>
20102
20103 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20104 for ld.so.
20105
20106 2010-07-27 Andreas Schwab <schwab@redhat.com>
20107
20108 * manual/memory.texi (Malloc Tunable Parameters): Document
20109 M_PERTURB.
20110
20111 2010-07-26 Roland McGrath <roland@redhat.com>
20112
20113 [BZ #11840]
20114 * configure.in (-fgnu89-inline check): Set and substitute
20115 gnu89_inline, not libc_cv_gnu89_inline.
20116 * configure: Regenerated.
20117 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20118
20119 2010-07-26 Ulrich Drepper <drepper@redhat.com>
20120
20121 * string/test-strnlen.c: New file.
20122 * string/Makefile (strop-tests): Add strnlen.
20123 * string/tester.c (test_strnlen): Add a few more test cases.
20124 * string/tst-strlen.c: Better error reporting.
20125
20126 * sysdeps/x86_64/strnlen.S: New file.
20127
20128 2010-07-24 Ulrich Drepper <drepper@redhat.com>
20129
20130 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20131 lower-latency instructions.
20132
20133 2010-07-23 Ulrich Drepper <drepper@redhat.com>
20134
20135 * string/test-strcasestr.c: New file.
20136 * string/test-strstr.c: New file.
20137 * string/Makefile (strop-tests): Add strstr and strcasestr.
20138 * string/str-two-way.h: Don't undefine MAX.
20139 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20140
20141 2010-07-21 Andreas Schwab <schwab@redhat.com>
20142
20143 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20144 strcasestr-nonascii.
20145 (CFLAGS-strcasestr-nonascii.c): Define.
20146 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20147 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20148 Remove unused attribute.
20149
20150 2010-07-20 Roland McGrath <roland@redhat.com>
20151
20152 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20153 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20154 ld.so.cache was broken. With it, there is no way to disable dsocaps
20155 like LD_HWCAP_MASK can disable hwcaps.
20156
20157 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20158
20159 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20160
20161 2010-07-16 Ulrich Drepper <drepper@redhat.com>
20162
20163 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20164 call in strcasestr.
20165 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20166 __strcasestr_sse42_nonascii.
20167 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20168 strcasestr-nonascii.c.
20169 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20170
20171 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
20172
20173 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20174 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20175 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20176 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20177
20178 2010-07-09 Ulrich Drepper <drepper@redhat.com>
20179
20180 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20181 fcntl.
20182
20183 2010-07-06 Andreas Schwab <schwab@redhat.com>
20184
20185 [BZ #11577]
20186 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20187 dl_signal_cerror.
20188
20189 2010-07-06 Ulrich Drepper <drepper@redhat.com>
20190
20191 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20192 _PC_PIPE_BUF using F_GETPIPE_SZ.
20193
20194 2010-07-05 Roland McGrath <roland@redhat.com>
20195
20196 * manual/arith.texi (Rounding Functions): Fix rint description
20197 implicit in round description.
20198
20199 2010-07-02 Ulrich Drepper <drepper@redhat.com>
20200
20201 * elf/Makefile: Fix linking for a few tests to make recent linker
20202 happy.
20203
20204 2010-06-30 Andreas Schwab <schwab@redhat.com>
20205
20206 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20207 $(common-objpfx)libc_nonshared.a.
20208
20209 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
20210
20211 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20212 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20213 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20214 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20215 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20216 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20217 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20218 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20233 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20234 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20235 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20236 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20237 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20238 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20239 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20240 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20241 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20242 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20243 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20244 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20259
20260 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20261
20262 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20263 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20264 * string/memmove.c (memmove): Renamed to ...
20265 (MEMMOVE): ...this. Default to memmove.
20266 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20267 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20268 (END_CHK): Define.
20269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20270 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20271 mempcpy-ssse3-back memmove-ssse3-back.
20272 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20273 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20274 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20275 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20276 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20277 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20278 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20279 * sysdeps/x86_64/multiarch/memmove.c: New file.
20280 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20281 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20282 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20283 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20284 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20285 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20286 Define.
20287 (index_Fast_Copy_Backward): Define.
20288 (HAS_ARCH_FEATURE): Define.
20289 (HAS_FAST_REP_STRING): Define.
20290 (HAS_FAST_COPY_BACKWARD): Define.
20291
20292 2010-06-21 Andreas Schwab <schwab@redhat.com>
20293
20294 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20295 Restore proper fallback handling.
20296
20297 2010-06-19 Ulrich Drepper <drepper@redhat.com>
20298
20299 [BZ #11701]
20300 * posix/group_member.c (__group_member): Correct checking loop.
20301
20302 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20303 OOM in getpwuid_r correctly. Return error number when the caller
20304 should return, otherwise -1.
20305 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20306 call returning > 0 value.
20307 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20308
20309 2010-06-07 Andreas Schwab <schwab@redhat.com>
20310
20311 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20312 libc_nonshared.a from targets in modules-names.
20313
20314 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20315
20316 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20317 requires it.
20318
20319 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
20320
20321 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20322 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20323 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20324 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20325
20326 2010-06-02 Andreas Schwab <schwab@redhat.com>
20327
20328 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20329
20330 2010-06-14 Ulrich Drepper <drepper@redhat.com>
20331
20332 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20333 and F_GETPIPE_SZ.
20334 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20335 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20336 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20337 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20338 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20339 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20340
20341 2010-06-14 Roland McGrath <roland@redhat.com>
20342
20343 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20344
20345 2010-06-07 Jakub Jelinek <jakub@redhat.com>
20346
20347 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20348 __REDIRECT followed by __THROW.
20349 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20350 * posix/getopt.h (getopt): Likewise.
20351
20352 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20353
20354 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20355 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20356 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20357 in AT_FLAGS.
20358 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20359 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20360
20361 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
20362
20363 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20364
20365 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20366
20367 [BZ #11640]
20368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20369 Properly check family and model.
20370
20371 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20372
20373 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20374
20375 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
20376
20377 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20378
20379 2010-05-21 Ulrich Drepper <drepper@redhat.com>
20380
20381 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20382 symbol reference.
20383
20384 2010-05-19 Andreas Schwab <schwab@redhat.com>
20385
20386 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20387 symbol reference.
20388
20389 2010-05-21 Andreas Schwab <schwab@redhat.com>
20390
20391 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20392 and internal_recvmmsg.
20393 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20394 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20395 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20396 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20397
20398 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20399 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20400 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20401
20402 2010-05-20 Andreas Schwab <schwab@redhat.com>
20403
20404 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20405
20406 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
20407
20408 POWER7 optimizations.
20409 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20410 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20411
20412 2010-05-19 Ulrich Drepper <drepper@redhat.com>
20413
20414 * version.h: Update for 2.13 development version.
20415
20416 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
20417
20418 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20419 exceptions. Return 0.
20420
20421 2010-05-07 Roland McGrath <roland@redhat.com>
20422
20423 * elf/ldconfig.c (main): Add a const.
20424
20425 2010-05-06 Ulrich Drepper <drepper@redhat.com>
20426
20427 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20428 (args_options): Add no-idn option.
20429 (ahosts_keys_int): Add idn_flags to ai_flags.
20430 (parse_option): Handle 'i' option to clear idn_flags.
20431
20432 * malloc/malloc.c (_int_free): Possible race in the most recently
20433 added check. Only act on the data if no current modification
20434 happened.
20435
20436 See ChangeLog.17 for earlier changes.