Add string IFUNC tests
[glibc.git] / ChangeLog
blobde7470c44bcca86fcbf64324c1e7f849a16c4f51
1 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3         * string/Makefile (tests-ifunc): New variable.
4         (tests): Add $(tests-ifunc).
5         * string/test-memccpy.c (TEST_NAME): New macro.
6         * string/test-memchr.c (TEST_NAME): Likewise.
7         * string/test-memcmp.c (TEST_NAME): Likewise.
8         * string/test-memcpy.c (TEST_NAME): Likewise.
9         * string/test-memmem.c (TEST_NAME): Likewise.
10         * string/test-memmove.c (TEST_NAME): Likewise.
11         * string/test-memset.c (TEST_NAME): Likewise.
12         * string/test-rawmemchr.c (TEST_NAME): Likewise.
13         * string/test-stpcpy.c (TEST_NAME): Likewise.
14         * string/test-stpncpy.c (TEST_NAME): Likewise.
15         * string/test-strcasecmp.c (TEST_NAME): Likewise.
16         * string/test-strcasestr.c (TEST_NAME): Likewise.
17         * string/test-strcat.c (TEST_NAME): Likewise.
18         * string/test-strchr.c (TEST_NAME): Likewise.
19         * string/test-strcmp.c(TEST_NAME): Likewise.
20         * string/test-strcpy.c (TEST_NAME): Likewise.
21         * string/test-strcspn.c (TEST_NAME): Likewise.
22         * string/test-strlen.c (TEST_NAME): Likewise.
23         * string/test-strncasecmp.c (TEST_NAME): Likewise.
24         * string/test-strncmp.c (TEST_NAME): Likewise.
25         * string/test-strncpy.c (TEST_NAME): Likewise.
26         * string/test-strnlen.c (TEST_NAME): Likewise.
27         * string/test-strpbrk.c (TEST_NAME): Likewise.
28         * string/test-strrchr.c (TEST_NAME): Likewise.
29         * string/test-strspn.c (TEST_NAME): Likewise.
30         * string/test-strstr.c (TEST_NAME): Likewise.
31         * string/test-bcopy-ifunc.c: New file.
32         * string/test-bzero-ifunc.c: Likewise.
33         * string/test-memccpy-ifunc.c: Likewise.
34         * string/test-memchr-ifunc.c: Likewise.
35         * string/test-memcmp-ifunc.c: Likewise.
36         * string/test-memcpy-ifunc.c: Likewise.
37         * string/test-memmem-ifunc.c: Likewise.
38         * string/test-memmove-ifunc.c: Likewise.
39         * string/test-mempcpy-ifunc.c: Likewise.
40         * string/test-memset-ifunc.c: Likewise.
41         * string/test-rawmemchr-ifunc.c: Likewise.
42         * string/test-stpcpy-ifunc.c: Likewise.
43         * string/test-stpncpy-ifunc.c: Likewise.
44         * string/test-strcasecmp-ifunc.c: Likewise.
45         * string/test-strcasestr-ifunc.c: Likewise.
46         * string/test-strcat-ifunc.c: Likewise.
47         * string/test-strchr-ifunc.c: Likewise.
48         * string/test-strchrnul-ifunc.c: Likewise.
49         * string/test-strcmp-ifunc.c: Likewise.
50         * string/test-strcpy-ifunc.c: Likewise.
51         * string/test-strcspn-ifunc.c: Likewise.
52         * string/test-strlen-ifunc.c: Likewise.
53         * string/test-strncasecmp-ifunc.c: Likewise.
54         * string/test-strncat-ifunc.c: Likewise.
55         * string/test-strncmp-ifunc.c: Likewise.
56         * string/test-strncpy-ifunc.c: Likewise.
57         * string/test-strnlen-ifunc.c: Likewise.
58         * string/test-strpbrk-ifunc.c: Likewise.
59         * string/test-strrchr-ifunc.c: Likewise.
60         * string/test-strspn-ifunc.c: Likewise.
61         * string/test-strstr-ifunc.c: Likewise.
63         * debug/Makefile (tests-ifunc): New variable.
64         (tests): Add $(tests-ifunc).
65         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
66         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
67         * debug/test-stpcpy_chk-ifunc.c: New file.
68         * debug/test-strcpy_chk-ifunc.c: Likewise.
70 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
72         [BZ #13601]
73         * elf/dl-load.c (open_verify): Retry read if the entire ELF
74         header is not read in.
76 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
78         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
79         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
80         directly.  Pass built executable to script as
81         $(built-program-cmd).
82         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
83         $testprogram without using LD_LIBRARY_PATH and $ldso.
85         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
86         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
87         $(rtld-installed-name).
88         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
89         (rtld_installed_name): Likewise.
90         (library_path): Likewise.
91         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
92         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
93         $(run-program-prefix) to tst-tables.sh.
94         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
95         it to run tst-table-from and tst-table-to.
96         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
97         Pass it to tst-table.sh.
98         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
99         $(run-program-prefix) to tst-gettext.sh.
100         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
101         tst-translit.sh.
102         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
103         tst-gettext2.sh.
104         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
105         to run tst-gettext.
106         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
107         to run tst-gettext2.
108         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
109         to run tst-translit.
110         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
111         $(run-program-prefix) to tst-mtrace.sh.
112         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
113         to run tst-mtrace.
114         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
115         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
116         $(rtld-installed-name).
117         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
118         (rtld_installed_name): Likewise.
119         (run_program_prefix): New variable.  Use it to run wordexp-test.
121         * Makeconfig (ARCH): Remove all definitions.
122         (machine): Likewise.
123         [ARCH]: Remove conditional code.
124         [!objdir]: Give error.
125         [!objdir] (objpfx): Remove.
126         [!objdir] (common-objpfx): Likewise.
127         [!objdir] (common-objdir): Likewise.
128         * configure.in (config_makefile): Remove.  Hardcode Makefile in
129         AC_CONFIG_FILES call.
130         * configure: Regenerated.
132         [BZ #13888]
133         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
134         or TMPDIR.
135         (testout): Likewise.
137         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
138         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
139         $(rtld-installed-name).
140         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
141         (rtld_installed_name): Likwise.
142         (runit): Remove function.
143         (run_getconf): New variable,  Use it for running getconf binary.
145 2012-10-19  Jim Blandy  <jimb@codesourcery.com>
146             Joseph Myers  <joseph@codesourcery.com>
148         * localedata/tst-wctype.sh (run_program_prefix): Remove variable.
149         (tst_wctype): New variable.  Use it directly to run test program
150         instead of passing test program name as argument.
152 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
154         [BZ #14716]
155         * string/test-memmem.c (check_result): New function.
156         (do_one_test): Use it.
157         (check1): New function.
158         (test_main): Use it.
160 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
162         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
164 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
166         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
167         (_G_LSEEK64): Likewise.
168         (_G_MMAP64): Likewise.
169         (_G_FSTAT64): Likewise.
170         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
171         (_G_LSEEK64): Likewise.
172         (_G_MMAP64): Likewise.
173         (_G_FSTAT64): Likewise.
174         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
175         unconditional.  Call __mmap64 directly.
176         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
177         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
178         __lseek64 directly.
179         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
180         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
181         __mmap64 directly.
182         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
183         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
184         __lseek64 directly.
185         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
186         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
187         __lseek64 directly.
188         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
189         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
190         __lseek64 directly.
191         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
192         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
193         __fxstat64 directly.
194         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
195         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
196         unconditional.
197         (freopen64) [!_G_OPEN64]: Remove conditional code.
198         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
199         unconditional.
200         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
201         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
202         unconditional.
203         (ftello64) [!_G_LSEEK64]: Remove conditional code.
204         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
205         unconditional.
206         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
207         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
208         unconditional.
209         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
210         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
211         unconditional.
212         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
213         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
214         unconditional.
215         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
216         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
217         unconditional.
218         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
220 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
222         [BZ #12140]
223         * manual/memory.texi (Malloc Tunable Parameters): Add note
224         about free list pointers overwriting some perturb bytes.
225         Wording suggested by Roland McGrath.
227 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
229         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
230         (lgamma_test): Likewise.
231         (tgamma_test): Likewise.
233 2012-10-16  Florian Weimer  <fweimer@redhat.com>
235         [BZ #14700]
236         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
237         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
239 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
241         * NEWS: Mention BZ #14716.
242         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
243         when removing AVAILABLE1_USES_J macro.
245 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
247         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
248         (__bswap_64): __uint64_t for unsigned 64-bit int.
250 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
252         * include/string.h (memmem): Declare libc hidden alias.
253         * string/memmem.c (memmem): Define libc hidden alias.
254         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
255         __read, __close instead of open, read, close.
257 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
259         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
260         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
261         global and hidden.
262         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
263         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
264         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
265         Likewise.
266         (__rawmemchr_sse2): Likewise.
267         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
268         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
269         (__strchr_sse2): Likewise.
270         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
271         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
272         (__strcasecmp_sse2): Likewise.
273         (__strncasecmp_sse2): Likewise.
274         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
275         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
276         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
277         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
278         (__strrchr_sse2): Likewise.
279         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
280         ifunc-impl-list.c.
281         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
282         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
283         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
284         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
285         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
286         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
287         * sysdeps/x86_64/multiarch/memset.S: Likewise.
288         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
289         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
290         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
291         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
292         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
293         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
294         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
295         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
296         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
297         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
298         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
299         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
300         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
301         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
302         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
303         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
304         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
305         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
306         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
307         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
308         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
309         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
310         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
312         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
313         global and hidden.
314         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
315         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
316         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
317         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
318         Likewise.
319         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
320         Likewise.
321         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
322         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
323         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
324         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
325         ifunc-impl-list.c.
326         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
327         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
328         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
329         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
330         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
331         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
332         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
333         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
334         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
335         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
336         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
337         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
338         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
339         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
340         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
341         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
342         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
343         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
344         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
345         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
346         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
347         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
348         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
349         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
350         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
351         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
352         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
353         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
354         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
355         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
356         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
357         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
358         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
359         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
360         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
361         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
362         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
363         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
364         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
365         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
366         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
368         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
369         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
370         * include/ifunc-impl-list.h: New file.
371         * misc/ifunc-impl-list.c: Likewise.
372         * misc/Makefile (routines): Add ifunc-impl-list.
373         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
374         * string/test-string.h: Include <ifunc-impl-list.h>.
375         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
376         impl_array): New variables.
377         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
378         are defined.
379         (test_init): Call __libc_ifunc_impl_list to initialize
380         func_list if TEST_IFUNC and TEST_NAME are defined.
382         * string/Makefile (strop-tests): Add bcopy and bzero.
383         * string/test-bcopy.c: New file.
384         * string/test-bzero.c: Likewise.
385         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
386         defined.
387         * string/test-memset.c: Support bzero test if TEST_BZERO is
388         defined.
389         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
390         __libc_memmove.
391         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
392         __libc_memset.
393         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
394         of memset.
396 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
398         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
399         * configure: Regenerated.
401         * Makeconfig (+link-static-before-libc): Don't include
402         $(link-static-libc).
404         * libio/libio.h (_IO_pos_t): Remove.
406 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
408         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
409         McGrath.
411 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
413         * crypt/crypt-entry.c: Include fips-private.h.
414         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
415         * crypt/md5c-test.c (main): Tolerate disabled MD5.
416         * sysdeps/unix/sysv/linux/fips-private.h: New file.
417         * sysdeps/generic/fips-private.h: New file, dummy fallback.
419 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
421         * crypt/crypt-private.h: Include stdbool.h.
422         (_ufc_setup_salt_r): Return bool.
423         * crypt/crypt-entry.c: Include errno.h.
424         (__crypt_r): Return NULL with EINVAL for bad salt.
425         * crypt/crypt_util.c (bad_for_salt): New.
426         (_ufc_setup_salt_r): Check that salt is long enough and within
427         the specified alphabet.
428         * crypt/badsalttest.c: New file.
429         * crypt/Makefile (tests): Add it.
430         ($(objpfx)badsalttest): New.
432 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
434         * NEWS: Add entry for BZ #14602.
436 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
438         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
439         type-generic.
440         * math/libm-test.inc: Update comment listing what functions and
441         macros are tested.
442         (isgreater_test): New function.
443         (isgreaterequal_test): Likewise.
444         (isless_test): Likewise.
445         (islessequal_test): Likewise.
446         (islessgreater_test): Likewise.
447         (isunordered_test): Likewise.
448         (main): Call the new functions.
450 2012-10-09  Roland McGrath  <roland@hack.frob.com>
452         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
453         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
454         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
455         * sysdeps/i386/configure: Regenerated.
456         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
457         * sysdeps/mach/configure: Regenerated.
458         * sysdeps/mach/hurd/configure: Regenerated.
459         * sysdeps/powerpc/configure: Regenerated.
460         * sysdeps/powerpc/powerpc32/configure: Regenerated.
461         * sysdeps/powerpc/powerpc64/configure: Regenerated.
462         * sysdeps/s390/s390-32/configure: Regenerated.
463         * sysdeps/s390/s390-64/configure: Regenerated.
464         * sysdeps/sh/configure: Regenerated.
465         * sysdeps/sparc/configure: Regenerated.
466         * sysdeps/unix/sysv/linux/configure: Regenerated.
467         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
468         * sysdeps/x86_64/configure: Regenerated.
470         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
471         defined.  Don't check if MAP is NULL.
473 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
475         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
476         (_G_stat64): Likewise.
477         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
478         (_G_stat64): Likewise.
479         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
480         instead of struct _G_stat64.
481         * libio/fileops.c (mmap_remap_check): Likewise.
482         (decide_maybe_mmap): Likewise.
483         (_IO_new_file_seekoff): Likewise.
484         (_IO_file_stat): Likewise.
485         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
486         _G_off64_t.
487         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
488         instead of struct _G_stat64.
489         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
491 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
493         [BZ #14602]
494         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
495         Replace with ...
496         (CHECK_EOL): New macro.
497         (two_way_short_needle): Check beginning of haystack for EOL.  Use
498         CHECK_EOL.
499         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
500         Replace with CHECK_EOL.
501         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
502         Replace with CHECK_EOL.
504 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
506         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
507         type-generic.
508         * math/libm-test.inc: Update comment listing what functions and
509         macros are tested.
510         (finite_test): New function.
511         (isinf_test): Likewise.
512         (isnan_test): Likewise.
513         (fpclassify_test): Test subnormal input.
514         (isfinite_test): Likewise.
515         (isnormal_test): Likewise.
516         (main): Call the new functions.
518 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
520         [BZ #14660]
521         * Makerules (%.dynsym): Force C locale when running
522         $(OBJDUMP) --dynamic-syms.
524 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
526         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
527         <stdint.h>.
529 2012-10-06  David S. Miller  <davem@davemloft.net>
531         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
532         upper 32-bits of the length value in %o2 since we use branch-on-register
533         tests which consider the entire 64-bit register.
535 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
537         * string/test-strstr.c (check2): Add a test for page boundary.
539 2012-10-05  David S. Miller  <davem@davemloft.net>
541         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
542         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
543         file.
544         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
545         sysdep_routines.
546         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
547         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
548         and bzero when HWCAP_SPARC_CRYPTO is present.
550 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
552         [BZ #14602]
553         * string/test-strstr.c (check2): New function.
554         (test_main): Call check2.
556         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
557         and bug-strchr1.
558         * string/bug-strcasestr1.c (do_test): Moved to ...
559         * string/test-strcasestr.c (check1): Here.  New function.
560         (do_one_test): Break out result checking code into ...
561         (check_result): This.  New function.
562         (do_one_test): Call check_result.
563         (test_main): Call check1.
564         * string/bug-strchr1.c (do_test): Moved to ...
565         * string/test-strchr.c (check1): Here.  New function.
566         (do_one_test): Break out result checking code into ...
567         (check_result): This.  New function.
568         (do_one_test): Call check_result.
569         (test_main): Call check1.
570         * string/bug-strstr1.c (main): Moved to ...
571         * string/test-strchr.c (check1): Here.  New function.
572         (do_one_test): Break out result checking code into ...
573         (check_result): This.  New function.
574         (do_one_test): Call check_result.
575         (test_main): Call check1.
576         * string/bug-strcasestr1.c: Removed.
577         * string/bug-strchr1.c: Likewise.
578         * string/bug-strstr1.c: Likewise.
580         * elf/Makefile (dl-routines): Add hwcaps.
581         * elf/dl-support.c (_dl_important_hwcaps): Removed.
582         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
583         (_dl_important_hwcaps): Moved to ...
584         * elf/dl-hwcaps.c: Here.  New file.
585         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
587         [BZ #14557]
588         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
589         if IS_IN_rtld isn't defined.
591         * elf/dl-support.c (_dl_sysinfo_map): New.
592         Include "get-dynamic-info.h" and "setup-vdso.h".
593         (_dl_non_dynamic_init): Call setup_vdso.
594         * elf/dynamic-link.h: Don't include <assert.h>.
595         (elf_get_dynamic_info): Moved to ...
596         * elf/get-dynamic-info.h: Here.  New file.
597         * elf/dynamic-link.h: Include "get-dynamic-info.h".
598         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
599         * elf/setup-vdso.h: Here.  New file.
600         * elf/rtld.c: Include "setup-vdso.h".
601         (dl_main): Call setup_vdso.
603 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
605         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
606         creal in comment listing functions tested.  List finite, isinf,
607         isnan, isless, islessequal, isgreater, isgreaterequal,
608         islessgreater, isunordered, lgamma_r and pow10 as functions and
609         macros not tested.  Mention which functions not tested are aliases
610         for other functions.  Fix typo.  Note that signs of NaNs are not
611         tested.
613         * scripts/config.guess: Update from config.git.
614         * scripts/config.sub: Likewise.
616 2012-10-04  Roland McGrath  <roland@hack.frob.com>
618         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
619         * misc/madvise.c (madvise): Renamed to __madvise.
620         Make madvise a weak alias.
621         * include/sys/mman.h: Declare __madvise.
622         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
623         * sysdeps/unix/syscalls.list
624         (madvise): Make __madvise the strong name, and madvise a weak alias.
625         * sysdeps/unix/sysv/linux/syscalls.list
626         (madvise, mmap): Remove redundant entries.
627         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
628         * malloc/malloc.c (mtrim): Likewise.
629         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
631 2012-10-03  Roland McGrath  <roland@hack.frob.com>
633         * sysdeps/mach/hurd/dl-cache.c: File removed.
634         * config.h.in (USE_LDCONFIG): New #undef.
635         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
636         * configure: Regenerated.
637         * elf/Makefile (dl-routines): Add dl-cache only under
638         [$(use-ldconfig) = yes].
639         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
640         cache on [USE_LDCONFIG].
641         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
642         [USE_LDCONFIG].
643         * elf/rtld.c (dl_main): Likewise.
645 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
647         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
648         _SC_LEVEL4_CACHE_LINESIZE.
650 2012-10-03  Roland McGrath  <roland@hack.frob.com>
652         * sysdeps/unix/bsd/confstr.h: File removed.
654 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
656         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
657         sys/sdt-config.h.
659 2012-10-02  Roland McGrath  <roland@hack.frob.com>
661         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
662         Make 'mapoff' field ElfW(Off) rather than off_t.
664 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
666         * nscd/Makefile: Remove nscd-cflags and all its users.
667         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
668         (CFLAGS-nonlib): Add compiler flags for nscd modules.
670         [BZ #10631]
671         * malloc.c (malloc_printerr): Clarify error message.
673 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
675         [BZ #14648]
676         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
677         Set bit_FMA_Usable if FMA is supported.
678         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
679         macro.
680         (bit_FMA4_Usable): Updated.
681         (index_FMA_Usable): New macro.
682         (CPUID_FMA): Likewise
683         (HAS_FMA): Defined with bit_FMA_Usable.
685 2012-10-01  Roland McGrath  <roland@hack.frob.com>
687         * bits/types.h (__swblk_t): Type removed.
688         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
689         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
690         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
691         (__SWBLK_T_TYPE): Likewise.
692         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
693         (__SWBLK_T_TYPE): Likewise.
694         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
695         (__SWBLK_T_TYPE): Likewise.
696         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
697         (__SWBLK_T_TYPE): Likewise.
699 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
700             Honza Horak <hhorak@redhat.com>
702         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
703         (xdr_mapname): Use YPMAXMAP as maxsize.
704         (xdr_peername): Use YPMAXPEER as maxsize.
705         (xdr_keydat): Use YPAXRECORD as maxsize.
706         (xdr_valdat): Use YPMAXRECORD as maxsize.
708 2012-10-01  Roland McGrath  <roland@hack.frob.com>
710         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
712         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
713         * csu/init-first.c: ... here.
714         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
715         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
716         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
717         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
718         * sysdeps/i386/init-first.c: File removed.
719         * sysdeps/sh/init-first.c: File removed.
721 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
723         [BZ #14645]
724         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
725         if x * y might underflow to zero and z is zero.
726         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
727         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
728         * math/libm-test.inc (min_subnorm_value): New variable.
729         (fma_test): Add more tests.
730         (fma_test_towardzero): Likewise.
731         (fma_test_downward): Likewise
732         (fma_test_upward): Likewise.
733         (initialize): Set min_subnorm_value.
735 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
737         [BZ #14638]
738         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
739         0 + 0.
740         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
741         mode for addition resulting in exact zero.
742         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
744         exact 0 + 0.
745         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
746         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
747         * math/libm-test.inc (fma_test): Add more tests.
748         (fma_test_towardzero): New function.
749         (fma_test_downward): Likewise.
750         (fma_test_upward): Likewise.
751         (main): Call the new functions.
753 2012-09-28  David S. Miller  <davem@davemloft.net>
755         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
757 2012-09-28  Roland McGrath  <roland@hack.frob.com>
759         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
760         instead of SIGALRM.
762         * sysdeps/gnu/_G_config.h: Moved to ...
763         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
764         * sysdeps/mach/hurd/_G_config.h: Moved to ...
765         * sysdeps/generic/_G_config.h: ... here.
767         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
769         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
771         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
772         Conditionalize target on [libnss_test1.so-version].
774         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
776         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
777         (elfobjdir): Move out of conditionals.
779         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
780         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
781         (__nss_lookup_function): Conditionalize label remove_from_tree on
782         [!DO_STATIC_NSS || SHARED], matching its only use.
784 2012-09-28  David S. Miller  <davem@davemloft.net>
786         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
787         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
788         file.
789         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
790         sysdep_routines.
791         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
792         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
793         when HWCAP_SPARC_CRYPTO is present.
795 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
797         * io/tst-mknodat.c: Create a FIFO instead of a socket.
799 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
801         [BZ #6530]
802         * stdio-common/vfprintf.c (process_string_arg): Revert
803         2000-07-22 change.
805 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
807         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
808         for testcase.
809         * stdio-common/tst-sprintf.c: Include <locale.h>
810         (main): Test sprintf's handling of incomplete multibyte
811         characters.
813 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
815         * elf/dl-runtime.c (VERSYMIDX): Removed.
816         * elf/dl-version.c (VERSYMIDX): Likewise.
817         * elf/do-rel.h (VERSYMIDX): Likewise.
818         (VALIDX): Likewise.
819         * elf/dynamic-link.h (VERSYMIDX): Likewise.
820         * elf/rtld.c (VALIDX): Likewise.
821         (ADDRIDX): Likewise.
822         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
823         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
824         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
825         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
826         (VALIDX): Likewise.
827         (ADDRIDX): Likewise.
829 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
831         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
833 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
835         [BZ #11438]
836         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
837         to global scope.
838         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
839         addresses are in the same scope as 192.0.2/24.
840         * posix/gai.conf: Document new scope table defaults.
842 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
844         [BZ #5298]
845         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
846         for ftell.  Compute offsets from write pointers instead.
847         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
849 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
851         [BZ #14543]
852         * libio/Makefile (tests): New test case tst-fseek.
853         * libio/tst-fseek.c: New test case to verify that fseek/ftell
854         combination works in wide mode.
855         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
856         state when the external buffer state changes.
858 2012-09-27  David S. Miller  <davem@davemloft.net>
860         [BZ #14376]
861         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
862         pass reloc->r_addend in as the 'high' argument to
863         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
867 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
869         * rt/tst-aio2.c: Include <pthread.h>.
870         * rt/tst-aio3.c: Likewise.
872 2012-09-27  Steve Ellcey  <sellcey@mips.com>
874         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
876 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
878         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
879         contents on [SHARED].
881 2012-09-26  Marek Polacek  <polacek@redhat.com>
883         [BZ #14530]
884         [BZ #13741]
885         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
886         for C++ and GCC <4.3 as well as for non GCC compilers.
888 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
892 2012-09-25  Roland McGrath  <roland@hack.frob.com>
894         * Makefile.in (all, install): Declare with .PHONY.
895         Reported by Michael Hope <michael.hope@linaro.org>.
897 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
899         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
900         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
901         system header.
902         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
903         Likewise.
904         (sydep_routines): Add the new and the internal functions.
905         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
906         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
908         (GLIBC_2.17): Add the new function.
909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
910         (GLIBC_2.17): Likewise.
911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
912         (GLIBC_2.17): Likewise.
913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
914         (GLIBC_2.17): Likewise.
915         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
917 2012-09-25  Alan Modra  <amodra@gmail.com>
919         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
920         Add release barrier before setting once_control to say
921         initialisation is done.  Add hints on lwarx.  Use macro in
922         place of isync.
923         (clear_once_control): Add release barrier.
925 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
927         [BZ #13629]
928         * math/s_clog.c (__clog): Handle more values close to |z| = 1
929         specially.
930         * math/s_clog10.c (__clog10): Likewise.
931         * math/s_clog10f.c (__clog10f): Likewise.
932         * math/s_clog10l.c (__clog10l): Likewise.
933         * math/s_clogf.c (__clogf): Likewise.
934         * math/s_clogl.c (__clogl): Likewise.
935         * math/Makefile (libm-calls): Add x2y2m1.
936         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
937         (__x2y2m1): Likewise.
938         (__x2y2m1l): Likewise.
939         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
940         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
941         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
942         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
943         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
944         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
945         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
946         * sysdeps/i386/fpu/libm-test-ulps: Update.
947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
949         [BZ #14621]
950         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
951         int as type of variable DEPTH.
952         (glob): Use size_t instead of int as type of variables NEWCOUNT
953         and OLD_PATHC.
955 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
957         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
958         Add s_sincosf-sse2.
959         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
960         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
961         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
962         macros for using routine as __sincosf_ia32.
963         Use macro for function declaration and weak_alias.
964         * sysdeps/i386/fpu/libm-test-ulps: Update.
966         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
967         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
969         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
970         subnormal argument.
971         * math/s_cexpf.c (__cexpf): Likewise.
972         * math/s_csinf.c (__csinf): Likewise.
973         * math/s_csinhf.c (__csinhf): Likewise.
974         * math/s_ctanf.c (__ctanf): Likewise.
975         * math/s_ctanhf.c (__ctanhf): Likewise.
976         * math/s_ccosh.c (__ccoshf): Likewise.
977         * math/s_cexp.c (__cexpl): Likewise.
978         * math/s_csin.c (__csin): Likewise.
979         * math/s_csinh.c (__csinh): Likewise.
980         * math/s_ctan.c (__ctan): Likewise.
981         * math/s_ctanh.c (ctanh): Likewise.
982         * math/s_ccoshl.c (__ccoshl): Likewise.
983         * math/s_cexpl.c (__cexpl): Likewise.
984         * math/s_csinl.c (__csinl): Likewise.
985         * math/s_csinhl.c (__csinhl): Likewise.
986         * math/s_ctanl.c (__ctanl): Likewise.
987         * math/s_ctanhl.c (__ctanhl): Likewise.
989 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
991         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
992         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
993         (_IO_off_t): Define to __off_t, not _G_off_t.
994         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
995         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
996         (_IO_wint_t): Define to wint_t, not _G_wint_t.
997         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
998         type of __dummy and __dummy2 fields.
999         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1000         (_G_ssize_t): Likewise.
1001         (_G_off_t): Likewise.
1002         (_G_pid_t): Likewise.
1003         (_G_uid_t): Likewise.
1004         (_G_wchar_t): Likewise.
1005         (_G_wint_t): Likewise.
1006         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1007         (_G_ssize_t): Likewise.
1008         (_G_off_t): Likewise.
1009         (_G_pid_t): Likewise.
1010         (_G_uid_t): Likewise.
1011         (_G_wchar_t): Likewise.
1012         (_G_wint_t): Likewise.
1013         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1014         (_G_ssize_t): Likewise.
1015         (_G_off_t): Likewise.
1016         (_G_pid_t): Likewise.
1017         (_G_uid_t): Likewise.
1018         (_G_wchar_t): Likewise.
1019         (_G_wint_t): Likewise.
1021 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1023         * malloc/arena.c: Include malloc-sysdep.h.
1024         (shrink_heap): Use check_may_shrink_heap to decide if madvise
1025         is sufficient to shrink the heap or an unmap is needed.
1026         * sysdeps/generic/malloc-sysdep.h: New file.  Define
1027         new function check_may_shrink_heap.
1028         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
1029         new function check_may_shrink_heap.
1031 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1033         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1034         comments.
1036 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
1038         * catgets/test-gencat.sh: Add "set -e".
1039         * elf/tst-pathopt.sh: Likewise.
1040         * grp/tst_fgetgrent.sh: Likewise.
1041         * iconvdata/run-iconv-test.sh: Likewise.
1042         * intl/tst-gettext.sh: Likewise.
1043         * intl/tst-gettext2.sh: Likewise.
1044         * intl/tst-gettext4.sh: Likewise.
1045         * intl/tst-gettext6.sh: Likewise.
1046         * intl/tst-translit.sh: Likewise.
1047         * io/ftwtest-sh: Likewise.
1048         * libio/test-freopen.sh: Likewise.
1049         * malloc/tst-mtrace.sh: Likewise.
1050         * posix/globtest.sh: Likewise.
1051         * posix/tst-getconf.sh: Likewise.
1052         * posix/wordexp-tst.sh: Likewise.
1053         * stdio-common/tst-printf.sh: Likewise.
1054         * stdio-common/tst-unbputc.sh: Likewise.
1055         * stdlib/tst-fmtmsg.sh: Likewise.
1056         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1057         * catgets/Makefile: Do not specify -e option when running
1058         testsuite shell scripts.
1059         * elf/Makefile: Likewise.
1060         * grp/Makefile: Likewise.
1061         * iconvdata/Makefile: Likewise.
1062         * intl/Makefile: Likewise.
1063         * io/Makefile: Likewise.
1064         * libio/Makefile: Likewise.
1065         * malloc/Makefile: Likewise.
1066         * posix/Makefile: Likewise.
1067         * stdio-common/Makefile: Likewise.
1068         * stdlib/Makefile: Likewise.
1069         * sysdeps/x86_64/Makefile: Likewise.
1071         * io/ftwtest-sh: Add copyright header.
1072         * posix/globtest.sh: Likewise.
1073         * posix/tst-getconf.sh: Likewise.
1074         * posix/wordexp-tst.sh: Likewise.
1075         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1077 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
1079         [BZ #13679]
1080         * Makeconfig (+link): Defined as $(+link-static) if
1081         $(build-shared) isn't yes.
1082         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1083         isn't yes.
1084         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1086         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1088         [BZ #14562]
1089         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1090         new chunk size with MALLOC_ALIGN_MASK.
1092 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
1094         [BZ #5044]
1095         * stdio-common/printf_fphex.c: Include <stdbool.h> and
1096         <rounding-mode.h>.
1097         (__printf_fphex): Determine rounding using get_rounding_mode and
1098         round_away.
1099         * stdio-common/tst-printf-round.c (struct hex_test): New
1100         structure.
1101         (hex_tests): New variable.
1102         (test_hex_in_one_mode): New function.
1103         (do_test): Also run tests for hex float output.
1105 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
1107         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1108         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1109         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1110         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1111         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1112         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1113         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1114         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1116 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
1118         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1119         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1120         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1121         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1123 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
1125         [BZ #14579]
1126         * elf/rtld.c (dl_main): Limit the check for self loading to normal
1127         mode only.
1128         * elf/tst-rtld-load-self.sh: New test.
1129         * elf/Makefile: Run it.
1131 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
1133         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1134         (tst-writev-ENV): Remove.
1135         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1137 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
1139         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1141 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
1143         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1144         unconditional.
1145         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1146         Likewise.
1147         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1148         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1149         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1150         Likewise.
1152 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
1154         [BZ #14587]
1155         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1156         * config.make.in (have-cpp-asm-debuginfo): Removed.
1157         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1158         * configure: Regenerated.
1160 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
1162         [BZ #5044]
1163         * stdio-common/printf_fp.c: Include <stdbool.h> and
1164         <rounding-mode.h>.
1165         (___printf_fp): Determine rounding using get_rounding_mode and
1166         round_away.
1167         * stdio-common/tst-printf-round.c: New file.
1168         * stdio-common/Makefile (tests): Add tst-printf-round.
1169         (link-libm): New variable.
1170         ($(objpfx)tst-printf-round): Depend in $(link-libm).
1172 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
1174         [BZ #14576]
1175         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1176         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1177         Likewise.
1178         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1179         Likewise.
1181 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
1183         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1184         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1185         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1186         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1188 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
1190         [BZ #14518]
1191         * include/rounding-mode.h: New file.
1192         * sysdeps/generic/get-rounding-mode.h: Likewise.
1193         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1194         * stdlib/strtod_l.c: Include <rounding-mode.h>.
1195         (MAX_VALUE): New macro.
1196         (MIN_VALUE): Likewise.
1197         (overflow_value): New function.
1198         (underflow_value): Likewise.
1199         (round_and_return): Use overflow_value and underflow_value to
1200         determine return values in overflow and underflow cases.  Use
1201         round_away to determine rounding depending on rounding mode.
1202         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1203         determine return values in overflow and underflow cases.
1204         * stdlib/tst-strtod-round.c: Include <fenv.h>.
1205         (struct test_results): New structure.
1206         (struct test): Use struct test_results to store expected results
1207         for all rounding modes.
1208         (TEST): Include expected results for all rounding modes.
1209         (test_in_one_mode): New function.
1210         (do_test): Use test_in_one_mode to compute and check results.
1211         Check results for all rounding modes.
1212         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1213         $(link-libm).
1215 2012-12-09  Allan McRae  <allan@archlinux.org>
1217         * sysdeps/i386/fpu/libm-test-ulps: Update
1219 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
1221         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1222         (_G_int32_t): Likewise.
1223         (_G_uint16_t): Likewise.
1224         (_G_uint32_t): Likewise.
1225         (_G_HAVE_BOOL): Likewise.
1226         (_G_HAVE_ATEXIT): Likewise.
1227         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1228         (_G_HAVE_IO_FILE_OPEN): Likewise.
1229         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1230         (_G_int32_t): Likewise.
1231         (_G_uint16_t): Likewise.
1232         (_G_uint32_t): Likewise.
1233         (_G_HAVE_BOOL): Likewise.
1234         (_G_HAVE_ATEXIT): Likewise.
1235         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1236         (_G_HAVE_IO_FILE_OPEN): Likewise.
1237         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1238         (_G_int32_t): Likewise.
1239         (_G_uint16_t): Likewise.
1240         (_G_uint32_t): Likewise.
1241         (_G_HAVE_BOOL): Likewise.
1242         (_G_HAVE_ATEXIT): Likewise.
1243         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1244         (_G_HAVE_IO_FILE_OPEN): Likewise.
1246 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
1248         * csu/libc-tls.c: Update copyright years.
1250 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
1252         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1253         [!_G_USING_THUNKS]: Remove conditional code.
1254         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1255         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1257         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1258         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1259         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1260         (_G_VTABLE_LABEL_PREFIX): Likewise.
1261         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1262         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1263         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1264         (_G_VTABLE_LABEL_PREFIX): Likewise.
1265         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1266         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1267         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1268         (_G_VTABLE_LABEL_PREFIX): Likewise.
1269         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1271 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
1273         * libio/Makefile: Include ../Makeconfig before tests.
1274         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1275         only if $(build-shared) is yes.
1277         * iconv/gconv_db.c: Update copyright years.
1279 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1281         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1282         unwind info if defined PIC. Fix special cases description.
1283         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1285         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1286         DP_HI_MASK entry.
1287         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1289 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
1291         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1293         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1294         is NULL.
1296         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1297         (LDLIBS-tst-chk4): This.
1298         (LDFLAGS-tst-chk5): Renamed to ...
1299         (LDLIBS-tst-chk5): This.
1300         (LDFLAGS-tst-chk6): Renamed to ...
1301         (LDLIBS-tst-chk6): This.
1302         (LDFLAGS-tst-lfschk4): Renamed to ...
1303         (LDLIBS-tst-lfschk4): This.
1304         (LDFLAGS-tst-lfschk5): Renamed to ...
1305         (LDLIBS-tst-lfschk5): This.
1306         (LDFLAGS-tst-lfschk6): Renamed to ...
1307         (LDLIBS-tst-lfschk6): This.
1309         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1310         on $(common-objpfx)soversions.mk.
1312 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
1314         [BZ #10014]
1315         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1316         example host name.
1318 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1320         * malloc/arena.c (arena_get_retry): New function that gets
1321         another arena for the caller to try its request on.
1322         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1323         current arena cannot fulfill the request.
1324         (__libc_memalign): Likewise.
1325         (__libc_memalign): Likewise.
1326         (__libc_pvalloc): Likewise.
1327         (__libc_calloc): Likewise.
1329 2012-09-05  John Tobey  <john.tobey@gmail.com>
1331         [BZ #13542]
1332         * manual/arith.texi (Operations on Complex): Fix description
1333         of carg branch cut.
1335 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
1337         [BZ #10014]
1338         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1339         host name.
1341         [BZ #10038]
1342         * manual/memory.texi (Memory): Make order of menu items match
1343         order of sections.
1345 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1347         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1348         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
1349         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1351 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1353         * csu/libc-tls.c (static_dtv): Renamed to ...
1354         (_dl_static_dtv): This.  Make it global.
1355         (_dl_initial_dtv): Removed.
1356         (__libc_setup_tls): Updated.
1357         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1358         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1359         DL_INITIAL_DTV.
1361 2012-09-06  Petr Machata  <pmachata@redhat.com>
1363         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1364         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1365         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1366         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1368 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1370         [BZ #14545]
1371         * csu/libc-tls.c (_dl_initial_dtv): New variable.
1372         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1373         freeing dtv[-1].
1375 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1377         [BZ #14544]
1378         * Makeconfig (link-static-before-libc): Replace $(+prector)
1379         with $(+prectorT).
1380         (link-static-after-libc): Replace $(+postctor) with
1381         $(+postctorT).
1382         (link-bounded): Replace $(+prector)/$(+postctor) with
1383         $(+prectorT)/$(+postctorT).
1384         (+prectorT): New macro.
1385         (+postctorT): Likewise.
1387 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
1389         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1390         (round_str): Handle values above the maximum for IBM long double
1391         as inexact.
1392         * stdlib/tst-strtod-round.c (tests): Regenerated.
1394 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1396         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1397         assembler flag.
1398         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1399         zarch_nohighgprs around the zarch optimized routines.
1400         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1401         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1402         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1403         for zarch.
1405 2012-09-05  David S. Miller  <davem@davemloft.net>
1407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1409         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1410         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1411         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1412         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1413         entries.
1415 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
1417         * malloc/arena.c: Fold copyright years.
1418         * malloc/mcheck.c, malloc/memusage.c: Likewise.
1420 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
1422         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1424 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
1426         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
1428 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
1430         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1431         change internal state upon failure.
1433 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
1435         * malloc/mcheck.c (mcheck_check_all): Fix typo.
1436         * malloc/memusage.c (mmap): Likewise.
1437         (mmap64, mremap): Likewise.  Adjust name in comment.
1439 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1441         * libio/fileops.c: Fix typos in comments.
1442         * libio/oldfileops.c: Likewise.
1443         * libio/wfileops.c: Likewise.
1445 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1447         [BZ #1349]
1448         * malloc/Makefile (tests): Add tst-malloc-usable test case.
1449         (tst-malloc-usable-ENV): Set environment for test case.
1450         * malloc/hooks.c (malloc_check_get_size): New function to get
1451         requested size.
1452         * malloc/malloc.c (musable): Use malloc_check_get_size.
1453         * malloc/tst-malloc-usable.c: New test case.
1455 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
1457         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1459 2012-09-05  Allan McRae  <allan@archlinux.org>
1461         [BZ #13966]
1462         * configure.in (CXX_SYSINCLUDES): Use compiler output to
1463         determine header location.
1464         * configure: Regenerated.
1466 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
1468         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1469         float format.
1470         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
1471         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1472         format.
1473         (test): Regenerate.
1475 2012-09-04  David S. Miller  <davem@davemloft.net>
1477         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1478         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1479         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1481 2012-09-04  Florian Weimer  <fweimer@redhat.com>
1483         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1484         failures.
1486         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1488 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
1490         [BZ #9914]
1491         * libio/iogetdelim.c: Include <limits.h>.
1492         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1493         + len + 1 would overflow.
1495 2012-09-03  Andreas Jaeger  <aj@suse.de>
1497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1498         * sysdeps/i386/fpu/libm-test-ulps: Update.
1500 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1502         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1503         Add s_sinf-sse2, s_conf-sse2.
1505         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1506         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1507         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1508         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1510         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1511         for using routine as __sinf_ia32.
1512         Use macro for function declaration and weak_alias.
1513         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1514         for using routine as __cosf_ia32.
1515         Use macro for function declaration and weak_alias.
1517         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1518         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1520         * sysdeps/x86_64/fpu/s_sinf.S: New file.
1521         * sysdeps/x86_64/fpu/s_cosf.S: New file.
1522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1524         * math/libm-test.inc (cos_test): Add more test cases.
1525         (sin_test): Likewise.
1526         (sincos_test): Likewise.
1528 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1530         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1531         (IFUNC_RESOLVE): Make pointers to the specialized implementations
1532         hidden.
1533         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1535 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
1537         [BZ #14538]
1538         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1539         first element of the GOT.
1540         (elf_machine_load_address): Return the difference between
1541         the runtime address of _DYNAMIC and elf_machine_dynamic ().
1543 2012-09-01  Allan McRae  <allan@archlinux.org>
1545         [BZ #13412]
1546         * configure.in (AWK): Require gawk version 3.0 or later.
1547         * configure: Regenerated.
1549 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
1551         * sysdeps/unix/sysv/linux/kernel-features.h
1552         (__ASSUME_POSIX_CPU_TIMERS): Remove.
1553         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1554         [__NR_clock_getres]: Make code unconditional.
1555         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1556         (clock_getcpuclockid): Remove code left unreachable by removal of
1557         conditionals.
1558         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1559         code unconditional.
1560         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1561         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1562         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1563         Make code unconditional.
1564         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1565         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1566         * sysdeps/unix/sysv/linux/clock_settime.c
1567         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1568         conditional code.
1569         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1570         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1572 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
1574         [BZ #14476]
1575         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1576         scripts/test-installation.pl.
1578         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1579         and $ld_so_version if it is set.
1581 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1583         [BZ #14516]
1584         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1585         failure if reading from procfs failed.
1586         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1588 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
1590         * sysdeps/unix/sysv/linux/kernel-features.h
1591         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1592         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1593         Remove conditional code.
1594         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1595         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1596         Remove conditional code.
1597         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1598         * sysdeps/unix/sysv/linux/i386/fxstat.c
1599         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1600         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1601         * sysdeps/unix/sysv/linux/i386/fxstatat.c
1602         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1603         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1604         * sysdeps/unix/sysv/linux/i386/lxstat.c
1605         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1606         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1607         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1608         Remove conditional code.
1609         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1610         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1611         Remove conditional code.
1612         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1613         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1614         <kernel-features.h>.
1615         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1616         Remove.
1617         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1618         Remove conditional code.
1619         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1620         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1621         Remove conditional.
1623 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
1625         [BZ #5400]
1626         * NEWS: Add fixed bug number.
1628 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
1630         [BZ #14519]
1631         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1632         underflowing exponent in case of negative sign.
1633         * stdlib/tst-strtod-round-data: Add more tests.
1634         * stdlib/tst-strtod-round.c (tests): Regenerated.
1636         [BZ #3479]
1637         * stdlib/strtod_l.c (NDIG): Remove.
1638         (HEXNDIG): Likewise.
1639         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1640         smallest representable value.
1641         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1642         lie within an exact representation of 1/2 ulp of the result.
1643         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1644         unconditionally.
1645         (TENS_P9_IDX): Define unconditionally.
1646         (TENS_P9_SIZE): Likewise.
1647         (TENS_P10_IDX): Likewise.
1648         (TENS_P10_SIZE): Likewise.
1649         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1650         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1651         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1652         entries for 10^2^13 and 10^2^14.
1653         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1654         (TENS_P13_IDX): Define.
1655         (TENS_P13_SIZE): Likewise.
1656         (TENS_P14_IDX): Likewise.
1657         (TENS_P14_SIZE): Likewise.
1658         (_fpioconst_pow10): Change array size to
1659         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
1660         unconditional.
1661         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1662         1024]: Add entries for 10^2^13 and 10^2^14.
1663         [LAST_POW10 > _LAST_POW10]: Remove #error.
1664         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1665         (_fpioconst_pow10): Change array size to
1666         FPIOCONST_POW10_ARRAY_SIZE.
1667         * stdlib/gen-fpioconst.c: New file.
1668         * stdlib/gen-tst-strtod-round.c: Likewise.
1669         * stdlib/tst-strtod-round-data: Likewise.
1670         * stdlib/tst-strtod-round.c: Likewise.
1671         * stdlib/Makefile (tests): Add tst-strtod-round.
1673         [BZ #14459]
1674         * stdlib/strtod_l.c: Include <stdint.h>.
1675         (NDEBUG): Do not define.
1676         (round_and_return): Change EXPONENT parameter to type intmax_t.
1677         Rearrange calculations to avoid internal overflow possibilities.
1678         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1679         Rearrange calculations to avoid internal overflow possibilities.
1680         Assert that number fits inside MPNSIZE limbs.
1681         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1682         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
1683         calculations and add assertions to avoid internal overflow
1684         possibilities.  Add casts to avoid signed/unsigned operations.
1685         * stdlib/tst-strtod-overflow.c: New file.
1686         * stdlib/Makefile (tests): Add tst-strtod-overflow.
1688 2012-08-25  Marek Polacek  <polacek@redhat.com>
1690         * time/time.h: Fix some typos in comments.
1692 2012-08-23  Roland McGrath  <roland@hack.frob.com>
1694         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1695         * posix/tst-rfc3484-2.c: Likewise.
1696         * posix/tst-rfc3484-3.c: Likewise.
1698 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
1700         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1701         (EF_ARM_ABI_FLOAT_HARD): Likewise.
1703 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
1705         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1706         #include of fxstatat64.c.
1708 2012-08-22  Roland McGrath  <roland@hack.frob.com>
1710         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1711         * shadow/getspent_r.c: Likewise.
1712         * shadow/getspnam.c: Likewise.
1713         * shadow/getspnam_r.c: Likewise.
1714         * gshadow/getsgent.c: Likewise.
1715         * gshadow/getsgent_r.c: Likewise.
1716         * gshadow/getsgnam.c: Likewise.
1717         * gshadow/getsgnam_r.c: Likewise.
1718         * inet/getnetbyad.c: Likewise.
1719         * inet/getnetbyad_r.c: Likewise.
1720         * inet/getnetbynm.c: Likewise.
1721         * inet/getnetbynm_r.c: Likewise.
1722         * inet/getnetent.c: Likewise.
1723         * inet/getnetent_r.c: Likewise.
1724         * inet/getproto.c: Likewise.
1725         * inet/getproto_r.c: Likewise.
1726         * inet/getprtent.c: Likewise.
1727         * inet/getprtent_r.c: Likewise.
1728         * inet/getprtname.c: Likewise.
1729         * inet/getprtname_r.c: Likewise.
1730         * inet/getrpcbyname.c: Likewise.
1731         * inet/getrpcbyname_r.c: Likewise.
1732         * inet/getrpcbynumber.c: Likewise.
1733         * inet/getrpcbynumber_r.c: Likewise.
1734         * inet/getrpcent.c: Likewise.
1735         * inet/getrpcent_r.c: Likewise.
1736         * inet/getaliasent.c: Likewise.
1737         * inet/getaliasent_r.c: Likewise.
1738         * inet/getaliasname.c: Likewise.
1739         * inet/getaliasname_r.c: Likewise.
1740         * nscd/getgrgid_r.c: Likewise.
1741         * nscd/getgrnam_r.c: Likewise.
1742         * nscd/gethstbyad_r.c: Likewise.
1743         * nscd/gethstbynm3_r.c: Likewise.
1744         * nscd/getpwnam_r.c: Likewise.
1745         * nscd/getpwuid_r.c: Likewise.
1746         * nscd/getsrvbynm_r.c: Likewise.
1747         * nscd/getsrvbypt_r.c: Likewise.
1748         * nscd/gai.c: Likewise.
1750         * configure.in (build_nscd): New substituted variable, set
1751         by --disable-build-nscd and defaults to $use_nscd.
1752         * configure: Regenerated.
1753         * config.make.in (build-nscd): New substituted variable.
1754         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1755         Change conditional to require [$(build-nscd) = yes] as well.
1756         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1758         [BZ# 13696]
1759         * configure.in (use_nscd): New substituted variable, set by
1760         --disable-nscd.  If enabled, define USE_NSCD.
1761         * configure: Regenerated.
1762         * config.h.in: Add USE_NSCD.
1763         * config.make.in (use-nscd): New substituted variable.
1764         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1765         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1766         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1767         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1768         (CFLAGS-getgrnam_r.c): Likewise.
1769         (CFLAGS-initgroups.c): Likewise.
1770         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1771         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1772         Variables removed.
1773         * inet/getnetgrent_r.c
1774         (nscd_setnetgrent): New function, broken out of ...
1775         (setnetgrent): ... here.  Call it.
1776         (innetgr): Conditionalize nscd bits on [USE_NSCD].
1777         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1778         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1779         * nscd/Makefile (routines, aux): Move definitions after include of
1780         Makeconfig.  Conditionalize on [$(use-nscd) != no].
1781         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1782         Conditionalize on [USE_NSCD].
1783         (is_nscd, nscd_init_cb): Likewise.
1784         (nss_load_library): Conditionalize init callback on [USE_NSCD].
1785         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1786         * nss/nss_db/db-init.c: Likewise.
1787         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1788         [USE_NSCD].
1789         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1790         (make_request): Use it.
1791         (cache_valid_p): New function.
1792         (__check_pf): Use it.
1793         * NEWS: Add item for --disable-nscd.
1795 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
1797         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1798         to support sed >= 4.2.1-20-ga9bf076.
1799         * configure: Regenerated.
1801 2012-08-22  Roland McGrath  <roland@hack.frob.com>
1803         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1804         Conditionalize whole body on [IREL].
1806 2012-08-22  Jeff Law <law@redhat.com>
1808         [BZ #14505]
1809         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1810         if the family is PF_UNSPEC.
1812 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
1814         * Makerules (lib-version): Rename from V.
1815         (install-lib-nosubdir): Change V to lib-version.
1817 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
1819         [BZ #14252]
1820         * powerpc32/power6/wcschr.c: New file.
1821         * powerpc32/power6/wcscpy.c: New file.
1822         * powerpc32/power6/wcsrchr.c: New file.
1823         * powerpc64/power6/wcschr.c: New file.
1824         * powerpc64/power6/wcscpy.c: New file.
1825         * powerpc64/power6/wcsrchr.c: New file.
1827 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
1829         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1830         (two_way_short_needle): Use it.
1831         * string/strstr.c (AVAILABLE1_USES_J): Define.
1832         * string/strcasestr.c: Likewise.
1834         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1835         array references.
1836         * string/strcasestr.c (TOLOWER): Make side-effect safe.
1838         [BZ #11607]
1839         * NEWS: Add an entry.
1840         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1841         define their defaults.
1842         (two_way_short_needle): Detect end-of-string on-the-fly.
1843         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1844         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1845         * string/bug-strcasestr1.c: New test.
1846         * string/Makefile: Run it.
1848 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
1850         [BZ #11607]
1851         * string/str-two-way.h (two_way_short_needle): Optimize matching of
1852         the first character.
1854 2012-08-21  Roland McGrath  <roland@hack.frob.com>
1856         * csu/elf-init.c (__libc_csu_irel): Function removed.
1857         * csu/libc-start.c (apply_irel): New function.
1858         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1860 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
1862         * sysdeps/unix/sysv/linux/kernel-features.h
1863         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1864         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1865         <kernel-features.h>.
1866         [__NR_fadvise64_64]: Make code unconditional.
1867         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1868         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1869         !__NR_fadvise64_64)]: Likewise.
1870         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1871         !__NR_fadvise64_64))]: Likewise.
1872         [__NR_fadvise64]: Make code unconditional.
1873         [!__NR_fadvise64]: Remove conditional code.
1874         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1875         <kernel-features.h>.
1876         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1877         unconditional.
1878         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1879         conditional code.
1880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1881         not include <kernel-features.h>.
1882         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1883         unconditional.
1884         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1885         conditional code.
1886         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1887         include <kernel-features.h>.
1888         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1889         unconditional.
1890         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1891         conditional code.
1893 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
1895         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1896         slight instruction rearrangements per scrollpipe analysis.
1897         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1899 2012-08-20  Roland McGrath  <roland@hack.frob.com>
1901         * manual/syslog.texi (syslog; vsyslog, closelog):
1902         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1903         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1905         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1906         DSOCAPS to match condition on defining it.
1908 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
1910         * sysdeps/unix/sysv/linux/kernel-features.h
1911         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1913         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1914         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1916         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1917         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1919         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1920         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1922         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1923         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1925         * sysdeps/unix/sysv/linux/kernel-features.h
1926         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1927         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1928         unconditional.
1929         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1930         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1931         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1932         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1933         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1934         Make code unconditional.
1935         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1936         (__mmap64) [!__NR_mmap2]: Likewise.
1937         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1938         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1939         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1940         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1941         [__NR_mmap2]: Make code unconditional.
1942         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1943         (__mmap64) [!__NR_mmap2]: Likewise.
1945 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1947         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1949 2012-08-18  Andreas Jaeger  <aj@suse.de>
1951         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1953 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
1955         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1956         * include/unistd.h (__have_sock_cloexec): Likewise.
1957         (__have_pipe2): Likewise.
1958         (__have_dup3): Likewise.
1960 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
1962         [BZ #9685]
1963         * include/unistd.h (__have_pipe2): Change define into an extern int.
1964         (__have_dup3): Likewise.
1965         * socket/have_sock_cloexec.c: Include fcntl.h.
1966         (__have_pipe2): New variable.
1967         (__have_dup3): Likewise.
1969 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
1971         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1973 2012-08-17  Marek Polacek  <polacek@redhat.com>
1975         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1976         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1978 2012-08-17  Roland McGrath  <roland@hack.frob.com>
1980         * configure.in: Add AC_SUBST for sysheaders.
1981         * configure: Regenerated.
1982         * config.make.in (sysheaders): New substituted variable.
1984         * sysdeps/unix/mkfifo.c: Moved ...
1985         * sysdeps/posix/mkfifo.c: ... here.
1986         * sysdeps/unix/mkfifoat.c: Moved ...
1987         * sysdeps/posix/mkfifoat.c: ... here.
1989         * sysdeps/unix/utime.c: Moved ...
1990         * sysdeps/posix/utime.c: ... here.
1992         * sysdeps/unix/time.c: Moved ...
1993         * sysdeps/posix/time.c: ... here.
1994         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1995         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
1997         * sysdeps/unix/nice.c: Moved ...
1998         * sysdeps/posix/nice.c: ... here.
2000         * sysdeps/unix/alarm.c: Moved ...
2001         * sysdeps/posix/alarm.c: ... here.
2003         * intl/Makefile ($(codeset_mo)): Depend on the input file.
2005 2012-08-17  Jeff Law <law@redhat.com>
2007         * intl/Makefile (codeset_mo): New variable.
2008         ($(codeset_mo)): New target.
2009         (tst-codeset.out): Depend on that.  Remove explicit rule.
2010         (tst-gettext3.out, tst-gettext5.out): Likewise.
2011         (LOCPATH-ENV, tst-codeset-ENV): New variables.
2012         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2013         * intl/tst-codeset.sh: Remove.
2014         * intl/tst-gettext3.sh: Likewise.
2015         * intl/tst-gettext5.sh: Likewise.
2017 2012-08-17  Roland McGrath  <roland@hack.frob.com>
2019         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
2020         * sysdeps/unix/syscalls.list: ... here.
2022         * sysdeps/posix/getaddrinfo.c
2023         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2024         (gaiconf_init, gaiconf_reload): Use them.
2025         [!_STATBUF_ST_NSEC]
2026         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2027         Define using time_t rather than struct timespec.
2029         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2030         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2031         Macros removed.
2032         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2033         [!NO_THREADS].
2034         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2035         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2036         Likewise.
2038         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2039         __libc_cleanup_push argument.
2041         * bits/param.h: New file.
2042         * misc/sys/param.h: New file.
2043         * include/sys/param.h: New file.
2044         * misc/Makefile (headers): Add bits/param.h.
2045         * sysdeps/generic/sys/param.h: File removed.
2046         * sysdeps/unix/sysv/linux/bits/param.h: New file.
2047         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2048         * sysdeps/mach/hurd/bits/param.h: New file.
2049         * sysdeps/mach/hurd/sys/param.h: New file.
2051         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2052         last change.
2054         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2055         [_IO_MTSAFE_IO].
2056         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2057         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2058         New macros.
2060         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2061         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2062         rather than -D_IO_MTSAFE_IO conditionally.
2063         * stdio-common/Makefile (CPPFLAGS): Likewise.
2064         * wcsmbs/Makefile (CPPFLAGS): Likewise.
2065         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2066         Use $(libio-mtsafe).
2067         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2068         of -D_IO_MTSAFE_IO.
2069         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2070         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2071         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2072         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2073         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2074         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2075         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2076         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2077         (CFLAGS-fread_u_chk.c): Likewise.
2078         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2079         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2080         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2081         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2082         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2083         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2084         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2085         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2086         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2088         * libio/Makefile: Test [$(libc-reentrant) = yes]
2089         instead of [$(filter %REENTRANT, $(defines)) nonempty].
2091         * Makeconfig
2092         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2093         * sysdeps/pthread/configure: File removed.
2094         * sysdeps/pthread/Makeconfig: New file.
2095         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2096         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2098 2012-08-16  Gary Benson  <gbenson@redhat.com>
2100         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2101         unmapping the first object in a namespace.
2103 2012-08-16  Roland McGrath  <roland@hack.frob.com>
2105         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2106         (__internal_setnetgrent): ... this.  Add internal_function to
2107         definition.  Add libc_hidden_def.
2108         (setnetgrent): Update caller.
2109         (internal_endnetgrent): Renamed to ...
2110         (__internal_endnetgrent): ... this.  Add internal_function to
2111         definition.  Add libc_hidden_def.
2112         (endnetgrent): Update caller.
2113         (internal_getnetgrent_r): Renamed to ...
2114         (__internal_getnetgrent_r): ... this.  Add internal_function to
2115         definition.  Add libc_hidden_def.
2116         (__getnetgrent_r): Update caller.
2117         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
2119 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
2121         * stdlib/longlong.h: Update from GCC.
2123 2012-08-16  Roland McGrath  <roland@hack.frob.com>
2125         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2126         on _QL, which is set by umul_ppmm but never used.
2127         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2128         variables, which are set by GMP macros but never used.
2129         * stdio-common/_itowa.c (_itowa): Likewise.
2130         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2131         * stdlib/mod_1.c (mpn_mod_1): Likewise.
2133 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
2135         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2136         struct La_sh_regs is not constant.
2137         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2138         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2139         and struct La_sparc64_regs are not constant.
2141 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
2143         * sysdeps/unix/sysv/linux/kernel-features.h
2144         (__ASSUME_POSIX_TIMERS): Remove.
2145         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2146         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2147         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2148         Make code unconditional.
2149         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2150         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2151         Make code unconditional.
2152         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2153         * sysdeps/unix/sysv/linux/clock_nanosleep.c
2154         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2155         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2156         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2157         Make code unconditional.
2158         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2159         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2160         (__libc_missing_posix_timers): Remove.
2162 2012-08-15  Roland McGrath  <roland@hack.frob.com>
2164         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2165         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2167         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2169         * elf/dl-sym.c: Include <stdlib.h>.
2171         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2172         constants, which avoids warnings in 32-bit builds.
2174         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2175         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2177         * misc/lseek.c: File moved to ...
2178         * io/lseek.c: ... here.
2180         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2182         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2183         shifting LEN more than 31 bits at once.
2185 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2187         [BZ #14195]
2188         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2189         segmentation fault for a case of two empty input strings.
2190         * string/test-strncasecmp.c (check1): Renamed to...
2191         (bz12205): ...this.
2192         (bz14195): Add new testcase for two empty input strings and N > 0.
2193         (test_main): Call new testcase, adapt for renamed function.
2195 2012-08-15  Andreas Jaeger  <aj@suse.de>
2197         [BZ #14090]
2198         * crypt/md5test2.c: New test, based on test supplied by Serge
2199         Belyshev <belyshev@depni.sinp.msu.ru>.
2200         * crypt/Makefile (xtests): Add md5test-giant..
2201         * crypt/Makefile ($(objpfx)md5test-giant): Add.
2203 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
2205         [BZ #14090]
2206         * crypt/md5.c (md5_process_block): Don't assume the buffer
2207         length is less than 2**32.
2208         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2209         length is less than 2**64.
2211 2012-08-15  Roland McGrath  <roland@hack.frob.com>
2213         * string/str-two-way.h: Include <sys/param.h>.
2214         (MAX): Macro removed.
2216         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2217         Move #define and #undef of memmove to just before and after
2218         including <string.h>.
2220         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2221         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2222         and after including <string.h>.  Move declarations of
2223         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2224         to before #include "string/memmove.c".
2226         * include/dirent.h: Declare __getdirentries.
2228         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2229         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2231 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
2233         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2234         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2235         * sysdeps/i386/configure: Regenerated.
2236         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2237         STABS_CURRENT_FILE, and STABS_FUN.
2238         (END): Remove call to STABS_FUN_END.
2239         (STABS_CURRENT_FILE1): Delete.
2240         (STABS_CURRENT_FILE): Likewise.
2241         (STABS_FUN): Likewise.
2242         (STABS_FUN_END): Likewise.
2243         (STABS_FUN2): Likewise.
2244         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2245         * sysdeps/x86_64/configure: Regenerated.
2247 2012-08-14  Roland McGrath  <roland@hack.frob.com>
2249         * elf/dl-open.c: Include <atomic.h>.
2250         * elf/dl-lookup.c: Likewise.
2252 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
2254         * sysdeps/unix/sysv/linux/kernel-features.h
2255         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2256         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2257         unconditionally.
2258         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2259         unconditionally.
2260         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2261         condition on __ASSUME_CLONE_THREAD_FLAGS.
2263 2012-08-14  Andreas Jaeger  <aj@suse.de>
2265         * sysdeps/i386/fpu/libm-test-ulps: Update.
2267 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
2269         * include/atomic.h (atomic_exchange_and_add): Split into ...
2270         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2271         New atomic macros.
2273 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
2275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2277 2012-08-13  Jeff Law <law@redhat.com>
2279         * manual/stdio.texi (snprintf): Clarify handling of the trailing
2280         null byte in the output string.
2282 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
2284         * sysdeps/unix/sysv/linux/kernel-features.h
2285         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2286         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2287         (__ASSUME_ARG_MAX_STACK_BASED): Define.
2288         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2289         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2290         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
2291         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2293 2012-08-09  Jeff Law <law@redhat.com>
2295         [BZ #13939]
2296         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2297         When avoid_arena is set, don't retry in the that arena.  Pick the
2298         next one, whatever it might be.
2299         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2300         (arena_lock): Pass in new parameter to arena_get2.
2301         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2302         arena_get2.
2303         (__libc_malloc): Unify retrying after main arena failure with
2304         __libc_memalign version.
2305         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2307 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
2309         [BZ #14166]
2310         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2311         to __redirect_strstr.
2312         (__strstr_sse42): Use typeof __redirect_strstr.
2313         (__strstr_ia32): Likewise.
2314         (__libc_strstr): New prototype.
2315         (strstr): Renamed to ...
2316         (__libc_strstr): This.
2317         (strstr): New strong alias of __libc_strstr.
2318         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2319         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2320         __redirect_time.
2321         Include <time.h>.
2322         (__libc_time): New prototype.
2323         (time_ifunc): Replace time with __libc_time.
2324         (time): New strong alias and hidden definition of __libc_time.
2325         (__GI_time): Remove strong alias.
2326         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2327         Include <stddef.h>.
2328         (memmove): Redefined to __redirect_memmove.
2329         (__memmove_sse2): Use typeof __redirect_memmove.
2330         (__memmove_ssse3): Likewise.
2331         (__memmove_ssse3_back): Likewise.
2332         (__libc_memmove): New prototype.
2333         (memmove): Renamed to ...
2334         (__libc_memmove): This.
2335         (memmove): New strong alias of __libc_memmove.
2337 2012-08-08  Mark Salter  <msalter@redhat.com>
2339         * elf/elf.h
2340         (R_MN10300_TLS_GD): Define.
2341         (R_MN10300_TLS_LD): Likewise.
2342         (R_MN10300_TLS_LDO): Likewise.
2343         (R_MN10300_TLS_GOTIE): Likewise.
2344         (R_MN10300_TLS_IE): Likewise.
2345         (R_MN10300_TLS_LE): Likewise.
2346         (R_MN10300_TLS_DTPMOD): Likewise.
2347         (R_MN10300_TLS_DTPOFF): Likewise.
2348         (R_MN10300_TLS_TPOFF): Likewise.
2349         (R_MN10300_SYM_DIFF): Likewise.
2350         (R_MN10300_ALIGN): Likewise.
2351         (R_MN10300_NUM): Update.
2353 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
2355         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2356         Remove.
2358 2012-08-08  Roland McGrath  <roland@hack.frob.com>
2360         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2362         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2363         sysdeps/unix -> sysdeps/posix move.
2364         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2366 2012-08-07      Allan McRae     <allan@archlinux.org>
2368         [BZ #14303]
2369         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2370         (SUNOS_CPP): Likewise.
2371         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2372         not found.
2373         (open_input): Call CPP using execvp.
2375 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
2377         * sysdeps/unix/sysv/linux/kernel-features.h
2378         (__ASSUME_PROT_GROWSUPDOWN): Remove.
2379         (__ASSUME_NO_CLONE_DETACHED): Likewise.
2380         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2381         (__ASSUME_WAITID_SYSCALL): Likewise.
2382         * sysdeps/unix/sysv/linux/dl-execstack.c
2383         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2384         code unconditional.
2385         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2386         conditional code.
2387         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2388         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2389         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2390         code.
2391         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2392         unconditional.
2393         [__ASSUME_WAITID_SYSCALL]: Likewise.
2394         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2396 2012-08-07  Roland McGrath  <roland@hack.frob.com>
2398         * sysdeps/unix/closedir.c: Renamed to ...
2399         * sysdeps/posix/closedir.c: ... here.
2400         * sysdeps/unix/dirfd.c: Renamed to ...
2401         * sysdeps/posix/dirfd.c: ... here.
2402         * sysdeps/unix/dirstream.h: Renamed to ...
2403         * sysdeps/posix/dirstream.h: ... here.
2404         * sysdeps/unix/fdopendir.c: Renamed to ...
2405         * sysdeps/posix/fdopendir.c: ... here.
2406         * sysdeps/unix/opendir.c: Renamed to ...
2407         * sysdeps/posix/opendir.c: ... here.
2408         * sysdeps/unix/readdir.c: Renamed to ...
2409         * sysdeps/posix/readdir.c: ... here.
2410         * sysdeps/unix/readdir_r.c: Renamed to ...
2411         * sysdeps/posix/readdir_r.c: ... here.
2412         * sysdeps/unix/rewinddir.c: Renamed to ...
2413         * sysdeps/posix/rewinddir.c: ... here.
2414         * sysdeps/unix/seekdir.c: Renamed to ...
2415         * sysdeps/posix/seekdir.c: ... here.
2416         * sysdeps/unix/telldir.c: Renamed to ...
2417         * sysdeps/posix/telldir.c: ... here.
2418         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2419         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2420         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2421         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2423         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2424         * bits/fcntl.h: ... here.
2426         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2427         not 0.
2428         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2429         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2430         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2431         (struct flock): Move l_start, l_len to the beginning.
2432         Use __pid_t for l_pid.
2433         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2434         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2435         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2436         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2437         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2438         [__USE_LARGEFILE64] (struct flock64): New type.
2439         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2441         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2442         * bits/dirent.h: ... here.
2444         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2445         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2447 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
2449         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2450         Change from 2.6.0 to 2.6.16.
2451         * sysdeps/unix/sysv/linux/configure: Regenerated.
2452         * sysdeps/unix/sysv/linux/kernel-features.h
2453         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2454         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2455         version.
2456         (__ASSUME_UTIMES): Likewise.
2457         (__ASSUME_CLONE_STOPPED): Remove.
2458         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2459         architectures, not kernel version.
2460         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2461         (__ASSUME_NO_CLONE_DETACHED): Likewise.
2462         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2463         (__ASSUME_WAITID_SYSCALL): Likewise.
2464         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2465         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2466         * README: State 2.6.16 as minimum Linux kernel version.  Do not
2467         refer to older versions.
2469 2012-08-06  Roland McGrath  <roland@hack.frob.com>
2471         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2472         Define alphasort64 as an alias.
2473         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2474         Define versionsort64 as an alias.
2475         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2476         Define scandir64 as an alias.
2477         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2478         Define scandirat64 as an alias.
2479         * dirent/alphasort64.c (alphasort64):
2480         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2481         * dirent/versionsort64.c: Likewise.
2482         * dirent/scandir64.c: Likewise.
2483         * dirent/scandirat64.c: Likewise.
2484         * sysdeps/wordsize-64/alphasort.c: File removed.
2485         * sysdeps/wordsize-64/alphasort64.c: File removed.
2486         * sysdeps/wordsize-64/scandir.c: File removed.
2487         * sysdeps/wordsize-64/scandir64.c: File removed.
2488         * sysdeps/wordsize-64/scandirat.c: File removed.
2489         * sysdeps/wordsize-64/scandirat64.c: File removed.
2490         * sysdeps/wordsize-64/versionsort.c: File removed.
2491         * sysdeps/wordsize-64/versionsort64.c: File removed.
2492         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2493         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2494         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2495         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2496         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2497         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2498         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2499         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2501         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2502         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2503         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2504         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2505         [defined __arch64__ || defined __sparcv9]
2506         (__INO_T_MATCHES_INO64_T): New macro.
2507         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2508         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2509         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2510         * sysdeps/unix/sysv/linux/bits/dirent.h
2511         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2512         (_DIRENT_MATCHES_DIRENT64): New macro.
2514         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2515         Define lockf64 as an alias.
2516         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2517         Define fseeko64 as an alias.
2518         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2519         Define ftello64 as an alias.
2520         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2521         Define _IO_fgetpos64 and fgetpos64 as aliases.
2522         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2523         Define _IO_fsetpos64 and fsetpos64 as aliases.
2524         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2525         Conditionalize body on this.
2526         * libio/fseeko64.c: Likewise.
2527         * libio/ftello64.c: Likewise.
2528         * libio/iofgetpos64.c: Likewise.
2529         * libio/iofsetpos64.c: Likewise.
2530         * sysdeps/wordsize-64/lockf.c: File removed.
2531         * sysdeps/wordsize-64/lockf64.c: File removed.
2532         * sysdeps/wordsize-64/fseeko.c: File removed.
2533         * sysdeps/wordsize-64/fseeko64.c: File removed.
2534         * sysdeps/wordsize-64/ftello.c: File removed.
2535         * sysdeps/wordsize-64/ftello64.c: File removed.
2536         * sysdeps/wordsize-64/iofgetpos.c: File removed.
2537         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2538         * sysdeps/wordsize-64/iofsetpos.c: File removed.
2539         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2540         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2541         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2542         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2543         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2544         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2545         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2546         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2547         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2548         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2549         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2551         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2552         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2553         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2554         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2555         [defined __arch64__ || defined __sparcv9]
2556         (__OFF_T_MATCHES_OFF64_T): New macro.
2557         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2558         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2559         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2560         (__OFF_T_MATCHES_OFF64_T): New macro.
2562 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
2564         * stdlib/secure-getenv.c (__secure_getenv): Replace
2565         GLIBC_2_16 with GLIBC_2_17.
2567 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
2569         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2570         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2572 2012-08-03  David S. Miller  <davem@davemloft.net>
2574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2576 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
2578         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2579         Remove.
2580         (__ASSUME_CORRECT_SI_PID): Likewise.
2581         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2582         (__ASSUME_TMPFS_NAME): Likewise.
2583         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2584         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2585         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2586         (HAVE_AUX_SECURE): Make definition unconditional.
2587         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2588         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2590 2012-08-03  Roland McGrath  <roland@hack.frob.com>
2592         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2593         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2594         * sysdeps/mach/hurd/eloop-threshold.h: New file.
2595         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2596         __eloop_threshold instead of SYMLOOP_MAX.
2598         * sysdeps/generic/eloop-threshold.h: New file.
2599         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2600         of MAXSYMLINKS.
2601         * elf/chroot_canon.c (chroot_canon): Likewise.
2603 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
2605         [BZ #13717]
2606         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2607         Change to 2.6.0 everywhere.
2608         * sysdeps/unix/sysv/linux/configure: Regenerated.
2609         * sysdeps/unix/sysv/linux/kernel-features.h
2610         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2611         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2612         kernel versions.
2613         (__ASSUME_POSIX_TIMERS): Define unconditionally.
2614         (__ASSUME_FUTEX_REQUEUE): Remove.
2615         (__ASSUME_STATFS64): Define unconditionally.
2616         (__ASSUME_AT_SECURE): Likewise.
2617         (__ASSUME_CORRECT_SI_PID): Likewise.
2618         (__ASSUME_TGKILL): Define without depending on kernel version for
2619         i386.
2620         (__ASSUME_UTIMES): Likewise.
2621         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2622         kernel version.
2623         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2624         (__ASSUME_TMPFS_NAME): Likewise.
2625         * README: Update reference to Linux kernel versions.
2627 2012-08-02  Marek Polacek  <polacek@redhat.com>
2629         [BZ# 14150]
2630         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
2631         libc_cv_asm_type_prefix with %.
2632         * configure: Regenerated.
2633         * include/libc-symbols.h: Remove comment about
2634         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2635         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2636         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2637         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2638         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2639         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2640         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2641         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2642         * elf/tst-unique2mod1.c: Likewise.
2643         * elf/tst-unique1mod2.c: Likewise.
2644         * elf/tst-unique1mod1.c: Likewise.
2645         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2646         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2647         Replace ASM_TYPE_DIRECTIVE with .type.
2648         * sysdeps/s390/s390-64/sysdep.h: Likewise.
2649         * sysdeps/i386/sysdep.h: Likewise.
2650         * sysdeps/x86_64/sysdep.h: Likewise.
2651         * sysdeps/sh/sysdep.h: Likewise.
2652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2653         Do not define ASM_TYPE_DIRECTIVE.
2654         * sysdeps/powerpc/sysdep.h: Likewise.
2655         * sysdeps/powerpc/powerpc32/sysdep.h:
2656         Replace ASM_TYPE_DIRECTIVE with .type.
2657         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2658         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2659         * sysdeps/i386/fpu/e_powf.S: Likewise.
2660         * sysdeps/i386/fpu/e_expl.S: Likewise.
2661         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2662         * sysdeps/i386/fpu/e_acosh.S: Likewise.
2663         * sysdeps/i386/fpu/e_pow.S: Likewise.
2664         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2665         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2666         * sysdeps/i386/fpu/s_expm1.S: Likewise.
2667         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2668         * sysdeps/i386/fpu/e_log2.S: Likewise.
2669         * sysdeps/i386/fpu/e_log2l.S: Likewise.
2670         * sysdeps/i386/fpu/e_scalb.S: Likewise.
2671         * sysdeps/i386/fpu/e_powl.S: Likewise.
2672         * sysdeps/i386/fpu/e_log10f.S: Likewise.
2673         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2674         * sysdeps/i386/fpu/e_logl.S: Likewise.
2675         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2676         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2677         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2678         * sysdeps/i386/fpu/e_log2f.S: Likewise.
2679         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2680         * sysdeps/i386/fpu/e_log.S: Likewise.
2681         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2682         * sysdeps/i386/fpu/e_logf.S: Likewise.
2683         * sysdeps/i386/fpu/e_log10l.S: Likewise.
2684         * sysdeps/i386/fpu/e_atanh.S: Likewise.
2685         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2686         * sysdeps/i386/fpu/e_log10.S: Likewise.
2687         * sysdeps/i386/fpu/s_frexp.S: Likewise.
2688         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2689         * sysdeps/i386/fpu/s_asinh.S: Likewise.
2690         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2691         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2692         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2693         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2694         * sysdeps/i386/i686/strtok.S: Likewise.
2695         * sysdeps/i386/i386-mcount.S: Likewise.
2696         * sysdeps/i386/strtok.S: Likewise.
2697         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2698         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2699         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2700         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2701         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2702         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2703         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2704         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2705         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2706         * sysdeps/x86_64/_mcount.S: Likewise.
2707         * sysdeps/x86_64/strtok.S: Likewise.
2708         * sysdeps/sh/_mcount.S: Likewise.
2710 2012-08-01  Roland McGrath  <roland@hack.frob.com>
2712         * libio/iofopen.c: Include <fcntl.h>.
2713         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2714         (_IO_fopen64, fopen64): Define as aliases.
2715         * libio/iofopen64.c: Include <fcntl.h>.
2716         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2717         Conditionalize body on this.
2718         * sysdeps/wordsize-64/iofopen.c: File removed.
2719         * sysdeps/wordsize-64/iofopen64.c: File removed.
2721 2012-08-01  Marek Polacek  <polacek@redhat.com>
2723         * libc/Makeconfig: Use elf in place of binfmt-subdir.
2724         Use dlfcn directly instead of a variable.
2725         (binfmt-subdir): Do not define.
2726         (dlfcn): Likewise.
2728 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
2730         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2731         Remove all definitions.
2732         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2733         <kernel-features.h>.
2734         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2735         (miss_F_GETOWN_EX): Remove all definitions.
2736         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2737         macro definition.
2738         [!__ASSUME_FCNTL64]: Remove conditional code.
2739         [__ASSUME_FCNTL64]: Make code unconditional.
2740         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2741         <kernel-features.h>.
2742         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2743         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2744         (lockf64) [__NR_fcntl64]: Make code unconditional.
2745         (lockf64) [__ASSUME_FCNTL64]: Likewise.
2747         * sysdeps/unix/sysv/linux/kernel-features.h
2748         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2749         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2750         Make code unconditional.
2751         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2752         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2754         [__NR_vfork]: Make code unconditional.
2755         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2756         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2758         [__NR_vfork]: Make code unconditional.
2759         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2760         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2762 2012-08-01  Roland McGrath  <roland@hack.frob.com>
2764         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2765         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2767         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2768         Define mkstemp64 as an alias.
2769         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2770         Define mkstemps64 as an alias.
2771         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2772         Define mkostemp64 as an alias.
2773         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2774         Define mkostemps64 as an alias.
2775         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2776         Conditionalize body on this.
2777         * misc/mkostemp64.c: Likewise.
2778         * misc/mkostemps64.c: Likewise.
2779         * misc/mkstemps64.c: Likewise.
2780         * sysdeps/wordsize-64/mkstemp64.c: File removed.
2781         * sysdeps/wordsize-64/mkostemp64.c: File removed.
2782         * sysdeps/wordsize-64/mkostemp.c: File removed.
2783         * sysdeps/wordsize-64/mkstemp.c: File removed.
2784         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2785         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2786         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2787         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2789         [BZ #14138]
2790         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2791         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2792         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2793         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2795         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2796         compat_symbol macros from <shlib-compat.h> rather than the underlying
2797         default_symbol_version and symbol_version macros, so that DEFAULT
2798         lines in shlib-versions are respected.
2799         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2801 2012-08-01  Florian Weimer  <fweimer@redhat.com>
2803         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2804         Declare with warn_unused_result.
2805         (setgid, setregid, setegid, setresgid): Likewise.
2806         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2807         Likewise.
2808         * WUR-REPORT: Remove set*id functions.
2810 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
2812         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2814 2012-07-31  Roland McGrath  <roland@hack.frob.com>
2816         * include/sys/socket.h (__libc_accept, __libc_accept4):
2817         Add attribute_hidden.
2818         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2820         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2821         use of PTR_MANGLE.
2822         * inet/getnetgrent_r.c (setup): Likewise.
2824         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2826 2012-07-31  David S. Miller  <davem@davemloft.net>
2828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2830 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
2832         [BZ #13629]
2833         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2834         value between 1.0 and 2.0 and smaller part has absolute value less
2835         than 1.0.
2836         * math/s_clog10.c (__clog10): Likewise.
2837         * math/s_clog10f.c (__clog10f): Likewise.
2838         * math/s_clog10l.c (__clog10l): Likewise.
2839         * math/s_clogf.c (__clogf): Likewise.
2840         * math/s_clogl.c (__clogl): Likewise.
2841         * math/libm-test.inc (clog_test): Add more tests.
2842         (clog10_test): Likewise.
2843         * sysdeps/i386/fpu/libm-test-ulps: Update.
2844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2846 2012-07-31  Florian Weimer  <fweimer@redhat.com>
2848         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2849         Exit with zero in case no suitable GID is found, and write a
2850         message to standard error.
2852 2012-07-30  Roland McGrath  <roland@hack.frob.com>
2854         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2855         rather than to 1.
2856         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2857         (MAXPATHLEN): Removed.
2858         (NOGROUP, NODEV): New macros.
2859         (setbit, clrbit, isset, isclr): New macros.
2860         (howmany, roundup, powerof2): New macros.
2861         (DEV_BSIZE): New macro.
2863         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2864         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2866         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2867         definition on [!__NO_LONG_DOUBLE_MATH].
2869         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2870         PTR_MANGLE and PTR_DEMANGLE.
2872         * socket/accept4.c (accept4): Rename to __libc_accept4.
2873         Define accept4 as a weak alias.
2875         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2876         on [_DIRENT_HAVE_D_TYPE].
2877         * io/ftw.c (ftw_dir): Likewise.
2879         * io/xmknod.c (__xmknod): Don't check PATH for being null.
2881         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2883         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2884         Use the BSD numbers rather than the arbitrary ones we had.
2885         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2886         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2887         (SIGXCPU, SIGXFSZ): New macros.
2888         (_NSIG): Now 32.
2890         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2891         initializer on [_LIBC_REENTRANT].
2893         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2894         definitions inside [_POSIX_MAPPED_FILES].
2896         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2898         * dirent/opendir.c: Include <fcntl.h>.
2900         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2901         (__libc_getspecific): Likewise.
2902         (__libc_key_create): Likewise.
2904         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2905         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2906         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2907         (tmpfile64): Define as alias.
2908         * sysdeps/wordsize-64/tmpfile.c: File removed.
2909         * sysdeps/wordsize-64/tmpfile64.c: File removed.
2910         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2911         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2913         * stdio-common/vfscanf.c: Include <stdbool.h>.
2914         * nss/makedb.c: Likewise.
2915         * stdio-common/_i18n_number.h: Likewise.
2916         * argp/argp-help.c: Likewise.
2917         * posix/wordexp.c: Likewise.
2918         * sysdeps/posix/spawni.c: Likewise.
2919         * nss/nss_files/files-initgroups.c: Likewise.
2920         * stdio-common/reg-modifier.c: Include <stdlib.h>.
2921         * nss/nss_files/files-initgroups.c: Likewise.
2922         * nss/nss_db/db-netgrp.c: Likewise.
2923         * nss/nss_db/db-initgroups.c: Likewise.
2924         * io/fchmodat.c: Include <sys/stat.h>.
2926         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2927         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2929         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2930         [HAVE_MMAP].
2932         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2933         Add multiple inclusion protection.
2935 2012-07-27  David S. Miller  <davem@davemloft.net>
2937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2939 2012-07-27  Gary Benson  <gbenson@redhat.com>
2941         [BZ #14298]
2942         * elf/rtld.c: Include <stap-probe.h>.
2943         (dl_main): Added static probes "init_start" and "init_complete".
2944         * elf/dl-load.c: Include <stap-probe.h>.
2945         (lose): Take new parameter "nsid".
2946         Added static probe "map_failed".
2947         (_dl_map_object_from_fd): Pass namespace id to lose.
2948         Added static probe "map_start".
2949         (open_verify): Pass namespace id to lose.
2950         * elf/dl-open.c: Include <stap-probe.h>.
2951         (dl_open_worker) Added static probes "map_complete", "reloc_start"
2952         and "reloc_complete".
2953         * elf/dl-close.c: Include <stap-probe.h>.
2954         (_dl_close_worker): Added static probes "unmap_start" and
2955         "unmap_complete".
2956         * elf/rtld-debugger-interface.txt: New file documenting the above.
2958 2012-07-26  Roland McGrath  <roland@hack.frob.com>
2960         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2961         rather than a string variable.
2962         * sunrpc/rpc_main.c (h_output): Likewise.
2963         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2965 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
2967         * inet/check_native.c: New file.
2969 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
2971         [BZ #13629]
2972         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2973         if larger part has absolute value 1.0.
2974         * math/s_clog10.c (__clog10): Likewise.
2975         * math/s_clog10f.c (__clog10f): Likewise.
2976         * math/s_clog10l.c (__clog10l): Likewise.
2977         * math/s_clogf.c (__clogf): Likewise.
2978         * math/s_clogl.c (__clogl): Likewise.
2979         * math/libm-test.inc (clog_test): Add more tests.
2980         (clog10_test): Likewise.
2981         * sysdeps/i386/fpu/libm-test-ulps: Update.
2982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2984         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2985         (pltexit): Likewise.
2986         (La_regs): Likewise.
2987         (La_retval): Likewise.
2988         (int_retval): Likewise.
2989         Update #error for removed macros to refer only to definitions in
2990         tst-audit.h.
2991         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2992         macro.
2993         (pltexit): Likewise.
2994         (La_regs): Likewise.
2995         (La_retval): Likewise.
2996         (int_retval): Likewise.
2997         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2998         macro.
2999         (pltexit): Likewise.
3000         (La_regs): Likewise.
3001         (La_retval): Likewise.
3002         (int_retval): Likewise.
3003         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3004         macro.
3005         (pltexit): Likewise.
3006         (La_regs): Likewise.
3007         (La_retval): Likewise.
3008         (int_retval): Likewise.
3009         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3010         macro.
3011         (pltexit): Likewise.
3012         (La_regs): Likewise.
3013         (La_retval): Likewise.
3014         (int_retval): Likewise.
3015         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3016         macro.
3017         (pltexit): Likewise.
3018         (La_regs): Likewise.
3019         (La_retval): Likewise.
3020         (int_retval): Likewise.
3021         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3022         macro.
3023         (pltexit): Likewise.
3024         (La_regs): Likewise.
3025         (La_retval): Likewise.
3026         (int_retval): Likewise.
3027         * sysdeps/generic/tst-audit.h: Update comment to refer only to
3028         macro definitions in tst-audit.h.
3029         * sysdeps/i386/tst-audit.h: New file.
3030         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3031         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3032         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3033         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3034         * sysdeps/sh/tst-audit.h: Likewise.
3035         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3036         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3037         * sysdeps/x86_64/tst-audit.h: Likewise.
3039 2012-07-26  Andreas Jaeger  <aj@suse.de>
3041         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3042         ptrace.
3044         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3045         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3046         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3047         PTRACE_O_MASK.
3048         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3049         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3050         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3052         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3053         value.
3055         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3056         _sigsys.
3057         (si_call_addr, si_syscall, si_arch): Define new macro.
3058         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3059         _sigsys.
3060         (si_call_addr, si_syscall, si_arch): Define new marcro.
3061         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3062         _sigsys.
3063         (si_call_addr, si_syscall, si_arch): Define new macro.
3064         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3065         _sigsys.
3066         (si_call_addr, si_syscall, si_arch): Define new macro.
3068 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
3070         [BZ #13717]
3071         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3072         Change to 2.4.21 where previously 2.4.1.
3073         * sysdeps/unix/sysv/linux/configure: Regenerated.
3074         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3075         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3076         Linux kernel version.
3077         (__ASSUME_STD_AUXV): Remove.
3078         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3079         kernel version.
3080         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3081         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3082         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3083         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3084         (__ASSUME_NETLINK_SUPPORT): Likewise.
3085         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3086         (__no_netlink_support): Remove conditional definition.
3087         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3088         Remove.
3089         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3090         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3091         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3092         (if_nameindex_ioctl): Remove.
3093         (if_nameindex_netlink): Do not handle __no_netlink_support.
3094         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3095         code.
3096         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3097         Remove conditional code.
3098         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3099         code.
3100         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3101         unconditional.
3102         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3103         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3104         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3105         Remove.
3106         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3107         [!__ASSUME_STD_AUXV]: Remove conditional code.
3108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3109         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3110         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3112         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3113         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3114         code.
3115         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3117         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3118         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3119         conditional code.
3120         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3122         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3123         code.
3124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3125         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3126         conditional code.
3127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3128         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3129         code unconditional.
3130         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3131         conditional code.
3132         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3133         unconditional.
3134         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3135         conditional code.
3136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3137         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3138         unconditional.
3139         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3140         conditional code.
3141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3142         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3143         code unconditional.
3144         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3145         conditional code.
3146         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3147         unconditional.
3148         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3149         conditional code.
3150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3151         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3152         code unconditional.
3153         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3154         conditional code.
3155         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3156         unconditional.
3157         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3158         conditional code.
3160 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
3162         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3163         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3164         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3165         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3166         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3167         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3168         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3169         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3170         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3171         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3172         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3173         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3174         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3175         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3176         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3177         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3178         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3179         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3180         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3181         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3182         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3183         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3184         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3186 2012-07-25  Florian Weimer  <fweimer@redhat.com>
3188         * Versions.def: Add GLIBC_2.17.
3189         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3190         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3191         Introduce __libc_secure_getenv.
3192         * stdlib/Versions (2.17): Add secure_getenv
3193         (GLIBC_PRIVATE): Add __libc_secure_getenv.
3194         * stdlib/secure-getenv.c: Rename __secure_getenv to
3195         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
3196         symbol __secure_getenv for GLIBC_2.0.
3197         * stdlib/tst-secure-getenv.c: New.
3198         * stdlib/Makefile (tests): Add testcase.
3199         * manual/startup.texi (Environment Access): Document
3200         secure_getenv.
3201         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3202         __libc_secure_getenv.
3203         * inet/ruserpass.c (ruserpass): Likewise.
3204         * malloc/mtrace.c (mtrace): Likewise.
3205         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3206         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3207         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3208         * sysdeps/posix/tempname.c: Likewise.  Evaluate
3209         HAVE_SECURE_GETENV.
3210         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3211         __secure_getenv to __libc_secure_getenv.
3212         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3214         Likewise.
3215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3216         Likewise.
3217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3219         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3225 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
3227         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3228         (struct La_i86_retval): Likewise.
3229         (struct La_x86_64_regs): Likewise.
3230         (struct La_x86_64_retval): Likewise.
3231         (struct La_x32_regs): Likewise.
3232         (struct La_x32_retval): Likewise.
3233         (struct La_ppc32_regs): Likewise.
3234         (struct La_ppc32_retval): Likewise.
3235         (struct La_ppc64_regs): Likewise.
3236         (struct La_ppc64_retval): Likewise.
3237         (struct La_sh_regs): Likewise.
3238         (struct La_sh_retval): Likewise.
3239         (struct La_s390_32_regs): Likewise.
3240         (struct La_s390_32_retval): Likewise.
3241         (struct La_s390_64_regs): Likewise.
3242         (struct La_s390_64_retval): Likewise.
3243         (struct La_sparc32_regs): Likewise.
3244         (struct La_sparc32_retval): Likewise.
3245         (struct La_sparc64_regs): Likewise.
3246         (struct La_sparc64_retval): Likewise.
3247         (struct audit_ifaces): Remove architecture-specific pltenter and
3248         pltexit members.
3249         * sysdeps/i386/ldsodefs.h: New file.
3250         * sysdeps/powerpc/ldsodefs.h: Likewise.
3251         * sysdeps/s390/ldsodefs.h: Likewise.
3252         * sysdeps/sh/ldsodefs.h: Likewise.
3253         * sysdeps/sparc/ldsodefs.h: Likewise.
3254         * sysdeps/x86_64/ldsodefs.h: Likewise.
3256 2012-07-25  Marek Polacek  <polacek@redhat.com>
3258         [BZ #6808]
3259         * math/libm-test.inc (yn_test): Add another test.
3260         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3261         to ERANGE when the result is +-Inf.
3262         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3263         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3264         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3265         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3267 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
3269         * conform/data/time.h-data (NULL): Use macro-constant.  Require
3270         equal to 0.
3271         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
3272         clock_t.
3273         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
3275 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
3277         * configure.in <sysdeps resolving>: Correct printing
3278         Implies_before.
3279         * configure: Regenerate.
3281 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
3283         * math/w_ilogb.c: Include <limits.h>.
3284         * math/w_ilogbl.c: Likewise.
3286 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
3288         * manual/lang.texi (__va_copy): Document primarily as ISO C99
3289         va_copy.  Document allowing for unavailable va_copy only as
3290         pre-C99 compatibility.
3291         * manual/string.texi (Copying and Concatenation): Use va_copy
3292         instead of __va_copy in concat example.
3294 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
3296         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3297         (__sendto): Use create_address_port.  Initialize APORT and deallocate
3298         it if not null.
3300         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3301         with O_NOLINK passed to __file_name_lookup.
3303         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3304         with O_NOLINK passed to __file_name_lookup.
3306         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3307         negative N or less than NGIDS.
3309         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3310         type to string_t.  Set ERANGE as errno and return it if NAME is not big
3311         enough.  Use memcpy instead of strncpy.
3313 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
3315         * elf/Makefile (check-data): Remove.
3316         (localplt.data): New vpath directive.
3317         ($(objpfx)check-localplt.out): Use localplt.data from vpath
3318         instead of $(check-data).
3319         * scripts/data/localplt-generic.data: Move to ...
3320         * sysdeps/generic/localplt.data: ... here.
3321         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3322         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3323         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3325         ... here.
3326         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3328         ... here.
3329         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3331         ... here.
3332         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3334         ... here.
3335         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3337         ... here.
3338         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3340         ... here.
3342 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3344         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3345         PPC32 and PPC64 files.
3346         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3347         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3349 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3351         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3352         __makecontext_ret to ...
3353         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3354         ... here and call exit if uc_link is NULL.  New file.
3355         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3356         __makecontext_ret.S.
3357         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3358         __makecontext_ret to ...
3359         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3360         ... here and call exit if uc_link is NULL.  New file.
3361         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3362         __makecontext_ret.S.
3364 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3366         * elf/elf.h (R_390_IRELATIVE): New definition.
3367         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3368         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
3369         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3370         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3371         (elf_machine_lazy_rel): Likewise.
3372         * sysdeps/s390/dl-irel.h: New file.
3373         * sysdeps/s390/s390-64/memcpy.S: New asm code.
3374         * sysdeps/s390/s390-64/memset.S: New asm code.
3375         * sysdeps/s390/s390-64/memcmp.S: New asm code.
3376         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3377         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3378         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3379         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3380         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3381         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3382         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3383         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3384         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3385         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3386         * sysdeps/s390/s390-32/memcpy.S: New asm code.
3387         * sysdeps/s390/s390-32/memset.S: New asm code.
3388         * sysdeps/s390/s390-32/memcmp.S: New asm code.
3390 2012-07-17  Marek Polacek  <polacek@redhat.com>
3392         [BZ #14349]
3393         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3394         * sysdeps/s390/s390-64/configure.in: Likewise.
3395         * sysdeps/sparc/configure.in: Likewise.
3396         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3397         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3398         * sysdeps/i386/configure.in: Likewise.
3399         * sysdeps/x86_64/configure.in: Likewise.
3400         * sysdeps/sh/configure.in: Likewise.
3401         * sysdeps/s390/s390-32/configure: Regenerated.
3402         * sysdeps/s390/s390-64/configure: Likewise.
3403         * sysdeps/x86_64/configure: Likewise.
3404         * sysdeps/sh/configure: Likewise.
3405         * sysdeps/powerpc/powerpc64/configure: Likewise.
3406         * sysdeps/powerpc/powerpc32/configure: Likewise.
3407         * sysdeps/sparc/configure: Likwise.
3408         * sysdeps/i386/configure: Likewise.
3410         * elf/dl-open.c: Comment fixes.
3412 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
3414         * Makefile [CXX] (check-data): Remove.
3415         [CXX] (c++-types.data): New vpath directive.
3416         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3417         vpath.  Do not allow for C++ type data being missing.
3418         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3419         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3420         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3421         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3422         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3423         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3424         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3426         ... here.
3427         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3429         ... here.
3430         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3432         ... here.
3433         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3435         ... here.
3436         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3438         ... here.
3439         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3441         ... here.
3442         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3444         ... here.
3445         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3446         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3448         * elf/tls-macros.h (TLS_LE): Move architecture-specific
3449         definitions to architecture-specific files.
3450         (TLS_IE): Likewise.
3451         (TLS_LD): Likewise.
3452         (TLS_GD): Likewise.
3453         * sysdeps/i386/tls-macros.h: New file.
3454         * sysdeps/powerpc/tls-macros.h: Likewise.
3455         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3456         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3457         * sysdeps/sh/tls-macros.h: Likewise.
3458         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3459         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3460         * sysdeps/x86_64/tls-macros.h: Likewise.
3462 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
3464         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3465         zero value for regular exit case.
3467         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3468         (__start_context): Preserve zero value for regular exit case.
3470 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
3471             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3473         * manual/setjmp.texi (setcontext): Clarify normal process
3474         termination when uc_link is the null pointer.
3475         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3476         exit call.
3478 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
3480         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3481         preprocessor.  Test for each exception mask separately.
3483 2012-07-16  Andreas Jaeger  <aj@suse.de>
3485         * po/ru.po: Update from translation team.
3487 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
3489         * conform/data/string.h-data (NULL): Use macro-constant.  Require
3490         equal to 0.
3491         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3492         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3493         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3494         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3495         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3497 2012-07-13  Andreas Jaeger  <aj@suse.de>
3499         * po/fr.po: Update from translation team.
3501 2012-07-12  Marek Polacek  <polacek@redhat.com>
3503         [BZ #14173]
3504         * math/libm-test.inc (yn_test): Add test for BZ #14173.
3505         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3506         loop condition.
3508 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
3510         [BZ #13717]
3511         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3512         Change to 2.4.1 where previously 2.4.0.
3513         * sysdeps/unix/sysv/linux/configure: Regenerated.
3514         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3515         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3516         version.
3517         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3518         (__ASSUME_AT_CLKTCK): Remove.
3519         (__ASSUME_AT_PAGESIZE): Likewise.
3520         (__ASSUME_AT_XID): Likewise.
3521         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3522         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3523         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3524         unconditionally.
3525         (HAVE_AUX_PAGESIZE): Likewise.
3526         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3527         [__ASSUME_AT_CLKTCK]: Make code unconditional.
3528         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3530 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
3532         [BZ #14307]
3533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3534         the temporary buffer used to invoke __gethostbyname2_r,
3535         __gethostbyaddr_r and gethostbyname4_r to make room for struct
3536         host_data / struct gaih_addrtuple.
3537         * resolv/nss_dns/dns-host.c (global scope): Move definition of
3538         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3539         header file nss/nsswitch.h.
3540         * nss/nsswitch.h (global scope): Add definition of implementation
3541         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3542         resolv/nss_dns/dns-host.c).
3544 2012-07-11  Andreas Jaeger  <aj@suse.de>
3546         * po/fr.po: Update from translation team.
3548         * po/sv.po: Update from translation team
3549         * po/fr.po: Another update from translation team.
3551 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3553         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3554         for subnormals or multiply small sinh result by itself.
3555         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3558 2012-07-11  David S. Miller  <davem@davemloft.net>
3560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3562 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
3564         [BZ #14347]
3565         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3566         (INTERNAL_MARK): Shift it here.
3568 2012-07-10  Marek Polacek  <polacek@redhat.com>
3570         [BZ #14151]
3571         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
3572         libc_cv_asm_global_directive with .globl.
3573         * configure: Regenerated.
3574         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3575         with .globl.
3576         * sysdeps/i386/configure: Regenerated.
3577         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3578         with .globl.
3579         * sysdeps/x86_64/configure: Regenerated.
3580         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3581         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3582         * elf/tst-unique2mod2.c: Likewise.
3583         * elf/tst-unique2mod1.c: Likewise.
3584         * elf/tst-unique1mod2.c: Likewise.
3585         * elf/tst-unique1mod1.c: Likewise.
3586         * sysdeps/s390/s390-32/sysdep.h: Likewise.
3587         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3588         * sysdeps/s390/s390-64/sysdep.h: Likewise.
3589         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3590         * sysdeps/mach/sysdep.h: Likewise.
3591         * sysdeps/i386/sysdep.h: Likewise.
3592         * sysdeps/i386/i386-mcount.S: Likewise.
3593         * sysdeps/x86_64/_mcount.S: Likewise.
3594         * sysdeps/x86_64/sysdep.h: Likewise.
3595         * sysdeps/sh/_mcount.S: Likewise.
3596         * sysdeps/sh/sysdep.h: Likewise.
3597         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3598         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3599         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3600         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3601         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3602         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3603         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3604         * locale/localeinfo.h: Likewise.
3605         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3606         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3608 2012-07-09  Roland McGrath  <roland@hack.frob.com>
3610         [BZ #14336]
3611         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3612         system".
3613         * manual/message.texi (The Uniforum approach): Likewise.
3614         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3615         (glibc iconv Implementation): Likewise.
3617 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
3619         [BZ #14337]
3620         * math/s_clog.c (__clog): Avoid scaling a value down where that
3621         could result in underflow.
3622         * math/s_clog10.c (__clog10): Likewise.
3623         * math/s_clog10f.c (__clog10f): Likewise.
3624         * math/s_clog10l.c (__clog10l): Likewise.
3625         * math/s_clogf.c (__clogf): Likewise.
3626         * math/s_clogl.c (__clogl): Likewise.
3627         * math/libm-test.inc (clog_test): Add more tests.
3628         (clog10_test): Likewise.
3629         * sysdeps/i386/fpu/libm-test-ulps: Update.
3630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3632 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
3634         [BZ #14283]
3635         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3636         by 7 not 8 to examine high bit of fractional part.
3638         [BZ #14042]
3639         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3640         for call to __mcount_internal.
3641         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3642         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3643         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3645 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
3647         [BZ #14154]
3648         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3649         approximation for values within 0x1p-13f of an odd multiple of
3650         pi/4.
3651         * math/libm-test.inc (tan_test): Do not allow spurious underflow
3652         exception.  Add more tests.
3653         * sysdeps/i386/fpu/libm-test-ulps: Update.
3655         [BZ #6778]
3656         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3657         inputs and return -1 for them.  Do not check for +Inf in case not
3658         reachable for +Inf.
3659         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3660         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3661         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3662         and return -1 for them.  Do not check for +Inf in case not
3663         reachable for +Inf.
3664         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3665         define.
3666         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3667         and return -1 for them.  Do not check for +Inf in case not
3668         reachable for +Inf.
3669         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
3670         spurious underflow.
3671         * sysdeps/i386/fpu/libm-test-ulps: Update.
3672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3674 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
3676         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3678 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
3680         [BZ #14157]
3681         [BZ #14331]
3682         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3683         could result in spurious underflow.  Scale down values above
3684         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3685         * math/s_csqrtf.c (__csqrtf): Likewise.
3686         * math/s_csqrtl.c (__csqrtl): Likewise.
3687         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
3688         spurious underflow.
3689         * sysdeps/i386/fpu/libm-test-ulps: Update.
3690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3692 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3694         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3695         xopen-msg.sed.
3696         * catgets/xopen-msg.awk: New file.
3697         * catgets/xopen-msg.sed: Removed.
3699         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3700         po2text.sed.
3701         * intl/po2test.awk: New file.
3702         * intl/po2test.sed: Removed.
3704 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
3706         [BZ #14328]
3707         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3708         or multiply small sinh result by itself.
3709         * math/s_ctanf.c (__ctanf): Likewise.
3710         * math/s_ctanh.c (__ctanh): Likewise.
3711         * math/s_ctanhf.c (__ctanhf): Likewise.
3712         * math/s_ctanhl.c (__ctanhl): Likewise.
3713         * math/s_ctanl.c (__ctanl): Likewise.
3714         * math/libm-test.inc (ctan_test_tonearest): New function.
3715         (ctan_test_towardzero): Likewise.
3716         (ctan_test_downward): Likewise.
3717         (ctan_test_upward): Likewise.
3718         (ctanh_test_tonearest): Likewise.
3719         (ctanh_test_towardzero): Likewise.
3720         (ctanh_test_downward): Likewise.
3721         (ctanh_test_upward): Likewise.
3722         (main): Call these new functions.
3723         * sysdeps/i386/fpu/libm-test-ulps: Update.
3724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3726 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
3728         * .gitignore: Delete /ports entry.
3730 2012-07-03  Andreas Jaeger  <aj@suse.de>
3732         * po/bg.po: Update from translation team.
3733         * po/cs.po: Likewise.
3734         * po/de.po: Likewise.
3735         * po/hr.po: Likewise.
3736         * po/nl.pl: Likewise.
3737         * po/pl.po: Likewise.
3738         * po/vi.po: Likewise.
3740 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
3742         * Makeconfig [!+link] (+link-before-libc): New variable.
3743         [!+link] (+link-after-libc): Likewise.
3744         [!+link] (+link-tests): Likewise.
3745         [!+link] (+link): Define in terms of $(+link-before-libc) and
3746         $(+link-after-libc).
3747         [!+link-static] (+link-static-before-libc): New variable.
3748         [!+link-static] (+link-static-after-libc): Likewise.
3749         [!+link-static] (+link-static-tests): Likewise.
3750         [!+link-static] (+link-static): Define in terms of
3751         $(+link-static-before-libc) and $(+link-static-after-libc).
3752         [build-shared] (link-libc-before-gnulib): New variable.
3753         [build-shared] (link-libc-tests): Likewise.
3754         [build-shared] (link-libc): Define in terms of
3755         $(link-libc-before-gnulib).
3756         [!build-shared] (link-libc-tests): New variable.
3757         (link-libc-static-tests): New variable.
3758         [!gnulib] (gnulib-arch): New variable.
3759         [!gnulib] (gnulib-tests): Likewise.
3760         [!gnulib] (static-gnulib-arch): Likewise.
3761         [!gnulib] (static-gnulib-tests): Likewise.
3762         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
3763         Define with "=" instead of ":=".
3764         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
3765         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
3766         * Rules (binaries-all-notests): New variable.
3767         (binaries-all-tests): Likewise.
3768         (binaries-static-notests): Likewise.
3769         (binaries-static-tests): Likewise.
3770         (binaries-all): Define using $(binaries-all-notests) and
3771         $(binaries-all-tests).
3772         (binaries-static): Define using $(binaries-static-notests) and
3773         $(binaries-static-tests).
3774         (binaries-shared-tests): New variable.
3775         (binaries-shared-notests): Likewise.
3776         (binaries-shared): Remove variable.
3777         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3778         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3779         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3780         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3781         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3782         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3783         * elf/Makefile (sln-modules): New variable.
3784         (extra-objs): Add $(sln-modules:=.o).
3785         (ldconfig-modules): Add static-stubs.
3786         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3787         * elf/static-stubs.c: New file.
3789         [BZ #14283]
3790         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3791         by 7 not 8 to examine high bit of fractional part.  Use volatile
3792         variables when splitting into final array of floats if
3793         __FLT_EVAL_METHOD__ != 0.
3794         * math/libm-test.inc (cos_test): Add another test.
3795         (sin_test): Likewise.
3796         * sysdeps/i386/fpu/libm-test-ulps: Update.
3798         [BZ #14273]
3799         * math/libm-test.inc (cosh_test): Add more tests.
3801         * version.h (RELEASE): Set to "development".
3802         (VERSION): Set to "2.16.90".
3804 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
3806         * NEWS: Update copyright. Remove last-updated date.
3807         Mention math library bug fixes and timezone data changes.
3808         * README: Mention GNU/Hurd, x32, and HPPA support status.
3810 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
3812         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3814 2012-06-27  Andreas Jaeger  <aj@suse.de>
3816         * manual/contrib.texi (Contributors): Add Samuel Thibault.
3818 2012-06-25  Andreas Jaeger  <aj@suse.de>
3820         * sysdeps/s390/fpu/libm-test-ulps: Update.
3822 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
3823             Thomas Schwinge  <thomas@codesourcery.com>
3825         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3826         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3827         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3828         fanotify_mark.
3830 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
3832         * sysdeps/mach/start.c: Remove file.
3833         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3834         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3835         * sysdeps/sh/init-first.c: Likewise.
3837         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3838         registers for frame unwinding purposes, add CFI directives.
3839         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3840         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3841         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3842         Likewise.
3844         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3845         __fortify_fail returning.
3846         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3848         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3849         sysdeps/sh/____longjmp_chk.S.
3850         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3851         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3852         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3853         (gen-as-const-headers): Append sigaltstack-offsets.sym.
3855         * sysdeps/sh/abort-instr.h: New file.
3856         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3857         process in case exit returns.
3859         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3860         initialize the GOT register before use.
3862         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3863         calculation of ARGC > 4.
3865         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3866         meaningful names to some local labels.
3868 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3869             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3871         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3872         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3873         (__arch_compare_and_exchange_val_16_acq): Likewise.
3874         (__arch_compare_and_exchange_val_32_acq): Likewise.
3875         (atomic_exchange_and_add): Fix gUSA sequence.
3876         (atomic_add): Likewise.
3877         (atomic_add_negative): Likewise.
3878         (atomic_add_zero): Likewise.
3879         (atomic_bit_test_set): Likewise.
3881 2012-06-22  Andreas Schwab  <schwab@redhat.com>
3883         [BZ #13579]
3884         * include/link.h (struct link_map): Add l_free_initfini.
3885         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3886         l_initfini.
3887         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3888         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3889         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3890         set.
3892 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
3894         * configure.in: Use AC_LANG_SOURCE.
3895         * configure: Regenerate.
3897 2012-06-22  Roland McGrath  <roland@hack.frob.com>
3899         * configure.in (libc_cv_localstatedir): New substituted variable.
3900         * configure: Regenerated.
3901         * config.make.in (localstatedir): New variable, substituted from
3902         libc_cv_localstatedir.
3903         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3904         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3905         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3906         * sysdeps/gnu/configure: Regenerated.
3908 2012-06-21  Jeff Law  <law@redhat.com>
3910         [BZ #14277]
3911         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3912         free.  Simplify list management for _LIBC case.
3914 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
3916         [BZ #14273]
3917         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3918         Clear sign bit of 64-bit integer value before comparing against
3919         overflow value.
3921         * sysdeps/mach/configure: Regenerated.
3923 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
3925         [BZ #14278]
3926         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3928 2012-06-21  Jeff Law  <law@redhat.com>
3930         [BZ #13882]
3931         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
3932         uint16_t for elements in the "seen" array to avoid char overflows.
3933         * elf/dl-fini.c (_dl_sort_fini): Likewise.
3934         * elf/dl-open.c (dl_open_worker): Likewise.
3936 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
3938         * scripts/list-sources.sh: Scan PORTS for translations.
3939         * po/libc.pot: Regenerated.
3941 2012-06-21  Andreas Jaeger  <aj@suse.de>
3943         [BZ #12194]
3944         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3945         warning.
3946         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3947         * bits/byteswap-16.h (__bswap_16): Likewise.
3948         * bits/byteswap.h (__bswap_constant_16): Likewise.
3950 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
3952         [BZ #14117]
3953         * sysdeps/i386/fpu_control.h: Removed.
3954         * sysdeps/x86_64/fpu_control.h: Moved to ...
3955         * sysdeps/x86/fpu_control.h: Here.
3957         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3958         (_FPU_SETCW): Likewise.
3960 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
3962         [BZ #14117]
3963         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3964         * sysdeps/x86/fpu/bits/mathinline.h: This.
3965         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3967         [BZ #14050]
3968         [BZ #14117]
3969         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3970         functions if __x86_64__ is defined.
3972 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
3974         * string/endian.h: Add !__ASSEMBLER__ condition for including
3975         conversion interfaces.
3977 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
3979         [BZ #14241]
3980         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3981         of ABS(x) in calculating zero to negative powers other than odd
3982         integers.
3983         * math/libm-test.inc (pow_test): Add more tests.
3985 2012-06-15  Andreas Jaeger  <aj@suse.de>
3987         * manual/contrib.texi (Contributors): Update entry of Liubov
3988         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3989         Machado Filho.
3991 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
3993         * string/string.h: Add __wur to GNU version of strerror_r.
3995 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
3997         [BZ #14229]
3998         * string/Makefile (tests): Add tst-strtok_r.
3999         * string/tst-strtok_r.c: New file.
4000         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4001         RAX_LP/RDX_LP on SAVE_PTR.
4003 2012-06-14  Roland McGrath  <roland@hack.frob.com>
4005         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4007 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
4009         * libm_test.inc (csqrt_test): Allow more spurious underflow
4010         exceptions.
4011         (j0_test): Likewise.
4012         (j1_test): Likewise.
4013         (y0_test): Likewise.
4014         (y1_test): Likewise.
4016 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
4018         * po/Makefile (libc.pot): Use UTF-8 charset.
4020 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
4022         [BZ #14210]
4023         Suppress sign-conversion warning from FD_SET.
4024         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4025         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4026         not unsigned long int.
4027         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4029 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
4031         [BZ #14050]
4032         [BZ #14117]
4033         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4034         __extern_always_inline instead of __extern_inline.
4035         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4036         (__signbit): Likewise.
4037         (__signbitl): Support C++ namespace.
4038         (lrintf): New inline function.
4039         (lrint): Likewise.
4040         (llrintf): Likewise.
4041         (llrint): Likewise.
4042         (fmaxf): Likewise.
4043         (fmax): Likewise.
4044         (fminf): Likewise.
4045         (fmin): Likewise.
4046         (rint): Likewise.
4047         (rintf): Likewise.
4048         (ceil): Likewise.
4049         (ceilf): Likewise.
4050         (floor): Likewise.
4051         (floorf): Likewise.
4052         (nearbyint): Likewise.
4053         (nearbyintf): Likewise.
4055 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
4057         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4058         non-default versions.
4060 2012-06-11  Roland McGrath  <roland@hack.frob.com>
4062         [BZ #14218]
4063         * manual/argp.texi (Argp): Reword argp_parse description slightly.
4065 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
4067         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4068         (FE_UPWARD, FE_DOWNWARD): Don't define.
4069         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4070         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4072         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4073         reading it.
4074         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4075         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4077 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4079         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4080         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4081         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4082         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4084 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4086         [BZ #14117]
4087         * sysdeps/i386/fpu/bits/fenv.h: Removed.
4088         * sysdeps/i386/fpu/Implies: New file.
4089         * sysdeps/x86_64/fpu/Implies: Likewise.
4090         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4091         * sysdeps/x86/fpu/bits/fenv.h: This.
4093         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4094         __SSE_MATH__.
4096 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4098         [BZ #14134]
4099         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4100         character 0xffff that matches the last element of the
4101         conversion table.
4103 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4105         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4106         fmodl commit.
4108 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4110         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4111         values higher than 25.6283.
4113 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4115         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4116         subnormal exponent extraction and add some __builtin_expect.
4117         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4118         Fix for subnormal mantissa calculation.
4120 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
4122         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4123         cpu2 is -1 and errno is not ENOSYS.
4125 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
4127         [BZ #14117]
4128         * sysdeps/i386/i486/bits/string.h: Renamed to ...
4129         * sysdeps/x86/bits/string.h: This.
4130         * sysdeps/x86_64/bits/string.h: Removed.
4132         * sysdeps/i386/i486/bits/string.h: Define inline functions only
4133         if not compiling for x86-64, but compiling for >= i486.
4135         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4136         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4138         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4139         New macro from Linux kernel 3.4.0.
4140         (FP_XSTATE_MAGIC2): Likewise.
4141         (FP_XSTATE_MAGIC2_SIZE): Likewise.
4142         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4143         (struct _fpx_sw_bytes): New struct.
4144         (struct _xsave_hdr): Likewise.
4145         (struct _ymmh_state): Likewise.
4146         (struct _xstate): Likewise.
4148         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4149         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4150         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4151         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4152         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4153         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4155         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4156         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4157         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4158         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4159         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4160         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4162 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4164         [BZ #13743]
4165         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4166         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4167         (sysdep_headers): Include sys/platform/ppc.h.
4168         * sysdeps/powerpc/test-gettimebase.c: Test for
4169         __ppc_get_timebase() to catch future ISA opcode/insn changes.
4170         * manual/Makefile (appendices): Include platform.texi.
4171         * manual/contrib.texi (Contributors): Update @node pointers.
4172         * manual/maint.texi (Maintenance): Likewise.
4173         (Platform): New node.
4174         * manual/platform.texi: New file.  Document the new features.
4176 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4177             Jakub Jelinek  <jakub@redhat.com>
4179         [BZ #14188]
4180         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4181         where __builtin_expect is unavailable.
4183 2012-06-03  David S. Miller  <davem@davemloft.net>
4185         * stdlib/longlong.h: Updated from GCC.
4187 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
4189         [BZ #14042]
4190         * sysdeps/powerpc/powerpc32/mcount.c: New file.
4191         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4192         __mcount_internal.
4193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4194         (GLIBC_2.16): Likewise.
4196 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
4198         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4200 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
4202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4203         (default-abi): New variable.
4204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4205         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4206         variable.
4207         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4208         Likewise.
4209         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4210         Likewise.
4211         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4212         Likewise.
4214         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4215         definition.  Document in comment.
4217 2012-06-01  David S. Miller  <davem@davemloft.net>
4219         * stdlib/longlong.h: Updated from GCC.
4221 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
4223         [BZ #14117]
4224         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4225         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4226         sys/debugreg.h sys/io.h here.
4227         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4228         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4229         sys/io.h.
4230         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4231         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4232         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4233         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4234         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4235         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4237         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4238         Define only if __x86_64__ is defined.
4240 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
4242         [BZ #14048]
4243         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4244         Use int64_t for variable i.
4245         * math/libm-test.inc (fmod_test): Add more tests.
4247         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4248         z computation is not scheduled after fetestexcept.
4249         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4250         Use math_force_eval instead of asm to ensure calculation scheduled
4251         before exception test.
4252         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4253         Ensure a1 + u.d computation is not scheduled after fetestexcept.
4255 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
4257         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4258         computation is not scheduled after fetestexcept.
4260 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
4262         [BZ #14117]
4263         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4264         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4266 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4268         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4269         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4271 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
4273         [BZ #14117]
4274         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4275         <bits/wordsize.h>.
4276         (__WCHAR_MIN): Support __WORDSIZE == 64.
4277         (__WCHAR_MAX): Likewise.
4279         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4280         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4282         [BZ #14183]
4283         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4284         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4286         [BZ #14117]
4287         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4288         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4290         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4291         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4293         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4294         Defined to 1 if __x86_64__ isn't defined.
4295         (_STAT_VER_LINUX_OLD): New.
4296         (st_atime): Remove duplicate.
4297         (st_mtime): Likewise.
4298         (st_ctime): Likewise.
4300 2012-05-31  David S. Miller  <davem@davemloft.net>
4302         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4303         entries.
4305 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
4307         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4308         gen-libm-test.pl.
4310         [BZ #14132]
4311         * elf/dl-reloc.c: Include <_itoa.h>.
4312         (_dl_reloc_bad_type): Remove use of INTUSE.
4313         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4314         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4315         * stdio-common/psiginfo.c (psiginfo): Likewise.
4316         * stdio-common/psignal.c (psignal): Likewise.
4317         * string/strsignal.c (strsignal): Likewise.
4318         * include/signal.h (_sys_siglist): Declare hidden proto.
4319         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
4320         INTVARDEF with libc_hidden_data_def.
4321         * stdio-common/itoa-udigits.c: Likewise.
4322         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4323         (_itoa_lower_digits_internal): Remove declaration.
4324         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4325         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4326         (_sys_sigabbrev_internal): Remove aliases.
4327         (_sys_siglist): Define hidden alias.
4329 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
4331         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4332         bits/sysctl.h.
4334 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
4336         [BZ #14117]
4337         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4338         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4340         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4341         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4342         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4343         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4344         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4345         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4347         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4348         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4349         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4351         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4352         with __addr.
4353         (insw): Likewise.
4354         (insl): Likewise.
4355         (outsb): Likewise.
4356         (outsw): Likewise.
4357         (outsl): Likewise.
4359         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4360         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4361         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4363         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4364         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4365         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4366         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4367         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4368         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4370         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4371         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4373         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4374         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4376         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4377         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4378         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4380         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4381         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4382         to ...
4383         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4385         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4386         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4387         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4389         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4390         for x86-64.
4391         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4393 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
4395         * math/math.h (M_El): Use two more decimal places.
4396         (M_LOG2El): Likewise.
4397         (M_LOG10El): Likewise.
4398         (M_LN2l): Likewise.
4399         (M_LN10l): Likewise.
4400         (M_PIl): Likewise.
4401         (M_PI_2l): Likewise.
4402         (M_PI_4l): Likewise.
4403         (M_1_PIl): Likewise.
4404         (M_2_PIl): Likewise.
4405         (M_2_SQRTPIl): Likewise.
4406         (M_SQRT2l): Likewise.
4407         (M_SQRT1_2l): Likewise.
4409 2012-05-31  David S. Miller  <davem@davemloft.net>
4411         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4412         values between float registers.
4413         * sysdeps/sparc/sparc64/memset.S: Likewise.
4414         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4416 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
4418         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4419         -D_FORTIFY_SOURCE=1.
4420         (CPPFLAGS-tst-longjmp_chk.c): Define.
4421         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4422         (CPPFLAGS-tst-longjmp_chk2.c): Define.
4423         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4424         CFLAGS-tst-wchar-h.c.
4426 2012-05-31  Marek Polacek  <polacek@redhat.com>
4428         [BZ #14132]
4429         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4430         __endmntent_internal): Remove declaration.
4431         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4432         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4433         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4435 2012-05-30  David S. Miller  <davem@davemloft.net>
4437         * sysdeps/sparc/sparc32/soft-fp/q_util.c
4438         (___Q_simulate_exceptions): Use real FP ops rather than writing
4439         into the %fsr.
4440         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4441         Likewise.
4443 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4445         [BZ #14117]
4446         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4447         * sysdeps/x86/bits/xtitypes.h: This.
4449         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4450         * sysdeps/x86/bits/wordsize.h: This.
4452         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4453         * sysdeps/x86/bits/huge_vall.h: This.
4455         * sysdeps/i386/bits/select.h: Removed.
4456         * sysdeps/x86_64/bits/select.h: Renamed to ...
4457         * sysdeps/x86/bits/select.h: This.
4459         * sysdeps/i386/bits/setjmp.h: Removed.
4460         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4461         * sysdeps/x86/bits/setjmp.h: This.
4463         * sysdeps/i386/bits/mathdef.h: Removed.
4464         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4465         * sysdeps/x86/bits/mathdef.h: This.
4467 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
4469         [BZ #14132]
4470         * include/sys/socket.h (__connect_internal)
4471         (__libc_sa_len_internal): Remove declaration.
4472         (__connect, __libc_sa_len): Declare hidden_proto.
4473         (SA_LEN): Remove use of INTUSE.
4474         * socket/connect.c: Add libc_hidden_def.
4475         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4476         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4477         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4478         alias.
4479         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4480         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4481         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4482         of adding _internal alias.
4484 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4486         [BZ #14117]
4487         * sysdeps/i386/bits/link.h: Removed.
4488         * sysdeps/i386/bits/linkmap.h: Likewise.
4489         * sysdeps/x86_64/bits/link.h: Renamed to ...
4490         * sysdeps/x86/bits/link.h: This.
4491         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4492         * sysdeps/x86/bits/linkmap.h: This.
4494         * sysdeps/i386/bits/endian.h: Removed.
4495         * sysdeps/x86_64/bits/endian.h: Renamed to ...
4496         * sysdeps/x86/bits/endian.h: This.
4498         * sysdeps/i386/bits/byteswap.h: Removed.
4499         * sysdeps/i386/bits/byteswap-16.h: Likewise.
4500         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4501         * sysdeps/x86/bits/byteswap.h: This.
4502         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4503         * sysdeps/x86/bits/byteswap-16.h: This.
4504         * sysdeps/i386/Implies: Add x86.
4505         * sysdeps/x86_64/Implies: Likewise.
4507 2012-05-30  David S. Miller  <davem@davemloft.net>
4509         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4510         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4511         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4512         (FP_TRAPPING_EXCEPTIONS): Define.
4513         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4514         (FP_TRAPPING_EXCEPTIONS): Define.
4515         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4516         subnormals only when inexact has been signalled or underflow
4517         exceptions are enabled.
4518         (_FP_PACK_CANONICAL): Likewise.
4520 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4522         [BZ #14183]
4523         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4524         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4526 2012-05-30  Richard Henderson  <rth@twiddle.net>
4528         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4529         with #ifndef NOT_IN_libc.
4531         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
4532         marked to avoid plt entry.
4534 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4536         [BZ #14112]
4537         * Makeconfig (default-abi): New macro.
4538         (abi-includes): Likewise.
4539         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
4540         $(abi-$(default-abi)-lib-soname) for soname if defined.
4541         ($(common-objpfx)gnu/lib-names.stmp): Generate from
4542         abi-variants.
4543         * Makefile (installed-stubs): Likewise.
4544         * include/stubs-biarch.h: Removed.
4545         * scripts/lib-names.awk: Only handle one library at a time.
4546         * scripts/soversions.awk: Remove WORDSIZE support.
4547         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4548         entries.
4549         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4550         Removed.
4551         (syscall-list-default-condition): Likewise.
4552         (syscall-list-default-condition): Likewise.
4553         (syscall-list-includes): Likewise.
4554         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4555         syscall-list-* with abi-*.  Handle undefined abi-variants.
4556         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4557         * sysdeps/unix/sysv/linux/i386/Implies: New file.
4558         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4559         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4560         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4561         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4562         Removed.
4563         (syscall-list-32-options): Likewise.
4564         (syscall-list-32-condition): Likewise.
4565         (syscall-list-64-options): Likewise.
4566         (syscall-list-64-condition): Likewise.
4567         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4568         macro.
4569         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4570         Renamed to ...
4571         (abi-*): This.
4572         (abi-64-ld-soname): New macro.
4573         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4574         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4575         Renamed to ...
4576         (abi-*): This.
4577         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4578         * sysdeps/x86_64/x32/shlib-versions: Likewise.
4580 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
4582         * sysdeps/unix/sysv/linux/kernel-features.h
4583         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4584         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4585         include <kernel-features.h>.
4586         [!__NR_ftruncate64]: Remove conditional code.
4587         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4588         [__NR_ftruncate64]: Make code unconditional.
4589         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4590         * sysdeps/unix/sysv/linux/truncate64.c: Do not
4591         include <kernel-features.h>.
4592         [!__NR_ftruncate64]: Remove conditional code.
4593         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4594         [__NR_ftruncate64]: Make code unconditional.
4595         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4597         include <kernel-features.h>.
4598         [!__NR_ftruncate64]: Remove conditional code.
4599         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4600         [__NR_ftruncate64]: Make code unconditional.
4601         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4603         include <kernel-features.h>.
4604         [!__NR_ftruncate64]: Remove conditional code.
4605         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4606         [__NR_ftruncate64]: Make code unconditional.
4607         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4609         * configure.in (libc_cv_fpie): Weaken to a compile test using
4610         LIBC_TRY_CC_OPTION.
4611         * configure: Regenerated.
4613 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4619         Refreshed.
4620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4626         Refreshed.
4628 2012-05-27  David S. Miller  <davem@davemloft.net>
4630         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4631         (___Q_zero): New.
4632         (__Q_simulate_exceptions): Return void.  Change to simulate
4633         exceptions by writing into the %fsr.
4634         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4635         (__Qp_handle_exceptions): Likewise.
4636         (numbers): Delete.
4637         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4638         __Qp_handle_exceptions.
4639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4640         __Qp_handle_exceptions.
4641         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4642         as unused and give dummy FP_RND_NEAREST initializer.
4643         (FP_INHIBIT_RESULTS): Define.
4644         (___Q_simulate_exceptions): Update declaration.
4645         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4646         formatting.
4647         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4648         as unused and give dummy FP_RND_NEAREST initializer.
4649         (__Qp_handle_exceptions): Update declaration.
4650         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4651         formatting.
4653 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
4655         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4656         the temporary FPU control word.
4657         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4658         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4659         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4660         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4661         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4662         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4663         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4664         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4665         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4666         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4667         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4669 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4671         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4672         fields.
4674 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
4676         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4677         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4678         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4679         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4680         Likewise.
4681         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4682         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4683         Likewise.
4685 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
4687         * po/h.po: Update from translation team.
4689 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
4691         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4693         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4694         handling of denormals.
4695         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4696         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4697         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4698         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4699         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4700         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4701         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4702         Likewise.
4704 2012-05-26  Marek Polacek  <polacek@redhat.com>
4706         [BZ #14152]
4707         * math/libm-test.inc (fma_test): Don't always expect underflow
4708         exception.
4710 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4712         [BZ #12416]
4713         * elf/tst-execstack.c: Include stackinfo.h.
4714         (do_test): Adjust test case to ensure that pthread_getattr_np
4715         behaviour remains the same after marking stack executable.
4717 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
4719         * sysdeps/unix/sysv/linux/kernel-features.h
4720         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4721         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4722         kernel-features.h.
4723         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4724         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4725         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4726         kernel-features.h.
4727         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4728         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4730 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4732         * configure.in: Define the default includes to being none.
4733         * configure: Regenerated.
4735 2012-05-25  Roland McGrath  <roland@hack.frob.com>
4737         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4738         * sysdeps/x86_64/setjmp.S: Likewise.
4739         * sysdeps/i386/bsd-setjmp.S: Likewise.
4740         * sysdeps/i386/bsd-_setjmp.S: Likewise.
4741         * sysdeps/i386/setjmp.S: Likewise.
4742         * sysdeps/i386/__longjmp.S: Likewise.
4743         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4744         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4746         * include/stap-probe.h: New file.
4747         * configure.in: Handle --enable-systemtap.
4748         * configure: Regenerated.
4749         * config.h.in (USE_STAP_PROBE): New #undef.
4750         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4751         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4752         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4754 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
4756         [BZ #13717]
4757         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4758         to 2.4.0 where earlier.
4759         * sysdeps/unix/sysv/linux/configure: Regenerated.
4760         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4761         <kernel-features.h>.
4762         [__ASSUME_32BITUIDS]: Make code unconditional.
4763         [!__ASSUME_32BITUIDS]: Remove conditional code.
4764         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4765         <kernel-features.h>.
4766         [__ASSUME_32BITUIDS]: Make code unconditional.
4767         [!__ASSUME_32BITUIDS]: Remove conditional code.
4768         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4769         [__ASSUME_32BITUIDS]: Make code unconditional.
4770         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4771         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4772         <kernel-features.h>.
4773         [__ASSUME_32BITUIDS]: Make code unconditional.
4774         [!__ASSUME_32BITUIDS]: Remove conditional code.
4775         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4776         <kernel-features.h>.
4777         [__ASSUME_32BITUIDS]: Make code unconditional.
4778         [!__ASSUME_32BITUIDS]: Remove conditional code.
4779         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4780         <kernel-features.h>.
4781         [__ASSUME_32BITUIDS]: Make code unconditional.
4782         [!__ASSUME_32BITUIDS]: Remove conditional code.
4783         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4784         <kernel-features.h>.
4785         [__ASSUME_32BITUIDS]: Make code unconditional.
4786         [!__ASSUME_32BITUIDS]: Remove conditional code.
4787         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4788         <kernel-features.h>.
4789         [__ASSUME_32BITUIDS]: Make code unconditional.
4790         [!__ASSUME_32BITUIDS]: Remove conditional code.
4791         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4792         <kernel-features.h>.
4793         [__ASSUME_32BITUIDS]: Make code unconditional.
4794         [!__ASSUME_32BITUIDS]: Remove conditional code.
4795         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4796         <kernel-features.h>.
4797         [__ASSUME_32BITUIDS]: Make code unconditional.
4798         [!__ASSUME_32BITUIDS]: Remove conditional code.
4799         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4800         <kernel-features.h>.
4801         [__ASSUME_32BITUIDS]: Make code unconditional.
4802         [!__ASSUME_32BITUIDS]: Remove conditional code.
4803         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4804         <kernel-features.h>.
4805         [__ASSUME_32BITUIDS]: Make code unconditional.
4806         [!__ASSUME_32BITUIDS]: Remove conditional code.
4807         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4808         <kernel-features.h>.
4809         [__ASSUME_32BITUIDS]: Make code unconditional.
4810         [!__ASSUME_32BITUIDS]: Remove conditional code.
4811         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4812         <kernel-features.h>.
4813         [__NR_setresgid] (__setresgid): Do not declare.
4814         [__ASSUME_32BITUIDS]: Make code unconditional.
4815         [!__ASSUME_32BITUIDS]: Remove conditional code.
4816         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4817         <kernel-features.h>.
4818         [__NR_setresuid] (__setresuid): Do not declare.
4819         [__ASSUME_32BITUIDS]: Make code unconditional.
4820         [!__ASSUME_32BITUIDS]: Remove conditional code.
4821         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4822         <kernel-features.h>.
4823         [__ASSUME_32BITUIDS]: Make code unconditional.
4824         [!__ASSUME_32BITUIDS]: Remove conditional code.
4825         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4826         <kernel-features.h>.
4827         [__ASSUME_32BITUIDS]: Make code unconditional.
4828         [!__ASSUME_32BITUIDS]: Remove conditional code.
4829         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4830         <kernel-features.h>.
4831         [__ASSUME_32BITUIDS]: Make code unconditional.
4832         [!__ASSUME_32BITUIDS]: Remove conditional code.
4833         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4834         <kernel-features.h>.
4835         [__ASSUME_32BITUIDS]: Make code unconditional.
4836         [!__ASSUME_32BITUIDS]: Remove conditional code.
4837         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4838         <kernel-features.h>.
4839         [__ASSUME_32BITUIDS]: Make code unconditional.
4840         [!__ASSUME_32BITUIDS]: Remove conditional code.
4841         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4842         <kernel-features.h>.
4843         [__ASSUME_32BITUIDS]: Make code unconditional.
4844         [!__ASSUME_32BITUIDS]: Remove conditional code.
4845         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4846         <kernel-features.h>.
4847         [__ASSUME_32BITUIDS]: Make code unconditional.
4848         [!__ASSUME_32BITUIDS]: Remove conditional code.
4849         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4850         <kernel-features.h>.
4851         [__ASSUME_32BITUIDS]: Make code unconditional.
4852         [!__ASSUME_32BITUIDS]: Remove conditional code.
4853         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4854         <kernel-features.h>.
4855         [__ASSUME_32BITUIDS]: Make code unconditional.
4856         [!__ASSUME_32BITUIDS]: Remove conditional code.
4857         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4858         <kernel-features.h>.
4859         [__ASSUME_32BITUIDS]: Make code unconditional.
4860         [!__ASSUME_32BITUIDS]: Remove conditional code.
4861         * sysdeps/unix/sysv/linux/kernel-features.h
4862         (__ASSUME_SETRESUID_SYSCALL): Remove.
4863         (__ASSUME_SETRESGID_SYSCALL): Likewise.
4864         (__ASSUME_32BITUIDS): Likewise.
4865         (__ASSUME_LDT_WORKS): Likewise.
4866         (__ASSUME_O_DIRECTORY): Likewise.
4867         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4868         architecture but not kernel version.
4869         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4870         (__ASSUME_MMAP2_SYSCALL): Likewise.
4871         (__ASSUME_STAT64_SYSCALL): Likewise.
4872         (__ASSUME_IPC64): Likewise.
4873         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4874         <kernel-features.h>.
4875         [__ASSUME_32BITUIDS]: Make code unconditional.
4876         [!__ASSUME_32BITUIDS]: Remove conditional code.
4877         * sysdeps/unix/sysv/linux/opendir.c: Do not include
4878         <kernel-features.h>.
4879         [__ASSUME_O_DIRECTORY]: Make code unconditional.
4880         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4881         132096]: Remove conditional code.
4882         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4883         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4884         <kernel-features.h>.
4885         [__ASSUME_32BITUIDS]: Make code unconditional.
4886         [!__ASSUME_32BITUIDS]: Remove conditional code.
4887         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4888         <kernel-features.h>.
4889         [__ASSUME_32BITUIDS]: Make code unconditional.
4890         [!__ASSUME_32BITUIDS]: Remove conditional code.
4891         * sysdeps/unix/sysv/linux/setegid.c: Do not include
4892         <kernel-features.h>.
4893         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4894         unconditional.
4895         (__setresgid): Do not declare.
4896         [__ASSUME_32BITUIDS]: Make code unconditional.
4897         [!__ASSUME_32BITUIDS]: Remove conditional code.
4898         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4899         <kernel-features.h>.
4900         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4901         unconditional.
4902         (__setresuid): Do not declare.
4903         [__ASSUME_32BITUIDS]: Make code unconditional.
4904         [!__ASSUME_32BITUIDS]: Remove conditional code.
4905         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4906         <kernel-features.h>.
4907         [__ASSUME_32BITUIDS]: Make code unconditional.
4908         [!__ASSUME_32BITUIDS]: Remove conditional code.
4909         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4910         <kernel-features.h>.
4911         [__ASSUME_32BITUIDS]: Make code unconditional.
4912         [!__ASSUME_32BITUIDS]: Remove conditional code.
4914 2012-05-25  Richard Henderson  <rth@twiddle.net>
4916         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4917         dl_hwcap to ifunc resolver.
4918         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4919         elf_ifunc_invoke.
4920         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4921         dl_hwcap to ifunc resolver.
4922         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4924 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
4926         [BZ #14153]
4927         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4928         for |x| <= 2**-26, not 2**-57.
4929         * math/libm-test.inc (acos_test): Do not allow spurious underflow
4930         exception.
4932 2012-05-24  Jeff Law  <law@redhat.com>
4934         * stdio-common/Makefile (tests): Add bug25.
4935         * stdio-common/bug25.c: New test.
4937 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4939         [BZ #13576]
4940         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4941         multiple of MALLOC_ALIGNMENT in size.
4942         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4944 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
4946         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4947         Require >= 256.
4948         (FILENAME_MAX): Use macro-int-constant.
4949         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
4950         (_IOFBF): Use macro-int-constant.
4951         (_IOLBF): Likewise.
4952         (_IONBF): Likewise.
4953         (SEEK_CUR): Likewise.
4954         (SEEK_END): Likewise.
4955         (SEEK_SET): Likewise.
4956         (TMP_MAX): Likewise.
4957         (EOF): Use macro-int-constant.  Require < 0.
4958         (NULL): Use macro-constant.  Require == 0.
4959         (stdin): Require type to be FILE *.
4960         (stdout): Likewise.
4961         (stderr): Likewise.
4962         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4963         macro-int-constant.
4964         (EXIT_SUCCESS): Likewise.
4965         (NULL): Use macro-constant.  Require == 0.
4966         (RAND_MAX): Use macro-int-constant.
4967         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4968         [C99-based standards] (strtof): Require function.
4969         [C99-based standards] (strtold): Likewise.
4970         [C99-based standards] (strtoll): Likewise.
4971         [C99-based standards] (strtoull): Likewise.
4972         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4973         [ISO || ISO99 || ISO11] (limits.h): Likewise.
4974         [ISO || ISO99 || ISO11] (math.h): Likewise.
4975         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4976         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4977         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4979 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
4981         [BZ #14132]
4982         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4983         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4984         * intl/dgettext.c (DCGETTEXT): Likewise.
4985         * intl/gettext.c (DCGETTEXT): Likewise.
4986         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4987         * posix/regex_internal.h (gettext): Likewise.
4988         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4989         Remove declaration.
4990         * include/argz.h (__argz_count_internal)
4991         (__argz_stringify_internal): Remove declaration.
4992         (__argz_count, __argz_stringify): Declare hidden proto.
4993         * intl/dcgettext.c: Remove use of INTDEF.
4994         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4995         * string/argz-stringify.c: Likewise.
4996         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4997         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4998         Declare hidden proto.
4999         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5000         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5001         Declare hidden proto.
5002         * include/stdio.h (__asprintf_internal): Don't declare.
5003         (__asprintf): Don't define as macro.  Declare hidden proto.
5004         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5005         (__fsetlocking): Declare hidden proto.
5006         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5007         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5008         hidden proto.
5009         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5010         (_IO_setlinebuf): Remove use of INTUSE.
5011         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5012         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5013         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5014         Remove declaration.
5015         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5016         (_IO_do_flush): Remove use of INTUSE.
5017         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5018         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5019         (_IO_adjust_column, _IO_least_wmarker)
5020         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5021         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5022         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5023         (_IO_default_doallocate, _IO_wdefault_doallocate)
5024         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5025         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5026         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5027         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5028         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5029         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5030         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5031         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5032         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5033         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5034         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5035         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5036         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5037         proto.
5038         (_IO_flush_all_internal, _IO_adjust_column_internal)
5039         (_IO_default_uflow_internal, _IO_default_finish_internal)
5040         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5041         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5042         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5043         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5044         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5045         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5046         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5047         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5048         (_IO_file_close_internal, _IO_file_close_it_internal)
5049         (_IO_file_underflow_internal, _IO_file_overflow_internal)
5050         (_IO_file_init_internal, _IO_file_attach_internal)
5051         (_IO_file_fopen_internal, _IO_file_read_internal)
5052         (_IO_file_sync_internal, _IO_file_seek_internal)
5053         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5054         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5055         (_IO_str_underflow_internal, _IO_str_overflow_internal)
5056         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5057         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5058         (_IO_list_all_internal, _IO_link_in_internal)
5059         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5060         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5061         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5062         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5063         (_IO_do_write_internal, _IO_padn_internal)
5064         (_IO_getline_info_internal, _IO_getline_internal)
5065         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5066         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5067         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5068         (_IO_vfscanf_internal, _IO_vfprintf_internal)
5069         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5070         (_IO_init_internal, _IO_un_link_internal): Don't declare.
5071         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5072         with libc_hidden_ver, remove use of INTUSE.
5073         * libio/genops.c: Likewise.
5074         * libio/freopen.c: Likewise.
5075         * libio/freopen64.c: Likewise.
5076         * libio/iofclose.c: Likewise.
5077         * libio/iofdopen.c: Likewise.
5078         * libio/iofflush.c: Likewise.
5079         * libio/iofflush_u.c: Likewise.
5080         * libio/iofgets.c: Likewise.
5081         * libio/iofgets_u.c: Likewise.
5082         * libio/iofopen.c: Likewise.
5083         * libio/iofopncook.c: Likewise.
5084         * libio/iofread.c: Likewise.
5085         * libio/iofread_u.c: Likewise.
5086         * libio/ioftell.c: Likewise.
5087         * libio/iofwrite.c: Likewise.
5088         * libio/iogetline.c: Likewise.
5089         * libio/iogets.c: Likewise.
5090         * libio/iogetwline.c: Likewise.
5091         * libio/iopadn.c: Likewise.
5092         * libio/iopopen.c: Likewise.
5093         * libio/ioseekoff.c: Likewise.
5094         * libio/ioseekpos.c: Likewise.
5095         * libio/iosetbuffer.c: Likewise.
5096         * libio/iosetvbuf.c: Likewise.
5097         * libio/ioungetc.c: Likewise.
5098         * libio/ioungetwc.c: Likewise.
5099         * libio/iovdprintf.c: Likewise.
5100         * libio/iovsprintf.c: Likewise.
5101         * libio/iovsscanf.c: Likewise.
5102         * libio/memstream.c: Likewise.
5103         * libio/obprintf.c: Likewise.
5104         * libio/oldfileops.c: Likewise.
5105         * libio/oldiofclose.c: Likewise.
5106         * libio/oldiofdopen.c: Likewise.
5107         * libio/oldiofopen.c: Likewise.
5108         * libio/oldiopopen.c: Likewise.
5109         * libio/oldstdfiles.c: Likewise.
5110         * libio/putc.c: Likewise.
5111         * libio/setbuf.c: Likewise.
5112         * libio/setlinebuf.c: Likewise.
5113         * libio/stdfiles.c: Likewise.
5114         * libio/strops.c: Likewise.
5115         * libio/vasprintf.c: Likewise.
5116         * libio/vscanf.c: Likewise.
5117         * libio/vsnprintf.c: Likewise.
5118         * libio/vswprintf.c: Likewise.
5119         * libio/wfiledoalloc.c: Likewise.
5120         * libio/wfileops.c: Likewise.
5121         * libio/wgenops.c: Likewise.
5122         * libio/wmemstream.c: Likewise.
5123         * libio/wstrops.c: Likewise.
5124         * libio/__fpurge.c: Likewise.
5125         * libio/__fsetlocking.c: Likewise.
5126         * assert/assert.c: Likewise.
5127         * debug/fgets_chk.c: Likewise.
5128         * debug/fgets_u_chk.c: Likewise.
5129         * debug/fread_chk.c: Likewise.
5130         * debug/fread_u_chk.c: Likewise.
5131         * debug/gets_chk.c: Likewise.
5132         * debug/obprintf_chk.c: Likewise.
5133         * debug/vasprintf_chk.c: Likewise.
5134         * debug/vdprintf_chk.c: Likewise.
5135         * debug/vsnprintf_chk.c: Likewise.
5136         * debug/vsprintf_chk.c: Likewise.
5137         * malloc/mtrace.c: Likewise.
5138         * misc/error.c: Likewise.
5139         * misc/syslog.c: Likewise.
5140         * stdio-common/asprintf.c: Likewise.
5141         * stdio-common/fxprintf.c: Likewise.
5142         * stdio-common/getw.c: Likewise.
5143         * stdio-common/isoc99_fscanf.c: Likewise.
5144         * stdio-common/isoc99_scanf.c: Likewise.
5145         * stdio-common/isoc99_vfscanf.c: Likewise.
5146         * stdio-common/isoc99_vscanf.c: Likewise.
5147         * stdio-common/isoc99_vsscanf.c: Likewise.
5148         * stdio-common/printf-prs.c: Likewise.
5149         * stdio-common/printf_fp.c: Likewise.
5150         * stdio-common/printf_fphex.c: Likewise.
5151         * stdio-common/printf_size.c: Likewise.
5152         * stdio-common/putw.c: Likewise.
5153         * stdio-common/scanf.c: Likewise.
5154         * stdio-common/sprintf.c: Likewise.
5155         * stdio-common/tmpfile.c: Likewise.
5156         * stdio-common/vfprintf.c: Likewise.
5157         * stdio-common/vfscanf.c: Likewise.
5158         * stdlib/strfmon_l.c: Likewise.
5159         * sunrpc/openchild.c: Likewise.
5160         * sunrpc/xdr_stdio.c: Likewise.
5161         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5162         * sysdeps/mach/hurd/tmpfile.c: Likewise.
5164 2012-05-24  Roland McGrath  <roland@hack.frob.com>
5166         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5168         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5169         in the third column, to generate for the shared library an IFUNC
5170         that uses _dl_vdso_vsym.
5171         * Makerules (COMPILE.c, compile-stdin.c): New variables.
5172         * Makeconfig (object-suffixes-noshared): New variable.
5174         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5175         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5176         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5177         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5179         [BZ #14132]
5180         * include/sys/time.h (__gettimeofday): Remove macro.
5181         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5182         * time/gettimeofday.c (__gettimeofday): Remove #undef.
5183         Remove INTDEF.
5184         (__gettimeofday): Add libc_hidden_def.
5185         (gettimeofday): Add libc_hidden_weak.
5186         * sysdeps/mach/gettimeofday.c: Likewise.
5187         * sysdeps/posix/gettimeofday.c: Likewise.
5188         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5189         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5190         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5191         (__gettimeofday_internal): Remove strong_alias.
5192         (__gettimeofday): Add libc_hidden_def.
5193         (gettimeofday): Add libc_hidden_weak.
5194         * sysdeps/unix/syscalls.list (gettimeofday):
5195         Remove __gettimeofday_internal alias.
5197 2012-05-24  Daniel Jacobowitz  <drow@false.org>
5198             H.J. Lu  <hongjiu.lu@intel.com>
5200         [BZ #12495]
5201         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5202         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5203         (largebin_index_32_big): New.
5204         (largebin_index): Use it for 16-byte alignment.
5205         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
5206         correction with front_misalign.
5208 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5210         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5212         Likewise.
5213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5214         Likewise.
5215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5216         Likewise.
5217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5218         Likewise.
5219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5220         Likewise.
5221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5222         Likewise.
5223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5224         Likewise.
5225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5226         Likewise.
5227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5228         Likewise.
5229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5230         Likewise.
5231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5232         Likewise.
5233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5234         Likewise.
5236         * scripts/data/c++-types-x32-linux-gnu.data: New file.
5237         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5239 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
5241         [BZ #10846]
5242         [BZ #14036]
5243         * math/libm-test.inc (exp_test): Add test from bug 14036.
5244         (pow_test): Add test from bug 10846.
5246         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5247         and other flags.
5248         (special_function): Do not include flags in test name.
5249         (parse_args): Likewise.
5250         * sysdeps/i386/fpu/libm-test-ulps: Update.
5251         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5252         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5253         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5256         * math/gen-libm-test.pl (%beautify): Add entries for underflow
5257         exceptions.
5258         * math/libm-test.inc ("Philosophy"): Update comment about
5259         exception testing.
5260         (UNDERFLOW_EXCEPTION): New macro.
5261         (UNDERFLOW_EXCEPTION_OK): Likewise.
5262         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5263         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5264         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5265         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5266         (INVALID_EXCEPTION_OK): Update value.
5267         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5268         (OVERFLOW_EXCEPTION_OK): Likewise.
5269         (IGNORE_ZERO_INF_SIGN): Likewise.
5270         (test_exceptions): Handle underflow exceptions.
5271         (acos_test): Update for underflow exception expectations.
5272         (cexp_test): Likewise.
5273         (clog_test): Likewise.
5274         (clog10_test): Likewise.
5275         (csqrt_test): Likewise.
5276         (ctan_test): Likewise.
5277         (ctanh_test): Likewise.
5278         (exp_test): Likewise.
5279         (exp10_test): Likewise.
5280         (exp2_test): Likewise.
5281         (expm1_test): Likewise.
5282         (fma_test): Likewise.
5283         (j0_test): Likewise.
5284         (jn_test): Likewise.
5285         (nexttoward_test): Likewise.
5286         (pow_test): Likewise.
5287         (scalbn_test): Likewise.
5288         (scalbln_test): Likewise.
5289         (tan_test): Likewise.
5290         (y1_test): Likewise.
5291         * sysdeps/i386/fpu/libm-test-ulps: Update.
5292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5294 2012-05-23  David S. Miller  <davem@davemloft.net>
5296         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5297         (__libc_sigaction): Remove unused local variables.
5299 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
5301         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5303 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
5305         mktime: avoid signed integer overflow
5306         * time/mktime.c (__mktime_internal): Do not mishandle the case
5307         where diff == INT_MIN.
5309         mktime: simplify computation of average
5310         * time/mktime.c (ranged_convert): Use new time_t_avg function
5311         instead of rolling our own (probably-slower) code.
5313         mktime: do not assume signed right shift propagates sign bit
5314         * time/mktime.c (isdst_differ): New static function.
5315         (__mktime_internal): No need to normalize tm_isdst now.
5316         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5317         tm_isdst values.
5319         mktime: merge another wrapv change from gnulib
5320         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5321         from some compilers.
5323         mktime: remove incorrect attempt at unusual arithmetics
5324         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5325         The code didn't really work on such machines anyway.
5326         (TYPE_MINIMUM): Assume two's complement.
5327         (twos_complement_arithmetic): Verify that long_int and time_t
5328         are two's complement (or unsigned, in the latter case).
5330         mktime: check signed shifts on long_int and time_t, too
5331         * time/mktime.c (SHR): Check that shifts work as desired
5332         on the types long_int and time_t too, as SHR is used on
5333         such types.
5335         mktime: do not assume 'long' is wide enough
5336         * time/mktime.c (verify): Move decl up.
5337         (long_int): New type.
5338         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5339         to remove assumption in the code that 'long' is wide enough to
5340         store year values.  This assumption is not true on x32 and on
5341         some non-glibc platforms.
5343         mktime: merge wrapv change from gnulib
5344         * time/mktime.c (WRAPV): New macro.
5345         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5346         (guess_time_tm, __mktime_internal): Do not assume that signed
5347         integer overflow wraps around; modern compilers generate code
5348         where this assumption is no longer valid.
5350 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
5352         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5353         Replace "jmp L(pseudo_end)" with "ret".
5354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5355         Likewise.
5357 2012-05-23  Andreas Jaeger  <aj@suse.de>
5359         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5360         * sysdeps/unix/sysv/linux/poll.c: Remove file.
5362 2012-05-23  Andreas Jaeger  <aj@suse.de>
5363             Maximilian Attems  <max@stro.at>
5365         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5366         New macros.
5368 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
5370         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5371         code so that pseudo_end is just ret and the stack pointer is
5372         correct also for static library in error case.
5374 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
5376         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5377         move to syscalls.list.
5378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5383         * manual/install.texi (Running make install): Do not mention Linux
5384         kernel version for which pt_chown is not needed.
5385         (Linux): Do not mention problems with nscd with 2.0 kernels.
5386         * INSTALL: Regenerated.
5388 2012-05-23  Andreas Jaeger  <aj@suse.de>
5390         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5391         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5392         macro.
5393         * sysdeps/unix/sysv/linux/s390/bits/mman.h
5394         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5395         * sysdeps/unix/sysv/linux/sh/bits/mman.h
5396         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5397         * sysdeps/unix/sysv/linux/i386/bits/mman.h
5398         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5399         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5400         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5401         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5402         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5403         * sysdeps/unix/sysv/linux/bits/in.h
5404         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5406 2012-05-22  Roland McGrath  <roland@hack.frob.com>
5408         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5409         (PREPARE_VERSION): Just use assert instead, it will be elided
5410         under [NDEBUG] anyway.
5412 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5414         * sysdeps/unix/sysv/linux/Makefile: Include
5415         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5416         (sysdep_routines): Remove sysctl.
5417         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5418         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5419         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5420         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5421         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5423 2012-05-22  Andreas Jaeger  <aj@suse.de>
5425         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5426         that pseudo_end is just ret and the stack pointer is correct also
5427         for static library in error case.
5429 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5431         [BZ #14122]
5432         * nss/nsswitch.c (defconfig_entries): New variable.
5433         (__nss_database_lookup): Don't leak defconfig entries.
5434         (nss_parse_service_list): Don't leak on error paths.
5435         (free_database_entries): New function.
5436         (free_defconfig): New function.
5437         (free_mem): Move common code to free_database_entries.
5439 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5441         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5442         Add arch_prctl.
5443         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5445         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5446         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5448         New macro.
5449         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5450         (INTERNAL_SYSCALL_TYPES): Likewise.
5451         (LOAD_ARGS_TYPES_[1-6]): Likewise.
5452         (LOAD_REGS_TYPES_[1-6]): Likewise.
5453         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5454         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5456 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5458         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5459         copysignl for GLIBC_2_0.
5460         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5461         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5462         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5463         logbl for GLIBC_2_0.
5464         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5465         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5467 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5469         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5470         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
5472         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5473         Use "neg %eax".
5475         * time/mktime.c: Update copyright years.
5477 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5479         mktime: merge comment-quoting-style change from gnulib
5480         * time/mktime.c: Quote 'like this' in comments.
5481         The GNU coding standards suggest that we no longer quote `like this',
5482         as "`" and "'" are typically rendered asymmetrically nowadays.
5483         The typical gnulib style is to quote 'like this' when quoting
5484         code, and "like this" when quoting English.
5486         * time/mktime.c (compile-command): Add "-I.".
5488         mktime: merge mktime-internal.h change from gnulib
5489         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5491         mktime: merge time_r change from gnulib
5492         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5494         mktime: merge DEBUG change from gnulib
5495         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5496         case system <time.h> has a #define.
5498         mktime: merge <sys/types.h> change from gnulib
5499         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5500         since <time.t> is now guaranteed to define time_t.
5502         mktime: merge HAVE_CONFIG_H change from gnulib
5503         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5505 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5507         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5508         Use "neg %eax".
5510         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5511         __rlim_t cast.
5512         (struct rusage): Use anonymous union to pad each field to
5513         __syscall_slong_t.
5515 2012-05-21  David S. Miller  <davem@davemloft.net>
5517         * Makefules (o-iterator): Remove .s cases.
5518         (compile-command.s): Delete.
5519         (COMPILE.s): Delete.
5520         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5522 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
5524         * configure.in (libc_cv_predef_stack_protector): Only consider
5525         "foobar" and "__stack_chk_fail" lines in libc_undefs.
5526         * configure: Regenerated.
5528 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
5530         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5531         New macro.  Use R*LP on int and pointer.
5532         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
5533         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5534         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
5535         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5537         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5538         [__WORDSIZE_TIME64_COMPAT32] instead of
5539         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5540         (struct utmp): Likewise.
5541         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5542         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5543         Renamed to ...
5544         (__WORDSIZE_TIME64_COMPAT32): This.
5545         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5546         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5547         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5548         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5549         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5550         (__WORDSIZE_TIME64_COMPAT32): New macro.
5552 2012-05-21  Andreas Jaeger  <aj@suse.de>
5554         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5555         only if [SHARED]. Add prototype for __wcschr_ia32.
5557 2012-05-21  Roland McGrath  <roland@hack.frob.com>
5559         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5560         of %rbp unmolested in the jmp_buf while mangling the low bits.
5561         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5562         unmolested high bits of %rbp while demangling the low bits.
5563         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5565 2012-05-21  Andreas Jaeger  <aj@suse.de>
5567         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5568         * sunrpc/svc_simple.c: Use it for registerrpc.
5569         * sunrpc/xcrypt.c: Use it for passwd2des.
5571         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5573 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
5575         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5576         Don't define if [__SYSCALL_WORDSIZE != 32].
5577         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5578         New macro.
5580 2012-05-21  Bruno Haible  <bruno@clisp.org>
5581             Andreas Jaeger  <aj@suse.de>
5583         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5584         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5585         inptr and inend for must_buffer_ch.
5586         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5587         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5588         * stdio-common/Makefile (tests): Remove bug15.
5589         (bug15-ENV): Remove macro.
5590         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5591         anymore.
5593 2012-05-19  Andreas Jaeger  <aj@suse.de>
5594             Roland McGrath  <roland@hack.frob.com>
5596         * manual/contrib.texi: Completely rewritten. It contains now an
5597         alphabetical list of contributors and their contributions.
5599 2012-05-21  Richard Henderson  <rth@twiddle.net>
5601         * misc/getauxval.c (__getauxval): Use unsigned long int.
5602         * misc/sys/auxv.h: Include <sys/cdefs.h>.
5603         (getauxval): Use unsigned long int.
5605 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
5607         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5609 2012-05-21  Roland McGrath  <roland@hack.frob.com>
5611         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5612         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5613         __alignof__ (long double).
5615 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5619 2012-05-20  Richard Henderson  <rth@twiddle.net>
5621         * misc/getauxval.c: New file.
5622         * misc/sys/auxv.h: New file.
5623         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5624         (routines): Add getauxval.
5625         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5626         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5627         * elf/dl-sysdep.c (_dl_auxv): Remove.
5628         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5629         * elf/dl-support.c (_dl_auxv): New variable.
5630         (_dl_aux_init): Initialize it.
5631         * manual/startup.texi (Auxiliary Vector): New node.
5632         * sysdeps/generic/bits/hwcap.h: New file.
5633         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5634         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
5635         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5636         * sysdeps/sparc/sysdep.h: ... here.  Include it.
5637         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5638         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
5639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5640         Update.
5641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5644         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5650 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5654 2012-05-19  David S. Miller  <davem@davemloft.net>
5656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5658 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
5660         [BZ #14123]
5661         * math/s_ccosh.c: Include <float.h>
5662         (__ccosh): Avoid internal overflow calculating sinh and cosh
5663         values before multiplying by sin and cos values.
5664         * math/s_ccoshf.c: Likewise.
5665         * math/s_ccoshl.c: Likewise.
5666         * math/s_csin.c: Likewise.
5667         * math/s_csinf.c: Likewise.
5668         * math/s_csinl.c: Likewise.
5669         * math/s_csinh.c: Likewise.
5670         * math/s_csinhf.c: Likewise.
5671         * math/s_csinhl.c: Likewise.
5672         * math/libm-test.inc (ccos_test): Add more tests.
5673         (ccosh_test): Likewise.
5674         (csin_test): Likewise.
5675         (csinh_test): Likewise.
5676         * sysdeps/i386/fpu/libm-test-ulps: Update.
5677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5679 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5681         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5682         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5684         * sysdeps/x86_64/x32/_itoa.h: Add comment.
5686 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
5688         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5689         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5690         * sysdeps/powerpc/soft-fp/Versions: Likewise.
5691         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5692         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5693         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5694         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5695         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5696         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5697         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5698         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5699         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5700         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5701         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5702         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5703         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5704         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5705         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5706         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5707         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5708         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5709         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5710         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5711         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5712         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5713         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5714         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5715         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5716         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5717         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5718         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5720 2012-05-18  Andreas Jaeger  <aj@suse.de>
5722         * csu/.gitignore: Delete.
5724 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5726         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5727         (timex): Use __syscall_slong_t.
5729 2012-05-18  Andreas Jaeger  <aj@suse.de>
5730             Carlos O'Donell  <carlos_odonell@mentor.com>
5732         * manual/install.texi (Configuring and compiling): Update
5733         description about files modified in the source directory.
5734         * INSTALL: Regenerated.
5736 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5738         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5739         value.  Use "or" to set return value to -1.
5740         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5741         negate return value.
5743 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5745         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5746         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5747         failure if the compiler has Graphite support disabled.
5748         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5749         Likewise.
5750         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5751         CFLAGS-memmove.c): Likewise.
5752         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5753         Likewise.
5755 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5757         * sysdeps/x86_64/x32/_itoa.h: New file.
5759         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5760         getdents system call only if kernel and user dirents have the
5761         same d_ino and d_off.
5763         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5764         LLONG_MAX != LONG_MAX.
5765         (_itoa_word): Use _ITOA_WORD_TYPE on value.
5766         (_fitoa_word): Likewise.
5768         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5769         years.
5770         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5771         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5772         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5774         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5775         include <bits/wordsize.h>.  Check __x86_64__ instead of
5776         __WORDSIZE.
5777         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5778         if __x86_64__ is defined.  Use anonymous union on fpstate.
5780         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5781         anonymous union.
5783 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
5785         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5786         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5787         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5788         Refer to _rtld_local_ro instead of _rtld_global_ro.
5789         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5790         Likewise.
5791         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5792         Likewise.
5793         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5794         Likewise.
5795         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5796         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5797         of _rtld_global, and rtld_progname instead of _dl_argv[0].
5799         * sysdeps/powerpc/powerpc32/dl-machine.c
5800         (__elf_machine_runtime_setup) [PROF]: Don't reference
5801         _dl_prof_resolve.
5803 2012-05-18  Andreas Jaeger  <aj@suse.de>
5805         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5806         function only available for GCCs before 3.4 since GCC 3.4
5807         introduced a builtin.
5808         (lrint): Likewise.
5809         (llrintf): Likewise.
5810         (llrint): Likewise.
5811         (fmaxf): Likewise.
5812         (fmax): Likewise.
5813         (fminf): Likewise.
5814         (fmin): Likewise.
5815         (rint): Likewise.
5816         (rintf): Likewise.
5817         (nearbyint): Likewise.
5818         (nearbyintf): Likewise.
5819         (ceil): Likewise.
5820         (ceilf): Likewise.
5821         (floor): Likewise.
5822         (floorf): Likewise.
5824 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
5826         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5827         on both fields and cast pointer to __syscall_ulong_t.
5829         * bits/types.h (__fsword_t): New type.
5830         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5831         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5832         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5833         (__FSWORD_T_TYPE): Likewise.
5834         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5835         (__FSWORD_T_TYPE): Likewise.
5836         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5837         (__FSWORD_T_TYPE): Likewise.
5838         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5839         (__FSWORD_T_TYPE): Likewise.
5840         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5841         __SWORD_TYPE with __fsword_t.
5842         (statfs64): Likewise.
5844 2012-05-17  David S. Miller  <davem@davemloft.net>
5846         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5848 2012-05-17  Andreas Jaeger  <aj@suse.de>
5850         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5851         warning.
5853 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
5855         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5857 2012-05-17  Andreas Jaeger  <aj@suse.de>
5859         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5860         when it is used.
5862 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
5864         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5866 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
5868         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5869         * sysdeps/x86_64/tst-mallocalign1.c: New file.
5871 2012-05-17  Andreas Jaeger  <aj@suse.de>
5872             Carlos O'Donell  <carlos_odonell@mentor.com>
5874         [BZ #14059]
5875         * sysdeps/x86_64/multiarch/init-arch.h
5876         (bit_YMM_Usable): Rename to...
5877         (bit_AVX_Usable): ... this.
5878         (bit_FMA4_Usable): New macro.
5879         (bit_XMM_state): New macro.
5880         (bit_YMM_state): New macro.
5881         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5882         [__ASSEMBLER__] (index_AVX_Usable): ... this.
5883         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5884         (CPUID_OSXSAVE): New macro.
5885         (CPUID_AVX): New macro.
5886         (CPUID_FMA4): New macro.
5887         (index_YMM_Usable): Rename to...
5888         (index_AVX_Usable): ... this.
5889         (HAS_AVX): Use HAS_ARCH_FEATURE.
5890         (HAS_FMA4): Likewise.
5891         (HAS_YMM_USABLE): Remove.
5892         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5893         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5894         are present.
5895         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5896         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5897         * sysdeps/x86_64/multiarch/Makefile: Likewise.
5898         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5899         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5901 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
5903         * math/libm-test.c: Support platforms without multiple rounding modes.
5904         * math/bug-nextafter.c: Support platforms without FP exceptions.
5905         * math/bug-nexttoward.c: Likewise.
5906         * math/test-fenv.c: Likewise.
5907         * math/test-misc.c: Likewise.
5908         * stdlib/bug-getcontext.c: Likewise.
5910 2012-05-17  Andreas Jaeger  <aj@suse.de>
5912         * manual/examples/search.c (critter_cmp): Change signature to
5913         avoid warnings.
5914         * manual/string.texi (Collation Functions): Likewise.
5916 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5918         * bits/types.h: Fold copyright years.
5919         * bits/typesizes.h: Likewise.
5920         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5921         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5922         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5923         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5924         * time/time.h: Likewise.
5926 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
5928         [BZ #208]
5929         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5930         in instead of returning them.  Return void.
5931         (__libc_mallinfo): Accumulate over all arenas.
5932         (__malloc_stats): Adjust for change in int_mallinfo interface.
5934 2012-05-16  Roland McGrath  <roland@hack.frob.com>
5936         [BZ #10375]
5937         * configure.in (NM): Add AC_CHECK_TOOL for it.
5938         (libc_extra_cflags): New substituted variable.
5939         Check for -fstack-protector being used implicitly.
5940         * configure: Regenerated.
5941         * config.make.in (config-extra-cflags): New variable,
5942         gets @libc_extra_cflags@.
5943         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5945         [BZ #10375]
5946         * configure.in: Check for _FORTIFY_SOURCE being predefined.
5947         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5948         * configure: Regenerated.
5949         * config.make.in (CPPUNDEFS): New substituted variable.
5950         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5951         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5952         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5954 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5956         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5957         (mq_attr): Use __syscall_slong_t.
5959 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5961         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5962         Check __x86_64__ instead of __WORDSIZE.
5963         (_STAT_VER_LINUX): Likewise.
5964         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
5965         __syscall_ulong_t and __syscall_slong_t.
5966         (stat64): Likewise.
5968 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5970         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5972 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5974         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5976 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5978         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5979         __syscall_ulong_t.
5981         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5982         include <bits/wordsize.h>.  Check __x86_64__ instead of
5983         __WORDSIZE.
5984         (greg_t): Use "__extension__ long long int" if __x86_64__ is
5985         defined.
5986         (mcontext_t): Replace "unsigned long" with "unsigned long long".
5988         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5989         include <bits/wordsize.h>.  Check __x86_64__ instead of
5990         __WORDSIZE.
5991         (user_regs_struct): Use "__extension__ unsigned long long"
5992         instead of "unsigned long" if __x86_64__ is defined.
5993         (user): Likewise.  Pad after pointer field if __ILP32__ is
5994         defined.
5996 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
5998         * configure.in (makeinfo): Require version 4.5 or later.  Allow
5999         versions 5 to 9.
6000         * configure: Regenerated.
6001         * manual/install.texi (texinfo): Increase version requirement to
6002         4.5 or later.
6003         * INSTALL: Regenerated.
6005         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6007 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
6009         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6011         * sysdeps/x86_64/x32/ffs.c: New file.
6013         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6014         __syscall_ulong_t.
6015         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6016         defined.  Use __syscall_ulong_t.
6017         (shminfo): Use __syscall_ulong_t.
6018         (shm_info): Likewise.
6020         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6021         __syscall_ulong_t.
6023         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6024         <bits/wordsize.h>.
6025         (msgqnum_t): Use __syscall_ulong_t.
6026         (msglen_t): Likewise.
6027         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
6028         __syscall_ulong_t.
6030         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6031         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
6033         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6035         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6036         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6038         * sysvipc/sys/msg.h (msgbuf): Replace long int with
6039         __syscall_slong_t.
6041         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6042         include <bits/wordsize.h>.  Check __x86_64__ instead of
6043         __WORDSIZE.
6045         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6046         "unsigned long long int" if __x86_64__ is defined.
6047         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6049         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6050         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
6051         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6053         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6054         <stdint.h>.
6055         (GET_PC): Cast to uintptr_t first.
6056         (GET_FRAME): Likewise.
6057         (GET_STACK): Likewise.
6059         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6060         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6061         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6062         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6063         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6064         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6065         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6066         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6067         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6068         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6069         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6070         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6071         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6072         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6073         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6074         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6075         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6076         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6077         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6078         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6079         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6080         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6081         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6082         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6083         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6084         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6085         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6086         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6087         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6089 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
6091         * Makerules (+depfiles): Also collect depfiles from .oS in
6092         $(extra-objs).
6093         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6094         .oS, $(libnldbl-routines)).
6096         * Makerules (native-compile-mkdep-flags): Define.
6097         * sunrpc/Makefile (extra-objs): Add $(addprefix
6098         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6099         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6100         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
6101         calling $(make-target-directory).
6103 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6105         * bits/types.h (__snseconds_t): Removed.
6106         * time/time.h (struct timespec): Replace __snseconds_t with
6107         __syscall_slong_t.
6108         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6109         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6110         Likewise.
6111         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6112         (__SNSECONDS_T_TYPE): Likewise.
6113         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6114         (__SNSECONDS_T_TYPE): Likewise.
6115         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6116         (__SNSECONDS_T_TYPE): Likewise.
6118 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6120         * sysdeps/mach/hurd/bits/typesizes.h
6121         (__SYSCALL_SLONG_TYPE): New macro.
6122         (__SYSCALL_ULONG_TYPE): Likewise.
6124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6126         * bits/types.h (__syscall_slong_t): New type.
6127         (__syscall_ulong_t): Likewise.
6129         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6130         (__SYSCALL_ULONG_TYPE): Likewise.
6131         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6132         (__SYSCALL_SLONG_TYPE): Likewise.
6133         (__SYSCALL_ULONG_TYPE): Likewise.
6134         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6135         (__SYSCALL_SLONG_TYPE): Likewise.
6136         (__SYSCALL_ULONG_TYPE): Likewise.
6137         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6138         (__SYSCALL_SLONG_TYPE): Likewise.
6139         (__SYSCALL_ULONG_TYPE): Likewise.
6141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6143         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6144         Add sigaltstack-offsets.sym.
6145         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6146         <sigaltstack-offsets.h>.
6147         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
6148         longjmp_msg pointer.
6149         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
6150         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6151         signal stack.
6152         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6154 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
6156         * elf/stackguard-macros.h: Remove file.
6157         * sysdeps/generic/stackguard-macros.h: New file.
6158         * sysdeps/i386/stackguard-macros.h: Likewise.
6159         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6160         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6161         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6162         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6163         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6164         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6165         * sysdeps/x86_64/stackguard-macros.h: Likewise.
6166         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6167         <elf/stackguard-macros.h>.
6169         [BZ #14109]
6170         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6171         __aligned__ in attribute.
6172         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6173         (gregset_t): Likewise.
6175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6177         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6178         * sysdeps/x86_64/64/Implies-after: Here.  New file.
6179         * sysdeps/x86_64/x32/Implies-after: New file.
6181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6183         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6184         and access return value for _dl_profile_fixup.  Use R10_LP to
6185         load frame size.
6187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6189         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6191 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6193         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6194         * sysdeps/x86_64/x32/sysdep.h: New file.
6196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6198         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6199         * sysdeps/x86_64/setjmp.S: Likewise.
6201 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6203         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6204         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6205         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6206         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6207         remove unused global constant.
6209 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
6211         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6212         include of <not-cancel.h>.
6214 2012-05-15  Roland McGrath  <roland@hack.frob.com>
6216         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6218 2012-05-15  Jeff Law  <law@redhat.com>
6219             Andreas Jaeger  <aj@suse.de>
6221         [BZ #13594]
6222         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6223         out from...
6224         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6225         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6226         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6227         code changing __hst_map_handle.map.
6229 2012-05-15  Roland McGrath  <roland@hack.frob.com>
6231         * configure.in (sysnames): Look for Implies-before and Implies-after
6232         files.
6233         * configure: Regenerated.
6235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6237         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6238         8-byte data alignment with LP_SIZE alignment.
6240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6242         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6243         into R10_LP.
6245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6247         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6251         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6252         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6253         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6254         Likewise.
6255         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6259         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6260         (stackinfo_sub_sp): Likewise.
6262 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6264         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6265         RAX_LP.
6267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6269         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6270         into R*_LP.
6272 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6274         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6275         sizes into R*_LP.
6277 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6279         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6283         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6284         into R11_LP and load __x86_64_shared_cache_size_half into
6285         R8_LP.
6287 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
6289         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6290         R8_LP.
6292 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6294         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6295         logb for POWER7.
6296         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6297         logbf for POWER7.
6298         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6299         logbl for POWER7.
6300         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6301         powerpc32/power7/fpu/s_logb.c via #include.
6302         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6303         powerpc32/power7/fpu/s_logbf.c via #include.
6304         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6305         powerpc32/power7/fpu/s_logbl.c via #include.
6307 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
6309         * README.libm: Remove file.
6311 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6313         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6314         count for x32.  Use R*_LP and omit operand-size suffix.
6316 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6318         * shlib-versions: Move x86_64-.*-linux.* entries to ...
6319         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
6320         * sysdeps/x86_64/x32/shlib-versions: New file.
6322 2012-05-14  Roland McGrath  <roland@hack.frob.com>
6324         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6325         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6326         Use _dl_fatal_printf instead.
6328 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
6330         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6331         set if not set by the user.  Do not allow for being unset.
6332         * sysdeps/unix/sysv/linux/configure: Regenerated.
6334 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6336         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6337         the `q' suffix from lea and replace .quad with ASM_ADDR.
6339 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6341         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6342         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
6343         instead of $17.
6344         (PTR_DEMANGLE): Likewise.
6346 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6348         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6349         (LP_OP): Likewise.
6350         (ASM_ADDR): Likewise.
6351         (RAX_LP): Likewise.
6352         (RBP_LP): Likewise.
6353         (RBX_LP): Likewise.
6354         (RCX_LP): Likewise.
6355         (RDI_LP): Likewise.
6356         (RSI_LP): Likewise.
6357         (RSP_LP): Likewise.
6358         (R8_LP): Likewise.
6359         (R9_LP): Likewise.
6360         (R10_LP): Likewise.
6361         (R10_LP): Likewise.
6362         (R11_LP): Likewise.
6363         (R12_LP): Likewise.
6364         (R13_LP): Likewise.
6365         (R14_LP): Likewise.
6366         (R15_LP): Likewise.
6368 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6370         * sysdeps/x86_64/x32/dl-machine.h: New file.
6372 2012-05-14  Andreas Jaeger  <aj@suse.de>
6374         * manual/Makefile (subdir): Remove export of subdir.
6375         (all): Remove target.
6376         (.PHONY): Remove all from list.
6377         (mkinstalldirs): Remove.
6378         (.PHONY): Remove installdirs from list.
6379         ($(inst_infodir)/libc.info): Use make-target-directory.
6380         (installdirs): Remove.
6381         (subdir_%): Remove.
6382         (glibc-targets): Remove.
6383         (lib): Remove.
6384         (stubs): Remove.
6385         ($(objpfx)stubs ../po/manual.pot): Remove.
6386         ($(objpfx)stamp%): Remove.
6387         (make-target-directory): Remove.
6388         (subdir_install): Remove.
6389         (routines): Remove.
6390         (aux): Remove.
6391         (sources): Remove.
6392         (objects): Remove.
6393         (headers): Remove.
6395         [BZ #13750]
6396         * manual/.gitignore: Remove, it's not needed anymore.
6397         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6398         all files in it.
6399         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6400         directory.
6401         (texis): Renamed to $(objpfx)texis.
6402         (texis-path): New, contains path to generated files.
6403         (chapters.%): Use texis-path for complete path, add extra argument
6404         libc-texinfo.sh.
6405         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6406         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6407         (summary,texi, stamp-summary): Use complete path of
6408         files. Generate files in build dir.
6409         (dir-add.texi): Build in build dir.
6410         (libm-err.texi,stamp-libm-err): Likewise.
6411         (version.texi, stamp-version): Likewise.
6412         (.%c.texi): Likewise.
6413         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6414         (mostlyclean): Remove target.
6415         (realclean): Remove target.
6416         (generated): Add new variable with contents from mostlyclean and
6417         realclean, remove entries duplicated in common-mostlyclean, add
6418         stamp-libm-err and stamp-version.
6419         (generated-dirs): Add libc directory.
6420         ($(inst_infodir)/libc.info): Install files from build dir.
6422         * manual/install.texi (Configuring and compiling): Adjust since
6423         the info files are not part of the tar ball anymore.
6425 2012-05-14  Andreas Jaeger  <aj@suse.de>
6427         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6428         variable.
6430 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
6432         [BZ #13717]
6433         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6434         to 2.2.0 where earlier.
6435         * sysdeps/unix/sysv/linux/configure: Regenerated.
6436         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6437         Remove conditional code.
6438         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6439         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6440         Remove conditional code.
6441         [!__NR_lchown]: Likewise.
6442         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6443         [__NR_lchown]: Likewise.
6444         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6445         comment referencing __ASSUME_LCHOWN_SYSCALL.
6446         * sysdeps/unix/sysv/linux/i386/sigaction.c
6447         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6448         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6449         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6450         Remove conditional code.
6451         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6452         (__protocol_available): Remove #if 0 code.
6453         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6454         conditional code.
6455         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6456         * sysdeps/unix/sysv/linux/kernel-features.h
6457         (__ASSUME_GETCWD_SYSCALL): Don't define.
6458         (__ASSUME_REALTIME_SIGNALS): Likewise.
6459         (__ASSUME_PREAD_SYSCALL): Likewise.
6460         (__ASSUME_PWRITE_SYSCALL): Likewise.
6461         (__ASSUME_POLL_SYSCALL): Likewise.
6462         (__ASSUME_LCHOWN_SYSCALL): Likewise.
6463         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6464         non-SPARC.
6465         (__ASSUME_SIOCGIFNAME): Don't define.
6466         (__ASSUME_MSG_NOSIGNAL): Likewise.
6467         (__ASSUME_SENDFILE): Define unconditionally.
6468         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6469         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6470         conditional code.
6471         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6472         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6473         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6474         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6475         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6476         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6477         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6479         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6480         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6482         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6483         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6485         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6486         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6488         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6489         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6491         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6492         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6494         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6495         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6497         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6498         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6500         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6501         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6502         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6503         Remove conditional code.
6504         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6505         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6506         Remove conditional code.
6507         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6508         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6509         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6510         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6511         Remove conditional code.
6512         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6513         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6514         Remove conditional code.
6515         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6516         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6517         Remove conditional code.
6518         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6519         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6520         Remove conditional code.
6521         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6522         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6523         Remove conditional code.
6524         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6525         * sysdeps/unix/sysv/linux/sh/pwrite64.c
6526         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6527         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6528         * sysdeps/unix/sysv/linux/sigaction.c
6529         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6530         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6531         * sysdeps/unix/sysv/linux/sigpending.c
6532         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6533         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6534         * sysdeps/unix/sysv/linux/sigprocmask.c
6535         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6536         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6537         * sysdeps/unix/sysv/linux/sigsuspend.c
6538         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6539         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6540         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6541         (__libc_missing_rt_sigs): Remove.
6542         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6543         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6544         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6545         Remove conditional code.
6546         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6547         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6548         return 1.
6549         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6550         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6551         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6552         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6554 2012-05-14  Andreas Jaeger  <aj@suse.de>
6556         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6557         it's not used in glibc.
6558         (__coshm1): Likewise.
6559         (__acosh1p): Likewise.
6560         (__sgn): Likewise.
6562         * manual/string.texi (Copying and Concatenation): Add missing
6563         variable in concat example.
6564         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6566 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6568         [BZ #14103]
6569         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6570         __builtin_clzl with __builtin_clzll.
6572 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
6574         [BZ #14104]
6575         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6576         libc_freeres_ptr.
6578 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6580         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6581         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6582         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6583         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6585 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
6587         * NEWS: Update ia64 info.
6589 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
6591         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6592         used as bcopy.
6594 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
6596         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6597         * sysdeps/unix/syscalls.list (dup3): Likewise.
6598         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6599         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6601 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6603         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6604         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6606 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6608         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6609         thread pointer.
6610         (TLS_IE): Use mov/add instead of movq/addq to load thread
6611         pointer.
6612         (TLS_GD_PREFIX): New.
6613         (TLS_GD): Use it.
6615 2012-05-11  David S. Miller  <davem@davemloft.net>
6617         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6618         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6619         (_FPU_SETCW): Likewise.
6621 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
6623         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6624         is 32-byte aligned.
6626 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
6628         [BZ #11837]
6629         * iconvdata/gb18030.c: Update tables.
6630         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
6631         characters specially.
6632         (BODY for TO_LOOP): Add encoding of missing ranges.
6634 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
6636         [BZ #13673]
6637         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6638         * sysdeps/mach/hurd/dup3.c: Likewise.
6639         * sysdeps/mach/hurd/readlinkat.c: Likewise.
6640         * sysdeps/powerpc/memmove.c:: Likewise.
6642 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
6644         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6645         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6647 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
6649         * elf/elf.h (R_X86_64_RELATIVE64): New.
6650         (R_X86_64_NUM): Updated.
6651         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6652         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
6653         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6654         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6655         tst-quad1pie tst-quad2pie
6656         (modules-names): Add tst-quadmod1 tst-quadmod2.
6657         ($(objpfx)tst-quad1): New dependency.
6658         ($(objpfx)tst-quad2): Likewise.
6659         ($(objpfx)tst-quad1pie): Likewise.
6660         ($(objpfx)tst-quad2pie): Likewise.
6661         * sysdeps/x86_64/tst-quad1.c: New file.
6662         * sysdeps/x86_64/tst-quad1pie.c: New file.
6663         * sysdeps/x86_64/tst-quad2.c: Likewise.
6664         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6665         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6666         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6667         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6668         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6670 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6672         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6673         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6674         * streams/stropts.h (t_scalar_t): Define type.
6676         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6677         (_PATH_PRESERVE): Set to "/var/lib".
6678         (_PATH_RWHODIR): Set to "/var/spool/rwho".
6680         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6681         instead of int.
6683         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6684         if __dir_mkfile succeeded.
6686         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6687         checking for _hurd_dtablesize.  Unlock it right after having
6688         finished _hurd_dtable allocation.
6690 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6692         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6693         * sysdeps/mach/hurd/configure: Regenerated.
6694         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6695         special-casing to...
6696         * sysdeps/gnu/configure.in: ... this new file.
6697         * sysdeps/unix/sysv/linux/configure: Regenerated.
6698         * sysdeps/gnu/configure: New generated file.
6700         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6701         for Linux: use nsec instead of usec, as well as:
6702         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6703         members of type struct timespec.
6704         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6705         New macros.
6706         (struct stat64): Likewise.
6707         (_STATBUF_ST_NSEC): New macro.
6708         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6710         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6711         __strtoul_internal rather than strtoul.
6713 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6715         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6716         and reject them.
6718 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6720         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6721         which preserves existing values.
6722         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6724 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6726         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6727         TIMEOUT values.  Return EINVAL for NFDS values either negative or
6728         greater than FD_SETSIZE.
6730 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6732         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6733         allocated, call __vm_protect to finish enabling the existing space, and
6734         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6735         allocate the remainder.
6737 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6739         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6740         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
6742 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6744         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6745         sysdeps/mach/hurd/readlink.c.
6747         * posix/tst-sysconf.c (posix_options): Only use
6748         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6749         _POSIX_SYNCHRONIZED_IO when they are defined
6750         * sysdeps/mach/hurd/bits/posix_opt.h:
6751         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6752         (_XOPEN_REALTIME): Undefine macro.
6753         (_XOPEN_REALTIME_THREADS): Undefine macro.
6754         (_XOPEN_SHM): Undefine macro.
6755         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6756         macro to -1.
6757         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6758         macro to -1.
6759         (_POSIX_ASYNC_IO): Undefine macro.
6760         (_POSIX_PRIORITIZED_IO): Undefine macro.
6761         (_POSIX_SPIN_LOCKS): Define macro to -1.
6763         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6764         SA_NODEFER, SA_RESETHAND.
6765         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6766         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6767         F_DUPFD_CLOEXEC.
6769 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6771         * elf/Makefile (pldd-modules): Define unconditionally.
6773 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6775         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6777 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6779         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6780         Return ENOENT when name is empty.
6781         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6783 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6785         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6787         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6789 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6791         Fix mlock in all cases except non-readable pages.
6792         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6793         instead of VM_PROT_ALL as parameter to __vm_wire function.
6795         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6796         (__mkdir): When path is `/', just fail with EEXIST.
6797         * sysdeps/mach/hurd/mkdirat.c: Likewise.
6799 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6801         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6802         <sys/uio.h> (for writev).
6803         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6804         and <sys/param.h> (for MIN).
6806 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6808         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6809         REQUESTED_TIME.  Properly set the remaining time and return EINTR
6810         if interrupted.
6812 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6814         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6815         Depend on against $(link-rpcuserlibs).
6817 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6819         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6820         (__libc_stack_end): Do not use attribute_relro.
6821         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6822         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6823         to libthread-provided value.
6824         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6825         attribute_relro.
6827 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6829         [BZ #3748]
6830         * bits/libc-lock.h (__libc_once_get): New macro.
6831         * sysdeps/mach/bits/libc-lock.h: Likewise.
6832         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6833         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6834         instead of using implementation details.
6836         * libio/fileops.c: Unconditionally include <kernel-features.h>.
6837         * libio/freopen.c: Likewise.
6838         * libio/freopen64.c: Likewise.
6839         * misc/syslog.c: Likewise.
6840         * nscd/connections.c: Likewise.
6841         * nscd/netgroupcache.c: Likewise.
6842         * sysdeps/posix/getcwd.c: Likewise.
6844 2012-05-10  Roland McGrath  <roland@hack.frob.com>
6846         * math/w_ilogbf.c: Add #include <limits.h>.
6848 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6850         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6851         path instead of returning without unlocking.
6853         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6854         immediate-write ioctls.
6855         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6857 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6859         * sysdeps/mach/hurd/i386/init-first.c (init): Use
6860         __builtin_frame_address instead of making assumptions about the
6861         location of the return address relative to DATA.  Force early load of
6862         the return address.
6863         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6864         __builtin_frame_address.
6866         dup3 for GNU Hurd.
6867         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6868         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
6869         implement dup3 and do some further code clean-ups.
6870         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6871         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6873 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6875         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6877         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6878         HURD_CRITICAL_END around holding _hurd_dtable_lock.
6879         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6880         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6881         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6882         d->port.lock.
6884         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6885         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
6886         when handler == SIG_ERR, not when handler != SIG_ERR.
6888 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6890         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6891         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6892         definitions.
6894         accept4 for GNU Hurd.
6895         * include/sys/socket.h (__libc_accept4): New prototype.
6896         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
6897         to implement __libc_accept4.
6898         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6899         __libc_accept4.
6900         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6902         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6903         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6904         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6905         signal-defines.sym.
6907 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6909         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6911 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
6913         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6914         assertion on O_CLOEXEC flag.
6915         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6916         * hurd/intern-fd.c: Likewise.
6917         * hurd/port2fd.c: Likewise.
6919 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6921         [BZ #3906]
6922         * bits/in.h (IPV6_PKTINFO): Define new macro.
6923         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6925 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6927         [BZ #13954]
6928         [BZ #13955]
6929         [BZ #13956]
6930         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6931         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6932         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6933         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6934         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6935         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6936         * math/libm-test.inc (logb_test) : Additional logb tests.
6938 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
6939             Andreas Jaeger  <aj@suse.de>
6941         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6942         * configure: Regenerated.
6943         * config.h.in (LINK_OBSOLETE_RPC): New macro.
6944         * config.make.in (link-obsolete-rpc): New substituted variable.
6945         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6946         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6947         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6948         (shared-only-routines): Don't set it under [link-obsolete-rpc],
6949         so that libc.a contains the symbols.
6950         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6951         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6952         * sunrpc/auth_none.c: Likewise.
6953         * sunrpc/auth_unix.c: Likewise.
6954         * sunrpc/authdes_prot.c: Likewise.
6955         * sunrpc/authuxprot.c: Likewise.
6956         * sunrpc/clnt_gen.c: Likewise.
6957         * sunrpc/clnt_perr.c: Likewise.
6958         * sunrpc/clnt_raw.c: Likewise.
6959         * sunrpc/clnt_simp.c: Likewise.
6960         * sunrpc/clnt_tcp.c: Likewise.
6961         * sunrpc/clnt_udp.c: Likewise.
6962         * sunrpc/clnt_unix.c: Likewise.
6963         * sunrpc/des_crypt.c: Likewise.
6964         * sunrpc/des_soft.c: Likewise.
6965         * sunrpc/get_myaddr.c: Likewise.
6966         * sunrpc/key_call.c: Likewise.
6967         * sunrpc/key_prot.c: Likewise.
6968         * sunrpc/netname.c: Likewise.
6969         * sunrpc/pm_getmaps.c: Likewise.
6970         * sunrpc/pm_getport.c: Likewise.
6971         * sunrpc/pmap_clnt.c: Likewise.
6972         * sunrpc/pmap_prot.c: Likewise.
6973         * sunrpc/pmap_prot2.c: Likewise.
6974         * sunrpc/pmap_rmt.c: Likewise.
6975         * sunrpc/publickey.c: Likewise.
6976         * sunrpc/rpc_cmsg.c: Likewise.
6977         * sunrpc/rpc_common.c: Likewise.
6978         * sunrpc/rpc_dtable.c: Likewise.
6979         * sunrpc/rpc_prot.c: Likewise.
6980         * sunrpc/rpc_thread.c: Likewise.
6981         * sunrpc/rtime.c: Likewise.
6982         * sunrpc/svc.c: Likewise.
6983         * sunrpc/svc_auth.c: Likewise.
6984         * sunrpc/svc_raw.c: Likewise.
6985         * sunrpc/svc_run.c: Likewise.
6986         * sunrpc/svc_tcp.c: Likewise.
6987         * sunrpc/svc_udp.c: Likewise.
6988         * sunrpc/svc_unix.c: Likewise.
6989         * sunrpc/svcauth_des.c: Likewise.
6990         * sunrpc/xcrypt.c: Likewise.
6991         * sunrpc/xdr.c: Likewise.
6992         * sunrpc/xdr_array.c: Likewise.
6993         * sunrpc/xdr_float.c: Likewise.
6994         * sunrpc/xdr_intXX_t.c: Likewise.
6995         * sunrpc/xdr_mem.c: Likewise.
6996         * sunrpc/xdr_rec.c: Likewise.
6997         * sunrpc/xdr_ref.c: Likewise.
6998         * sunrpc/xdr_sizeof.c: Likewise.
6999         * sunrpc/xdr_stdio.c: Likewise.
7001 2012-05-10  Roland McGrath  <roland@hack.frob.com>
7003         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7004         change.  Update copyright years.
7006 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
7008         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7010 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
7011             Joseph Myers  <joseph@codesourcery.com>
7012             Paul Pluzhnikov  <ppluzhnikov@google.com>
7014         [BZ #14012]
7015         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7016         requiring rpcgen.
7017         [cross-compiling] (extra-libs): Likewise.
7018         [cross-compiling] (extra-libs-others): Likewise.
7019         [cross-compiling] (librpcsvc-routines): Likewise.
7020         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7021         [cross-compiling] (omit-deps): Likewise.
7022         (sunrpc-CPPFLAGS): New variable.
7023         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7024         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7025         (cross-rpcgen-objs): New variable.
7026         (extra-objs): Append $(cross-rpcgen-objs).
7027         ($(cross-rpcgen-objs)): New rule.
7028         ($(objpfx)cross-rpcgen): Likewise.
7029         (rpcgen-cmd): Define to use $(built-program-file).  Expand
7030         comment.
7031         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7032         ($(objpfx)x%.stmp): Likewise.
7033         * sunrpc/proto.h [IS_IN_build] (_): Define.
7034         [IS_IN_build] (_libc_intl_domainname): Likewise.
7036 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
7038         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7039         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7040         and R_X86_64_TPOFF64.
7042 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
7044         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7045         sysdeps/unix/sysv/syscalls.list.
7046         (stime): Likewise.
7047         (utime): Likewise.
7048         * sysdeps/unix/sysv/syscalls.list: Remove file.
7050 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
7052         [BZ #3440]
7053         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7054         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7055         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7056         (__LC_IDENTIFICATION): Make these macros useful in #if
7057         expressions, as required by C99.
7059 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
7061         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7062         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
7063         after this.
7065 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
7067         * stdlib/longlong.h: Updated from GCC.
7069 2012-05-09  Andreas Jaeger  <aj@suse.de>
7071         * nscd/nscd.c (run_modes): Make named enum, reorder so that
7072         default is first entry.
7073         (run_mode): Set type.
7074         (main): Remove informal message about syslog.
7075         (options): Fix typo.
7077         [BZ #14053]
7078         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7079         to asm.
7080         (lrint): Likewise.
7081         (llrintf): Likewise.
7082         (llrint): Likewise.
7083         (rint): Likewise.
7084         (rintf): Likewise.
7085         (nearbyint): Likewise.
7086         (nearbyintf): Likewise.
7088 2012-05-09  Andreas Jaeger  <aj@suse.de>
7089             Pedro Alves  <palves@redhat.com>
7091         * nscd/nscd.c (run_mode): Use enum.
7092         (main): Cleanup coding style issue.
7094 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
7095             Andreas Jaeger  <aj@suse.de>
7097         * nscd/nscd.c (go_background): Replaced with...
7098         (run_mode): ... this.
7099         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7100         (options): Add -F --foreground.
7101         (main): Implement it.
7102         (parse_opt): Parse it.
7104 2012-05-09  Andreas Jaeger  <aj@suse.de>
7106         [BZ #14083]
7107         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7108         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7109         -Wconversion warning.
7110         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7111         Likewise.
7113 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
7115         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
7116         == 0.
7117         (LC_ALL): Use macro-int-constant.
7118         (LC_COLLATE): Likewise.
7119         (LC_CTYPE): Likewise.
7120         (LC_MESSAGES): Likewise.
7121         (LC_MONETARY): Likewise.
7122         (LC_NUMERIC): Likewise.
7123         (LC_TIME): Likewise.
7124         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7125         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7126         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7127         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7128         Specify type.
7129         [C99-based standards] (float_t): Expect type.
7130         [C99-based standards] (double_t): Expect type.
7131         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
7132         type.
7133         [C99-based standards] (HUGE_VALL): Likewise.
7134         [C99-based standards] (INFINITY): Likewise.
7135         [C99-based standards] (NAN): Likewise.
7136         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7137         [C99-based standards] (FP_NAN): Likewise.
7138         [C99-based standards] (FP_NORMAL): Likewise.
7139         [C99-based standards] (FP_SUBNORMAL): Likewise.
7140         [C99-based standards] (FP_ZERO): Likewise.
7141         [C99-based standards] (FP_FAST_FMA): Use
7142         optional-macro-int-constant.  Specify type.  Require == 1.
7143         [C99-based standards] (FP_FAST_FMAF): Likewise.
7144         [C99-based standards] (FP_FAST_FMAL): Likewise.
7145         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7146         [C99-based standards] (FP_ILOGBNAN): Likewise.
7147         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7148         Specify type.
7149         [C99-based standards] (MATH_ERREXCEPT): Likewise.
7150         [C99-based standards] (math_errhandling): Specify type.
7151         [ISO99 || ISO11] (signgam): Do not allow.
7152         [non-C99-based standards] (copysignf): Do not allow.
7153         [non-C99-based standards] (exp2f): Likewise.
7154         [non-C99-based standards] (log2f): Likewise.
7155         [non-C99-based standards] (modff): Allow.
7156         [non-C99-based standards] (erff): Do not allow.
7157         [non-C99-based standards] (erfcf): Likewise.
7158         [non-C99-based standards] (gammaf): Likewise.
7159         [non-C99-based standards] (hypotf): Likewise.
7160         [non-C99-based standards] (j0f): Likewise.
7161         [non-C99-based standards] (j1f): Likewise.
7162         [non-C99-based standards] (jnf): Likewise.
7163         [non-C99-based standards] (lgammaf): Likewise.
7164         [non-C99-based standards] (tgammaf): Likewise.
7165         [non-C99-based standards] (y0f): Likewise.
7166         [non-C99-based standards] (y1f): Likewise.
7167         [non-C99-based standards] (ynf): Likewise.
7168         [non-C99-based standards] (isnanf): Likewise.
7169         [non-C99-based standards] (acoshf): Likewise.
7170         [non-C99-based standards] (asinhf): Likewise.
7171         [non-C99-based standards] (atanhf): Likewise.
7172         [non-C99-based standards] (cbrtf): Likewise.
7173         [non-C99-based standards] (expm1f): Likewise.
7174         [non-C99-based standards] (ilogbf): Likewise.
7175         [non-C99-based standards] (log1pf): Likewise.
7176         [non-C99-based standards] (logbf): Likewise.
7177         [non-C99-based standards] (nextafterf): Likewise.
7178         [non-C99-based standards] (remainderf): Likewise.
7179         [non-C99-based standards] (rintf): Likewise.
7180         [non-C99-based standards] (scalbf): Likewise.
7181         [non-C99-based standards] (copysignl): Likewise.
7182         [non-C99-based standards] (exp2l): Likewise.
7183         [non-C99-based standards] (log2l): Likewise.
7184         [non-C99-based standards] (modfl): Allow.
7185         [non-C99-based standards] (erfl): Do not allow.
7186         [non-C99-based standards] (erfcl): Likewise.
7187         [non-C99-based standards] (gammal): Likewise.
7188         [non-C99-based standards] (hypotl): Likewise.
7189         [non-C99-based standards] (j0l): Likewise.
7190         [non-C99-based standards] (j1l): Likewise.
7191         [non-C99-based standards] (jnl): Likewise.
7192         [non-C99-based standards] (lgammal): Likewise.
7193         [non-C99-based standards] (tgammal): Likewise.
7194         [non-C99-based standards] (y0l): Likewise.
7195         [non-C99-based standards] (y1l): Likewise.
7196         [non-C99-based standards] (ynl): Likewise.
7197         [non-C99-based standards] (isnanl): Likewise.
7198         [non-C99-based standards] (acoshl): Likewise.
7199         [non-C99-based standards] (asinhl): Likewise.
7200         [non-C99-based standards] (atanhl): Likewise.
7201         [non-C99-based standards] (cbrtl): Likewise.
7202         [non-C99-based standards] (expm1l): Likewise.
7203         [non-C99-based standards] (ilogbl): Likewise.
7204         [non-C99-based standards] (log1pl): Likewise.
7205         [non-C99-based standards] (logbl): Likewise.
7206         [non-C99-based standards] (nextafterl): Likewise.
7207         [non-C99-based standards] (remainderl): Likewise.
7208         [non-C99-based standards] (rintl): Likewise.
7209         [non-C99-based standards] (scalbl): Likewise.
7210         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7211         [non-C99-based standards] (FP_*): Do not allow.
7212         [C99-based standards] (FP_*): Change to
7213         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7214         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7215         allow.
7216         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7217         (SIG_ERR): Likewise.
7218         [X/Open-based standards] (SIG_HOLD): Likewise.
7219         (SIG_IGN): Likewise.
7220         (SIGABRT): Use macro-int-constant.  Specify type.  Require
7221         positive value.
7222         (SIGFPE): Likewise.
7223         (SIGILL): Likewise.
7224         (SIGINT): Likewise.
7225         (SIGSEGV): Likewise.
7226         (SIGTER): Likewise.
7227         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7228         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7229         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7230         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7231         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7232         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7233         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7234         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7235         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7236         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7237         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7238         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7239         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7240         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7241         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7242         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7243         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7244         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7245         [X/Open-based standards] (SIGTRAP): Likewise.
7246         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7247         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7248         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7249         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7250         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7251         allow.
7253 2012-05-08  Ian Wienand  <ianw@vmware.com>
7255         [BZ #14080]
7256         * time/tzset.c (__tzset_parse_tz): Update default rules for
7257         daylight time changes in the Energy Policy Act of 2005.
7259 2012-05-09  Andreas Jaeger  <aj@suse.de>
7261         [BZ #13983]
7262         * elf/ldconfig.c (parse_conf): Change string to make clear that
7263         ldconfig only issued a warning if ld.so.conf does not exist.
7265 2012-05-08  David S. Miller  <davem@davemloft.net>
7267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7268         movxtod instead of popping the value on the stack.
7270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7272 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
7274         * config.h.in: Add HAVE_ARM_PCS_VFP.
7276 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
7278         [BZ #13979]
7279         * include/features.h: Warn if user requests __FORTIFY_SOURCE
7280         checking but the checks are disabled for any reason.
7282 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
7284         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7285         and ELF64_R_TYPE with ELFW(R_TYPE).
7287 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
7289         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7290         (ulimit): Likewise.
7292         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7293         (settimeofday): Likewise.
7295 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
7297         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
7298         a struct th_u2 inside the union, and move tu_block/tu_code into
7299         a new th_u3 union of tu_block/tu_code inside of that.  Move
7300         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
7301         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
7302         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7303         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7304         (th_stuff): Change to th_u1.tu_stuff.
7305         (th_data): Define.
7306         (th_msg): Change to th_u1.th_u2.tu_data.
7308 2012-05-07  David S. Miller  <davem@davemloft.net>
7310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7312         [BZ #14074]
7313         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7314         (SETUP_PIC_REG): Use it.
7315         (SETUP_PIC_REG_LEAF): Use it.
7317 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
7319         [BZ #13885]
7320         [BZ #13923]
7321         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7322         USE_AS_EXPM1L.
7323         (EXPL_FINITE): Likewise.
7324         (FLDLOG): Likewise.
7325         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7326         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7327         e_expl.S.
7328         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7329         USE_AS_EXPM1L.
7330         (EXPL_FINITE): Likewise.
7331         (FLDLOG): Likewise.
7332         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7333         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7334         e_expl.S.
7335         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
7336         test of -max_value argument for long double.
7337         * sysdeps/i386/fpu/libm-test-ulps: Update.
7338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7340 2012-05-06  David S. Miller  <davem@davemloft.net>
7342         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7343         quad soft-float symbols whose references which are compiler
7344         generated.
7345         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7347 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
7349         [BZ #13884]
7350         [BZ #13914]
7351         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7352         USE_AS_EXP10L.
7353         (EXPL_FINITE): Likewise.
7354         (FLDLOG): Likewise.
7355         (c0): Likewise.
7356         (c1): Likewise.
7357         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
7358         Adjust comments for base varying.
7359         (__expl_finite): Change alias to EXPL_FINITE.
7360         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7361         e_expl.S.
7362         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7363         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7364         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7365         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7366         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7367         USE_AS_EXP10L.
7368         (EXPL_FINITE): Likewise.
7369         (FLDLOG): Likewise.
7370         (c0): Likewise.
7371         (c1): Likewise.
7372         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
7373         Adjust comments for base varying.
7374         (__expl_finite): Change alias to EXPL_FINITE.
7375         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
7376         tests for bugs.
7377         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7379         [BZ #14064]
7380         * math/libm-test.inc (check_float_internal): Correct ulp
7381         calculation for subnormal expected results.
7383 2012-05-06  Andreas Jaeger  <aj@suse.de>
7385         * Makeconfig (+math-flags): New, set to -frounding-math.
7386         (+cflags): Add +math-flags so that all of glibc gets compiled with
7387         it.
7389         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7391 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
7393         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7394         Disable one test.
7396         [BZ #13787]
7397         [BZ #13922]
7398         [BZ #14036]
7399         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7400         (__ieee754_expl): Allow for and saturate large arguments.
7401         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7402         (u_threshold): Likewise.
7403         (__exp): Call __ieee754_exp before checking for overflow and
7404         underflow.
7405         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7406         (u_threshold): Likewise.
7407         (__expf): Call __ieee754_expf before checking for overflow and
7408         underflow.
7409         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7410         (u_threshold): Likewise.
7411         (__expl): Call __ieee754_expl before checking for overflow and
7412         underflow.
7413         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7414         (__ieee754_expl): Allow for and saturate large arguments.
7415         * math/libm-test.inc (exp_test): Add another test.  Do not allow
7416         missing overflow exception on overflow.
7417         (expm1_test): Do not allow missing overflow exception on overflow.
7419         * sysdeps/i386/fpu/e_expl.c: Move to ...
7420         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
7421         rather than using inline asm.
7422         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7423         * sysdeps/x86_64/fpu/e_expl.S: Copy from
7424         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7426         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7427         (nice): Likewise.
7428         (poll): Likewise.
7429         (signal): Likewise.
7430         (time): Likewise.
7431         (times): Likewise.
7433 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
7435         * sysdeps/unix/syscalls.list (adjtime): Add entry from
7436         sysdeps/unix/common/syscalls.list.
7437         (fchmod): Likewise.
7438         (fchown): Likewise.
7439         (ftruncate): Likewise.
7440         (getrusage): Likewise.
7441         (gettimeofday): Likewise.
7442         (setpgid): Likewise.
7443         (setregid): Likewise.
7444         (setreuid): Likewise.
7445         (sigaction): Likewise.
7446         (truncate): Likewise.
7447         (vhangup): Likewise.
7448         * sysdeps/unix/common/syscalls.list: Remove file.
7449         * sysdeps/unix/bsd/Implies: Don't include unix/common.
7450         * sysdeps/unix/sysv/linux/Implies: Likewise.
7452 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
7454         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7456         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7457         Moved to ...
7458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7459         Here.
7460         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7461         to ...
7462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7463         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7464         to ...
7465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7466         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7467         to ...
7468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7469         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7470         to ...
7471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7472         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7473         to ...
7474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7475         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7476         to ...
7477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7478         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7479         to ...
7480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7481         Here.
7482         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7483         to ...
7484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7485         Here.
7486         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7487         to ...
7488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7489         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7490         Moved to ...
7491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7492         Here.
7493         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7494         to ...
7495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7497 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
7499         * sysdeps/unix/common/bits/dirent.h: Remove file.
7500         * sysdeps/unix/common/bits/fcntl.h: Likewise.
7502         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7503         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7504         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7505         * sysdeps/unix/bsd/isatty.c: Likewise.
7506         * sysdeps/unix/bsd/tcdrain.c: Likewise.
7507         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7508         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7510 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7512         [BZ #13563]
7513         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7514         long double comparison inaccuracies.
7515         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7518 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
7520         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7521         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7523 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
7525         [BZ #14049]
7526         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7527         nonzero digits before rounding a hex value.
7528         * stdlib/tst-strtod.c (tests): Add another test.
7530 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7532         * sysdeps/s390/fpu/libm-test-ulps: Update.
7534 2012-05-03  Andreas Jaeger  <aj@suse.de>
7536         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7537         does not get optimized out.
7538         (malloc_opt_barrier): New.
7540 2012-05-03  Andreas Jaeger  <aj@suse.de>
7541             Roland McGrath  <roland@hack.frob.com>
7543         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
7544         intermediate file deletion.
7545         (generated): Add .symlist files.
7547 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
7549         [BZ #13775]
7550         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7551         Redirect under this condition.
7552         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7553         [__USE_GNU] (__dprintf_chk): Not under this condition.
7554         [__USE_GNU] (__vdprintf_chk): Likewise.
7555         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7556         under this condition.
7557         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7558         [__USE_XOPEN2K8] (dprintf): Define under this condition.
7559         [__USE_XOPEN2K8] (vdprintf): Likewise.
7560         [__USE_GNU] (__dprintf_chk): Not under this condition.
7561         [__USE_GNU] (__vdprintf_chk): Likewise.
7562         [__USE_GNU] (dprintf): Likewise.
7563         [__USE_GNU] (vdprintf): Likewise.
7565 2012-05-03  Roland McGrath  <roland@hack.frob.com>
7567         * elf/Makefile (common-generated): Set this instead of generated for
7568         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
7569         $(all-built-dso)-derived lists.
7571 2012-05-03  Andreas Jaeger  <aj@suse.de>
7573         * sysdeps/i386/fpu/libm-test-ulps: Update.
7575         * FAQ: Removed.
7576         * FAQ.in: Likewise.
7577         * scripts/gen-FAQ.pl: Likewise.
7578         * manual/install.texi (Installation): Point to online location of
7579         FAQ.
7580         * Makefile (files-for-dist): Remove FAQ.
7581         (FAQ): Remove.
7583 2012-05-02  Allan McRae  <allan@archlinux.org>
7585         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7586         (LDFLAGS-reldepmod5.so): Likewise.
7587         (LDFLAGS-reldep6mod1.so): Likewise.
7588         (LDFLAGS-reldep6mod4.so): Likewise.
7589         (LDFLAGS-reldep8mod3.so): Likewise.
7590         (LDFLAGS-unload4mod1.so): Likewise.
7591         (LDFLAGS-unload4mod2.so): Likewise.
7592         (LDFLAGS-tst-initorder): Likewise.
7593         (LDFLAGS-tst-initordera2.so): Likewise.
7594         (LDFLAGS-tst-initordera3.so): Likewise.
7595         (LDFLAGS-tst-initordera4.so): Likewise.
7596         (LDFLAGS-tst-initorderb2.so): Likewise.
7597         (LDFLAGS-noload): Likewise.
7598         (LDFLAGS-next): Likewise.
7599         (LDFLAGS-order2mod1.so): Likewise.
7600         (LDFLAGS-order2mod2.so): Likewise.
7601         (LDFLAGS-tst-initorder2): Likewise.
7602         (LDFLAGS-tst-initorder2a.so): Likewise.
7603         (LDFLAGS-tst-initorder2b.so): Likewise.
7604         (LDFLAGS-tst-initorder2c.so): Likewise.
7605         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7607 2012-05-02  David S. Miller  <davem@davemloft.net>
7609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7611 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
7613         [BZ #14055]
7614         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7616 2012-05-02  Andreas Jaeger  <aj@suse.de>
7618         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7619         since we manipulate rounding mode.
7620         (CPPFLAGS-test-idouble.c): Likewise.
7621         (CPPFLAGS-test-ifloat.c): Likewise.
7622         (CFLAGS-test-ldouble.c): Likewise.
7623         (CFLAGS-test-double.c): Likewise.
7624         (CFLAGS-test-float.c): Likewise.
7625         (CFLAGS-test-misc.c): Likewise.
7626         (CFLAGS-test-test-fenv.c): Likewise.
7628 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7630         [BZ #2550]
7631         [BZ #2570]
7632         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7633         comparisons to determine direction to adjust input.
7635 2012-05-01  Roland McGrath  <roland@hack.frob.com>
7637         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7638         output to the target.
7640         * scripts/localplt.awk: New file.
7641         * elf/Makefile ($(objpfx)check-localplt): Target removed.
7642         (check-localplt-CFLAGS): Variable removed.
7643         ($(all-built-dso:=.jmprel)): New static pattern rule.
7644         (generated): Add those targets.
7645         (localplt-built-dso): New variable.
7646         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7648         * elf/check-localplt.c: File removed.
7650         * scripts/check-execstack.awk: New file.
7651         * elf/Makefile ($(objpfx)check-execstack): Target removed.
7652         (check-execstack-CFLAGS): Variable removed.
7653         ($(objpfx)check-execstack.h): Target removed.
7654         ($(objpfx)execstack-default): New target.
7655         (generated): Add that instead of check-execstack.h.
7656         ($(all-built-dso:=.phdr)): New static pattern rule.
7657         (generated): Add those targets.
7658         * elf/check-execstack.c: File removed.
7660         * scripts/check-textrel.awk: New file.
7661         * elf/Makefile ($(objpfx)check-textrel): Target removed.
7662         (check-textrel-CFLAGS): Variable removed.
7663         (all-built-dso): Use := to define.o
7664         ($(all-built-dso:=.dyn)): New static pattern rule.
7665         (generated): Add those targets.
7666         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7667         * config.make.in (READELF): New substituted variable.
7668         * elf/check-textrel.c: File removed.
7670 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
7672         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7673         allow.
7674         * conform/data/ctype.h-data [C99-based standards] (isblank):
7675         Expect function.
7676         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7677         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7678         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7679         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7680         Specify type.  Require positive value.
7681         (EILSEQ): Likewise.
7682         (ERANGE): Likewise.
7683         [ISO || POSIX] (EILSEQ): Do not expect.
7684         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7685         Specify type.  Require positive value.
7686         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7687         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7688         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7689         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7690         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7691         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7692         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7693         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7694         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7695         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7696         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7697         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7698         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7699         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7700         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7701         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7702         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7703         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7704         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7705         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7706         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7707         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7708         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7709         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7710         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7711         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7712         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7713         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7714         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7715         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7716         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7717         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7718         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7719         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7720         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7721         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7722         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7723         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7724         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7725         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7726         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7727         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7728         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7729         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7730         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7731         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7732         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7733         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7734         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7735         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7736         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7737         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7738         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7739         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7740         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7741         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7742         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7743         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7744         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7745         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7746         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7747         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7748         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7749         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7750         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7751         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7752         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7753         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7754         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7755         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7756         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7757         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7758         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7759         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7760         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7761         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7762         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7763         Require >= 2.
7764         (FLT_ROUNDS): Expect as macro, not constant.
7765         (FLT_MANT_DIG): Use macro-int-constant.
7766         (DBL_MANT_DIG): Likewise.
7767         (LDBL_MANT_DIG): Likewise.
7768         (FLT_DIG): Likewise.
7769         (DBL_DIG): Likewise.
7770         (LDBL_DIG): Likewise.
7771         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
7772         (DBL_MIN_EXP): Likewise.
7773         (LDBL_MIN_EXP): Likewise.
7774         (FLT_MAX_EXP): Use macro-int-constant.
7775         (DBL_MAX_EXP): Likewise.
7776         (LDBL_MAX_EXP): Likewise.
7777         (FLT_MAX_10_EXP): Likewise.
7778         (DBL_MAX_10_EXP): Likewise.
7779         (LDBL_MAX_10_EXP): Likewise.
7780         (FLT_MAX): Use macro-constant.
7781         (DBL_MAX): Likewise.
7782         (LDBL_MAX): Likewise.
7783         (FLT_EPSILON): Use macro-constant.  Give upper bound.
7784         (DBL_EPSILON): Likewise.
7785         (LDBL_EPSILON): Likewise.
7786         (FLT_MIN): Likewise.
7787         (DBL_MIN): Likewise.
7788         (LDBL_MIN): Likewise.
7789         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7790         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7791         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7792         [ISO11] (FLT_HAS_SUBNORM): Likewise.
7793         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7794         [ISO11] (DBL_DECIMAL_DIG): Likewise.
7795         [ISO11] (FLT_DECIMAL_DIG): Likewise.
7796         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7797         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7798         [ISO11] (FLT_TRUE_MIN): Likewise.
7799         [ISO11] (LDBL_TRUE_MIN): Likewise.
7800         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7801         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7802         (SCHAR_MIN): Use macro-int-constant.  Specify type.
7803         (SCHAR_MAX): Likewise.
7804         (UCHAR_MAX): Likewise.
7805         (CHAR_MIN): Likewise.
7806         (CHAR_MAX): Likewise.
7807         (MB_LEN_MAX): Use macro-int-constant.
7808         (SHRT_MIN): Use macro-int-constant.  Specify type.
7809         (SHRT_MAX): Likewise.
7810         (USHRT_MAX): Likewise.
7811         (INT_MAX): Likewise.
7812         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
7813         bound negative.
7814         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
7815         bound with "U".
7816         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
7817         bound with "L".
7818         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
7819         bound negative.  Suffix upper bound with "L".
7820         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
7821         bound with "UL".
7822         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7823         Specify type.
7824         [C99-based standards] (LLONG_MAX): Likewise.
7825         [C99-based standards] (ULLONG_MAX): Likewise.
7826         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
7827         == 0.
7828         [ISO11] (max_align_t): Require type.
7829         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7831         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7832         from $CFLAGS, without defining away __attribute__ calls.
7833         (checknamespace): Use $CFLAGS_namespace.
7835         * conform/conformtest.pl (@keywords): Only include C99 keywords
7836         for standards based on C99 or C11.
7838         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7839         Disable tests.
7840         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7841         UNIX98]: Likewise.
7843         * conform/conformtest.pl: Handle "macro-int-constant" and test for
7844         usability of symbols in #if.
7846         * conform/conformtest.pl: If macro or constant types start
7847         "promoted:", expect the symbol to be of the following type
7848         promoted by the integer promotions.
7850         * conform/conformtest.pl: Parse all "constant" and "macro" lines
7851         in one place.  Also handle "macro-constant".
7853         * conform/conformtest.pl: Only accept expected macro values with
7854         "==".  Parse all "macro" lines in one place.
7855         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7857         * conform/conformtest.pl: Handle braced types on "constant" lines
7858         instead of handling "typed-constant".
7859         * conform/data/signal.h-data: Use "constant" instead of
7860         "typed-constant".
7862         * conform/conformtest.pl: Handle "optional-" at start of lines in
7863         one place rather than duplicating several cases.  Handle each
7864         format of "macro" line with initial "optional-".
7866         * conform/conformtest.pl: Only accept expected constant or
7867         optional-constant values with "==".  Parse all "constant" lines in
7868         one place.  Parse all "optional-constant" lines in one place.
7869         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7870         * conform/data/fmtmsg.h-data: Likewise.
7871         * conform/data/netinet/in.h-data: Likewise.
7872         * conform/data/tar.h-data: Likewise.
7873         * conform/data/limits.h-data: Use "==" form on "constant" and
7874         "optional-constant" lines.
7876         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7877         Use -std=c99 for XOPEN2K.
7878         (@knownproblems): Remove.
7879         (newtoken): Don't check %isknown.
7881         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7882         Do not expect macro.
7883         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7884         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7885         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7886         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7887         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7888         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7889         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7890         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7891         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7892         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7893         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7894         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7895         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7896         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7897         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7898         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7899         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7900         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7901         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7902         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7903         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7904         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7905         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7906         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7907         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7908         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7909         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7910         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7911         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7912         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7913         [XPG3] (acosh): Likewise.
7914         [XPG3] (asinh): Likewise.
7915         [XPG3] (atanh): Likewise.
7916         [XPG3] (cbrt): Likewise.
7917         [XPG3] (expm1): Likewise.
7918         [XPG3] (ilogb): Likewise.
7919         [XPG3] (log1p): Likewise.
7920         [XPG3] (logb): Likewise.
7921         [XPG3] (nextafter): Likewise.
7922         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7923         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7924         [XPG3] (remainder): Likewise.
7925         [XPG3] (rint): Likewise.
7926         [XPG3 || XPG4 || UNIX98] (round): Likewise.
7927         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7928         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7929         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7930         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7931         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7932         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7933         [UNIX98 || XOPEN2K] (scalb): Expect.
7934         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7935         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7936         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7937         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7938         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7939         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7940         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7941         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7942         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7943         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7944         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7945         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7946         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7947         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7948         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7949         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7950         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7951         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7952         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7953         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7954         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7955         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7956         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7957         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7958         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7959         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7960         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7961         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7962         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7963         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7964         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7965         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7966         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7967         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7968         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7969         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7970         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7971         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7972         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7973         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7974         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7975         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7976         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7977         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7978         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7979         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7980         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7981         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7982         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7983         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7984         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7985         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7986         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7987         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7988         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7989         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7990         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7991         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7992         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7993         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7994         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7995         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7996         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7997         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7998         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7999         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8000         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8001         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8002         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8003         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8004         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8005         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8006         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8007         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8008         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8009         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8010         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8011         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8012         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8013         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8014         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8015         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8016         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8017         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8018         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8019         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8020         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8021         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8022         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8023         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8024         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8025         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8026         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8027         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8028         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8029         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8030         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8031         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8032         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8033         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8034         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8035         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8036         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8037         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8038         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8039         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8040         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8041         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8042         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8043         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8044         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8045         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8046         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8047         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8048         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8049         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8050         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8051         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8052         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8053         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8054         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8055         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8056         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8057         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8058         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8059         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8060         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8061         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8062         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8063         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8064         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8065         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8066         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8067         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8068         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8069         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8070         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8072         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8073         _XOPEN_SOURCE_EXTENDED for XPG4.
8075         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8077         * Makeconfig (localtime): Remove variable.
8078         (inst_localtime-file): Likewise.
8080 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8083         Update.
8084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8085         Update.
8086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8087         Update.
8088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8089         Update.
8090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8091         Update.
8092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8093         Update.
8094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8095         Update.
8096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8097         Update.
8098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8099         Update.
8101 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
8103         [BZ #2550]
8104         [BZ #2570]
8105         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8106         comparisons to determine direction to adjust input.
8107         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8108         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8109         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8110         Likewise.
8111         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8112         Likewise.
8113         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8114         Likewise.
8115         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8116         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8117         Likewise.
8118         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8119         Likewise.
8120         * math/libm-test.inc (nexttoward_test): Add more tests.
8122 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8124         [BZ #14040]
8125         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8126         in version GLIBC_2.1, not GLIBC_2.0.
8127         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8128         Likewise.
8130 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
8132         [BZ #13942]
8133         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8134         (1 - x) * (1 + x).
8135         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8136         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8137         * math/libm-test.inc (acos_test): Add more tests.
8138         (asin_test): Likewise.
8139         * sysdeps/i386/fpu/libm-test-ulps: Update.
8140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8142         [BZ #14034]
8143         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8144         of square root.
8145         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8146         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8147         * math/libm-test.inc (acos_test_tonearest): New function.
8148         (acos_test_towardzero): Likewise.
8149         (acos_test_downward): Likewise.
8150         (acos_test_upward): Likewise.
8151         (asin_test_tonearest): Likewise.
8152         (asin_test_towardzero): Likewise.
8153         (asin_test_downward): Likewise.
8154         (asin_test_upward): Likewise.
8155         (main): Call the new functions.
8156         * sysdeps/i386/fpu/libm-test-ulps: Update.
8157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8159         [BZ #13884]
8160         [BZ #13924]
8161         * math/e_exp10.c: Include <float.h>.
8162         (__ieee754_exp10): Handle underflow here rather than multiplying
8163         large negative argument by M_LN10.
8164         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8165         of __ieee754_expf.
8166         * math/e_exp10l.c: Include <float.h>.
8167         (__ieee754_exp10l): Handle underflow here rather than multiplying
8168         large negative argument by M_LN10l.
8169         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
8170         spurious overflow exception on underflow.
8172 2012-04-29  Marek Polacek  <polacek@redhat.com>
8174         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8175         (__fortify_function): New macro.
8176         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8177         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8178         __extern_always_inline.
8179         * libio/bits/stdio2.h: Likewise.
8180         * libio/bits/stdio.h: Likewise.
8181         * string/string.h: Likewise.
8182         * string/bits/string3.h: Likewise.
8183         * include/stdio.h: Likewise.
8184         * stdlib/bits/stdlib.h: Likewise.
8185         * stdlib/stdlib.h: Likewise.
8186         * rt/bits/mqueue2.h: Likewise.
8187         * rt/mqueue.h: Likewise.
8188         * posix/bits/unistd.h: Likewise.
8189         * posix/unistd.h: Likewise.
8190         * io/bits/poll2.h: Likewise.
8191         * io/bits/fcntl2.h: Likewise.
8192         * io/fcntl.h: Likewise.
8193         * io/sys/poll.h: Likewise.
8194         * misc/bits/syslog.h: Likewise.
8195         * misc/bits/syslog-ldbl.h: Likewise.
8196         * misc/sys/syslog.h: Likewise.
8197         * socket/bits/socket2.h: Likewise.
8198         * socket/sys/socket.h: Likewise.
8199         * debug/tst-chk1.c: Likewise.
8200         * wcsmbs/bits/wchar2.h: Likewise.
8201         * wcsmbs/bits/wchar-ldbl.h: Likewise.
8202         * wcsmbs/wchar.h: Likewise.
8204 2012-04-29  Andreas Jaeger  <aj@suse.de>
8206         * Makerules (tests): Remove enable-check-abi protection.
8207         (check-abi-warn): Remove.
8208         (check-abi-%): Remove check-abi-warn usage.
8210         * configure.in: Remove check-abi configure option.
8211         * configure: Regenerated.
8212         * config.make.in (enable-check-abi): Remove.
8214 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
8216         [BZ #14033]
8217         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8218         double functions to double *_finite functions.
8220         [BZ #13941]
8221         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8222         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8223         LDBL_MIN_EXP.
8224         * stdio-common/Makefile (tests): Add tst-sprintf3.
8225         * stdio-common/tst-sprintf3.c: New file.
8227         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8228         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8230 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
8232         * conform/conformtest.pl: Remove duplicate typed-constant
8233         handling.
8235 2012-04-28  David S. Miller  <davem@davemloft.net>
8237         * Makerules (%.abilist): Add vpath on sysdep_dirs.
8238         (check-abi-%): Remove AWK script prerequisite and explicit
8239         abilist directory.
8240         (check-abi): Rewrite to just diff the symlist with the abilist.
8241         (config-tls, config-abi-config): Delete, no longer used.
8242         (update-abi-%): Remove AWK script and explicit abilist directory.
8243         (update-abi): Rewrite to simply compare and conditionally copy the
8244         symlist and the sysdep abilist file.  Remove update-abi-config
8245         checks.
8246         * abilist/ld.abilist: Remove.
8247         * abilist/libBrokenLocale.abilist: Remove.
8248         * abilist/libanl.abilist: Remove.
8249         * abilist/libcrypt.abilist: Remove.
8250         * abilist/libdl.abilist: Remove.
8251         * abilist/librt.abilist: Remove.
8252         * abilist/libthread_db.abilist: Remove.
8253         * abilist/libutil.abilist: Remove.
8254         * scripts/extract-abilist.awk: Remove.
8255         * scripts/merge-abilist.awk: Remove.
8256         * sysdeps/generic/libcidn.abilist: New file.
8257         * sysdeps/generic/libnss_compat.abilist: New file.
8258         * sysdeps/generic/libnss_db.abilist: New file.
8259         * sysdeps/generic/libnss_dns.abilist: New file.
8260         * sysdeps/generic/libnss_files.abilist: New file.
8261         * sysdeps/generic/libnss_hesiod.abilist: New file.
8262         * sysdeps/generic/libnss_nis.abilist: New file.
8263         * sysdeps/generic/libnss_nisplus.abilist: New file.
8264         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8265         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8266         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8267         file.
8268         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8269         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8270         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8271         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8272         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8273         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8274         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8275         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8276         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8277         file.
8278         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8279         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8280         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8281         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8282         file.
8283         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8284         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8285         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8286         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8287         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8288         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8289         file.
8290         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8291         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8292         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8293         file.
8294         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8295         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8296         New file.
8297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8298         New file.
8299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8300         New file.
8301         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8302         New file.
8303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8304         New file.
8305         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8306         New file.
8307         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8308         New file.
8309         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8310         New file.
8311         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8312         New file.
8313         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8314         New file.
8315         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8316         New file.
8317         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8318         New file.
8319         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8320         New file.
8321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8322         file.
8323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8324         New file.
8325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8326         New file.
8327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8328         file.
8329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8330         New file.
8331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8332         New file.
8333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8334         file.
8335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8336         New file.
8337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8338         New file.
8339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8340         New file.
8341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8342         New file.
8343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8344         New file.
8345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8346         New file.
8347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8349         file.
8350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8351         New file.
8352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8353         file.
8354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8355         file.
8356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8357         file.
8358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8359         file.
8360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8361         file.
8362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8363         New file.
8364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8365         file.
8366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8367         file.
8368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8369         New file.
8370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8371         file.
8372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8374         file.
8375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8376         New file.
8377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8378         file.
8379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8380         file.
8381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8382         file.
8383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8384         file.
8385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8386         file.
8387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8388         New file.
8389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8390         file.
8391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8392         file.
8393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8394         New file.
8395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8396         file.
8397         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8398         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8399         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8400         file.
8401         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8402         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8403         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8404         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8405         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8406         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8407         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8408         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8409         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8410         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8413         file.
8414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8415         New file.
8416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8417         file.
8418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8419         file.
8420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8421         file.
8422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8423         file.
8424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8425         file.
8426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8427         New file.
8428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8429         New file.
8430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8431         file.
8432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8433         New file.
8434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8435         file.
8436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8438         file.
8439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8440         New file.
8441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8442         file.
8443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8444         file.
8445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8446         file.
8447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8448         file.
8449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8450         file.
8451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8452         New file.
8453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8454         New file.
8455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8456         file.
8457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8458         New file.
8459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8460         file.
8462 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
8464         * conform/conformtest.pl: Fix typo in handling typed-constant from
8465         allow-header.
8467 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
8469         * README: Cut down references to pre-2.6 Linux kernels and
8470         Linuxthreads.  Update lists of configurations in libc and ports
8471         and sort alphabetically.  Say "or newer" with Linux kernel version
8472         requirements.
8474         * config.h.in [IS_IN_build]: Allow compiling without optimization.
8476 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8478         [BZ #887]
8479         * math/libm-test.inc (logb_test_downward): New test to expose
8480         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8481         rounding mode.
8483 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
8485         [BZ #14027]
8486         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8487         to be done.
8488         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8489         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8491 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
8493         * sysdeps/unix/i386/brk.S: Remove file.
8494         * sysdeps/unix/i386/dl-brk.S: Likewise.
8495         * sysdeps/unix/i386/pipe.S: Likewise.
8496         * sysdeps/unix/i386/sigreturn.S: Likewise.
8497         * sysdeps/unix/i386/syscall.S: Likewise.
8498         * sysdeps/unix/i386/vfork.S: Likewise.
8499         * sysdeps/unix/i386/wait.S: Likewise.
8501         * sysdeps/unix/common/tcsendbrk.c: Move to ...
8502         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8504         * configure.in (arm*-none*): Do not allow without
8505         --enable-hacker-mode.
8506         (netbsd*): Remove case setting base_os.
8507         (386bsd*): Likewise.
8508         (freebsd*): Likewise.
8509         (bsdi*): Likewise.
8510         (osf*): Likewise.
8511         (sunos*): Likewise.
8512         (ultrix*): Likewise.
8513         (newsos*): Likewise.
8514         (dynix*): Likewise.
8515         (*bsd*): Likewise.
8516         (sysv*): Likewise.
8517         (isc*): Likewise.
8518         (esix*): Likewise.
8519         (sco*): Likewise.
8520         (minix*): Likewise.
8521         (irix4*): Likewise.
8522         (irix6*): Likewise.
8523         (solaris[2-9]*): Likewise.
8524         (none): Likewise.
8525         * configure: Regenerated.
8527 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8529         [BZ #11521]
8530         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8531         overflow or cancellation in calculating denominator.
8532         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8533         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8534         down expression to avoid unexpected rounding in newer GCCs.
8535         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8537 2012-04-26  David S. Miller  <davem@davemloft.net>
8539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8540         long-double compat symbols.
8541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8555 2012-04-25  David S. Miller  <davem@davemloft.net>
8557         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8558         HWCAP_* values only after the memory barriers have been defined.
8559         (atomic_full_barrier): Define.
8560         (atomic_read_barrier): Define.
8561         (atomic_write_barrier): Define.
8563 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8565         * shlib-versions: Add libgcc_s version information.
8566         * sysdeps/generic/libgcc_s.h: Remove.
8567         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8568         libgcc_s.h.
8569         * sysdeps/gnu/unwind-resume.c: Likewise.
8570         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8572 2012-04-25  David S. Miller  <davem@davemloft.net>
8574         * sysdeps/unix/sparc/brk.S: Delete.
8575         * sysdeps/unix/sparc/dl-brk.S: Delete.
8576         * sysdeps/unix/sparc/pipe.S: Delete.
8577         * sysdeps/unix/sparc/sysdep.S: Delete.
8578         * sysdeps/unix/sparc/sysdep.h: Delete.
8579         * sysdeps/unix/sparc/vfork.S: Delete.
8580         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8581         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8582         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8583         ret_ERRVAL, r0, r1, MOVE): Define.
8584         (JUMPTARGET): Remove.
8585         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8586         sysdeps/unix/sparc/sysdep.h
8587         (ENTRY, END): Remove.
8588         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8590 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
8592         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8593         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8594         -DIS_IN_build.
8596         * timezone/README: Update upstream location and email address for
8597         tzcode and tzdata.
8598         * timezone/zdump.c: Update from tzcode 2012b.
8599         * timezone/zic.c: Likewise.
8601         * configure.in (libc_cv_as_needed): Remove test.
8602         * configure: Regenerated.
8603         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8604         conditional definition.
8605         [$(have-as-needed) != yes] (no-as-needed): Likewise.
8606         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8607         * config.make.in (have-as-needed): Remove variable.
8609 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8610             Paul Pluzhnikov  <ppluzhnikov@google.com>
8612         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8613         strings correctly.
8615 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
8617         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8618         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8619         * sysdeps/sh/strlen.S: Likewise.
8621 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
8623         * sysdeps/unix/fork.S: Remove file.
8624         * sysdeps/unix/i386/fork.S: Likewise.
8625         * sysdeps/unix/sparc/fork.S: Likewise.
8627         * sysdeps/unix/system.c: Remove file.
8628         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8630         * sysdeps/unix/getegid.S: Remove file.
8631         * sysdeps/unix/geteuid.S: Likewise.
8633 2012-04-24  Roland McGrath  <roland@hack.frob.com>
8635         * scripts/check-localplt.awk: New file.
8636         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8637         of diff.
8638         * scripts/data/localplt-generic.data: Add a comment.
8640         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8641         NODE when __dir_mkfile failed.
8642         * sysdeps/mach/hurd/symlinkat.c: Likewise.
8643         Reported by Ludovic Courtès <ludo@gnu.org>.
8645 2012-04-24  Andreas Jaeger  <aj@suse.de>
8647         * Makerules (common-clean): Also remove gen-as-const-headers
8648         files.
8650 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
8652         * Makerules (native-compile): Do not change working directory for
8653         build.  Use $(OUTPUT_OPTION) in command.
8654         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8656 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8658         [BZ #13886]
8659         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8660         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8661         * math/libm-test.inc (floor_test): Add more tests.
8662         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8664 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
8666         * sysdeps/unix/getdents.c: Remove file.
8667         * sysdeps/unix/sysv/getdents.c: Likewise.
8668         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8670         * sysdeps/unix/syscalls.list (madvise): Add syscall from
8671         sysdeps/unix/mman/syscalls.list.
8672         (mmap): Likewise.
8673         (mprotect): Likewise.
8674         (msync): Likewise.
8675         (munmap): Likewise.
8676         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8677         * sysdeps/unix/mman/syscalls.list: Remove.
8678         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8680         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8681         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8682         * configure: Regenerated.
8683         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8684         $(libgcc_s_suffix).
8685         * config.make.in (libgcc_s_suffix): Remove variable.
8687 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
8689         * sysdeps/unix/sysv/gethostname.c: Move to ...
8690         * sysdeps/posix/gethostname.c: ... here.
8692         * sysdeps/unix/execve.S: Remove file.
8694         * sysdeps/unix/_exit.S: Remove file.
8696 2012-04-23  Andreas Jaeger  <aj@suse.de>
8698         [BZ #13739]
8699         * manual/Makefile: Remove make dist support, there's no
8700         need for a stand-alone documentation tar ball.
8701         (TEXI2DVI): Define always, it's not in Makeconfig.
8702         (dist): Removed.
8703         (tar-it): Removed.
8704         (edition): Removed.
8705         (glibc-doc-$(edition).tar): Removed
8706         (%.Z): Removed.
8707         (%.gz): Removed.
8708         (%.uu): Removed.
8709         (ETAGS): Remove, it's in Makeconfig.
8710         (move-if-change): Remove, it's in Makeconfig.
8712 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
8714         [BZ #13970]
8715         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8716         (strtod, strtof, strtold, strtol, strtoul, strtoq)
8717         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8718         (strtod_l, strtof_l, strtold_l): Remove __wur.
8719         It is not necessarily an error to ignore strtol's return value.
8720         One can reliably look at the stored endptr to decide whether
8721         the number had valid syntax.
8723 2012-04-21  Andreas Jaeger  <aj@suse.de>
8725         [BZ #13739]
8726         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8728 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
8730         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8731         * sysdeps/unix/sysv/Versions: Remove file.
8733 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
8735         [BZ #13927]
8736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8738 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
8740         [BZ #7064]
8741         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8742         version from __vm86.
8744 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
8746         * sysdeps/unix/common/lxstat.c: Remove file.
8747         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8749         * sysdeps/unix/sysv/Makefile: Remove file.
8751         * sysdeps/unix/sysv/direct.h: Remove file.
8753         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8754         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8755         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8756         * sysdeps/unix/sysv/bits/signum.h: Likewise.
8757         * sysdeps/unix/sysv/bits/stat.h: Likewise.
8758         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8759         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8761         * sysdeps/unix/sysv/setrlimit.c: Remove file.
8763         * sysdeps/unix/xmknod.c: Remove file.
8764         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8766         * sysdeps/unix/sysv/settimeofday.c: Remove file.
8768         * sysdeps/unix/sysv/i386/time.S: Remove file.
8770         * sysdeps/unix/fxstat.c: Remove file.
8771         * sysdeps/unix/xstat.c: Likewise.
8772         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8774         * sysdeps/unix/sysv/sigaction.c: Remove file.
8776         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8777         (sysdep_headers): Remove variable.
8778         [termio.h not in sysdep_headers] (generated): Likewise.
8779         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8780         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8781         * sysdeps/unix/sysv/tcdrain.c: Likewise.
8782         * sysdeps/unix/sysv/tcflow.c: Likewise.
8783         * sysdeps/unix/sysv/tcflush.c: Likewise.
8784         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8785         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8786         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8787         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8788         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8790         * sysdeps/unix/siglist.c: Remove file.
8792         * sysdeps/unix/getppid.S: Remove file.
8794         * sysdeps/unix/mkdir.c: Remove file.
8795         * sysdeps/unix/rmdir.c: Likewise.
8797 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
8799         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8800         ERR_MAX value.
8801         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8802         errlist-compat value.
8804 2012-04-18  David S. Miller  <davem@davemloft.net>
8806         * sysdeps/generic/memcopy.h (reg_char): Delete.
8807         * debug/strcat_chk.c: Use char, not reg_char.
8808         * debug/strcpy_chk.c: Likewise.
8809         * debug/strncat_chk.c: Likewise.
8810         * debug/strncpy_chk.c: Likewise.
8811         * string/memchr.c: Likewise.
8812         * string/memrchr.c: Likewise.
8813         * string/rawmemchr.c: Likewise.
8814         * string/strcat.c: Likewise.
8815         * string/strchr.c: Likewise.
8816         * string/strchrnul.c: Likewise.
8817         * string/strcmp.c: Likewise.
8818         * string/strcpy.c: Likewise.
8819         * string/strncat.c: Likewise.
8820         * string/strncmp.c: Likewise.
8821         * string/strncpy.c: Likewise.
8823 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
8825         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8826         __builtin_memcopy is called when src and dest ranges are known to not
8827         overlap.
8829 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
8831         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8832         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8833         fwd_align_merge macro call.
8834         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8835         bwd_align_merge macro call.
8836         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8838 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
8840         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8841         bwd_align_merge macros.
8842         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8843         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8844         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8846 2012-04-18  David S. Miller  <davem@davemloft.net>
8848         * sysdeps/sparc/sparc64/memcopy.h: Delete.
8850 2012-04-18  Andreas Jaeger  <aj@suse.de>
8852         [BZ# 6794]
8853         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8854         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8855         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8857         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8858         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8859         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8861         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8862         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8863         Adjust for changed ldbl-128 files.
8865         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8866         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8867         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8869 2012-04-17  David S. Miller  <davem@davemloft.net>
8871         * sysdeps/sparc/sparc32/memcopy.h: Delete.
8873 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
8875         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8876         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8877         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8878         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8879         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8880         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8882 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8884         [BZ #6794]
8885         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8886         * math/libm-test.inc: Add ilogb errno and exception tests.
8887         * math/w_ilogb.c: New file: ilogb wrapper.
8888         * math/w_ilogbf.c: New file: ilogbf wrapper.
8889         * math/w_ilogbl.c: New file: ilogbl wrapper.
8890         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8891         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8892         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8893         exception being thrown with 0.0 as argument.
8894         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8895         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8896         exception being thrown with 0.0 as argument.
8897         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8898         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8899         exception being thrown with 0.0 as argument.
8900         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8901         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8902         exception being thrown with 0.0 as argument.
8903         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8904         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
8905         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
8906         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8907         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8908         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8909         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8910         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8911         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8913 2012-04-17  Petr Baudis  <pasky@ucw.cz>
8915         * include/sys/uio.h: Change __vector to __iovec to avoid clash
8916         with altivec.
8918 2012-04-16  Marek Polacek  <polacek@redhat.com>
8920         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8922 2012-04-16  Marek Polacek  <polacek@redhat.com>
8924         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8925         operands of fdivp instruction.
8927 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
8929         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8930         * elf/tst-auditmod3b.c: Likewise.
8931         * elf/tst-auditmod4b.c: Likewise.
8932         * elf/tst-auditmod5b.c: Likewise.
8933         * elf/tst-auditmod6b.c: Likewise.
8934         * elf/tst-auditmod6c.c: Likewise.
8935         * elf/tst-auditmod7b.c: Likewise.
8936         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8937         * sysdeps/x86_64/preconfigure.in: Likewise.
8938         * sysdeps/x86_64/preconfigure: Regenerated.
8940 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
8942         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8943         __ILP32__.
8945 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
8947         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8948         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8950 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
8952         [BZ #13973]
8953         * locale/iso-639.def: Fix gl language name. Spotted by
8954         Yaron Shahrabani.
8956 2012-04-12  Roland McGrath  <roland@hack.frob.com>
8958         [BZ #2074]
8959         * libio/libio.h (__io_write_fn): Update comment.
8961 2012-04-12  Petr Baudis  <pasky@ucw.cz>
8963         [BZ #2074]
8964         * stdio.texi (Hook Functions): The user provided writer function
8965         is not allowed to return -1.
8967 2012-04-11  David S. Miller  <davem@davemloft.net>
8969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8971 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
8973         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8974         Add a leading slash to rtkaio.
8976 2012-04-11  Jim Meyering  <meyering@redhat.com>
8978         [BZ #11959]
8979         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8980         It is not necessarily an error to ignore fwrite's return
8981         value.  One can reliably use ferror to test for errors after
8982         the fact.
8984 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
8986         * bits/types.h (__snseconds_t): New type.
8987         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8989         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8990         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8991         (__SNSECONDS_T_TYPE): Likewise.
8992         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8993         (__SNSECONDS_T_TYPE): Likewise.
8994         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8995         (__SNSECONDS_T_TYPE): Likewise.
8997 2012-04-10  Andreas Jaeger  <aj@suse.de>
8999         [BZ #2636]
9000         * manual/time.texi (Processor Time): Return type of times is
9001         elapsed real time since an arbitrary point in the past.
9002         (CPU Time): Move CLK_TCK from here...
9003         (Processor Time): ...to here.  Correct description.
9004         * manual/conf.texi (Constants for Sysconf): Correct description of
9005         _SC_CLK_TCK.
9007 2012-04-10  David S. Miller  <davem@davemloft.net>
9009         [BZ #13967]
9010         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9011         where the is a gap between DT_REL(A) and DT_JMPREL.
9013 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
9015         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9016         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9017         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9019 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9021         * elf/dl-support.c (_dl_inhibit_cache): New variable.
9022         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9023         (dl_main): Handle --inhibit-cache.
9024         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9025         _dl_inhibit_cache.
9026         * elf/dl-load.c (_dl_map_object): Use it.
9027         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9029 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
9031         [BZ #13872]
9032         * sysdeps/i386/fpu/e_powl.S (p78): New object.
9033         (__ieee754_powl): Saturate large exponents rather than testing for
9034         overflow of y*log2(x).
9035         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9036         * math/libm-test.inc (pow_test): Do not permit spurious overflow
9037         exceptions.
9039         [BZ #11521]
9040         * math/s_ctan.c: Include <float.h>.
9041         (__ctan): Avoid internal overflow or cancellation in calculating
9042         denominator.
9043         * math/s_ctanf.c: Likewise.
9044         * math/s_ctanl.c: Likewise.
9045         * math/s_ctanh.c: Likewise.
9046         * math/s_ctanhf.c: Likewise.
9047         * math/s_ctanhl.c: Likewise.
9048         * math/libm-test.inc (ctan_test): Add more tests.
9049         (ctanh_test): Likewise.
9050         * sysdeps/i386/fpu/libm-test-ulps: Update.
9051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9053 2012-04-09  Andreas Jaeger  <aj@suse.de>
9055         [BZ #6894]
9056         * manual/filesys.texi (Directory Entries): Mention that d_namlen
9057         is an optional BSD extension.
9059         [BZ #10254]
9060         * manual/stdio.texi (Opening Streams): Document additional fopen
9061         parameters.
9063 2012-04-09  Roland McGrath  <roland@hack.frob.com>
9065         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9066         %eax without telling the compiler.
9068 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
9070         [BZ # 13963]
9071         * manual/install.texi: Use sourceware.org.
9073 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
9075         [BZ #13873]
9076         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9077         (__ieee754_pow): Generate overflow and underflow using huge*huge
9078         and tiny*tiny rather than just returning constant infinity or zero
9079         for large exponents.
9080         * math/libm-test.inc (pow_test): Require overflow exceptions for
9081         applicable cases of large exponents.
9083         [BZ #706]
9084         * sysdeps/i386/fpu/e_pow.S (p10): New object.
9085         (__ieee754_pow): Use iterative multiplication algorithm only for
9086         integer exponents with absolute value below 1024.  Check for odd
9087         integer exponents when using algorithm for real exponents.
9088         * math/libm-test.inc (pow_test): Add more tests.
9089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9091 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
9093         [BZ #13705]
9094         * math/libm-test.inc (exp_test): Do not allow overflow exception
9095         on underflow test.
9097 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
9099         [BZ #13705]
9100         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9101         instead of __kernel_standard_f.
9103 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
9105         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9106         * sysdeps/x86_64/memset_chk.S: Likewise.
9108 2012-04-08  Andreas Jaeger  <aj@suse.de>
9110         [BZ #10153]
9111         * manual/startup.texi (Environment Access): Describe return value
9112         for putenv and setenv.
9114         [BZ #6895]
9115         * manual/filesys.texi (Directory Entries): Add description for
9116         DT_LNK.
9118         [BZ #6890]
9119         * manual/filesys.texi (Directory Entries): Clarify that it's file
9120         system not operating system in the description of DT_UNKNOWN.
9122         [BZ #6578]
9123         * manual/syslog.texi (closelog): Fix reference, it's openlog.
9125 2012-04-08  Stephen Compall  <s11@member.fsf.org>
9127         [BZ #6649]
9128         * manual/llio.texi (Opening and Closing Files): Add cross
9129         reference to explain mode argument.
9131 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
9133         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9134         * sysdeps/x86_64/memset_chk.S: Likewise.
9136 2012-04-07  David S. Miller  <davem@davemloft.net>
9138         * elf/elf.h (R_SPARC_WDISP10): Define.
9139         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9140         R_SPARC_SIZE32.
9141         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9142         R_SPARC_SIZE64 and R_SPARC_H34.
9144 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
9146         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9147         conditions and remove no longer applicable assertion.
9149 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
9151         * bits/byteswap.h: Include <features.h>.
9152         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9153         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9155 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
9157         * bits/byteswap.h (__bswap_16): Removed.
9158         Include <bits/byteswap-16.h> to get __bswap_16.
9159         * sysdeps/i386/bits/byteswap.h: Likewise.
9160         * sysdeps/s390/bits/byteswap.h: Likewise.
9161         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9162         * bits/byteswap-16.h: New file.
9163         * sysdeps/i386/bits/byteswap-16.h: Likewise.
9164         * sysdeps/s390/bits/byteswap-16.h: Likewise.
9165         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9166         * string/Makefile (headers): Add bits/byteswap-16.h.
9168 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9170         [BZ #13895]
9171         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9172         extra indirection.
9173         * nss/Makefile (tests-static, tests): Add tst-nss-static.
9174         * nss/tst-nss-static.c: New.
9176 2012-04-06  Robert Millan  <rmh@gnu.org>
9178         [BZ #6486]
9179         * manual/llio.texi (File Position Primitive): lseek
9180         refers to WHENCE when it really means OFFSET.
9182 2012-04-06  Andreas Jaeger  <aj@suse.de>
9184         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9185         strncmp declarations.
9187         * abilist/libc.abilist: Add __poll and __ppoll.
9189 2012-04-05  David S. Miller  <davem@davemloft.net>
9191         * scripts/check-local-headers.sh: Accept a host triplet in the
9192         path matched by the exclude regexp.
9194         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9195         definition.
9196         * sysdeps/powerpc/powerpc32/dl-machine.h
9197         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9198         * sysdeps/s390/s390-32/dl-machine.h
9199         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9200         * sysdeps/sparc/sparc32/dl-machine.h
9201         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9202         * sysdeps/sparc/sparc64/dl-machine.h
9203         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9205         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9206         lazy binding.
9207         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9208         undefined symbol errors.
9210         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9211         DT_NEEDED entries.
9213 2012-04-05  Michael Matz  <matz@suse.de>
9215         [BZ #13592]
9216         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9218 2012-04-05  Andreas Jaeger  <aj@suse.de>
9220         [BZ #13908]
9221         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9222         comment.
9224 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9226         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9227         which ROUND is no valid rounding mode.
9229 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9231         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9232         read again.
9233         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9235 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9237         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9238         an exception using FPU order intentionally.
9240 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9242         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9243         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9244         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9245         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9247 2012-04-05  Simon Josefsson  <simon@josefsson.org>
9249         [BZ #12340]
9250         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9251         EINVAL when BUFLEN is too smal.
9253 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9255         [BZ #13553]
9256         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9257         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9259 2012-04-03  Andreas Jaeger  <aj@suse.de>
9261         [BZ #13938]
9262         * manual/setjmp.texi (System V contexts): Fix sentence.
9264         [BZ #13926]
9265         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9266         New macro for this case.
9267         [!__GNUC__] (__bswap_64): New inline function for this case.
9268         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9269         * bits/byteswap.h: Likewise.
9270         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9271         ull, guard with __GLIBC_HAVE_LONG_LONG.
9273         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9274         __GLIBC_HAVE_LONG_LONG.
9276         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9277         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9279 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9281         [BZ #13691]
9282         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9283         inptr and inend, rather than using last_ch.
9285 2012-04-02  David S. Miller  <davem@davemloft.net>
9287         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9288         * stdio-common/printf-parse.h (read_int): Change return type to
9289         'int', return -1 on INT_MAX overflow.
9290         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9291         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
9292         overflows INT_MAX.  Check for overflow of in-format-string precision
9293         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
9294         SIZE_MAX not INT_MAX for integer overflow test.
9295         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9296         skip the construct in the format string but do not record anything.
9297         * stdio-common/bug22.c: Adjust to test both width/prevision
9298         INT_MAX overflow as well as total length INT_MAX overflow.  Check
9299         explicitly for proper errno values.
9301 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
9303         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9304         CHAR_MAX.
9305         * string/test-strcmp.c [! WIDE]: Likewise.
9306         * time/tst-mktime2.c: Likewise for INT_MAX.
9307         * string/test-string.h: #include <sys/param.h> for MIN.
9309         * csu/init-first.c (__libc_init_first): Call __ctype_init.
9310         * sysdeps/i386/init-first.c (init): Likewise.
9311         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9312         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9313         * sysdeps/sh/init-first.c (init): Likewise.
9315 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
9317         * po/ru.po: Update from translation team.
9318         * po/vi.po: Likewise.
9320 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9322         * resolv/nss_dns/dns-host.c: Merge copyright years.
9324 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9326         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9327         Optimize memcpy with prefetch if
9328         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
9329         src, dst pointers have unequal 16 byte alignments.
9331 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9333         [BZ #13928]
9334         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9335         from a CNAME entry and return the minimum ttl for the query.
9336         (gaih_getanswer_slice): Likewise.
9338 2012-03-30  Jeff Law  <law@redhat.com>
9340         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9341         due to long keys.
9342         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9343         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9345         * resolv/nss_dns/dns-host.c: Update copyright year.
9347 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
9349         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9350         requests to save a system call.  Fix check that all bytes are sent.
9352         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9353         comments for sendmmsg.
9355 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9357         [BZ #13691]
9358         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9359         with only 1 character between 0x0041 and 0x01b0.
9360         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9361         * wcsmbs/tst-mbsnrtowcs.c: New file.
9363 2012-03-29  David S. Miller  <davem@davemloft.net>
9365         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9366         small copies by hand.
9368 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9370         [BZ #13761]
9371         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9372         _nss_compat_initgroups_dyn): Fall back to malloc/free
9373         for large group memberships.
9375 2012-03-28  David S. Miller  <davem@davemloft.net>
9377         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9378         that branches into memcpy.
9379         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9380         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9381         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9382         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9383         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9384         bits.
9385         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9386         implementation too.
9387         * sysdeps/sparc/mempcpy.S: New file.
9389         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9390         the IFUNC routine in the libc case.
9391         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9393         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9394         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9395         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9396         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9397         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9398         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9399         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9400         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9402         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9403         loop to 256 bytes instead of 64 bytes and fix test signedness.
9405         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9406         * sysdeps/sparc/sparc32/Makefile: rather than here...
9407         * sysdeps/sparc/sparc64/Makefile: and here.
9409 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
9411         * malloc/mallocbug.c: Avoid warnings about unused variables.
9413 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9415         [BZ #13760]
9416         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9417         in the right place. Discard and retry query if response is
9418         larger than input buffer size.
9420 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
9422         [BZ #369]
9423         [BZ #2678]
9424         [BZ #3866]
9425         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9426         x for large integer exponent.
9427         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9428         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
9429         sign of result as needed afterwards.
9430         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9431         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9432         result for underflowing pow the same as for overflow.
9433         (__kernel_standard_l): Handle powl overflow and underflow here
9434         rather than calling __kernel_standard.
9435         * math/libm-test.inc (pow_test): Add more tests.
9437         [BZ #3868]
9438         [BZ #13879]
9439         [BZ #13910]
9440         [BZ #13911]
9441         [BZ #13912]
9442         [BZ #13913]
9443         [BZ #13915]
9444         [BZ #13916]
9445         [BZ #13917]
9446         [BZ #13918]
9447         [BZ #13919]
9448         [BZ #13920]
9449         [BZ #13921]
9450         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9451         * sysdeps/ieee754/k_standard.c: Include <float.h>.
9452         (__kernel_standard_l): New function.
9453         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9454         __kernel_standard.
9455         * math/w_acosl.c (__acosl): Likewise.
9456         * math/w_asinl.c (__asinl): Likewise.
9457         * math/w_atan2l.c (__atan2l): Likewise.
9458         * math/w_atanhl.c (__atanhl): Likewise.
9459         * math/w_coshl.c (__coshl): Likewise.
9460         * math/w_exp10l.c (__exp10l): Likewise.
9461         * math/w_exp2l.c (__exp2l): Likewise.
9462         * math/w_fmodl.c (__fmodl): Likewise.
9463         * math/w_hypotl.c (__hypotl): Likewise.
9464         * math/w_j0l.c (__j0l, __y0l): Likewise.
9465         * math/w_j1l.c (__j1l, __y1l): Likewise.
9466         * math/w_jnl.c (__jnl, __ynl): Likewise.
9467         * math/w_lgammal.c (__lgammal): Likewise.
9468         * math/w_log10l.c (__log10l): Likewise.
9469         * math/w_log2l.c (__log2l): Likewise.
9470         * math/w_logl.c (__logl): Likewise.
9471         * math/w_powl.c (__powl): Likewise.
9472         * math/w_remainderl.c (__remainderl): Likewise.
9473         * math/w_scalbl.c (sysv_scalbl): Likewise.
9474         * math/w_sinhl.c (__sinhl): Likewise.
9475         * math/w_sqrtl.c (__sqrtl): Likewise.
9476         * math/w_tgammal.c (__tgammal): Likewise.
9477         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9478         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9479         * math/libm-test.inc (acos_test): Add more tests.
9480         (acosh_test): Likewise.
9481         (asin_test): Likewise.
9482         (atanh_test): Likewise.
9483         (exp_test): Likewise.
9484         (exp10_test): Likewise.
9485         (exp2_test): Likewise.
9486         (expm1_test): Likewise.
9487         (lgamma_test): Likewise.
9488         (log_test): Likewise.
9489         (log10_test): Likewise.
9490         (log1p_test): Likewise.
9491         (log2_test): Likewise.
9492         (pow_test): Do not allow some spurious overflow exceptions.
9493         (sqrt_test): Add more tests.
9494         (tgamma_test): Likewise.
9495         (y0_test): Likewise.
9496         (y1_test): Likewise.
9497         (yn_test): Likewise.
9499 2012-03-27  Anton Blanchard  <anton@samba.org>
9501         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9502         MAP_HUGETLB.
9503         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9504         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9505         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9507 2012-03-27  David S. Miller  <davem@davemloft.net>
9509         * conform/Makefile: Run run-conformtest.sh using $(BASH).
9511         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9512         have-as-vis3 check.
9514 2012-03-27  Andreas Jaeger  <aj@suse.de>
9516         * sysdeps/x86_64/elf/configure.in: Moved to ...
9517         * sysdeps/x86_64/configure.in: ... here.
9518         * sysdeps/x86_64/elf/start.S: Moved to ...
9519         * sysdeps/x86_64/start.S: ... here.
9520         * sysdeps/x86_64/elf/configure: Delete.
9522         * sysdeps/x86_64/configure.in: Merge contents from
9523         sysdeps/i386/configure.in (without i686 check).
9525         * sysdeps/i386/elf/Versions: Merge into ...
9526         * sysdeps/i386/Versions: ... this.
9527         * sysdeps/i386/elf/Versions: Delete file.
9528         * sysdeps/i386/elf/start.S: Moved to ...
9529         * sysdeps/i386/start.S: ...here.
9530         * sysdeps/i386/elf/configure.in: Merge into...
9531         * sysdeps/i386/configure.in: ...here.
9532         * sysdeps/i386/elf/configure.in: Delete file.
9533         * sysdeps/i386/elf/configure: Delete file.
9535         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9536         * debug/backtracesyms.c: ... here.
9537         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9538         * debug/backtracesymsfd.c: ... here.
9539         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9540         * sysdeps/generic/ifunc-sel.h: ... here.
9542         * sysdeps/unix/i386/start.c: Delete file.
9543         * sysdeps/unix/sparc/start.c: Delete file.
9544         * sysdeps/unix/start.c: Delete file.
9546         * sysdeps/sh/elf/configure.in: Moved to ...
9547         * sysdeps/sh/configure.in: ... here.
9548         * sysdeps/sh/elf/start.S: Moved to ...
9549         * sysdeps/sh/start.S: ... here.
9550         * sysdeps/sh/elf/configure: Delete file.
9552         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9553         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9554         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9555         * sysdeps/powerpc/powerpc64/entry.h: ... here.
9556         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9557         * sysdeps/powerpc/powerpc64/start.S: here.
9558         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9559         * sysdeps/powerpc/powerpc64/Makefile: ... this.
9560         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9561         * sysdeps/powerpc/powerpc64/configure.in: ... this.
9562         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9564         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9565         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9566         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9567         * sysdeps/powerpc/powerpc32/start.S: ... here.
9568         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9569         * sysdeps/powerpc/powerpc32/configure.in: ... this.
9570         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9572         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9573         * sysdeps/powerpc/ifunc-sel.h: ... here.
9574         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9575         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9577         * sysdeps/sparc/elf/configure.in: Moved to ...
9578         * sysdeps/sparc/configure.in: ... here.
9579         * sysdeps/sparc/elf/configure: Delete file.
9580         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9581         * sysdeps/sparc/sparc32/start.S: ... here.
9582         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9583         * sysdeps/sparc/sparc64/start.S: ... here.
9584         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9585         * sysdeps/sparc/sparc32/Makefile: ... this.
9586         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9587         * sysdeps/sparc/sparc64/Makefile: ... this.
9589         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9590         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9591         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9592         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9593         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9594         * sysdeps/s390/s390-32/setjmp.S: ... here.
9595         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9596         * sysdeps/s390/s390-32/configure.in: ... here.
9597         * sysdeps/s390/s390-32/elf/configure: Delete file.
9598         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9599         * sysdeps/s390/s390-32/start.S: ... here.
9601         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9602         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9603         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9604         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9605         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9606         * sysdeps/s390/s390-64/setjmp.S: ... here.
9607         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9608         * sysdeps/s390/s390-64/configure.in: ... here
9609         * sysdeps/s390/s390-64/elf/configure: Delete file.
9610         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9611         * sysdeps/s390/s390-64/start.S: ... here.
9612         * sysdeps/s390/s390-64/elf/configure: Delete.
9614         * configure.in: Remove support for elf directories in sysdeps.
9616         * configure: Regenerated.
9617         * sysdeps/i386/configure: Regenerated.
9618         * sysdeps/powerpc/powerpc32/configure: Regenerated.
9619         * sysdeps/powerpc/powerpc64/configure: Regenerated.
9620         * sysdeps/s390/s390-32/configure: Regenerated.
9621         * sysdeps/s390/s390-64/configure: Regenerated.
9622         * sysdeps/sh/configure: Regenerated.
9623         * sysdeps/sparc/configure: Regenerated.
9624         * sysdeps/x86_64/configure: Regenerated.
9626 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
9628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9630         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9631         denormal result into account.
9633 2012-03-25  Roland McGrath  <roland@hack.frob.com>
9635         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9636         Reported by Allan McRae <allan@archlinux.org>.
9638 2012-03-23  Jeff Law  <law@redhat.com>
9640         * nss/getnssent.c (__nss_getent): Fix typo.
9642 2012-03-23  David S. Miller  <davem@davemloft.net>
9644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9646 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
9648         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9649         to pad to uint64_t for each field.
9650         (dl_tls_index): Replace unsigned long with uint64_t.
9652 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
9653         Paul Pluzhnikov  <ppluzhnikov@google.com>
9655         [BZ #6528]
9656         * grp/Makefile (otherlibs): Don't set it.
9657         * inet/Makefile (otherlibs): Likewise.
9658         * login/Makefile (otherlibs): Likewise.
9659         * nscd/Makefile (otherlibs): Likewise.
9660         * posix/Makefile (otherlibs): Likewise.
9661         * pwd/Makefile (otherlibs): Likewise.
9662         * rt/Makefile (otherlibs): Likewise.
9663         * sunrpc/Makefile (otherlibs): Likewise.
9664         * nss/Makefile (otherlibs): Likewise.
9665         Add libnss_files to routines and static-only-routines.
9666         ($(objpfx)getent): Remove rule.
9667         * resolv/Makefile: Add libnss_dns and libresolv to routines and
9668         static-only-routines.
9670 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
9672         [BZ #13892]
9673         * math/s_cexp.c: Include <float.h>.
9674         (__cexp): Handle exp result overflowing not necessarily
9675         overflowing both real and imaginary parts of result.
9676         * math/s_cexpf.c: Likewise.
9677         * math/s_cexpl.c: Likewise.
9678         * math/libm-test.inc (cexp_test): Add more tests.
9679         * sysdeps/i386/fpu/libm-test-ulps: Update.
9680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9682 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9684         * include/link.h (ELFW): New macro.
9685         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9686         Replace ELF64_R_TYPE with ELFW(R_TYPE).
9688 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9690         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9691         with uint64_t.
9693 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9695         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9696         declaration.
9697         (struct La_x32_retval): Likewise.
9699 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9701         * sysdeps/x86_64/preconfigure.in: New file.
9702         * sysdeps/x86_64/preconfigure: New generated file.
9704 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
9706         [BZ #13824]
9707         * math/e_exp2l.c: Include <float.h>.
9708         (__ieee754_exp2l): Handle overflow and underflow cases
9709         separately.  Only pass fractional part of argument to
9710         __ieee754_expl.
9711         * math/libm-test.inc (exp2_test): Add more tests.
9713         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9714         negating x to take absolute value.
9715         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9716         Likewise.
9717         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9718         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9719         Likewise.
9720         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9721         computing low part if x was negated.
9722         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9724 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
9726         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9727         la_x32_gnu_pltexit.
9728         (pltexit): Cast int_retval to ptrdiff_t.
9729         * elf/tst-auditmod3b.c: Likewise.
9730         * elf/tst-auditmod4b.c: Likewise.
9731         * elf/tst-auditmod5b.c: Likewise.
9732         * elf/tst-auditmod6b.c: Likewise.
9733         * elf/tst-auditmod6c.c: Likewise.
9734         * elf/tst-auditmod7b.c: Likewise.
9736         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9737         and x32_gnu_pltexit.
9739         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9740         __ELF_NATIVE_CLASS.
9741         (La_x32_regs): New macro.
9742         (La_x32_retval): Likewise.
9743         (la_x32_gnu_pltenter): New function prototype.
9744         (la_x32_gnu_pltexit): Likewise.
9746 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
9748         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9749         exponent.
9751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9753         * configure.in (libc_cv_cc_nofma): Check for option to disable
9754         generation of FMA instructions.
9755         * configure: Regenerate.
9756         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9757         * sysdeps/ieee754/dbl-64/Makefile: New file.
9758         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9759         Remove brandred-fma4.
9760         (CFLAGS-brandred-fma4.c): Remove.
9761         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9762         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9763         define.
9764         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9765         define.
9767 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
9769         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9770         LLONG_MAX != LONG_MAX.
9771         (_itoa_word): Use _ITOA_WORD_TYPE on value.
9772         (_fitoa_word): Likewise.
9773         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9774         LLONG_MAX != LONG_MAX.
9775         * stdio-common/_itowa.h: Include <_itoa.h>.
9776         (_itowa_word): Use _ITOA_WORD_TYPE on value.
9777         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
9778         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
9779         only if not defined.
9780         (_ITOA_WORD_TYPE): Likewise.
9781         (_itoa_word): Use _ITOA_WORD_TYPE on value.
9782         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9784 2012-03-21  David S. Miller  <davem@davemloft.net>
9786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9788 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
9790         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9791         of x86_64 when setting libc_cv_slibdir, libdir and
9792         libc_cv_localedir.
9793         * sysdeps/unix/sysv/linux/configure: Regenerated.
9795 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
9797         * manual/lang.texi (Old Varargs): Remove section.
9798         (How Variadic): Update menu.
9799         (va_start): Do not mention varargs.h.
9801 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
9802             Joseph Myers  <joseph@codesourcery.com>
9804         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9805         link test.
9806         * configure: Regenerated.
9808 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
9810         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9811         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9812         conformtest.pl
9814 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
9816         * NOTES: Remove.
9817         * Makefile (files-for-dist): Remove NOTES.
9818         (NOTES): Remove rule.
9819         * README: Don't refer to NOTES.
9820         * manual/creature.texi: Don't include macros.texi.
9821         * manual/intro.texi (creature.texi): Remove comment referring to
9822         NOTES.
9824         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9825         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9826         * configure: Regenerated.
9827         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9828         LIBC_TRY_CC_OPTION.
9829         (libc_cv_as_i686): Likewise.
9830         (libc_cv_cc_avx): Likewise.
9831         (libc_cv_cc_sse2avx): Likewise.
9832         (libc_cv_cc_fma4): Likewise.
9833         (libc_cv_cc_novzeroupper): Likewise.
9834         * sysdeps/i386/configure: Regenerated.
9836         [BZ #13883]
9837         * sysdeps/i386/fpu/s_cexp.S: Remove.
9838         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9839         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9840         * math/libm-test.inc (cexp_test): Add more tests.
9841         * sysdeps/i386/fpu/libm-test-ulps: Update.
9842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9844 2012-03-21  Allan McRae  <allan@archlinux.org>
9846         * timezone/Makefile: Do not install iso3166.tab and zone.tab
9848 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
9850         [BZ #13871]
9851         * math/w_exp2.c: Do not include <float.h>.
9852         (o_threshold, u_threshold): Remove.
9853         (__exp2): Calculate result before checking finiteness and calling
9854         __kernel_standard.
9855         * math/w_exp2f.c: Likewise.
9856         * math/w_exp2l.c: Likewise.
9857         * math/libm-test.inc (exp2_test): Require overflow exception for
9858         1e6 input.
9860         [BZ #3866]
9861         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9862         range of signed 64-bit integers before using fistpll.  Remove
9863         checks for whether integers fit in mantissa bits.
9864         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9865         the range of signed 32-bit integers before using fistpl.  Remove
9866         checks for whether integers fit in mantissa bits.
9867         * sysdeps/i386/fpu/e_powl.S (p64): New object.
9868         (__ieee754_powl): Test for y outside the range of signed 64-bit
9869         integers before using fistpll.  Reduce 64-bit values to 63-bit
9870         ones as needed.
9871         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9872         divide-by-zero is raised for zero to large negative powers.
9873         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9874         (__ieee754_powl): Test for y outside the range of signed 64-bit
9875         integers before using fistpll.  Reduce 64-bit values to 63-bit
9876         ones as needed.
9877         * math/libm-test.inc (pow_test): Add more tests.
9879 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9881         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9882         <stdio-common/_itoa.h>.
9883         * debug/segfault.c: Likewise.
9884         * elf/dl-cache.c: Likewise.
9885         * elf/dl-minimal.c: Likewise.
9886         * elf/dl-misc.c: Likewise.
9887         * elf/dl-sysdep.c: Likewise.
9888         * elf/dl-version.c: Likewise.
9889         * elf/rtld.c: Likewise.
9890         * hurd/hurdsock.c: Likewise.
9891         * hurd/lookup-retry.c: Likewise.
9892         * malloc/malloc.c: Likewise.
9893         * malloc/mtrace.c: Likewise.
9894         * nscd/nscd_getgr_r.c: Likewise.
9895         * nscd/nscd_getpw_r.c: Likewise.
9896         * nscd/nscd_getserv_r.c: Likewise.
9897         * posix/getopt_init.c: Likewise.
9898         * posix/wordexp.c: Likewise.
9899         * stdio-common/_itoa.c: Likewise.
9900         * stdio-common/printf_fphex.c: Likewise.
9901         * stdio-common/vfprintf.c: Likewise.
9902         * string/_strerror.c: Likewise.
9903         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9904         * sysdeps/i386/i686/hp-timing.h: Likewise.
9905         * sysdeps/mach/_strerror.c: Likewise.
9906         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9907         * sysdeps/mach/hurd/sethostid.c: Likewise.
9908         * sysdeps/mach/hurd/xmknodat.c: Likewise.
9909         * sysdeps/mach/xpg-strerror.c: Likewise.
9910         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9911         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9912         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9913         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9914         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9915         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9916         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9917         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9918         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9919         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9920         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9921         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9922         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9923         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9924         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9925         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9926         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9927         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9928         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9929         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9930         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9932         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9934         * stdio-common/_itoa.h: Moved to ...
9935         * sysdeps/generic/_itoa.h: Here.
9937         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9939         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9940         instead of "_itoa.h" and "_itowa.h".
9941         * stdio-common/vfprintf.: Likewise.
9943 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9945         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9946         <bits/wordsize.h>.
9947         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9948         (__signbit): Likwise.
9949         (llrintf): Likwise.
9950         (llrint): Likwise.
9952 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9954         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9955         __WORDSIZE != 64.
9957 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
9959         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9960         OVERFLOW_EXCEPTION_OK.
9961         * math/libm-test.inc ("Philosophy"): Update comment about
9962         exception testing.
9963         (OVERFLOW_EXCEPTION): Define.
9964         (OVERFLOW_EXCEPTION_OK): Likewise.
9965         (INVALID_EXCEPTION_OK): Renumber.
9966         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9967         (IGNORE_ZERO_INF_SIGN): Likewise.
9968         (test_exceptions): Handle FE_OVERFLOW.
9969         (exp10_test): Expect overflow exceptions.
9970         (exp2_test): Likewise.
9971         (expm1_test): Likewise.
9972         (nextafter_test): Likewise.
9973         (pow_test): Likewise.
9974         (scalbn_test): Likewise.
9975         (scalbln_test): Likewise.
9977 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9979         * sysdeps/x86_64/bits/atomic.h
9980         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9981         64bit integer.
9982         (atomic_exchange_acq): Likewise.
9983         (__arch_exchange_and_add_body): Likewise.
9984         (__arch_add_body): Likewise.
9985         (atomic_add_negative): Likewise.
9986         (atomic_add_zero): Likewise.
9988 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9990         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
9991         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9993 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
9995         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9996         Check __x86_64__ instead of __WORDSIZE.
9998 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10000         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10002 2012-03-19  David S. Miller  <davem@davemloft.net>
10004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10006         * sysdeps/sparc/fpu/fenv_private.h: New file.
10007         * sysdeps/sparc/fpu/math_private.h: Use it.
10008         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10009         Remove.
10010         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10011         (libc_feholdexcept_setroundl): Remove.
10012         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10013         Remove.
10014         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10015         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10017 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10019         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10020         int64_t instead of long int.
10021         (INSERT_WORDS64): Likwise.
10023 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
10025         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10026         _Unwind_GetCFA return to _Unwind_Ptr first.
10028 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
10030         [BZ #13629]
10031         * math/s_clog.c: Include <float.h>.
10032         (__clog): Scale large or subnormal inputs.
10033         * math/s_clogf.c: Likewise.
10034         * math/s_clogl.c: Likewise.
10035         * math/s_clog10.c: Include <float.h>.
10036         (M_LOG10_2): Define.
10037         (__clog10): Scale large or subnormal inputs.
10038         * math/s_clog10f.c: Likewise.
10039         * math/s_clog10l.c: Likewise.
10040         * math/libm-test.inc (clog_test): Add more tests.
10041         (clog10_test): Likewise.
10042         * sysdeps/i386/fpu/libm-test-ulps: Update.
10043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10045         [BZ #11451]
10046         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10047         x and y.
10048         * math/libm-test.inc (atan2_test): Add another test.
10050         * Makerules (common-objdir-compile): Remove.
10051         * sysdeps/unix/Makefile (config-generated): Do not add
10052         $(unix-generated) to variable.
10053         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10054         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10055         Remove rule.
10056         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10057         Likewise.
10058         [generic bits/local_lim.h] (before-compile): Do not append to
10059         variable.
10060         [generic bits/local_lim.h] (common-generated): Likewise.
10061         [generic sys/param.h] (before-compile): Do not append to variable.
10062         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10063         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10064         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10065         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10066         include.
10067         [generic sys/param.h] (sys/param.h-includes): Remove variable.
10068         [generic sys/param.h] (sys/param.h-includes): Remove rule.
10069         [generic sys/param.h] ($(addprefix
10070         $(common-objpfx),$(sys/param.h-includes))): Likewise.
10071         [generic sys/param.h] (common-generated): Do not append to
10072         variable.
10073         [generic sys/param.h] (sysdep_headers): Likewise.
10074         [generic bits/errno.h] (before-compile): Do not append to
10075         variable.
10076         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10077         rule.
10078         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10079         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10080         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10081         [generic bits/errno.h] (common-generated): Do not append to
10082         variable.
10083         [generic bits/ioctls.h] (before-compile): Do not append to
10084         variable.
10085         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10086         rule.
10087         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10088         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10089         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10090         rule.
10091         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10092         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10093         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10094         [generic bits/ioctls.h] (common-generated): Do not append to
10095         variable.
10096         [generic sys/syscall.h] (syscall.h): Remove variable.
10097         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10098         rule.
10099         [generic sys/syscall.h] (before-compile): Do not append to
10100         variable.
10101         [generic sys/syscall.h] (common-generated): Likewise.
10102         * sysdeps/unix/errnos-tmpl.c: Remove file.
10103         * sysdeps/unix/errnos.awk: Likewise.
10104         * sysdeps/unix/ioctls-tmpl.c: Likewise.
10105         * sysdeps/unix/ioctls.awk: Likewise.
10106         * sysdeps/unix/mk-local_lim.c: Likewise.
10107         * sysdeps/unix/snarf-ioctls: Likewise.
10109 2012-03-19  Richard Henderson  <rth@twiddle.net>
10111         * sysdeps/i386/fpu/fenv_private.h: New file.
10112         * sysdeps/i386/fpu/math_private.h: Use it.
10113         (math_opt_barrier, math_force_eval): Remove.
10114         (libc_feholdexcept_setround_53bit): Remove.
10115         (libc_feupdateenv_53bit): Remove.
10116         * sysdeps/x86_64/fpu/math_private.h: Likewise.
10117         (math_opt_barrier, math_force_eval): Remove.
10118         (libc_feholdexcept): Remove.
10119         (libc_feholdexcept_setround): Remove.
10120         (libc_fetestexcept, libc_fesetenv): Remove.
10121         (libc_feupdateenv_test): Remove.
10122         (libc_feupdateenv, libc_feholdsetround): Remove.
10123         (libc_feresetround): Remove.
10125         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10126         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10128         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10129         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10130         (libc_feupdateenv_testl): New.
10131         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10132         (libc_feupdateenv_testf): New.
10133         (libc_feupdateenv): Use libc_feupdateenv_test.
10134         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10135         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10137         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10138         (libc_feholdsetroundf, libc_feholdsetroundl): New.
10139         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10140         (libc_feresetround_noex): New.
10141         (libc_feresetround_noexf): New.
10142         (libc_feresetround_noexl): New.
10143         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10144         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10145         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10146         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10147         SET_RESTORE_ROUND.
10148         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10149         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10150         (__cos): Likewise.
10151         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10152         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10153         SET_RESTORE_ROUND_NOEX.
10154         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10155         SET_RESTORE_ROUND_NOEXF.
10156         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10157         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10158         (libc_feholdsetroundf): New.
10159         (libc_feresetround, libc_feresetroundf): New.
10161         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10162         (libc_feholdexcept_setround_53bit): Convert from macro to function.
10163         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
10165         * sysdeps/generic/math_private.h: Include <fenv.h>.
10166         (default_libc_feholdexcept): New.
10167         (default_libc_feholdexcept_setround): New.
10168         (default_libc_fesetenv, default_libc_feupdateenv): New.
10169         (libc_feholdexcept): Only define if undefined.
10170         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10171         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10172         (libc_feholdexcept_setroundl): Likewise.
10173         (libc_feholdexcept_setround_53bit): Likewise.
10174         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10175         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10176         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10177         (libc_feupdateenv_53bit): Likewise.
10178         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10179         (libc_feholdexcept): Convert from macro to inline function.
10180         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10181         (libc_fesetenv, libc_feupdateenv): Likewise.
10183         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10184         not previously defined.
10185         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10186         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10187         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10188         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10189         * sysdeps/ieee754/flt-32/math_private.h: New file.
10190         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10191         math_private.h below SET_FLOAT_WORD.
10192         (__isnan, __isinf_ns, __finite): Remove.
10193         (__isnanf, __isinf_nsf, __finitef): Remove.
10195 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
10197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10199 2012-03-17  David S. Miller  <davem@davemloft.net>
10201         [BZ #6471]
10202         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10203         for 2.16.
10205 2012-03-16  David S. Miller  <davem@davemloft.net>
10207         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10208         warnings.
10210         [BZ #6471]
10211         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10212         properly.
10213         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10214         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10215         sysdep_routines when subdir is sysvipc.
10216         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10217         __getshmlba helper.
10219         * sysdeps/sparc/fpu/libm-test/ulps: Update.
10221 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10223         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10224         [__LP64__].
10226 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10228         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10229         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10230         (__lround): Renamed to ...
10231         (__llround): This.  Replace long int with long long int.
10232         Define lround functions as aliases of llround functions.
10233         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10235 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10237         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10238         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
10239         adresses to uintptr_t.  Replace "long int" and "unsigned long
10240         int" with "greg_t" on va_arg.
10242 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10244         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10245         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10247         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10248         Move e_machine check before EI_CLASS check.  Handle x32
10249         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10250         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10251         SKIP_EM_IA_64 and include
10252         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10254         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10255         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10256         (add_system_dir): New macro.
10258         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10259         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10261 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
10263         [BZ #2551]
10264         [BZ #2552]
10265         [BZ #2553]
10266         [BZ #2554]
10267         [BZ #2562]
10268         [BZ #2563]
10269         [BZ #2565]
10270         [BZ #2566]
10271         [BZ #2576]
10272         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10273         (y0): Likewise.
10274         * math/w_j0f.c (j0f): Likewise.
10275         (y0f): Likewise.
10276         * math/w_j0l.c (__j0l): Likewise.
10277         (__y0l): Likewise.
10278         * math/w_j1.c (j1): Likewise.
10279         (y1): Likewise.
10280         * math/w_j1f.c (j1f): Likewise.
10281         (y1f): Likewise.
10282         * math/w_j1l.c (__j1l): Likewise.
10283         (__y1l): Likewise.
10284         * math/w_jn.c (jn): Likewise.
10285         (yn): Likewise.
10286         * math/w_jnf.c (jnf): Likewise.
10287         (ynf): Likewise.
10288         * math/w_jnl.c (__jnl): Likewise.
10289         (__ynl): Likewise.
10290         * math/libm-test.inc (j0_test): Add more tests.
10291         (j1_test): Likewise.
10292         (jn_test): Likewise.  Add trailing semicolon to existing test.
10293         (y0_test): Likewise.
10294         (y1_test): Likewise.
10295         * sysdeps/i386/fpu/libm-test-ulps: Update.
10296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10298         [BZ #13851]
10299         [BZ #13854]
10300         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10301         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10302         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10303         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10304         (__tanl): Set errno for infinite argument.
10305         * sysdeps/i386/fpu/mptan.c: Remove.
10306         * sysdeps/i386/fpu/s_tan.S: Likewise.
10307         * sysdeps/i386/fpu/s_tanl.S: Likewise.
10308         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10309         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10310         * math/libm-test.inc (tan_test): Add more tests and enable more
10311         tests for double and long double.
10312         * sysdeps/i386/fpu/libm-test-ulps: Update.
10313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10315 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10317         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10318         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10320 2012-03-16  Roland McGrath  <roland@hack.frob.com>
10322         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10323         * configure.in: Use it for both main tree and add-ons.
10324         * configure: Regenerated.
10326 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10328         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10330 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
10332         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10333         in comment.
10335         [BZ #13851]
10336         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10337         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10338         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10339         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10340         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10341         infinite argument.
10342         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10343         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10344         != 0 for prec == 2.
10345         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10346         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10347         * sysdeps/i386/fpu/s_cosl.S: Likewise.
10348         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10349         * sysdeps/i386/fpu/s_sinl.S: Likewise.
10350         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10351         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10352         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10353         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10354         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10355         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10356         * math/libm-test.inc (cos_test): Add more tests and enable more
10357         tests for long double.
10358         (sin_test): Likewise.
10359         (sincos_test): Likewise.
10360         * sysdeps/i386/fpu/libm-test-ulps: Update.
10361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10363 2012-03-16  David S. Miller  <davem@davemloft.net>
10365         * sysdeps/sparc/fpu/math_private.h: New file.
10367 2012-03-15  David S. Miller  <davem@davemloft.net>
10369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10370         file.
10371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10373         file.
10374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10379         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10380         sysdep routines.
10381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10383         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10384         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10386         * sysdeps/sparc/sparc-ifunc.h: New file.
10387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10388         sparc-ifunc.h
10389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10391         Likewise.
10392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10393         Likewise.
10394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10398         Likewise.
10399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10404         Likewise.
10405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10406         Likewise.
10407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10411         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10412         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10413         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10414         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10415         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10416         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10421         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10422         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10423         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10424         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10425         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10426         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10427         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10428         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10429         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10430         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10432 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
10434         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10435         scaling.
10436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10438 2012-03-15  Andreas Jaeger  <aj@suse.de>
10440         [BZ #13852]
10441         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10442         ieee754/flt-32 implementation for sin, cos and sincos.
10443         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10444         * sysdeps/i386/fpu/s_cosf.S: Likewise.
10445         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10446         * sysdeps/i386/fpu/s_sinf.S: Likewise.
10447         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10448         ieee754/flt-32 implementation for tan.
10450         * math/libm-test.inc (cos_test): Enable some large input tests for
10451         float as well
10452         (sin_test): Likewise.
10453         (sincos_test): Likewise.
10454         (tan_test): Add tests for large input.
10456         * sysdeps/i386/fpu/libm-test-ulps: Update.
10458 2012-03-15  Andreas Jaeger  <aj@suse.de>
10460         [BZ #13658]
10461         * math/libm-test.inc (cos_test): Add more test cases.
10462         (sin_test): Likewise.
10463         (sincos_test): Likewise.
10465 2012-03-15  Andreas Jaeger  <aj@suse.de>
10467         [BZ #13837]
10468         * math/libm-test.inc (cos_test): Add a test case for large input
10469         value.
10470         (sin_test): Likewise.
10471         (sincos_test): Likewise.
10473 2012-03-15  Andreas Jaeger  <aj@suse.de>,
10474         Joseph Myers  <joseph@codesourcery.com>
10476         [BZ #13658]
10477         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
10478         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10479         * sysdeps/i386/fpu/branred.c: Likewise.
10480         * sysdeps/i386/fpu/dosincos.c: Likewise.
10481         * sysdeps/i386/fpu/mpa.c: Likewise.
10482         * sysdeps/i386/fpu/s_cos.S: Likewise.
10483         * sysdeps/i386/fpu/s_sin.S: Likewise.
10484         * sysdeps/i386/fpu/s_sincos.S: Likewise.
10485         * sysdeps/i386/fpu/sincos32.c: Likewise.
10487         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10488         Define.
10489         (libc_feupdateenv_53bit): Define.
10490         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10491         Define.
10492         (libc_feupdateenv_53bit): Define.
10494         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10495         53 bit (without extend i386 double precision).
10497         * math/libm-test.inc (sincos_test): Add tests for large input.
10498         (sin): Likewise.
10499         (cos): Likewise.
10501         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10503 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
10505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10507 2012-03-15  David S. Miller  <davem@davemloft.net>
10509         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10510         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10511         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10512         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10517         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10518         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10519         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10520         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
10524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10525         file.
10526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
10527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10528         file.
10529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
10530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10531         file.
10532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
10533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10534         file.
10535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10536         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10537         fmin/fmax sysdep routines.
10538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10540 2012-03-14  David S. Miller  <davem@davemloft.net>
10542         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10543         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10544         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10546         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10547         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10548         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10549         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10550         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10551         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10552         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10553         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10554         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10555         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10556         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10557         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10558         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10559         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10562         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10563         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10564         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10565         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10566         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10567         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10568         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10569         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
10570         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10571         routines.
10572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10573         file.
10574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
10575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10576         file.
10577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
10578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10579         file.
10580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
10581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10582         file.
10583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
10584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10585         file.
10586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
10587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10588         file.
10589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10590         file.
10591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10592         file.
10593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10594         file.
10595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10596         New file.
10597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10598         file.
10599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10600         file.
10601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
10602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10603         file.
10604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
10605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10606         file.
10607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
10608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10609         file.
10610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
10611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10612         VIS3 routines.
10614         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10615         New file.
10617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10619         * sysdeps/sparc/configure.in: New file.
10620         * sysdeps/sparc/configure: Generate.
10621         * configure.in (libc_cv_sparc_as_vis3): Substitute.
10622         * configure: Regenerate.
10623         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10624         * config.make.in (have-as-vis3): New.
10625         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10626         available use -Av9d instead of -Av9a.
10627         * sysdeps/sparc/sparc64/Makefile: Likewise.
10628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
10629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10630         New file.
10631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10632         file.
10633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10634         New file.
10635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10636         file.
10637         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10638         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10639         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10640         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10641         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10643         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10644         fzeros/fnegs to load 0x80000000 into a float register instead of
10645         using the stack.
10646         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10648 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
10650         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10651         bits/syscall.h.
10652         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10653         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10654         ($(inst_includedir)/bits/syscall.h): Remove rule.
10655         ($(objpfx)bits/syscall.d): Include instead of
10656         $(objpfx)syscall-list.d.
10657         (generated): Change syscall-list.h and syscall-list.d to
10658         bits/syscall.h and bits/syscall.d.
10660 2012-03-14  Roland McGrath  <roland@hack.frob.com>
10662         [BZ #13846]
10663         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10665 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
10667         [BZ #13841]
10668         * math/s_csqrt.c: Include <float.h>.
10669         (__csqrt): Scale large or subnormal inputs.
10670         * math/s_csqrtf.c: Likewise.
10671         * math/s_csqrtl.c: Likewise.
10672         * math/libm-test.inc (csqrt_test): Add more tests.
10673         * sysdeps/i386/fpu/libm-test-ulps: Update.
10674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10676         [BZ #13840]
10677         * math/libm-test.inc (hypot_test): Add more tests.
10679 2012-03-13  David S. Miller  <davem@davemloft.net>
10681         [BZ #13840]
10682         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10683         double-precision for the calculation instead of scaling.
10685 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
10687         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10688         manipulate bits before adding and subtracting TWO52[sx].
10689         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10690         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10691         Likewise.
10692         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10694 2012-03-13  David S. Miller  <davem@davemloft.net>
10696         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10697         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10698         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10699         rtld-global-offsets.h
10700         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10702         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10703         large parameters.
10705         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10707         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10708         'err' in the ifdef scope in which it is actually used.
10710         * nss/nss_db/db-init.c: Include string.h
10712 2012-03-12  David S. Miller  <davem@davemloft.net>
10714         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10715         masking out of the most significant byte of random value used.
10716         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10717         Fix coding style in previous change.
10719         * sysdeps/unix/sysv/linux/kernel-features.h
10720         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10721         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10722         expression.
10723         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10724         later.
10726 2012-03-11  David S. Miller  <davem@davemloft.net>
10728         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10729         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10730         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10731         for 'resultvar' otherwise things get truncated on 64-bit.
10733         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10734         Fix masking out of the most significant byte of random value used.
10736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10738 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
10740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10742 2012-03-09  David S. Miller  <davem@davemloft.net>
10744         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10745         variables with appropriate CPP guards.
10746         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10747         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
10748         on resulting framesize and the management of the outregs buffer for pltexit.
10749         Preserve floating point return values across _dl_call_pltexit call.
10750         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10751         framesize and the management of the outregs buffer for pltexit.
10752         Preserve floating point return values across _dl_call_pltexit
10753         call.
10754         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10755         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10756         (print_exit): Fix format string for return register value.
10758 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
10760         * sunrpc/Makefile (others): Add rpcgen.
10761         ($(objpfx)rpcgen): Remove special build rule and dependency on
10762         libc.
10763         * sunrpc/rpcgen.c: New file.
10765 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
10767         [BZ #13673]
10768         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10769         * stdio-common/bug-vfprintf-nargs.c: Likewise.
10770         * sysdeps/i386/crti.S: Likewise.
10771         * sysdeps/i386/crtn.S: Likewise.
10772         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10773         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10774         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10775         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10776         * sysdeps/sh/crti.S: Likewise.
10777         * sysdeps/sh/crtn.S: Likewise.
10778         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10780         [BZ #13673]
10781         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10782         with URL.
10783         * locale/programs/locfile-kw.gperf: Likewise.
10784         * locale/programs/charmap-kw.h: Regenerated.
10785         * locale/programs/locfile-kw.h: Likewise.
10787         [BZ #13673]
10788         * intl/plural.y: Replace FSF snail mail address with URL.
10789         * intl/plural.c: Regenerated.
10791 2012-03-09  Richard Henderson  <rth@twiddle.net>
10793         * include/math_private.h: Remove file.
10794         * math/math_private.h: Move file ...
10795         * sysdeps/generic/math_private.h: ... here.
10797         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10798         * sysdeps/powerpc/fpu/math_private.h: Likewise.
10799         * sysdeps/x86_64/fpu/math_private.h: Likewise.
10801         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10802         and <math_private.h>.
10803         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10804         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10805         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10806         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10807         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10808         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10809         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10810         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10811         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10812         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10813         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10814         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10815         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10816         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10817         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10818         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10819         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10820         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10821         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10822         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10823         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10824         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10825         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10826         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10827         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10828         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10829         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10830         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10831         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10832         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10833         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10834         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10835         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10836         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10837         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10838         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10839         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10840         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10841         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10842         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10843         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10844         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10845         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10846         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10847         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10848         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10849         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10850         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10851         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10852         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10853         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10854         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10855         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10856         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10857         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10858         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10859         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10860         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10861         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10862         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10863         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10864         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10865         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10866         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10867         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10868         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10869         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10870         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10871         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10872         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10873         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10874         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10875         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10876         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10877         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10878         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10879         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10880         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10881         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10882         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10883         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10884         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10885         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10886         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10887         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10888         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10889         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10890         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10891         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10892         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10893         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10894         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10895         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10896         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10897         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10898         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10899         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10900         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10901         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10902         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10903         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10904         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10905         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10906         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10907         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10908         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10909         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10910         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10911         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10912         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10913         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10914         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10915         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10916         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10917         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10918         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10919         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10920         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10921         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10922         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10923         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10924         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10925         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10926         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10927         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10928         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10929         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10930         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10931         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10932         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10933         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10934         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10935         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10936         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10937         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10938         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10939         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10940         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10941         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10942         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10943         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10944         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10945         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10946         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10947         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10948         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10949         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10950         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10951         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10952         * sysdeps/ieee754/k_standard.c: Likewise.
10953         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10954         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10955         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10956         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10957         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10958         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10959         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10960         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10961         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10962         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10963         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10964         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10965         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10966         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10967         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10968         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10969         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10970         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10971         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10972         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10973         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10974         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10975         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10976         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10977         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10978         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10979         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10980         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10981         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10982         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10983         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10984         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10985         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10986         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10987         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10988         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10989         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10990         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10991         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10992         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10993         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10994         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10995         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10996         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10997         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10998         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10999         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11000         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11001         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11002         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11003         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11004         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11005         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11006         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11007         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11008         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11009         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11010         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11011         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11012         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11013         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11014         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11015         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11016         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11017         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11018         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11019         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11020         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11021         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11022         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11023         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11024         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11025         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11026         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11027         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11028         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11029         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11030         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11031         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11032         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11033         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11034         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11035         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11036         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11037         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11038         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11039         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11040         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11041         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11042         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11043         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11044         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11045         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11046         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11047         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11048         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11049         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11050         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11051         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11052         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11053         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11054         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11055         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11056         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11057         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11058         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11059         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11060         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11061         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11062         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11063         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11064         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11065         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11066         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11067         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11068         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11069         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11070         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11071         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11072         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11073         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11074         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11075         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11076         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11077         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11078         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11079         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11080         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11081         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11082         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11083         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11084         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11085         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11086         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11087         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11088         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11089         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11090         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11091         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11092         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11093         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11094         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11095         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11096         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11097         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11098         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11099         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11100         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11101         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11102         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11103         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11104         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11105         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11106         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11107         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11108         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11109         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11110         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11111         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11112         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11113         * sysdeps/ieee754/s_lib_version.c: Likewise.
11114         * sysdeps/ieee754/s_matherr.c: Likewise.
11115         * sysdeps/ieee754/s_signgam.c: Likewise.
11116         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11117         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11118         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11119         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11120         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11121         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11122         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11123         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11124         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11125         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11126         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11127         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11128         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11129         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11130         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11131         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11132         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11133         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11134         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11135         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11136         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11138 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
11140         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11141         * sunrpc/rpc_main.c: Likewise.
11142         * sunrpc/rpc_svcout.c: Likewise.
11144 2012-03-09  David S. Miller  <davem@davemloft.net>
11146         * include/math_private.h: New file.
11148 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
11150         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11151         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11152         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11153         from <bits/socket_type.h>.
11154         (enum __socket_type): Don't define here.
11155         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11156         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11157         bits/socket_type.h.
11159         [BZ #13566]
11160         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11161         checking __USE_GNU.
11163         * Makerules ($(inst_includedir)/%.h): New rule.
11164         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11165         (install-others): Remove variable setting.
11166         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11168 2012-03-08  Richard Henderson  <rth@twiddle.net>
11170         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11171         from macro to inline function; merge with the
11172         !__LIBC_INTERNAL_MATH_INLINES version.
11173         (__ieee754_sqrtf): Likewise.
11175         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11176         to inline function.
11177         (__rintf, __floor, __floorf): Likewise.
11179         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11180         macro to inline function.
11181         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11183         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11184         not <math/math_private.h>.
11186 2012-03-08  David S. Miller  <davem@davemloft.net>
11188         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11189         copyright year.
11190         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11192 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
11194         * resolv/gai_misc.c (handle_requests): Fix struct timespec
11195         normalization.
11196         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11197         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11199 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
11201         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
11202         be defined individually, they must be defined as a block.  Define
11203         S for printing a string instead of hidint the different by using a
11204         macro for adding the 'l'.
11205         * stdio-common/tst-fphex-wide.c: Adjust.
11207 2012-03-07  Marek Polacek  <polacek@redhat.com>
11209         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11211 2012-03-08  Marek Polacek  <polacek@redhat.com>
11213         [BZ #13806]
11214         * stdio-common/Makefile (tests): Add tst-fphex-wide.
11215         * stdio-common/tst-fphex.c: Define a few macros to make the
11216         test reusable.  Use them.
11217         * stdio-common/tst-fphex-wide.c: New file.
11219 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
11221         [BZ #6911]
11222         * manual/macros.texi (gnusystems): New macro.
11223         (nongnusystems): Likewise.
11224         (gnulinuxhurdsystems): Likewise.
11225         (gnuhurdsystems): Likewise..
11226         (gnulinuxsystems): Likewise.
11227         * manual/charset.texi: Use new macros or @theglibc{} to refer to
11228         variants of the GNU system, not "GNU system".
11229         * manual/conf.texi: Likewise.
11230         * manual/errno.texi: Likewise.  Update example of errno macro
11231         expansion.
11232         * manual/filesys.texi: Likewise.
11233         (getumask): Document as specific to GNU/Hurd.
11234         * manual/install.texi: Likewise.  Reword some references to
11235         GNU/Linux.
11236         * manual/intro.texi: Likewise.
11237         * manual/io.texi: Likewise.
11238         (File Name Portability): Detail which constraints are inapplicable
11239         to all GNU systems and which are only inapplicable to GNU/Hurd.
11240         * manual/job.texi: Likewise.
11241         * manual/llio.texi: Likewise.
11242         (O_NOCTTY): Document as present on GNU/Linux.
11243         * manual/maint.texi: Likewise.
11244         * manual/memory.texi: Likewise.
11245         * manual/pattern.texi: Likewise.
11246         * manual/pipe.texi: Likewise.
11247         * manual/process.texi: Likewise.
11248         * manual/resource.texi: Likewise.
11249         (RUSAGE_CHILDREN): Remove statement about specifying a particular
11250         child on GNU/Hurd.
11251         * manual/setjmp.texi: Likewise.
11252         * manual/signal.texi: Likewise.
11253         * manual/startup.texi: Likewise.
11254         * manual/stdio.texi: Likewise.
11255         * manual/terminal.texi: Likewise.
11256         (ONLCR): Document as POSIX.
11257         (OXTABS): Document availability on GNU/Linux as XTABS.
11258         (ONOEOT): Document availability separately from other bits.
11259         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11260         * manual/time.texi: Likewise.
11261         * manual/users.texi: Likewise.
11262         * INSTALL: Regenerated.
11263         * sysdeps/gnu/errlist.c: Regenerated.
11265         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11266         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11267         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
11268         puts.
11269         * configure: Regenerated.
11271 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
11273         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11274         default includes instead of AC_HEADER_CHECK.
11275         * sysdeps/i386/configure: Regenerated.
11277         [BZ #10716]
11278         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11279         * math/s_cacoshf.c (__cacoshf): Likewise.
11280         * math/s_cacoshl.c (__cacoshl): Likewise.
11281         * math/s_casinh.c (__casinh): Set signs of result from argument.
11282         * math/s_casinhf.c (__casinhf): Likewise.
11283         * math/s_casinhl.c (__casinhl): Likewise.
11284         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11285         (casinh_test): Add more tests.
11286         * sysdeps/i386/fpu/libm-test-ulps: Update.
11287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11289 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
11291         * po/zh_TW.po: Update from translation team.
11293         * login/Makefile (distribute): Remove variable.
11294         * catgets/Makefile: Likewise.
11295         * mach/Makefile: Likewise.
11296         * malloc/Makefile: Likewise.
11297         * misc/Makefile: Likewise.
11298         * iconv/Makefile: Likewise.
11299         * nscd/Makefile: Likewise.
11300         * hurd/Makefile: Likewise.
11301         * manual/Makefile: Likewise.
11302         * locale/Makefile: Likewise.
11303         * intl/Makefile: Likewise.
11304         * conform/Makefile: Likewise.
11305         * nss/Makefile: Likewise.
11306         * time/Makefile: Likewise.
11307         * soft-fp/Makefile: Likewise.
11308         * dirent/Makefile: Likewise.
11309         * gmon/Makefile: Likewise.
11310         * po/Makefile: Likewise.
11311         * rt/Makefile: Likewise.
11312         * socket/Makefile: Likewise.
11313         * math/Makefile: Likewise.
11314         * signal/Makefile: Likewise.
11315         * debug/Makefile: Likewise.
11316         * elf/Makefile: Likewise.
11317         * timezone/Makefile: Likewise.
11318         * stdlib/Makefile: Likewise.
11319         * iconvdata/Makefile: Likewise.
11320         * sunrpc/Makefile: Likewise.
11321         * io/Makefile: Likewise.
11322         * argp/Makefile: Likewise.
11323         * inet/Makefile: Likewise.
11324         * hesiod/Makefile: Likewise.
11325         * grp/Makefile: Likewise.
11326         * csu/Makefile: Likewise.
11327         * wctype/Makefile: Likewise.
11328         * crypt/Makefile: Likewise.
11329         * libio/Makefile: Likewise.
11330         * string/Makefile: Likewise.
11331         * nis/Makefile: Likewise.
11332         * resolv/Makefile: Likewise.
11333         * stdio-common/Makefile: Likewise.
11334         * wcsmbs/Makefile: Likewise.
11335         * dlfcn/Makefile: Likewise.
11336         * posix/Makefile: Likewise.
11338         [BZ #6959]
11339         * timezone/Makefile: Don't install timezone files, just the programs
11340         and scripts.
11342 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
11344         * nss/databases.def: Add missing gshadow entry.
11346         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
11348 2012-03-06  Marek Polacek  <polacek@redhat.com>
11350         [BZ #13726]
11351         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11352         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11353         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11354         * stdio-common/tst-long-dbl-fphex.c: New file.
11356 2012-03-06  David S. Miller  <davem@davemloft.net>
11358         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11359         (set_obp_int): New function.
11360         (get_obp_int): New function.
11361         (__get_clockfreq_via_dev_openprom): Likewise.
11362         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11363         Avoid unused variable warnings on 'val' and use builtin_expect.
11364         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11365         __builtin_expect.
11366         (INLINE_CLONE_SYSCALL): Likewise.
11368 2012-03-05  David S. Miller  <davem@davemloft.net>
11370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11372 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
11374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11376         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11377         only for |x| >= 40.
11378         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11380 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
11382         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11383         Replace gettimeofday with __vdso_gettimeofday.
11385         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11386         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11387         __vdso_clock_gettime and __vdso_getcpu.
11389         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11390         time with __vdso_time.
11392 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
11394         * manual/lang.texi (size_t): Note types to which size_t may be
11395         equivalent with the GNU C Library, but do not describe when
11396         differences between them are significant.
11398 2012-03-05  Andreas Jaeger  <aj@suse.de>
11400         * sysdeps/i386/fpu/libm-test-ulps: Update.
11402 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
11404         [BZ #3976]
11405         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11406         (__ieee754_pow): Save and restore rounding mode and use
11407         round-to-nearest for main computations.
11408         * math/libm-test.inc (pow_test_tonearest): New function.
11409         (pow_test_towardzero): Likewise.
11410         (pow_test_downward): Likewise.
11411         (pow_test_upward): Likewise.
11412         (main): Call the new functions.
11413         * sysdeps/i386/fpu/libm-test-ulps: Update.
11414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11416         [BZ #3976]
11417         * math/libm-test.inc (cosh_test_tonearest): New function.
11418         (cosh_test_towardzero): Likewise.
11419         (cosh_test_downward): Likewise.
11420         (cosh_test_upward): Likewise.
11421         (sinh_test_tonearest): Likewise.
11422         (sinh_test_towardzero): Likewise.
11423         (sinh_test_downward): Likewise.
11424         (sinh_test_upward): Likewise.
11425         (main): Call the new functions.
11426         * sysdeps/i386/fpu/libm-test-ulps: Update.
11427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11429 2012-03-05  Tom de Vries  <tom@codesourcery.com>
11431         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11432         default stack guard is set in last bytes.
11433         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11435 2012-03-05  Kees Cook  <keescook@chromium.org>
11437         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
11439         [BZ #13656]
11440         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11441         possibly allocate from heap instead of stack.
11442         * stdio-common/bug-vfprintf-nargs.c: New file.
11443         * stdio-common/Makefile (tests): Add nargs overflow test.
11445 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
11447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11449 2012-03-03  Marek Polacek  <polacek@redhat.com>
11451         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11452         * math/math_private.h: Likewise.
11453         * stdlib/tst-strtod.c: Likewise.
11454         * sysdeps/i386/i486/bits/atomic.h: Likewise.
11455         * sysdeps/x86_64/bits/atomic.h: Likewise.
11457 2012-03-02  David S. Miller  <davem@davemloft.net>
11459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11463         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11464         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11465         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11466         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11468 2012-03-02  Roland McGrath  <roland@hack.frob.com>
11470         [BZ #13792]
11471         * manual/examples/README: New file, says the example source files
11472         can be used under GPL>=2.
11473         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11474         line containing just "*/".
11475         * manual/examples/add.c: Add copyright header (GPL>=2).
11476         * manual/examples/argp-ex1.c: Likewise.
11477         * manual/examples/argp-ex2.c: Likewise.
11478         * manual/examples/argp-ex3.c: Likewise.
11479         * manual/examples/argp-ex4.c: Likewise.
11480         * manual/examples/atexit.c: Likewise.
11481         * manual/examples/db.c: Likewise.
11482         * manual/examples/dir.c: Likewise.
11483         * manual/examples/dir2.c: Likewise.
11484         * manual/examples/execinfo.c: Likewise.
11485         * manual/examples/filecli.c: Likewise.
11486         * manual/examples/filesrv.c: Likewise.
11487         * manual/examples/fmtmsgexpl.c: Likewise.
11488         * manual/examples/genpass.c: Likewise.
11489         * manual/examples/inetcli.c: Likewise.
11490         * manual/examples/inetsrv.c: Likewise.
11491         * manual/examples/isockad.c: Likewise.
11492         * manual/examples/longopt.c: Likewise.
11493         * manual/examples/memopen.c: Likewise.
11494         * manual/examples/memstrm.c: Likewise.
11495         * manual/examples/mkfsock.c: Likewise.
11496         * manual/examples/mkisock.c: Likewise.
11497         * manual/examples/mygetpass.c: Likewise.
11498         * manual/examples/pipe.c: Likewise.
11499         * manual/examples/popen.c: Likewise.
11500         * manual/examples/rprintf.c: Likewise.
11501         * manual/examples/search.c: Likewise.
11502         * manual/examples/select.c: Likewise.
11503         * manual/examples/setjmp.c: Likewise.
11504         * manual/examples/sigh1.c: Likewise.
11505         * manual/examples/sigusr.c: Likewise.
11506         * manual/examples/stpcpy.c: Likewise.
11507         * manual/examples/strdupa.c: Likewise.
11508         * manual/examples/strftim.c: Likewise.
11509         * manual/examples/strncat.c: Likewise.
11510         * manual/examples/subopt.c: Likewise.
11511         * manual/examples/swapcontext.c: Likewise.
11512         * manual/examples/termios.c: Likewise.
11513         * manual/examples/testopt.c: Likewise.
11514         * manual/examples/testpass.c: Likewise.
11515         * manual/examples/timeval_subtract.c: Likewise.
11517         [BZ #13792]
11518         * manual/time.texi (Elapsed Time): Move timeval_subtract example
11519         function to ...
11520         * manual/timeval_subtract.c.texi: ... here, new file.
11522 2012-03-02  David S. Miller  <davem@davemloft.net>
11524         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11526 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
11528         [BZ #3976]
11529         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11530         (__sin): Save and restore rounding mode and use round-to-nearest
11531         for all computations.
11532         (__cos): Save and restore rounding mode and use round-to-nearest
11533         for all computations.
11534         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11535         <fenv.h>.
11536         (tan): Save and restore rounding mode and use round-to-nearest for
11537         all computations.
11538         * math/libm-test.inc (cos_test_tonearest): New function.
11539         (cos_test_towardzero): Likewise.
11540         (cos_test_downward): Likewise.
11541         (cos_test_upward): Likewise.
11542         (sin_test_tonearest): Likewise.
11543         (sin_test_towardzero): Likewise.
11544         (sin_test_downward): Likewise.
11545         (sin_test_upward): Likewise.
11546         (tan_test_tonearest): Likewise.
11547         (tan_test_towardzero): Likewise.
11548         (tan_test_downward): Likewise.
11549         (tan_test_upward): Likewise.
11550         (main): Call the new functions.
11551         * sysdeps/i386/fpu/libm-test-ulps: Update.
11552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11554         [BZ #10135]
11555         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11556         small n, then large n, before computing and testing k+n.
11557         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11558         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11559         Likewise.
11560         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11561         Likewise.
11562         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11563         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11564         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11565         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11566         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11567         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11568         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11569         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11570         * math/libm-test.inc (scalbn_test): Add more tests.
11571         (scalbln_test): Likewise.
11573         * manual/filesys.texi (mode_t): Describe constraints on size and
11574         signedness, not exact equivalence to a particular type.
11575         (ino_t): Likewise.
11576         (ino64_t): Likewise.
11577         (dev_t): Likewise.
11578         (nlink_t): Likewise.
11579         (blkcnt_t): Likewise.
11580         (blkcnt64_t): Likewise.
11581         * manual/llio.texi (off_t): Likewise.
11583         [BZ #3976]
11584         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11585         (__ieee754_exp): Save and restore rounding mode and use
11586         round-to-nearest for all computations.
11587         * math/libm-test.inc (exp_test_tonearest): New function.
11588         (exp_test_towardzero): Likewise.
11589         (exp_test_downward): Likewise.
11590         (exp_test_upward): Likewise.
11591         (main): Call the new functions.
11592         * sysdeps/i386/fpu/libm-test-ulps: Update.
11593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11595 2012-03-01  Chris Demetriou  <cgd@google.com>
11597         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11598         have predictable order.
11600 2012-03-01  David S. Miller  <davem@davemloft.net>
11602         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11604         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11605         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11606         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11607         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11609         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11610         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11611         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11613         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11614         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11615         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11616         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11617         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11621         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11622         * sysdeps/sparc/fpu/libm-test-ulps: to here.
11623         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11625         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11626         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11627         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11628         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11629         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11630         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11631         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11632         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11633         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11634         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11635         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11636         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11637         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11638         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11639         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11640         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11641         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11642         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11643         * sysdeps/sparc/elf/configure: Regenerated.
11645 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
11647         * configure.in (AS, LD): Require binutils 2.20 or later.
11648         * configure: Regenerated.
11649         * manual/install.texi (Tools for Compilation): Give binutils 2.20
11650         as required minimum version.
11651         * INSTALL: Regenerated.
11653         [BZ #2541]
11654         [BZ #4108]
11655         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11656         before squaring exponent.
11657         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11658         bottom long double and 27 bits of top long double before squaring
11659         exponent.
11660         * math/libm-test.inc (erfc_test): Add more tests.
11661         * sysdeps/i386/fpu/libm-test-ulps: Update.
11662         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11665 2012-03-01  Kai Tietz  <ktietz@redhat.com>
11667         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11668         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11669         containing bit-fields.
11670         * soft-fp/extended.h (_FP_UNION_E): Likewise.
11671         * soft-fp/single.h (_FP_UNION_S): Likewise.
11672         * soft-fp/double.h (_FP_UNION_D): Likewise.
11674 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
11676         [BZ #13786]
11677         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11678         not include ../strcmp.S.
11679         [USE_AS_STRNCASECMP_L]: Likewise.
11680         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11681         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11682         * sysdeps/i386/i686/multiarch/strncase_l-c.c
11683         (__strncasecmp_l_ia32): Define as alias to
11684         __strncasecmp_l_nonascii.
11686         [BZ #5794]
11687         * math/libm-test.inc (expm1_test): Add test for bug 5794.
11688         * sysdeps/i386/fpu/libm-test-ulps: Update.
11689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11691         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11694 2012-02-29  Jeff Law  <law@redhat.com>
11696         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11697         out of bounds read.
11699 2012-02-29  Marek Polacek  <polacek@redhat.com>
11701         [BZ #13706]
11702         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11703         * elf/Makefile: Add rules to run tst-unused-dep.out.
11705 2012-02-28  David S. Miller  <davem@davemloft.net>
11707         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11708         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11709         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11710         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11711         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11712         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11714 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
11716         * math/libm-test.inc (llround_test): Move one test from
11717         lround_test.  Use TEST_f_L in moved test.
11718         (lround_test): Move misplaced test to llround_test.  Add testcase
11719         from bug 2561.
11721 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
11723         * sysdeps/x86_64/fpu/e_expf.S: New file.
11724         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11726 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
11728         [BZ #13637]
11729         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11730         of remain_len that may cause incomplete multi-byte character and
11731         false match.
11732         * posix/bug-regex33.c: New file.
11733         * posix/Makefile (tests): Add bug-regex33.
11735 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
11737         * manual/macros.texi: New file.
11738         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11739         * manual/libc.texinfo: Include macros.texi.
11740         * manual/creatute.texi: Likewise.
11741         * manual/install.texi: Likewise.
11742         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11743         @glibcadj{} in references to the GNU C Library.
11744         * manual/charset.texi: Likewise.
11745         * manual/conf.texi: Likewise.
11746         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
11747         when not using those macros.
11748         * manual/creature.texi: Likewise.
11749         * manual/crypt.texi: Likewise.
11750         * manual/errno.texi: Likewise.
11751         * manual/filesys.texi: Likewise.
11752         * manual/header.texi: Likewise.
11753         * manual/install.texi: Likewise.
11754         * manual/intro.texi: Likewise.
11755         * manual/io.texi: Likewise.
11756         * manual/job.texi: Likewise.
11757         * manual/lang.texi: Likewise.
11758         * manual/libc.texiinfo: Likewise.
11759         * manual/llio.texi: Likewise.
11760         * manual/locale.texi: Likewise.
11761         * manual/maint.texi: Likewise.
11762         * manual/math.texi: Likewise.
11763         * manual/memory.texi: Likewise.
11764         * manual/message.texi: Likewise.
11765         * manual/nss.texi: Likewise.
11766         * manual/pattern.texi: Likewise.
11767         * manual/process.texi: Likewise.
11768         * manual/resource.texi: Likewise.
11769         * manual/search.texi: Likewise.
11770         * manual/setjmp.texi: Likewise.
11771         * manual/signal.texi: Likewise.
11772         * manual/socket.texi: Likewise.
11773         * manual/startup.texi: Likewise.
11774         * manual/stdio.texi: Likewise.
11775         * manual/string.texi: Likewise.
11776         * manual/sysinfo.texi: Likewise.
11777         * manual/syslog.texi: Likewise.
11778         * manual/terminal.texi: Likewise.
11779         * manual/time.texi: Likewise.
11780         * manual/users.texi: Likewise.
11781         * INSTALL: Regenerated.
11782         * NOTES: Regenerated.
11783         * sysdeps/gnu/errlist.c: Regenerated.
11785 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
11787         * include/dirent.h: Include <dirstream.h> before
11788         <dirent/dirent.h>.
11790 2012-02-28  David S. Miller  <davem@davemloft.net>
11792         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11793         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11794         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11795         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11797 2012-02-27  David S. Miller  <davem@davemloft.net>
11799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11801         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11802         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11805         frame pointer instead of stack pointer relative arg slot.
11806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11807         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11808         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11810 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
11812         [BZ #3992]
11813         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11815 2012-02-27  David S. Miller  <davem@davemloft.net>
11817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11821         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11822         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11823         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11824         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11826 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
11828         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11829         later.  Allow versions 5-9.
11830         * configure: Regenerated.
11831         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11832         required minimum version and 4.6 as recommended version.  Do not
11833         mention bugs in GCC 2.7 and 2.8.
11834         * INSTALL: Regenerated.
11836 2012-02-27  David S. Miller  <davem@davemloft.net>
11838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11842         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11843         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11844         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11845         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11847         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11848         manipulate bits before adding and subtracting TWO112[sx].
11849         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11851 2012-02-27  Roland McGrath  <roland@hack.frob.com>
11853         [BZ #13775]
11854         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11855         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11856         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11857         being in POSIX, because they are in 1003.1-2008.
11859         * rt/tst-aio.c: Include <fcntl.h>.
11860         * rt/tst-aio7.c: Likewise.
11861         * rt/tst-aio64.c: Likewise.
11863         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11865 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
11867         * manual/install.texi (--with-headers): Describe headers as
11868         interface headers, not private headers.
11869         (Specific advice for GNU/Linux systems): Describe use of headers
11870         from "make headers_install", not private headers from older
11871         kernels.
11872         * INSTALL: Regenerated.
11873         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11874         Change to 2.6.19.
11875         * sysdeps/unix/sysv/linux/configure: Regenerated.
11877         * manual/llio.texi (fclean): Remove documentation.
11879         * manual/Makefile (libc-texi-generated): New variable.  Include
11880         version.texi.
11881         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11882         $(libc-texi-generated), not duplicated list of files.
11883         (version.texi, stamp-version): New rules.
11884         (realclean): Remove $(libc-texi-generated), not individual files
11885         from that list.  Do not remove dir-add.texinfo.
11886         * manual/libc.texinfo: Comment out uses of edition numbers and
11887         references to printed manual.  Remove last-updated dates.
11888         (EDITION): Comment out.
11889         (ISBN): Likewise.
11890         (VERSION, UPDATED): Remove.
11891         (version.texi): Include.
11893 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
11895         * sysdeps/posix/spawni.c: Include <signal.h>.
11896         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11897         * sysdeps/pthread/aio_fsync.c: Likewise.
11899 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
11901         * conform/Makefile (tests): Run only when not cross-compiling and
11902         when fast-check is not defined.
11904         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11905         * conform/data/limits.h-data: Fixes for POSIX2008.
11906         * conform/run-conformtest.sh: Run all tests.
11907         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11908         headers.
11909         * include/bits/dlfcn.h: Likewise.
11910         * include/langinfo.h: Likewise.
11911         * include/monetary.h: Likewise.
11912         * include/sys/poll.h: Likewise.
11914         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11915         for __USE_GNU.
11916         * posix/spawn.h: Define __need_sigset_t.
11917         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11918         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11919         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
11920         to get sigevent_t only.
11921         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11922         only for __USE_GNU.
11923         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11924         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11925         process_vm_writev only for __USE_GNU.
11926         * termios/termios.h: Declare tcgetsid also for POSIX2008.
11928         * conform/Makefile: For now ignore errors from run-conformtest.
11929         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
11930         POSIX to avoid namespace pollution.  Don't prepend headers.
11931         * conform/data/aio.h-data: Fixes for POSIX testing.
11932         * conform/data/fcntl.h-data: Likewise.
11933         * conform/data/glob.h-data: Likewise.
11934         * conform/data/grp.h-data: Likewise.
11935         * conform/data/pthread.h-data: Likewise.
11936         * conform/data/pwd.h-data: Likewise.
11937         * conform/data/signal.h-data: Likewise.
11938         * conform/data/spawn.h-data: Likewise.
11939         * conform/data/stdio.h-data: Likewise.
11940         * conform/data/stdlib.h-data: Likewise.
11941         * conform/data/stropts.h-data: Likewise.
11942         * conform/data/sys/mman.h-data: Likewise.
11943         * conform/data/sys/stat.h-data: Likewise.
11944         * conform/data/sys/types.h-data: Likewise.
11945         * conform/data/sys/wait.h-data: Likewise.
11946         * conform/data/time.h-data: Likewise.
11947         * conform/data/unistd.h-data: Likewise.
11948         * conform/data/utime.h-data: Likewise.
11950         * io/sys/stat.h: fchmod was always in POSIX.
11951         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11952         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11953         * rt/aio.h: Define __need_timespec before including <time.h>.
11954         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11955         struct.  Add forward declaration of pthread_attr_t and use it in
11956         sigevent.
11957         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11958         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11959         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11960         always remove CLK_TCK definition.
11962 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
11964         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11966 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
11968         * conform/run-conformtest.sh: New file.
11969         * conform/Makefile: Run run-conformtest for tests.
11970         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
11971         support.
11973         * conform/data/uchar.h-data: New file.
11974         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11975         * conform/data/arpa/inet.h-data: Likewise.
11976         * conform/data/assert.h-data: Likewise.
11977         * conform/data/complex.h-data: Likewise.
11978         * conform/data/cpio.h-data: Likewise.
11979         * conform/data/ctype.h-data: Likewise.
11980         * conform/data/dirent.h-data: Likewise.
11981         * conform/data/dlfcn.h-data: Likewise.
11982         * conform/data/errno.h-data: Likewise.
11983         * conform/data/fcntl.h-data: Likewise.
11984         * conform/data/float.h-data: Likewise.
11985         * conform/data/fmtmsg.h-data: Likewise.
11986         * conform/data/fnmatch.h-data: Likewise.
11987         * conform/data/ftw.h-data: Likewise.
11988         * conform/data/glob.h-data: Likewise.
11989         * conform/data/grp.h-data: Likewise.
11990         * conform/data/iconv.h-data: Likewise.
11991         * conform/data/inttypes.h-data: Likewise.
11992         * conform/data/langinfo.h-data: Likewise.
11993         * conform/data/libgen.h-data: Likewise.
11994         * conform/data/limits.h-data: Likewise.
11995         * conform/data/locale.h-data: Likewise.
11996         * conform/data/math.h-data: Likewise.
11997         * conform/data/monetary.h-data: Likewise.
11998         * conform/data/mqueue.h-data: Likewise.
11999         * conform/data/ndbm.h-data: Likewise.
12000         * conform/data/net/if.h-data: Likewise.
12001         * conform/data/netdb.h-data: Likewise.
12002         * conform/data/netinet/in.h-data: Likewise.
12003         * conform/data/nl_types.h-data: Likewise.
12004         * conform/data/poll.h-data: Likewise.
12005         * conform/data/pthread.h-data: Likewise.
12006         * conform/data/pwd.h-data: Likewise.
12007         * conform/data/regex.h-data: Likewise.
12008         * conform/data/sched.h-data: Likewise.
12009         * conform/data/search.h-data: Likewise.
12010         * conform/data/semaphore.h-data: Likewise.
12011         * conform/data/setjmp.h-data: Likewise.
12012         * conform/data/signal.h-data: Likewise.
12013         * conform/data/spawn.h-data: Likewise.
12014         * conform/data/stdarg.h-data: Likewise.
12015         * conform/data/stdio.h-data: Likewise.
12016         * conform/data/stdlib.h-data: Likewise.
12017         * conform/data/string.h-data: Likewise.
12018         * conform/data/strings.h-data: Likewise.
12019         * conform/data/stropts.h-data: Likewise.
12020         * conform/data/sys/ipc.h-data: Likewise.
12021         * conform/data/sys/mman.h-data: Likewise.
12022         * conform/data/sys/msg.h-data: Likewise.
12023         * conform/data/sys/resource.h-data: Likewise.
12024         * conform/data/sys/select.h-data: Likewise.
12025         * conform/data/sys/sem.h-data: Likewise.
12026         * conform/data/sys/shm.h-data: Likewise.
12027         * conform/data/sys/socket.h-data: Likewise.
12028         * conform/data/sys/stat.h-data: Likewise.
12029         * conform/data/sys/statvfs.h-data: Likewise.
12030         * conform/data/sys/time.h-data: Likewise.
12031         * conform/data/sys/timeb.h-data: Likewise.
12032         * conform/data/sys/times.h-data: Likewise.
12033         * conform/data/sys/types.h-data: Likewise.
12034         * conform/data/sys/uio.h-data: Likewise.
12035         * conform/data/sys/un.h-data: Likewise.
12036         * conform/data/sys/utsname.h-data: Likewise.
12037         * conform/data/sys/wait.h-data: Likewise.
12038         * conform/data/syslog.h-data: Likewise.
12039         * conform/data/tar.h-data: Likewise.
12040         * conform/data/termios.h-data: Likewise.
12041         * conform/data/utime.h-data: Likewise.
12042         * conform/data/utmpx.h-data: Likewise.
12043         * conform/data/varargs.h-data: Likewise.
12044         * conform/data/wchar.h-data: Likewise.
12045         * conform/data/wctype.h-data: Likewise.
12046         * conform/data/wordexp.h-data: Likewise.
12048         * include/stropts.h: New file.
12049         * include/uchar.h: New file.
12050         * include/aio.h: Changes to allow conformtest.pl to use the headers.
12051         * include/assert.h: Likewise.
12052         * include/ctype.h: Likewise.
12053         * include/dirent.h: Likewise.
12054         * include/dlfcn.h: Likewise.
12055         * include/fcntl.h: Likewise.
12056         * include/fnmatch.h: Likewise.
12057         * include/glob.h: Likewise.
12058         * include/grp.h: Likewise.
12059         * include/libio.h: Likewise.
12060         * include/locale.h: Likewise.
12061         * include/math.h: Likewise.
12062         * include/net/if.h: Likewise.
12063         * include/netdb.h: Likewise.
12064         * include/netinet/in.h: Likewise.
12065         * include/pthread.h: Likewise.
12066         * include/pwd.h: Likewise.
12067         * include/regex.h: Likewise.
12068         * include/sched.h: Likewise.
12069         * include/search.h: Likewise.
12070         * include/setjmp.h: Likewise.
12071         * include/signal.h: Likewise.
12072         * include/stdio.h: Likewise.
12073         * include/stdlib.h: Likewise.
12074         * include/string.h: Likewise.
12075         * include/sys/cdefs.h: Likewise.
12076         * include/sys/mman.h: Likewise.
12077         * include/sys/msg.h: Likewise.
12078         * include/sys/resource.h: Likewise.
12079         * include/sys/select.h: Likewise.
12080         * include/sys/socket.h: Likewise.
12081         * include/sys/stat.h: Likewise.
12082         * include/sys/statvfs.h: Likewise.
12083         * include/sys/time.h: Likewise.
12084         * include/sys/times.h: Likewise.
12085         * include/sys/uio.h: Likewise.
12086         * include/sys/utsname.h: Likewise.
12087         * include/sys/wait.h: Likewise.
12088         * include/termios.h: Likewise.
12089         * include/time.h: Likewise.
12090         * include/ulimit.h: Likewise.
12091         * include/unistd.h: Likewise.
12092         * include/utime.h: Likewise.
12093         * include/wchar.h: Likewise.
12094         * include/wctype.h: Likewise.
12095         * include/wordexp.h: Likewise.
12097         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12099         * time/time.h: TIME_UTC must be a macro.
12100         Make timespec_get available for ISO C11 only as well.
12102 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
12104         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12105         Reported by Peng Haitao <penght@cn.fujitsu.com>.
12107 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
12109         * configure.in: Use -o not -a in test for unsupported multi-arch.
12111 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
12113         * manual/texinfo.tex: Update to version 2012-01-19.16.
12115 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
12117         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12119 2012-02-24  Roland McGrath  <roland@hack.frob.com>
12121         [BZ #13738]
12122         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12123         * manual/fdl-1.3.texi: New file.
12124         * manual/fdl-1.1.texi: File removed.
12126         [BZ #13738]
12127         * manual/libc.texinfo (FDL_VERSION): New @set.
12128         Use it for mention of FDL in cover text.
12129         (Documentation License): Use it in @include file name.
12131 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12132             Roland McGrath  <roland@hack.frob.com>
12134         [BZ #5461]
12135         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12136         not LONG_LONG_MAX and LONG_LONG_MIN.
12137         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12138         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
12139         name.
12140         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12142 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12144         [BZ #2547]
12145         [BZ #11365]
12146         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12147         manipulate bits before adding and subtracting TWO23[sx].
12148         * math/libm-test.inc (nearbyint_test): Add more tests.
12150 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12152         [BZ #2548]
12153         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12154         bits before adding and subtracting TWO23[sx].
12155         * math/libm-test.inc (rint_test): Add more tests.
12156         (rint_test_tonearest): Likewise.
12157         (rint_test_towardzero): Likewise.
12158         (rint_test_downward): Likewise.
12159         (rint_test_upward: Likewise.
12161 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12163         [BZ #10110]
12164         * include/stdc-predef.h: New file.  Extracted from features.h.
12165         * include/features.h: Include stdc-predef.h.
12166         * Makefile (headers): Add stdc-predef.h.
12167         * CONFORMANCE (Compiler limitations): Update.
12169 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
12171         * manual/libc.texinfo (VERSION, UPDATED): Revert.
12173 2012-02-21  David S. Miller  <davem@davemloft.net>
12175         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12176         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12178 2012-02-20  David S. Miller  <davem@davemloft.net>
12180         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12181         using a normal save/restore sequence, rather than allocating a
12182         dummy stack frame just to store a frame pointer and restore.
12183         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12185 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
12187         * manual/install.texi: Fix stray word in line-wrapped comment.
12189 2012-02-20  David S. Miller  <davem@davemloft.net>
12191         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12192         both binutils and gcc support GOTDATA.
12194         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12195         "rd %pc" in the PIC register setup sequences.
12197         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12198         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12199         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12200         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12201         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12202         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12203         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12204         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12205         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12206         (SYSCALL_ERROR_HANDLER): Likewise.
12207         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12208         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12209         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12210         (SYSCALL_ERROR_HANDLER): Likewise.
12212         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12213         (HAVE_GCC_GOTDATA): New.
12214         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12215         relocation support in both binutils and gcc.
12216         * sysdeps/sparc/elf/configure: Regenerate.
12218         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12219         * sysdeps/sparc/sparc32/elf/configure: Delete.
12220         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12221         * sysdeps/sparc/sparc64/elf/configure: Delete.
12222         * sysdeps/sparc/elf/configure.in: New file.
12223         * sysdeps/sparc/elf/configure: Generate.
12225         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12226         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12227         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12228         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12229         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12231 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
12233         * manual/install.texi: Do not mention specific glibc version
12234         numbers.
12235         * manual/libc.texinfo (VERSION, UPDATED): Update.
12236         (@copying): Use @copyright{} and range of years.
12238 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
12240         [BZ #13695]
12241         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12242         [crti.S not in sysdirs] (generated): Do not append.
12243         [crti.S not in sysdirs] (omit-deps): Likewise.
12244         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12245         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12246         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12247         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12248         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12249         Likewise.
12250         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12251         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12252         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12253         * csu/defs.awk: Remove file.
12254         * sysdeps/generic/initfini.c: Likewise.
12255         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12256         variable.
12257         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12258         Likewise.
12260 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
12262         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12263         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12264         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12265         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12266         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12267         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12268         <bits/epoll.h>.
12269         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12270         (__EPOLL_PACKED): Define to empty if not defined by
12271         <bits/epoll.h>.
12272         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12273         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12274         bits/epoll.h.
12276 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
12278         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12279         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12280         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12281         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12282         <bits/timerfd.h>.
12283         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12284         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12285         bits/timerfd.h.
12287 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
12289         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12290         in C locale.
12291         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12292         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12293         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12296 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
12298         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12299         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12301 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
12303         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12304         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12305         defined.
12306         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12307         Likewise.
12308         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12309         entry for 2.16.
12311 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
12313         * math/w_acos.c: Use non-signaling floating-point comparisons.
12314         * math/w_acosf.c: Likewise.
12315         * math/w_acosh.c: Likewise.
12316         * math/w_acoshf.c: Likewise.
12317         * math/w_acoshl.c: Likewise.
12318         * math/w_acosl.c: Likewise.
12319         * math/w_asin.c: Likewise.
12320         * math/w_asinf.c: Likewise.
12321         * math/w_asinl.c: Likewise.
12322         * math/w_atanh.c: Likewise.
12323         * math/w_atanhf.c: Likewise.
12324         * math/w_atanhl.c: Likewise.
12325         * math/w_exp2.c: Likewise.
12326         * math/w_exp2f.c: Likewise.
12327         * math/w_exp2l.c: Likewise.
12328         * math/w_j0.c: Likewise.
12329         * math/w_j0f.c: Likewise.
12330         * math/w_j0l.c: Likewise.
12331         * math/w_j1.c: Likewise.
12332         * math/w_j1f.c: Likewise.
12333         * math/w_j1l.c: Likewise.
12334         * math/w_jn.c: Likewise.
12335         * math/w_jnf.c: Likewise.
12336         * math/w_log.c: Likewise.
12337         * math/w_log10.c: Likewise.
12338         * math/w_log10f.c: Likewise.
12339         * math/w_log10l.c: Likewise.
12340         * math/w_log2.c: Likewise.
12341         * math/w_log2f.c: Likewise.
12342         * math/w_log2l.c: Likewise.
12343         * math/w_logf.c: Likewise.
12344         * math/w_logl.c: Likewise.
12345         * math/w_sqrt.c: Likewise.
12346         * math/w_sqrtf.c: Likewise.
12347         * math/w_sqrtl.c: Likewise.
12348         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12349         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12350         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12351         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12352         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12354 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
12356         [BZ #9739]
12357         * manual/string.texi (strnlen): Use correct parameter name in
12358         equivalent expression.
12360 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
12362         [BZ #11174]
12363         * manual/users.texi (seteuid): Consistently use neweuid for
12364         argument name.
12366 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
12368         [BZ #13704]
12369         * manual/nss.texi (Services in the NSS configuration): Correct
12370         list of services in example configuration file.
12372 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
12374         [BZ #11322]
12375         * manual/arith.texi: Remove statements about negative zero
12376         behaving identically to zero.
12378 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
12380         [BZ #5993]
12381         * manual/install.texi: Do not document upgrading from libc5.
12383 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
12385         [BZ #4596]
12386         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12388 2012-02-18  David S. Miller  <davem@davemloft.net>
12390         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12391         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12392         %o7 across the call.
12393         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12394         instead.
12395         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12396         SETUP_PIC_REG_LEAF.
12397         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12398         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12399         * sysdeps/sparc/crtn.S: Likewise.
12401 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
12403         * aout/Makefile: Remove.
12405 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
12407         [BZ #13058]
12408         * manual/examples/argp-ex1.c (main): Format definition in GNU
12409         style.
12410         * manual/examples/argp-ex2.c (main): Likewise.
12411         * manual/examples/argp-ex3.c (main): Likewise.
12412         * manual/examples/argp-ex4.c (main): Likewise.
12413         * manual/examples/longopt.c (main): Use new-style prototype
12414         definition.
12415         * manual/examples/strncat.c (main): Specify return type and use
12416         (void) for arguments.
12417         * manual/examples/subopt.c (main): Use char **argv argument.
12419 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
12421         [BZ #5077]
12422         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12423         rounding modes.
12425 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
12427         [BZ #6907]
12428         * manual/string.texi (strchr): Change when strchrnul is
12429         recommended.
12431 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
12433         [BZ #174]
12434         * manual/locale.texi (setlocale): Document LOCPATH.
12436 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
12438         [BZ #10210]
12439         * manual/process.texi (execle): Move @dots{} before last argument.
12441 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
12443         [BZ #12047]
12444         * manual/charset.texi (Generic Charset Conversion): Fix typo
12445         (LC_TYPE -> LC_CTYPE).
12447 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
12449         [BZ #5805]
12450         * manual/arith.texi (scalbn): Use @var{} on parameter names.
12451         (scalbnf): Likewise.
12452         (scalbnl): Likewise.
12453         (scalbln): Likewise.
12454         (scalblnf): Likewise.
12455         (scalblnl): Likewise.
12456         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12457         (vwarnx): Likewise.
12458         (verr): Likewise.
12459         (verrx): Likewise.
12460         * manual/filesys.texi (telldir): Use braces around return type.
12461         * manual/llio.texi (mmap): Add space after comma.
12462         (mmap64): Likewise.
12463         * manual/math.texi (jn): Use @var{} on parameter names.
12464         (jnf): Likewise.
12465         (jnl): Likewise.
12466         (yn): Likewise.
12467         (ynf): Likewise.
12468         (ynl): Likewise.
12469         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12470         line.
12471         * manual/resource.texi (ulimit): Use @dots{} instead of literal
12472         "...".
12473         (sched_get_priority_min): Remove semicolon on @deftypefun line.
12474         (sched_get_priority_max): Likewise.
12475         * manual/signal.texi (sigvec): Add space after comma.
12476         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12477         names.
12478         (if_indextoname): Likewise.
12479         (if_freenameindex): Likewise.
12480         (sendto): Use ',' instead of '.' in prototype.
12481         * manual/startup.texi (syscall): Use @dots{} instead of literal
12482         "...".
12483         * manual/stdio.texi (__fpending): Separate initial words of
12484         paragraph from @deftypefun line.
12485         * manual/syslog.texi (syslog): Use @dots{} instead of literal
12486         "...".
12487         (vsyslog): Use @var{} on parameter names.
12488         * manual/terminal.texi (stty): Use @var{} on parameter names.
12489         * manual/users.texi (getutmp): Use @var{} on parameter names.
12490         (getutmpx): Likewise.
12492 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
12494         [BZ #6884]
12495         * manual/stdio.texi (fopen): Fix typos in description of
12496         ",ccs=STRING".
12498 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
12500         [BZ #4026]
12501         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12502         get clock_id definition.
12504 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
12506         [BZ #4822]
12507         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12508         (madvise): Cast every argument to void on its own.
12510 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
12512         [BZ #9902]
12513         * manual/startup.texi (Exit Status): Fix typo.
12515 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
12517         [BZ #10140]
12518         * manual/examples/argp-ex1.c: Include <stdlib.h>.
12519         * manual/examples/argp-ex2.c: Likewise.
12520         * manual/examples/argp-ex3.c: Likewise.
12522 2012-02-16  Richard Henderson  <rth@redhat.com>
12524         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12525         * sysdeps/s390/s390-32/initfini.c: Remove.
12526         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12527         * sysdeps/s390/s390-64/initfini.c: Remove.
12529 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12531         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12532         compiler output for sysdeps/generic/initfini.c.
12533         * sysdeps/sh/elf/initfini.c: Remove file.
12535 2012-02-16  David S. Miller  <davem@davemloft.net>
12537         [BZ #11494]
12538         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12540         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12541         * sysdeps/sparc/crti.S: New file.
12542         * sysdeps/sparc/crtn.S: New file.
12543         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12544         * sysdeps/sparc/sparc64/Makefile: Likewise.
12546 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
12548         [BZ #3335]
12549         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12551 2012-02-15  Roland McGrath  <roland@hack.frob.com>
12553         [BZ #4822]
12554         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12556         * mach/devstream.c (cookie_io_functions_t): Macro removed.
12557         (write, read, close): Likewise.
12558         Patch by Aurelien Jarno <aurelien@aurel32.net>.
12560 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
12562         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12563         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12564         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12565         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12566         <bits/signalfd.h>.
12567         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12568         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12569         bits/signalfd.h.
12571 2012-02-14  Marek Polacek  <polacek@redhat.com>
12573         * sysdeps/x86_64/crti.S: New file.
12574         * sysdeps/x86_64/crtn.S: New file.
12575         * sysdeps/x86_64/elf/initfini.c: Remove file.
12577 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
12579         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12580         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12581         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12582         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12583         <bits/inotify.h>.
12584         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12585         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12586         bits/inotify.h.
12588 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
12590         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12591         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12592         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12593         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12594         <bits/eventfd.h>.
12595         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12596         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12597         bits/eventfd.h.
12599 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
12601         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12602         __feraiseexcept instead of feraiseexcept.
12604         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12605         nanosleep invocations.
12606         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12607         strings, and add error checking for a nanosleep invocations.
12609 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
12611         Replace FSF snail mail address with URLs, as per GNU coding standards.
12612         Most of the snail mail addresses were wrong anyway, and omitting
12613         them makes the source code easier to maintain.  Almost all of the
12614         changes are to license notices and to locale LC_IDENTIFICATION
12615         addresses, except for this one:
12616         * manual/libc.texinfo: In "Published by", give the FSF's URL,
12617         not its snail mail address.
12619 2012-02-09  Richard Henderson  <rth@twiddle.net>
12621         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12622         of kernel-features.h.
12624         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12626 2012-02-08  Marek Polacek  <polacek@redhat.com>
12628         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12629         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12630         * sysdeps/gnu/_G_config.h: Likewise.
12631         * sysdeps/generic/_G_config.h: Likewise.
12633 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
12635         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12636         tests.
12637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12639         * sysdeps/powerpc/powerpc32/crti.S: New file.
12640         * sysdeps/powerpc/powerpc32/crtn.S: New file.
12641         * sysdeps/powerpc/powerpc64/crti.S: New file.
12642         * sysdeps/powerpc/powerpc64/crtn.S: New file.
12644         * Makeconfig (have-initfini): Don't set.
12645         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12646         * configure.in (nopic_initfini): Don't substitute.
12647         * config.h.in (HAVE_INITFINI): Don't #undef.
12648         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12649         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12651 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
12653         Support crti.S and crtn.S provided directly by architectures.
12654         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12655         [crti.S in sysdirs] (omit-deps): Likewise.
12656         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12657         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12658         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12659         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12660         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12661         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12662         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12663         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12664         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12665         compiler output for sysdeps/generic/initfini.c.
12666         * sysdeps/i386/elf/Makefile: Remove file.
12667         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12669 2012-02-07  Marek Polacek  <polacek@redhat.com>
12671         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12672         * sysdeps/gnu/_G_config.h: Likewise.
12673         * sysdeps/mach/hurd/_G_config.h: Likewise.
12675 2012-02-07  Marek Polacek  <polacek@redhat.com>
12677         * math/Makefile (tests): Add tst-CMPLX2.
12678         * math/tst-CMPLX2.c: New file.
12680 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
12682         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12684         * math/libm-test.inc (jn_test): Add missing L suffix.
12686 2012-02-06  Marek Polacek  <polacek@redhat.com>
12688         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12689         * sysdeps/i386/fpu/e_powf.S: Likewise.
12690         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12691         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12692         * sysdeps/i386/fpu/e_acosh.S: Likewise.
12693         * sysdeps/i386/fpu/e_pow.S: Likewise.
12694         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12695         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12696         * sysdeps/i386/fpu/s_expm1.S: Likewise.
12697         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12698         * sysdeps/i386/fpu/e_log2.S: Likewise.
12699         * sysdeps/i386/fpu/e_log2l.S: Likewise.
12700         * sysdeps/i386/fpu/e_scalb.S: Likewise.
12701         * sysdeps/i386/fpu/e_powl.S: Likewise.
12702         * sysdeps/i386/fpu/s_log1p.S: Likewise.
12703         * sysdeps/i386/fpu/e_log10f.S: Likewise.
12704         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12705         * sysdeps/i386/fpu/e_logl.S: Likewise.
12706         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12707         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12708         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12709         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12710         * sysdeps/i386/fpu/e_log2f.S: Likewise.
12711         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12712         * sysdeps/i386/fpu/e_log.S: Likewise.
12713         * sysdeps/i386/fpu/s_cexp.S: Likewise.
12714         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12715         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12716         * sysdeps/i386/fpu/e_logf.S: Likewise.
12717         * sysdeps/i386/fpu/e_log10l.S: Likewise.
12718         * sysdeps/i386/fpu/e_atanh.S: Likewise.
12719         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12720         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12721         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12722         * sysdeps/i386/fpu/e_log10.S: Likewise.
12723         * sysdeps/i386/fpu/s_frexp.S: Likewise.
12724         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12725         * sysdeps/i386/fpu/s_asinh.S: Likewise.
12726         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12727         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12728         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12729         * sysdeps/i386/asm-syntax.h: Likewise.
12730         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12731         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12732         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12733         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12734         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12735         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12736         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12737         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12738         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12739         * sysdeps/powerpc/sysdep.h: Likewise.
12740         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12741         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12743 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
12745         [BZ #411]
12746         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12748 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
12750         * sysdeps/i386/sysdep.h: Include <features.h>.
12751         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12752         version.
12754 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
12756         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12757         Define.
12758         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12759         LOAD_PIC_REG_STR.
12761 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
12763         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12764         (SETUP_PIC_REG): Use GET_PC_THUNK.
12765         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12766         macro.
12768 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
12770         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12771         for non-PIC compilation.
12772         (SETUP_PIC_REG): Add .p2align directive.
12773         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12774         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12775         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12776         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12777         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12778         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12779         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12780         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12781         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12782         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12783         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12784         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12785         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12786         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12787         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12788         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12789         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12790         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12791         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12792         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12793         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12794         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12795         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12796         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12797         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12798         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12799         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12800         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12801         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12802         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12803         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12804         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12805         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12806         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12807         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12808         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12809         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12810         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12811         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12812         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12813         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12815 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
12817         * math/tst-CMPLX.c: Include <stdio.h>.
12819 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
12821         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12822         float.
12823         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12824         * sysdeps/sparc/bits/mathdef.h: Likewise.
12826 2012-01-31  Marek Polacek  <polacek@redhat.com>
12828         * libio/libio.h: Don't define _PARAMS.
12829         * locale/programs/config.h: Don't define PARAMS.
12830         * stdlib/strtol_l.c: Likewise.
12831         (__strtol_l): Remove PARAMS from the prototype.
12833 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
12835         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
12836         names.  Just use the correct names.  Remove unnecessary wrapper
12837         functions.
12838         * malloc/arena.c: Likewise.
12839         * malloc/hooks.c: Likewise.
12841         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12842         ARENA_TEST says not to.  Simplify test for creation of a new arena.
12843         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12845 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
12847         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12848         into tail calls.
12849         (update_get_addr): New function.
12850         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12851         GET_ADDR_MODULE parameter.
12853 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
12855         * crypt/cert.c: Remove __STDC__ conditionals.
12856         * crypt/crypt-entry.c: Likewise.
12857         * crypt/crypt_util.c: Likewise.
12858         * libio/filedoalloc.c: Likewise.
12859         * libio/fileops.c: Likewise.
12860         * libio/genops.c: Likewise.
12861         * libio/iofclose.c: Likewise.
12862         * libio/iofdopen.c: Likewise.
12863         * libio/iofopen.c: Likewise.
12864         * libio/iofopen64.c: Likewise.
12865         * libio/iogetdelim.c: Likewise.
12866         * libio/iopopen.c: Likewise.
12867         * libio/obprintf.c: Likewise.
12868         * libio/oldfileops.c: Likewise.
12869         * libio/oldiofclose.c: Likewise.
12870         * libio/oldiofdopen.c: Likewise.
12871         * libio/oldiofopen.c: Likewise.
12872         * libio/oldiopopen.c: Likewise.
12873         * libio/wfiledoalloc.c: Likewise.
12874         * libio/wgenops.c: Likewise.
12875         * locale/programs/xmalloc.c: Likewise.
12876         * misc/syslog.c: Likewise.
12877         * stdio-common/xbug.c: Likewise.
12878         * string/memchr.c: Likewise.
12879         * string/memcmp.c: Likewise.
12880         * string/memrchr.c: Likewise.
12881         * string/rawmemchr.c: Likewise.
12882         * sysdeps/posix/getcwd.c: Likewise.
12883         * time/strftime_l.c: Likewise.
12885 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
12887         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
12888         * config.make.in (config-cflags-sse2avx): Define.
12889         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12890         Fix typo.
12892 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
12894         * scripts/config.guess: Update from upstream config git repository.
12895         * scripts/config.sub: Likewise.
12897 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
12899         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12900         (EM_NUM): Update.
12901         (R_TILEPRO_*, R_TILEGX_*): New macros.
12903         * scripts/firstversions.awk: Fix bug in version range handling.
12905         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12907         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12909         * include/sys/epoll.h: New file.
12910         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12911         libc_hidden_def.
12913 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
12915         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12916         Avoid unnecessary __WORDSIZE == 64 test.
12917         (fmaxf): Use VEX format if possible.
12918         (fmax): Likewise.
12919         (fminf): Likewise.
12920         (fmin): Likewise.
12922         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12923         * math/math_private.h: Remove libc_fegetround* and
12924         libc_fesetround*.
12925         * sysdeps/i386/configure.in: Check for -msse2avx.
12926         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12927         also if SSE2AVX is defined.
12928         Remove libc_fegetround* and libc_fesetround*.
12929         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12930         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
12931         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12932         of HAS_YMM_USABLE.
12933         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12934         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12935         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12936         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12937         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12939         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12941 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12943         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12944         size is not set.
12945         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12947 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
12949         [BZ #13618]
12950         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12951         relocation.
12952         * Makeconfig (libm): Define.
12953         * elf/Makefile: Add rules to build and run tst-relsort1.
12954         * elf/tst-relsort1.c: New file.
12955         * elf/tst-relsort1mod1.c: New file.
12956         * elf/tst-relsort1mod2.c: New file.
12958 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
12960         * math/s_ldexp.c: Remove __STDC__ conditionals.
12961         * math/s_ldexpf.c: Likewise.
12962         * math/s_ldexpl.c: Likewise.
12963         * math/s_nextafter.c: Likewise.
12964         * math/s_nexttowardf.c: Likewise.
12965         * math/s_significand.c: Likewise.
12966         * math/s_significandf.c: Likewise.
12967         * math/s_significandl.c: Likewise.
12968         * math/w_jnl.c: Likewise.
12969         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12970         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12971         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12972         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12973         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12974         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12975         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12976         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12977         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12978         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12979         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12980         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12981         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12982         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12983         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12984         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12985         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12986         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12987         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12988         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12989         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12990         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12991         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12992         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12993         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12994         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12995         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12996         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12997         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12998         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12999         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13000         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13001         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13002         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13003         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13004         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13005         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13006         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13007         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13008         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13009         * sysdeps/ieee754/k_standard.c: Likewise.
13010         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13011         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13012         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13013         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13014         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13015         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13016         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13017         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13018         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13019         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13020         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13021         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13022         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13023         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13024         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13025         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13026         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13027         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13028         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13029         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13030         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13031         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13032         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13033         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13034         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13035         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13036         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13037         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13038         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13039         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13040         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13041         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13042         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13043         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13044         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13045         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13046         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13047         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13048         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13049         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13050         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13051         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13052         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13053         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13054         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13055         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13056         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13057         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13058         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13059         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13060         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13061         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13062         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13063         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13064         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13065         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13066         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13067         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13068         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13069         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13070         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13071         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13072         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13073         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13074         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13075         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13076         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13077         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13078         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13079         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13080         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13081         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13082         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13083         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13084         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13085         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13086         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13087         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13088         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13089         * sysdeps/ieee754/s_matherr.c: Likewise.
13090         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13091         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13092         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13093         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13095 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
13097         * crypt/md5.h: Remove __STDC__ conditionals.
13098         * libio/libioP.h: Likewise.
13099         * locale/programs/config.h: Likewise.
13100         * sysdeps/generic/sysdep.h: Likewise.
13101         * sysdeps/i386/asm-syntax.h: Likewise.
13102         * sysdeps/s390/asm-syntax.h: Likewise.
13103         * sysdeps/unix/sysdep.h: Likewise.
13104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13107 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
13109         * libio/libio.h: Remove __STDC__ conditionals.
13110         * malloc/obstack.h: Likewise.
13111         * math/complex.h: Likewise.
13112         * math/math.h: Likewise.
13113         * sysdeps/generic/_G_config.h: Likewise.
13114         * sysdeps/gnu/_G_config.h: Likewise.
13115         * sysdeps/mach/hurd/_G_config.h: Likewise.
13116         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13117         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13118         * sysdeps/sparc/bits/mathdef.h: Likewise.
13120 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
13122         [BZ #13583]
13123         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13124         Clean up HAS_* macros.
13125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13126         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13127         possible.
13128         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13129         HAS_AVX.
13130         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13131         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13132         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13133         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13134         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13136 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
13138         * elf/tst-unique3.cc (gets): Remove declaration.
13139         * elf/tst-unique3lib.cc (gets): Likewise.
13140         * elf/tst-unique3lib2.cc (gets): Likewise.
13141         * elf/tst-unique4.cc (gets): Likewise.
13143 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
13145         * include/stdio.h: Add C++ protection.  Add gets declarations and
13146         definitions.
13147         * debug/tst-chk1.c: Don't declare gets here.
13148         * stdio-common/tst-gets.c: Likewise.
13150 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
13152         * posix/glob: Remove directory.
13154 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
13156         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13158 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
13160         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13161         of the non-standard EPFNOSUPPORT.
13163 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13165         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13166         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13167         ANYWHERE set to 1 only on KERN_NO_SPACE error.
13169 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
13171         * wcsmbs/uchar.h: Test __STDC_VERSION__.
13173 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
13175         * nscd/aicache.c (addhstaiX): Do not cache negative results of
13176         transient errors.
13177         * nscd/grpcache.c (cache_addgr): Likewise.
13178         * nscd/hstcache.c (cache_addhst): Likewise.
13179         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13180         * nscd/pwdcache.c (cache_addpw): Likewise.
13181         * nscd/servicescache.c (cache_addserv): Likewise.
13183 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
13185         * malloc/malloc.c: Various cleanups.
13186         * malloc/hooks.c: Likewise.
13188         * stdlib/Makefile (tests): Add bug-fmtmsg1.
13189         * stdlib/bug-fmtmsg1.c: New file.
13191         * stdlib/fmtmsg.c (init): Add missing unlock.
13192         Patch by Peng Haitao <penght@cn.fujitsu.com>.
13194 2012-01-12  Marek Polacek  <polacek@redhat.com>
13196         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13197         and _GNU_SOURCE.
13199 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
13201         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13202         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13203         macro to ensure uniqueness of label name.
13204         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13205         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13207 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
13209         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13211         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13212         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13213         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13214         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13216 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
13218         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13220         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13221         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13222         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13224         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13226         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13227         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13228         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13229         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13231         * math/bits/math-finite.h: Add ldexp support.
13233 2012-01-10  Marek Polacek  <polacek@redhat.com>
13235         * locale/programs/localedef.h (show_archive_content): Add noreturn
13236         attribute.
13238 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
13240         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13242 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
13244         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13246         * io/Makefile (headers): Add bits/poll2.h.
13248 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
13250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13251         typo #include statement.
13253 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
13255         * include/sys/cdefs.h: Define __attribute_alloc_size.
13256         * catgets/gencat.c: Add alloc_size attribute and apply consistently
13257         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13258         * elf/pldd.c: Likewise.
13259         * iconv/iconv_charmap.c: Likewise.
13260         * iconv/iconvconfig.c: Likewise.
13261         * iconv/strtab.c: Likewise.
13262         * locale/programs/locale.c: Likewise.
13263         * locale/programs/localedef.h: Likewise.
13264         * locale/programs/simple-hash.c: Likewise.
13265         * nscd/nscd.h: Likewise.
13266         * nss/makedb.c: Likewise.
13267         * sysdeps/generic/ldconfig.h: Likewise.
13268         * locale/programs/localedef.c: Remove xmalloc prototype.
13269         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13271 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13273         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13274         appropriate.
13276 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
13278         * math/Makefile (tests): Add tst-CMPLX.
13279         * math/tst-CMPLX.c: New file.
13281         * math/complex.h (CMPLXL): Fix typo.
13283         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13284         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13285         GLIBC_2.16.
13286         * debug/tst-chk1.c: Add poll and ppoll tests.
13287         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13288         * include/sys/poll.h: Add hidden proto for ppoll.
13289         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13290         * sysdeps/mach/hurd/ppoll.c: Likewise.
13291         * io/ppoll.c: Likewise.
13292         * debug/poll_chk.c: New file.
13293         * debug/ppoll_chk.c: New file.
13294         * include/bits/poll2.h: New file.
13295         * io/bits/poll2.h: New file.
13297         [BZ #1350]
13298         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13300         * configure.in: static is always set to yes.  Remove.
13301         * config.make.in: Don't set build-static.
13302         * Makeconfig: Remove use of build-static.
13303         * dlfcn/Makefile: Likewise.
13304         * elf/Makefile: Likewise.
13305         * math/Makefile: Likewise.
13306         * misc/Makefile: Likewise.
13307         * nptl/Makefile: Likewise.
13308         * sysdeps/mach/hurd/Makefile: Likewise.
13310         * configure.in: PWD_P is not used anymore.
13311         * config.make.in: Remove PWD_P entry.
13313         * configure.in: Remove last remnants of RANLIB.
13314         No need to check for signed size_t anymore.
13315         Don't set libc_commonpagesize and libc_relro_required here for Alpha
13316         and IA-64.
13317         Remove __builtin_expect test because we require at least gcc 3.4.
13318         * aclocal.m4: Likewise.
13320         * wcsmbs/mbrtoc16.c: Implement using towc function.
13321         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13322         * wcsmbs/wcsmbsload.c: Likewise.
13323         * iconv/gconv_simple.c: Likewise.
13324         * iconv/gconv_int.h: Likewise.
13325         * iconv/gconv_builtin.h: Likewise.
13326         * iconv/iconv_prog.c: Remove CHAR16 handling.
13328         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13330         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13332         * configure.in: Remove --with-elf and --enable-bounded options.
13333         Dont set base_machine for ia64.  More non-ELF conditions removed.
13334         Remove testing and setting of leading underscore information.
13335         * config.make.in (build-bounded): Set to no.
13336         * config.h.in: Remove NO_UNDERSCORES entry.
13337         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
13338         them.
13339         * csu/start.c: Remove !NO_UNDERSCORE code.
13340         * locale/localeinfo.h: Likewise.
13341         * sysdeps/generic/machine-gmon.h: Likewise.
13342         * sysdeps/generic/sysdep.h: Likewise.
13343         * sysdeps/i386/sysdep.h: Likewise.
13344         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13345         * sysdeps/mach/sysdep.h: Likewise.
13346         * sysdeps/s390/s390-32/sysdep.h: Likewise.
13347         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13348         * sysdeps/sh/sysdep.h: Likewise.
13349         * sysdeps/sparc/sparc32/alloca.S: Likewise.
13350         * sysdeps/unix/i386/sysdep.S: Likewise.
13351         * sysdeps/unix/sparc/start.c: Likewise.
13352         * sysdeps/unix/sparc/sysdep.S: Likewise.
13353         * sysdeps/unix/sparc/sysdep.h: Likewise.
13354         * sysdeps/unix/start.c: Likewise.
13355         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13356         * sysdeps/x86_64/sysdep.h: Likewise.
13358 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
13360         [BZ #13553]
13361         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13362         for non-gcc.
13363         * argp/argp-fmtstream.h: Use const instead __const.
13364         * argp/argp.h: Likewise.
13365         * assert/assert.h: Likewise.
13366         * bits/fenv.h: Likewise.
13367         * bits/sched.h: Likewise.
13368         * bits/sigset.h: Likewise.
13369         * bits/sigthread.h: Likewise.
13370         * catgets/nl_types.h: Likewise.
13371         * conform/data/pthread.h-data: Likewise.
13372         * crypt/crypt-private.h: Likewise.
13373         * crypt/crypt.h: Likewise.
13374         * crypt/crypt_util.c: Likewise.
13375         * ctype/ctype.h: Likewise.
13376         * debug/execinfo.h: Likewise.
13377         * debug/mbsnrtowcs_chk.c: Likewise.
13378         * debug/mbsrtowcs_chk.c: Likewise.
13379         * debug/wcsnrtombs_chk.c: Likewise.
13380         * debug/wcsrtombs_chk.c: Likewise.
13381         * debug/wcstombs_chk.c: Likewise.
13382         * dirent/dirent.h: Likewise.
13383         * dlfcn/dlfcn.h: Likewise.
13384         * elf/neededtest4.c: Likewise.
13385         * grp/grp.h: Likewise.
13386         * gshadow/gshadow.h: Likewise.
13387         * iconv/gconv.h: Likewise.
13388         * iconv/gconv_int.h: Likewise.
13389         * iconv/gconv_simple.c: Likewise.
13390         * iconv/iconv.h: Likewise.
13391         * iconv/loop.c: Likewise.
13392         * iconv/skeleton.c: Likewise.
13393         * include/aio.h: Likewise.
13394         * include/aliases.h: Likewise.
13395         * include/argz.h: Likewise.
13396         * include/arpa/inet.h: Likewise.
13397         * include/assert.h: Likewise.
13398         * include/dirent.h: Likewise.
13399         * include/dlfcn.h: Likewise.
13400         * include/execinfo.h: Likewise.
13401         * include/fcntl.h: Likewise.
13402         * include/fenv.h: Likewise.
13403         * include/glob.h: Likewise.
13404         * include/grp.h: Likewise.
13405         * include/libintl.h: Likewise.
13406         * include/mntent.h: Likewise.
13407         * include/netdb.h: Likewise.
13408         * include/pwd.h: Likewise.
13409         * include/rpc/netdb.h: Likewise.
13410         * include/sched.h: Likewise.
13411         * include/search.h: Likewise.
13412         * include/shadow.h: Likewise.
13413         * include/signal.h: Likewise.
13414         * include/stdio.h: Likewise.
13415         * include/stdlib.h: Likewise.
13416         * include/string.h: Likewise.
13417         * include/sys/socket.h: Likewise.
13418         * include/sys/stat.h: Likewise.
13419         * include/sys/statfs.h: Likewise.
13420         * include/sys/statvfs.h: Likewise.
13421         * include/sys/syslog.h: Likewise.
13422         * include/sys/time.h: Likewise.
13423         * include/sys/uio.h: Likewise.
13424         * include/time.h: Likewise.
13425         * include/unistd.h: Likewise.
13426         * include/utmp.h: Likewise.
13427         * include/wchar.h: Likewise.
13428         * include/wctype.h: Likewise.
13429         * inet/aliases.h: Likewise.
13430         * inet/arpa/inet.h: Likewise.
13431         * inet/netinet/ether.h: Likewise.
13432         * inet/netinet/in.h: Likewise.
13433         * intl/libintl.h: Likewise.
13434         * io/bits/fcntl2.h: Likewise.
13435         * io/fcntl.h: Likewise.
13436         * io/ftw.h: Likewise.
13437         * io/sys/poll.h: Likewise.
13438         * io/sys/stat.h: Likewise.
13439         * io/sys/statfs.h: Likewise.
13440         * io/sys/statvfs.h: Likewise.
13441         * io/utime.h: Likewise.
13442         * libio/bits/stdio.h: Likewise.
13443         * libio/bits/stdio2.h: Likewise.
13444         * libio/libio.h: Likewise.
13445         * libio/libioP.h: Likewise.
13446         * libio/stdio.h: Likewise.
13447         * locale/lc-ctype.c: Likewise.
13448         * locale/locale.h: Likewise.
13449         * login/utmp.h: Likewise.
13450         * malloc/arena.c: Likewise.
13451         * malloc/malloc.c: Likewise.
13452         * malloc/malloc.h: Likewise.
13453         * malloc/mcheck.c: Likewise.
13454         * malloc/mtrace.c: Likewise.
13455         * math/bits/mathcalls.h: Likewise.
13456         * math/fenv.h: Likewise.
13457         * math/math_private.h: Likewise.
13458         * misc/bits/error.h: Likewise.
13459         * misc/bits/syslog.h: Likewise.
13460         * misc/err.h: Likewise.
13461         * misc/error.h: Likewise.
13462         * misc/fstab.h: Likewise.
13463         * misc/mntent.h: Likewise.
13464         * misc/regexp.h: Likewise.
13465         * misc/search.h: Likewise.
13466         * misc/sgtty.h: Likewise.
13467         * misc/sys/mman.h: Likewise.
13468         * misc/sys/syslog.h: Likewise.
13469         * misc/sys/uio.h: Likewise.
13470         * misc/sys/xattr.h: Likewise.
13471         * misc/ttyent.h: Likewise.
13472         * nis/rpcsvc/ypclnt.h: Likewise.
13473         * nss/nss.h: Likewise.
13474         * posix/bits/unistd.h: Likewise.
13475         * posix/fnmatch.h: Likewise.
13476         * posix/glob.h: Likewise.
13477         * posix/sched.h: Likewise.
13478         * posix/spawn.h: Likewise.
13479         * posix/sys/wait.h: Likewise.
13480         * posix/unistd.h: Likewise.
13481         * posix/wordexp.h: Likewise.
13482         * pwd/pwd.h: Likewise.
13483         * resolv/netdb.h: Likewise.
13484         * resource/sys/resource.h: Likewise.
13485         * rt/aio.h: Likewise.
13486         * rt/bits/mqueue2.h: Likewise.
13487         * rt/mqueue.h: Likewise.
13488         * shadow/shadow.h: Likewise.
13489         * signal/signal.h: Likewise.
13490         * socket/send.c: Likewise.
13491         * socket/sendto.c: Likewise.
13492         * socket/sys/socket.h: Likewise.
13493         * stdio-common/printf.h: Likewise.
13494         * stdlib/bits/stdlib.h: Likewise.
13495         * stdlib/fmtmsg.h: Likewise.
13496         * stdlib/monetary.h: Likewise.
13497         * stdlib/stdlib.h: Likewise.
13498         * stdlib/ucontext.h: Likewise.
13499         * streams/stropts.h: Likewise.
13500         * string/argz.h: Likewise.
13501         * string/bits/string2.h: Likewise.
13502         * string/string.h: Likewise.
13503         * string/strings.h: Likewise.
13504         * sunrpc/rpc/auth.h: Likewise.
13505         * sunrpc/rpc/auth_des.h: Likewise.
13506         * sunrpc/rpc/clnt.h: Likewise.
13507         * sunrpc/rpc/netdb.h: Likewise.
13508         * sunrpc/rpc/pmap_clnt.h: Likewise.
13509         * sunrpc/rpc/xdr.h: Likewise.
13510         * sysdeps/generic/inttypes.h: Likewise.
13511         * sysdeps/generic/net/if.h: Likewise.
13512         * sysdeps/generic/sys/swap.h: Likewise.
13513         * sysdeps/gnu/net/if.h: Likewise.
13514         * sysdeps/gnu/utmpx.h: Likewise.
13515         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13516         * sysdeps/i386/i486/bits/string.h: Likewise.
13517         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13518         * sysdeps/s390/bits/string.h: Likewise.
13519         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13520         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13521         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13522         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13523         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13524         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13525         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13526         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13527         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13528         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13529         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13530         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13531         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13532         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13533         * sysdeps/unix/sysv/linux/readv.c: Likewise.
13534         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13535         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13536         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13537         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13538         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13539         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13540         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13541         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13542         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13543         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13544         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13545         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13546         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13547         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13548         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13549         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13550         * sysvipc/sys/ipc.h: Likewise.
13551         * sysvipc/sys/msg.h: Likewise.
13552         * sysvipc/sys/sem.h: Likewise.
13553         * sysvipc/sys/shm.h: Likewise.
13554         * termios/termios.h: Likewise.
13555         * time/sys/time.h: Likewise.
13556         * time/time.h: Likewise.
13557         * wcsmbs/bits/wchar2.h: Likewise.
13558         * wcsmbs/uchar.h: Likewise.
13559         * wcsmbs/wchar.h: Likewise.
13560         * wctype/wctype.h: Likewise.
13562         [BZ #13551]
13563         * Makeconfig: Remove all but ELF support including AIX support.
13564         * Makerules: Likewise.
13565         * config.h.in: Likewise.
13566         * config.make.in: Likewise.
13567         * configure: Likewise.
13568         * configure.in: Likewise.
13569         * csu/Makefile: Likewise.
13570         * csu/version.c: Likewise.
13571         * debug/Makefile: Likewise.
13572         * dlfcn/Makefile: Likewise.
13573         * elf/Makefile: Likewise.
13574         * extra-lib.mk: Likewise.
13575         * iconv/Makefile: Likewise.
13576         * include/libc-symbols.h: Likewise.
13577         * include/shlib-compat.h: Likewise.
13578         * resolv/Makefile: Likewise.
13579         * resolv/res_libc.c: Likewise.
13580         * rt/Makefile: Likewise.
13581         * sysdeps/i386/asm-syntax.h: Likewise.
13582         * sysdeps/i386/sysdep.h: Likewise.
13583         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13584         * sysdeps/mach/sysdep.h: Likewise.
13585         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13586         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13587         * sysdeps/s390/asm-syntax.h: Likewise.
13588         * sysdeps/s390/s390-32/sysdep.h: Likewise.
13589         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13590         * sysdeps/sh/sysdep.h: Likewise.
13591         * sysdeps/unix/sparc/sysdep.h: Likewise.
13592         * sysdeps/wordsize-32/divdi3.c: Likewise.
13593         * sysdeps/x86_64/sysdep.h: Likewise.
13595         * argp/Versions: Remove _argp_unlock_xxx.
13597         [BZ #13559]
13598         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
13599         * abilist/libBrokenLocale.abilist: Likewise.
13600         * abilist/libanl.abilist: Likewise.
13601         * abilist/libc.abilist: Likewise.
13602         * abilist/libcrypt.abilist: Likewise.
13603         * abilist/libdl.abilist: Likewise.
13604         * abilist/libm.abilist: Likewise.
13605         * abilist/libnsl.abilist: Likewise.
13606         * abilist/libpthread.abilist: Likewise.
13607         * abilist/libresolv.abilist: Likewise.
13608         * abilist/librt.abilist: Likewise.
13609         * abilist/libthread_db.abilist: Likewise.
13610         * abilist/libutil.abilist: Likewise.
13611         * abilist/libnss_db.abilist: New file.
13613         * scripts/abilist.awk: Add support for indirect functions.
13615         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13617         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13619         * shlib-versions: Remove entries for ports architectures.
13621         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
13622         files in ports.
13623         * elf/stackguard-macros.h: Remove support for IA-64.
13624         * elf/tst-auditmod1.c: Likewise.
13625         * sysdeps/generic/ldsodefs.h: Likewise.
13627         * sysdeps/unix/sysv/linux/configure.in: Ports should define
13628         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13629         configure files.
13631         [BZ #13552]
13632         * configure.in: Remove --enable-omitfp support.
13633         * FAQ.in: Adjust.
13634         * config.make.in: Likewise.
13635         * Makeconfig: Likewise.
13636         * manual/install.texi: Likewise.
13638         In case anyone cares, the IA-64 architecture could move to ports.
13639         * sysdeps/ia64/*: Removed.
13640         * sysdeps/unix/sysv/linux/ia64/*: Removed.
13641         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
13643         [BZ #13555]
13644         * configure.in: Remove entries for unsupported architectures.
13646         [BZ #13533]
13647         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13648         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
13649         routines.
13650         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13651         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13652         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
13653         fall back to using wcrtomb.
13654         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13655         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
13656         renaming.
13657         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13658         * wcsmbs/tst-c16c32-1.c: New file.
13660         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13661         local variable.
13663         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13665         * elf/tst-unique3.cc: Add explicit declaration of gets.
13666         * elf/tst-unique3lib.cc: Likewise.
13667         * elf/tst-unique3lib2.cc: Likewise.
13668         * elf/tst-unique4.cc: Likewise.
13670         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13672 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
13674         [BZ #13566]
13675         * assert/assert.h (static_assert): Don't define for C++.
13676         * libio/stdio.h (gets): Do declare for C++ <= C++11.
13677         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13679 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
13681         * iconv/loop.c (single loop): Fix assertion in storing of
13682         remaining bytes.
13684         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13686 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
13688         * posix/getconf.c: Update copyright year.
13689         * nss/getent.c: Likewise.
13690         * nss/makedb.c: Likewise.
13691         * iconv/iconvconfig.c: Likewise.
13692         * iconv/iconv_prog.c: Likewise.
13693         * elf/ldconfig.c: Likewise.
13694         * elf/pldd.c: Likewise.
13695         * elf/sotruss.ksh: Likewise.
13696         * catgets/gencat.c: Likewise.
13697         * csu/version.c: Likewise.
13698         * elf/ldd.bash.in: Likewise.
13699         * elf/sprof.c (print_version): Likewise.
13700         * locale/programs/locale.c: Likewise.
13701         * locale/programs/localedef.c: Likewise.
13702         * login/programs/pt_chown.c: Likewise.
13703         * nscd/nscd.c (print_version): Likewise.
13704         * debug/xtrace.sh: Likewise.
13705         * malloc/memusage.sh: Likewise.
13706         * malloc/mtrace.pl: Likewise.
13707         * debug/catchsegv.sh: Likewise.
13709 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
13711         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13712         pure attribute.
13714 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
13716         [BZ #13533]
13717         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13718         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13719         transformations.
13720         * iconv/gconv_int.h: Likewise.
13721         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13722         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13723         from libc for GLIBC_2.16.
13724         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13725         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13726         * wcsmbs/uchar.h: Really define mbstate_t.
13727         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13728         * wcsmbs/c16rtomb.c: New file.
13729         * wcsmbs/mbrtoc16.c: New file.
13730         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13731         for C/POSIX locale.
13732         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13733         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13735         * wcsmbs/wchar.h: Add missing __restrict.
13737 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
13739         [BZ #13532]
13740         * time/Makefile (routines): Add timespec_get.
13741         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13742         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
13743         timespec for ISO C11.
13744         * time/timespec_get.c: New file.
13745         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13746         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13748         [BZ #13531]
13749         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13750         * stdlib/stdlib.h: Declare aligned_alloc.
13751         * Versions.def: Add GLIBC_2.16 for libc.
13752         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13754         [BZ 13527]
13755         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13756         ISO C11.
13758         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
13759         code.
13761         [BZ #13528]
13762         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13764         [BZ #13529]
13765         * assert/assert.h (static_assert): Define.
13767         * version.h: Update for 2.16 development version.
13769         [BZ #13526]
13770         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13771         _ISOC11_SOURCE.
13773         * version.h (RELEASE): Bump for 2.15 release.
13774         * include/features.h (__GLIBC_MINOR__): Bump to 15.
13776         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13777         Patch by Marek Polacek <mpolacek@redhat.com>.
13779         * bits/byteswap.h: Protect long long constants with __extension__.
13780         * sysdeps/i386/bits/byteswap.h: Likewise.
13781         * sysdeps/ia64/bits/byteswap.h: Likewise.
13782         * sysdeps/s390/bits/byteswap.h: Likewise.
13783         * sysdeps/x86_64/bits/byteswap.h: Likewise.
13785 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13787         [BZ #13540]
13788         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13789         destination buffer.
13790         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13792 2011-12-23  Marek Polacek  <polacek@redhat.com>
13794         * elf/dl-addr.c (determine_info): Add inline keyword.
13795         * elf/tst-auditmod4b.c (check_avx): Likewise.
13796         * elf/tst-auditmod6b.c (check_avx): Likewise.
13797         * elf/tst-auditmod6c.c (check_avx): Likewise.
13798         * elf/tst-auditmod7b.c (check_avx): Likewise.
13800 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
13802         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13803         !__SSE_MATH__.
13805 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13807         [BZ #13540]
13808         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13809         processing for last bytes.
13811 2011-08-06  Bruno Haible  <bruno@clisp.org>
13813         [BZ #13061]
13814         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13815         U+0385, not to U+1FEE.
13817         [BZ #13062]
13818         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13819         entry for U+00A5 U+0301.
13821 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
13823         [BZ #13166]
13824         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13825         buffer for the output is too small.
13827         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13828         optimization.
13830         [BZ #13185]
13831         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13832         SSE flags if possible.
13834 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13836         [BZ #13540]
13837         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13838         processing for last bytes.
13840 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
13842         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13843         (syscall-list-default-options, syscall-list-default-condition)
13844         (syscall-list-includes): Define.
13845         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13846         list of ABIs and options and #if conditions for each ABI.  Do not
13847         handle common syscalls between ABIs specially.
13848         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13849         Remove.
13850         (syscall-list-variants, syscall-list-32bit-options)
13851         (syscall-list-32bit-condition, syscall-list-64bit-options)
13852         (syscall-list-64bit-condition): Define.
13853         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13854         (syscall-list-variants, syscall-list-32bit-options)
13855         (syscall-list-32bit-condition, syscall-list-64bit-options)
13856         (syscall-list-64bit-condition): Define.
13857         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13858         Remove.
13859         (syscall-list-variants, syscall-list-32bit-options)
13860         (syscall-list-32bit-condition, syscall-list-64bit-options)
13861         (syscall-list-64bit-condition): Define.
13862         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13863         Remove.
13864         (syscall-list-variants, syscall-list-32bit-options)
13865         (syscall-list-32bit-condition, syscall-list-64bit-options)
13866         (syscall-list-64bit-condition): Define.
13868 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
13870         * locale/iso-639.def: Add brx entry.
13872         [BZ #13328]
13873         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13874         Proposed by Mariusz_Cukr <marcukr@op.pl>.
13876         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13877         __feraiseexcept_renamed.
13879 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
13881         [BZ #13538]
13882         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13883         EPOLLET with unsigned values.
13884         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13885         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13887         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13888         to large cancellation.
13889         * math/s_cacoshf.c: Likewise.
13890         * math/s_cacoshl.c: Likewise.
13892 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
13894         [BZ #13305]
13895         [BZ #12786]
13896         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13897         * math/s_cacoshf.c: Likewise.
13898         * math/s_cacoshl.c: Likewise.
13900 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
13902         [BZ #13439]
13903         * iconv/gconv.h: Define __GCONV_SWAP.
13904         * iconvdata/unicode.c: The swap bit must be stored in __flags.
13905         * iconvdata/utf-16.c: Likewise.
13906         * iconvdata/utf-32.c: Likewise.
13908 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
13910         [BZ #13524]
13911         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13912         numerator after shifting it by one limb.
13914 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
13916         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13917         under [__USE_EXTERN_INLINES].
13919 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
13921         [BZ #13446]
13922         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13924 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13926         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13927         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13928         optimized code.
13929         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13930         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13931         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13932         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13933         for strncasecmp/strncasecmp_l compilation.
13934         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13935         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13937 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
13939         [BZ #13484]
13940         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13941         of __asm__.
13943 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
13945         [BZ #13506]
13946         * time/tzfile.c (__tzfile_read): Check values from file header.
13948 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
13950         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13951         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13952         * powerpc/powerpc32/dl-start.S: Likewise.
13953         * powerpc/powerpc32/elf/start.S: Likewise.
13954         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13955         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13956         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13957         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13958         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13959         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13960         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13961         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13962         * powerpc/powerpc32/fpu/s_round.S: Likewise.
13963         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13964         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13965         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13966         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13967         * powerpc/powerpc32/memset.S: Likewise.
13968         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13969         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13970         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13971         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13972         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13973         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13974         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13975         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13976         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13977         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13978         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13979         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13980         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13982 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13984         * math/libm-test.inc: Added more nearbyint tests.
13985         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13986         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13987         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13988         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13990 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
13992         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13993         FD_CLOEXEC.
13995 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13997         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13998         Add wcscpy-ssse3 wcscpy-c.
13999         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14000         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14001         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14002         * sysdeps/x86_64/wcschr.S: New file.
14003         * sysdeps/x86_64/wcsrchr.S: New file.
14004         * string/test-strcmp.c: Remove checking of wcscmp function for
14005         wrong alignments.
14006         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14007         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14008         wcsrchr-sse2 wcsrchr-c.
14009         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14010         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14011         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14012         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14013         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14014         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14015         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14016         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14017         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14018         * wcsmbc/wcschr.c (WCSCHR): New macro.
14020 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14022         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14023         * wcsmbs/test-wcsrchr.c: New file.
14024         * string/test-strrchr.c: Add wcsrchr support.
14025         (WIDE): New macro.
14026         * wcsmbs/test-wcscpy.c: New file.
14027         * string/test-strcpy.c: Add wcscpy support.
14028         (WIDE): New macro.
14030 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
14032         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14033         the inner loop.
14035 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
14037         [BZ #13472]
14038         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14040 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
14042         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14043         Minor optimizations.
14045         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14046         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14047         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14049 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
14051         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14052         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14053         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14054         for gcc to avoid warnings.
14055         * inet/Makefile (tests): Add tst-checks.
14056         * inet/tst-checks.c: New file.
14058         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14059         warning.
14061         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14062         __wmemcmp_sse2.
14064         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14065         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14067         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14069 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
14071         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14072         problem.
14074         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14076 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
14078         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14079         conditional on GCC version.
14080         (__arch_compare_and_exchange_val_8_acq)
14081         (__arch_compare_and_exchange_val_16_acq)
14082         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14083         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14084         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14086 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
14088         * sysdeps/sh/backtrace.c: New file.
14090 2011-12-02  Andreas Schwab  <schwab@redhat.com>
14092         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
14093         parenthesis.
14095 2011-12-01  Andreas Schwab  <schwab@redhat.com>
14097         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14098         falling back to utime.
14100 2011-11-30  Andreas Schwab  <schwab@redhat.com>
14102         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14103         expectations for float.
14105 2011-11-29  Andreas Schwab  <schwab@redhat.com>
14107         * locale/weight.h (findidx): Add parameter len.
14108         * locale/weightwc.h (findidx): Likewise.
14109         * posix/fnmatch_loop.c (FCT): Adjust caller.
14110         * posix/regcomp.c (build_equiv_class): Likewise.
14111         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14112         * posix/regexec.c (check_node_accept_bytes): Likewise.
14113         * string/strcoll_l.c (STRCOLL): Likewise.
14114         * string/strxfrm_l.c (STRXFRM): Likewise.
14116 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
14118         * Makefile.in: Remove CVSOPT handling.
14119         * configure.in: Remove use of AC_REVISION.
14120         * iconvdata/Makefile (distribute): No need to filter out CVS.
14121         * scripts/list-sources.sh: Remove CVS, subversion and monotone
14122         handling.
14124 2011-11-16  Andreas Schwab  <schwab@redhat.com>
14126         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14127         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14128         [USE_AS_STRNCASECMP_L]: Likewise.
14129         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14130         NO_TLS_DIRECT_SEG_REFS.
14131         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14132         Fix argument offsets for non-PIC.
14133         [USE_AS_STRNCASECMP_L]: Likewise.
14134         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14135         NO_TLS_DIRECT_SEG_REFS.
14137 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
14139         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14140         O_CLOEXEC.
14141         * locale/loadlocale.c (_nl_load_locale): Likewise.
14143 2011-11-15  Andreas Schwab  <schwab@redhat.com>
14145         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14146         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14147         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14148         (SYSCALL_GETTIME): Set errno on error.
14150         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14151         count references to noai6ai_cached.
14153 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
14155         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14157         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14158         FD_CLOEXEC for /proc/self/maps.
14160         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14161         FD_CLOEXEC for /proc/meminfo.
14163         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14164         gai.conf.
14166         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
14167         FD_CLOEXEC for given file.
14169         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14171         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14172         FD_CLOEXEC for /etc/hosts.
14173         (_gethtent): Likewise.
14175         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14177         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14178         cancellation and set FD_CLOEXEC for /etc/netgroup.
14180         * nss/nss_files/files-key.c (search): Don't allow cancellation when
14181         reading /etc/publickey.
14183         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14184         allow cancellation when reading /etc/group.
14186         * nss/nss_files/files-alias.c (internal_setent): Don't allow
14187         cancellation.
14188         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
14190         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14191         when using data file.
14193         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14195         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14196         (write_nis_obj): Use "c" and "e" in fopen.
14198         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14200         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14202         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14204         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14206         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14207         locale.alias.
14209         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14211         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14213         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14215         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14216         file parsing and set FD_CLOEXEC.
14218 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
14220         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14222 2011-11-14  Andreas Schwab  <schwab@redhat.com>
14224         * malloc/arena.c (arena_get2): Don't call reused_arena when
14225         _int_new_arena failed.
14227 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
14229         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14230         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14231         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14232         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14233         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14234         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14235         to compile strcasecmp and strncasecmp.
14236         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14237         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14239         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14241 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
14243         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14244         locale-defines.sym to gen-as-const-headers.
14245         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14246         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14247         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14248         to compile strcasecmp and strncasecmp.
14249         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14250         strcasecmp_l and strncasecmp_l.
14251         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14252         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14253         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14254         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14255         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14256         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14257         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14258         * sysdeps/i386/i686/multiarch/strncase.S: New file.
14259         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14260         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14261         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14263 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
14265         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14266         result of SYSDEP_GETTIME_CPU to retval.
14267         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14268         parameter list to macro.  Remove trailing semicolon.  Adjust users.
14270         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14271         variable.
14273         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14274         mantissa words.
14275         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14277         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14278         from unused variable.
14280         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14281         DWARF definitions.
14282         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14283         for assembling.
14285         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14286         over namespaces.
14288         * sunrpc/rpc_prot.c (rejected): Fix case value.
14290         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14291         unsigned long long int to avoid warnings in shift.
14293         * posix/regex_internal.c (re_string_reconstruct): Actually use result
14294         of use of trans.
14295         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14296         variable tmp.
14298         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14299         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14300         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14302         * nis/nis_table.c (nis_list): Use variable of correct type for
14303         result of __follow_path call.
14305 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14307         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14308         of math functions ceil, trunc, floor, round, and sqrt, when
14309         avaliable on the platform.
14310         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14311         name clash.
14312         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14313         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14314         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14316 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
14318         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14319         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14321 2011-11-11  Roland McGrath  <roland@hack.frob.com>
14323         * include/unistd.h: Fix __readlink return type.
14324         Reported by Chris Metcalf <cmetcalf@tilera.com>.
14326 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
14328         * stdlib/ucontext.h: Undo last change for makecontext.
14330 2011-11-11  Andreas Schwab  <schwab@redhat.com>
14332         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14334         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14335         * setjmp/setjmp.h: Mark functions as non-leaf.
14336         * setjmp/bits/setjmp2.h: Likewise.
14337         * stdlib/ucontext.h: Likewise.
14339 2011-11-10  Andreas Schwab  <schwab@redhat.com>
14341         * malloc/arena.c (_int_new_arena): Don't increment narenas.
14342         (reused_arena): Don't check arena limit.
14343         (arena_get2): Atomically check arena limit.
14345 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
14347         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14348         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14350         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14351         instructions.
14353 2011-11-07  Andreas Schwab  <schwab@redhat.com>
14355         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14356         handler when locking.
14358         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14359         Fix size of allocated buffer.
14361 2011-11-04  Andreas Schwab  <schwab@redhat.com>
14363         [BZ #10103]
14364         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14365         declarations for long double functions.
14366         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14368         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14370 2011-11-03  Andreas Schwab  <schwab@redhat.com>
14372         * nscd/nscd.c (main): Don't start AVC thread until credentials are
14373         installed.
14375         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14376         is disabled.
14378 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14380         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14382 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14384         * include/alloca.h (stackinfo_alloca_round): Define.
14385         (extend_alloca): Use it.
14386         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14387         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14388         here.
14390         * scripts/check-local-headers.sh: Ignore libaudit.h.
14392         * nscd/Makefile (extra-objs): Make recursively expanded.
14394 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
14396         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14397         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14399         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14400         * posix/tst-rfc3484-2.c: Likewise.
14401         * posix/tst-rfc3484-3.c: Likewise.
14403         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14404         process_vm_writev.
14405         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14406         process_vm_writev.
14407         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14408         process_vm_writev from libc using GLIBC_2.15 version.
14410         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14412 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
14414         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14415         stack usage.
14417 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
14419         [BZ #13367]
14420         * nss/getent.c (initgroups_keys): Show error message in case no group
14421         names are given.
14423         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14424         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14425         __bump_nl_timestamp.
14426         * nscd/connections (nscd_init): When host database is served open
14427         netlink socket and request notification about configuration changes.
14428         (main_loop_poll): Track netlink file descriptor and bump timestamp
14429         in case data becomes available.
14430         (main_loop_epoll): Likewise.
14431         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14432         (database_pers_head): Add extra_data fileds.
14433         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14434         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14435         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14436         Adjust caller.
14437         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14438         in6ai data, call __free_in6ai.
14439         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14440         Add -DHAVE_NETLINK.
14441         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
14442         interface information.  Reuse previous data if netlink timestamp
14443         is not changed.
14444         (__bump_nl_timestamp): New function.
14445         (__free_in6ai): New function.
14447 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
14449         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14450         close_not_cancel_no_status here.
14451         (__check_pf): Reorganize code a bit to not call close twice if OOM.
14453 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
14455         [BZ #13276]
14456         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14457         return value.
14459         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
14460         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14461         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14463 2011-07-03  Andreas Jaeger  <aj@suse.de>
14465         [BZ #10709]
14466         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14467         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14468         * math/libm-test.inc (sin_test): Add test case.
14470 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
14472         [BZ #13337]
14473         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14474         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14476         * elf/chroot_canon.c (chroot_canon): Cleanups.
14478         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14480         [BZ #13335]
14481         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14482         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14484         * string/test-strchr.c: Make usable for strchrnul testing.
14485         * string/test-strchrnul.c: New file.
14486         * string/Makefile (strop-tests): Add strchrnul.
14488         * po/it.po: Update from translation team.
14489         * po/es.po: Likewise.
14491 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
14493         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14494         the three constants needed as parameters.  Drop the others.
14495         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14496         __m128i_strloadu_tolower.
14497         Create and initialize variable zero and use it in all the places
14498         where _mm_setzero_si128 was used.
14500         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14501         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14502         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14503         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14504         anymore.
14505         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14506         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14507         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14508         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14509         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14510         __mpranred, __mptan.
14511         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14512         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14513         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14514         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14515         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14516         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14517         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14518         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14519         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14521 2011-10-28  Andreas Schwab  <schwab@redhat.com>
14523         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14524         redefine if SHARED.
14525         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14527         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14528         wide char related routines to wcsmbs subdir.
14530 2011-10-27  Andreas Schwab  <schwab@redhat.com>
14532         [BZ #13344]
14533         * misc/sys/cdefs.h (__THROWNL): Define.
14534         * posix/unistd.h: Use __THREADNL instead of __THREAD
14535         for memory synchronization functions.
14537 2011-10-26  Roland McGrath  <roland@hack.frob.com>
14539         [BZ #13349]
14540         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14541         doesn't exist.
14542         * manual/stdio.texi (Obstack Streams): Node removed.
14544 2011-10-26  Andreas Schwab  <schwab@redhat.com>
14546         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14547         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14548         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14550         * math/math_private.h (math_force_eval): Allow non-addressable
14551         arguments.
14552         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14554 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
14556         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14557         file is not needed.
14559         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14560         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14561         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14562         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14563         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14564         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14565         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14566         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14567         Add AVX variants.
14568         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14569         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14570         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14571         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14572         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14573         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14574         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14575         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14576         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14577         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14578         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14579         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14580         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14581         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14582         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14583         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14584         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14585         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14586         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14588         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14589         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
14591         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14592         place.  Use VEX encoding when compiling for AVX.
14594 2011-10-25  Andreas Schwab  <schwab@redhat.com>
14596         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14597         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14599         * string/test-strchr.c (do_test): Don't generate NUL bytes.
14601 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
14603         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
14604         useless if() expression.
14605         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14606         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14607         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14608         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14609         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14610         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14611         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14612         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14613         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14614         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14615         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14616         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14617         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14618         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14619         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14620         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14621         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14622         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14623         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14625         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14627 2011-10-25  Andreas Schwab  <schwab@redhat.com>
14629         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14630         condition.
14631         * elf/dl-fini.c (_dl_sort_fini): Likewise.
14633 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
14635         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14636         .text section.  Avoid duplicate constants.
14637         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14638         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14639         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14640         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14641         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14642         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14643         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14644         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14645         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14646         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14647         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14648         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14649         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14650         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14651         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14652         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14653         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14654         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14655         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14656         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14657         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14658         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14659         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14660         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14661         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14662         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14663         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14664         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14665         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14666         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14667         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14668         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14669         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14670         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14671         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14672         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14673         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14674         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14675         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14676         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14677         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14678         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14679         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14680         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14681         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14683 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
14685         * sysdeps/x86_64/dla.h: Move to ...
14686         * sysdeps/x86_64/fpu/dla.h: ...here.
14687         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14688         situations.  Use __builtin_fma only for gcc 4.6 and up.
14690         * config.make.in: Add have-mfma4 entry.
14691         * configure.in: Substitute libc_cv_cc_fma4.
14692         * math/Makefile (dbl-only-routines): Add sincostab.
14693         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14694         Use __sincostab not sincos.
14695         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14696         name is a macro.
14697         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14698         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14699         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14700         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
14701         using __copysign.
14702         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
14703         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
14704         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14705         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14706         and __inv.
14707         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14708         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14709         __copysign.
14710         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
14711         define aliases when function name is a macro.
14712         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14713         sysdeps/ieee754/dbl-64/sincos.tbl.
14714         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14715         fma4-enabled routines.
14716         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14717         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14718         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14719         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14720         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14721         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14722         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14723         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14724         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14725         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14726         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14727         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14728         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14729         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14730         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14731         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14732         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14733         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14734         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14735         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14736         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14737         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14738         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14739         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14740         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14741         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14742         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14743         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14744         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14745         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14747         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14748         rename.
14749         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14750         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14751         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14752         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14753         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14754         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14755         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14756         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14758 2011-10-24  Andreas Schwab  <schwab@redhat.com>
14760         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14762 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
14764         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14766         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14767         prediction.
14768         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14770         * string/strnlen.c: Don't define STRNLEN, reverse logic.
14771         Remove unused variable magic_bits.
14772         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14774         * string/strnlen.c: Define and use STRNLEN macro.
14775         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14776         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14777         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14778         * wcsmbs/wcslen.c: Define and use WCSLEN.
14779         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14780         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14781         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14782         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14783         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14784         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14785         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14787 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14789         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14790         strnlen-sse2-no-bsf.
14791         Rename strlen-no-bsf to strlen-sse2-no-bsf.
14792         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14793         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14794         Add strnlen support.
14795         (USE_AS_STRNLEN): New macro.
14796         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14797         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14798         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14799         * sysdeps/x86_64/wcslen.S: New file.
14801 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
14803         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14804         XMM-moves are used for copying on small sizes.
14806 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14808         * wcsmbs/Makefile (strop-tests): Add wcschr.
14809         * wcsmbs/test-wcschr.c: New file.
14810         * string/test-strchr.c: Update.
14811         Add wcschr support.
14812         (WIDE): New macro.
14814 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14816         * wcsmbs/Makefile (strop-tests): Add wcslen.
14817         * wcsmbs/test-wcslen.c: New file.
14818         * string/test-strlen.c: Update.
14819         Add wcslen support.
14820         (WIDE): New macro.
14822 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
14824         * po/it.po: Update from translation team.
14826 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14828         * sysdeps/x86_64/wcscmp.S: Update.
14829         Fix wrong comparison semantics.
14830         wcscmp shall use signed comparison not unsigned.
14831         Don't use substraction to avoid overflow bug.
14832         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14833         * wcsmbc/wcscmp.c: Likewise.
14834         * string/test-strcmp.c: Likewise.
14835         Add new tests to check cases with negative values.
14837 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
14839         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14840         * sysdeps/x86_64/dla.h: ...here.  New file.
14841         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14842         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14843         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14844         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14845         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14846         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14847         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14848         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14849         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14851 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
14853         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14854         __ynl_finite aliases.
14856 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
14858         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14860         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14861         define DLA_FMA.
14862         [DLA_FMA] (EMULV): Use DLA_FMA.
14863         [DLA_FMA] (MUL12): Use EMULV.
14864         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14865         that are not needed.
14866         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14867         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14868         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14869         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14870         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14871         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14872         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14874 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
14876         * math/s_nan.c: Undef __nan.
14877         * math/s_nanf.c: Undef __nanf.
14878         * math/s_nanl.c: Undef __nanl.
14879         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14880         "math_private.h".
14882 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
14884         * math/s_catan.c: Add branch predictions.
14885         * math/s_catanf.c: Likewise.
14886         * math/s_catanh.c: Likewise.
14887         * math/s_catanhf.c: Likewise.
14888         * math/s_catanhl.c: Likewise.
14889         * math/s_catanl.c: Likewise.
14890         * math/s_cexp.c: Likewise.
14891         * math/s_cexpf.c: Likewise.
14892         * math/s_cexpl.c: Likewise.
14893         * math/s_clog.c: Likewise.
14894         * math/s_clog10.c: Likewise.
14895         * math/s_clog10f.c: Likewise.
14896         * math/s_clog10l.c: Likewise.
14897         * math/s_clogf.c: Likewise.
14898         * math/s_clogl.c: Likewise.
14899         * math/s_csqrt.c: Likewise.
14900         * math/s_csqrtf.c: Likewise.
14901         * math/s_csqrtl.c: Likewise.
14902         * math/s_ctanf.c: Likewise.
14903         * math/s_ctanh.c: Likewise.
14904         * math/s_ctanhf.c: Likewise.
14905         * math/s_ctanhl.c: Likewise.
14906         * math/s_ctanl.c: Likewise.
14908         * math/math_private.h: Define __nan, __nanf, __nanl.
14909         * math/s_cacosh.c: Include <math_private.h>.
14910         * math/s_cacoshl.c: Likewise.
14911         * math/s_casinh.c: Likewise.
14912         * math/s_casinhf.c: Likewise.
14913         * math/s_casinhl.c: Likewise.
14914         * math/s_ccos.c: Rely entire on ccosh.
14915         * math/s_ccosf.c: Rely entire on ccoshf.
14916         * math/s_ccosl.c: Rely entirely on ccoshl.
14917         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
14918         Remove tests for FE_INVALID.
14919         * math/s_ccoshf.c: Likewise.
14920         * math/s_ccoshl.c: Likewise.
14921         * math/s_csin.c: Likewise.
14922         * math/s_csinf.c: Likewise.
14923         * math/s_csinh.c Likewise.
14924         * math/s_csinhf.c: Likewise.
14925         * math/s_csinhl.c: Likewise.
14926         * math/s_csinl.c: Likewise.
14927         * math/s_ctan.c: Likewise.
14928         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14929         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14930         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14932 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
14934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14935         compilation problems.
14937         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14938         __builtin_expect.
14940 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
14942         * sysdeps/i386/configure.in: Test for -mfma4 option.
14943         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14944         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14945         COMMON_CPUID_INDEX_80000001.
14946         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14947         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14948         use it if FMA3 is not supported.
14949         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14951         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14952         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14954 2011-10-20  Andreas Schwab  <schwab@redhat.com>
14956         [BZ #12892]
14957         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14958         it would create a cycle with a link time dependency.
14960 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
14962         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14963         instruction.
14964         * string/Makefile (strop-tests): Add rawmemchr.
14965         * string/test-rawmemchr.c: New file.
14967         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14968         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
14969         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
14970         when compiling str{,n}casecmp and when AVX is available.  Hook up
14971         new optimized code in initializers.
14973 2011-10-19  Andreas Schwab  <schwab@redhat.com>
14975         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14976         __feraiseexcept instead of feraiseexcept.
14978 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
14980         * math/math_private.h: Define defaults for libc_fetestexcept and
14981         libc_feupdateenv.
14982         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14983         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14984         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14985         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14986         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14987         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14988         libc_fetestexcept and libc_feupdateenv.
14990         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14991         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14992         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14993         * sysdeps/x86_64/fpu/math_private.h: Define special version of
14994         libc_feholdexcept_setround.
14996         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14997         Add s_nearbyint-c and s_nearbyintf-c.
14998         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14999         nearbyintf inlines.
15000         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15001         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15002         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15003         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15005         * math/math_private.h: Define defaults for libc_fegetround,
15006         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15007         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15008         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15009         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15010         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15011         standard functions.
15012         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15013         Remove comments and hacks for old compiler versions.
15014         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15015         libc_fegetround, libc_fesetround, libc_feholdexcept, and
15016         libc_feholdexceptl.
15018 2011-10-18  Andreas Schwab  <schwab@redhat.com>
15020         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15021         (__feraiseexcept_renamed): Add __NTH.
15022         (feraiseexcept): Add __NTH.  Rename local variables to fix
15023         namespace violations.
15025 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
15027         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15029         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15031         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15032         recently added interfaces.
15033         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15035         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15036         about macro parameter expansion.
15038         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15039         __NO_MATH_INLINES is defined.  Cleanups.
15041         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15042         and __floorf is target has SSE4.1.
15043         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15044         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15045         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15046         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15048         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15049         name.
15050         (floorf): Likewise.
15052         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15054 2011-10-17  Andreas Schwab  <schwab@redhat.com>
15056         * misc/sys/cdefs.h: Fix last change.
15058         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15059         database lookup.
15061 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
15063         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15065         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15066         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15067         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15068         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15069         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15070         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15071         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15072         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15073         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15074         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15075         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15076         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15077         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15078         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15079         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15080         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15081         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15082         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15083         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15084         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15085         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15086         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15088         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15089         ceil, ceilf, floor, floorf.
15091         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15092         Perform IRELATIVE relocations last.
15094         * elf/do-rel.h: Add another parameter nrelative, replacing the
15095         local variable with the same name.  Change name of the function
15096         to end in Rel or Rela (uppercase).
15097         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15098         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
15099         elf_dynamic_do_##reloc function.
15101 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
15103         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15104         is sufficient, at least on modern CPUs.
15106         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15108         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15109         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15111         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15112         __expl_finite.
15113         * math/bits/math-finite.h: Add entries for exp.
15114         * math/e_expl.c: Add __*_finite alias.
15115         * sysdeps/i386/fpu/e_exp.S: Likewise.
15116         * sysdeps/i386/fpu/e_expf.S: Likewise.
15117         * sysdeps/i386/fpu/e_expl.c: Likewise.
15118         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15119         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15120         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15121         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15122         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15123         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15124         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15126         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15127         is sufficient, at least on modern CPUs.
15129         * ctype/ctype-info.c (__ctype_init): Define.
15130         * include/ctype.h (__ctype_init): Declare.
15131         (__ctype_b_loc): The variable is always initialized.
15132         (__ctype_toupper_loc): Likewise.
15133         (__ctype_tolower_loc): Likewise.
15134         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15135         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15137 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
15139         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15141         * configure.in: Also look in $cxxmachine/include for C++ system
15142         headers.
15144 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15146         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15147         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15148         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15149         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
15150         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15151         (USE_AS_WMEMCMP): New macro.
15152         Fixing indents.
15153         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15154         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15155         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15156         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15157         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15158         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15159         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15160         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15161         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15162         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15163         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15164         (USE_AS_WMEMCMP): New macro.
15165         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15166         * sysdeps/string/test-memcmp.c: Update.
15167         Fix simple_wmemcmp.
15168         Add new tests.
15169         * wcsmbs/wmemcmp.c: Update.
15170         (WMEMCMP): New macro.
15171         Fix overflow bug.
15173 2011-10-12  Andreas Jaeger  <aj@suse.de>
15175         [BZ #13268]
15176         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15178 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
15180         * libio/iofwide.c (do_length): Avoid warning.
15182         * ctype/ctype.h (__isctype_f): Add missing __THROW.
15184 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
15186         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15188         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15189         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15190         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15191         * sysdeps/i386/i686/fpu/e_log.S: New file.
15192         * sysdeps/i386/i686/fpu/e_logf.S: New file.
15193         * sysdeps/i386/i686/fpu/e_logl.S: New file.
15195         * ctype/ctype.h: Add support for inlined isXXX functions when
15196         compiling C++ code.
15198 2011-10-14  Andreas Schwab  <schwab@redhat.com>
15200         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15202         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15204 2011-10-13  Roland McGrath  <roland@hack.frob.com>
15206         [BZ #13291]
15207         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15209 2011-10-13  Andreas Schwab  <schwab@redhat.com>
15211         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15212         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15213         feraiseexcept.
15215         * sysdeps/x86_64/memrchr.S: Check for zero size.
15217         * string/stratcliff.c: Add memrchr tests.
15219 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15221         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15222         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15223         rawmemchr-sse2 rawmemchr-sse2-bsf.
15224         * sysdeps/i386/i686/multiarch/memchr.S: New file.
15225         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15226         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15227         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15228         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15229         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15230         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15231         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15232         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15233         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15234         * string/memrchr.c (MEMRCHR): New macro.
15236 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
15238         Add integration with gcc's -ffinite-math-only and optimize wrapper
15239         functions in libm.
15240         * Versions.def: Define GLIBC_2.15 version for libm.
15241         * math/Makefile (headers): Add bits/math-finite.h.
15242         * math/bits/math-finite.h: New file.
15243         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15244         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15245         * math/e_acoshl.c: Add __*_finite alias.
15246         * math/e_acosl.c: Likewise.
15247         * math/e_asinl.c: Likewise.
15248         * math/e_atan2l.c: Likewise.
15249         * math/e_atanhl.c: Likewise.
15250         * math/e_coshl.c: Likewise.
15251         * math/e_exp10.c: Likewise.
15252         * math/e_exp10f.c: Likewise.
15253         * math/e_exp10l.c: Likewise.
15254         * math/e_exp2l.c: Likewise.
15255         * math/e_fmodl.c: Likewise.
15256         * math/e_gammal_r.c: Likewise.
15257         * math/e_hypotl.c: Likewise.
15258         * math/e_j0l.c: Likewise.
15259         * math/e_j1l.c: Likewise.
15260         * math/e_jnl.c: Likewise.
15261         * math/e_lgammal_r.c: Likewise.
15262         * math/e_log10l.c: Likewise.
15263         * math/e_log2l.c: Likewise.
15264         * math/e_logl.c: Likewise.
15265         * math/e_powl.c: Likewise.
15266         * math/e_sinhl.c: Likewise.
15267         * math/e_sqrtl.c: Likewise.
15268         * math/e_scalb.c: Completely rewritten and optimized.
15269         * math/e_scalbf.c: Likewise.
15270         * math/e_scalbl.c: Likewise.
15271         * math/w_acos.c: Likewise.
15272         * math/w_acosf.c: Likewise.
15273         * math/w_acosl.c: Likewise.
15274         * math/w_acosh.c: Likewise.
15275         * math/w_acoshf.c: Likewise.
15276         * math/w_acoshl.c: Likewise.
15277         * math/w_asin.c: Likewise.
15278         * math/w_asinf.c: Likewise.
15279         * math/w_asinl.c: Likewise.
15280         * math/w_atan2.c: Likewise.
15281         * math/w_atan2f.c: Likewise.
15282         * math/w_atan2l.c: Likewise.
15283         * math/w_atanh.c: Likewise.
15284         * math/w_atanhf.c: Likewise.
15285         * math/w_atanhl.c: Likewise.
15286         * math/w_exp10.c: Likewise.
15287         * math/w_exp10f.c: Likewise.
15288         * math/w_exp10l.c: Likewise.
15289         * math/w_fmod.c: Likewise.
15290         * math/w_fmodf.c: Likewise.
15291         * math/w_fmodl.c: Likewise.
15292         * math/w_j0.c: Likewise.
15293         * math/w_j0f.c: Likewise.
15294         * math/w_j0l.c: Likewise.
15295         * math/w_j1.c: Likewise.
15296         * math/w_j1f.c: Likewise.
15297         * math/w_j1l.c: Likewise.
15298         * math/w_jn.c: Likewise.
15299         * math/w_jnf.c: Likewise.
15300         * math/w_log.c: Likewise.
15301         * math/w_logf.c: Likewise.
15302         * math/w_logl.c: Likewise.
15303         * math/w_log10.c: Likewise.
15304         * math/w_log10f.c: Likewise.
15305         * math/w_log10l.c: Likewise.
15306         * math/w_log2.c: Likewise.
15307         * math/w_log2f.c: Likewise.
15308         * math/w_log2l.c: Likewise.
15309         * math/w_pow.c: Likewise.
15310         * math/w_powf.c: Likewise.
15311         * math/w_powl.c: Likewise.
15312         * math/w_remainder.c: Likewise.
15313         * math/w_remainderf.c: Likewise.
15314         * math/w_remainderl.c: Likewise.
15315         * math/w_scalb.c: Likewise.
15316         * math/w_scalbf.c: Likewise.
15317         * math/w_scalbl.c: Likewise.
15318         * math/w_sqrt.c: Likewise.
15319         * math/w_sqrtf.c: Likewise.
15320         * math/w_sqrtl.c: Likewise.
15321         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15322         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
15323         used.
15324         * math/math_private.h: Declare __kernel_standard_f.
15325         * math/w_cosh.c: Remove cruft and optimize a bit.
15326         * math/w_coshf.c: Likewise.
15327         * math/w_coshl.c: Likewise.
15328         * math/w_exp2.c: Likewise.
15329         * math/w_exp2f.c: Likewise.
15330         * math/w_exp2l.c: Likewise.
15331         * math/w_hypot.c: Likewise.
15332         * math/w_hypotf.c: Likewise.
15333         * math/w_hypotl.c: Likewise.
15334         * math/w_lgamma.c: Likewise.
15335         * math/w_lgamma_r.c: Likewise.
15336         * math/w_lgammaf.c: Likewise.
15337         * math/w_lgammaf_r.c: Likewise.
15338         * math/w_lgammal.c: Likewise.
15339         * math/w_lgammal_r.c: Likewise.
15340         * math/w_sinh.c: Likewise.
15341         * math/w_sinhf.c: Likewise.
15342         * math/w_sinhl.c: Likewise.
15343         * math/w_tgamma.c: Likewise.
15344         * math/w_tgammaf.c: Likewise.
15345         * math/w_tgammal.c: Likewise.
15346         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15347         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15348         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15349         Minor optimizations.  Pretty printing.  Remove cruft.
15350         * sysdeps/i386/fpu/e_acosf.S: Likewise.
15351         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15352         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15353         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15354         * sysdeps/i386/fpu/e_acosl.c: Likewise.
15355         * sysdeps/i386/fpu/e_asin.S: Likewise.
15356         * sysdeps/i386/fpu/e_asinf.S: Likewise.
15357         * sysdeps/i386/fpu/e_atan2.S: Likewise.
15358         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15359         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15360         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15361         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15362         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15363         * sysdeps/i386/fpu/e_exp10.S: Likewise.
15364         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15365         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15366         * sysdeps/i386/fpu/e_exp2.S: Likewise.
15367         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15368         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15369         * sysdeps/i386/fpu/e_fmod.S: Likewise.
15370         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15371         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15372         * sysdeps/i386/fpu/e_hypot.S: Likewise.
15373         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15374         * sysdeps/i386/fpu/e_log.S: Likewise.
15375         * sysdeps/i386/fpu/e_log10.S: Likewise.
15376         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15377         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15378         * sysdeps/i386/fpu/e_log2.S: Likewise.
15379         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15380         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15381         * sysdeps/i386/fpu/e_logf.S: Likewise.
15382         * sysdeps/i386/fpu/e_logl.S: Likewise.
15383         * sysdeps/i386/fpu/e_pow.S: Likewise.
15384         * sysdeps/i386/fpu/e_powf.S: Likewise.
15385         * sysdeps/i386/fpu/e_powl.S: Likewise.
15386         * sysdeps/i386/fpu/e_remainder.S: Likewise.
15387         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15388         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15389         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15390         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15391         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15392         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15393         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15394         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15395         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15396         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15397         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15398         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15399         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15400         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15401         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15402         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15403         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15404         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15405         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15406         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15407         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15408         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15409         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15410         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15411         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15412         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15413         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15414         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15415         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15416         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15417         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15418         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15419         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15420         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15421         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15422         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15423         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15424         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15425         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15426         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15427         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15428         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15429         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15430         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15431         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15432         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15433         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15434         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15435         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15436         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15437         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15438         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15439         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15440         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15441         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15442         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15443         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15444         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15445         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15446         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15447         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15448         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15449         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15450         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15451         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15452         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15453         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15454         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15455         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15456         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15457         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15458         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15459         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15460         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15461         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15462         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15463         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15464         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15465         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15466         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15467         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15468         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15469         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15470         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15471         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15472         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15473         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15474         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15475         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15476         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15477         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15478         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15479         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15480         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15481         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15482         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15483         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15484         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15485         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15486         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15487         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15488         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15489         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15490         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15491         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15492         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15493         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15494         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15495         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15496         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15497         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15498         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15499         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15500         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15501         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15502         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15503         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15504         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15505         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
15506         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15507         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15508         (__isnanf): Likewise.
15509         (__isinf_ns): Likewise.
15510         (__isinf_nsf): Likewise.
15511         (__finite): Likewise.
15512         (__finitef): Likewise.
15513         (__ieee754_sqrt): Define as macro.
15514         (__ieee754_sqrtf): Define as macro.
15515         (__ieee754_sqrtl): Define as macro.
15516         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15517         inlined copy.
15518         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15519         __FINITE_MATH_ONLY__ consistent.
15520         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15522 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
15524         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15525         of rawmemchr.
15527         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15529 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
15531         * po/ja.po: Update from translation team.
15533 2011-10-08  Roland McGrath  <roland@hack.frob.com>
15535         * locale/programs/locarchive.c (prepare_address_space): New function.
15536         (create_archive, enlarge_archive, open_archive): Use it.
15538         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15539         inside [SHARED], where it is used.
15541         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15543         * nss/getent.c (netgroup_keys): Remove unused variable.
15544         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15546 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
15548         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15549         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15550         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15551         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15552         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15553         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15554         * math/Makefile (libm-calls): Add s_isinf_ns.
15555         * math/divtc3.c: Use __isinf_nsl instead of isinf.
15556         * math/multc3.c: Likewise.
15557         * math/s_casin.c: Likewise.
15558         * math/s_casinf.c: Likewise.
15559         * math/s_casinl.c: Likewise.
15560         * math/s_ccos.c: Likewise.
15561         * math/s_ccosf.c: Likewise.
15562         * math/s_ccosl.c: Likewise.
15563         * math/s_ctan.c: Likewise.
15564         * math/s_ctanf.c: Likewise.
15565         * math/s_ctanh.c: Likewise.
15566         * math/s_ctanhf.c: Likewise.
15567         * math/s_ctanhl.c: Likewise.
15568         * math/s_ctanl.c: Likewise.
15569         * math/w_fmod.c: Likewise.
15570         * math/w_fmodf.c: Likewise.
15571         * math/w_fmodl.c: Likewise.
15572         * math/w_remainder.c: Likewise.
15573         * math/w_remainderf.c: Likewise.
15574         * math/w_remainderl.c: Likewise.
15575         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15576         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15577         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15578         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15579         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15580         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15581         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15582         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15584         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15585         of the number.
15586         * stdio-common/printf_fphex.c: Likewise.
15587         * stdio-common/printf_size.c: Likewise.
15589         * math/e_exp10.c: Include math_private.h using <...> not "...".
15590         * math/e_exp10f.c: Likewise.
15591         * math/e_exp10l.c: Likewise.
15592         * math/e_exp2l.c: Likewise.
15593         * math/e_j0l.c: Likewise.
15594         * math/e_j1l.c: Likewise.
15595         * math/e_jnl.c: Likewise.
15596         * math/e_lgammal_r.c: Likewise.
15597         * math/e_rem_pio2l.c: Likewise.
15598         * math/e_scalb.c: Likewise.
15599         * math/e_scalbf.c: Likewise.
15600         * math/e_scalbl.c: Likewise.
15601         * math/k_cosl.c: Likewise.
15602         * math/k_sinl.c: Likewise.
15603         * math/k_tanl.c: Likewise.
15604         * math/s_cacoshf.c: Likewise.
15605         * math/s_catan.c: Likewise.
15606         * math/s_catanf.c: Likewise.
15607         * math/s_catanh.c: Likewise.
15608         * math/s_catanhf.c: Likewise.
15609         * math/s_catanhl.c: Likewise.
15610         * math/s_catanl.c: Likewise.
15611         * math/s_ccosh.c: Likewise.
15612         * math/s_ccoshf.c: Likewise.
15613         * math/s_ccoshl.c: Likewise.
15614         * math/s_cexp.c: Likewise.
15615         * math/s_cexpf.c: Likewise.
15616         * math/s_cexpl.c: Likewise.
15617         * math/s_clog.c: Likewise.
15618         * math/s_clog10.c: Likewise.
15619         * math/s_clog10f.c: Likewise.
15620         * math/s_clog10l.c: Likewise.
15621         * math/s_clogf.c: Likewise.
15622         * math/s_clogl.c: Likewise.
15623         * math/s_csin.c: Likewise.
15624         * math/s_csinf.c: Likewise.
15625         * math/s_csinh.c: Likewise.
15626         * math/s_csinhf.c: Likewise.
15627         * math/s_csinhl.c: Likewise.
15628         * math/s_csinl.c: Likewise.
15629         * math/s_csqrt.c: Likewise.
15630         * math/s_csqrtf.c: Likewise.
15631         * math/s_csqrtl.c: Likewise.
15632         * math/s_ctan.c: Likewise.
15633         * math/s_ctanf.c: Likewise.
15634         * math/s_ctanh.c: Likewise.
15635         * math/s_ctanhf.c: Likewise.
15636         * math/s_ctanhl.c: Likewise.
15637         * math/s_ctanl.c: Likewise.
15638         * math/s_ldexp.c: Likewise.
15639         * math/s_ldexpf.c: Likewise.
15640         * math/s_ldexpl.c: Likewise.
15641         * math/s_significand.c: Likewise.
15642         * math/s_significandf.c: Likewise.
15643         * math/s_significandl.c: Likewise.
15644         * math/w_acos.c: Likewise.
15645         * math/w_acosf.c: Likewise.
15646         * math/w_acosh.c: Likewise.
15647         * math/w_acoshf.c: Likewise.
15648         * math/w_acoshl.c: Likewise.
15649         * math/w_acosl.c: Likewise.
15650         * math/w_asin.c: Likewise.
15651         * math/w_asinf.c: Likewise.
15652         * math/w_asinl.c: Likewise.
15653         * math/w_atan2.c: Likewise.
15654         * math/w_atan2f.c: Likewise.
15655         * math/w_atan2l.c: Likewise.
15656         * math/w_atanh.c: Likewise.
15657         * math/w_atanhf.c: Likewise.
15658         * math/w_atanhl.c: Likewise.
15659         * math/w_cosh.c: Likewise.
15660         * math/w_coshf.c: Likewise.
15661         * math/w_coshl.c: Likewise.
15662         * math/w_dremf.c: Likewise.
15663         * math/w_exp10.c: Likewise.
15664         * math/w_exp10f.c: Likewise.
15665         * math/w_exp10l.c: Likewise.
15666         * math/w_exp2.c: Likewise.
15667         * math/w_exp2f.c: Likewise.
15668         * math/w_fmod.c: Likewise.
15669         * math/w_fmodf.c: Likewise.
15670         * math/w_fmodl.c: Likewise.
15671         * math/w_hypot.c: Likewise.
15672         * math/w_hypotf.c: Likewise.
15673         * math/w_hypotl.c: Likewise.
15674         * math/w_j0.c: Likewise.
15675         * math/w_j0f.c: Likewise.
15676         * math/w_j0l.c: Likewise.
15677         * math/w_j1.c: Likewise.
15678         * math/w_j1f.c: Likewise.
15679         * math/w_j1l.c: Likewise.
15680         * math/w_jn.c: Likewise.
15681         * math/w_jnf.c: Likewise.
15682         * math/w_jnl.c: Likewise.
15683         * math/w_lgamma.c: Likewise.
15684         * math/w_lgamma_r.c: Likewise.
15685         * math/w_lgammaf.c: Likewise.
15686         * math/w_lgammaf_r.c: Likewise.
15687         * math/w_lgammal.c: Likewise.
15688         * math/w_lgammal_r.c: Likewise.
15689         * math/w_log.c: Likewise.
15690         * math/w_log10.c: Likewise.
15691         * math/w_log10f.c: Likewise.
15692         * math/w_log10l.c: Likewise.
15693         * math/w_log2.c: Likewise.
15694         * math/w_log2f.c: Likewise.
15695         * math/w_log2l.c: Likewise.
15696         * math/w_logf.c: Likewise.
15697         * math/w_logl.c: Likewise.
15698         * math/w_pow.c: Likewise.
15699         * math/w_powf.c: Likewise.
15700         * math/w_powl.c: Likewise.
15701         * math/w_remainder.c: Likewise.
15702         * math/w_remainderf.c: Likewise.
15703         * math/w_remainderl.c: Likewise.
15704         * math/w_scalb.c: Likewise.
15705         * math/w_scalbf.c: Likewise.
15706         * math/w_scalbl.c: Likewise.
15707         * math/w_sinh.c: Likewise.
15708         * math/w_sinhf.c: Likewise.
15709         * math/w_sinhl.c: Likewise.
15710         * math/w_sqrt.c: Likewise.
15711         * math/w_sqrtf.c: Likewise.
15712         * math/w_sqrtl.c: Likewise.
15713         * math/w_tgamma.c: Likewise.
15714         * math/w_tgammaf.c: Likewise.
15715         * math/w_tgammal.c: Likewise.
15717         * po/ja.po: Update from translation team.
15719 2011-09-29  Andreas Jaeger  <aj@suse.de>
15721         [BZ #13179]
15722         * sunrpc/netname.c (netname2host): Fix logic.
15724         [BZ #6779]
15725         [BZ #6783]
15726         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15727         correctly.
15728         * math/w_remainder.c (__remainder): Likewise.
15729         * math/w_remainderf.c (__remainderf): Likewise.
15730         * math/libm-test.inc (remainder_test): Add test cases.
15732 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15734         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
15735         sdiv_qrnnd.
15737 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
15739         * string/test-memcmp.c: Avoid unncessary #defines.
15740         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15742 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15744         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15745         Use new sse2 version for core i3 - i7 as it's faster
15746         than sse42 version.
15747         (bit_Prefer_PMINUB_for_stringop): New.
15748         * sysdeps/x86_64/rawmemchr.S: Update.
15749         Replace with faster SSE2 version.
15750         * sysdeps/x86_64/memrchr.S: New file.
15751         * sysdeps/x86_64/memchr.S: Update.
15752         Replace with faster SSE2 version.
15754 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
15756         * elf/dl-load.c (lose): Add cast to avoid warning.
15758 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
15760         * po/ca.po: Update from translation team.
15762         * inet/getnetgrent_r.c: Hook up nscd.
15763         * nscd/Makefile (routines): Add nscd_netgroup.
15764         (nscd-modules): Add netgroupcache.
15765         (CFLAGS-netgroupcache.c): Define.
15766         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15767         (cache_search): Add const to second parameter.
15768         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15769         INNETGR.
15770         (dbs): Add netgrdb entry.
15771         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15772         (verify_persistent_db): Handle netgrdb.
15773         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15774         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15775         GETFDNETGR.
15776         (netgroup_response_header): Define.
15777         (innetgroup_response_header): Define.
15778         (datahead): Add netgroup_response_header and innetgroup_response_header
15779         elements.
15780         * nscd/nscd.conf: Add entries for netgroup cache.
15781         * nscd/nscd.h (dbtype): Add netgrdb.
15782         (_PATH_NSCD_NETGROUP_DB): Define.
15783         (netgroup_iov_disabled): Declare.
15784         (xmalloc, xcalloc, xrealloc): Move declarations here.
15785         (cache_search): Adjust prototype.
15786         Add netgroup-related prototypes.
15787         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15788         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15789         (__nscd_innetgr): Declare.
15790         * nscd/selinux.c (perms): Use access_vector_t as element type and
15791         add netgroup-related initializers.
15792         * nscd/netgroupcache.c: New file.
15793         * nscd/nscd_netgroup.c: New file.
15794         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15795         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15796         For four parameters use innetgr.
15797         * nss/nss_files/files-init.c: Add definition and callback for netgr.
15798         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15799         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15800         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15802         * nscd/connections.c (register_traced_file): Don't register file
15803         for disabled databases.
15805 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
15807         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15809         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15810         from tree and freeing node.
15812 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
15814         * nss/nsswitch.c (__nss_database_lookup): Handle
15815         nss_parse_service_list out of memory case.
15817 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
15819         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15820         out of memory case.
15822 2011-10-04  Andreas Schwab  <schwab@redhat.com>
15824         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15825         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15826         pass it down.
15827         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15828         elf_machine_rela, elf_machine_lazy_rel.
15829         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15830         (ELF_DYNAMIC_DO_REL): Likewise.
15831         (ELF_DYNAMIC_DO_RELA): Likewise.
15832         (ELF_DYNAMIC_RELOCATE): Likewise.
15833         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15834         to ELF_DYNAMIC_DO_REL.
15835         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15836         (dl_main): In trace mode always set __RTLD_NOIFUNC.
15837         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15838         elf_machine_rela.
15839         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15840         skip_ifunc, don't call ifunc function if non-zero.
15841         (elf_machine_rela): Likewise.
15842         (elf_machine_lazy_rel): Likewise.
15843         (elf_machine_lazy_rela): Likewise.
15844         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15845         (elf_machine_lazy_rel): Likewise.
15846         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15847         Likewise.
15848         (elf_machine_lazy_rel): Likewise.
15849         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15850         Likewise.
15851         (elf_machine_lazy_rel): Likewise.
15852         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15853         (elf_machine_lazy_rel): Likewise.
15854         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15855         (elf_machine_lazy_rel): Likewise.
15856         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15857         (elf_machine_lazy_rel): Likewise.
15858         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15859         (elf_machine_lazy_rel): Likewise.
15860         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15861         (elf_machine_lazy_rel): Likewise.
15862         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15863         (elf_machine_lazy_rel): Likewise.
15865 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
15867         * nss/nss_files/files-init.c (_nss_files_init): Use static
15868         initialization for all the *_traced_file variables.
15870 2011-09-28  Andreas Schwab  <schwab@redhat.com>
15872         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15874 2011-09-27  Roland McGrath  <roland@hack.frob.com>
15876         [BZ #13226]
15877         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15879 2011-09-27  Andreas Schwab  <schwab@redhat.com>
15881         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15882         Reread the line before reparsing it.
15884 2011-09-26  Andreas Schwab  <schwab@redhat.com>
15886         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15888 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
15889             Maxim Kuvyrkov  <maxim@codesourcery.com>
15890             Joseph Myers  <joseph@codesourcery.com>
15892         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15893         if needed for __stack_chk_guard.
15895 2011-09-19  Roland McGrath  <roland@hack.frob.com>
15897         * sysdeps/posix/spawni.c (script_execute): Always define it.
15898         It will be optimized away if unused.
15899         (maybe_script_execute): New function.
15900         (__spawni): Call it.
15902         * Makerules: Don't include tls.make.
15903         (config-tls): Always set to thread.
15904         * tls.make.c: File removed.
15906 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
15908         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15909         * config.make.in (CPPFLAGS-config): New substituted variable.
15911 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
15913         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15915         [BZ #13192]
15916         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15917         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15919 2011-09-15  Roland McGrath  <roland@hack.frob.com>
15921         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15922         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15923         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15924         (CALL_FAIL): Likewise.
15925         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15926         (CALL_FAIL): Macro removed.
15927         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15929 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
15931         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15932         for __FINITE_MATH_ONLY__ == 1.
15934 2011-09-15  Andreas Schwab  <schwab@redhat.com>
15936         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15937         __ieee754_sqrt instead of sqrt.
15938         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15939         __ieee754_sqrtf instead of sqrtf.
15940         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15941         __floorf instead of floorf.
15942         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15943         __floorf, __truncf instead of floorf, truncf.
15945 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
15947         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15949         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15950         __extern_always_inline.
15951         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15952         32-bit.
15954 2011-09-14  Andreas Schwab  <schwab@redhat.com>
15956         * elf/rtld.c (dl_main): Also relocate in dependency order when
15957         doing symbol dependency testing.
15959 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
15961         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15962         Always define `refsym'.
15964 2011-09-13  Andreas Schwab  <schwab@redhat.com>
15966         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15967         (__FD_ELT): Renamed from __FDELT.
15968         * misc/bits/select2.h (__FD_ELT): Likewise.
15969         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15970         __FD_MASK instead of __FDELT, __FDMASK.
15971         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15972         Likewise.
15973         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15974         Likewise.
15976         * elf/Makefile (gen-ldd): Fix pattern.
15978         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15979         (init_tls): Likewise.
15981 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
15983         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15985 2011-09-12  Andreas Schwab  <schwab@redhat.com>
15987         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15988         `struct cmsghdr *' instead of `void *'.
15989         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15990         Likewise.
15992 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
15994         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15995         if non-absolute.
15996         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15997         ldd_rewrite_script.
15999 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
16001         * configure.in: Remove --with-tls option.
16002         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16003         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16004         out in case it is missing.
16005         * sysdeps/ia64/elf/configure.in: Likewise.
16006         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16007         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16008         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16009         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16010         * sysdeps/sh/elf/configure.in: Likewise.
16011         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16012         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16013         * sysdeps/x86_64/elf/configure.in: Likewise.
16014         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16015         * sysdeps/mach/hurd/tls.h: Likewise.
16017         [BZ #13067]
16018         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16020         [BZ #13090]
16021         * configure.in: Fix use of AC_INIT.
16023         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16025 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
16027         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16028         __set_errno.
16029         * malloc/hooks.c: Likewise.
16031         [BZ #11929]
16032         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
16033         variables statically.
16034         (narenas): Initialize.
16035         (list_lock): Initialize.
16036         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
16037         initializtion of main_arena and list_lock.  Small cleanups.
16038         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16039         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
16040         Add initializers to main_arena and mp_.
16041         (malloc_state): Remove pagesize member.  Change all users to use
16042         GLRO(dl_pagesize).
16044         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16045         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
16046         is always initialized.
16048         * malloc/malloc.c: Removed unused configurations and dead code.
16049         * malloc/arena.c: Likewise.
16050         * malloc/hooks.c: Likewise.
16051         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16053         * include/tls.h: Removed.  USE___THREAD must always be defined.
16054         * bits/libc-tsd.h: Don't handle !USE___THREAD.
16055         * elf/dl-libc.c: Likewise.
16056         * elf/dl-tsd.c: Likewise.
16057         * include/errno.h: Likewise.
16058         * include/netdb.h: Likewise.
16059         * include/resolv.h: Likewise.
16060         * inet/herrno-loc.c: Likewise.
16061         * inet/herrno.c: Likewise.
16062         * malloc/arena.c: Likewise.
16063         * malloc/hooks.c: Likewise.
16064         * malloc/malloc.c: Likewise.
16065         * resolv/res-state.c: Likewise.
16066         * resolv/res_libc.c: Likewise.
16067         * sysdeps/i386/dl-machine.h: Likewise.
16068         * sysdeps/ia64/dl-machine.h: Likewise.
16069         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16070         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16071         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16072         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16073         * sysdeps/sh/dl-machine.h: Likewise.
16074         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16075         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16076         * sysdeps/unix/i386/sysdep.S: Likewise.
16077         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16078         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16079         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16080         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16081         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16082         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16083         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16084         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16085         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16086         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16087         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16088         * sysdeps/x86_64/dl-machine.h: Likewise.
16089         * tls.make.c: Likewise.
16091         * configure.in: Remove --with-__thread option.  Make tests for
16092         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16093         tls_model attribute fail if no support is available.  Remove
16094         USE_IN_LIBIO.
16095         * Makeconfig: Adjust for dropped configure option.  All features are
16096         now mandatory.
16097         * Makerules: Likewise.
16098         * Versions.def: Likewise.
16099         * argp/argp-fmtstream.c: Likewise.
16100         * argp/argp-fmtstream.h: Likewise.
16101         * argp/argp-help.c: Likewise.
16102         * assert/assert.c: Likewise.
16103         * config.h.in: Likewise.
16104         * config.make.in: Likewise.
16105         * configure: Likewise.
16106         * configure.in: Likewise.
16107         * csu/Versions: Likewise.
16108         * csu/init.c: Likewise.
16109         * elf/tst-audit2.c: Likewise.
16110         * elf/tst-tls10.c: Likewise.
16111         * elf/tst-tls10.h: Likewise.
16112         * elf/tst-tls11.c: Likewise.
16113         * elf/tst-tls12.c: Likewise.
16114         * elf/tst-tls14.c: Likewise.
16115         * elf/tst-tlsmod11.c: Likewise.
16116         * elf/tst-tlsmod12.c: Likewise.
16117         * elf/tst-tlsmod13.c: Likewise.
16118         * elf/tst-tlsmod13a.c: Likewise.
16119         * elf/tst-tlsmod14a.c: Likewise.
16120         * elf/tst-tlsmod15b.c: Likewise.
16121         * elf/tst-tlsmod16a.c: Likewise.
16122         * elf/tst-tlsmod16b.c: Likewise.
16123         * elf/tst-tlsmod7.c: Likewise.
16124         * elf/tst-tlsmod8.c: Likewise.
16125         * elf/tst-tlsmod9.c: Likewise.
16126         * gmon/gmon.c: Likewise.
16127         * grp/fgetgrent_r.c: Likewise.
16128         * grp/putgrent.c: Likewise.
16129         * hurd/fopenport.c: Likewise.
16130         * include/libc-symbols.h: Likewise.
16131         * include/tls.h: Likewise.
16132         * intl/gettextP.h: Likewise.
16133         * intl/loadinfo.h: Likewise.
16134         * locale/global-locale.c: Likewise.
16135         * locale/localeinfo.h: Likewise.
16136         * mach/devstream.c: Likewise.
16137         * malloc/arena.c: Likewise.
16138         * malloc/set-freeres.c: Likewise.
16139         * misc/err.c: Likewise.
16140         * misc/getttyent.c: Likewise.
16141         * misc/mntent_r.c: Likewise.
16142         * posix/getopt.c: Likewise.
16143         * posix/wordexp.c: Likewise.
16144         * pwd/fgetpwent_r.c: Likewise.
16145         * resolv/Versions: Likewise.
16146         * resolv/res_hconf.c: Likewise.
16147         * shadow/fgetspent_r.c: Likewise.
16148         * shadow/putspent.c: Likewise.
16149         * stdio-common/printf_fphex.c: Likewise.
16150         * stdio-common/tmpfile.c: Likewise.
16151         * stdlib/abort.c: Likewise.
16152         * stdlib/fmtmsg.c: Likewise.
16153         * sunrpc/auth_unix.c: Likewise.
16154         * sunrpc/clnt_perr.c: Likewise.
16155         * sunrpc/clnt_tcp.c: Likewise.
16156         * sunrpc/clnt_udp.c: Likewise.
16157         * sunrpc/clnt_unix.c: Likewise.
16158         * sunrpc/openchild.c: Likewise.
16159         * sunrpc/svc_simple.c: Likewise.
16160         * sunrpc/svc_tcp.c: Likewise.
16161         * sunrpc/svc_udp.c: Likewise.
16162         * sunrpc/svc_unix.c: Likewise.
16163         * sunrpc/xdr.c: Likewise.
16164         * sunrpc/xdr_array.c: Likewise.
16165         * sunrpc/xdr_rec.c: Likewise.
16166         * sunrpc/xdr_ref.c: Likewise.
16167         * sunrpc/xdr_stdio.c: Likewise.
16169 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
16171         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16173 2011-07-03  Andreas Jaeger  <aj@suse.de>
16175         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16176         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16177         regenerate with gen-libm-tests.pl.
16179 2010-05-12  Petr Baudis  <pasky@suse.cz>
16181         [BZ #11589]
16182         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16183         around j0() zero points by switching to j1().
16184         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16185         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16186         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16187         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16189 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
16191         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16192         instead of 0.
16193         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16194         instead of 0.                              .
16195         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16196         Patch in part by Pavel Roskin <proski@gnu.org>.
16198         [BZ #13138]
16199         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16200         realloc.
16201         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
16202         Free memory block if necessary.
16204         [BZ #12847]
16205         * libio/genops.c (INTDEF): For string streams the _lock pointer can
16206         be NULL.  Don't lock in this case.
16208 2011-09-09  Roland McGrath  <roland@hack.frob.com>
16210         * elf/elf.h (ELFOSABI_GNU): New macro.
16211         (ELFOSABI_LINUX): Define to that.
16213 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
16215         * string/strncat.c (strncat): Undef the symbol in case it has been
16216         defined in bits/string.h.
16218 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
16220         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16222         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16223         link map.
16225 2011-08-17  Andreas Jaeger  <aj@suse.de>
16227         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16229 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16230             Ian Lance Taylor  <iant@google.com>
16232         * math/libm-test.inc (lround_test): New testcase.
16233         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16235 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
16237         * Makefile: Remove support for automatic cvs check-ins.
16238         * Makerules: Likewise.
16239         * config.make.in: Likewise.
16240         * configure.in: Likewise.
16241         * intl/Makefile: Likewise.
16242         * locale/Makefile: Likewise.
16243         * po/Makefile: Likewise.
16244         * posix/Makefile: Likewise.
16245         * sysdeps/gnu/Makefile: Likewise.
16246         * sysdeps/mach/hurd/Makefile: Likewise.
16247         * sysdeps/sparc/sparc32/Makefile: Likewise.
16249         [BZ #13118]
16250         * posix/Makefile (bug-regex32-ENV): Define.
16251         Patch by John Stanley <jpsinthemix@verizon.net>.
16253         * misc/Makefile (headers): Add bits/select2.h.
16254         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16255         * misc/bits/select2.h: New file.
16256         * include/bits/select2.h: New file.
16257         * debug/Makefile (routines): Add fdelt_chk.
16258         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16259         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16260         FD_ISSET.
16261         * debug/fdelt_chk.c: New file.
16263         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
16264         * wcsmbs/test-wmemcmp.c: Likewise.
16265         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16266         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16268 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16270         * string/Makefile (strop-tests): Add memcmp.
16271         * string/test-wmemcmp.c: New file.
16272         * string/test-memcmp.c: Add wmemcmp support.
16274 2011-09-08  Roland McGrath  <roland@hack.frob.com>
16276         [BZ #13153]
16277         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16278         2011-07-19 change.
16280         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16281         garbage value in a __mach_port_mod_refs call in the cases of the
16282         task-self and thread-self ports.
16284 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16286         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16288 2011-09-08  Andreas Schwab  <schwab@redhat.com>
16290         * elf/dl-load.c (lose): Check for non-null L.
16292 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
16294         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16296         * elf/dl-libc.c (dlerror_run): Pass back error code from
16297         dl_catch_error.
16299         [BZ #13123]
16300         * elf/dl-load.c (lose): Free l_origin if it is valid.
16302         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16303         names.
16304         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16305         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16306         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16307         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16308         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16309         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16311 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16313         * sysdeps/powerpc/fpu/e_hypot.c: New file.
16314         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16315         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16316         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16317         * sysdeps/powerpc/fpu/k_cosf.c: New file.
16318         * sysdeps/powerpc/fpu/k_sinf.c: New file.
16319         * sysdeps/powerpc/fpu/s_cosf.c: New file.
16320         * sysdeps/powerpc/fpu/s_sinf.c: New file.
16321         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16322         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16324 2011-08-15  Alan Modra  <amodra@gmail.com>
16326         [BZ #13092]
16327         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16328         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16329         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
16330         ppc_mcount to static-only-routines.
16331         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16332         __mcount_internal.
16333         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16334         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
16336 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
16338         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16339         for finite and infinity parameters.
16341 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
16343         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16344         and add nop instructions for throughput optimization.
16345         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16347 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
16349         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16350         aligned copy for power7 with vector-scalar instructions.
16351         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16353 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
16355         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16356         AVX check.
16358 2011-09-07  Andreas Schwab  <schwab@redhat.com>
16360         [BZ #13144]
16361         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16362         last change.
16364 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
16366         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16367         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16368         syscall wrapper around clock_gettime in __vdso_clock_gettime.
16369         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16370         clock_gettime.
16372 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
16374         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16375         Forgot to demangle the pointer.
16377         * sysdeps/i386/sysdep.h: Define atom_text_section.
16378         * sysdeps/x86_64/sysdep.h: Likewise.
16379         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16380         section with atom_text_section.
16381         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16382         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16383         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16384         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16385         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16387         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16388         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16389         already be defined.  Change to take two parameters and don't assign
16390         result to variable.  Adjust all users.
16391         Define INTERNAL_GETTIME if not already defined.
16392         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16393         call.
16394         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16395         HAVE_CLOCK_GETTIME_VSYSCALL.
16396         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16398         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16399         gettimeofday vsyscall, just use time.
16401 2011-09-06  Andreas Schwab  <schwab@redhat.com>
16403         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16404         <errno.h>.
16406 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
16408         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16409         syscall on x86-64.
16410         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16411         syscall.
16412         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16413         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16414         syscall if possible.
16416 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
16418         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16419         e_ident.  Don't pass to find_mapsXX.
16420         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16422 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16424         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16425         strchr-sse2-no-bsf strrchr-sse2-no-bsf
16426         * sysdeps/x86_64/multiarch/strchr.S: Update.
16427         Check bit_slow_BSF bit.
16428         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16429         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16430         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16432 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
16434         [BZ #13134]
16435         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16436         before glibc 2.15.
16437         (tryshell): Define.
16438         (__spawni): Change last parameter to be flag.  Test
16439         SPAWN_XFLAGS_USE_PATH flag to use path or not.
16440         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16441         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16442         * posix/spawni.c: Likewise.
16443         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16444         * posix/spawnp.c: Likewise.  Change normal version to use
16445         SPAWN_XFLAGS_USE_PATH.
16446         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16447         SPAWN_XFLAGS_TRY_SHELL.
16449         [BZ #13150]
16450         * posix/glob.h: Remove gcc 1.x support.
16452         [BZ #13068]
16453         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16455 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16457         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16458         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16459         strrchr-sse2-bsf
16460         * sysdeps/i386/i686/multiarch/strchr.S: New file.
16461         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16462         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16463         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16464         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16465         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16467 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16469         * sysdeps/x86_64/wcscmp.S: New file.
16471         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16472         wcscmp-c wcscmp-sse2
16473         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16474         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16475         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16476         * wcsmbs/wcscmp.c: Allow renaming.
16478 2011-09-05  David S. Miller  <davem@davemloft.net>
16480         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16481         stack slot, rather than the struct return pointer slot.
16482         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16483         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16485         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16487 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
16489         * po/ja.po: Update from translation team.
16491         [BZ #13144]
16492         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16493         kernel in 64-bit binaries.
16495 2011-09-01  David S. Miller  <davem@davemloft.net>
16497         * elf/elf.h (HWCAP_SPARC_*): Move to..
16498         * sysdeps/sparc/sysdep.h: this new file and add new values.
16499         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16500         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16501         _DL_HWCAP_COUNT to 24.
16502         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16503         entries.
16504         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16505         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16506         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16507         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16508         instead of magic constants.
16509         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16511 2011-08-31  David S. Miller  <davem@davemloft.net>
16513         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16514         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16515         Reimplement to do errno handling inline.
16516         (SYSCALL_ERROR_HANDLER): New macro.
16517         (__SYSCALL_STRING): Do not do errno handling in asm.
16518         (__CLONE_SYSCALL_STRING): Delete.
16519         (__INTERNAL_SYSCALL_STRING): Delete.
16520         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16521         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16522         (PSEUDO): Reimplement to do errno handling inline.
16523         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16524         (SYSCALL_ERROR_HANDLER): New macro.
16525         (__SYSCALL_STRING): Do not do errno handling in asm.
16526         (__CLONE_SYSCALL_STRING): Delete.
16527         (__INTERNAL_SYSCALL_STRING): Delete.
16528         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16529         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16530         i386.
16531         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16532         (inline_syscall*): Add 'err' argument.
16533         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16534         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16535         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16536         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16538         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16539         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16541 2011-08-30  Andreas Schwab  <schwab@redhat.com>
16543         * elf/rtld.c (dl_main): Relocate objects in dependency order.
16545 2011-08-29  Jiri Olsa <jolsa@redhat.com>
16547         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16548         directive.
16550 2011-08-24  David S. Miller  <davem@davemloft.net>
16552         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16554 2011-08-24  Andreas Schwab  <schwab@redhat.com>
16556         * elf/Makefile: Add rules to build and run unload8 test.
16557         * elf/unload8.c: New file.
16558         * elf/unload8mod1.c: New file.
16559         * elf/unload8mod1x.c: New file.
16560         * elf/unload8mod2.c: New file.
16561         * elf/unload8mod3.c: New file.
16563         * elf/dl-close.c (_dl_close_worker): Reset private search list if
16564         it wasn't used.
16566 2011-08-23  David S. Miller  <davem@davemloft.net>
16568         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16569         subtract stack bias.
16570         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16571         %sp not %fp in calculations.
16572         (_JMPBUF_UNWINDS_ADJ): Likewise.
16574         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16575         (aio_suspend): Call it to force an exception region around the
16576         AIO_MISC_WAIT() invocation.
16578 2011-08-23  Andreas Schwab  <schwab@redhat.com>
16580         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16581         backslash.
16583 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
16585         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16586         protection macro.
16587         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16588         and <dl-machine.h>.
16589         (Elf64_FuncDesc): Remove.
16591 2011-08-22  David S. Miller  <davem@davemloft.net>
16593         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16594         sigaltstack check, add missing cfi directives.
16595         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16596         missing cfi directives, and sigaltstack handling.
16598 2011-08-16  Andreas Schwab  <schwab@redhat.com>
16600         [BZ #11724]
16601         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16602         object is seen twice.
16603         * elf/dl-fini.c (_dl_sort_fini): Likewise.
16605         * elf/Makefile (distribute): Add tst-initorder2.c.
16606         (tests): Add tst-initorder2.
16607         (modules-names): Add tst-initorder2a tst-initorder2b
16608         tst-initorder2c tst-initorder2d.  Add rules to build them.
16609         ($(objpfx)tst-initorder2.out): New rule.
16610         * elf/tst-initorder2.c: New file.
16611         * elf/tst-initorder2.exp: New file.
16613 2011-08-22  Andreas Schwab  <schwab@redhat.com>
16615         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16617         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16618         dependencies back to end of function.
16620         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16621         $(elfobjdir)/ld.so.
16623 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
16625         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16626         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16627         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16628         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16629         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16630         of __vdso_gettimeofday.
16631         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16632         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
16633         attribute_hidden.
16634         (_libc_vdso_platform_setup): Remove initialization of
16635         __vdso_gettimeofday and __vdso_time.
16637 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
16639         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16640         and fgetc_unlocked.
16641         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16642         getc_unlocked.
16644         * elf/dl-open.c (add_to_global): Report additions to the global scope
16645         for LD_DEBUG=scopes.
16646         (dl_open_worker): Also print scope of newly loaded dependencies.
16647         (_dl_show_scope): Indicate if there is no scope.
16649         [BZ #13114]
16650         * stdio-common/Makefile (tests): Add bug24.
16651         * stdio-common/bug24.c: New file.
16653 2011-08-19  Andreas Jaeger  <aj@suse.de>
16655         [BZ #13114]
16656         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16657         non-existant file when using close-on-exec mode.
16659 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
16661         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16662         the very first instruction.
16664         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16665         the CFI state in the end.
16666         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16667         inclusion of dl-trampoline.h.
16668         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16670 2011-08-19  Andreas Schwab  <schwab@redhat.com>
16672         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16673         expectations for long double.
16675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16676         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16678 2011-08-14  David S. Miller  <davem@davemloft.net>
16680         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16681         artificual limit depends upon the system page size.
16683 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
16685         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16686         * resolv/Makefile: Define CFLAGS-libresolv.
16688 2011-08-17  Andreas Schwab  <schwab@redhat.com>
16690         * nss/makedb.c (compute_tables): Make variables used in nested
16691         function static.
16693 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
16695         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16696         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16697         if buffer was too small.
16699         * elf/pldd.c (main): Attach to all threads in the process.
16700         Rewrite /proc handling to use *at functions.
16702 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
16704         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16705         specifies first scope to show.
16706         (dl_open_worker): Update callers.  Move printing scope of new
16707         object to before the relocation.
16708         * elf/rtld.c (dl_main): Update _dl_show_scope call.
16709         * sysdeps/generic/ldsodefs.h: Update declaration.
16711         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16712         string for the scope number.
16714 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
16716         * nscd/servicescache.c (cache_addserv): Make sure written is always
16717         initialized.
16719 2011-08-14  Roland McGrath  <roland@hack.frob.com>
16721         * sysdeps/i386/i486/bits/atomic.h
16722         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16723         statement expression, so as to suppress "set but not used" warning.
16724         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16726         * string/strncat.c (STRNCAT): Use prototype definition.
16728         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16729         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16730         -Iprograms here.
16731         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16732         (localedef-modules): Add localedef.
16733         (locale-modules): Add locale.
16735         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16736         * elf/rtld.c (dl_main): Invert order of assignment in last change,
16737         to avoid a warning.
16739 2011-08-14  David S. Miller  <davem@davemloft.net>
16741         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16742         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16744 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
16746         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
16747         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16748         * elf/rtld.c (dl_main): Set l_name of vDSO.
16749         Call _dl_show_scope when DL_DEBUG_SCOPES.
16750         (process_dl_debug): Recognize scopes flag and also set it for all.
16751         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16752         Declare _dl_show_scope.
16754         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16755         (do_dlopen): Pass caller_dlopen to dl_open.
16756         (__libc_dlopen_mode): Initialize caller_dlopen.
16758         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16759         of libc.  Make tolower call locale-independent.  Optimize a bit by
16760         using isdigit instead of isalnum.
16761         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16763 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
16765         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16766         was a dependency or dynamically loaded.
16768 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
16770         * intl/l10nflist.c: Allow architecture-specific pop function.
16771         * sysdeps/x86_64/l10nflist.c: New file.
16773         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16774         classification.
16776 2011-08-10  Andreas Schwab  <schwab@redhat.com>
16778         * include/dirent.h: Add libc_hidden_proto for scandirat and
16779         scandirat64.  Don't declare __scandirat64.
16780         * dirent/scandirat.c: Add libc_hidden_def.
16781         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16782         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16784 2011-08-10  David S. Miller  <davem@davemloft.net>
16786         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16787         enum.
16788         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16789         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16790         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16792 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
16794         * Versions.def [libc]: Add GLIBC_2.15.
16795         * dirent/Makefile (routines): Add scandirat and scandirat64.
16796         * dirent/Versions [libc]: Export scandirat and scandirat64 for
16797         GLIBC_2.15.
16798         * dirent/dirent.h: Declare scandirat and scandirat64.
16799         * dirent/scandirat.c: New file.
16800         * dirent/scandirat64.c: New file.
16801         * sysdeps/wordsize-64/scandirat.c: New file.
16802         * sysdeps/wordsize-64/scandirat64.c: New file.
16803         * dirent/opendir.c: Define opendirat.
16804         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
16805         using scandirat.
16806         * dirent/scandir64.c: Adjust for scandir.c change.
16807         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
16808         __scandirat64, and __scandir_cancel_handler.
16809         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
16810         additional parameter and use openat instead of open (outside of ld.so).
16811         Add new __opendir as wrapper around __opendirat.
16812         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16813         here without requiring old scandirat implementation.
16815 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
16817         * dirent/scandir.c (cancel_handler): Renamed to
16818         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
16819         defined.  Adjust users.
16820         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16821         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16823 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
16825         * string/test-string.h (IMPL): Use __STRING to expand name and then
16826         stringify it.
16828         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
16829         of cleanups.
16831 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16833         * string/Makefile: Update.
16834         (strop-tests): Append strncat.
16835         * string/test-wcscmp.c: New file.
16836         New comprehensive test for wcscmp.
16837         * string/test-strcmp.c: Update.
16838         (WIDE): New define.
16840 2011-07-22  Andreas Schwab  <schwab@redhat.com>
16842         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16843         line.
16845 2011-07-26  Andreas Schwab  <schwab@redhat.com>
16847         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16848         encoding to ACE if AI_IDN.
16850 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
16852         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16853         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16855 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16857         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16858         Fix overflow bug in strncat.
16859         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16861         * string/test-strncat.c: Update.
16862         Add new tests for checking overflow bugs.
16864 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16866         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16867         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16868         * sysdeps/i386/i686/multiarch/strcat.S: New file.
16869         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16870         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16871         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16872         * sysdeps/i386/i686/multiarch/strncat.S: New file.
16873         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16874         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16876         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16877         (USE_AS_STRCAT): Define.
16878         Add strcat and strncat support.
16879         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16881 2011-07-25  Andreas Schwab  <schwab@redhat.com>
16883         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16884         __n bigger than INT_MAX+1.
16885         (__strncmp_g): Likewise.
16887 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
16889         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16890         * libio/stido.h: Likewise.
16892         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16893         (AF_NFC): Define.
16894         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16895         (AF_NFC): Define.
16897         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16898         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16899         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16900         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16901         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16903         [BZ #13021]
16904         * scripts/test-installation.pl: Don't expect libnss_test1 to be
16905         installed.
16907         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16908         typo.
16909         (_dl_x86_64_save_sse): Likewise.
16911 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
16913         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16914         OSXSAVE.
16915         (_dl_x86_64_save_sse): Likewise.
16917         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16919         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16921 2011-07-21  Andreas Schwab  <schwab@redhat.com>
16923         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16924         change.
16925         (_dl_x86_64_save_sse): Use correct AVX check.
16927 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16929         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16930         bug in strncpy/strncat.
16931         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16933 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
16935         * string/tester.c (test_strcat): Add tests for different alignments
16936         of source and destination.
16937         (test_strncat): Likewise.
16939 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
16941         [BZ #12852]
16942         * posix/glob.c (glob): Check passed in values before using them in
16943         expressions to avoid some overflows.
16944         (glob_in_dir): Likewise.
16946         [BZ #13007]
16947         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16948         check for AVX enablement so that we don't crash with old kernels and
16949         new hardware.
16950         * elf/tst-audit4.c: Add same checks here.
16951         * elf/tst-audit6.c: Likewise.
16953         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
16955 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
16957         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16959 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
16961         * po/cs.po: Update from translation team.
16962         * po/bg.po: Likewise.
16964 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
16966         * misc/sys/cdefs.h: Add support for const attribute.
16967         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16968         to gnu_dev_{major,minor,makedev} functions.
16970 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
16972         * intl/dcigettext.c (get_output_charset): Add missing bracket.
16974 2011-07-20  Andreas Schwab  <schwab@redhat.com>
16976         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16977         strlen results.
16979 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16981         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16982         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16983         register in order to avoid conflicts with the soft frame pointer
16984         being held in r11 when necessary.
16985         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16986         (INTERNAL_VSYSCALL_NCS): Likewise.
16988 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
16990         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16991         * elf/dl-fini.c (_dl_fini): Adjust caller.
16992         * elf/dl-close.c (_dl_close_worker): Likewise.
16993         * sysdeps/generic/ldsodefs.h: Adjust declaration.
16995 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
16997         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16998         "aux_cache->nlibs < 0".
17000         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17001         in the reload-count case.
17003 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17005         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17006         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17007         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17008         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17009         * sysdeps/x86_64/multiarch/strcat.S: New file.
17010         * sysdeps/x86_64/multiarch/strncat.S: New file.
17011         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17012         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17013         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17014         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17015         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17016         (USE_AS_STRCAT): Define.
17017         Add strcat and strncat support.
17018         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17019         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17020         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17021         * string/strncat.c: Update.
17022         (USE_AS_STRNCAT): Define.
17023         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17024         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17025         and i7.
17026         * sysdeps/x86_64/multiarch/init-arch.h
17027         (bit_Prefer_PMINUB_for_stringop): New.
17028         (index_Prefer_PMINUB_for_stringop): Likewise.
17029         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17030         bit_Prefer_PMINUB_for_stringop.
17032 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
17034         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17035         buffer64.
17036         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17037         of casting of buffer.
17038         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17039         buffer32 and buffer64.
17040         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17041         writes instead of casting of buffer.
17042         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17043         buffer32.
17044         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17045         casting of buffer.
17047 2011-07-19  Andreas Schwab  <schwab@redhat.com>
17049         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17051 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
17053         * nscd/nscd.c (termination_handler): Don't do anything for a database
17054         if it has not yet been initialized.
17056 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
17058         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17060 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
17062         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17064 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
17066         * po/nl.po: Update from translation team.
17067         * po/sv.po: Likewise.
17069 2011-07-16  Roland McGrath  <roland@hack.frob.com>
17071         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17072         now disallowed by GCC.
17074         * configure.in (use-default-link): Default to yes if a test -shared
17075         link meets our qualifications.
17076         * configure: Regenerated.
17078         * config.make.in (output-format): New variable.
17079         * configure.in: Check for ld --print-output-format support.
17080         * configure: Regenerated.
17081         * Makerules ($(common-objpfx)format.lds)
17082         [$(output-format) != unknown]: Just use $(output-format),
17083         instead of the linker-script munging.
17085 2011-07-14  Roland McGrath  <roland@hack.frob.com>
17087         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17088         of $(common-objpfx)shlib.lds.
17089         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17091         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17092         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17094         * configure.in (-z relro check): Adjust test code to add a large
17095         writable data section after it.
17096         * configure: Regenerated.
17098 2011-07-11  Roland McGrath  <roland@hack.frob.com>
17100         * configure.in (-z relro check): Fix test code to make the variable
17101         truly const.
17102         * configure: Regenerated.
17104 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
17106         * nscd/nscd.h (struct traced_file): Define.
17107         (struct database_dyn): Remove inotify_descr, reset_res, and filename
17108         elements.  Add traced_files.
17109         (inotify_fd): Declare.
17110         (register_traced_file): Declare.
17111         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17112         (inotify_fd): Export.
17113         (resolv_conf_descr): Remove.
17114         (nscd_init): Move inotify descriptor creation to main.
17115         Don't register files for notification here.
17116         (register_traced_file): New function.
17117         (invalidate_cache): Don't use reset_res to determine whether to call
17118         res_init, go through the list of registered files.
17119         (main_loop_poll): The inotify descriptors are now stored in the
17120         structures for the traced files.
17121         (main_loop_epoll): Likewise
17122         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
17123         to __nss_disable_nscd.
17124         * nscd/cache.c (prune_cache): There is no single inotify descriptor
17125         for a database anymore.  Check the records for all the registered
17126         files instead.
17127         * nss/Makefile (libnss_files-routines): Add files-init.
17128         (libnss_db-routines): Add db-init.
17129         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17130         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17131         * nss/nss_db/db-init.c: New file.
17132         * nss/nss_files/files-init.c: New file.
17133         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
17134         __nss_lookup_function.
17135         (__nss_lookup_function): Call nss_load_library.
17136         (nss_load_all_libraries): New function.
17137         (__nss_disable_nscd): Take parameter with callback function for files
17138         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
17139         used for the cached services.
17140         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17141         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17142         options for features to all the files in nscd.
17144         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17146 2011-07-10  Roland McGrath  <roland@hack.frob.com>
17148         * csu/elf-init.c (__libc_csu_init): Comment typo.
17150 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
17152         * po/pl.po: Update from translation team.
17153         * po/ja.po: Likewise.
17154         * po/ru.po: Likewise.
17155         * po/ko.po: Likewise.
17156         * po/fr.po: Likewise.
17158 2011-07-09  Roland McGrath  <roland@hack.frob.com>
17160         * configure.in (.ctors/.dtors header and trailer check):
17161         Use an empirical test on a built program.
17162         * configure: Regenerated.
17164         * configure.in (-z relro check): Use an empirical test on a built DSO.
17165         Detect, but do not require, on ia64.
17166         * configure: Regenerated.
17168         * configure.in (READELF): Find it with AC_CHECK_TOOL.
17169         Update tests that use readelf to use $READELF instead.
17170         * configure: Regenerated.
17172 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
17174         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17175         if the result is not used.
17177 2011-07-05  Andreas Jaeger  <aj@suse.de>
17179         [BZ#9696]
17180         * stdlib/tst-strtod.c: Add testcase.
17182 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
17184         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17185         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17186         The latter has a higher limit.  Take additional parameter to pass to
17187         the new function.
17188         (__pathconf): Pass file to __statfs_link_max.
17189         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17190         __statfs_link_max.
17191         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17192         __statfs_link_max.
17194         [BZ #12868]
17195         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17196         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17197         Handle Lustre.
17198         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17199         (__statfs_filesize_max): Likewise.
17200         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17202 2011-07-05  Andreas Jaeger  <aj@suse.de>
17204         * resolv/res_comp.c (dn_skipname): Remove unused variable.
17206 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
17208         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17209         `status' variable.
17210         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17211         Likewise.
17213 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
17215         * Makefile (strop-tests): Add strncat.
17216         * string/test-strncat.c: New file.
17218 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
17220         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17222 2011-06-21  Andreas Jaeger  <aj@suse.de>
17224         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17225         Copy rule from iconvdata/Makefile.
17227 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
17229         [BZ #12922]
17230         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17231         but no long options are defined, just return 'W'.
17233 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
17235         [BZ #9696]
17236         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17238 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
17240         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17241         netgroups to read.
17242         (innetgr): Likewise.
17244 2011-07-05  Roland McGrath  <roland@hack.frob.com>
17246         * config.make.in (install_root): Default to $(DESTDIR).
17248 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
17250         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17252 2011-07-02  Roland McGrath  <roland@hack.frob.com>
17254         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17256         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17257         containing directory rather than embedding absolute directory names.
17259         * scripts/check-local-headers.sh: Rewritten using awk.
17260         Match by word, not by line.  Print error messages for matches.
17261         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17263         * Makerules [shlib-lds-flags empty]:
17264         ($(common-objpfx)libc_pic.opts): New target.
17265         ($(common-objpfx)libc_pic.os.clean): New target.
17266         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17268         * config.make.in (OBJCOPY): New variable.
17269         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17270         * configure: Regenerated.
17272         * config.make.in (use-default-link): New variable.
17273         * configure.in (use_default_link): Grok --with-default-link to set it.
17274         * configure: Regenerated.
17275         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17276         (shlib-lds, shlib-lds-flags): Define to empty.
17278         * Makerules (shlib-lds): New variable.
17279         (shlib-lds-flags): New variable.
17280         (build-shlib, build-moduile, build-module-asneeded): Use it.
17281         ($(common-objpfx)libc.so): Use $(shlib-lds).
17282         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17283         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17285         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17286         DT_FLAGS/DT_FLAGS_1 with zero flags.
17288         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17289         linker script munging.
17291 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
17293         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17294         as 128-bit value.
17295         * crypt/sha512.c (sha512_process_block): Perform total addition using
17296         128-bit if possible.
17297         (__sha512_finish_ctx): Likewise.
17298         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17299         as 64-bit value.
17300         * crypt/sha256.c (SWAP64): Define.
17301         (sha256_process_block): Perform total addition using 64-bit if
17302         possible.
17303         (__sha256_finish_ctx): Likewise.
17305 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
17307         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
17308         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17309         * nscd/hstcache.c (cache_addhst): Likewise.
17310         * nscd/grpcache.c (cache_addgr): Likewise.
17311         * nscd/aicache.c (addhstaiX): Likewise
17312         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17314 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
17316         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17317         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17318         * nscd/hstcache.c (cache_addhst): Likewise.
17319         * nscd/grpcache.c (cache_addgr): Likewise.
17320         * nscd/aicache.c (addhstaiX): Likewise
17322 2011-07-01  Andreas Schwab  <schwab@redhat.com>
17324         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17325         domain only when needed.
17327 2011-06-30  Andreas Schwab  <schwab@redhat.com>
17329         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17330         is always restored.
17332 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
17334         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17335         are re-adding the entry.
17336         * nscd/servicescache.c (cache_addserv): Likewise.
17338 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17340         * sysdeps/generic/dl-irel.h: fix protection against multiple
17341         inclusions.
17342         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17344 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
17346         [BZ #12935]
17347         * malloc/memusage.sh: Fix quoting in message.
17348         * debug/xtrace.sh: Likewise.
17350         * configure.in: Remove support for --experimental-malloc option, make
17351         it the default.
17352         * config.make.in: Likewise.
17353         * malloc/Makefile: Likewise.
17355 2011-06-27  Andreas Schwab  <schwab@redhat.com>
17357         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17358         two-byte characters.
17360 2011-06-27  Roland McGrath  <roland@hack.frob.com>
17362         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17363         AC_CACHE_CHECK invocation.
17364         * configure: Regenerated.
17366         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17368 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
17370         [BZ #12350]
17371         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
17372         bit from old_res_options.
17374         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17376         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17377         value type for setfct.
17379 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
17381         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17382         __gettimeofday instead of gettimeofday.
17384 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
17386         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17388 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17390         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17392         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17393         info.
17395 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
17397         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17398         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17399         strcpy-sse2-unaligned strncpy-sse2-unaligned
17400         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17401         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17402         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17403         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17404         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17405         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17406         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17407         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17408         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17409         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17410         (STRCPY): Support SSE2 and SSSE3 versions.
17412 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
17414         [BZ #12874]
17415         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17416         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17417         kernels which artificially limit size of requests.
17419 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
17421         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17422         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17423         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17424         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17425         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17426         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17427         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17428         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17429         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17430         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17431         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17432         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17433         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17434         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17435         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17436         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17437         Enable unaligned load optimization for Intel Core i3, i5 and i7
17438         processors.
17439         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17440         Define.
17441         (index_Fast_Unaligned_Load): Define.
17442         (HAS_FAST_UNALIGNED_LOAD): Define.
17444 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
17446         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17448 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
17450         [BZ #12907]
17451         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17452         until it is clear that the information is realy needed.
17453         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17455 2011-06-22  Andreas Schwab  <schwab@redhat.com>
17457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17459 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
17461         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17462         /sys/devices/system/cpu/online if it is usable.
17464         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17465         reading the information from the /proc filesystem to once a second.
17467 2011-06-21  Andreas Jaeger  <aj@suse.de>
17469         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17470         NULL after inclusion of kernel headers.
17472 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
17474         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17475         calls to internal_setent.
17477         [BZ #12885]
17478         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17479         addresses using gethostbyname4_r ignore IPv4 addresses.
17481         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17482         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
17484         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17486 2011-06-20  David S. Miller  <davem@davemloft.net>
17488         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17489         inclusions.
17490         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17492         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17493         (elf_irel): Use it.
17494         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17495         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17496         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17497         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17498         * sysdeps/x86_64/dl-irel.h: Likewise.
17500         * elf/dl-runtime.c: Use elf_ifunc_invoke.
17501         * elf/dl-sym.c: Likewise.
17503 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
17505         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
17506         need to dereference resplen2.
17508 2011-06-14  Andreas Schwab  <schwab@redhat.com>
17510         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17512 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
17514         * Makeconfig: Define vardbdir and inst_vardbdir.
17515         * nss/Makefile: Add rules to install db-Makefile.
17517         * nss/nss_db/db-XXX.c: Cleanup.
17519         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17520         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17521         GLIBC_PRIVATE.
17522         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17523         * nss/makedb.c: Implement -g option to specify that value strings
17524         are generated and should not be added to table iterated over for
17525         get*ent calls.
17526         * nss/nss_db/db-initgroups.c: New file.
17528         * nss/getent.c: Add support for initgroups lookups through getgrouplist
17529         interface.
17531         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17532         (internal_getgrouplist): Adjust to name change.
17533         Update use_initgroups_entry if this is not the first call.
17534         * nss/databases.def: Add initgroups entry.
17536         * nss/makedb.c (compute_tables): Check result of multiple hash table
17537         sizes to minimize maximum chain length.
17539 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
17541         * Versions.def: Add entry for libnss_db.
17542         * shlib-versions: Likewise.
17543         * nss/Makefile: Add rules to build libnss_db.
17544         * nss/Versions: Add libnss_db information.  Organize libnss_files
17545         entries better.
17546         * nss/db-Makefile: Add gshadow support.  Change rules for the new
17547         makedb progra.  Some minor improvements to generate smaller files.
17548         * nss/nss_db/nss_db.h: Move NSS database header data structures to
17549         here from...
17550         * nss/makedb.c: ...here.
17551         Improve database format to be smaller and require less memory at
17552         runtime.
17553         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
17554         db anymore.
17555         * nss/nss_db/db-netgrp.c: Likewise.
17556         * nss/nss_db/db-open.c: Likewise.
17557         * nss/nss_files/flies-XXX.x: Adjust comments.
17558         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17559         * nss/nss_files/files-grp.c: Likewise.
17560         * nss/nss_files/files-hosts.c: Likewise.
17561         * nss/nss_files/files-network.c: Likewise.
17562         * nss/nss_files/files-proto.c: Likewise.
17563         * nss/nss_files/files-pwd.c: Likewise.
17564         * nss/nss_files/files-rpc.c: Likewise.
17565         * nss/nss_files/files-service.c: Likewise.
17566         * nss/nss_files/files-sgrp.c: Likewise.
17567         * nss/nss_files/files-spwd.c: Likewise.
17568         * nss/nss_db/db-alias.c: Removed.
17569         * nss/nss_db/dummy-db.h: Removed.
17571 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
17573         * nss/makedb.c: Rewritten to not use database library.
17574         * nss/Makefile: Update to build new makedb program.
17576 2011-06-14  Andreas Jaeger  <aj@suse.de>
17578         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17579         memset declaration.
17581 2011-06-10  Andreas Schwab  <schwab@redhat.com>
17583         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17584         tmpbuf.
17586 2011-06-10  Roland McGrath  <roland@hack.frob.com>
17588         * Makerules (shlib.lds): Fail if the linker script comes out empty.
17589         * elf/Makefile ($(objpfx)ld.so): Likewise.
17591         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17592         Don't list ld.so twice in dependencies.
17594         * posix/bug-regex31.c: Include <stdlib.h>.
17596         * nscd/hstcache.c (cache_addhst): Remove unused variable.
17598         * nis/nss_compat/compat-spwd.c
17599         (getspent_next_nss_netgr): Remove unused variable.
17600         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17602         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17603         nonmembers" output to use the right array.
17605         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17607         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17609         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17610         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17611         * catgets/gencat.c (read_input_file): Likewise.
17612         * locale/programs/locarchive.c (enlarge_archive): Likewise.
17614         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17615         variable definition inside #if's controlling its use.
17617         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17619         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17621         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17623         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17624         unreachable code.
17626         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17628         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17629         * configure: Regenerated.
17631         * Makerules: Revert last change.
17632         * elf/Makefile: Likewise.
17634 2011-06-09  Roland McGrath  <roland@hack.frob.com>
17636         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17637         * elf/Makefile ($(objpfx)librtld.os): Likewise.
17638         (reloc-link): Likewise.
17640 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
17642         * elf/Makefile: Add rules to build pldd.
17643         * elf/pldd.c: New file.
17644         * elf/pldd-xx.c: New file.
17646 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
17648         * version.h: Update for 2.15 development version.
17650 2011-06-07  David S. Miller  <davem@davemloft.net>
17652         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17653         ifuncs.
17654         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17655         elf_machine_lazy_rel): Likewise.
17656         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17657         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17658         elf_machine_lazy_rel): Likewise.
17659         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17660         dl_hwcap via passed in argument.
17661         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17662         Likewise.
17664 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17666         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
17668 2011-06-06  Roland McGrath  <roland@hack.frob.com>
17670         [BZ #12849]
17671         * manual/fdl-1.1.texi: New file, verbatim from:
17672         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17673         * manual/lgpl-2.1.texi: New file, verbatim from:
17674         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17675         * manual/Makefile (licenses): New variable, list those new file names.
17676         (texis): Use it.
17677         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17679         * manual/fdl.texi: File removed.
17680         * manual/lesser.texi: File removed.
17681         * manual/libc.texinfo (Copying, Documentation License):
17682         Use new @include file names, put @appendix directive before @include.
17684 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
17686         [BZ #12841]
17687         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17688         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17689         (mq_open): Add __NTH.
17691 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
17693         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17694         Assume Intel Core i3/i5/i7 processor if AVX is available.
17696 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
17698         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17699         typo.
17701 2011-05-31  Andreas Schwab  <schwab@redhat.com>
17703         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17704         memory.  Use alloca_account.  Fix memory leak when retrying.
17706 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
17708         * version.h (RELEASE): Bump for 2.14 release.
17709         * include/features.h (__GLIBC_MINOR__): Bump to 14.
17711         * config.make.in (RANLIB): Remove entry.
17713 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
17715         * po/Makefile (po-sed-cmd): Add ksh to extensions.
17716         (libc.pot): Work around missing support for .ksh extension in xgettext.
17718         [BZ #12684]
17719         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17720         if both request failed.
17721         (send_dg): In case of server errors clear resplen or *resplen2.
17723         [BZ #12454]
17724         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17725         when there are multiple maps.
17726         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17727         (_dl_fini): Remove test here.
17729         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17731 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
17733         [BZ #12350]
17734         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17735         bit from old_res_options.
17736         (gaih_inet): Likewise.
17738         [BZ #11099]
17739         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
17740         as signed.
17742         * resolv/res_init.c (res_setoptions): Make the code more compact.
17744         [BZ #11558]
17745         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17746         set RES_USEVC.
17748         [BZ #11634]
17749         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17751         * malloc/malloc.h: Mark malloc hook variables as deprecated.
17753         [BZ #11781]
17754         * malloc/malloc.h: Declare malloc hook variables as volatile.
17756         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17757         in last patch.
17759         [BZ #11799]
17760         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
17761         raise in the comment.
17762         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17763         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17764         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
17766 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
17768         [BZ #12811]
17769         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17770         grow the buffers more if it already has to be sufficient.
17771         (build_wcs_upper_buffer): Likewise.
17772         * posix/regexec.c (check_matching): Likewise.
17773         (clean_state_log_if_needed): Likewise.
17774         (extend_buffers): Don't enlarge buffers beyond size of the input
17775         buffer.
17776         Patches mostly by Emil Wojak <emil@wojak.eu>.
17777         * posix/bug-regex32.c: New file.
17778         * posix/Makefile (tests): Add bug-regex32.
17780         * locale/findlocale.c (_nl_find_locale): Return right away if
17781         _nl_explode_name failed.
17782         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17784         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17786         * debug/xtrace.sh: Unify messages.
17787         * malloc/memusage.sh: Likewise.
17789         [BZ #12813]
17790         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17791         time symbol from vDSO.  Substitute with vsyscall if not available.
17792         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17793         __vdso_time.
17795         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17796         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17797         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17798         Add sendmmsg and internal_sendmmsg.
17799         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17800         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17801         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17803         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17804         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17805         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17807 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
17809         [BZ #12813]
17810         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17811         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
17812         available.
17813         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17814         __vdso_getcpu.
17816         [BZ #12814]
17817         * iconvdata/Makefile (tests): Add bug-iconv9.
17818         * iconvdata/bug-iconv9.c: New file.
17820 2011-05-27  Andreas Schwab  <schwab@redhat.com>
17822         [BZ #12814]
17823         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17825 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
17827         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17828         (struct user_regs_struct): Change intcs field back to cs.
17830 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
17832         * po/ja.po: Update from translation team.
17834 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
17836         [BZ #12795]
17837         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17838         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17840 2011-05-20  Andreas Schwab  <schwab@redhat.com>
17842         * stdlib/longlong.h: Update from GCC.
17844 2011-05-23  Andreas Schwab  <schwab@redhat.com>
17846         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17847         parameter name.
17848         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17849         Add parameter name.
17850         (__sysconf): Pass it down.
17852 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
17854         [BZ #12671]
17855         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17856         some situations.
17857         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17858         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17859         add in in __libc_use_alloca calls.  Adjust callers.
17860         (glob): Use malloc in some situations.
17862         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17863         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17864         pltexit.
17866 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
17868         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17869         and CLOCK_BOOTTIME_ALARM.
17871         [BZ #12782]
17872         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17873         is returned.
17875         * string/_strerror.c (__strerror_r): Print negative errors as signed
17876         numbers.
17878         [BZ #12777]
17879         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17880         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17881         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17883         * configure.in: Fix typo in redirection and correct removal of test
17884         files in two cases.
17886         [BZ #12788]
17887         * locale/setlocale.c (new_composite_name): Fix test to check for
17888         identical name of all categories.
17890         [BZ #12792]
17891         * libio/filedoalloc.c (local_isatty): New function.
17892         (_IO_file_doallocate): Use local_isatty.
17893         * stdio-common/perror.c (perror): In case a new stream is used
17894         forward the stream error.
17895         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17896         error flag.
17898 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
17900         [BZ #11869]
17901         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17902         alloca.
17903         * include/alloca.h (extend_alloca_account): Define.
17905         [BZ #11857]
17906         * posix/regex.h: Fix comments with documentation of user-accessible
17907         fields after compilation and describe correct free'ing of pattern
17908         after re_compile_pattern.
17909         Patch by Reuben Thomas <rrt@sc3d.org>.
17911 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
17913         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17914         and -mno-altivec to prevent the compiler from using Altivec and/or
17915         VSX instructions when the corresponding registers are not available.
17917 2011-05-19  Andreas Schwab  <schwab@redhat.com>
17919         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17921 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
17923         * libio/freopen.c (freopen): Use __dup2, not dup2.
17924         * libio/freopen64.c (freopen64): Likewise.
17926 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17928         [BZ #12775]
17929         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17930         * math/Makefile (tests): Add test-powl.
17931         (CFLAGS-test-powl.c): Define.
17932         * math/test-powl.c: New file.
17934 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17936         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17938 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
17940         [BZ #11837]
17941         * iconvdata/gb18030.c: Update to GB18020-2005.
17943 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
17945         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17946         RE_SYNTAX_POSIX_AWK): Update to match recent development.
17947         Patch by Aharon Robbins <arnold@skeeve.com>.
17949         [BZ #11892]
17950         * stdlib/putenv.c (putenv): Don't always create copy of the variable
17951         on the stack.
17953         [BZ #11895]
17954         * misc/pselect.c (__pselect): Handle timeout value errors hidden
17955         through underflows.
17957         [BZ #12766]
17958         * misc/error.c (error_at_line): Ensure file_name and old_file_name
17959         point to strings before performing equality test for error_one_per_line
17960         mode.
17962         [BZ #11697]
17963         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17965         [BZ #11820]
17966         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17967         (struct user_fpregs_struct): Avoid __uint*_t types.
17969         [BZ #6420]
17970         * malloc/mtrace.c (tr_where): Add additional parameter to point to
17971         symbol info.  Use it instead of calling _dl_addr locally.
17972         (lock_and_info): New function.
17973         (tr_freehook): Call lock_and_info and pass symbol info as additional
17974         parameter to tr_where.
17975         (tr_mallochook): Likewise.
17976         (tr_reallochook): Likewise.
17977         (tr_memalignhook): Likewise.
17979         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
17980         used and couldn't be at all thread-safe.
17982 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
17984         * libio/freopen.c (freopen): Don't close old file descriptor
17985         before the new one is opened.  Instead dup the new file descriptor
17986         to the old one after the new stream is created.
17987         * libio/freopen64.c (freopen64): Likewise.
17988         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17989         * libio/fileops.c (_IO_new_file_close_it): Handle new
17990         _IO_FLAGS2_NOCLOSE flag.
17991         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17992         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17993         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17994         _IO_FLAGS2_NOCLOSE flag.
17995         * include/unistd.h: Add hidden_proto for dup3.
17996         Define __have_dup3.
17997         * io/dup3.c: Define hidden symbol.
17998         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18000         [BZ #7101]
18001         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18002         when an incomplete long option is used.
18003         * posix/tst-getopt_long1.c: New file.
18004         * posix/Makefile (tests): Add tst-getopt_long1.
18006         [BZ #10138]
18007         * scripts/config.guess: Update from autoconf-2.68.
18008         * scripts/config.sub: Likewise.
18010         [BZ #10157]
18011         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18012         tests into ...
18013         (has_cpuclock): ...this.  New function.
18014         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18015         macro here based on has_cpuclock code.
18017         [BZ #10149]
18018         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18019         First byte (not low byte) is now always NUL.
18020         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18022         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18023         Use non-cancelable interfaces.
18025         [BZ #9809]
18026         * locale/iso-639.def: Add entry for Sorani.
18028         [BZ #11901]
18029         * include/stdlib.h: Move include protection to the right place.
18030         Define abort_msg_s.  Declare __abort_msg with it.
18031         * stdlib/abort.c (__abort_msg): Adjust type.
18032         * assert/assert.c (__assert_fail_base): New function.  Majority
18033         of code from __assert_fail.  Allocate memory for __abort_msg with
18034         mmap.
18035         (__assert_fail): Now call __assert_fail_base.
18036         * assert/assert-perr.c: Remove bulk of implementation.  Use
18037         __assert_fail_base.
18038         * include/assert.hL Declare __assert_fail_base.
18039         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18040         mmap.
18041         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18043 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
18045         [BZ #11952]
18046         [BZ #12453]
18047         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18048         until all modules are registered in the DTV.
18049         * elf/Makefile: Add rules to build and run tst-tls19.
18050         * elf/tst-tls19.c: New file.
18051         * elf/tst-tls19mod1.c: New file.
18052         * elf/tst-tls19mod2.c: New file.
18053         * elf/tst-tls19mod3.c: New file.
18054         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18056         [BZ #12083]
18057         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18058         correctly.
18060         [BZ #12601]
18061         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18062         two-byte sequence errors.
18063         * iconvdata/Makefile (tests): Add bug-iconv8.
18064         * iconvdata/bug-iconv8.c: New file.
18066         [BZ #12626]
18067         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18068         buf2 definition.
18070         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18072         [BZ #12432]
18073         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18074         (dummy_getcfa): New function.
18075         (init): Get _Unwind_GetCFA address, use dummy if not found.
18076         (backtrace_helper): In recursion check, also check whether CFA changes.
18077         (__backtrace): Completely initialize arg.
18079         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18080         storing incomplete byte sequence in state object.  Avoid testing for
18081         guaranteed too small input if we know there is enough data available.
18083 2011-05-11  Andreas Schwab  <schwab@redhat.com>
18085         * Makeconfig (+link-pie): Indent.
18086         * Rules (binaries-pie): Define if $(have-fpie) and
18087         $(build-shared).
18088         (binaries-shared): Also filter out $(binaries-pie).
18089         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18090         * nscd/Makefile (others-pie): Add nscd.
18091         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18092         ($(objpfx)nscd): Remove command override.
18093         * login/Makefile (others-pie): Add pt_chown.
18094         ($(objpfx)pt_chown): Remove command override.
18095         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18096         remove command overrides.
18098 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
18100         * libio/tst_putwc.c: Fix error messages.
18102         [BZ #12724]
18103         * libio/fileops.c (_IO_new_file_close_it): Always flush when
18104         currently writing and seek to current position when not.
18105         * libio/Makefile (tests): Add bug-fclose1.
18106         * libio/bug-fclose1.c: New file.
18108 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
18110         [BZ #12511]
18111         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18112         don't set DF_1_NODELETE here.
18113         (do_lookup_x): When entering new entry test for copy relocation
18114         and if necessary set DF_1_NODELETE flag.
18115         * elf/tst-unique4.cc: New file.
18116         * elf/tst-unique4.h: New file.
18117         * elf/tst-unique4lib.cc: New file.
18118         * elf/Makefile: Add rules to build and run tst-unique4.
18119         Patch by Piotr Bury <pbury@goahead.com>.
18121 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
18123         [BZ #12052]
18124         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18126         [BZ #12625]
18127         * misc/mntent_r.c (addmntent): Flush the stream after the output
18129         [BZ #12393]
18130         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18131         (is_trusted_path_normalize): Skip initial colon.  Append slash
18132         to empty buffer.  Duplicate is_trusted_path code but allow
18133         constructed patch to be prefix.
18134         (is_dst): Allow $ORIGIN followed by /.
18135         (_dl_dst_substitute): Correct clearing of check_for_trusted.
18136         Correct testing of result of is_trusted_path_normalize
18137         (decompose_rpath): Fix warning.
18139 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
18141         [BZ #11257]
18142         * grp/initgroups.c (internal_getgrouplist): When we found the service
18143         list through the initgroups entry in nsswitch.conf do not always
18144         continue on a successful lookup.  Don't always use the
18145         __nss_group_database value if it is set.
18146         * nss/nsswitch.conf (initgroups): Change action for successful db
18147         lookup to continue for compatibility.
18149 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
18151         [BZ #11532]
18152         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18153         and CP774 modules.
18154         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18155         and CP774 modules.
18156         * iconvdata/tst-tables.sh: Likewise.
18157         * iconvdata/cp770.c: New file.
18158         * iconvdata/cp771.c: New file.
18159         * iconvdata/cp772.c: New file.
18160         * iconvdata/cp773.c: New file.
18161         * iconvdata/cp774.c: New file.
18162         * iconvdata/testdata/CP770: New file.
18163         * iconvdata/testdata/CP770..UTF8: New file.
18164         * iconvdata/testdata/CP771: New file.
18165         * iconvdata/testdata/CP771..UTF8: New file.
18166         * iconvdata/testdata/CP772: New file.
18167         * iconvdata/testdata/CP772..UTF8: New file.
18168         * iconvdata/testdata/CP773: New file.
18169         * iconvdata/testdata/CP773..UTF8: New file.
18170         * iconvdata/testdata/CP774: New file.
18171         * iconvdata/testdata/CP774..UTF8: New file.
18173         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18174         END CHARMAP line.
18175         * iconvdata/gen-8bit-gap.sh: Likewise.
18176         * iconvdata/gen-8bit.sh: Likewise.
18178         * locale/iso-639.def: Add ary entry.
18180         [BZ #11258]
18181         * locale/C-translit.h.in: Add U20A1 transliteration.
18183         [BZ #12178]
18184         * locale/iso-639.def: Add wae entry.
18185         Patch by Kevin Bortis <bortis@translate-wae.ch>.
18187         [BZ #12545]
18188         * locale/programs/localedef.c (construct_output_path): Use ssize_t
18189         for n.
18191         [BZ #12711]
18192         * locale/C-translit.h.in: Add entry for U20B9.
18193         Patch by pravin.d.s@gmail.com.
18195 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
18197         [BZ #12713]
18198         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18199         ENAMETOOLONG use generic getcwd.
18200         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
18201         in rtld.  Use *stat64.
18202         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18203         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18204         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18205         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18206         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18207         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18208         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18209         __fstatat64 macros.
18210         * include/dirent.h: Add libc_hidden_proto for rewinddir.
18211         * dirent/rewinddir.c: Add libc_hidden_def.
18212         * sysdeps/mach/hurd/rewinddir.c: Likewise.
18213         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
18215         * include/dirent.h (__alloc_dir): Add flags parameter.
18216         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18217         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18218         __alloc_dir.
18219         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
18220         from fdopendir if O_CLOEXEC is already set.
18222 2011-03-15  Alan Modra  <amodra@gmail.com>
18224         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18225         l_tls_firstbyte_offset non-zero.  Save padding offset in
18226         l_tls_firstbyte_offset for later use.
18227         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18228         freeing static tls block.
18230 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
18232         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18233         where #ifdef was intended.  The intent is to prevent ARG_MAX from
18234         being defined by the kernel headers.
18236 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
18238         [BZ #12734]
18239         * resolv/resolv.h: Define RES_NOTLDQUERY.
18240         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18241         no-tld-query and set RES_NOTLDQUERY.
18242         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18243         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18244         modern BIND to search name as TLD unless forbidden.
18246 2011-05-07  Petr Baudis  <pasky@suse.cz>
18247             Ulrich Drepper  <drepper@gmail.com>
18249         [BZ #12393]
18250         * elf/dl-load.c (fillin_rpath): Move trusted path check...
18251         (is_trusted_path): ...to here.
18252         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18253         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18254         using is_trusted_path_normalize() in setuid scripts.
18256 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18258         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18259         __BEGIN/__END_DECLS.
18261 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
18263         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18264         NSS_STATUS_NOTFOUND if no record was found.
18266 2011-05-05  Andreas Schwab  <schwab@redhat.com>
18268         * sunrpc/Makefile (headers): Add rpc/netdb.h.
18269         (headers-not-in-tirpc): Remove rpc/netdb.h
18270         * resolv/netdb.h: Revert last change.
18272 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18274         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18275         circular dependency between libgcc.a and libc.a.
18277 2011-05-05  Andreas Schwab  <schwab@redhat.com>
18279         * resolv/netdb.h: Don't include <rpc/netdb.h>.
18280         * nis/Makefile: Don't install rpcsvc/*.
18281         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18282         instead of <rpc/types.h>.
18283         (MAXHOSTNAMELEN): Define.
18285 2011-05-03  Andreas Schwab  <schwab@redhat.com>
18287         * elf/ldconfig.c (add_dir): Don't crash on empty path.
18289 2011-04-28  Maciej Babinski  <mbabinski@google.com>
18291         [BZ #12714]
18292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18293         gethostbyname4_r when IPv6 results are possible.
18295 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
18297         [BZ #12723]
18298         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18299         _PC_PIPE_BUF handling.
18301 2011-04-30  Bruno Haible  <bruno@clisp.org>
18303         [BZ #12717]
18304         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18305         * resolv/netdb.h (getnameinfo): Change type of flags parameter
18306         to 'int'.
18307         * inet/getnameinfo.c (getnameinfo): Likewise.
18309 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
18311         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18312         to groups setting in database lookup.
18313         * nss/nsswitch.conf: Add initgroups entry.
18315 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
18317         [BZ #12685]
18318         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18319         mode string.
18320         Patch by Eric Blake <eblake@redhat.com>.
18322 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
18324         * sunrpc/Makefile (need-export-routines): Add svc_run.
18325         (routines): Remove svc_run.
18326         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18327         * sunrpc/clnt_perr.c (clnt_perrno): Export.
18328         * sunrpc/svc_run.c (svc_run): Likewise.
18329         * sunrpc/svc_udp.c (svcudp_create): Likewise.
18331 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
18333         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18334         problem in reallocation in last patch.
18336 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
18338         * sunrpc/Makefile: Move inclusion of Rules.
18340 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
18342         * nss/nss_files/files-initgroups.c: New file.
18343         * nss/Makefile (libnss_files-routines): Add files-initgroups.
18344         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18345         _nss_files_initgroups_dyn.
18347 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
18349         * elf/elf.h (R_ARM_IRELATIVE): Define.
18351 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
18353         * po/ru.po: Update from translation team.
18355 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
18357         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18358         dependencies.
18360 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
18362         [BZ #12653]
18363         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18364         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18365         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18366         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18367         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18369 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
18371         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18372         differing bytes.
18373         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18374         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18375         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18377 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
18379         [BZ #12420]
18380         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18381         storing it.
18382         * stdlib/bug-getcontext.c: New file.
18383         * stdlib/Makefile: Add rules to build and run bug-getcontext.
18385 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18387         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18388         instructions into .machine "z9-109".
18389         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18390         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18392 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18394         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18395         between environment variables and auxiliary vector.
18397 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
18399         * Makefile: Add rules to build linkobj/libc.so.
18400         * include/libc-symbols.h: Define libc_hidden_nolink.
18401         * include/rpc/auth.h: Mark functions which are to be hidden.
18402         * include/rpc/auth_des.h: Likewise.
18403         * include/rpc/auth_unix.h: Likewise.
18404         * include/rpc/clnt.h: Likewise.
18405         * include/rpc/des_crypt.h: Likewise.
18406         * include/rpc/key_prot.h: Likewise.
18407         * include/rpc/pmap_clnt.h: Likewise.
18408         * include/rpc/pmap_prot.h: Likewise.
18409         * include/rpc/pmap_rmt.h: Likewise.
18410         * include/rpc/rpc_msg.h: Likewise.
18411         * include/rpc/svc.h: Likewise.
18412         * include/rpc/svc_auth.h: Likewise.
18413         * include/rpc/xdr.h: Likewise.
18414         * nis/Makefile: Link all DSOs against linkobj/libc.so.
18415         * nss/Makefile: Likewise.
18416         * sunrpc/Makefile: Don't install headers.  Build library with normal
18417         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
18418         * sunrpc/auth_des.c: Hide exported symbols by default, export some
18419         for the compat linking library.  Remove use of INTDEF/INTUSE.
18420         * sunrpc/auth_none.c: Likewise.
18421         * sunrpc/auth_unix.c: Likewise.
18422         * sunrpc/authdes_prot.c: Likewise.
18423         * sunrpc/authuxprot.c: Likewise.
18424         * sunrpc/clnt_gen.c: Likewise.
18425         * sunrpc/clnt_perr.c: Likewise.
18426         * sunrpc/clnt_raw.c: Likewise.
18427         * sunrpc/clnt_simp.c: Likewise.
18428         * sunrpc/clnt_tcp.c: Likewise.
18429         * sunrpc/clnt_udp.c: Likewise.
18430         * sunrpc/clnt_unix.c: Likewise.
18431         * sunrpc/des_crypt.c: Likewise.
18432         * sunrpc/des_soft.c: Likewise.
18433         * sunrpc/get_myaddr.c: Likewise.
18434         * sunrpc/key_call.c: Likewise.
18435         * sunrpc/key_prot.c: Likewise.
18436         * sunrpc/netname.c: Likewise.
18437         * sunrpc/pm_getmaps.c: Likewise.
18438         * sunrpc/pm_getport.c: Likewise.
18439         * sunrpc/pmap_clnt.c: Likewise.
18440         * sunrpc/pmap_prot.c: Likewise.
18441         * sunrpc/pmap_prot2.c: Likewise.
18442         * sunrpc/pmap_rmt.c: Likewise.
18443         * sunrpc/publickey.c: Likewise.
18444         * sunrpc/rpc_cmsg.c: Likewise.
18445         * sunrpc/rpc_common.c: Likewise.
18446         * sunrpc/rpc_dtable.c: Likewise.
18447         * sunrpc/rpc_prot.c: Likewise.
18448         * sunrpc/rpc_thread.c: Likewise.
18449         * sunrpc/rtime.c: Likewise.
18450         * sunrpc/svc.c: Likewise.
18451         * sunrpc/svc_auth.c: Likewise.
18452         * sunrpc/svc_authux.c: Likewise.
18453         * sunrpc/svc_raw.c: Likewise.
18454         * sunrpc/svc_run.c: Likewise.
18455         * sunrpc/svc_simple.c: Likewise.
18456         * sunrpc/svc_tcp.c: Likewise.
18457         * sunrpc/svc_udp.c: Likewise.
18458         * sunrpc/svc_unix.c: Likewise.
18459         * sunrpc/svcauth_des.c: Likewise.
18460         * sunrpc/xcrypt.c: Likewise.
18461         * sunrpc/xdr.c: Likewise.
18462         * sunrpc/xdr_array.c: Likewise.
18463         * sunrpc/xdr_float.c: Likewise.
18464         * sunrpc/xdr_intXX_t.c: Likewise.
18465         * sunrpc/xdr_mem.c: Likewise.
18466         * sunrpc/xdr_rec.c: Likewise.
18467         * sunrpc/xdr_ref.c: Likewise.
18468         * sunrpc/xdr_sizeof.c: Likewise.
18469         * sunrpc/xdr_stdio.c: Likewise.
18471 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
18473         [BZ #12650]
18474         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18475         * sysdeps/ia64/dl-tls.h: Likewise.
18476         * sysdeps/powerpc/dl-tls.h: Likewise.
18477         * sysdeps/s390/dl-tls.h: Likewise.
18478         * sysdeps/sh/dl-tls.h: Likewise.
18479         * sysdeps/sparc/dl-tls.h: Likewise.
18480         * sysdeps/x86_64/dl-tls.h: Likewise.
18481         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18483 2011-03-14  Andreas Schwab  <schwab@redhat.com>
18485         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18486         rpath element also skip the following colon.
18487         (expand_dynamic_string_token): Add is_path parameter and pass
18488         down to DL_DST_REQUIRED and _dl_dst_substitute.
18489         (decompose_rpath): Call expand_dynamic_string_token with
18490         non-zero is_path.  Ignore empty rpaths.
18491         (_dl_map_object_from_fd): Call expand_dynamic_string_token
18492         with zero is_path.
18494 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
18496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18497         Make cancelable.
18499 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
18501         [BZ #12655]
18502         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18503         Patch by Filipe David Manana <fdmanana@apache.org>.
18505 2011-04-07  Andreas Schwab  <schwab@redhat.com>
18507         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18508         Maintain aligned stack.
18509         (CHECK_RSP): Remove unused macro.
18511 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
18513         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18514         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18516 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
18518         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18520         * include/features.h: Mention __USE_XOPEN2K8 in comment.
18522 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
18524         [BZ #12518]
18525         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18526         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18527         * sysdeps/x86_64/memmove.c: New file.
18528         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18529         (memcpy): Renamed to ...
18530         (__new_memcpy): This.
18531         (memcpy): Provide GLIBC_2_14 memcpy.
18532         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18533         (memcpy): Provide GLIBC_2_2_5 memcpy.
18535 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
18537         [BZ #12631]
18538         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18540 2011-03-30  Andreas Schwab  <schwab@redhat.com>
18542         * misc/syncfs.c: New file.
18543         * misc/Makefile (routines): Add syncfs.
18544         * posix/unistd.h: Declare syncfs.
18545         * sysdeps/unix/syscalls.list: Add syncfs.
18547 2011-04-01  Andreas Schwab  <schwab@redhat.com>
18549         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18550         open_by_handle_at.
18551         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18552         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18553         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18554         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18555         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18556         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18557         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18559 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
18561         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18562         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18563         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18564         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18565         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18566         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18567         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18569         * io/Makefile: Compile fallocate.c, fallocate64.c, and
18570         sync_file_range.c with -fexceptions.
18571         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18572         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18573         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18574         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18575         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18576         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18577         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
18578         sync_file_range as cancellation point
18579         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
18580         now a wrapper around __call_sync_file_range with cancellation handling.
18581         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18582         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
18583         function name to __call_sync_file_range.
18584         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18585         Add call_sync_file_range.
18587 2011-04-01  Andreas Schwab  <schwab@redhat.com>
18589         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18590         bits/timex.h.
18592 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
18594         * iconv/iconv.h: Fix typo in comment.
18595         * io/fcntl.h: Likewise.
18596         * libio/stdio.h: Likewise.
18597         * posix/spawn.h: Likewise.
18598         * posix/unistd.h: Likewise.
18599         * stdlib/stdlib.h: Likewise.
18600         * time/time.h: Likewise.
18601         * wcsmbs/wchar.h: Likewise.
18603         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18604         open_by_handle): Add.
18605         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18606         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
18607         Augment a few comments.
18608         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18609         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18610         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18611         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18612         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18613         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18614         open_by_handle.
18616         * io/fcntl.h (AT_EMPTY_PATH): Define.
18618 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
18620         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18621         * sysdeps/unix/sysv/linux/bits/time.h: New file.
18622         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18623         to...
18624         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
18625         * Versions.def: Add GLIBC_2.14.
18626         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18627         Export.
18629 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
18631         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18632         round counter.
18633         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18635 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
18637         [BZ #12597]
18638         * string/test-strncmp.c (do_page_test): New function.
18639         (check2): Likewise.
18640         (test_main): Call check2.
18641         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18643 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
18645         [BZ #12587]
18646         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18647         Handle cache information in CPU leaf 4.
18648         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18650 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
18652         [BZ #12583]
18653         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18654         character representation.
18655         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18657 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
18659         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18660         END(__isnan) to END(__isnanf) to match function entry point/label
18661         EALIGN(__isnanf,...).
18663 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
18665         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18667 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
18669         [BZ #12510]
18670         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18671         copy from the symbol referenced in the relocation to initialize the
18672         used variable.
18673         Patch by Piotr Bury <pbury@goahead.com>.
18674         * elf/Makefile: Add rules to build and tst-unique3.
18675         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18676         * elf/tst-unique3.cc: New file.
18677         * elf/tst-unique3.h: New file.
18678         * elf/tst-unique3lib.cc: New file.
18679         * elf/tst-unique3lib2.cc: New file.
18681         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18683 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
18685         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18686         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
18687         to _start.
18689 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
18691         * elf/dl-load.c (_dl_map_object): If we are looking for the first
18692         to-be-loaded object along a path to loader is ld.so.
18694 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
18695             Ulrich Drepper  <drepper@gmail.com>
18697         * sysdeps/x86_64/memset.S: After aligning destination, code
18698         branches to different locations depending on the value of
18699         misalignment, when multiarch is enabled. Fix this.
18701 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
18703         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18704         Set _x86_64_preferred_memory_instruction for AMD processsors.
18705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18706         Set bit_Prefer_SSE_for_memop for AMD processors.
18708 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
18710         * libio/fmemopen.c (fmemopen): Optimize a bit.
18712 2011-03-03  Andreas Schwab  <schwab@redhat.com>
18714         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18716 2011-03-03  Roland McGrath  <roland@redhat.com>
18718         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18720 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
18722         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
18723         __bzero_ultra1 instead of __memset_ultra1.
18725 2011-02-23  Andreas Schwab  <schwab@redhat.com>
18726             Ulrich Drepper  <drepper@gmail.com>
18728         [BZ #12509]
18729         * include/link.h (struct link_map): Add l_orig_initfini.
18730         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18731         returning unsuccessfully.
18732         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18733         close of a file loaded at startup, restore the original l_initfini
18734         list.
18735         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18736         list, store the pointer.
18737         * elf/Makefile ($(objpfx)noload-mem): New rule.
18738         (noload-ENV): Define.
18739         (tests): Add $(objpfx)noload-mem.
18740         * elf/noload.c: Include <memcheck.h>.
18741         (main): Call mtrace.  Close all opened handles.
18743 2011-02-17  Andreas Schwab  <schwab@redhat.com>
18745         [BZ #12454]
18746         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18747         dependencies are missing.
18749 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18751         Fix __if_freereq crash: Unlike the generic version which uses free,
18752         Hurd needs munmap.
18753         * sysdeps/mach/hurd/ifreq.h: New file.
18755 2011-01-27  Petr Baudis  <pasky@suse.cz>
18756             Ulrich Drepper  <drepper@gmail.com>
18758         [BZ 12445]#
18759         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18760         to extend_alloca().
18761         * stdio-common/bug23.c: New file.
18762         * stdio-common/Makefile (tests): Add bug23.
18764 2010-09-28  Andreas Schwab  <schwab@redhat.com>
18765             Ulrich Drepper  <drepper@gmail.com>
18767         [BZ #12489]
18768         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18769         before performing relro protection.  At old place add assertion
18770         to make sure nothing changed.
18772 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
18773             Glauber de Oliveira Costa  <glommer@gmail.com>
18775         * elf/elf.h: Add new ARM TLS relocs.
18777 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
18779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18780         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18781         cast from r3.
18782         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
18783         'tests' variable.
18784         * sysdeps/wordsize-64/tst-writev.c: New file.
18786 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
18788         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18789         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18790         insns in _dl_start to prevent a TOC reference before relocs are
18791         resolved.
18793 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
18795         [BZ #12469]
18796         * Makeconfig: Remove RANLIB definition.
18797         * Makerules: Don't use RANLIB.
18798         * aclocal.m4: Remove ranlib test.
18799         * configure.in: No need to check for ranlib.
18800         * elf/rtld-Rules: Don't use RANLIB.
18802 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18804         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18805         protection macro.
18806         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18807         inclusion protection macro.
18809         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18810         SIGRTMIN and SIGRTMAX and print information in that case only when
18811         SIGRTMIN is defined.
18813 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
18815         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18816         arginfo fn returning -1.
18818         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18819         and thousands string is zero terminated.
18821 2011-02-03  Andreas Schwab  <schwab@redhat.com>
18823         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18824         sysdeps/unix/sysv/linux/bits/socket.h.
18826 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18828         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18829         (__CPU_COUNT): Remove old macros.
18830         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18831         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18832         (__CPU_ALLOC, __CPU_FREE): Add macros.
18833         (__sched_cpualloc, __sched_cpufree): Add declarations.
18835 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
18837         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18838         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18839         * nscd/aicache.c (addhstaiX): Return timeout of added value.
18840         (readdhstai): Return value of addhstaiX call.
18841         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18842         (addgrbyX): Return value returned by cache_addgr.
18843         (readdgrbyname): Return value returned by addgrbyX.
18844         (readdgrbygid): Likewise.
18845         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18846         (addpwbyX): Return value returned by cache_addpw.
18847         (readdpwbyname): Return value returned by addhstbyX.
18848         (readdpwbyuid): Likewise.
18849         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18850         (addservbyX): Return value returned by cache_addserv.
18851         (readdservbyname): Return value returned by addservbyX:
18852         (readdservbyport): Likewise.
18853         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18854         (addhstbyX): Return value returned by cache_addhst.
18855         (readdhstbyname): Return value returned by addhstbyX.
18856         (readdhstbyaddr): Likewise.
18857         (readdhstbynamev6): Likewise.
18858         (readdhstbyaddrv6): Likewise.
18859         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18860         (readdinitgroups): Return value returned by addinitgroupsX.
18861         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18862         (prune_cache): Keep track of timeout value of re-added entries.
18863         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18864         * nscd/nscd.h: Adjust prototypes of readd* functions.
18866 2011-02-04  Roland McGrath  <roland@redhat.com>
18868         * nis/nis_server.c (nis_servstate): Use the right name for 0.
18869         (nis_stats): Likewise.
18870         * nis/nis_modify.c (nis_modify): Likewise.
18871         * nis/nis_remove.c (nis_remove): Likewise.
18872         * nis/nis_add.c (nis_add): Likewise.
18874         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18876         * posix/fnmatch_loop.c: Add some consts.
18878         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18880 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
18882         [BZ #12460]
18883         * config.make.in (config-cflags-novzeroupper): Define.
18884         * configure.in: Substitute libc_cv_cc_novzeroupper.
18885         * elf/Makefile (AVX-CFLAGS): Define.
18886         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18887         (CFLAGS-tst-auditmod4a.c): Likewise.
18888         (CFLAGS-tst-auditmod4b.c): Likewise.
18889         (CFLAGS-tst-auditmod6b.c): Likewise.
18890         (CFLAGS-tst-auditmod6c.c): Likewise.
18891         (CFLAGS-tst-auditmod7b.c): Likewise.
18892         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18894 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
18896         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18897         function to the callback.
18898         Patch partly by Jiri Olsa <jolsa@redhat.com>.
18900 2011-02-02  Andreas Schwab  <schwab@redhat.com>
18902         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18903         of errno.
18905 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
18907         [BZ #11724]
18908         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18909         of constructors.
18910         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18911         of destructors.
18912         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18914         [BZ #11724]
18915         * elf/Makefile: Add rules to build and run new test.
18916         * elf/tst-initorder.c: New file.
18917         * elf/tst-initorder.exp: New file.
18918         * elf/tst-initordera1.c: New file.
18919         * elf/tst-initordera2.c: New file.
18920         * elf/tst-initordera3.c: New file.
18921         * elf/tst-initordera4.c: New file.
18922         * elf/tst-initorderb1.c: New file.
18923         * elf/tst-initorderb2.c: New file.
18924         * elf/tst-order-a1.c: New file.
18925         * elf/tst-order-a2.c: New file.
18926         * elf/tst-order-a3.c: New file.
18927         * elf/tst-order-a4.c: New file.
18928         * elf/tst-order-b1.c: New file.
18929         * elf/tst-order-b2.c: New file.
18930         * elf/tst-order-main.c: New file.
18931         New test case by George Gensure <werkt0@gmail.com>.
18933 2010-10-01  Andreas Schwab  <schwab@redhat.com>
18935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18936         decoding ACE if AI_CANONIDN.
18938 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
18940         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18942 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
18944         * version.h (RELEASE): Bump for 2.13 release.
18945         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18947         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18949         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18950         MADV_NOHUGEPAGE.
18951         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18952         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18953         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18954         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18955         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18956         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18958         * posix/getconf.c: Update copyright year.
18959         * catgets/gencat.c: Likewise.
18960         * csu/version.c: Likewise.
18961         * debug/catchsegv.sh: Likewise.
18962         * debug/xtrace.sh: Likewise.
18963         * elf/ldconfig.c: Likewise.
18964         * elf/ldd.bash.in: Likewise.
18965         * elf/sprof.c (print_version): Likewise.
18966         * iconv/iconv_prog.c: Likewise.
18967         * iconv/iconvconfig.c: Likewise.
18968         * locale/programs/locale.c: Likewise.
18969         * locale/programs/localedef.c: Likewise.
18970         * malloc/memusage.sh: Likewise.
18971         * malloc/mtrace.pl: Likewise.
18972         * nscd/nscd.c (print_version): Likewise.
18973         * nss/getent.c: Likewise.
18975         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18976         PF_CAIF, and PF_ALG.
18977         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18979 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
18981         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18982         (modules-names): Use them.
18983         (ifunc-test-modules, ifunc-pie-tests): Define.
18984         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18985         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18986         (test-extras): Likewise.
18987         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18988         $(compile-command.c).
18989         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18990         (all-built-dso): Define.
18991         (check-textrel.out, check-execstack.out): Depend on it.
18993         * configure.in: Don't override --enable-multi-arch.
18995 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
18997         [BZ #6812]
18998         * nscd/hstcache.c (tryagain): Define.
18999         (cache_addhst): Return tryagain not notfound for temporary errors.
19000         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19001         failed.
19003 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
19005         [BZ #10563]
19006         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19007         to make the syscall.
19008         * sysdeps/unix/sysv/linux/setgroups.c: New file.
19010         [BZ #12378]
19011         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19012         and fall back to matching as normal character if the string ends before
19013         the matching ']' is found.  This is what POSIX requires.
19014         * posix/testfnm.c: Adjust test result.
19015         * posix/globtest.sh: Adjust test result.  Add new test.
19016         * posix/tst-fnmatch.input: Likewise.
19017         * posix/tst-fnmatch2.c: Add new test.
19019 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
19021         * elf/Makefile (check-execstack): Revert last change.  Depend on
19022         check-execstack.h.
19023         (check-execstack.h): New target.
19024         (generated): Add check-execstack.h.
19025         * elf/check-execstack.c: Include "check-execstack.h".
19026         (main): Revert last change.
19027         (handle_file): Return zero if GNU_STACK is absent and
19028         DEFAULT_STACK_PERMS doesn't include PF_X.
19030 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
19032         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19033         in child fails because the descriptor is already closed.
19034         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19035         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19036         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19038         [BZ #12397]
19039         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19040         syscall.
19042         [BZ #10484]
19043         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19044         temporary buffer used to handle multi lookups locally.
19045         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19047 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
19049         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19050         loader is ld.so.
19052 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
19054         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19055         alignment for SSE2.
19057 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
19059         [BZ #12394]
19060         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19061         characters.  When rounding increased number of integer digits recompute
19062         number of groups.
19063         * stdio-common/tst-grouping.c: New file.
19064         * stdio-common/Makefile: Add rules to build and run tst-grouping.
19066 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
19068         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19069         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
19071         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19072         void.
19073         * bits/select.h: Likewise.
19075 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
19077         * po/ja.po: Update from translation team.
19079 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
19081         [BZ #11155]
19082         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19083         implementation just like for lxstat, fxstatat, et al.
19085 2010-12-27  Jim Meyering  <meyering@redhat.com>
19087         [BZ #12348]
19088         * posix/regexec.c (build_trtable): Return failure indication upon
19089         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
19091 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
19093         [BZ #12201]
19094         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19095         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19096         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19097         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19099         [BZ #12207]
19100         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19102         [BZ #12204]
19103         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19104         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19106 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19108         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19109         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19110         script has SORT_BY_INIT_PRIORITY.
19111         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19112         NO_CTORS_DTORS_SECTIONS is defined.
19113         * elf/soinit.c: Likewise.
19114         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19115         NO_CTORS_DTORS_SECTIONS is defined.
19116         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19117         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19118         * sysdeps/sh/init-first.c: Likewise.
19119         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19121 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
19123         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19124         always use the slow path.
19126 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
19128         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19129         similar rule which adds the sysdep directories to the header search in
19130         order to pick up the correct platform stackinfo.h.
19131         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19132         perform test if it is, otherwise return successfully without testing.
19133         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19134         DEFAULT_STACK_PERMS define in stackinfo.h.
19135         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19136         defined in stackinfo.h.
19137         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19138         DEFAULT_STACK_PERMS defined in stackinfo.h.
19139         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19140         * sysdeps/ia64/stackinfo.h: Likewise.
19141         * sysdeps/s390/stackinfo.h: Likewise.
19142         * sysdeps/sh/stackinfo.h: Likewise.
19143         * sysdeps/sparc/stackinfo.h: Likewise.
19144         * sysdeps/x86_64/stackinfo.h: Likewise.
19145         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19146         PF_X for powerpc64.  Retain PF_X for powerpc32.
19148 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
19150         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19151         accurately.
19152         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19153         GETDENTS_64BIT_ALIGNED.
19155 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
19157         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19159 2010-12-10  Andreas Schwab  <schwab@redhat.com>
19161         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19162         _GNU_SOURCE.
19164         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19165         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19166         Remove __restrict.
19167         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19168         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19170 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
19172         [BZ #11655]
19173         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19174         are initialized.
19176 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
19178         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19180 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
19182         * po/it.po: Update from translation team.
19184 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19186         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19187         unused codes.
19189 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
19191         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19193 2010-11-24  Andreas Schwab  <schwab@redhat.com>
19195         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19196         specially.
19197         (gaih_getanswer_slice): Likewise.
19199 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
19201         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19203 2010-05-31  Petr Baudis  <pasky@suse.cz>
19205         [BZ #11149]
19206         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19207         silently even in the chroot mode.
19209 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
19211         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19212         last patch a bit.  Pretty printing
19214 2010-05-31  Petr Baudis <pasky@suse.cz>
19216         [BZ #10085]
19217         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19218         initialization of skip_initgroups_dyn.
19220 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
19222         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19223         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19225 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
19227         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19229 2010-11-11  Andreas Schwab  <schwab@redhat.com>
19231         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19232         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19233         (tst-fnmatch-ENV): Set MALLOC_TRACE.
19234         ($(objpfx)tst-fnmatch-mem): New rule.
19235         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19236         * posix/tst-fnmatch.c (main): Call mtrace.
19238 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
19240         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19241         Support Intel processor model 6 and model 0x2c.
19243 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
19245         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19246           signed comparison.
19248 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
19250         [BZ #12205]
19251         * string/test-strncasecmp.c (check_result): New function.
19252         (do_one_test): Use it.
19253         (check1): New function.
19254         (test_main): Use it.
19255         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19256         Support strcasecmp and strncasecmp.
19258 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
19260         [BZ #12194]
19261         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19262         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19264 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19266         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19267         IFUNC support.
19268         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19269         memset-x86-64.
19270         * sysdeps/x86_64/multiarch/bzero.S: New file.
19271         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19272         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19273         * sysdeps/x86_64/multiarch/memset.S: New file.
19274         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19275         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19276         Set bit_Prefer_SSE_for_memop for Intel processors.
19277         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19278         Define.
19279         (index_Prefer_SSE_for_memop): Define.
19280         (HAS_PREFER_SSE_FOR_MEMOP): Define.
19282 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
19284         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19285         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19287 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
19289         [BZ #12191]
19290         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19291         (__x86_64_raw_data_cache_size_half): Likewise.
19292         (__x86_64_raw_shared_cache_size): Likewise.
19293         (__x86_64_raw_shared_cache_size_half): Likewise.
19295         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19296         (__x86_64_raw_data_cache_size_half): Likewise.
19297         (__x86_64_raw_shared_cache_size): Likewise.
19298         (__x86_64_raw_shared_cache_size_half): Likewise.
19299         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19300         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19301         and __x86_64_raw_shared_cache_size_half.  Round
19302         __x86_64_data_cache_size_half, __x86_64_data_cache_size
19303         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19304         to multiple of 256 bytes.
19306 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
19308         [BZ #12167]
19309         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19310         of inacessible symlinks.  Verify result of symlink before returning it.
19311         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19312         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19314 2010-10-28  Erich Ritz  <erichritz@gmail.com>
19316         * math/math.h (isinf): Fix typo in comment.
19318 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
19320         * po/da.po: Update from translation team.
19322 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
19324         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19325         is added to the list.
19327 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19328             Ulrich Drepper  <drepper@gmail.com>
19330         * elf/dl-object.c (_dl_new_object): Don't append the new object to
19331         the global list here.  Move code to...
19332         (_dl_add_to_namespace_list): ...here.  New function.
19333         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19334         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19335         * elf/dl-load.c (lose): Don't remove the element from the list.
19336         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19337         (_dl_map_object): Likewise.
19339 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
19341         [BZ #12159]
19342         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19343         into all bytes of SSE register.
19344         Patch by Richard Li <richardpku@gmail.com>.
19346 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
19348         [BZ #12140]
19349         * malloc/malloc.c (_int_free): Fill correct number of bytes when
19350         perturbing.
19352 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
19354         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19355         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19356         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19357         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19359         submachine.
19360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19362 2010-10-22  Andreas Schwab  <schwab@redhat.com>
19364         * include/dlfcn.h (__RTLD_SECURE): Define.
19365         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
19366         mode & __RTLD_SECURE instead.
19367         (open_path): Rename preloaded parameter to secure.
19368         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19369         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19370         * elf/dl-deps.c (openaux): Likewise.
19371         * elf/rtld.c (struct map_args): Remove is_preloaded.
19372         (map_doit): Don't use it.
19373         (dl_main): Likewise.
19374         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19375         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19377 2010-09-09  Andreas Schwab  <schwab@redhat.com>
19379         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19380         (sysd-rules-targets): Remove duplicates.
19381         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19382         rtld-%.$o dependency.
19384 2010-10-18  Andreas Schwab  <schwab@redhat.com>
19386         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19387         _dl_map_object do it.
19389 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
19391         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19392         fast fma builtins, define the macros in the C99 standard.
19393         (FP_FAST_FMAF): Likewise.
19394         (FP_FAST_FMAL): Likewise.
19395         * sysdeps/x86_64/bits/mathdef.h: Likewise.
19397         * bits/mathdef.h: Update copyright year.
19398         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19400 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
19402         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19403         builtins, define the macros in the C99 standard.
19404         (FP_FAST_FMAF): Likewise.
19405         (FP_FAST_FMAL): Likewise.
19406         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19407         multiply/add.
19408         (FP_FAST_FMAF): Likewise.
19410 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
19412         [BZ #3268]
19413         * math/libm-test.inc (fma_test): Some new testcases.
19414         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19415         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19416         y and infinite z.  Do multiplication by C already in long double.
19417         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19418         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19419         y and infinite z.  Do bitwise or of inexact bit into u.d.
19420         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19421         * sysdeps/i386/fpu/s_fmaf.S: Removed.
19422         * sysdeps/i386/fpu/s_fma.S: Removed.
19423         * sysdeps/i386/fpu/s_fmal.S: Removed.
19425 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
19427         [BZ #3268]
19428         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19430         computation is not scheduled after fetestexcept.  Fix value
19431         of minimum denormal long double.
19433 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
19435         [BZ #3268]
19436         * math/libm-test.inc (fma_test): Add some more tests.
19437         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19438         correctly.
19440 2010-10-15  Andreas Schwab  <schwab@redhat.com>
19442         * scripts/data/localplt-s390-linux-gnu.data: New file.
19443         * scripts/data/localplt-s390x-linux-gnu.data: New file.
19445 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
19447         [BZ #3268]
19448         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19449         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19450         instead of dbl-64.
19451         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19452         inlines.
19453         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19454         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19455         if one of x and y is very large and the other is subnormal.
19456         * sysdeps/s390/fpu/s_fmaf.c: New file.
19457         * sysdeps/s390/fpu/s_fma.c: New file.
19458         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19459         * sysdeps/powerpc/fpu/s_fma.S: New file.
19460         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19461         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19462         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19464 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
19466         [BZ #3268]
19467         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19468         fma tests.
19469         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19470         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19471         * sysdeps/i386/i686/multiarch/s_fma.c: Include
19472         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19473         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19474         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19475         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19477 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
19479         [BZ #12078]
19480         * posix/regcomp.c (parse_branch): One more memory leak plugged.
19481         * posix/bug-regex31.input: Add test case.
19483 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
19485         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19486         * posix/bug-regex31.input: New file.
19488         [BZ #12078]
19489         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19490         (parse_sub_exp): Fix last change, use postorder.
19492         * posix/bug-regex31.c: New file.
19493         * posix/Makefile: Add rules to build and run bug-regex31.
19495         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19497         [BZ #12078]
19498         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19500         [BZ #12108]
19501         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19502         to have entries in sys_siglist.
19504         [BZ #12093]
19505         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19506         be NULL.
19508 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
19510         [BZ #3268]
19511         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19512         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19513         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19514         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19515         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19516         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19517         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19518         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19519         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19520         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19521         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19522         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19523         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19524         * math/ftestexcept.c (fetestexcept): Likewise.
19525         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19526         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19527         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19528         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19529         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19530         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19531         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19533 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
19535         [BZ #12107]
19536         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19537         newline.
19539 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
19541         * string/bug-strstr1.c: New file.
19542         * string/Makefile: Add rules to build and run bug-strstr1.
19544 2010-10-05  Eric Blake  <eblake@redhat.com>
19546         [BZ #12092]
19547         * string/str-two-way.h (two_way_long_needle): Always clear memory
19548         when skipping input due to the shift table.
19550 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
19552         [BZ #12005]
19553         * malloc/mcheck.c: Handle large requests.
19555         [BZ #12077]
19556         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19557         for strncmp and strncasecmp.
19558         * string/stratcliff.c: Add tests for strcmp and strncmp.
19559         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19561 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19563         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19564         __set_fpscr.
19566 2010-09-30  Andreas Jaeger  <aj@suse.de>
19568         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19569         (CGROUP_SUPER_MAGIC): Define.
19570         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19571         Handle btrfs and cgroup file systems.
19572         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19573         Likewise.
19575 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
19577         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19578         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19580 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19582         [BZ #12067]
19583         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19584         trying to locate the ELF header.
19586 2010-09-27  Andreas Schwab  <schwab@redhat.com>
19588         [BZ #11611]
19589         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19590         Mask out sign-bit copies when constructing f_fsid.
19592 2010-09-24  Petr Baudis <pasky@suse.cz>
19594         * debug/stack_chk_fail_local.c: Add missing licence exception.
19595         * debug/warning-nop.c: Likewise.
19597 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
19599         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19600         implementing getdents64 using getdents syscall, set d_type if
19601         __ASSUME_GETDENTS32_D_TYPE.
19603 2010-09-16  Andreas Schwab  <schwab@redhat.com>
19605         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19606         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19608 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
19610         [BZ #12037]
19611         * posix/unistd.h: Undo change of feature selection for ftruncate from
19612         2010-01-11.
19614 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
19616         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
19617         detection.
19619 2010-09-20  Andreas Schwab  <schwab@redhat.com>
19621         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19622         fanotify_mark.
19623         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19625 2010-09-14  Andreas Schwab  <schwab@redhat.com>
19627         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19628         variables after CHECK_SP call.
19629         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19631 2010-09-13  Andreas Schwab  <schwab@redhat.com>
19632             Ulrich Drepper  <drepper@redhat.com>
19634         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19635         re-relocationg ld.so.
19636         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19637         _dl_init_paths call.
19638         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
19639         here anymore.
19641 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
19643         * resolv/res_init.c (__res_vinit): Count the default server we added.
19645 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
19646             Ulrich Drepper  <drepper@redhat.com>
19648         [BZ #11968]
19649         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19650         (____longjmp_chk): Use %ebx for saving value across system call.
19651         Add unwind info.
19653 2010-09-06  Andreas Schwab  <schwab@redhat.com>
19655         * manual/Makefile: Don't mix pattern rules with normal rules.
19657 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19659         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19660         operation.
19661         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19662         * libio/iofopncook.c (_IO_cookie_init): Likewise.
19663         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19664         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19665         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19666         Likewise.
19668 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
19670         [BZ #11979]
19671         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19672         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19674 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
19676         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19677         * sysdeps/x86_64/addmul_1.S: Likewise.
19678         * sysdeps/x86_64/lshift.S: Likewise.
19679         * sysdeps/x86_64/mul_1.S: Likewise.
19680         * sysdeps/x86_64/rshift.S: Likewise.
19681         * sysdeps/x86_64/sub_n.S: Likewise.
19682         * sysdeps/x86_64/submul_1.S: Likewise.
19684 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19686         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19687         Define __sched_param instead of SCHED_* and sched_param when
19688         <bits/sched.h> is included with __need_schedparam defined.
19689         * bits/sched.h [__need_schedparam]
19690         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
19691         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19692         (__defined_schedparam): Define to 1.
19693         (__sched_param): New structure, identical to sched_param.
19694         (__need_schedparam): Undefine.
19696 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
19698         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19699         (epoll_create1): Declare.
19701         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19703 2010-08-31  Andreas Schwab  <schwab@redhat.com>
19705         [BZ #7066]
19706         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19707         shifting retval into place.
19709 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
19711         * nis/rpcsvc/nis.h: Update copyright notice.
19712         * nis/rpcsvc/nis.x: Likewise.
19713         * nis/rpcsvc/nis_callback.h: Likewise.
19714         * nis/rpcsvc/nis_callback.x: Likewise.
19715         * nis/rpcsvc/nis_object.x: Likewise.
19716         * nis/rpcsvc/nis_tags.h: Likewise.
19717         * nis/rpcsvc/yp.h: Likewise.
19718         * nis/rpcsvc/yp.x: Likewise.
19719         * nis/rpcsvc/ypupd.h: Likewise.
19720         * nis/yp_xdr.c: Likewise.
19721         * nis/ypupdate_xdr.c: Likewise.
19723         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
19724         mainly the body of pmap_getport.  Add parameters to specify timeouts.
19725         (pmap_getport): Use __libc_rpc_getport.
19726         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19727         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19728         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19730 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
19732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19733         fanotify_mark.
19735 2010-08-27  Roland McGrath  <roland@redhat.com>
19737         * sysdeps/i386/i686/multiarch/Makefile
19738         (CFLAGS-varshift.c): New variable.
19740 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
19742         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19743         * sysdeps/i386/i686/multiarch/varshift.c: New file.
19745         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19747         * sysdeps/x86_64/strlen.S: Minimal code improvement.
19749 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
19751         * sysdeps/x86_64/strlen.S: Unroll the loop.
19752         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19753         strlen-sse2 strlen-sse2-bsf.
19754         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19755         __strlen_no_bsf if bit_Slow_BSF is set.
19756         (__strlen_sse42): Removed.
19757         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19758         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19760 2010-08-25  Roland McGrath  <roland@redhat.com>
19762         * sysdeps/x86_64/multiarch/varshift.S: File removed.
19763         * sysdeps/x86_64/multiarch/varshift.c: New file.
19764         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19765         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19766         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19767         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19769 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19771         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19772         strlen-sse2 strlen-sse2-bsf.
19773         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19774         __strlen_sse2_bsf if bit_Slow_BSF is unset.
19775         (__strlen_sse2): Removed.
19776         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19777         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19778         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19779         bit_Slow_BSF for Atom.
19780         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19781         (index_Slow_BSF): Define.
19782         (HAS_SLOW_BSF): Define.
19784 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
19786         [BZ #10851]
19787         * resolv/res_init.c (__res_vinit): When no server address at all
19788         is given default to loopback.
19790 2010-08-24  Roland McGrath  <roland@redhat.com>
19792         * configure.in: Remove config-name.h generation.
19793         * configure: Regenerated.
19794         * config-name.in: File removed.
19795         * scripts/config-uname.sh: New file.
19796         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19797         ($(objdir)config-name.h): New target.
19799         * sunrpc/rpc_parse.h: Avoid nested comment.
19801 2010-08-24  Richard Henderson  <rth@redhat.com>
19802             Ulrich Drepper  <drepper@redhat.com>
19803             H.J. Lu  <hongjiu.lu@intel.com>
19805         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19806         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19807         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19808         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
19809         _mm_alignr_epi8 with _mm_loadu_si128.
19810         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19811         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19812         (__m128i_shift_right): Removed.
19813         * sysdeps/i386/i686/multiarch/varshift.h: New file.
19814         * sysdeps/i386/i686/multiarch/varshift.S: New file.
19815         * sysdeps/x86_64/multiarch/varshift.h: New file.
19816         * sysdeps/x86_64/multiarch/varshift.S: New file.
19818 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
19820         * configure.in: Move assembler checks to before sysdep dir checking.
19822 2010-08-20  Petr Baudis  <pasky@suse.cz>
19824         * LICENSES: Sync the sunrpc license.
19826 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
19828         * sunrpc/auth_des.c: Update copyright notice once again.
19829         * sunrpc/auth_none.c: Likewise.
19830         * sunrpc/auth_unix.c: Likewise.
19831         * sunrpc/authdes_prot.c: Likewise.
19832         * sunrpc/authuxprot.c: Likewise.
19833         * sunrpc/bindrsvprt.c: Likewise.
19834         * sunrpc/clnt_gen.c: Likewise.
19835         * sunrpc/clnt_perr.c: Likewise.
19836         * sunrpc/clnt_raw.c: Likewise.
19837         * sunrpc/clnt_simp.c: Likewise.
19838         * sunrpc/clnt_tcp.c: Likewise.
19839         * sunrpc/clnt_udp.c: Likewise.
19840         * sunrpc/clnt_unix.c: Likewise.
19841         * sunrpc/des_crypt.c: Likewise.
19842         * sunrpc/des_soft.c: Likewise.
19843         * sunrpc/get_myaddr.c: Likewise.
19844         * sunrpc/getrpcport.c: Likewise.
19845         * sunrpc/key_call.c: Likewise.
19846         * sunrpc/key_prot.c: Likewise.
19847         * sunrpc/openchild.c: Likewise.
19848         * sunrpc/pm_getmaps.c: Likewise.
19849         * sunrpc/pm_getport.c: Likewise.
19850         * sunrpc/pmap_clnt.c: Likewise.
19851         * sunrpc/pmap_prot.c: Likewise.
19852         * sunrpc/pmap_prot2.c: Likewise.
19853         * sunrpc/pmap_rmt.c: Likewise.
19854         * sunrpc/rpc/auth.h: Likewise.
19855         * sunrpc/rpc/auth_unix.h: Likewise.
19856         * sunrpc/rpc/clnt.h: Likewise.
19857         * sunrpc/rpc/des_crypt.h: Likewise.
19858         * sunrpc/rpc/key_prot.h: Likewise.
19859         * sunrpc/rpc/netdb.h: Likewise.
19860         * sunrpc/rpc/pmap_clnt.h: Likewise.
19861         * sunrpc/rpc/pmap_prot.h: Likewise.
19862         * sunrpc/rpc/pmap_rmt.h: Likewise.
19863         * sunrpc/rpc/rpc.h: Likewise.
19864         * sunrpc/rpc/rpc_des.h: Likewise.
19865         * sunrpc/rpc/rpc_msg.h: Likewise.
19866         * sunrpc/rpc/svc.h: Likewise.
19867         * sunrpc/rpc/svc_auth.h: Likewise.
19868         * sunrpc/rpc/types.h: Likewise.
19869         * sunrpc/rpc/xdr.h: Likewise.
19870         * sunrpc/rpc_clntout.c: Likewise.
19871         * sunrpc/rpc_cmsg.c: Likewise.
19872         * sunrpc/rpc_common.c: Likewise.
19873         * sunrpc/rpc_cout.c: Likewise.
19874         * sunrpc/rpc_dtable.c: Likewise.
19875         * sunrpc/rpc_hout.c: Likewise.
19876         * sunrpc/rpc_main.c: Likewise.
19877         * sunrpc/rpc_parse.c: Likewise.
19878         * sunrpc/rpc_parse.h: Likewise.
19879         * sunrpc/rpc_prot.c: Likewise.
19880         * sunrpc/rpc_sample.c: Likewise.
19881         * sunrpc/rpc_scan.c: Likewise.
19882         * sunrpc/rpc_scan.h: Likewise.
19883         * sunrpc/rpc_svcout.c: Likewise.
19884         * sunrpc/rpc_tblout.c: Likewise.
19885         * sunrpc/rpc_util.c: Likewise.
19886         * sunrpc/rpc_util.h: Likewise.
19887         * sunrpc/rpcinfo.c: Likewise.
19888         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19889         * sunrpc/rpcsvc/key_prot.x: Likewise.
19890         * sunrpc/rpcsvc/klm_prot.x: Likewise.
19891         * sunrpc/rpcsvc/mount.x: Likewise.
19892         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19893         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19894         * sunrpc/rpcsvc/rex.x: Likewise.
19895         * sunrpc/rpcsvc/rstat.x: Likewise.
19896         * sunrpc/rpcsvc/rusers.x: Likewise.
19897         * sunrpc/rpcsvc/sm_inter.x: Likewise.
19898         * sunrpc/rpcsvc/spray.x: Likewise.
19899         * sunrpc/rpcsvc/yppasswd.x: Likewise.
19900         * sunrpc/rtime.c: Likewise.
19901         * sunrpc/svc.c: Likewise.
19902         * sunrpc/svc_auth.c: Likewise.
19903         * sunrpc/svc_authux.c: Likewise.
19904         * sunrpc/svc_raw.c: Likewise.
19905         * sunrpc/svc_run.c: Likewise.
19906         * sunrpc/svc_simple.c: Likewise.
19907         * sunrpc/svc_tcp.c: Likewise.
19908         * sunrpc/svc_udp.c: Likewise.
19909         * sunrpc/svc_unix.c: Likewise.
19910         * sunrpc/svcauth_des.c: Likewise.
19911         * sunrpc/xcrypt.c: Likewise.
19912         * sunrpc/xdr.c: Likewise.
19913         * sunrpc/xdr_array.c: Likewise.
19914         * sunrpc/xdr_float.c: Likewise.
19915         * sunrpc/xdr_mem.c: Likewise.
19916         * sunrpc/xdr_rec.c: Likewise.
19917         * sunrpc/xdr_ref.c: Likewise.
19918         * sunrpc/xdr_sizeof.c: Likewise.
19919         * sunrpc/xdr_stdio.c: Likewise.
19921         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19922         handling.
19924 2010-08-19  Andreas Schwab  <schwab@redhat.com>
19926         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19928 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
19930         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19931         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19932         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19933         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19934         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19935         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19936         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19937         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19938         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19939         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19940         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19941         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19942         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19943         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19945 2010-07-26  Anton Blanchard  <anton@samba.org>
19947         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19948         * malloc/arena.c (heap_trim): Likewise.
19950 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
19952         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19953         here.  Not...
19954         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19955         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19957 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
19959         * sysdeps/i386/elf/Makefile: New file.
19961 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
19963         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19964         from fanotify_init.
19965         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19966         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19968 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
19970         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19971         of strncasecmp_l.
19972         * sysdeps/multiarch/strcmp.S: Likewise.
19974 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
19976         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19977         strncase_l-nonascii.
19978         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19979         Add strncase_l-ssse3.
19980         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19981         * sysdeps/x86_64/strcmp.S: Likewise.
19982         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19983         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19984         * sysdeps/x86_64/strncase.S: New file.
19985         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19986         * sysdeps/x86_64/strncase_l.S: New file.
19987         * string/Makefile (strop-tests): Add strncasecmp.
19988         * string/test-strncasecmp.c: New file.
19990         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19991         warning.
19993         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19994         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19996 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
19998         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20000 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
20002         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20003         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20004         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20006 2010-05-01  Alan Modra  <amodra@gmail.com>
20008         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20009         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20010         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20011         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20012         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20013         tidying.  Don't tail-call __sigjmp_save for static lib.
20014         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20015         save location.
20016         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20017         (CALL_MCOUNT): Add eh info, and nop after bl.
20018         (TAIL_CALL_SYSCALL_ERROR): New macro.
20019         (PSEUDO_RET): Use it.
20020         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20021         Correct save location of integer regs and cr.
20022         (_dl_profile_resolve): Correct cr save location.  Delete nops
20023         after bl when SHARED.  Reduce cfi size a little by better
20024         placement of cfi directives.
20025         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20026         make a stack frame.  Instead use parm save area as a temp.
20027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20028         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
20029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20030         Don't make a stack frame for parent, use parm save area.
20031         Increase child stack frame to 112 bytes.  Don't save unused reg,
20032         and adjust reg usage.  Set up cfi on error recovery and
20033         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20035         (__makecontext): Add dummy nop after jump to exit.
20036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20037         Use correct parm save area and cr save, reduce stack frame.
20038         Correct cfi for possible PSEUDO_RET frame setup.
20039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20040         Branch to local label emitted by PSEUDO_RET rather than
20041         __syscall_error.
20043 2010-08-12  Andreas Schwab  <schwab@redhat.com>
20045         [BZ #11904]
20046         * locale/programs/locale.c (print_assignment): New function.
20047         (show_locale_vars): Use it.
20049 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
20051         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20052         field.
20053         (struct statfs64): Likewise.
20054         (_STATFS_F_FLAGS): Define.
20055         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20056         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20057         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20058         (ST_VALID): Define locally.
20059         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20060         __statvfs_getflags, use the provided value.
20061         * sysdeps/unix/sysv/linux/kernel-features.h: Define
20062         __ASSUME_STATFS_F_FLAGS.
20064         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20066         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20067         Add sys/fanotify.h.
20068         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20069         fanotify_mask for GLIBC_2.13.
20070         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20071         fanotify_init and fanotify_mark.
20072         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20073         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20075         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20076         Add prlimit.
20077         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20078         prlimit64 for GLIBC_2.13.
20079         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20080         prlimit64.
20081         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20082         syscall.
20083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20084         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20085         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20086         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20087         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
20088         add prlimit alias.
20089         * sysdeps/unix/sysv/linux/prlimit.c: New file.
20091         [BZ #11903]
20092         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20093         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20095         * nss/Makefile: Add rules to build and run tst-nss-test1.
20096         * shlib-versions: Add entry for libnss_test1.
20097         * nss/nss_test1.c: New file.
20098         * nss/tst-nss-test1.c: New file.
20100         * nss/nsswitch.c (__nss_database_custom): Define new variable.
20101         (__nss_configure_lookup): Set appropriate entry in
20102         __nss_configure_lookup to true.
20103         * nss/nsswitch.h: Define enum with indeces of databases in
20104         databases and __nss_database_custom arrays.  Declare
20105         __nss_database_custom.
20106         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20107         to avoid using nscd when custom rules are installed.
20108         * nss/getXXbyYY_r.c: Likewise.
20109         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20111         * nss/nss_files/files-parse.c: Whitespace fixes.
20113 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
20115         [BZ #11883]
20116         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20117         * posix/fnmatch_loop.c: Likewise.
20119 2010-07-17  Andi Kleen  <ak@linux.intel.com>
20121         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20122         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20123         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20124         * Versions.def [GLIBC_2.13]: Add.
20126 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
20128         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20129         Also fail if tpwd after pwuid call is NULL.
20131 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20133         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20134         when converting to ms.
20136 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20138         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20139         EOPNOTSUPP errors with ENOTTY.
20140         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20141         EOPNOTSUPP errors with ENOTTY.
20143 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
20145         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20146         Add strcasecmp_l-ssse3.
20147         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20148         strcasecmp.
20149         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20150         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20151         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20153 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
20155         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20157         * string/Makefile (strop-tests): Add strcasecmp.
20158         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20159         strcasecmp_l-nonascii.
20160         (gen-as-const-headers): Add locale-defines.sym.
20161         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20162         * sysdeps/x86_64/strcasecmp.S: New file.
20163         * sysdeps/x86_64/strcasecmp_l.S: New file.
20164         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20165         * sysdeps/x86_64/locale-defines.sym: New file.
20166         * string/test-strcasecmp.c: New file.
20168         * string/test-strcasestr.c: Test both ends of the range of characters.
20169         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20171 2010-07-29  Roland McGrath  <roland@redhat.com>
20173         [BZ #11856]
20174         * manual/locale.texi (Yes-or-No Questions): Fix example code.
20176 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
20178         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20179         for ld.so.
20181 2010-07-27  Andreas Schwab  <schwab@redhat.com>
20183         * manual/memory.texi (Malloc Tunable Parameters): Document
20184         M_PERTURB.
20186 2010-07-26  Roland McGrath  <roland@redhat.com>
20188         [BZ #11840]
20189         * configure.in (-fgnu89-inline check): Set and substitute
20190         gnu89_inline, not libc_cv_gnu89_inline.
20191         * configure: Regenerated.
20192         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20194 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
20196         * string/test-strnlen.c: New file.
20197         * string/Makefile (strop-tests): Add strnlen.
20198         * string/tester.c (test_strnlen): Add a few more test cases.
20199         * string/tst-strlen.c: Better error reporting.
20201         * sysdeps/x86_64/strnlen.S: New file.
20203 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
20205         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20206         lower-latency instructions.
20208 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
20210         * string/test-strcasestr.c: New file.
20211         * string/test-strstr.c: New file.
20212         * string/Makefile (strop-tests): Add strstr and strcasestr.
20213         * string/str-two-way.h: Don't undefine MAX.
20214         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20216 2010-07-21  Andreas Schwab  <schwab@redhat.com>
20218         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20219         strcasestr-nonascii.
20220         (CFLAGS-strcasestr-nonascii.c): Define.
20221         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20222         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20223         Remove unused attribute.
20225 2010-07-20  Roland McGrath  <roland@redhat.com>
20227         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20228         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
20229         ld.so.cache was broken.  With it, there is no way to disable dsocaps
20230         like LD_HWCAP_MASK can disable hwcaps.
20232 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
20234         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20236 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
20238         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20239         call in strcasestr.
20240         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20241         __strcasestr_sse42_nonascii.
20242         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20243         strcasestr-nonascii.c.
20244         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20246 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
20248         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20249         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20250         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20251         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20253 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
20255         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20256         fcntl.
20258 2010-07-06  Andreas Schwab  <schwab@redhat.com>
20260         [BZ #11577]
20261         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20262         dl_signal_cerror.
20264 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
20266         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20267         _PC_PIPE_BUF using F_GETPIPE_SZ.
20269 2010-07-05  Roland McGrath  <roland@redhat.com>
20271         * manual/arith.texi (Rounding Functions): Fix rint description
20272         implicit in round description.
20274 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
20276         * elf/Makefile: Fix linking for a few tests to make recent linker
20277         happy.
20279 2010-06-30  Andreas Schwab  <schwab@redhat.com>
20281         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20282         $(common-objpfx)libc_nonshared.a.
20284 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
20286         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20287         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20288         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20289         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20290         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20291         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20292         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20293         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20308         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20309         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20310         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20311         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20312         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20313         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20314         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20315         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20316         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20317         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20318         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20319         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20335 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
20337         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20338         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
20339         * string/memmove.c (memmove): Renamed to ...
20340         (MEMMOVE): ...this.  Default to memmove.
20341         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20342         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20343         (END_CHK): Define.
20344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20345         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20346         mempcpy-ssse3-back memmove-ssse3-back.
20347         * sysdeps/x86_64/multiarch/bcopy.S: New file .
20348         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20349         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20350         * sysdeps/x86_64/multiarch/memcpy.S: New file.
20351         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20352         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20353         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20354         * sysdeps/x86_64/multiarch/memmove.c: New file.
20355         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20356         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20357         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20358         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20359         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20360         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20361         Define.
20362         (index_Fast_Copy_Backward): Define.
20363         (HAS_ARCH_FEATURE): Define.
20364         (HAS_FAST_REP_STRING): Define.
20365         (HAS_FAST_COPY_BACKWARD): Define.
20367 2010-06-21  Andreas Schwab  <schwab@redhat.com>
20369         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20370         Restore proper fallback handling.
20372 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
20374         [BZ #11701]
20375         * posix/group_member.c (__group_member): Correct checking loop.
20377         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20378         OOM in getpwuid_r correctly.  Return error number when the caller
20379         should return, otherwise -1.
20380         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20381         call returning > 0 value.
20382         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20384 2010-06-07  Andreas Schwab  <schwab@redhat.com>
20386         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20387         libc_nonshared.a from targets in modules-names.
20389 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
20391         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20392         requires it.
20394 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
20396         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20397         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20398         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20399         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20401 2010-06-02  Andreas Schwab  <schwab@redhat.com>
20403         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20405 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
20407         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20408         and F_GETPIPE_SZ.
20409         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20410         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20411         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20412         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20413         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20414         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20416 2010-06-14  Roland McGrath  <roland@redhat.com>
20418         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20420 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
20422         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20423         __REDIRECT followed by __THROW.
20424         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20425         * posix/getopt.h (getopt): Likewise.
20427 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
20429         * hurd/lookup-at.c (__file_name_lookup_at): Accept
20430         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
20431         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20432         in AT_FLAGS.
20433         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20434         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20436 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
20438         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20440 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
20442         [BZ #11640]
20443         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20444         Properly check family and model.
20446 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
20448         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20450 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
20452         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20454 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
20456         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20457         symbol reference.
20459 2010-05-19  Andreas Schwab  <schwab@redhat.com>
20461         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20462         symbol reference.
20464 2010-05-21  Andreas Schwab  <schwab@redhat.com>
20466         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20467         and internal_recvmmsg.
20468         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20469         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20470         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20471         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20473         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20474         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20475         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20477 2010-05-20  Andreas Schwab  <schwab@redhat.com>
20479         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20481 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
20483         POWER7 optimizations.
20484         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20485         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20487 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
20489         * version.h: Update for 2.13 development version.
20491 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
20493         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20494         exceptions.  Return 0.
20496 2010-05-07  Roland McGrath  <roland@redhat.com>
20498         * elf/ldconfig.c (main): Add a const.
20500 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
20502         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20503         (args_options): Add no-idn option.
20504         (ahosts_keys_int): Add idn_flags to ai_flags.
20505         (parse_option): Handle 'i' option to clear idn_flags.
20507         * malloc/malloc.c (_int_free): Possible race in the most recently
20508         added check.  Only act on the data if no current modification
20509         happened.
20511 See ChangeLog.17 for earlier changes.