Fix CL date.
[glibc.git] / ChangeLog
blob0c7a24b998dc262eaed26a681362a318265355df
1 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
3         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4         handling of denormals.
5         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12         Likewise.
14 2012-05-26  Marek Polacek  <polacek@redhat.com>
16         [BZ #14152]
17         * math/libm-test.inc (fma_test): Don't always expect underflow
18         exception.
20 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22         [BZ #12416]
23         * elf/tst-execstack.c: Include stackinfo.h.
24         (do_test): Adjust test case to ensure that pthread_getattr_np
25         behaviour remains the same after marking stack executable.
27 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29         * sysdeps/unix/sysv/linux/kernel-features.h
30         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32         kernel-features.h.
33         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36         kernel-features.h.
37         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
42         * configure.in: Define the default includes to being none.
43         * configure: Regenerated.
45 2012-05-25  Roland McGrath  <roland@hack.frob.com>
47         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48         * sysdeps/x86_64/setjmp.S: Likewise.
49         * sysdeps/i386/bsd-setjmp.S: Likewise.
50         * sysdeps/i386/bsd-_setjmp.S: Likewise.
51         * sysdeps/i386/setjmp.S: Likewise.
52         * sysdeps/i386/__longjmp.S: Likewise.
53         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
56         * include/stap-probe.h: New file.
57         * configure.in: Handle --enable-systemtap.
58         * configure: Regenerated.
59         * config.h.in (USE_STAP_PROBE): New #undef.
60         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66         [BZ #13717]
67         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68         to 2.4.0 where earlier.
69         * sysdeps/unix/sysv/linux/configure: Regenerated.
70         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71         <kernel-features.h>.
72         [__ASSUME_32BITUIDS]: Make code unconditional.
73         [!__ASSUME_32BITUIDS]: Remove conditional code.
74         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
75         <kernel-features.h>.
76         [__ASSUME_32BITUIDS]: Make code unconditional.
77         [!__ASSUME_32BITUIDS]: Remove conditional code.
78         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
79         [__ASSUME_32BITUIDS]: Make code unconditional.
80         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
81         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
82         <kernel-features.h>.
83         [__ASSUME_32BITUIDS]: Make code unconditional.
84         [!__ASSUME_32BITUIDS]: Remove conditional code.
85         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
86         <kernel-features.h>.
87         [__ASSUME_32BITUIDS]: Make code unconditional.
88         [!__ASSUME_32BITUIDS]: Remove conditional code.
89         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
90         <kernel-features.h>.
91         [__ASSUME_32BITUIDS]: Make code unconditional.
92         [!__ASSUME_32BITUIDS]: Remove conditional code.
93         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
94         <kernel-features.h>.
95         [__ASSUME_32BITUIDS]: Make code unconditional.
96         [!__ASSUME_32BITUIDS]: Remove conditional code.
97         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
98         <kernel-features.h>.
99         [__ASSUME_32BITUIDS]: Make code unconditional.
100         [!__ASSUME_32BITUIDS]: Remove conditional code.
101         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
102         <kernel-features.h>.
103         [__ASSUME_32BITUIDS]: Make code unconditional.
104         [!__ASSUME_32BITUIDS]: Remove conditional code.
105         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
106         <kernel-features.h>.
107         [__ASSUME_32BITUIDS]: Make code unconditional.
108         [!__ASSUME_32BITUIDS]: Remove conditional code.
109         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
110         <kernel-features.h>.
111         [__ASSUME_32BITUIDS]: Make code unconditional.
112         [!__ASSUME_32BITUIDS]: Remove conditional code.
113         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
114         <kernel-features.h>.
115         [__ASSUME_32BITUIDS]: Make code unconditional.
116         [!__ASSUME_32BITUIDS]: Remove conditional code.
117         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
118         <kernel-features.h>.
119         [__ASSUME_32BITUIDS]: Make code unconditional.
120         [!__ASSUME_32BITUIDS]: Remove conditional code.
121         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
122         <kernel-features.h>.
123         [__NR_setresgid] (__setresgid): Do not declare.
124         [__ASSUME_32BITUIDS]: Make code unconditional.
125         [!__ASSUME_32BITUIDS]: Remove conditional code.
126         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
127         <kernel-features.h>.
128         [__NR_setresuid] (__setresuid): Do not declare.
129         [__ASSUME_32BITUIDS]: Make code unconditional.
130         [!__ASSUME_32BITUIDS]: Remove conditional code.
131         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
132         <kernel-features.h>.
133         [__ASSUME_32BITUIDS]: Make code unconditional.
134         [!__ASSUME_32BITUIDS]: Remove conditional code.
135         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
136         <kernel-features.h>.
137         [__ASSUME_32BITUIDS]: Make code unconditional.
138         [!__ASSUME_32BITUIDS]: Remove conditional code.
139         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
140         <kernel-features.h>.
141         [__ASSUME_32BITUIDS]: Make code unconditional.
142         [!__ASSUME_32BITUIDS]: Remove conditional code.
143         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
144         <kernel-features.h>.
145         [__ASSUME_32BITUIDS]: Make code unconditional.
146         [!__ASSUME_32BITUIDS]: Remove conditional code.
147         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
148         <kernel-features.h>.
149         [__ASSUME_32BITUIDS]: Make code unconditional.
150         [!__ASSUME_32BITUIDS]: Remove conditional code.
151         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
152         <kernel-features.h>.
153         [__ASSUME_32BITUIDS]: Make code unconditional.
154         [!__ASSUME_32BITUIDS]: Remove conditional code.
155         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
156         <kernel-features.h>.
157         [__ASSUME_32BITUIDS]: Make code unconditional.
158         [!__ASSUME_32BITUIDS]: Remove conditional code.
159         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
160         <kernel-features.h>.
161         [__ASSUME_32BITUIDS]: Make code unconditional.
162         [!__ASSUME_32BITUIDS]: Remove conditional code.
163         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
164         <kernel-features.h>.
165         [__ASSUME_32BITUIDS]: Make code unconditional.
166         [!__ASSUME_32BITUIDS]: Remove conditional code.
167         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
168         <kernel-features.h>.
169         [__ASSUME_32BITUIDS]: Make code unconditional.
170         [!__ASSUME_32BITUIDS]: Remove conditional code.
171         * sysdeps/unix/sysv/linux/kernel-features.h
172         (__ASSUME_SETRESUID_SYSCALL): Remove.
173         (__ASSUME_SETRESGID_SYSCALL): Likewise.
174         (__ASSUME_32BITUIDS): Likewise.
175         (__ASSUME_LDT_WORKS): Likewise.
176         (__ASSUME_O_DIRECTORY): Likewise.
177         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
178         architecture but not kernel version.
179         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
180         (__ASSUME_MMAP2_SYSCALL): Likewise.
181         (__ASSUME_STAT64_SYSCALL): Likewise.
182         (__ASSUME_IPC64): Likewise.
183         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
184         <kernel-features.h>.
185         [__ASSUME_32BITUIDS]: Make code unconditional.
186         [!__ASSUME_32BITUIDS]: Remove conditional code.
187         * sysdeps/unix/sysv/linux/opendir.c: Do not include
188         <kernel-features.h>.
189         [__ASSUME_O_DIRECTORY]: Make code unconditional.
190         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
191         132096]: Remove conditional code.
192         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
193         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
194         <kernel-features.h>.
195         [__ASSUME_32BITUIDS]: Make code unconditional.
196         [!__ASSUME_32BITUIDS]: Remove conditional code.
197         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
198         <kernel-features.h>.
199         [__ASSUME_32BITUIDS]: Make code unconditional.
200         [!__ASSUME_32BITUIDS]: Remove conditional code.
201         * sysdeps/unix/sysv/linux/setegid.c: Do not include
202         <kernel-features.h>.
203         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
204         unconditional.
205         (__setresgid): Do not declare.
206         [__ASSUME_32BITUIDS]: Make code unconditional.
207         [!__ASSUME_32BITUIDS]: Remove conditional code.
208         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
209         <kernel-features.h>.
210         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
211         unconditional.
212         (__setresuid): Do not declare.
213         [__ASSUME_32BITUIDS]: Make code unconditional.
214         [!__ASSUME_32BITUIDS]: Remove conditional code.
215         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
216         <kernel-features.h>.
217         [__ASSUME_32BITUIDS]: Make code unconditional.
218         [!__ASSUME_32BITUIDS]: Remove conditional code.
219         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
220         <kernel-features.h>.
221         [__ASSUME_32BITUIDS]: Make code unconditional.
222         [!__ASSUME_32BITUIDS]: Remove conditional code.
224 2012-05-25  Richard Henderson  <rth@twiddle.net>
226         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
227         dl_hwcap to ifunc resolver.
228         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
229         elf_ifunc_invoke.
230         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
231         dl_hwcap to ifunc resolver.
232         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
234 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
236         [BZ #14153]
237         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
238         for |x| <= 2**-26, not 2**-57.
239         * math/libm-test.inc (acos_test): Do not allow spurious underflow
240         exception.
242 2012-05-24  Jeff Law  <law@redhat.com>
244         * stdio-common/Makefile (tests): Add bug25.
245         * stdio-common/bug25.c: New test.
247 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
249         [BZ #13576]
250         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
251         multiple of MALLOC_ALIGNMENT in size.
252         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
254 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
256         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
257         Require >= 256.
258         (FILENAME_MAX): Use macro-int-constant.
259         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
260         (_IOFBF): Use macro-int-constant.
261         (_IOLBF): Likewise.
262         (_IONBF): Likewise.
263         (SEEK_CUR): Likewise.
264         (SEEK_END): Likewise.
265         (SEEK_SET): Likewise.
266         (TMP_MAX): Likewise.
267         (EOF): Use macro-int-constant.  Require < 0.
268         (NULL): Use macro-constant.  Require == 0.
269         (stdin): Require type to be FILE *.
270         (stdout): Likewise.
271         (stderr): Likewise.
272         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
273         macro-int-constant.
274         (EXIT_SUCCESS): Likewise.
275         (NULL): Use macro-constant.  Require == 0.
276         (RAND_MAX): Use macro-int-constant.
277         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
278         [C99-based standards] (strtof): Require function.
279         [C99-based standards] (strtold): Likewise.
280         [C99-based standards] (strtoll): Likewise.
281         [C99-based standards] (strtoull): Likewise.
282         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
283         [ISO || ISO99 || ISO11] (limits.h): Likewise.
284         [ISO || ISO99 || ISO11] (math.h): Likewise.
285         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
286         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
287         [ISO || ISO99 || ISO11] (*_t): Do not allow.
289 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
291         [BZ #14132]
292         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
293         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
294         * intl/dgettext.c (DCGETTEXT): Likewise.
295         * intl/gettext.c (DCGETTEXT): Likewise.
296         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
297         * posix/regex_internal.h (gettext): Likewise.
298         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
299         Remove declaration.
300         * include/argz.h (__argz_count_internal)
301         (__argz_stringify_internal): Remove declaration.
302         (__argz_count, __argz_stringify): Declare hidden proto.
303         * intl/dcgettext.c: Remove use of INTDEF.
304         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
305         * string/argz-stringify.c: Likewise.
306         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
307         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
308         Declare hidden proto.
309         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
310         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
311         Declare hidden proto.
312         * include/stdio.h (__asprintf_internal): Don't declare.
313         (__asprintf): Don't define as macro.  Declare hidden proto.
314         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
315         (__fsetlocking): Declare hidden proto.
316         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
317         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
318         hidden proto.
319         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
320         (_IO_setlinebuf): Remove use of INTUSE.
321         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
322         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
323         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
324         Remove declaration.
325         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
326         (_IO_do_flush): Remove use of INTUSE.
327         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
328         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
329         (_IO_adjust_column, _IO_least_wmarker)
330         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
331         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
332         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
333         (_IO_default_doallocate, _IO_wdefault_doallocate)
334         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
335         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
336         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
337         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
338         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
339         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
340         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
341         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
342         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
343         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
344         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
345         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
346         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
347         proto.
348         (_IO_flush_all_internal, _IO_adjust_column_internal)
349         (_IO_default_uflow_internal, _IO_default_finish_internal)
350         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
351         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
352         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
353         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
354         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
355         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
356         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
357         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
358         (_IO_file_close_internal, _IO_file_close_it_internal)
359         (_IO_file_underflow_internal, _IO_file_overflow_internal)
360         (_IO_file_init_internal, _IO_file_attach_internal)
361         (_IO_file_fopen_internal, _IO_file_read_internal)
362         (_IO_file_sync_internal, _IO_file_seek_internal)
363         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
364         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
365         (_IO_str_underflow_internal, _IO_str_overflow_internal)
366         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
367         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
368         (_IO_list_all_internal, _IO_link_in_internal)
369         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
370         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
371         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
372         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
373         (_IO_do_write_internal, _IO_padn_internal)
374         (_IO_getline_info_internal, _IO_getline_internal)
375         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
376         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
377         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
378         (_IO_vfscanf_internal, _IO_vfprintf_internal)
379         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
380         (_IO_init_internal, _IO_un_link_internal): Don't declare.
381         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
382         with libc_hidden_ver, remove use of INTUSE.
383         * libio/genops.c: Likewise.
384         * libio/freopen.c: Likewise.
385         * libio/freopen64.c: Likewise.
386         * libio/iofclose.c: Likewise.
387         * libio/iofdopen.c: Likewise.
388         * libio/iofflush.c: Likewise.
389         * libio/iofflush_u.c: Likewise.
390         * libio/iofgets.c: Likewise.
391         * libio/iofgets_u.c: Likewise.
392         * libio/iofopen.c: Likewise.
393         * libio/iofopncook.c: Likewise.
394         * libio/iofread.c: Likewise.
395         * libio/iofread_u.c: Likewise.
396         * libio/ioftell.c: Likewise.
397         * libio/iofwrite.c: Likewise.
398         * libio/iogetline.c: Likewise.
399         * libio/iogets.c: Likewise.
400         * libio/iogetwline.c: Likewise.
401         * libio/iopadn.c: Likewise.
402         * libio/iopopen.c: Likewise.
403         * libio/ioseekoff.c: Likewise.
404         * libio/ioseekpos.c: Likewise.
405         * libio/iosetbuffer.c: Likewise.
406         * libio/iosetvbuf.c: Likewise.
407         * libio/ioungetc.c: Likewise.
408         * libio/ioungetwc.c: Likewise.
409         * libio/iovdprintf.c: Likewise.
410         * libio/iovsprintf.c: Likewise.
411         * libio/iovsscanf.c: Likewise.
412         * libio/memstream.c: Likewise.
413         * libio/obprintf.c: Likewise.
414         * libio/oldfileops.c: Likewise.
415         * libio/oldiofclose.c: Likewise.
416         * libio/oldiofdopen.c: Likewise.
417         * libio/oldiofopen.c: Likewise.
418         * libio/oldiopopen.c: Likewise.
419         * libio/oldstdfiles.c: Likewise.
420         * libio/putc.c: Likewise.
421         * libio/setbuf.c: Likewise.
422         * libio/setlinebuf.c: Likewise.
423         * libio/stdfiles.c: Likewise.
424         * libio/strops.c: Likewise.
425         * libio/vasprintf.c: Likewise.
426         * libio/vscanf.c: Likewise.
427         * libio/vsnprintf.c: Likewise.
428         * libio/vswprintf.c: Likewise.
429         * libio/wfiledoalloc.c: Likewise.
430         * libio/wfileops.c: Likewise.
431         * libio/wgenops.c: Likewise.
432         * libio/wmemstream.c: Likewise.
433         * libio/wstrops.c: Likewise.
434         * libio/__fpurge.c: Likewise.
435         * libio/__fsetlocking.c: Likewise.
436         * assert/assert.c: Likewise.
437         * debug/fgets_chk.c: Likewise.
438         * debug/fgets_u_chk.c: Likewise.
439         * debug/fread_chk.c: Likewise.
440         * debug/fread_u_chk.c: Likewise.
441         * debug/gets_chk.c: Likewise.
442         * debug/obprintf_chk.c: Likewise.
443         * debug/vasprintf_chk.c: Likewise.
444         * debug/vdprintf_chk.c: Likewise.
445         * debug/vsnprintf_chk.c: Likewise.
446         * debug/vsprintf_chk.c: Likewise.
447         * malloc/mtrace.c: Likewise.
448         * misc/error.c: Likewise.
449         * misc/syslog.c: Likewise.
450         * stdio-common/asprintf.c: Likewise.
451         * stdio-common/fxprintf.c: Likewise.
452         * stdio-common/getw.c: Likewise.
453         * stdio-common/isoc99_fscanf.c: Likewise.
454         * stdio-common/isoc99_scanf.c: Likewise.
455         * stdio-common/isoc99_vfscanf.c: Likewise.
456         * stdio-common/isoc99_vscanf.c: Likewise.
457         * stdio-common/isoc99_vsscanf.c: Likewise.
458         * stdio-common/printf-prs.c: Likewise.
459         * stdio-common/printf_fp.c: Likewise.
460         * stdio-common/printf_fphex.c: Likewise.
461         * stdio-common/printf_size.c: Likewise.
462         * stdio-common/putw.c: Likewise.
463         * stdio-common/scanf.c: Likewise.
464         * stdio-common/sprintf.c: Likewise.
465         * stdio-common/tmpfile.c: Likewise.
466         * stdio-common/vfprintf.c: Likewise.
467         * stdio-common/vfscanf.c: Likewise.
468         * stdlib/strfmon_l.c: Likewise.
469         * sunrpc/openchild.c: Likewise.
470         * sunrpc/xdr_stdio.c: Likewise.
471         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
472         * sysdeps/mach/hurd/tmpfile.c: Likewise.
474 2012-05-24  Roland McGrath  <roland@hack.frob.com>
476         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
478         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
479         in the third column, to generate for the shared library an IFUNC
480         that uses _dl_vdso_vsym.
481         * Makerules (COMPILE.c, compile-stdin.c): New variables.
482         * Makeconfig (object-suffixes-noshared): New variable.
484         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
485         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
486         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
487         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
489         [BZ #14132]
490         * include/sys/time.h (__gettimeofday): Remove macro.
491         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
492         * time/gettimeofday.c (__gettimeofday): Remove #undef.
493         Remove INTDEF.
494         (__gettimeofday): Add libc_hidden_def.
495         (gettimeofday): Add libc_hidden_weak.
496         * sysdeps/mach/gettimeofday.c: Likewise.
497         * sysdeps/posix/gettimeofday.c: Likewise.
498         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
499         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
500         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
501         (__gettimeofday_internal): Remove strong_alias.
502         (__gettimeofday): Add libc_hidden_def.
503         (gettimeofday): Add libc_hidden_weak.
504         * sysdeps/unix/syscalls.list (gettimeofday):
505         Remove __gettimeofday_internal alias.
507 2012-05-24  Daniel Jacobowitz  <drow@false.org>
508             H.J. Lu  <hongjiu.lu@intel.com>
510         [BZ #12495]
511         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
512         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
513         (largebin_index_32_big): New.
514         (largebin_index): Use it for 16-byte alignment.
515         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
516         correction with front_misalign.
518 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
522         Likewise.
523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
524         Likewise.
525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
526         Likewise.
527         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
528         Likewise.
529         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
530         Likewise.
531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
532         Likewise.
533         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
534         Likewise.
535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
536         Likewise.
537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
538         Likewise.
539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
540         Likewise.
541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
542         Likewise.
543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
544         Likewise.
546         * scripts/data/c++-types-x32-linux-gnu.data: New file.
547         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
549 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
551         [BZ #10846]
552         [BZ #14036]
553         * math/libm-test.inc (exp_test): Add test from bug 14036.
554         (pow_test): Add test from bug 10846.
556         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
557         and other flags.
558         (special_function): Do not include flags in test name.
559         (parse_args): Likewise.
560         * sysdeps/i386/fpu/libm-test-ulps: Update.
561         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
562         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
563         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
566         * math/gen-libm-test.pl (%beautify): Add entries for underflow
567         exceptions.
568         * math/libm-test.inc ("Philosophy"): Update comment about
569         exception testing.
570         (UNDERFLOW_EXCEPTION): New macro.
571         (UNDERFLOW_EXCEPTION_OK): Likewise.
572         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
573         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
574         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
575         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
576         (INVALID_EXCEPTION_OK): Update value.
577         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
578         (OVERFLOW_EXCEPTION_OK): Likewise.
579         (IGNORE_ZERO_INF_SIGN): Likewise.
580         (test_exceptions): Handle underflow exceptions.
581         (acos_test): Update for underflow exception expectations.
582         (cexp_test): Likewise.
583         (clog_test): Likewise.
584         (clog10_test): Likewise.
585         (csqrt_test): Likewise.
586         (ctan_test): Likewise.
587         (ctanh_test): Likewise.
588         (exp_test): Likewise.
589         (exp10_test): Likewise.
590         (exp2_test): Likewise.
591         (expm1_test): Likewise.
592         (fma_test): Likewise.
593         (j0_test): Likewise.
594         (jn_test): Likewise.
595         (nexttoward_test): Likewise.
596         (pow_test): Likewise.
597         (scalbn_test): Likewise.
598         (scalbln_test): Likewise.
599         (tan_test): Likewise.
600         (y1_test): Likewise.
601         * sysdeps/i386/fpu/libm-test-ulps: Update.
602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
604 2012-05-23  David S. Miller  <davem@davemloft.net>
606         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
607         (__libc_sigaction): Remove unused local variables.
609 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
611         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
613 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
615         mktime: avoid signed integer overflow
616         * time/mktime.c (__mktime_internal): Do not mishandle the case
617         where diff == INT_MIN.
619         mktime: simplify computation of average
620         * time/mktime.c (ranged_convert): Use new time_t_avg function
621         instead of rolling our own (probably-slower) code.
623         mktime: do not assume signed right shift propagates sign bit
624         * time/mktime.c (isdst_differ): New static function.
625         (__mktime_internal): No need to normalize tm_isdst now.
626         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
627         tm_isdst values.
629         mktime: merge another wrapv change from gnulib
630         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
631         from some compilers.
633         mktime: remove incorrect attempt at unusual arithmetics
634         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
635         The code didn't really work on such machines anyway.
636         (TYPE_MINIMUM): Assume two's complement.
637         (twos_complement_arithmetic): Verify that long_int and time_t
638         are two's complement (or unsigned, in the latter case).
640         mktime: check signed shifts on long_int and time_t, too
641         * time/mktime.c (SHR): Check that shifts work as desired
642         on the types long_int and time_t too, as SHR is used on
643         such types.
645         mktime: do not assume 'long' is wide enough
646         * time/mktime.c (verify): Move decl up.
647         (long_int): New type.
648         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
649         to remove assumption in the code that 'long' is wide enough to
650         store year values.  This assumption is not true on x32 and on
651         some non-glibc platforms.
653         mktime: merge wrapv change from gnulib
654         * time/mktime.c (WRAPV): New macro.
655         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
656         (guess_time_tm, __mktime_internal): Do not assume that signed
657         integer overflow wraps around; modern compilers generate code
658         where this assumption is no longer valid.
660 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
662         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
663         Replace "jmp L(pseudo_end)" with "ret".
664         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
665         Likewise.
667 2012-05-23  Andreas Jaeger  <aj@suse.de>
669         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
670         * sysdeps/unix/sysv/linux/poll.c: Remove file.
672 2012-05-23  Andreas Jaeger  <aj@suse.de>
673             Maximilian Attems  <max@stro.at>
675         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
676         New macros.
678 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
680         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
681         code so that pseudo_end is just ret and the stack pointer is
682         correct also for static library in error case.
684 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
686         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
687         move to syscalls.list.
688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
693         * manual/install.texi (Running make install): Do not mention Linux
694         kernel version for which pt_chown is not needed.
695         (Linux): Do not mention problems with nscd with 2.0 kernels.
696         * INSTALL: Regenerated.
698 2012-05-23  Andreas Jaeger  <aj@suse.de>
700         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
701         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
702         macro.
703         * sysdeps/unix/sysv/linux/s390/bits/mman.h
704         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
705         * sysdeps/unix/sysv/linux/sh/bits/mman.h
706         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
707         * sysdeps/unix/sysv/linux/i386/bits/mman.h
708         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
709         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
710         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
711         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
712         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
713         * sysdeps/unix/sysv/linux/bits/in.h
714         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
716 2012-05-22  Roland McGrath  <roland@hack.frob.com>
718         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
719         (PREPARE_VERSION): Just use assert instead, it will be elided
720         under [NDEBUG] anyway.
722 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
724         * sysdeps/unix/sysv/linux/Makefile: Include
725         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
726         (sysdep_routines): Remove sysctl.
727         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
728         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
729         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
730         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
731         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
733 2012-05-22  Andreas Jaeger  <aj@suse.de>
735         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
736         that pseudo_end is just ret and the stack pointer is correct also
737         for static library in error case.
739 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
741         [BZ #14122]
742         * nss/nsswitch.c (defconfig_entries): New variable.
743         (__nss_database_lookup): Don't leak defconfig entries.
744         (nss_parse_service_list): Don't leak on error paths.
745         (free_database_entries): New function.
746         (free_defconfig): New function.
747         (free_mem): Move common code to free_database_entries.
749 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
751         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
752         Add arch_prctl.
753         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
755         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
756         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
757         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
758         New macro.
759         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
760         (INTERNAL_SYSCALL_TYPES): Likewise.
761         (LOAD_ARGS_TYPES_[1-6]): Likewise.
762         (LOAD_REGS_TYPES_[1-6]): Likewise.
763         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
764         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
766 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
768         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
769         copysignl for GLIBC_2_0.
770         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
771         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
772         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
773         logbl for GLIBC_2_0.
774         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
775         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
777 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
779         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
780         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
782         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
783         Use "neg %eax".
785         * time/mktime.c: Update copyright years.
787 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
789         mktime: merge comment-quoting-style change from gnulib
790         * time/mktime.c: Quote 'like this' in comments.
791         The GNU coding standards suggest that we no longer quote `like this',
792         as "`" and "'" are typically rendered asymmetrically nowadays.
793         The typical gnulib style is to quote 'like this' when quoting
794         code, and "like this" when quoting English.
796         * time/mktime.c (compile-command): Add "-I.".
798         mktime: merge mktime-internal.h change from gnulib
799         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
801         mktime: merge time_r change from gnulib
802         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
804         mktime: merge DEBUG change from gnulib
805         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
806         case system <time.h> has a #define.
808         mktime: merge <sys/types.h> change from gnulib
809         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
810         since <time.t> is now guaranteed to define time_t.
812         mktime: merge HAVE_CONFIG_H change from gnulib
813         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
815 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
817         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
818         Use "neg %eax".
820         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
821         __rlim_t cast.
822         (struct rusage): Use anonymous union to pad each field to
823         __syscall_slong_t.
825 2012-05-21  David S. Miller  <davem@davemloft.net>
827         * Makefules (o-iterator): Remove .s cases.
828         (compile-command.s): Delete.
829         (COMPILE.s): Delete.
830         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
832 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
834         * configure.in (libc_cv_predef_stack_protector): Only consider
835         "foobar" and "__stack_chk_fail" lines in libc_undefs.
836         * configure: Regenerated.
838 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
840         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
841         New macro.  Use R*LP on int and pointer.
842         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
843         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
844         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
845         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
847         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
848         [__WORDSIZE_TIME64_COMPAT32] instead of
849         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
850         (struct utmp): Likewise.
851         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
852         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
853         Renamed to ...
854         (__WORDSIZE_TIME64_COMPAT32): This.
855         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
856         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
857         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
858         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
859         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
860         (__WORDSIZE_TIME64_COMPAT32): New macro.
862 2012-05-21  Andreas Jaeger  <aj@suse.de>
864         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
865         only if [SHARED]. Add prototype for __wcschr_ia32.
867 2012-05-21  Roland McGrath  <roland@hack.frob.com>
869         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
870         of %rbp unmolested in the jmp_buf while mangling the low bits.
871         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
872         unmolested high bits of %rbp while demangling the low bits.
873         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
875 2012-05-21  Andreas Jaeger  <aj@suse.de>
877         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
878         * sunrpc/svc_simple.c: Use it for registerrpc.
879         * sunrpc/xcrypt.c: Use it for passwd2des.
881         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
883 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
885         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
886         Don't define if [__SYSCALL_WORDSIZE != 32].
887         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
888         New macro.
890 2012-05-21  Bruno Haible  <bruno@clisp.org>
891             Andreas Jaeger  <aj@suse.de>
893         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
894         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
895         inptr and inend for must_buffer_ch.
896         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
897         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
898         * stdio-common/Makefile (tests): Remove bug15.
899         (bug15-ENV): Remove macro.
900         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
901         anymore.
903 2012-05-19  Andreas Jaeger  <aj@suse.de>
904             Roland McGrath  <roland@hack.frob.com>
906         * manual/contrib.texi: Completely rewritten. It contains now an
907         alphabetical list of contributors and their contributions.
909 2012-05-21  Richard Henderson  <rth@twiddle.net>
911         * misc/getauxval.c (__getauxval): Use unsigned long int.
912         * misc/sys/auxv.h: Include <sys/cdefs.h>.
913         (getauxval): Use unsigned long int.
915 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
917         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
919 2012-05-21  Roland McGrath  <roland@hack.frob.com>
921         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
922         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
923         __alignof__ (long double).
925 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
929 2012-05-20  Richard Henderson  <rth@twiddle.net>
931         * misc/getauxval.c: New file.
932         * misc/sys/auxv.h: New file.
933         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
934         (routines): Add getauxval.
935         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
936         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
937         * elf/dl-sysdep.c (_dl_auxv): Remove.
938         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
939         * elf/dl-support.c (_dl_auxv): New variable.
940         (_dl_aux_init): Initialize it.
941         * manual/startup.texi (Auxiliary Vector): New node.
942         * sysdeps/generic/bits/hwcap.h: New file.
943         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
944         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
945         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
946         * sysdeps/sparc/sysdep.h: ... here.  Include it.
947         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
948         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
950         Update.
951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
954         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
960 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
964 2012-05-19  David S. Miller  <davem@davemloft.net>
966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
968 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
970         [BZ #14123]
971         * math/s_ccosh.c: Include <float.h>
972         (__ccosh): Avoid internal overflow calculating sinh and cosh
973         values before multiplying by sin and cos values.
974         * math/s_ccoshf.c: Likewise.
975         * math/s_ccoshl.c: Likewise.
976         * math/s_csin.c: Likewise.
977         * math/s_csinf.c: Likewise.
978         * math/s_csinl.c: Likewise.
979         * math/s_csinh.c: Likewise.
980         * math/s_csinhf.c: Likewise.
981         * math/s_csinhl.c: Likewise.
982         * math/libm-test.inc (ccos_test): Add more tests.
983         (ccosh_test): Likewise.
984         (csin_test): Likewise.
985         (csinh_test): Likewise.
986         * sysdeps/i386/fpu/libm-test-ulps: Update.
987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
989 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
991         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
992         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
994         * sysdeps/x86_64/x32/_itoa.h: Add comment.
996 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
998         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
999         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1000         * sysdeps/powerpc/soft-fp/Versions: Likewise.
1001         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1002         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1003         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1004         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1005         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1006         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1007         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1008         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1009         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1010         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1011         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1012         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1013         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1014         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1015         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1016         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1017         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1018         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1019         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1020         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1021         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1022         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1023         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1024         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1025         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1026         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1027         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1028         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1030 2012-05-18  Andreas Jaeger  <aj@suse.de>
1032         * csu/.gitignore: Delete.
1034 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1036         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1037         (timex): Use __syscall_slong_t.
1039 2012-05-18  Andreas Jaeger  <aj@suse.de>
1040             Carlos O'Donell  <carlos_odonell@mentor.com>
1042         * manual/install.texi (Configuring and compiling): Update
1043         description about files modified in the source directory.
1044         * INSTALL: Regenerated.
1046 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1048         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1049         value.  Use "or" to set return value to -1.
1050         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1051         negate return value.
1053 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1055         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1056         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1057         failure if the compiler has Graphite support disabled.
1058         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1059         Likewise.
1060         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1061         CFLAGS-memmove.c): Likewise.
1062         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1063         Likewise.
1065 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1067         * sysdeps/x86_64/x32/_itoa.h: New file.
1069         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1070         getdents system call only if kernel and user dirents have the
1071         same d_ino and d_off.
1073         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1074         LLONG_MAX != LONG_MAX.
1075         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1076         (_fitoa_word): Likewise.
1078         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1079         years.
1080         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1081         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1082         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1084         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1085         include <bits/wordsize.h>.  Check __x86_64__ instead of
1086         __WORDSIZE.
1087         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1088         if __x86_64__ is defined.  Use anonymous union on fpstate.
1090         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1091         anonymous union.
1093 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
1095         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1096         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1097         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1098         Refer to _rtld_local_ro instead of _rtld_global_ro.
1099         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1100         Likewise.
1101         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1102         Likewise.
1103         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1104         Likewise.
1105         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1106         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1107         of _rtld_global, and rtld_progname instead of _dl_argv[0].
1109         * sysdeps/powerpc/powerpc32/dl-machine.c
1110         (__elf_machine_runtime_setup) [PROF]: Don't reference
1111         _dl_prof_resolve.
1113 2012-05-18  Andreas Jaeger  <aj@suse.de>
1115         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1116         function only available for GCCs before 3.4 since GCC 3.4
1117         introduced a builtin.
1118         (lrint): Likewise.
1119         (llrintf): Likewise.
1120         (llrint): Likewise.
1121         (fmaxf): Likewise.
1122         (fmax): Likewise.
1123         (fminf): Likewise.
1124         (fmin): Likewise.
1125         (rint): Likewise.
1126         (rintf): Likewise.
1127         (nearbyint): Likewise.
1128         (nearbyintf): Likewise.
1129         (ceil): Likewise.
1130         (ceilf): Likewise.
1131         (floor): Likewise.
1132         (floorf): Likewise.
1134 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1136         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1137         on both fields and cast pointer to __syscall_ulong_t.
1139         * bits/types.h (__fsword_t): New type.
1140         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1141         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1142         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1143         (__FSWORD_T_TYPE): Likewise.
1144         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1145         (__FSWORD_T_TYPE): Likewise.
1146         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1147         (__FSWORD_T_TYPE): Likewise.
1148         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1149         (__FSWORD_T_TYPE): Likewise.
1150         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1151         __SWORD_TYPE with __fsword_t.
1152         (statfs64): Likewise.
1154 2012-05-17  David S. Miller  <davem@davemloft.net>
1156         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1158 2012-05-17  Andreas Jaeger  <aj@suse.de>
1160         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1161         warning.
1163 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1165         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1167 2012-05-17  Andreas Jaeger  <aj@suse.de>
1169         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1170         when it is used.
1172 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
1174         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1176 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1178         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1179         * sysdeps/x86_64/tst-mallocalign1.c: New file.
1181 2012-05-17  Andreas Jaeger  <aj@suse.de>
1182             Carlos O'Donell  <carlos_odonell@mentor.com>
1184         [BZ #14059]
1185         * sysdeps/x86_64/multiarch/init-arch.h
1186         (bit_YMM_Usable): Rename to...
1187         (bit_AVX_Usable): ... this.
1188         (bit_FMA4_Usable): New macro.
1189         (bit_XMM_state): New macro.
1190         (bit_YMM_state): New macro.
1191         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1192         [__ASSEMBLER__] (index_AVX_Usable): ... this.
1193         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1194         (CPUID_OSXSAVE): New macro.
1195         (CPUID_AVX): New macro.
1196         (CPUID_FMA4): New macro.
1197         (index_YMM_Usable): Rename to...
1198         (index_AVX_Usable): ... this.
1199         (HAS_AVX): Use HAS_ARCH_FEATURE.
1200         (HAS_FMA4): Likewise.
1201         (HAS_YMM_USABLE): Remove.
1202         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1203         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1204         are present.
1205         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1206         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1207         * sysdeps/x86_64/multiarch/Makefile: Likewise.
1208         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1209         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1211 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
1213         * math/libm-test.c: Support platforms without multiple rounding modes.
1214         * math/bug-nextafter.c: Support platforms without FP exceptions.
1215         * math/bug-nexttoward.c: Likewise.
1216         * math/test-fenv.c: Likewise.
1217         * math/test-misc.c: Likewise.
1218         * stdlib/bug-getcontext.c: Likewise.
1220 2012-05-17  Andreas Jaeger  <aj@suse.de>
1222         * manual/examples/search.c (critter_cmp): Change signature to
1223         avoid warnings.
1224         * manual/string.texi (Collation Functions): Likewise.
1226 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1228         * bits/types.h: Fold copyright years.
1229         * bits/typesizes.h: Likewise.
1230         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1231         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1232         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1233         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1234         * time/time.h: Likewise.
1236 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
1238         [BZ #208]
1239         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1240         in instead of returning them.  Return void.
1241         (__libc_mallinfo): Accumulate over all arenas.
1242         (__malloc_stats): Adjust for change in int_mallinfo interface.
1244 2012-05-16  Roland McGrath  <roland@hack.frob.com>
1246         [BZ #10375]
1247         * configure.in (NM): Add AC_CHECK_TOOL for it.
1248         (libc_extra_cflags): New substituted variable.
1249         Check for -fstack-protector being used implicitly.
1250         * configure: Regenerated.
1251         * config.make.in (config-extra-cflags): New variable,
1252         gets @libc_extra_cflags@.
1253         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1255         [BZ #10375]
1256         * configure.in: Check for _FORTIFY_SOURCE being predefined.
1257         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1258         * configure: Regenerated.
1259         * config.make.in (CPPUNDEFS): New substituted variable.
1260         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1261         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1262         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1264 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1266         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1267         (mq_attr): Use __syscall_slong_t.
1269 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1271         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1272         Check __x86_64__ instead of __WORDSIZE.
1273         (_STAT_VER_LINUX): Likewise.
1274         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
1275         __syscall_ulong_t and __syscall_slong_t.
1276         (stat64): Likewise.
1278 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1280         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1282 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1284         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1286 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1288         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1289         __syscall_ulong_t.
1291         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1292         include <bits/wordsize.h>.  Check __x86_64__ instead of
1293         __WORDSIZE.
1294         (greg_t): Use "__extension__ long long int" if __x86_64__ is
1295         defined.
1296         (mcontext_t): Replace "unsigned long" with "unsigned long long".
1298         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1299         include <bits/wordsize.h>.  Check __x86_64__ instead of
1300         __WORDSIZE.
1301         (user_regs_struct): Use "__extension__ unsigned long long"
1302         instead of "unsigned long" if __x86_64__ is defined.
1303         (user): Likewise.  Pad after pointer field if __ILP32__ is
1304         defined.
1306 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
1308         * configure.in (makeinfo): Require version 4.5 or later.  Allow
1309         versions 5 to 9.
1310         * configure: Regenerated.
1311         * manual/install.texi (texinfo): Increase version requirement to
1312         4.5 or later.
1313         * INSTALL: Regenerated.
1315         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1317 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
1319         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1321         * sysdeps/x86_64/x32/ffs.c: New file.
1323         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1324         __syscall_ulong_t.
1325         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1326         defined.  Use __syscall_ulong_t.
1327         (shminfo): Use __syscall_ulong_t.
1328         (shm_info): Likewise.
1330         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1331         __syscall_ulong_t.
1333         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1334         <bits/wordsize.h>.
1335         (msgqnum_t): Use __syscall_ulong_t.
1336         (msglen_t): Likewise.
1337         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
1338         __syscall_ulong_t.
1340         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1341         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
1343         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1345         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1346         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1348         * sysvipc/sys/msg.h (msgbuf): Replace long int with
1349         __syscall_slong_t.
1351         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1352         include <bits/wordsize.h>.  Check __x86_64__ instead of
1353         __WORDSIZE.
1355         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1356         "unsigned long long int" if __x86_64__ is defined.
1357         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1359         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1360         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
1361         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1363         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1364         <stdint.h>.
1365         (GET_PC): Cast to uintptr_t first.
1366         (GET_FRAME): Likewise.
1367         (GET_STACK): Likewise.
1369         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1370         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1371         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1372         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1373         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1374         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1375         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1376         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1377         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1378         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1379         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1380         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1381         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1382         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1383         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1384         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1385         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1386         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1387         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1388         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1389         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1390         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1391         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1392         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1393         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1394         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1395         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1396         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1397         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1399 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
1401         * Makerules (+depfiles): Also collect depfiles from .oS in
1402         $(extra-objs).
1403         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1404         .oS, $(libnldbl-routines)).
1406         * Makerules (native-compile-mkdep-flags): Define.
1407         * sunrpc/Makefile (extra-objs): Add $(addprefix
1408         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1409         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1410         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
1411         calling $(make-target-directory).
1413 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1415         * bits/types.h (__snseconds_t): Removed.
1416         * time/time.h (struct timespec): Replace __snseconds_t with
1417         __syscall_slong_t.
1418         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1419         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1420         Likewise.
1421         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1422         (__SNSECONDS_T_TYPE): Likewise.
1423         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1424         (__SNSECONDS_T_TYPE): Likewise.
1425         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1426         (__SNSECONDS_T_TYPE): Likewise.
1428 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1430         * sysdeps/mach/hurd/bits/typesizes.h
1431         (__SYSCALL_SLONG_TYPE): New macro.
1432         (__SYSCALL_ULONG_TYPE): Likewise.
1434 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1436         * bits/types.h (__syscall_slong_t): New type.
1437         (__syscall_ulong_t): Likewise.
1439         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1440         (__SYSCALL_ULONG_TYPE): Likewise.
1441         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1442         (__SYSCALL_SLONG_TYPE): Likewise.
1443         (__SYSCALL_ULONG_TYPE): Likewise.
1444         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1445         (__SYSCALL_SLONG_TYPE): Likewise.
1446         (__SYSCALL_ULONG_TYPE): Likewise.
1447         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1448         (__SYSCALL_SLONG_TYPE): Likewise.
1449         (__SYSCALL_ULONG_TYPE): Likewise.
1451 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1453         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1454         Add sigaltstack-offsets.sym.
1455         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1456         <sigaltstack-offsets.h>.
1457         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
1458         longjmp_msg pointer.
1459         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
1460         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1461         signal stack.
1462         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1464 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
1466         * elf/stackguard-macros.h: Remove file.
1467         * sysdeps/generic/stackguard-macros.h: New file.
1468         * sysdeps/i386/stackguard-macros.h: Likewise.
1469         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1470         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1471         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1472         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1473         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1474         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1475         * sysdeps/x86_64/stackguard-macros.h: Likewise.
1476         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1477         <elf/stackguard-macros.h>.
1479         [BZ #14109]
1480         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1481         __aligned__ in attribute.
1482         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1483         (gregset_t): Likewise.
1485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1487         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1488         * sysdeps/x86_64/64/Implies-after: Here.  New file.
1489         * sysdeps/x86_64/x32/Implies-after: New file.
1491 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1493         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1494         and access return value for _dl_profile_fixup.  Use R10_LP to
1495         load frame size.
1497 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1499         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1501 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1503         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1504         * sysdeps/x86_64/x32/sysdep.h: New file.
1506 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1508         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1509         * sysdeps/x86_64/setjmp.S: Likewise.
1511 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1513         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1514         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1515         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1516         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1517         remove unused global constant.
1519 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
1521         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1522         include of <not-cancel.h>.
1524 2012-05-15  Roland McGrath  <roland@hack.frob.com>
1526         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1528 2012-05-15  Jeff Law  <law@redhat.com>
1529             Andreas Jaeger  <aj@suse.de>
1531         [BZ #13594]
1532         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1533         out from...
1534         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1535         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1536         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1537         code changing __hst_map_handle.map.
1539 2012-05-15  Roland McGrath  <roland@hack.frob.com>
1541         * configure.in (sysnames): Look for Implies-before and Implies-after
1542         files.
1543         * configure: Regenerated.
1545 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1547         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1548         8-byte data alignment with LP_SIZE alignment.
1550 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1552         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1553         into R10_LP.
1555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1557         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1559 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1561         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1562         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1563         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1564         Likewise.
1565         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1567 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1569         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1570         (stackinfo_sub_sp): Likewise.
1572 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1574         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1575         RAX_LP.
1577 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1579         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1580         into R*_LP.
1582 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1584         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1585         sizes into R*_LP.
1587 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1589         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1593         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1594         into R11_LP and load __x86_64_shared_cache_size_half into
1595         R8_LP.
1597 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1599         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1600         R8_LP.
1602 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1604         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1605         logb for POWER7.
1606         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1607         logbf for POWER7.
1608         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1609         logbl for POWER7.
1610         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1611         powerpc32/power7/fpu/s_logb.c via #include.
1612         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1613         powerpc32/power7/fpu/s_logbf.c via #include.
1614         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1615         powerpc32/power7/fpu/s_logbl.c via #include.
1617 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
1619         * README.libm: Remove file.
1621 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1623         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1624         count for x32.  Use R*_LP and omit operand-size suffix.
1626 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1628         * shlib-versions: Move x86_64-.*-linux.* entries to ...
1629         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
1630         * sysdeps/x86_64/x32/shlib-versions: New file.
1632 2012-05-14  Roland McGrath  <roland@hack.frob.com>
1634         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1635         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1636         Use _dl_fatal_printf instead.
1638 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
1640         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1641         set if not set by the user.  Do not allow for being unset.
1642         * sysdeps/unix/sysv/linux/configure: Regenerated.
1644 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1646         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1647         the `q' suffix from lea and replace .quad with ASM_ADDR.
1649 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1651         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1652         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
1653         instead of $17.
1654         (PTR_DEMANGLE): Likewise.
1656 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1658         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1659         (LP_OP): Likewise.
1660         (ASM_ADDR): Likewise.
1661         (RAX_LP): Likewise.
1662         (RBP_LP): Likewise.
1663         (RBX_LP): Likewise.
1664         (RCX_LP): Likewise.
1665         (RDI_LP): Likewise.
1666         (RSI_LP): Likewise.
1667         (RSP_LP): Likewise.
1668         (R8_LP): Likewise.
1669         (R9_LP): Likewise.
1670         (R10_LP): Likewise.
1671         (R10_LP): Likewise.
1672         (R11_LP): Likewise.
1673         (R12_LP): Likewise.
1674         (R13_LP): Likewise.
1675         (R14_LP): Likewise.
1676         (R15_LP): Likewise.
1678 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1680         * sysdeps/x86_64/x32/dl-machine.h: New file.
1682 2012-05-14  Andreas Jaeger  <aj@suse.de>
1684         * manual/Makefile (subdir): Remove export of subdir.
1685         (all): Remove target.
1686         (.PHONY): Remove all from list.
1687         (mkinstalldirs): Remove.
1688         (.PHONY): Remove installdirs from list.
1689         ($(inst_infodir)/libc.info): Use make-target-directory.
1690         (installdirs): Remove.
1691         (subdir_%): Remove.
1692         (glibc-targets): Remove.
1693         (lib): Remove.
1694         (stubs): Remove.
1695         ($(objpfx)stubs ../po/manual.pot): Remove.
1696         ($(objpfx)stamp%): Remove.
1697         (make-target-directory): Remove.
1698         (subdir_install): Remove.
1699         (routines): Remove.
1700         (aux): Remove.
1701         (sources): Remove.
1702         (objects): Remove.
1703         (headers): Remove.
1705         [BZ #13750]
1706         * manual/.gitignore: Remove, it's not needed anymore.
1707         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1708         all files in it.
1709         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1710         directory.
1711         (texis): Renamed to $(objpfx)texis.
1712         (texis-path): New, contains path to generated files.
1713         (chapters.%): Use texis-path for complete path, add extra argument
1714         libc-texinfo.sh.
1715         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1716         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1717         (summary,texi, stamp-summary): Use complete path of
1718         files. Generate files in build dir.
1719         (dir-add.texi): Build in build dir.
1720         (libm-err.texi,stamp-libm-err): Likewise.
1721         (version.texi, stamp-version): Likewise.
1722         (.%c.texi): Likewise.
1723         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1724         (mostlyclean): Remove target.
1725         (realclean): Remove target.
1726         (generated): Add new variable with contents from mostlyclean and
1727         realclean, remove entries duplicated in common-mostlyclean, add
1728         stamp-libm-err and stamp-version.
1729         (generated-dirs): Add libc directory.
1730         ($(inst_infodir)/libc.info): Install files from build dir.
1732         * manual/install.texi (Configuring and compiling): Adjust since
1733         the info files are not part of the tar ball anymore.
1735 2012-05-14  Andreas Jaeger  <aj@suse.de>
1737         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1738         variable.
1740 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
1742         [BZ #13717]
1743         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1744         to 2.2.0 where earlier.
1745         * sysdeps/unix/sysv/linux/configure: Regenerated.
1746         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1747         Remove conditional code.
1748         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1749         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1750         Remove conditional code.
1751         [!__NR_lchown]: Likewise.
1752         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1753         [__NR_lchown]: Likewise.
1754         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1755         comment referencing __ASSUME_LCHOWN_SYSCALL.
1756         * sysdeps/unix/sysv/linux/i386/sigaction.c
1757         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1758         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1759         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1760         Remove conditional code.
1761         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1762         (__protocol_available): Remove #if 0 code.
1763         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1764         conditional code.
1765         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1766         * sysdeps/unix/sysv/linux/kernel-features.h
1767         (__ASSUME_GETCWD_SYSCALL): Don't define.
1768         (__ASSUME_REALTIME_SIGNALS): Likewise.
1769         (__ASSUME_PREAD_SYSCALL): Likewise.
1770         (__ASSUME_PWRITE_SYSCALL): Likewise.
1771         (__ASSUME_POLL_SYSCALL): Likewise.
1772         (__ASSUME_LCHOWN_SYSCALL): Likewise.
1773         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1774         non-SPARC.
1775         (__ASSUME_SIOCGIFNAME): Don't define.
1776         (__ASSUME_MSG_NOSIGNAL): Likewise.
1777         (__ASSUME_SENDFILE): Define unconditionally.
1778         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1779         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1780         conditional code.
1781         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1782         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1783         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1784         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1785         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1786         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1787         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1789         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1790         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1792         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1793         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1795         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1796         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1798         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1799         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1801         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1802         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1804         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1805         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1807         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1808         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1810         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1811         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1812         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1813         Remove conditional code.
1814         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1815         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1816         Remove conditional code.
1817         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1818         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1819         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1820         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1821         Remove conditional code.
1822         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1823         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1824         Remove conditional code.
1825         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1826         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1827         Remove conditional code.
1828         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1829         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1830         Remove conditional code.
1831         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1832         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1833         Remove conditional code.
1834         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1835         * sysdeps/unix/sysv/linux/sh/pwrite64.c
1836         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1837         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1838         * sysdeps/unix/sysv/linux/sigaction.c
1839         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1840         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1841         * sysdeps/unix/sysv/linux/sigpending.c
1842         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1843         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1844         * sysdeps/unix/sysv/linux/sigprocmask.c
1845         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1846         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1847         * sysdeps/unix/sysv/linux/sigsuspend.c
1848         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1849         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1850         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1851         (__libc_missing_rt_sigs): Remove.
1852         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1853         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1854         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1855         Remove conditional code.
1856         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1857         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1858         return 1.
1859         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1860         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1861         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1862         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1864 2012-05-14  Andreas Jaeger  <aj@suse.de>
1866         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1867         it's not used in glibc.
1868         (__coshm1): Likewise.
1869         (__acosh1p): Likewise.
1870         (__sgn): Likewise.
1872         * manual/string.texi (Copying and Concatenation): Add missing
1873         variable in concat example.
1874         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1876 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1878         [BZ #14103]
1879         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1880         __builtin_clzl with __builtin_clzll.
1882 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1884         [BZ #14104]
1885         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1886         libc_freeres_ptr.
1888 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1890         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1891         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1892         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1893         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1895 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
1897         * NEWS: Update ia64 info.
1899 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
1901         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1902         used as bcopy.
1904 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
1906         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1907         * sysdeps/unix/syscalls.list (dup3): Likewise.
1908         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1909         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1911 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1913         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1914         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1916 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1918         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1919         thread pointer.
1920         (TLS_IE): Use mov/add instead of movq/addq to load thread
1921         pointer.
1922         (TLS_GD_PREFIX): New.
1923         (TLS_GD): Use it.
1925 2012-05-11  David S. Miller  <davem@davemloft.net>
1927         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1928         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1929         (_FPU_SETCW): Likewise.
1931 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
1933         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1934         is 32-byte aligned.
1936 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
1938         [BZ #11837]
1939         * iconvdata/gb18030.c: Update tables.
1940         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
1941         characters specially.
1942         (BODY for TO_LOOP): Add encoding of missing ranges.
1944 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
1946         [BZ #13673]
1947         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1948         * sysdeps/mach/hurd/dup3.c: Likewise.
1949         * sysdeps/mach/hurd/readlinkat.c: Likewise.
1950         * sysdeps/powerpc/memmove.c:: Likewise.
1952 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
1954         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1955         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1957 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
1959         * elf/elf.h (R_X86_64_RELATIVE64): New.
1960         (R_X86_64_NUM): Updated.
1961         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1962         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
1963         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1964         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1965         tst-quad1pie tst-quad2pie
1966         (modules-names): Add tst-quadmod1 tst-quadmod2.
1967         ($(objpfx)tst-quad1): New dependency.
1968         ($(objpfx)tst-quad2): Likewise.
1969         ($(objpfx)tst-quad1pie): Likewise.
1970         ($(objpfx)tst-quad2pie): Likewise.
1971         * sysdeps/x86_64/tst-quad1.c: New file.
1972         * sysdeps/x86_64/tst-quad1pie.c: New file.
1973         * sysdeps/x86_64/tst-quad2.c: Likewise.
1974         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1975         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1976         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1977         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1978         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1980 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1982         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1983         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1984         * streams/stropts.h (t_scalar_t): Define type.
1986         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1987         (_PATH_PRESERVE): Set to "/var/lib".
1988         (_PATH_RWHODIR): Set to "/var/spool/rwho".
1990         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1991         instead of int.
1993         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1994         if __dir_mkfile succeeded.
1996         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1997         checking for _hurd_dtablesize.  Unlock it right after having
1998         finished _hurd_dtable allocation.
2000 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2002         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2003         * sysdeps/mach/hurd/configure: Regenerated.
2004         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2005         special-casing to...
2006         * sysdeps/gnu/configure.in: ... this new file.
2007         * sysdeps/unix/sysv/linux/configure: Regenerated.
2008         * sysdeps/gnu/configure: New generated file.
2010         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2011         for Linux: use nsec instead of usec, as well as:
2012         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2013         members of type struct timespec.
2014         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2015         New macros.
2016         (struct stat64): Likewise.
2017         (_STATBUF_ST_NSEC): New macro.
2018         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2020         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2021         __strtoul_internal rather than strtoul.
2023 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2025         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2026         and reject them.
2028 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2030         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2031         which preserves existing values.
2032         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2034 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2036         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2037         TIMEOUT values.  Return EINVAL for NFDS values either negative or
2038         greater than FD_SETSIZE.
2040 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2042         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2043         allocated, call __vm_protect to finish enabling the existing space, and
2044         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2045         allocate the remainder.
2047 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2049         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2050         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
2052 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2054         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2055         sysdeps/mach/hurd/readlink.c.
2057         * posix/tst-sysconf.c (posix_options): Only use
2058         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2059         _POSIX_SYNCHRONIZED_IO when they are defined
2060         * sysdeps/mach/hurd/bits/posix_opt.h:
2061         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2062         (_XOPEN_REALTIME): Undefine macro.
2063         (_XOPEN_REALTIME_THREADS): Undefine macro.
2064         (_XOPEN_SHM): Undefine macro.
2065         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2066         macro to -1.
2067         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2068         macro to -1.
2069         (_POSIX_ASYNC_IO): Undefine macro.
2070         (_POSIX_PRIORITIZED_IO): Undefine macro.
2071         (_POSIX_SPIN_LOCKS): Define macro to -1.
2073         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2074         SA_NODEFER, SA_RESETHAND.
2075         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2076         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2077         F_DUPFD_CLOEXEC.
2079 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2081         * elf/Makefile (pldd-modules): Define unconditionally.
2083 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2085         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2087 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2089         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2090         Return ENOENT when name is empty.
2091         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2093 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2095         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2097         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2099 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2101         Fix mlock in all cases except non-readable pages.
2102         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2103         instead of VM_PROT_ALL as parameter to __vm_wire function.
2105         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2106         (__mkdir): When path is `/', just fail with EEXIST.
2107         * sysdeps/mach/hurd/mkdirat.c: Likewise.
2109 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2111         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2112         <sys/uio.h> (for writev).
2113         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2114         and <sys/param.h> (for MIN).
2116 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
2118         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2119         REQUESTED_TIME.  Properly set the remaining time and return EINTR
2120         if interrupted.
2122 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2124         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2125         Depend on against $(link-rpcuserlibs).
2127 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2129         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2130         (__libc_stack_end): Do not use attribute_relro.
2131         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2132         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2133         to libthread-provided value.
2134         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2135         attribute_relro.
2137 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2139         [BZ #3748]
2140         * bits/libc-lock.h (__libc_once_get): New macro.
2141         * sysdeps/mach/bits/libc-lock.h: Likewise.
2142         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2143         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2144         instead of using implementation details.
2146         * libio/fileops.c: Unconditionally include <kernel-features.h>.
2147         * libio/freopen.c: Likewise.
2148         * libio/freopen64.c: Likewise.
2149         * misc/syslog.c: Likewise.
2150         * nscd/connections.c: Likewise.
2151         * nscd/netgroupcache.c: Likewise.
2152         * sysdeps/posix/getcwd.c: Likewise.
2154 2012-05-10  Roland McGrath  <roland@hack.frob.com>
2156         * math/w_ilogbf.c: Add #include <limits.h>.
2158 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2160         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2161         path instead of returning without unlocking.
2163         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2164         immediate-write ioctls.
2165         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2167 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2169         * sysdeps/mach/hurd/i386/init-first.c (init): Use
2170         __builtin_frame_address instead of making assumptions about the
2171         location of the return address relative to DATA.  Force early load of
2172         the return address.
2173         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2174         __builtin_frame_address.
2176         dup3 for GNU Hurd.
2177         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2178         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
2179         implement dup3 and do some further code clean-ups.
2180         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2181         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2183 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2185         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2187         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2188         HURD_CRITICAL_END around holding _hurd_dtable_lock.
2189         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2190         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2191         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2192         d->port.lock.
2194         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2195         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
2196         when handler == SIG_ERR, not when handler != SIG_ERR.
2198 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2200         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2201         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2202         definitions.
2204         accept4 for GNU Hurd.
2205         * include/sys/socket.h (__libc_accept4): New prototype.
2206         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
2207         to implement __libc_accept4.
2208         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2209         __libc_accept4.
2210         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2212         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2213         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2214         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2215         signal-defines.sym.
2217 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2219         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2221 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
2223         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2224         assertion on O_CLOEXEC flag.
2225         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2226         * hurd/intern-fd.c: Likewise.
2227         * hurd/port2fd.c: Likewise.
2229 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2231         [BZ #3906]
2232         * bits/in.h (IPV6_PKTINFO): Define new macro.
2233         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2235 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2237         [BZ #13954]
2238         [BZ #13955]
2239         [BZ #13956]
2240         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2241         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2242         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2243         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2244         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2245         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2246         * math/libm-test.inc (logb_test) : Additional logb tests.
2248 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
2249             Andreas Jaeger  <aj@suse.de>
2251         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2252         * configure: Regenerated.
2253         * config.h.in (LINK_OBSOLETE_RPC): New macro.
2254         * config.make.in (link-obsolete-rpc): New substituted variable.
2255         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2256         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2257         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2258         (shared-only-routines): Don't set it under [link-obsolete-rpc],
2259         so that libc.a contains the symbols.
2260         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2261         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2262         * sunrpc/auth_none.c: Likewise.
2263         * sunrpc/auth_unix.c: Likewise.
2264         * sunrpc/authdes_prot.c: Likewise.
2265         * sunrpc/authuxprot.c: Likewise.
2266         * sunrpc/clnt_gen.c: Likewise.
2267         * sunrpc/clnt_perr.c: Likewise.
2268         * sunrpc/clnt_raw.c: Likewise.
2269         * sunrpc/clnt_simp.c: Likewise.
2270         * sunrpc/clnt_tcp.c: Likewise.
2271         * sunrpc/clnt_udp.c: Likewise.
2272         * sunrpc/clnt_unix.c: Likewise.
2273         * sunrpc/des_crypt.c: Likewise.
2274         * sunrpc/des_soft.c: Likewise.
2275         * sunrpc/get_myaddr.c: Likewise.
2276         * sunrpc/key_call.c: Likewise.
2277         * sunrpc/key_prot.c: Likewise.
2278         * sunrpc/netname.c: Likewise.
2279         * sunrpc/pm_getmaps.c: Likewise.
2280         * sunrpc/pm_getport.c: Likewise.
2281         * sunrpc/pmap_clnt.c: Likewise.
2282         * sunrpc/pmap_prot.c: Likewise.
2283         * sunrpc/pmap_prot2.c: Likewise.
2284         * sunrpc/pmap_rmt.c: Likewise.
2285         * sunrpc/publickey.c: Likewise.
2286         * sunrpc/rpc_cmsg.c: Likewise.
2287         * sunrpc/rpc_common.c: Likewise.
2288         * sunrpc/rpc_dtable.c: Likewise.
2289         * sunrpc/rpc_prot.c: Likewise.
2290         * sunrpc/rpc_thread.c: Likewise.
2291         * sunrpc/rtime.c: Likewise.
2292         * sunrpc/svc.c: Likewise.
2293         * sunrpc/svc_auth.c: Likewise.
2294         * sunrpc/svc_raw.c: Likewise.
2295         * sunrpc/svc_run.c: Likewise.
2296         * sunrpc/svc_tcp.c: Likewise.
2297         * sunrpc/svc_udp.c: Likewise.
2298         * sunrpc/svc_unix.c: Likewise.
2299         * sunrpc/svcauth_des.c: Likewise.
2300         * sunrpc/xcrypt.c: Likewise.
2301         * sunrpc/xdr.c: Likewise.
2302         * sunrpc/xdr_array.c: Likewise.
2303         * sunrpc/xdr_float.c: Likewise.
2304         * sunrpc/xdr_intXX_t.c: Likewise.
2305         * sunrpc/xdr_mem.c: Likewise.
2306         * sunrpc/xdr_rec.c: Likewise.
2307         * sunrpc/xdr_ref.c: Likewise.
2308         * sunrpc/xdr_sizeof.c: Likewise.
2309         * sunrpc/xdr_stdio.c: Likewise.
2311 2012-05-10  Roland McGrath  <roland@hack.frob.com>
2313         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2314         change.  Update copyright years.
2316 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
2318         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2320 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
2321             Joseph Myers  <joseph@codesourcery.com>
2322             Paul Pluzhnikov  <ppluzhnikov@google.com>
2324         [BZ #14012]
2325         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2326         requiring rpcgen.
2327         [cross-compiling] (extra-libs): Likewise.
2328         [cross-compiling] (extra-libs-others): Likewise.
2329         [cross-compiling] (librpcsvc-routines): Likewise.
2330         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2331         [cross-compiling] (omit-deps): Likewise.
2332         (sunrpc-CPPFLAGS): New variable.
2333         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2334         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2335         (cross-rpcgen-objs): New variable.
2336         (extra-objs): Append $(cross-rpcgen-objs).
2337         ($(cross-rpcgen-objs)): New rule.
2338         ($(objpfx)cross-rpcgen): Likewise.
2339         (rpcgen-cmd): Define to use $(built-program-file).  Expand
2340         comment.
2341         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2342         ($(objpfx)x%.stmp): Likewise.
2343         * sunrpc/proto.h [IS_IN_build] (_): Define.
2344         [IS_IN_build] (_libc_intl_domainname): Likewise.
2346 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
2348         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2349         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2350         and R_X86_64_TPOFF64.
2352 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
2354         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2355         sysdeps/unix/sysv/syscalls.list.
2356         (stime): Likewise.
2357         (utime): Likewise.
2358         * sysdeps/unix/sysv/syscalls.list: Remove file.
2360 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
2362         [BZ #3440]
2363         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2364         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2365         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2366         (__LC_IDENTIFICATION): Make these macros useful in #if
2367         expressions, as required by C99.
2369 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
2371         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2372         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
2373         after this.
2375 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
2377         * stdlib/longlong.h: Updated from GCC.
2379 2012-05-09  Andreas Jaeger  <aj@suse.de>
2381         * nscd/nscd.c (run_modes): Make named enum, reorder so that
2382         default is first entry.
2383         (run_mode): Set type.
2384         (main): Remove informal message about syslog.
2385         (options): Fix typo.
2387         [BZ #14053]
2388         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2389         to asm.
2390         (lrint): Likewise.
2391         (llrintf): Likewise.
2392         (llrint): Likewise.
2393         (rint): Likewise.
2394         (rintf): Likewise.
2395         (nearbyint): Likewise.
2396         (nearbyintf): Likewise.
2398 2012-05-09  Andreas Jaeger  <aj@suse.de>
2399             Pedro Alves  <palves@redhat.com>
2401         * nscd/nscd.c (run_mode): Use enum.
2402         (main): Cleanup coding style issue.
2404 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
2405             Andreas Jaeger  <aj@suse.de>
2407         * nscd/nscd.c (go_background): Replaced with...
2408         (run_mode): ... this.
2409         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2410         (options): Add -F --foreground.
2411         (main): Implement it.
2412         (parse_opt): Parse it.
2414 2012-05-09  Andreas Jaeger  <aj@suse.de>
2416         [BZ #14083]
2417         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2418         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2419         -Wconversion warning.
2420         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2421         Likewise.
2423 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
2425         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
2426         == 0.
2427         (LC_ALL): Use macro-int-constant.
2428         (LC_COLLATE): Likewise.
2429         (LC_CTYPE): Likewise.
2430         (LC_MESSAGES): Likewise.
2431         (LC_MONETARY): Likewise.
2432         (LC_NUMERIC): Likewise.
2433         (LC_TIME): Likewise.
2434         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2435         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2436         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2437         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2438         Specify type.
2439         [C99-based standards] (float_t): Expect type.
2440         [C99-based standards] (double_t): Expect type.
2441         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
2442         type.
2443         [C99-based standards] (HUGE_VALL): Likewise.
2444         [C99-based standards] (INFINITY): Likewise.
2445         [C99-based standards] (NAN): Likewise.
2446         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2447         [C99-based standards] (FP_NAN): Likewise.
2448         [C99-based standards] (FP_NORMAL): Likewise.
2449         [C99-based standards] (FP_SUBNORMAL): Likewise.
2450         [C99-based standards] (FP_ZERO): Likewise.
2451         [C99-based standards] (FP_FAST_FMA): Use
2452         optional-macro-int-constant.  Specify type.  Require == 1.
2453         [C99-based standards] (FP_FAST_FMAF): Likewise.
2454         [C99-based standards] (FP_FAST_FMAL): Likewise.
2455         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2456         [C99-based standards] (FP_ILOGBNAN): Likewise.
2457         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2458         Specify type.
2459         [C99-based standards] (MATH_ERREXCEPT): Likewise.
2460         [C99-based standards] (math_errhandling): Specify type.
2461         [ISO99 || ISO11] (signgam): Do not allow.
2462         [non-C99-based standards] (copysignf): Do not allow.
2463         [non-C99-based standards] (exp2f): Likewise.
2464         [non-C99-based standards] (log2f): Likewise.
2465         [non-C99-based standards] (modff): Allow.
2466         [non-C99-based standards] (erff): Do not allow.
2467         [non-C99-based standards] (erfcf): Likewise.
2468         [non-C99-based standards] (gammaf): Likewise.
2469         [non-C99-based standards] (hypotf): Likewise.
2470         [non-C99-based standards] (j0f): Likewise.
2471         [non-C99-based standards] (j1f): Likewise.
2472         [non-C99-based standards] (jnf): Likewise.
2473         [non-C99-based standards] (lgammaf): Likewise.
2474         [non-C99-based standards] (tgammaf): Likewise.
2475         [non-C99-based standards] (y0f): Likewise.
2476         [non-C99-based standards] (y1f): Likewise.
2477         [non-C99-based standards] (ynf): Likewise.
2478         [non-C99-based standards] (isnanf): Likewise.
2479         [non-C99-based standards] (acoshf): Likewise.
2480         [non-C99-based standards] (asinhf): Likewise.
2481         [non-C99-based standards] (atanhf): Likewise.
2482         [non-C99-based standards] (cbrtf): Likewise.
2483         [non-C99-based standards] (expm1f): Likewise.
2484         [non-C99-based standards] (ilogbf): Likewise.
2485         [non-C99-based standards] (log1pf): Likewise.
2486         [non-C99-based standards] (logbf): Likewise.
2487         [non-C99-based standards] (nextafterf): Likewise.
2488         [non-C99-based standards] (remainderf): Likewise.
2489         [non-C99-based standards] (rintf): Likewise.
2490         [non-C99-based standards] (scalbf): Likewise.
2491         [non-C99-based standards] (copysignl): Likewise.
2492         [non-C99-based standards] (exp2l): Likewise.
2493         [non-C99-based standards] (log2l): Likewise.
2494         [non-C99-based standards] (modfl): Allow.
2495         [non-C99-based standards] (erfl): Do not allow.
2496         [non-C99-based standards] (erfcl): Likewise.
2497         [non-C99-based standards] (gammal): Likewise.
2498         [non-C99-based standards] (hypotl): Likewise.
2499         [non-C99-based standards] (j0l): Likewise.
2500         [non-C99-based standards] (j1l): Likewise.
2501         [non-C99-based standards] (jnl): Likewise.
2502         [non-C99-based standards] (lgammal): Likewise.
2503         [non-C99-based standards] (tgammal): Likewise.
2504         [non-C99-based standards] (y0l): Likewise.
2505         [non-C99-based standards] (y1l): Likewise.
2506         [non-C99-based standards] (ynl): Likewise.
2507         [non-C99-based standards] (isnanl): Likewise.
2508         [non-C99-based standards] (acoshl): Likewise.
2509         [non-C99-based standards] (asinhl): Likewise.
2510         [non-C99-based standards] (atanhl): Likewise.
2511         [non-C99-based standards] (cbrtl): Likewise.
2512         [non-C99-based standards] (expm1l): Likewise.
2513         [non-C99-based standards] (ilogbl): Likewise.
2514         [non-C99-based standards] (log1pl): Likewise.
2515         [non-C99-based standards] (logbl): Likewise.
2516         [non-C99-based standards] (nextafterl): Likewise.
2517         [non-C99-based standards] (remainderl): Likewise.
2518         [non-C99-based standards] (rintl): Likewise.
2519         [non-C99-based standards] (scalbl): Likewise.
2520         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2521         [non-C99-based standards] (FP_*): Do not allow.
2522         [C99-based standards] (FP_*): Change to
2523         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2524         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2525         allow.
2526         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2527         (SIG_ERR): Likewise.
2528         [X/Open-based standards] (SIG_HOLD): Likewise.
2529         (SIG_IGN): Likewise.
2530         (SIGABRT): Use macro-int-constant.  Specify type.  Require
2531         positive value.
2532         (SIGFPE): Likewise.
2533         (SIGILL): Likewise.
2534         (SIGINT): Likewise.
2535         (SIGSEGV): Likewise.
2536         (SIGTER): Likewise.
2537         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2538         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2539         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2540         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2541         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2542         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2543         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2544         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2545         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2546         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2547         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2548         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2549         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2550         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2551         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2552         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2553         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2554         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2555         [X/Open-based standards] (SIGTRAP): Likewise.
2556         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2557         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2558         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2559         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2560         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2561         allow.
2563 2012-05-08  Ian Wienand  <ianw@vmware.com>
2565         [BZ #14080]
2566         * time/tzset.c (__tzset_parse_tz): Update default rules for
2567         daylight time changes in the Energy Policy Act of 2005.
2569 2012-05-09  Andreas Jaeger  <aj@suse.de>
2571         [BZ #13983]
2572         * elf/ldconfig.c (parse_conf): Change string to make clear that
2573         ldconfig only issued a warning if ld.so.conf does not exist.
2575 2012-05-08  David S. Miller  <davem@davemloft.net>
2577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2578         movxtod instead of popping the value on the stack.
2580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2582 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
2584         * config.h.in: Add HAVE_ARM_PCS_VFP.
2586 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
2588         [BZ #13979]
2589         * include/features.h: Warn if user requests __FORTIFY_SOURCE
2590         checking but the checks are disabled for any reason.
2592 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2594         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2595         and ELF64_R_TYPE with ELFW(R_TYPE).
2597 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
2599         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2600         (ulimit): Likewise.
2602         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2603         (settimeofday): Likewise.
2605 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
2607         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
2608         a struct th_u2 inside the union, and move tu_block/tu_code into
2609         a new th_u3 union of tu_block/tu_code inside of that.  Move
2610         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
2611         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
2612         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2613         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2614         (th_stuff): Change to th_u1.tu_stuff.
2615         (th_data): Define.
2616         (th_msg): Change to th_u1.th_u2.tu_data.
2618 2012-05-07  David S. Miller  <davem@davemloft.net>
2620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2622         [BZ #14074]
2623         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2624         (SETUP_PIC_REG): Use it.
2625         (SETUP_PIC_REG_LEAF): Use it.
2627 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
2629         [BZ #13885]
2630         [BZ #13923]
2631         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2632         USE_AS_EXPM1L.
2633         (EXPL_FINITE): Likewise.
2634         (FLDLOG): Likewise.
2635         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2636         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2637         e_expl.S.
2638         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2639         USE_AS_EXPM1L.
2640         (EXPL_FINITE): Likewise.
2641         (FLDLOG): Likewise.
2642         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2643         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2644         e_expl.S.
2645         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
2646         test of -max_value argument for long double.
2647         * sysdeps/i386/fpu/libm-test-ulps: Update.
2648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2650 2012-05-06  David S. Miller  <davem@davemloft.net>
2652         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2653         quad soft-float symbols whose references which are compiler
2654         generated.
2655         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2657 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
2659         [BZ #13884]
2660         [BZ #13914]
2661         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2662         USE_AS_EXP10L.
2663         (EXPL_FINITE): Likewise.
2664         (FLDLOG): Likewise.
2665         (c0): Likewise.
2666         (c1): Likewise.
2667         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
2668         Adjust comments for base varying.
2669         (__expl_finite): Change alias to EXPL_FINITE.
2670         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2671         e_expl.S.
2672         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2673         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2674         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2675         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2676         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2677         USE_AS_EXP10L.
2678         (EXPL_FINITE): Likewise.
2679         (FLDLOG): Likewise.
2680         (c0): Likewise.
2681         (c1): Likewise.
2682         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
2683         Adjust comments for base varying.
2684         (__expl_finite): Change alias to EXPL_FINITE.
2685         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
2686         tests for bugs.
2687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2689         [BZ #14064]
2690         * math/libm-test.inc (check_float_internal): Correct ulp
2691         calculation for subnormal expected results.
2693 2012-05-06  Andreas Jaeger  <aj@suse.de>
2695         * Makeconfig (+math-flags): New, set to -frounding-math.
2696         (+cflags): Add +math-flags so that all of glibc gets compiled with
2697         it.
2699         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2701 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
2703         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2704         Disable one test.
2706         [BZ #13787]
2707         [BZ #13922]
2708         [BZ #14036]
2709         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2710         (__ieee754_expl): Allow for and saturate large arguments.
2711         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2712         (u_threshold): Likewise.
2713         (__exp): Call __ieee754_exp before checking for overflow and
2714         underflow.
2715         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2716         (u_threshold): Likewise.
2717         (__expf): Call __ieee754_expf before checking for overflow and
2718         underflow.
2719         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2720         (u_threshold): Likewise.
2721         (__expl): Call __ieee754_expl before checking for overflow and
2722         underflow.
2723         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2724         (__ieee754_expl): Allow for and saturate large arguments.
2725         * math/libm-test.inc (exp_test): Add another test.  Do not allow
2726         missing overflow exception on overflow.
2727         (expm1_test): Do not allow missing overflow exception on overflow.
2729         * sysdeps/i386/fpu/e_expl.c: Move to ...
2730         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
2731         rather than using inline asm.
2732         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2733         * sysdeps/x86_64/fpu/e_expl.S: Copy from
2734         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2736         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2737         (nice): Likewise.
2738         (poll): Likewise.
2739         (signal): Likewise.
2740         (time): Likewise.
2741         (times): Likewise.
2743 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
2745         * sysdeps/unix/syscalls.list (adjtime): Add entry from
2746         sysdeps/unix/common/syscalls.list.
2747         (fchmod): Likewise.
2748         (fchown): Likewise.
2749         (ftruncate): Likewise.
2750         (getrusage): Likewise.
2751         (gettimeofday): Likewise.
2752         (setpgid): Likewise.
2753         (setregid): Likewise.
2754         (setreuid): Likewise.
2755         (sigaction): Likewise.
2756         (truncate): Likewise.
2757         (vhangup): Likewise.
2758         * sysdeps/unix/common/syscalls.list: Remove file.
2759         * sysdeps/unix/bsd/Implies: Don't include unix/common.
2760         * sysdeps/unix/sysv/linux/Implies: Likewise.
2762 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
2764         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2765         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2766         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2767         Moved to ...
2768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2769         Here.
2770         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2771         to ...
2772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2773         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2774         to ...
2775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2776         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2777         to ...
2778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2779         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2780         to ...
2781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2782         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2783         to ...
2784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2785         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2786         to ...
2787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2788         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2789         to ...
2790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2791         Here.
2792         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2793         to ...
2794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2795         Here.
2796         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2797         to ...
2798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2799         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2800         Moved to ...
2801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2802         Here.
2803         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2804         to ...
2805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2807 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
2809         * sysdeps/unix/common/bits/dirent.h: Remove file.
2810         * sysdeps/unix/common/bits/fcntl.h: Likewise.
2812         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2813         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2814         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2815         * sysdeps/unix/bsd/isatty.c: Likewise.
2816         * sysdeps/unix/bsd/tcdrain.c: Likewise.
2817         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2818         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2820 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2822         [BZ #13563]
2823         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2824         long double comparison inaccuracies.
2825         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2828 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
2830         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2831         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2833 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
2835         [BZ #14049]
2836         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2837         nonzero digits before rounding a hex value.
2838         * stdlib/tst-strtod.c (tests): Add another test.
2840 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2842         * sysdeps/s390/fpu/libm-test-ulps: Update.
2844 2012-05-03  Andreas Jaeger  <aj@suse.de>
2846         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2847         does not get optimized out.
2848         (malloc_opt_barrier): New.
2850 2012-05-03  Andreas Jaeger  <aj@suse.de>
2851             Roland McGrath  <roland@hack.frob.com>
2853         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2854         intermediate file deletion.
2855         (generated): Add .symlist files.
2857 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
2859         [BZ #13775]
2860         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2861         Redirect under this condition.
2862         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2863         [__USE_GNU] (__dprintf_chk): Not under this condition.
2864         [__USE_GNU] (__vdprintf_chk): Likewise.
2865         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2866         under this condition.
2867         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2868         [__USE_XOPEN2K8] (dprintf): Define under this condition.
2869         [__USE_XOPEN2K8] (vdprintf): Likewise.
2870         [__USE_GNU] (__dprintf_chk): Not under this condition.
2871         [__USE_GNU] (__vdprintf_chk): Likewise.
2872         [__USE_GNU] (dprintf): Likewise.
2873         [__USE_GNU] (vdprintf): Likewise.
2875 2012-05-03  Roland McGrath  <roland@hack.frob.com>
2877         * elf/Makefile (common-generated): Set this instead of generated for
2878         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
2879         $(all-built-dso)-derived lists.
2881 2012-05-03  Andreas Jaeger  <aj@suse.de>
2883         * sysdeps/i386/fpu/libm-test-ulps: Update.
2885         * FAQ: Removed.
2886         * FAQ.in: Likewise.
2887         * scripts/gen-FAQ.pl: Likewise.
2888         * manual/install.texi (Installation): Point to online location of
2889         FAQ.
2890         * Makefile (files-for-dist): Remove FAQ.
2891         (FAQ): Remove.
2893 2012-05-02  Allan McRae  <allan@archlinux.org>
2895         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2896         (LDFLAGS-reldepmod5.so): Likewise.
2897         (LDFLAGS-reldep6mod1.so): Likewise.
2898         (LDFLAGS-reldep6mod4.so): Likewise.
2899         (LDFLAGS-reldep8mod3.so): Likewise.
2900         (LDFLAGS-unload4mod1.so): Likewise.
2901         (LDFLAGS-unload4mod2.so): Likewise.
2902         (LDFLAGS-tst-initorder): Likewise.
2903         (LDFLAGS-tst-initordera2.so): Likewise.
2904         (LDFLAGS-tst-initordera3.so): Likewise.
2905         (LDFLAGS-tst-initordera4.so): Likewise.
2906         (LDFLAGS-tst-initorderb2.so): Likewise.
2907         (LDFLAGS-noload): Likewise.
2908         (LDFLAGS-next): Likewise.
2909         (LDFLAGS-order2mod1.so): Likewise.
2910         (LDFLAGS-order2mod2.so): Likewise.
2911         (LDFLAGS-tst-initorder2): Likewise.
2912         (LDFLAGS-tst-initorder2a.so): Likewise.
2913         (LDFLAGS-tst-initorder2b.so): Likewise.
2914         (LDFLAGS-tst-initorder2c.so): Likewise.
2915         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2917 2012-05-02  David S. Miller  <davem@davemloft.net>
2919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2921 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
2923         [BZ #14055]
2924         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2926 2012-05-02  Andreas Jaeger  <aj@suse.de>
2928         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2929         since we manipulate rounding mode.
2930         (CPPFLAGS-test-idouble.c): Likewise.
2931         (CPPFLAGS-test-ifloat.c): Likewise.
2932         (CFLAGS-test-ldouble.c): Likewise.
2933         (CFLAGS-test-double.c): Likewise.
2934         (CFLAGS-test-float.c): Likewise.
2935         (CFLAGS-test-misc.c): Likewise.
2936         (CFLAGS-test-test-fenv.c): Likewise.
2938 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2940         [BZ #2550]
2941         [BZ #2570]
2942         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2943         comparisons to determine direction to adjust input.
2945 2012-05-01  Roland McGrath  <roland@hack.frob.com>
2947         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2948         output to the target.
2950         * scripts/localplt.awk: New file.
2951         * elf/Makefile ($(objpfx)check-localplt): Target removed.
2952         (check-localplt-CFLAGS): Variable removed.
2953         ($(all-built-dso:=.jmprel)): New static pattern rule.
2954         (generated): Add those targets.
2955         (localplt-built-dso): New variable.
2956         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2958         * elf/check-localplt.c: File removed.
2960         * scripts/check-execstack.awk: New file.
2961         * elf/Makefile ($(objpfx)check-execstack): Target removed.
2962         (check-execstack-CFLAGS): Variable removed.
2963         ($(objpfx)check-execstack.h): Target removed.
2964         ($(objpfx)execstack-default): New target.
2965         (generated): Add that instead of check-execstack.h.
2966         ($(all-built-dso:=.phdr)): New static pattern rule.
2967         (generated): Add those targets.
2968         * elf/check-execstack.c: File removed.
2970         * scripts/check-textrel.awk: New file.
2971         * elf/Makefile ($(objpfx)check-textrel): Target removed.
2972         (check-textrel-CFLAGS): Variable removed.
2973         (all-built-dso): Use := to define.o
2974         ($(all-built-dso:=.dyn)): New static pattern rule.
2975         (generated): Add those targets.
2976         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2977         * config.make.in (READELF): New substituted variable.
2978         * elf/check-textrel.c: File removed.
2980 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
2982         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2983         allow.
2984         * conform/data/ctype.h-data [C99-based standards] (isblank):
2985         Expect function.
2986         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2987         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2988         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2989         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2990         Specify type.  Require positive value.
2991         (EILSEQ): Likewise.
2992         (ERANGE): Likewise.
2993         [ISO || POSIX] (EILSEQ): Do not expect.
2994         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2995         Specify type.  Require positive value.
2996         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2997         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2998         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2999         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3000         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3001         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3002         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3003         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3004         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3005         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3006         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3007         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3008         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3009         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3010         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3011         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3012         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3013         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3014         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3015         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3016         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3017         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3018         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3019         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3020         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3021         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3022         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3023         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3024         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3025         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3026         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3027         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3028         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3029         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3030         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3031         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3032         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3033         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3034         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3035         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3036         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3037         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3038         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3039         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3040         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3041         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3042         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3043         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3044         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3045         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3046         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3047         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3048         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3049         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3050         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3051         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3052         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3053         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3054         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3055         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3056         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3057         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3058         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3059         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3060         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3061         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3062         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3063         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3064         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3065         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3066         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3067         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3068         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3069         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3070         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3071         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3072         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3073         Require >= 2.
3074         (FLT_ROUNDS): Expect as macro, not constant.
3075         (FLT_MANT_DIG): Use macro-int-constant.
3076         (DBL_MANT_DIG): Likewise.
3077         (LDBL_MANT_DIG): Likewise.
3078         (FLT_DIG): Likewise.
3079         (DBL_DIG): Likewise.
3080         (LDBL_DIG): Likewise.
3081         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
3082         (DBL_MIN_EXP): Likewise.
3083         (LDBL_MIN_EXP): Likewise.
3084         (FLT_MAX_EXP): Use macro-int-constant.
3085         (DBL_MAX_EXP): Likewise.
3086         (LDBL_MAX_EXP): Likewise.
3087         (FLT_MAX_10_EXP): Likewise.
3088         (DBL_MAX_10_EXP): Likewise.
3089         (LDBL_MAX_10_EXP): Likewise.
3090         (FLT_MAX): Use macro-constant.
3091         (DBL_MAX): Likewise.
3092         (LDBL_MAX): Likewise.
3093         (FLT_EPSILON): Use macro-constant.  Give upper bound.
3094         (DBL_EPSILON): Likewise.
3095         (LDBL_EPSILON): Likewise.
3096         (FLT_MIN): Likewise.
3097         (DBL_MIN): Likewise.
3098         (LDBL_MIN): Likewise.
3099         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3100         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3101         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3102         [ISO11] (FLT_HAS_SUBNORM): Likewise.
3103         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3104         [ISO11] (DBL_DECIMAL_DIG): Likewise.
3105         [ISO11] (FLT_DECIMAL_DIG): Likewise.
3106         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3107         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3108         [ISO11] (FLT_TRUE_MIN): Likewise.
3109         [ISO11] (LDBL_TRUE_MIN): Likewise.
3110         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3111         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3112         (SCHAR_MIN): Use macro-int-constant.  Specify type.
3113         (SCHAR_MAX): Likewise.
3114         (UCHAR_MAX): Likewise.
3115         (CHAR_MIN): Likewise.
3116         (CHAR_MAX): Likewise.
3117         (MB_LEN_MAX): Use macro-int-constant.
3118         (SHRT_MIN): Use macro-int-constant.  Specify type.
3119         (SHRT_MAX): Likewise.
3120         (USHRT_MAX): Likewise.
3121         (INT_MAX): Likewise.
3122         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
3123         bound negative.
3124         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
3125         bound with "U".
3126         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
3127         bound with "L".
3128         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
3129         bound negative.  Suffix upper bound with "L".
3130         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
3131         bound with "UL".
3132         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3133         Specify type.
3134         [C99-based standards] (LLONG_MAX): Likewise.
3135         [C99-based standards] (ULLONG_MAX): Likewise.
3136         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
3137         == 0.
3138         [ISO11] (max_align_t): Require type.
3139         [ISO || ISO99 || ISO11] (*_t): Do not allow.
3141         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3142         from $CFLAGS, without defining away __attribute__ calls.
3143         (checknamespace): Use $CFLAGS_namespace.
3145         * conform/conformtest.pl (@keywords): Only include C99 keywords
3146         for standards based on C99 or C11.
3148         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3149         Disable tests.
3150         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3151         UNIX98]: Likewise.
3153         * conform/conformtest.pl: Handle "macro-int-constant" and test for
3154         usability of symbols in #if.
3156         * conform/conformtest.pl: If macro or constant types start
3157         "promoted:", expect the symbol to be of the following type
3158         promoted by the integer promotions.
3160         * conform/conformtest.pl: Parse all "constant" and "macro" lines
3161         in one place.  Also handle "macro-constant".
3163         * conform/conformtest.pl: Only accept expected macro values with
3164         "==".  Parse all "macro" lines in one place.
3165         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3167         * conform/conformtest.pl: Handle braced types on "constant" lines
3168         instead of handling "typed-constant".
3169         * conform/data/signal.h-data: Use "constant" instead of
3170         "typed-constant".
3172         * conform/conformtest.pl: Handle "optional-" at start of lines in
3173         one place rather than duplicating several cases.  Handle each
3174         format of "macro" line with initial "optional-".
3176         * conform/conformtest.pl: Only accept expected constant or
3177         optional-constant values with "==".  Parse all "constant" lines in
3178         one place.  Parse all "optional-constant" lines in one place.
3179         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3180         * conform/data/fmtmsg.h-data: Likewise.
3181         * conform/data/netinet/in.h-data: Likewise.
3182         * conform/data/tar.h-data: Likewise.
3183         * conform/data/limits.h-data: Use "==" form on "constant" and
3184         "optional-constant" lines.
3186         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3187         Use -std=c99 for XOPEN2K.
3188         (@knownproblems): Remove.
3189         (newtoken): Don't check %isknown.
3191         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3192         Do not expect macro.
3193         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3194         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3195         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3196         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3197         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3198         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3199         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3200         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3201         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3202         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3203         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3204         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3205         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3206         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3207         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3208         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3209         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3210         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3211         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3212         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3213         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3214         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3215         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3216         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3217         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3218         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3219         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3220         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3221         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3222         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3223         [XPG3] (acosh): Likewise.
3224         [XPG3] (asinh): Likewise.
3225         [XPG3] (atanh): Likewise.
3226         [XPG3] (cbrt): Likewise.
3227         [XPG3] (expm1): Likewise.
3228         [XPG3] (ilogb): Likewise.
3229         [XPG3] (log1p): Likewise.
3230         [XPG3] (logb): Likewise.
3231         [XPG3] (nextafter): Likewise.
3232         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3233         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3234         [XPG3] (remainder): Likewise.
3235         [XPG3] (rint): Likewise.
3236         [XPG3 || XPG4 || UNIX98] (round): Likewise.
3237         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3238         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3239         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3240         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3241         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3242         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3243         [UNIX98 || XOPEN2K] (scalb): Expect.
3244         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3245         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3246         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3247         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3248         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3249         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3250         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3251         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3252         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3253         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3254         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3255         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3256         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3257         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3258         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3259         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3260         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3261         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3262         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3263         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3264         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3265         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3266         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3267         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3268         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3269         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3270         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3271         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3272         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3273         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3274         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3275         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3276         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3277         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3278         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3279         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3280         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3281         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3282         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3283         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3284         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3285         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3286         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3287         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3288         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3289         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3290         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3291         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3292         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3293         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3294         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3295         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3296         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3297         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3298         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3299         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3300         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3301         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3302         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3303         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3304         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3305         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3306         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3307         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3308         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3309         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3310         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3311         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3312         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3313         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3314         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3315         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3316         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3317         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3318         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3319         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3320         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3321         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3322         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3323         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3324         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3325         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3326         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3327         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3328         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3329         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3330         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3331         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3332         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3333         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3334         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3335         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3336         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3337         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3338         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3339         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3340         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3341         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3342         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3343         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3344         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3345         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3346         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3347         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3348         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3349         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3350         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3351         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3352         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3353         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3354         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3355         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3356         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3357         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3358         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3359         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3360         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3361         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3362         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3363         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3364         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3365         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3366         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3367         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3368         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3369         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3370         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3371         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3372         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3373         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3374         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3375         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3376         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3377         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3378         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3379         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3380         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3382         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3383         _XOPEN_SOURCE_EXTENDED for XPG4.
3385         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3387         * Makeconfig (localtime): Remove variable.
3388         (inst_localtime-file): Likewise.
3390 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3393         Update.
3394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3395         Update.
3396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3397         Update.
3398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3399         Update.
3400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3401         Update.
3402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3403         Update.
3404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3405         Update.
3406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3407         Update.
3408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3409         Update.
3411 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
3413         [BZ #2550]
3414         [BZ #2570]
3415         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3416         comparisons to determine direction to adjust input.
3417         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3418         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3419         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3420         Likewise.
3421         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3422         Likewise.
3423         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3424         Likewise.
3425         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3426         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3427         Likewise.
3428         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3429         Likewise.
3430         * math/libm-test.inc (nexttoward_test): Add more tests.
3432 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3434         [BZ #14040]
3435         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3436         in version GLIBC_2.1, not GLIBC_2.0.
3437         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3438         Likewise.
3440 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
3442         [BZ #13942]
3443         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3444         (1 - x) * (1 + x).
3445         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3446         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3447         * math/libm-test.inc (acos_test): Add more tests.
3448         (asin_test): Likewise.
3449         * sysdeps/i386/fpu/libm-test-ulps: Update.
3450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3452         [BZ #14034]
3453         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3454         of square root.
3455         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3456         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3457         * math/libm-test.inc (acos_test_tonearest): New function.
3458         (acos_test_towardzero): Likewise.
3459         (acos_test_downward): Likewise.
3460         (acos_test_upward): Likewise.
3461         (asin_test_tonearest): Likewise.
3462         (asin_test_towardzero): Likewise.
3463         (asin_test_downward): Likewise.
3464         (asin_test_upward): Likewise.
3465         (main): Call the new functions.
3466         * sysdeps/i386/fpu/libm-test-ulps: Update.
3467         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3469         [BZ #13884]
3470         [BZ #13924]
3471         * math/e_exp10.c: Include <float.h>.
3472         (__ieee754_exp10): Handle underflow here rather than multiplying
3473         large negative argument by M_LN10.
3474         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3475         of __ieee754_expf.
3476         * math/e_exp10l.c: Include <float.h>.
3477         (__ieee754_exp10l): Handle underflow here rather than multiplying
3478         large negative argument by M_LN10l.
3479         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
3480         spurious overflow exception on underflow.
3482 2012-04-29  Marek Polacek  <polacek@redhat.com>
3484         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3485         (__fortify_function): New macro.
3486         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3487         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3488         __extern_always_inline.
3489         * libio/bits/stdio2.h: Likewise.
3490         * libio/bits/stdio.h: Likewise.
3491         * string/string.h: Likewise.
3492         * string/bits/string3.h: Likewise.
3493         * include/stdio.h: Likewise.
3494         * stdlib/bits/stdlib.h: Likewise.
3495         * stdlib/stdlib.h: Likewise.
3496         * rt/bits/mqueue2.h: Likewise.
3497         * rt/mqueue.h: Likewise.
3498         * posix/bits/unistd.h: Likewise.
3499         * posix/unistd.h: Likewise.
3500         * io/bits/poll2.h: Likewise.
3501         * io/bits/fcntl2.h: Likewise.
3502         * io/fcntl.h: Likewise.
3503         * io/sys/poll.h: Likewise.
3504         * misc/bits/syslog.h: Likewise.
3505         * misc/bits/syslog-ldbl.h: Likewise.
3506         * misc/sys/syslog.h: Likewise.
3507         * socket/bits/socket2.h: Likewise.
3508         * socket/sys/socket.h: Likewise.
3509         * debug/tst-chk1.c: Likewise.
3510         * wcsmbs/bits/wchar2.h: Likewise.
3511         * wcsmbs/bits/wchar-ldbl.h: Likewise.
3512         * wcsmbs/wchar.h: Likewise.
3514 2012-04-29  Andreas Jaeger  <aj@suse.de>
3516         * Makerules (tests): Remove enable-check-abi protection.
3517         (check-abi-warn): Remove.
3518         (check-abi-%): Remove check-abi-warn usage.
3520         * configure.in: Remove check-abi configure option.
3521         * configure: Regenerated.
3522         * config.make.in (enable-check-abi): Remove.
3524 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
3526         [BZ #14033]
3527         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3528         double functions to double *_finite functions.
3530         [BZ #13941]
3531         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3532         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3533         LDBL_MIN_EXP.
3534         * stdio-common/Makefile (tests): Add tst-sprintf3.
3535         * stdio-common/tst-sprintf3.c: New file.
3537         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3538         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3540 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
3542         * conform/conformtest.pl: Remove duplicate typed-constant
3543         handling.
3545 2012-04-28  David S. Miller  <davem@davemloft.net>
3547         * Makerules (%.abilist): Add vpath on sysdep_dirs.
3548         (check-abi-%): Remove AWK script prerequisite and explicit
3549         abilist directory.
3550         (check-abi): Rewrite to just diff the symlist with the abilist.
3551         (config-tls, config-abi-config): Delete, no longer used.
3552         (update-abi-%): Remove AWK script and explicit abilist directory.
3553         (update-abi): Rewrite to simply compare and conditionally copy the
3554         symlist and the sysdep abilist file.  Remove update-abi-config
3555         checks.
3556         * abilist/ld.abilist: Remove.
3557         * abilist/libBrokenLocale.abilist: Remove.
3558         * abilist/libanl.abilist: Remove.
3559         * abilist/libcrypt.abilist: Remove.
3560         * abilist/libdl.abilist: Remove.
3561         * abilist/librt.abilist: Remove.
3562         * abilist/libthread_db.abilist: Remove.
3563         * abilist/libutil.abilist: Remove.
3564         * scripts/extract-abilist.awk: Remove.
3565         * scripts/merge-abilist.awk: Remove.
3566         * sysdeps/generic/libcidn.abilist: New file.
3567         * sysdeps/generic/libnss_compat.abilist: New file.
3568         * sysdeps/generic/libnss_db.abilist: New file.
3569         * sysdeps/generic/libnss_dns.abilist: New file.
3570         * sysdeps/generic/libnss_files.abilist: New file.
3571         * sysdeps/generic/libnss_hesiod.abilist: New file.
3572         * sysdeps/generic/libnss_nis.abilist: New file.
3573         * sysdeps/generic/libnss_nisplus.abilist: New file.
3574         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3575         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3576         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3577         file.
3578         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3579         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3580         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3581         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3582         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3583         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3584         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3585         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3586         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3587         file.
3588         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3589         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3590         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3591         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3592         file.
3593         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3594         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3595         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3596         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3597         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3598         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3599         file.
3600         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3601         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3602         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3603         file.
3604         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3605         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3606         New file.
3607         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3608         New file.
3609         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3610         New file.
3611         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3612         New file.
3613         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3614         New file.
3615         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3616         New file.
3617         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3618         New file.
3619         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3620         New file.
3621         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3622         New file.
3623         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3624         New file.
3625         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3626         New file.
3627         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3628         New file.
3629         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3630         New file.
3631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3632         file.
3633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3634         New file.
3635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3636         New file.
3637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3638         file.
3639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3640         New file.
3641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3642         New file.
3643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3644         file.
3645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3646         New file.
3647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3648         New file.
3649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3650         New file.
3651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3652         New file.
3653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3654         New file.
3655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3656         New file.
3657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3659         file.
3660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3661         New file.
3662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3663         file.
3664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3665         file.
3666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3667         file.
3668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3669         file.
3670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3671         file.
3672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3673         New file.
3674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3675         file.
3676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3677         file.
3678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3679         New file.
3680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3681         file.
3682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3684         file.
3685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3686         New file.
3687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3688         file.
3689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3690         file.
3691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3692         file.
3693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3694         file.
3695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3696         file.
3697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3698         New file.
3699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3700         file.
3701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3702         file.
3703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3704         New file.
3705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3706         file.
3707         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3708         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3709         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3710         file.
3711         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3712         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3713         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3714         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3715         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3716         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3717         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3718         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3719         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3720         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3723         file.
3724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3725         New file.
3726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3727         file.
3728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3729         file.
3730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3731         file.
3732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3733         file.
3734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3735         file.
3736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3737         New file.
3738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3739         New file.
3740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3741         file.
3742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3743         New file.
3744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3745         file.
3746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3748         file.
3749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3750         New file.
3751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3752         file.
3753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3754         file.
3755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3756         file.
3757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3758         file.
3759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3760         file.
3761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3762         New file.
3763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3764         New file.
3765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3766         file.
3767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3768         New file.
3769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3770         file.
3772 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
3774         * conform/conformtest.pl: Fix typo in handling typed-constant from
3775         allow-header.
3777 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
3779         * README: Cut down references to pre-2.6 Linux kernels and
3780         Linuxthreads.  Update lists of configurations in libc and ports
3781         and sort alphabetically.  Say "or newer" with Linux kernel version
3782         requirements.
3784         * config.h.in [IS_IN_build]: Allow compiling without optimization.
3786 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3788         [BZ #887]
3789         * math/libm-test.inc (logb_test_downward): New test to expose
3790         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3791         rounding mode.
3793 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
3795         [BZ #14027]
3796         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3797         to be done.
3798         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3799         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3801 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
3803         * sysdeps/unix/i386/brk.S: Remove file.
3804         * sysdeps/unix/i386/dl-brk.S: Likewise.
3805         * sysdeps/unix/i386/pipe.S: Likewise.
3806         * sysdeps/unix/i386/sigreturn.S: Likewise.
3807         * sysdeps/unix/i386/syscall.S: Likewise.
3808         * sysdeps/unix/i386/vfork.S: Likewise.
3809         * sysdeps/unix/i386/wait.S: Likewise.
3811         * sysdeps/unix/common/tcsendbrk.c: Move to ...
3812         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3814         * configure.in (arm*-none*): Do not allow without
3815         --enable-hacker-mode.
3816         (netbsd*): Remove case setting base_os.
3817         (386bsd*): Likewise.
3818         (freebsd*): Likewise.
3819         (bsdi*): Likewise.
3820         (osf*): Likewise.
3821         (sunos*): Likewise.
3822         (ultrix*): Likewise.
3823         (newsos*): Likewise.
3824         (dynix*): Likewise.
3825         (*bsd*): Likewise.
3826         (sysv*): Likewise.
3827         (isc*): Likewise.
3828         (esix*): Likewise.
3829         (sco*): Likewise.
3830         (minix*): Likewise.
3831         (irix4*): Likewise.
3832         (irix6*): Likewise.
3833         (solaris[2-9]*): Likewise.
3834         (none): Likewise.
3835         * configure: Regenerated.
3837 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3839         [BZ #11521]
3840         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3841         overflow or cancellation in calculating denominator.
3842         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3843         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3844         down expression to avoid unexpected rounding in newer GCCs.
3845         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3847 2012-04-26  David S. Miller  <davem@davemloft.net>
3849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3850         long-double compat symbols.
3851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3865 2012-04-25  David S. Miller  <davem@davemloft.net>
3867         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3868         HWCAP_* values only after the memory barriers have been defined.
3869         (atomic_full_barrier): Define.
3870         (atomic_read_barrier): Define.
3871         (atomic_write_barrier): Define.
3873 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3875         * shlib-versions: Add libgcc_s version information.
3876         * sysdeps/generic/libgcc_s.h: Remove.
3877         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3878         libgcc_s.h.
3879         * sysdeps/gnu/unwind-resume.c: Likewise.
3880         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3882 2012-04-25  David S. Miller  <davem@davemloft.net>
3884         * sysdeps/unix/sparc/brk.S: Delete.
3885         * sysdeps/unix/sparc/dl-brk.S: Delete.
3886         * sysdeps/unix/sparc/pipe.S: Delete.
3887         * sysdeps/unix/sparc/sysdep.S: Delete.
3888         * sysdeps/unix/sparc/sysdep.h: Delete.
3889         * sysdeps/unix/sparc/vfork.S: Delete.
3890         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3891         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3892         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3893         ret_ERRVAL, r0, r1, MOVE): Define.
3894         (JUMPTARGET): Remove.
3895         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3896         sysdeps/unix/sparc/sysdep.h
3897         (ENTRY, END): Remove.
3898         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3900 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
3902         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3903         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3904         -DIS_IN_build.
3906         * timezone/README: Update upstream location and email address for
3907         tzcode and tzdata.
3908         * timezone/zdump.c: Update from tzcode 2012b.
3909         * timezone/zic.c: Likewise.
3911         * configure.in (libc_cv_as_needed): Remove test.
3912         * configure: Regenerated.
3913         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3914         conditional definition.
3915         [$(have-as-needed) != yes] (no-as-needed): Likewise.
3916         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3917         * config.make.in (have-as-needed): Remove variable.
3919 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3920             Paul Pluzhnikov  <ppluzhnikov@google.com>
3922         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3923         strings correctly.
3925 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3927         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3928         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3929         * sysdeps/sh/strlen.S: Likewise.
3931 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
3933         * sysdeps/unix/fork.S: Remove file.
3934         * sysdeps/unix/i386/fork.S: Likewise.
3935         * sysdeps/unix/sparc/fork.S: Likewise.
3937         * sysdeps/unix/system.c: Remove file.
3938         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3940         * sysdeps/unix/getegid.S: Remove file.
3941         * sysdeps/unix/geteuid.S: Likewise.
3943 2012-04-24  Roland McGrath  <roland@hack.frob.com>
3945         * scripts/check-localplt.awk: New file.
3946         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3947         of diff.
3948         * scripts/data/localplt-generic.data: Add a comment.
3950         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3951         NODE when __dir_mkfile failed.
3952         * sysdeps/mach/hurd/symlinkat.c: Likewise.
3953         Reported by Ludovic Courtès <ludo@gnu.org>.
3955 2012-04-24  Andreas Jaeger  <aj@suse.de>
3957         * Makerules (common-clean): Also remove gen-as-const-headers
3958         files.
3960 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
3962         * Makerules (native-compile): Do not change working directory for
3963         build.  Use $(OUTPUT_OPTION) in command.
3964         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3966 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3968         [BZ #13886]
3969         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3970         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3971         * math/libm-test.inc (floor_test): Add more tests.
3972         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3974 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
3976         * sysdeps/unix/getdents.c: Remove file.
3977         * sysdeps/unix/sysv/getdents.c: Likewise.
3978         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3980         * sysdeps/unix/syscalls.list (madvise): Add syscall from
3981         sysdeps/unix/mman/syscalls.list.
3982         (mmap): Likewise.
3983         (mprotect): Likewise.
3984         (msync): Likewise.
3985         (munmap): Likewise.
3986         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3987         * sysdeps/unix/mman/syscalls.list: Remove.
3988         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3990         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3991         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3992         * configure: Regenerated.
3993         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3994         $(libgcc_s_suffix).
3995         * config.make.in (libgcc_s_suffix): Remove variable.
3997 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
3999         * sysdeps/unix/sysv/gethostname.c: Move to ...
4000         * sysdeps/posix/gethostname.c: ... here.
4002         * sysdeps/unix/execve.S: Remove file.
4004         * sysdeps/unix/_exit.S: Remove file.
4006 2012-04-23  Andreas Jaeger  <aj@suse.de>
4008         [BZ #13739]
4009         * manual/Makefile: Remove make dist support, there's no
4010         need for a stand-alone documentation tar ball.
4011         (TEXI2DVI): Define always, it's not in Makeconfig.
4012         (dist): Removed.
4013         (tar-it): Removed.
4014         (edition): Removed.
4015         (glibc-doc-$(edition).tar): Removed
4016         (%.Z): Removed.
4017         (%.gz): Removed.
4018         (%.uu): Removed.
4019         (ETAGS): Remove, it's in Makeconfig.
4020         (move-if-change): Remove, it's in Makeconfig.
4022 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
4024         [BZ #13970]
4025         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4026         (strtod, strtof, strtold, strtol, strtoul, strtoq)
4027         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4028         (strtod_l, strtof_l, strtold_l): Remove __wur.
4029         It is not necessarily an error to ignore strtol's return value.
4030         One can reliably look at the stored endptr to decide whether
4031         the number had valid syntax.
4033 2012-04-21  Andreas Jaeger  <aj@suse.de>
4035         [BZ #13739]
4036         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4038 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
4040         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4041         * sysdeps/unix/sysv/Versions: Remove file.
4043 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
4045         [BZ #13927]
4046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4048 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
4050         [BZ #7064]
4051         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4052         version from __vm86.
4054 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
4056         * sysdeps/unix/common/lxstat.c: Remove file.
4057         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4059         * sysdeps/unix/sysv/Makefile: Remove file.
4061         * sysdeps/unix/sysv/direct.h: Remove file.
4063         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4064         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4065         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4066         * sysdeps/unix/sysv/bits/signum.h: Likewise.
4067         * sysdeps/unix/sysv/bits/stat.h: Likewise.
4068         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4069         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4071         * sysdeps/unix/sysv/setrlimit.c: Remove file.
4073         * sysdeps/unix/xmknod.c: Remove file.
4074         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4076         * sysdeps/unix/sysv/settimeofday.c: Remove file.
4078         * sysdeps/unix/sysv/i386/time.S: Remove file.
4080         * sysdeps/unix/fxstat.c: Remove file.
4081         * sysdeps/unix/xstat.c: Likewise.
4082         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4084         * sysdeps/unix/sysv/sigaction.c: Remove file.
4086         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4087         (sysdep_headers): Remove variable.
4088         [termio.h not in sysdep_headers] (generated): Likewise.
4089         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4090         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4091         * sysdeps/unix/sysv/tcdrain.c: Likewise.
4092         * sysdeps/unix/sysv/tcflow.c: Likewise.
4093         * sysdeps/unix/sysv/tcflush.c: Likewise.
4094         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4095         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4096         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4097         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4098         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4100         * sysdeps/unix/siglist.c: Remove file.
4102         * sysdeps/unix/getppid.S: Remove file.
4104         * sysdeps/unix/mkdir.c: Remove file.
4105         * sysdeps/unix/rmdir.c: Likewise.
4107 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
4109         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4110         ERR_MAX value.
4111         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4112         errlist-compat value.
4114 2012-04-18  David S. Miller  <davem@davemloft.net>
4116         * sysdeps/generic/memcopy.h (reg_char): Delete.
4117         * debug/strcat_chk.c: Use char, not reg_char.
4118         * debug/strcpy_chk.c: Likewise.
4119         * debug/strncat_chk.c: Likewise.
4120         * debug/strncpy_chk.c: Likewise.
4121         * string/memchr.c: Likewise.
4122         * string/memrchr.c: Likewise.
4123         * string/rawmemchr.c: Likewise.
4124         * string/strcat.c: Likewise.
4125         * string/strchr.c: Likewise.
4126         * string/strchrnul.c: Likewise.
4127         * string/strcmp.c: Likewise.
4128         * string/strcpy.c: Likewise.
4129         * string/strncat.c: Likewise.
4130         * string/strncmp.c: Likewise.
4131         * string/strncpy.c: Likewise.
4133 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
4135         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4136         __builtin_memcopy is called when src and dest ranges are known to not
4137         overlap.
4139 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
4141         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4142         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4143         fwd_align_merge macro call.
4144         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4145         bwd_align_merge macro call.
4146         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4148 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
4150         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4151         bwd_align_merge macros.
4152         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4153         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4154         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4156 2012-04-18  David S. Miller  <davem@davemloft.net>
4158         * sysdeps/sparc/sparc64/memcopy.h: Delete.
4160 2012-04-18  Andreas Jaeger  <aj@suse.de>
4162         [BZ# 6794]
4163         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4164         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4165         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4167         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4168         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4169         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4171         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4172         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4173         Adjust for changed ldbl-128 files.
4175         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4176         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4177         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4179 2012-04-17  David S. Miller  <davem@davemloft.net>
4181         * sysdeps/sparc/sparc32/memcopy.h: Delete.
4183 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
4185         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4186         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4187         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4188         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4189         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4190         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4192 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4194         [BZ #6794]
4195         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4196         * math/libm-test.inc: Add ilogb errno and exception tests.
4197         * math/w_ilogb.c: New file: ilogb wrapper.
4198         * math/w_ilogbf.c: New file: ilogbf wrapper.
4199         * math/w_ilogbl.c: New file: ilogbl wrapper.
4200         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4201         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4202         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4203         exception being thrown with 0.0 as argument.
4204         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4205         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4206         exception being thrown with 0.0 as argument.
4207         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4208         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4209         exception being thrown with 0.0 as argument.
4210         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4211         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4212         exception being thrown with 0.0 as argument.
4213         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4214         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4215         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4216         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4217         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4218         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4219         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4220         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4221         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4223 2012-04-17  Petr Baudis  <pasky@ucw.cz>
4225         * include/sys/uio.h: Change __vector to __iovec to avoid clash
4226         with altivec.
4228 2012-04-16  Marek Polacek  <polacek@redhat.com>
4230         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4232 2012-04-16  Marek Polacek  <polacek@redhat.com>
4234         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4235         operands of fdivp instruction.
4237 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
4239         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4240         * elf/tst-auditmod3b.c: Likewise.
4241         * elf/tst-auditmod4b.c: Likewise.
4242         * elf/tst-auditmod5b.c: Likewise.
4243         * elf/tst-auditmod6b.c: Likewise.
4244         * elf/tst-auditmod6c.c: Likewise.
4245         * elf/tst-auditmod7b.c: Likewise.
4246         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4247         * sysdeps/x86_64/preconfigure.in: Likewise.
4248         * sysdeps/x86_64/preconfigure: Regenerated.
4250 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
4252         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4253         __ILP32__.
4255 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
4257         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4258         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4260 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
4262         [BZ #13973]
4263         * locale/iso-639.def: Fix gl language name. Spotted by
4264         Yaron Shahrabani.
4266 2012-04-12  Roland McGrath  <roland@hack.frob.com>
4268         [BZ #2074]
4269         * libio/libio.h (__io_write_fn): Update comment.
4271 2012-04-12  Petr Baudis  <pasky@ucw.cz>
4273         [BZ #2074]
4274         * stdio.texi (Hook Functions): The user provided writer function
4275         is not allowed to return -1.
4277 2012-04-11  David S. Miller  <davem@davemloft.net>
4279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4281 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
4283         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4284         Add a leading slash to rtkaio.
4286 2012-04-11  Jim Meyering  <meyering@redhat.com>
4288         [BZ #11959]
4289         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4290         It is not necessarily an error to ignore fwrite's return
4291         value.  One can reliably use ferror to test for errors after
4292         the fact.
4294 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
4296         * bits/types.h (__snseconds_t): New type.
4297         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4299         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4300         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4301         (__SNSECONDS_T_TYPE): Likewise.
4302         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4303         (__SNSECONDS_T_TYPE): Likewise.
4304         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4305         (__SNSECONDS_T_TYPE): Likewise.
4307 2012-04-10  Andreas Jaeger  <aj@suse.de>
4309         [BZ #2636]
4310         * manual/time.texi (Processor Time): Return type of times is
4311         elapsed real time since an arbitrary point in the past.
4312         (CPU Time): Move CLK_TCK from here...
4313         (Processor Time): ...to here.  Correct description.
4314         * manual/conf.texi (Constants for Sysconf): Correct description of
4315         _SC_CLK_TCK.
4317 2012-04-10  David S. Miller  <davem@davemloft.net>
4319         [BZ #13967]
4320         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4321         where the is a gap between DT_REL(A) and DT_JMPREL.
4323 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
4325         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4326         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4327         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4329 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4331         * elf/dl-support.c (_dl_inhibit_cache): New variable.
4332         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4333         (dl_main): Handle --inhibit-cache.
4334         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4335         _dl_inhibit_cache.
4336         * elf/dl-load.c (_dl_map_object): Use it.
4337         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4339 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
4341         [BZ #13872]
4342         * sysdeps/i386/fpu/e_powl.S (p78): New object.
4343         (__ieee754_powl): Saturate large exponents rather than testing for
4344         overflow of y*log2(x).
4345         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4346         * math/libm-test.inc (pow_test): Do not permit spurious overflow
4347         exceptions.
4349         [BZ #11521]
4350         * math/s_ctan.c: Include <float.h>.
4351         (__ctan): Avoid internal overflow or cancellation in calculating
4352         denominator.
4353         * math/s_ctanf.c: Likewise.
4354         * math/s_ctanl.c: Likewise.
4355         * math/s_ctanh.c: Likewise.
4356         * math/s_ctanhf.c: Likewise.
4357         * math/s_ctanhl.c: Likewise.
4358         * math/libm-test.inc (ctan_test): Add more tests.
4359         (ctanh_test): Likewise.
4360         * sysdeps/i386/fpu/libm-test-ulps: Update.
4361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4363 2012-04-09  Andreas Jaeger  <aj@suse.de>
4365         [BZ #6894]
4366         * manual/filesys.texi (Directory Entries): Mention that d_namlen
4367         is an optional BSD extension.
4369         [BZ #10254]
4370         * manual/stdio.texi (Opening Streams): Document additional fopen
4371         parameters.
4373 2012-04-09  Roland McGrath  <roland@hack.frob.com>
4375         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4376         %eax without telling the compiler.
4378 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
4380         [BZ # 13963]
4381         * manual/install.texi: Use sourceware.org.
4383 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
4385         [BZ #13873]
4386         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4387         (__ieee754_pow): Generate overflow and underflow using huge*huge
4388         and tiny*tiny rather than just returning constant infinity or zero
4389         for large exponents.
4390         * math/libm-test.inc (pow_test): Require overflow exceptions for
4391         applicable cases of large exponents.
4393         [BZ #706]
4394         * sysdeps/i386/fpu/e_pow.S (p10): New object.
4395         (__ieee754_pow): Use iterative multiplication algorithm only for
4396         integer exponents with absolute value below 1024.  Check for odd
4397         integer exponents when using algorithm for real exponents.
4398         * math/libm-test.inc (pow_test): Add more tests.
4399         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4401 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
4403         [BZ #13705]
4404         * math/libm-test.inc (exp_test): Do not allow overflow exception
4405         on underflow test.
4407 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
4409         [BZ #13705]
4410         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4411         instead of __kernel_standard_f.
4413 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
4415         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4416         * sysdeps/x86_64/memset_chk.S: Likewise.
4418 2012-04-08  Andreas Jaeger  <aj@suse.de>
4420         [BZ #10153]
4421         * manual/startup.texi (Environment Access): Describe return value
4422         for putenv and setenv.
4424         [BZ #6895]
4425         * manual/filesys.texi (Directory Entries): Add description for
4426         DT_LNK.
4428         [BZ #6890]
4429         * manual/filesys.texi (Directory Entries): Clarify that it's file
4430         system not operating system in the description of DT_UNKNOWN.
4432         [BZ #6578]
4433         * manual/syslog.texi (closelog): Fix reference, it's openlog.
4435 2012-04-08  Stephen Compall  <s11@member.fsf.org>
4437         [BZ #6649]
4438         * manual/llio.texi (Opening and Closing Files): Add cross
4439         reference to explain mode argument.
4441 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
4443         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4444         * sysdeps/x86_64/memset_chk.S: Likewise.
4446 2012-04-07  David S. Miller  <davem@davemloft.net>
4448         * elf/elf.h (R_SPARC_WDISP10): Define.
4449         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4450         R_SPARC_SIZE32.
4451         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4452         R_SPARC_SIZE64 and R_SPARC_H34.
4454 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
4456         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4457         conditions and remove no longer applicable assertion.
4459 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
4461         * bits/byteswap.h: Include <features.h>.
4462         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4463         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4465 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
4467         * bits/byteswap.h (__bswap_16): Removed.
4468         Include <bits/byteswap-16.h> to get __bswap_16.
4469         * sysdeps/i386/bits/byteswap.h: Likewise.
4470         * sysdeps/s390/bits/byteswap.h: Likewise.
4471         * sysdeps/x86_64/bits/byteswap.h: Likewise.
4472         * bits/byteswap-16.h: New file.
4473         * sysdeps/i386/bits/byteswap-16.h: Likewise.
4474         * sysdeps/s390/bits/byteswap-16.h: Likewise.
4475         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4476         * string/Makefile (headers): Add bits/byteswap-16.h.
4478 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4480         [BZ #13895]
4481         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4482         extra indirection.
4483         * nss/Makefile (tests-static, tests): Add tst-nss-static.
4484         * nss/tst-nss-static.c: New.
4486 2012-04-06  Robert Millan  <rmh@gnu.org>
4488         [BZ #6486]
4489         * manual/llio.texi (File Position Primitive): lseek
4490         refers to WHENCE when it really means OFFSET.
4492 2012-04-06  Andreas Jaeger  <aj@suse.de>
4494         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4495         strncmp declarations.
4497         * abilist/libc.abilist: Add __poll and __ppoll.
4499 2012-04-05  David S. Miller  <davem@davemloft.net>
4501         * scripts/check-local-headers.sh: Accept a host triplet in the
4502         path matched by the exclude regexp.
4504         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4505         definition.
4506         * sysdeps/powerpc/powerpc32/dl-machine.h
4507         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4508         * sysdeps/s390/s390-32/dl-machine.h
4509         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4510         * sysdeps/sparc/sparc32/dl-machine.h
4511         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4512         * sysdeps/sparc/sparc64/dl-machine.h
4513         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4515         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4516         lazy binding.
4517         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4518         undefined symbol errors.
4520         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4521         DT_NEEDED entries.
4523 2012-04-05  Michael Matz  <matz@suse.de>
4525         [BZ #13592]
4526         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4528 2012-04-05  Andreas Jaeger  <aj@suse.de>
4530         [BZ #13908]
4531         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4532         comment.
4534 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
4536         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4537         which ROUND is no valid rounding mode.
4539 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
4541         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4542         read again.
4543         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4545 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
4547         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4548         an exception using FPU order intentionally.
4550 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
4552         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4553         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4554         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4555         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4557 2012-04-05  Simon Josefsson  <simon@josefsson.org>
4559         [BZ #12340]
4560         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4561         EINVAL when BUFLEN is too smal.
4563 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
4565         [BZ #13553]
4566         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4567         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4569 2012-04-03  Andreas Jaeger  <aj@suse.de>
4571         [BZ #13938]
4572         * manual/setjmp.texi (System V contexts): Fix sentence.
4574         [BZ #13926]
4575         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4576         New macro for this case.
4577         [!__GNUC__] (__bswap_64): New inline function for this case.
4578         * sysdeps/x86_64/bits/byteswap.h: Likewise.
4579         * bits/byteswap.h: Likewise.
4580         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4581         ull, guard with __GLIBC_HAVE_LONG_LONG.
4583         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4584         __GLIBC_HAVE_LONG_LONG.
4586         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4587         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4589 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4591         [BZ #13691]
4592         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4593         inptr and inend, rather than using last_ch.
4595 2012-04-02  David S. Miller  <davem@davemloft.net>
4597         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4598         * stdio-common/printf-parse.h (read_int): Change return type to
4599         'int', return -1 on INT_MAX overflow.
4600         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4601         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
4602         overflows INT_MAX.  Check for overflow of in-format-string precision
4603         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
4604         SIZE_MAX not INT_MAX for integer overflow test.
4605         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4606         skip the construct in the format string but do not record anything.
4607         * stdio-common/bug22.c: Adjust to test both width/prevision
4608         INT_MAX overflow as well as total length INT_MAX overflow.  Check
4609         explicitly for proper errno values.
4611 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
4613         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4614         CHAR_MAX.
4615         * string/test-strcmp.c [! WIDE]: Likewise.
4616         * time/tst-mktime2.c: Likewise for INT_MAX.
4617         * string/test-string.h: #include <sys/param.h> for MIN.
4619         * csu/init-first.c (__libc_init_first): Call __ctype_init.
4620         * sysdeps/i386/init-first.c (init): Likewise.
4621         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4622         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4623         * sysdeps/sh/init-first.c (init): Likewise.
4625 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
4627         * po/ru.po: Update from translation team.
4628         * po/vi.po: Likewise.
4630 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4632         * resolv/nss_dns/dns-host.c: Merge copyright years.
4634 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4636         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4637         Optimize memcpy with prefetch if
4638         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
4639         src, dst pointers have unequal 16 byte alignments.
4641 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4643         [BZ #13928]
4644         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4645         from a CNAME entry and return the minimum ttl for the query.
4646         (gaih_getanswer_slice): Likewise.
4648 2012-03-30  Jeff Law  <law@redhat.com>
4650         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4651         due to long keys.
4652         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4653         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4655         * resolv/nss_dns/dns-host.c: Update copyright year.
4657 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
4659         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4660         requests to save a system call.  Fix check that all bytes are sent.
4662         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4663         comments for sendmmsg.
4665 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4667         [BZ #13691]
4668         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4669         with only 1 character between 0x0041 and 0x01b0.
4670         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4671         * wcsmbs/tst-mbsnrtowcs.c: New file.
4673 2012-03-29  David S. Miller  <davem@davemloft.net>
4675         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4676         small copies by hand.
4678 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4680         [BZ #13761]
4681         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4682         _nss_compat_initgroups_dyn): Fall back to malloc/free
4683         for large group memberships.
4685 2012-03-28  David S. Miller  <davem@davemloft.net>
4687         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4688         that branches into memcpy.
4689         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4690         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4691         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4692         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4693         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4694         bits.
4695         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4696         implementation too.
4697         * sysdeps/sparc/mempcpy.S: New file.
4699         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4700         the IFUNC routine in the libc case.
4701         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4703         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4704         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4705         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4706         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4707         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4708         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4709         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4710         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4712         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4713         loop to 256 bytes instead of 64 bytes and fix test signedness.
4715         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4716         * sysdeps/sparc/sparc32/Makefile: rather than here...
4717         * sysdeps/sparc/sparc64/Makefile: and here.
4719 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
4721         * malloc/mallocbug.c: Avoid warnings about unused variables.
4723 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4725         [BZ #13760]
4726         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4727         in the right place. Discard and retry query if response is
4728         larger than input buffer size.
4730 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
4732         [BZ #369]
4733         [BZ #2678]
4734         [BZ #3866]
4735         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4736         x for large integer exponent.
4737         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4738         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
4739         sign of result as needed afterwards.
4740         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4741         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4742         result for underflowing pow the same as for overflow.
4743         (__kernel_standard_l): Handle powl overflow and underflow here
4744         rather than calling __kernel_standard.
4745         * math/libm-test.inc (pow_test): Add more tests.
4747         [BZ #3868]
4748         [BZ #13879]
4749         [BZ #13910]
4750         [BZ #13911]
4751         [BZ #13912]
4752         [BZ #13913]
4753         [BZ #13915]
4754         [BZ #13916]
4755         [BZ #13917]
4756         [BZ #13918]
4757         [BZ #13919]
4758         [BZ #13920]
4759         [BZ #13921]
4760         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4761         * sysdeps/ieee754/k_standard.c: Include <float.h>.
4762         (__kernel_standard_l): New function.
4763         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4764         __kernel_standard.
4765         * math/w_acosl.c (__acosl): Likewise.
4766         * math/w_asinl.c (__asinl): Likewise.
4767         * math/w_atan2l.c (__atan2l): Likewise.
4768         * math/w_atanhl.c (__atanhl): Likewise.
4769         * math/w_coshl.c (__coshl): Likewise.
4770         * math/w_exp10l.c (__exp10l): Likewise.
4771         * math/w_exp2l.c (__exp2l): Likewise.
4772         * math/w_fmodl.c (__fmodl): Likewise.
4773         * math/w_hypotl.c (__hypotl): Likewise.
4774         * math/w_j0l.c (__j0l, __y0l): Likewise.
4775         * math/w_j1l.c (__j1l, __y1l): Likewise.
4776         * math/w_jnl.c (__jnl, __ynl): Likewise.
4777         * math/w_lgammal.c (__lgammal): Likewise.
4778         * math/w_log10l.c (__log10l): Likewise.
4779         * math/w_log2l.c (__log2l): Likewise.
4780         * math/w_logl.c (__logl): Likewise.
4781         * math/w_powl.c (__powl): Likewise.
4782         * math/w_remainderl.c (__remainderl): Likewise.
4783         * math/w_scalbl.c (sysv_scalbl): Likewise.
4784         * math/w_sinhl.c (__sinhl): Likewise.
4785         * math/w_sqrtl.c (__sqrtl): Likewise.
4786         * math/w_tgammal.c (__tgammal): Likewise.
4787         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4788         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4789         * math/libm-test.inc (acos_test): Add more tests.
4790         (acosh_test): Likewise.
4791         (asin_test): Likewise.
4792         (atanh_test): Likewise.
4793         (exp_test): Likewise.
4794         (exp10_test): Likewise.
4795         (exp2_test): Likewise.
4796         (expm1_test): Likewise.
4797         (lgamma_test): Likewise.
4798         (log_test): Likewise.
4799         (log10_test): Likewise.
4800         (log1p_test): Likewise.
4801         (log2_test): Likewise.
4802         (pow_test): Do not allow some spurious overflow exceptions.
4803         (sqrt_test): Add more tests.
4804         (tgamma_test): Likewise.
4805         (y0_test): Likewise.
4806         (y1_test): Likewise.
4807         (yn_test): Likewise.
4809 2012-03-27  Anton Blanchard  <anton@samba.org>
4811         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4812         MAP_HUGETLB.
4813         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4814         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4815         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4817 2012-03-27  David S. Miller  <davem@davemloft.net>
4819         * conform/Makefile: Run run-conformtest.sh using $(BASH).
4821         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4822         have-as-vis3 check.
4824 2012-03-27  Andreas Jaeger  <aj@suse.de>
4826         * sysdeps/x86_64/elf/configure.in: Moved to ...
4827         * sysdeps/x86_64/configure.in: ... here.
4828         * sysdeps/x86_64/elf/start.S: Moved to ...
4829         * sysdeps/x86_64/start.S: ... here.
4830         * sysdeps/x86_64/elf/configure: Delete.
4832         * sysdeps/x86_64/configure.in: Merge contents from
4833         sysdeps/i386/configure.in (without i686 check).
4835         * sysdeps/i386/elf/Versions: Merge into ...
4836         * sysdeps/i386/Versions: ... this.
4837         * sysdeps/i386/elf/Versions: Delete file.
4838         * sysdeps/i386/elf/start.S: Moved to ...
4839         * sysdeps/i386/start.S: ...here.
4840         * sysdeps/i386/elf/configure.in: Merge into...
4841         * sysdeps/i386/configure.in: ...here.
4842         * sysdeps/i386/elf/configure.in: Delete file.
4843         * sysdeps/i386/elf/configure: Delete file.
4845         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4846         * debug/backtracesyms.c: ... here.
4847         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4848         * debug/backtracesymsfd.c: ... here.
4849         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4850         * sysdeps/generic/ifunc-sel.h: ... here.
4852         * sysdeps/unix/i386/start.c: Delete file.
4853         * sysdeps/unix/sparc/start.c: Delete file.
4854         * sysdeps/unix/start.c: Delete file.
4856         * sysdeps/sh/elf/configure.in: Moved to ...
4857         * sysdeps/sh/configure.in: ... here.
4858         * sysdeps/sh/elf/start.S: Moved to ...
4859         * sysdeps/sh/start.S: ... here.
4860         * sysdeps/sh/elf/configure: Delete file.
4862         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4863         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4864         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4865         * sysdeps/powerpc/powerpc64/entry.h: ... here.
4866         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4867         * sysdeps/powerpc/powerpc64/start.S: here.
4868         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4869         * sysdeps/powerpc/powerpc64/Makefile: ... this.
4870         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4871         * sysdeps/powerpc/powerpc64/configure.in: ... this.
4872         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4874         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4875         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4876         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4877         * sysdeps/powerpc/powerpc32/start.S: ... here.
4878         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4879         * sysdeps/powerpc/powerpc32/configure.in: ... this.
4880         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4882         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4883         * sysdeps/powerpc/ifunc-sel.h: ... here.
4884         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4885         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4887         * sysdeps/sparc/elf/configure.in: Moved to ...
4888         * sysdeps/sparc/configure.in: ... here.
4889         * sysdeps/sparc/elf/configure: Delete file.
4890         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4891         * sysdeps/sparc/sparc32/start.S: ... here.
4892         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4893         * sysdeps/sparc/sparc64/start.S: ... here.
4894         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4895         * sysdeps/sparc/sparc32/Makefile: ... this.
4896         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4897         * sysdeps/sparc/sparc64/Makefile: ... this.
4899         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4900         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4901         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4902         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4903         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4904         * sysdeps/s390/s390-32/setjmp.S: ... here.
4905         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4906         * sysdeps/s390/s390-32/configure.in: ... here.
4907         * sysdeps/s390/s390-32/elf/configure: Delete file.
4908         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4909         * sysdeps/s390/s390-32/start.S: ... here.
4911         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4912         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4913         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4914         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4915         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4916         * sysdeps/s390/s390-64/setjmp.S: ... here.
4917         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4918         * sysdeps/s390/s390-64/configure.in: ... here
4919         * sysdeps/s390/s390-64/elf/configure: Delete file.
4920         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4921         * sysdeps/s390/s390-64/start.S: ... here.
4922         * sysdeps/s390/s390-64/elf/configure: Delete.
4924         * configure.in: Remove support for elf directories in sysdeps.
4926         * configure: Regenerated.
4927         * sysdeps/i386/configure: Regenerated.
4928         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4929         * sysdeps/powerpc/powerpc64/configure: Regenerated.
4930         * sysdeps/s390/s390-32/configure: Regenerated.
4931         * sysdeps/s390/s390-64/configure: Regenerated.
4932         * sysdeps/sh/configure: Regenerated.
4933         * sysdeps/sparc/configure: Regenerated.
4934         * sysdeps/x86_64/configure: Regenerated.
4936 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
4938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4940         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4941         denormal result into account.
4943 2012-03-25  Roland McGrath  <roland@hack.frob.com>
4945         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4946         Reported by Allan McRae <allan@archlinux.org>.
4948 2012-03-23  Jeff Law  <law@redhat.com>
4950         * nss/getnssent.c (__nss_getent): Fix typo.
4952 2012-03-23  David S. Miller  <davem@davemloft.net>
4954         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4956 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
4958         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4959         to pad to uint64_t for each field.
4960         (dl_tls_index): Replace unsigned long with uint64_t.
4962 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
4963         Paul Pluzhnikov  <ppluzhnikov@google.com>
4965         [BZ #6528]
4966         * grp/Makefile (otherlibs): Don't set it.
4967         * inet/Makefile (otherlibs): Likewise.
4968         * login/Makefile (otherlibs): Likewise.
4969         * nscd/Makefile (otherlibs): Likewise.
4970         * posix/Makefile (otherlibs): Likewise.
4971         * pwd/Makefile (otherlibs): Likewise.
4972         * rt/Makefile (otherlibs): Likewise.
4973         * sunrpc/Makefile (otherlibs): Likewise.
4974         * nss/Makefile (otherlibs): Likewise.
4975         Add libnss_files to routines and static-only-routines.
4976         ($(objpfx)getent): Remove rule.
4977         * resolv/Makefile: Add libnss_dns and libresolv to routines and
4978         static-only-routines.
4980 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
4982         [BZ #13892]
4983         * math/s_cexp.c: Include <float.h>.
4984         (__cexp): Handle exp result overflowing not necessarily
4985         overflowing both real and imaginary parts of result.
4986         * math/s_cexpf.c: Likewise.
4987         * math/s_cexpl.c: Likewise.
4988         * math/libm-test.inc (cexp_test): Add more tests.
4989         * sysdeps/i386/fpu/libm-test-ulps: Update.
4990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4992 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4994         * include/link.h (ELFW): New macro.
4995         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4996         Replace ELF64_R_TYPE with ELFW(R_TYPE).
4998 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5000         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5001         with uint64_t.
5003 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5005         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5006         declaration.
5007         (struct La_x32_retval): Likewise.
5009 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5011         * sysdeps/x86_64/preconfigure.in: New file.
5012         * sysdeps/x86_64/preconfigure: New generated file.
5014 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
5016         [BZ #13824]
5017         * math/e_exp2l.c: Include <float.h>.
5018         (__ieee754_exp2l): Handle overflow and underflow cases
5019         separately.  Only pass fractional part of argument to
5020         __ieee754_expl.
5021         * math/libm-test.inc (exp2_test): Add more tests.
5023         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5024         negating x to take absolute value.
5025         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5026         Likewise.
5027         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5028         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5029         Likewise.
5030         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5031         computing low part if x was negated.
5032         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5034 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5036         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5037         la_x32_gnu_pltexit.
5038         (pltexit): Cast int_retval to ptrdiff_t.
5039         * elf/tst-auditmod3b.c: Likewise.
5040         * elf/tst-auditmod4b.c: Likewise.
5041         * elf/tst-auditmod5b.c: Likewise.
5042         * elf/tst-auditmod6b.c: Likewise.
5043         * elf/tst-auditmod6c.c: Likewise.
5044         * elf/tst-auditmod7b.c: Likewise.
5046         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5047         and x32_gnu_pltexit.
5049         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5050         __ELF_NATIVE_CLASS.
5051         (La_x32_regs): New macro.
5052         (La_x32_retval): Likewise.
5053         (la_x32_gnu_pltenter): New function prototype.
5054         (la_x32_gnu_pltexit): Likewise.
5056 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
5058         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5059         exponent.
5061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5063         * configure.in (libc_cv_cc_nofma): Check for option to disable
5064         generation of FMA instructions.
5065         * configure: Regenerate.
5066         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5067         * sysdeps/ieee754/dbl-64/Makefile: New file.
5068         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5069         Remove brandred-fma4.
5070         (CFLAGS-brandred-fma4.c): Remove.
5071         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5072         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5073         define.
5074         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5075         define.
5077 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5079         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5080         LLONG_MAX != LONG_MAX.
5081         (_itoa_word): Use _ITOA_WORD_TYPE on value.
5082         (_fitoa_word): Likewise.
5083         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5084         LLONG_MAX != LONG_MAX.
5085         * stdio-common/_itowa.h: Include <_itoa.h>.
5086         (_itowa_word): Use _ITOA_WORD_TYPE on value.
5087         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
5088         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
5089         only if not defined.
5090         (_ITOA_WORD_TYPE): Likewise.
5091         (_itoa_word): Use _ITOA_WORD_TYPE on value.
5092         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5094 2012-03-21  David S. Miller  <davem@davemloft.net>
5096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5098 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5100         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5101         of x86_64 when setting libc_cv_slibdir, libdir and
5102         libc_cv_localedir.
5103         * sysdeps/unix/sysv/linux/configure: Regenerated.
5105 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
5107         * manual/lang.texi (Old Varargs): Remove section.
5108         (How Variadic): Update menu.
5109         (va_start): Do not mention varargs.h.
5111 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
5112             Joseph Myers  <joseph@codesourcery.com>
5114         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5115         link test.
5116         * configure: Regenerated.
5118 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
5120         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5121         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5122         conformtest.pl
5124 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
5126         * NOTES: Remove.
5127         * Makefile (files-for-dist): Remove NOTES.
5128         (NOTES): Remove rule.
5129         * README: Don't refer to NOTES.
5130         * manual/creature.texi: Don't include macros.texi.
5131         * manual/intro.texi (creature.texi): Remove comment referring to
5132         NOTES.
5134         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5135         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5136         * configure: Regenerated.
5137         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5138         LIBC_TRY_CC_OPTION.
5139         (libc_cv_as_i686): Likewise.
5140         (libc_cv_cc_avx): Likewise.
5141         (libc_cv_cc_sse2avx): Likewise.
5142         (libc_cv_cc_fma4): Likewise.
5143         (libc_cv_cc_novzeroupper): Likewise.
5144         * sysdeps/i386/configure: Regenerated.
5146         [BZ #13883]
5147         * sysdeps/i386/fpu/s_cexp.S: Remove.
5148         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5149         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5150         * math/libm-test.inc (cexp_test): Add more tests.
5151         * sysdeps/i386/fpu/libm-test-ulps: Update.
5152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5154 2012-03-21  Allan McRae  <allan@archlinux.org>
5156         * timezone/Makefile: Do not install iso3166.tab and zone.tab
5158 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
5160         [BZ #13871]
5161         * math/w_exp2.c: Do not include <float.h>.
5162         (o_threshold, u_threshold): Remove.
5163         (__exp2): Calculate result before checking finiteness and calling
5164         __kernel_standard.
5165         * math/w_exp2f.c: Likewise.
5166         * math/w_exp2l.c: Likewise.
5167         * math/libm-test.inc (exp2_test): Require overflow exception for
5168         1e6 input.
5170         [BZ #3866]
5171         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5172         range of signed 64-bit integers before using fistpll.  Remove
5173         checks for whether integers fit in mantissa bits.
5174         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5175         the range of signed 32-bit integers before using fistpl.  Remove
5176         checks for whether integers fit in mantissa bits.
5177         * sysdeps/i386/fpu/e_powl.S (p64): New object.
5178         (__ieee754_powl): Test for y outside the range of signed 64-bit
5179         integers before using fistpll.  Reduce 64-bit values to 63-bit
5180         ones as needed.
5181         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5182         divide-by-zero is raised for zero to large negative powers.
5183         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5184         (__ieee754_powl): Test for y outside the range of signed 64-bit
5185         integers before using fistpll.  Reduce 64-bit values to 63-bit
5186         ones as needed.
5187         * math/libm-test.inc (pow_test): Add more tests.
5189 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
5191         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5192         <stdio-common/_itoa.h>.
5193         * debug/segfault.c: Likewise.
5194         * elf/dl-cache.c: Likewise.
5195         * elf/dl-minimal.c: Likewise.
5196         * elf/dl-misc.c: Likewise.
5197         * elf/dl-sysdep.c: Likewise.
5198         * elf/dl-version.c: Likewise.
5199         * elf/rtld.c: Likewise.
5200         * hurd/hurdsock.c: Likewise.
5201         * hurd/lookup-retry.c: Likewise.
5202         * malloc/malloc.c: Likewise.
5203         * malloc/mtrace.c: Likewise.
5204         * nscd/nscd_getgr_r.c: Likewise.
5205         * nscd/nscd_getpw_r.c: Likewise.
5206         * nscd/nscd_getserv_r.c: Likewise.
5207         * posix/getopt_init.c: Likewise.
5208         * posix/wordexp.c: Likewise.
5209         * stdio-common/_itoa.c: Likewise.
5210         * stdio-common/printf_fphex.c: Likewise.
5211         * stdio-common/vfprintf.c: Likewise.
5212         * string/_strerror.c: Likewise.
5213         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5214         * sysdeps/i386/i686/hp-timing.h: Likewise.
5215         * sysdeps/mach/_strerror.c: Likewise.
5216         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5217         * sysdeps/mach/hurd/sethostid.c: Likewise.
5218         * sysdeps/mach/hurd/xmknodat.c: Likewise.
5219         * sysdeps/mach/xpg-strerror.c: Likewise.
5220         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5221         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5222         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5223         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5224         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5225         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5226         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5227         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5228         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5229         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5230         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5231         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5232         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5233         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5234         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5235         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5236         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5237         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5238         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5239         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5240         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5242         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5244         * stdio-common/_itoa.h: Moved to ...
5245         * sysdeps/generic/_itoa.h: Here.
5247         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5249         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5250         instead of "_itoa.h" and "_itowa.h".
5251         * stdio-common/vfprintf.: Likewise.
5253 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
5255         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5256         <bits/wordsize.h>.
5257         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5258         (__signbit): Likwise.
5259         (llrintf): Likwise.
5260         (llrint): Likwise.
5262 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
5264         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5265         __WORDSIZE != 64.
5267 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
5269         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5270         OVERFLOW_EXCEPTION_OK.
5271         * math/libm-test.inc ("Philosophy"): Update comment about
5272         exception testing.
5273         (OVERFLOW_EXCEPTION): Define.
5274         (OVERFLOW_EXCEPTION_OK): Likewise.
5275         (INVALID_EXCEPTION_OK): Renumber.
5276         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5277         (IGNORE_ZERO_INF_SIGN): Likewise.
5278         (test_exceptions): Handle FE_OVERFLOW.
5279         (exp10_test): Expect overflow exceptions.
5280         (exp2_test): Likewise.
5281         (expm1_test): Likewise.
5282         (nextafter_test): Likewise.
5283         (pow_test): Likewise.
5284         (scalbn_test): Likewise.
5285         (scalbln_test): Likewise.
5287 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5289         * sysdeps/x86_64/bits/atomic.h
5290         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5291         64bit integer.
5292         (atomic_exchange_acq): Likewise.
5293         (__arch_exchange_and_add_body): Likewise.
5294         (__arch_add_body): Likewise.
5295         (atomic_add_negative): Likewise.
5296         (atomic_add_zero): Likewise.
5298 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5300         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5301         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5303 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5305         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5306         Check __x86_64__ instead of __WORDSIZE.
5308 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5310         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5312 2012-03-19  David S. Miller  <davem@davemloft.net>
5314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5316         * sysdeps/sparc/fpu/fenv_private.h: New file.
5317         * sysdeps/sparc/fpu/math_private.h: Use it.
5318         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5319         Remove.
5320         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5321         (libc_feholdexcept_setroundl): Remove.
5322         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5323         Remove.
5324         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5325         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5327 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5329         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5330         int64_t instead of long int.
5331         (INSERT_WORDS64): Likwise.
5333 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
5335         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5336         _Unwind_GetCFA return to _Unwind_Ptr first.
5338 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
5340         [BZ #13629]
5341         * math/s_clog.c: Include <float.h>.
5342         (__clog): Scale large or subnormal inputs.
5343         * math/s_clogf.c: Likewise.
5344         * math/s_clogl.c: Likewise.
5345         * math/s_clog10.c: Include <float.h>.
5346         (M_LOG10_2): Define.
5347         (__clog10): Scale large or subnormal inputs.
5348         * math/s_clog10f.c: Likewise.
5349         * math/s_clog10l.c: Likewise.
5350         * math/libm-test.inc (clog_test): Add more tests.
5351         (clog10_test): Likewise.
5352         * sysdeps/i386/fpu/libm-test-ulps: Update.
5353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5355         [BZ #11451]
5356         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5357         x and y.
5358         * math/libm-test.inc (atan2_test): Add another test.
5360         * Makerules (common-objdir-compile): Remove.
5361         * sysdeps/unix/Makefile (config-generated): Do not add
5362         $(unix-generated) to variable.
5363         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5364         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5365         Remove rule.
5366         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5367         Likewise.
5368         [generic bits/local_lim.h] (before-compile): Do not append to
5369         variable.
5370         [generic bits/local_lim.h] (common-generated): Likewise.
5371         [generic sys/param.h] (before-compile): Do not append to variable.
5372         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5373         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5374         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5375         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5376         include.
5377         [generic sys/param.h] (sys/param.h-includes): Remove variable.
5378         [generic sys/param.h] (sys/param.h-includes): Remove rule.
5379         [generic sys/param.h] ($(addprefix
5380         $(common-objpfx),$(sys/param.h-includes))): Likewise.
5381         [generic sys/param.h] (common-generated): Do not append to
5382         variable.
5383         [generic sys/param.h] (sysdep_headers): Likewise.
5384         [generic bits/errno.h] (before-compile): Do not append to
5385         variable.
5386         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5387         rule.
5388         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5389         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5390         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5391         [generic bits/errno.h] (common-generated): Do not append to
5392         variable.
5393         [generic bits/ioctls.h] (before-compile): Do not append to
5394         variable.
5395         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5396         rule.
5397         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5398         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5399         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5400         rule.
5401         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5402         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5403         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5404         [generic bits/ioctls.h] (common-generated): Do not append to
5405         variable.
5406         [generic sys/syscall.h] (syscall.h): Remove variable.
5407         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5408         rule.
5409         [generic sys/syscall.h] (before-compile): Do not append to
5410         variable.
5411         [generic sys/syscall.h] (common-generated): Likewise.
5412         * sysdeps/unix/errnos-tmpl.c: Remove file.
5413         * sysdeps/unix/errnos.awk: Likewise.
5414         * sysdeps/unix/ioctls-tmpl.c: Likewise.
5415         * sysdeps/unix/ioctls.awk: Likewise.
5416         * sysdeps/unix/mk-local_lim.c: Likewise.
5417         * sysdeps/unix/snarf-ioctls: Likewise.
5419 2012-03-19  Richard Henderson  <rth@twiddle.net>
5421         * sysdeps/i386/fpu/fenv_private.h: New file.
5422         * sysdeps/i386/fpu/math_private.h: Use it.
5423         (math_opt_barrier, math_force_eval): Remove.
5424         (libc_feholdexcept_setround_53bit): Remove.
5425         (libc_feupdateenv_53bit): Remove.
5426         * sysdeps/x86_64/fpu/math_private.h: Likewise.
5427         (math_opt_barrier, math_force_eval): Remove.
5428         (libc_feholdexcept): Remove.
5429         (libc_feholdexcept_setround): Remove.
5430         (libc_fetestexcept, libc_fesetenv): Remove.
5431         (libc_feupdateenv_test): Remove.
5432         (libc_feupdateenv, libc_feholdsetround): Remove.
5433         (libc_feresetround): Remove.
5435         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5436         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5438         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5439         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5440         (libc_feupdateenv_testl): New.
5441         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5442         (libc_feupdateenv_testf): New.
5443         (libc_feupdateenv): Use libc_feupdateenv_test.
5444         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5445         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5447         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5448         (libc_feholdsetroundf, libc_feholdsetroundl): New.
5449         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5450         (libc_feresetround_noex): New.
5451         (libc_feresetround_noexf): New.
5452         (libc_feresetround_noexl): New.
5453         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5454         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5455         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5456         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5457         SET_RESTORE_ROUND.
5458         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5459         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5460         (__cos): Likewise.
5461         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5462         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5463         SET_RESTORE_ROUND_NOEX.
5464         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5465         SET_RESTORE_ROUND_NOEXF.
5466         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5467         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5468         (libc_feholdsetroundf): New.
5469         (libc_feresetround, libc_feresetroundf): New.
5471         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5472         (libc_feholdexcept_setround_53bit): Convert from macro to function.
5473         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
5475         * sysdeps/generic/math_private.h: Include <fenv.h>.
5476         (default_libc_feholdexcept): New.
5477         (default_libc_feholdexcept_setround): New.
5478         (default_libc_fesetenv, default_libc_feupdateenv): New.
5479         (libc_feholdexcept): Only define if undefined.
5480         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5481         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5482         (libc_feholdexcept_setroundl): Likewise.
5483         (libc_feholdexcept_setround_53bit): Likewise.
5484         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5485         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5486         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5487         (libc_feupdateenv_53bit): Likewise.
5488         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5489         (libc_feholdexcept): Convert from macro to inline function.
5490         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5491         (libc_fesetenv, libc_feupdateenv): Likewise.
5493         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5494         not previously defined.
5495         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5496         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5497         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5498         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5499         * sysdeps/ieee754/flt-32/math_private.h: New file.
5500         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5501         math_private.h below SET_FLOAT_WORD.
5502         (__isnan, __isinf_ns, __finite): Remove.
5503         (__isnanf, __isinf_nsf, __finitef): Remove.
5505 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
5507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5509 2012-03-17  David S. Miller  <davem@davemloft.net>
5511         [BZ #6471]
5512         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5513         for 2.16.
5515 2012-03-16  David S. Miller  <davem@davemloft.net>
5517         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5518         warnings.
5520         [BZ #6471]
5521         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5522         properly.
5523         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5524         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5525         sysdep_routines when subdir is sysvipc.
5526         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5527         __getshmlba helper.
5529         * sysdeps/sparc/fpu/libm-test/ulps: Update.
5531 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5533         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5534         [__LP64__].
5536 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5538         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5539         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5540         (__lround): Renamed to ...
5541         (__llround): This.  Replace long int with long long int.
5542         Define lround functions as aliases of llround functions.
5543         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5545 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5547         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5548         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
5549         adresses to uintptr_t.  Replace "long int" and "unsigned long
5550         int" with "greg_t" on va_arg.
5552 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5554         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5555         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5557         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5558         Move e_machine check before EI_CLASS check.  Handle x32
5559         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5560         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5561         SKIP_EM_IA_64 and include
5562         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5564         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5565         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5566         (add_system_dir): New macro.
5568         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5569         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5571 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
5573         [BZ #2551]
5574         [BZ #2552]
5575         [BZ #2553]
5576         [BZ #2554]
5577         [BZ #2562]
5578         [BZ #2563]
5579         [BZ #2565]
5580         [BZ #2566]
5581         [BZ #2576]
5582         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5583         (y0): Likewise.
5584         * math/w_j0f.c (j0f): Likewise.
5585         (y0f): Likewise.
5586         * math/w_j0l.c (__j0l): Likewise.
5587         (__y0l): Likewise.
5588         * math/w_j1.c (j1): Likewise.
5589         (y1): Likewise.
5590         * math/w_j1f.c (j1f): Likewise.
5591         (y1f): Likewise.
5592         * math/w_j1l.c (__j1l): Likewise.
5593         (__y1l): Likewise.
5594         * math/w_jn.c (jn): Likewise.
5595         (yn): Likewise.
5596         * math/w_jnf.c (jnf): Likewise.
5597         (ynf): Likewise.
5598         * math/w_jnl.c (__jnl): Likewise.
5599         (__ynl): Likewise.
5600         * math/libm-test.inc (j0_test): Add more tests.
5601         (j1_test): Likewise.
5602         (jn_test): Likewise.  Add trailing semicolon to existing test.
5603         (y0_test): Likewise.
5604         (y1_test): Likewise.
5605         * sysdeps/i386/fpu/libm-test-ulps: Update.
5606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5608         [BZ #13851]
5609         [BZ #13854]
5610         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5611         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5612         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5613         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5614         (__tanl): Set errno for infinite argument.
5615         * sysdeps/i386/fpu/mptan.c: Remove.
5616         * sysdeps/i386/fpu/s_tan.S: Likewise.
5617         * sysdeps/i386/fpu/s_tanl.S: Likewise.
5618         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5619         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5620         * math/libm-test.inc (tan_test): Add more tests and enable more
5621         tests for double and long double.
5622         * sysdeps/i386/fpu/libm-test-ulps: Update.
5623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5625 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
5627         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5628         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5630 2012-03-16  Roland McGrath  <roland@hack.frob.com>
5632         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5633         * configure.in: Use it for both main tree and add-ons.
5634         * configure: Regenerated.
5636 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5638         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5640 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
5642         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5643         in comment.
5645         [BZ #13851]
5646         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5647         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5648         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5649         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5650         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5651         infinite argument.
5652         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5653         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5654         != 0 for prec == 2.
5655         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5656         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5657         * sysdeps/i386/fpu/s_cosl.S: Likewise.
5658         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5659         * sysdeps/i386/fpu/s_sinl.S: Likewise.
5660         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5661         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5662         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5663         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5664         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5665         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5666         * math/libm-test.inc (cos_test): Add more tests and enable more
5667         tests for long double.
5668         (sin_test): Likewise.
5669         (sincos_test): Likewise.
5670         * sysdeps/i386/fpu/libm-test-ulps: Update.
5671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5673 2012-03-16  David S. Miller  <davem@davemloft.net>
5675         * sysdeps/sparc/fpu/math_private.h: New file.
5677 2012-03-15  David S. Miller  <davem@davemloft.net>
5679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5680         file.
5681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
5682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5683         file.
5684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5685         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5686         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5687         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5688         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5689         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5690         sysdep routines.
5691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5693         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5694         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5696         * sysdeps/sparc/sparc-ifunc.h: New file.
5697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5698         sparc-ifunc.h
5699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5701         Likewise.
5702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5703         Likewise.
5704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5708         Likewise.
5709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5714         Likewise.
5715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5716         Likewise.
5717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5721         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5722         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5723         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5724         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5725         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5726         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5727         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5728         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5729         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5730         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5731         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5732         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5733         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5734         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5735         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5736         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5737         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5738         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5739         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5740         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5742 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
5744         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5745         scaling.
5746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5748 2012-03-15  Andreas Jaeger  <aj@suse.de>
5750         [BZ #13852]
5751         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5752         ieee754/flt-32 implementation for sin, cos and sincos.
5753         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5754         * sysdeps/i386/fpu/s_cosf.S: Likewise.
5755         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5756         * sysdeps/i386/fpu/s_sinf.S: Likewise.
5757         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5758         ieee754/flt-32 implementation for tan.
5760         * math/libm-test.inc (cos_test): Enable some large input tests for
5761         float as well
5762         (sin_test): Likewise.
5763         (sincos_test): Likewise.
5764         (tan_test): Add tests for large input.
5766         * sysdeps/i386/fpu/libm-test-ulps: Update.
5768 2012-03-15  Andreas Jaeger  <aj@suse.de>
5770         [BZ #13658]
5771         * math/libm-test.inc (cos_test): Add more test cases.
5772         (sin_test): Likewise.
5773         (sincos_test): Likewise.
5775 2012-03-15  Andreas Jaeger  <aj@suse.de>
5777         [BZ #13837]
5778         * math/libm-test.inc (cos_test): Add a test case for large input
5779         value.
5780         (sin_test): Likewise.
5781         (sincos_test): Likewise.
5783 2012-03-15  Andreas Jaeger  <aj@suse.de>,
5784         Joseph Myers  <joseph@codesourcery.com>
5786         [BZ #13658]
5787         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5788         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5789         * sysdeps/i386/fpu/branred.c: Likewise.
5790         * sysdeps/i386/fpu/dosincos.c: Likewise.
5791         * sysdeps/i386/fpu/mpa.c: Likewise.
5792         * sysdeps/i386/fpu/s_cos.S: Likewise.
5793         * sysdeps/i386/fpu/s_sin.S: Likewise.
5794         * sysdeps/i386/fpu/s_sincos.S: Likewise.
5795         * sysdeps/i386/fpu/sincos32.c: Likewise.
5797         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5798         Define.
5799         (libc_feupdateenv_53bit): Define.
5800         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5801         Define.
5802         (libc_feupdateenv_53bit): Define.
5804         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5805         53 bit (without extend i386 double precision).
5807         * math/libm-test.inc (sincos_test): Add tests for large input.
5808         (sin): Likewise.
5809         (cos): Likewise.
5811         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5813 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
5815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5817 2012-03-15  David S. Miller  <davem@davemloft.net>
5819         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5820         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5821         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5822         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5827         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5828         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5829         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5830         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5831         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5832         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5833         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5835         file.
5836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5838         file.
5839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5841         file.
5842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5844         file.
5845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5846         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5847         fmin/fmax sysdep routines.
5848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5850 2012-03-14  David S. Miller  <davem@davemloft.net>
5852         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5853         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5854         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5855         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5856         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5857         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5858         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5859         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5860         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5861         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5862         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5863         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5864         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5865         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5866         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5867         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5868         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5869         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5870         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5871         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5872         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5873         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5874         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5875         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5876         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5877         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5878         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5879         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5880         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5881         routines.
5882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5883         file.
5884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5886         file.
5887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5889         file.
5890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5892         file.
5893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5895         file.
5896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5898         file.
5899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5900         file.
5901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5902         file.
5903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5904         file.
5905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5906         New file.
5907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5908         file.
5909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5910         file.
5911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5913         file.
5914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5916         file.
5917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5919         file.
5920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5922         VIS3 routines.
5924         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5925         New file.
5927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5929         * sysdeps/sparc/configure.in: New file.
5930         * sysdeps/sparc/configure: Generate.
5931         * configure.in (libc_cv_sparc_as_vis3): Substitute.
5932         * configure: Regenerate.
5933         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5934         * config.make.in (have-as-vis3): New.
5935         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5936         available use -Av9d instead of -Av9a.
5937         * sysdeps/sparc/sparc64/Makefile: Likewise.
5938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5940         New file.
5941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5942         file.
5943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5944         New file.
5945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5946         file.
5947         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5948         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5949         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5950         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5951         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5953         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5954         fzeros/fnegs to load 0x80000000 into a float register instead of
5955         using the stack.
5956         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5958 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
5960         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5961         bits/syscall.h.
5962         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5963         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5964         ($(inst_includedir)/bits/syscall.h): Remove rule.
5965         ($(objpfx)bits/syscall.d): Include instead of
5966         $(objpfx)syscall-list.d.
5967         (generated): Change syscall-list.h and syscall-list.d to
5968         bits/syscall.h and bits/syscall.d.
5970 2012-03-14  Roland McGrath  <roland@hack.frob.com>
5972         [BZ #13846]
5973         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5975 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
5977         [BZ #13841]
5978         * math/s_csqrt.c: Include <float.h>.
5979         (__csqrt): Scale large or subnormal inputs.
5980         * math/s_csqrtf.c: Likewise.
5981         * math/s_csqrtl.c: Likewise.
5982         * math/libm-test.inc (csqrt_test): Add more tests.
5983         * sysdeps/i386/fpu/libm-test-ulps: Update.
5984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5986         [BZ #13840]
5987         * math/libm-test.inc (hypot_test): Add more tests.
5989 2012-03-13  David S. Miller  <davem@davemloft.net>
5991         [BZ #13840]
5992         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5993         double-precision for the calculation instead of scaling.
5995 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
5997         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5998         manipulate bits before adding and subtracting TWO52[sx].
5999         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6000         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6001         Likewise.
6002         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6004 2012-03-13  David S. Miller  <davem@davemloft.net>
6006         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6007         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6008         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6009         rtld-global-offsets.h
6010         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6012         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6013         large parameters.
6015         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6017         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6018         'err' in the ifdef scope in which it is actually used.
6020         * nss/nss_db/db-init.c: Include string.h
6022 2012-03-12  David S. Miller  <davem@davemloft.net>
6024         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6025         masking out of the most significant byte of random value used.
6026         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6027         Fix coding style in previous change.
6029         * sysdeps/unix/sysv/linux/kernel-features.h
6030         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6031         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6032         expression.
6033         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6034         later.
6036 2012-03-11  David S. Miller  <davem@davemloft.net>
6038         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6039         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6040         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6041         for 'resultvar' otherwise things get truncated on 64-bit.
6043         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6044         Fix masking out of the most significant byte of random value used.
6046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6048 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
6050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6052 2012-03-09  David S. Miller  <davem@davemloft.net>
6054         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6055         variables with appropriate CPP guards.
6056         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6057         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
6058         on resulting framesize and the management of the outregs buffer for pltexit.
6059         Preserve floating point return values across _dl_call_pltexit call.
6060         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6061         framesize and the management of the outregs buffer for pltexit.
6062         Preserve floating point return values across _dl_call_pltexit
6063         call.
6064         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6065         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6066         (print_exit): Fix format string for return register value.
6068 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
6070         * sunrpc/Makefile (others): Add rpcgen.
6071         ($(objpfx)rpcgen): Remove special build rule and dependency on
6072         libc.
6073         * sunrpc/rpcgen.c: New file.
6075 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
6077         [BZ #13673]
6078         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6079         * stdio-common/bug-vfprintf-nargs.c: Likewise.
6080         * sysdeps/i386/crti.S: Likewise.
6081         * sysdeps/i386/crtn.S: Likewise.
6082         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6083         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6084         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6085         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6086         * sysdeps/sh/crti.S: Likewise.
6087         * sysdeps/sh/crtn.S: Likewise.
6088         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6090         [BZ #13673]
6091         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6092         with URL.
6093         * locale/programs/locfile-kw.gperf: Likewise.
6094         * locale/programs/charmap-kw.h: Regenerated.
6095         * locale/programs/locfile-kw.h: Likewise.
6097         [BZ #13673]
6098         * intl/plural.y: Replace FSF snail mail address with URL.
6099         * intl/plural.c: Regenerated.
6101 2012-03-09  Richard Henderson  <rth@twiddle.net>
6103         * include/math_private.h: Remove file.
6104         * math/math_private.h: Move file ...
6105         * sysdeps/generic/math_private.h: ... here.
6107         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6108         * sysdeps/powerpc/fpu/math_private.h: Likewise.
6109         * sysdeps/x86_64/fpu/math_private.h: Likewise.
6111         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6112         and <math_private.h>.
6113         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6114         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6115         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6116         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6117         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6118         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6119         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6120         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6121         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6122         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6123         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6124         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6125         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6126         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6127         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6128         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6129         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6130         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6131         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6132         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6133         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6134         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6135         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6136         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6137         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6138         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6139         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6140         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6141         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6142         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6143         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6144         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6145         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6146         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6147         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6148         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6149         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6150         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6151         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6152         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6153         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6154         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6155         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6156         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6157         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6158         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6159         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6160         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6161         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6162         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6163         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6164         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6165         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6166         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6167         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6168         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6169         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6170         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6171         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6172         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6173         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6174         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6175         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6176         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6177         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6178         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6179         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6180         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6181         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6182         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6183         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6184         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6185         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6186         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6187         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6188         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6189         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6190         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6191         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6192         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6193         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6194         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6195         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6196         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6197         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6198         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6199         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6200         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6201         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6202         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6203         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6204         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6205         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6206         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6207         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6208         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6209         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6210         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6211         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6212         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6213         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6214         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6215         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6216         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6217         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6218         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6219         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6220         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6221         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6222         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6223         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6224         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6225         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6226         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6227         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6228         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6229         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6230         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6231         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6232         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6233         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6234         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6235         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6236         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6237         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6238         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6239         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6240         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6241         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6242         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6243         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6244         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6245         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6246         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6247         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6248         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6249         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6250         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6251         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6252         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6253         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6254         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6255         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6256         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6257         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6258         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6259         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6260         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6261         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6262         * sysdeps/ieee754/k_standard.c: Likewise.
6263         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6264         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6265         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6266         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6267         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6268         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6269         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6270         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6271         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6272         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6273         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6274         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6275         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6276         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6277         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6278         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6279         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6280         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6281         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6282         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6283         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6284         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6285         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6286         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6287         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6288         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6289         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6290         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6291         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6292         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6293         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6294         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6295         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6296         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6297         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6298         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6299         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6300         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6301         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6302         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6303         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6304         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6305         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6306         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6307         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6308         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6309         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6310         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6311         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6312         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6313         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6314         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6315         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6316         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6317         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6318         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6319         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6320         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6321         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6322         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6323         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6324         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6325         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6326         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6327         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6328         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6329         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6330         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6331         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6332         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6333         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6334         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6335         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6336         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6337         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6338         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6339         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6340         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6341         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6342         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6343         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6344         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6345         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6346         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6347         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6348         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6349         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6350         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6351         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6352         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6353         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6354         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6355         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6356         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6357         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6358         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6359         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6360         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6361         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6362         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6363         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6364         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6365         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6366         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6367         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6368         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6369         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6370         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6371         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6372         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6373         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6374         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6375         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6376         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6377         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6378         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6379         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6380         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6381         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6382         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6383         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6384         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6385         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6386         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6387         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6388         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6389         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6390         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6391         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6392         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6393         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6394         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6395         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6396         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6397         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6398         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6399         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6400         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6401         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6402         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6403         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6404         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6405         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6406         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6407         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6408         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6409         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6410         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6411         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6412         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6413         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6414         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6415         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6416         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6417         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6418         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6419         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6420         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6421         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6422         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6423         * sysdeps/ieee754/s_lib_version.c: Likewise.
6424         * sysdeps/ieee754/s_matherr.c: Likewise.
6425         * sysdeps/ieee754/s_signgam.c: Likewise.
6426         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6427         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6428         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6429         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6430         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6431         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6432         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6433         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6434         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6435         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6436         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6437         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6438         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6439         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6440         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6441         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6442         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6443         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6444         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6445         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6446         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6448 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
6450         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6451         * sunrpc/rpc_main.c: Likewise.
6452         * sunrpc/rpc_svcout.c: Likewise.
6454 2012-03-09  David S. Miller  <davem@davemloft.net>
6456         * include/math_private.h: New file.
6458 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
6460         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6461         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6462         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6463         from <bits/socket_type.h>.
6464         (enum __socket_type): Don't define here.
6465         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6466         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6467         bits/socket_type.h.
6469         [BZ #13566]
6470         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6471         checking __USE_GNU.
6473         * Makerules ($(inst_includedir)/%.h): New rule.
6474         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6475         (install-others): Remove variable setting.
6476         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6478 2012-03-08  Richard Henderson  <rth@twiddle.net>
6480         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6481         from macro to inline function; merge with the
6482         !__LIBC_INTERNAL_MATH_INLINES version.
6483         (__ieee754_sqrtf): Likewise.
6485         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6486         to inline function.
6487         (__rintf, __floor, __floorf): Likewise.
6489         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6490         macro to inline function.
6491         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6493         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6494         not <math/math_private.h>.
6496 2012-03-08  David S. Miller  <davem@davemloft.net>
6498         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6499         copyright year.
6500         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6502 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
6504         * resolv/gai_misc.c (handle_requests): Fix struct timespec
6505         normalization.
6506         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6507         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6509 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
6511         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
6512         be defined individually, they must be defined as a block.  Define
6513         S for printing a string instead of hidint the different by using a
6514         macro for adding the 'l'.
6515         * stdio-common/tst-fphex-wide.c: Adjust.
6517 2012-03-07  Marek Polacek  <polacek@redhat.com>
6519         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6521 2012-03-08  Marek Polacek  <polacek@redhat.com>
6523         [BZ #13806]
6524         * stdio-common/Makefile (tests): Add tst-fphex-wide.
6525         * stdio-common/tst-fphex.c: Define a few macros to make the
6526         test reusable.  Use them.
6527         * stdio-common/tst-fphex-wide.c: New file.
6529 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
6531         [BZ #6911]
6532         * manual/macros.texi (gnusystems): New macro.
6533         (nongnusystems): Likewise.
6534         (gnulinuxhurdsystems): Likewise.
6535         (gnuhurdsystems): Likewise..
6536         (gnulinuxsystems): Likewise.
6537         * manual/charset.texi: Use new macros or @theglibc{} to refer to
6538         variants of the GNU system, not "GNU system".
6539         * manual/conf.texi: Likewise.
6540         * manual/errno.texi: Likewise.  Update example of errno macro
6541         expansion.
6542         * manual/filesys.texi: Likewise.
6543         (getumask): Document as specific to GNU/Hurd.
6544         * manual/install.texi: Likewise.  Reword some references to
6545         GNU/Linux.
6546         * manual/intro.texi: Likewise.
6547         * manual/io.texi: Likewise.
6548         (File Name Portability): Detail which constraints are inapplicable
6549         to all GNU systems and which are only inapplicable to GNU/Hurd.
6550         * manual/job.texi: Likewise.
6551         * manual/llio.texi: Likewise.
6552         (O_NOCTTY): Document as present on GNU/Linux.
6553         * manual/maint.texi: Likewise.
6554         * manual/memory.texi: Likewise.
6555         * manual/pattern.texi: Likewise.
6556         * manual/pipe.texi: Likewise.
6557         * manual/process.texi: Likewise.
6558         * manual/resource.texi: Likewise.
6559         (RUSAGE_CHILDREN): Remove statement about specifying a particular
6560         child on GNU/Hurd.
6561         * manual/setjmp.texi: Likewise.
6562         * manual/signal.texi: Likewise.
6563         * manual/startup.texi: Likewise.
6564         * manual/stdio.texi: Likewise.
6565         * manual/terminal.texi: Likewise.
6566         (ONLCR): Document as POSIX.
6567         (OXTABS): Document availability on GNU/Linux as XTABS.
6568         (ONOEOT): Document availability separately from other bits.
6569         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6570         * manual/time.texi: Likewise.
6571         * manual/users.texi: Likewise.
6572         * INSTALL: Regenerated.
6573         * sysdeps/gnu/errlist.c: Regenerated.
6575         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6576         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6577         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
6578         puts.
6579         * configure: Regenerated.
6581 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
6583         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6584         default includes instead of AC_HEADER_CHECK.
6585         * sysdeps/i386/configure: Regenerated.
6587         [BZ #10716]
6588         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6589         * math/s_cacoshf.c (__cacoshf): Likewise.
6590         * math/s_cacoshl.c (__cacoshl): Likewise.
6591         * math/s_casinh.c (__casinh): Set signs of result from argument.
6592         * math/s_casinhf.c (__casinhf): Likewise.
6593         * math/s_casinhl.c (__casinhl): Likewise.
6594         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6595         (casinh_test): Add more tests.
6596         * sysdeps/i386/fpu/libm-test-ulps: Update.
6597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6599 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
6601         * po/zh_TW.po: Update from translation team.
6603         * login/Makefile (distribute): Remove variable.
6604         * catgets/Makefile: Likewise.
6605         * mach/Makefile: Likewise.
6606         * malloc/Makefile: Likewise.
6607         * misc/Makefile: Likewise.
6608         * iconv/Makefile: Likewise.
6609         * nscd/Makefile: Likewise.
6610         * hurd/Makefile: Likewise.
6611         * manual/Makefile: Likewise.
6612         * locale/Makefile: Likewise.
6613         * intl/Makefile: Likewise.
6614         * conform/Makefile: Likewise.
6615         * nss/Makefile: Likewise.
6616         * time/Makefile: Likewise.
6617         * soft-fp/Makefile: Likewise.
6618         * dirent/Makefile: Likewise.
6619         * gmon/Makefile: Likewise.
6620         * po/Makefile: Likewise.
6621         * rt/Makefile: Likewise.
6622         * socket/Makefile: Likewise.
6623         * math/Makefile: Likewise.
6624         * signal/Makefile: Likewise.
6625         * debug/Makefile: Likewise.
6626         * elf/Makefile: Likewise.
6627         * timezone/Makefile: Likewise.
6628         * stdlib/Makefile: Likewise.
6629         * iconvdata/Makefile: Likewise.
6630         * sunrpc/Makefile: Likewise.
6631         * io/Makefile: Likewise.
6632         * argp/Makefile: Likewise.
6633         * inet/Makefile: Likewise.
6634         * hesiod/Makefile: Likewise.
6635         * grp/Makefile: Likewise.
6636         * csu/Makefile: Likewise.
6637         * wctype/Makefile: Likewise.
6638         * crypt/Makefile: Likewise.
6639         * libio/Makefile: Likewise.
6640         * string/Makefile: Likewise.
6641         * nis/Makefile: Likewise.
6642         * resolv/Makefile: Likewise.
6643         * stdio-common/Makefile: Likewise.
6644         * wcsmbs/Makefile: Likewise.
6645         * dlfcn/Makefile: Likewise.
6646         * posix/Makefile: Likewise.
6648         [BZ #6959]
6649         * timezone/Makefile: Don't install timezone files, just the programs
6650         and scripts.
6652 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
6654         * nss/databases.def: Add missing gshadow entry.
6656         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
6658 2012-03-06  Marek Polacek  <polacek@redhat.com>
6660         [BZ #13726]
6661         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6662         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6663         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6664         * stdio-common/tst-long-dbl-fphex.c: New file.
6666 2012-03-06  David S. Miller  <davem@davemloft.net>
6668         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6669         (set_obp_int): New function.
6670         (get_obp_int): New function.
6671         (__get_clockfreq_via_dev_openprom): Likewise.
6672         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6673         Avoid unused variable warnings on 'val' and use builtin_expect.
6674         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6675         __builtin_expect.
6676         (INLINE_CLONE_SYSCALL): Likewise.
6678 2012-03-05  David S. Miller  <davem@davemloft.net>
6680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6682 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
6684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6686         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6687         only for |x| >= 40.
6688         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6690 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6692         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6693         Replace gettimeofday with __vdso_gettimeofday.
6695         * sysdeps/unix/sysv/linux/x86_64/init-first.c
6696         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6697         __vdso_clock_gettime and __vdso_getcpu.
6699         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6700         time with __vdso_time.
6702 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
6704         * manual/lang.texi (size_t): Note types to which size_t may be
6705         equivalent with the GNU C Library, but do not describe when
6706         differences between them are significant.
6708 2012-03-05  Andreas Jaeger  <aj@suse.de>
6710         * sysdeps/i386/fpu/libm-test-ulps: Update.
6712 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
6714         [BZ #3976]
6715         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6716         (__ieee754_pow): Save and restore rounding mode and use
6717         round-to-nearest for main computations.
6718         * math/libm-test.inc (pow_test_tonearest): New function.
6719         (pow_test_towardzero): Likewise.
6720         (pow_test_downward): Likewise.
6721         (pow_test_upward): Likewise.
6722         (main): Call the new functions.
6723         * sysdeps/i386/fpu/libm-test-ulps: Update.
6724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6726         [BZ #3976]
6727         * math/libm-test.inc (cosh_test_tonearest): New function.
6728         (cosh_test_towardzero): Likewise.
6729         (cosh_test_downward): Likewise.
6730         (cosh_test_upward): Likewise.
6731         (sinh_test_tonearest): Likewise.
6732         (sinh_test_towardzero): Likewise.
6733         (sinh_test_downward): Likewise.
6734         (sinh_test_upward): Likewise.
6735         (main): Call the new functions.
6736         * sysdeps/i386/fpu/libm-test-ulps: Update.
6737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6739 2012-03-05  Tom de Vries  <tom@codesourcery.com>
6741         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6742         default stack guard is set in last bytes.
6743         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6745 2012-03-05  Kees Cook  <keescook@chromium.org>
6747         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6749         [BZ #13656]
6750         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6751         possibly allocate from heap instead of stack.
6752         * stdio-common/bug-vfprintf-nargs.c: New file.
6753         * stdio-common/Makefile (tests): Add nargs overflow test.
6755 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
6757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6759 2012-03-03  Marek Polacek  <polacek@redhat.com>
6761         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6762         * math/math_private.h: Likewise.
6763         * stdlib/tst-strtod.c: Likewise.
6764         * sysdeps/i386/i486/bits/atomic.h: Likewise.
6765         * sysdeps/x86_64/bits/atomic.h: Likewise.
6767 2012-03-02  David S. Miller  <davem@davemloft.net>
6769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6773         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6774         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6775         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6776         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6778 2012-03-02  Roland McGrath  <roland@hack.frob.com>
6780         [BZ #13792]
6781         * manual/examples/README: New file, says the example source files
6782         can be used under GPL>=2.
6783         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6784         line containing just "*/".
6785         * manual/examples/add.c: Add copyright header (GPL>=2).
6786         * manual/examples/argp-ex1.c: Likewise.
6787         * manual/examples/argp-ex2.c: Likewise.
6788         * manual/examples/argp-ex3.c: Likewise.
6789         * manual/examples/argp-ex4.c: Likewise.
6790         * manual/examples/atexit.c: Likewise.
6791         * manual/examples/db.c: Likewise.
6792         * manual/examples/dir.c: Likewise.
6793         * manual/examples/dir2.c: Likewise.
6794         * manual/examples/execinfo.c: Likewise.
6795         * manual/examples/filecli.c: Likewise.
6796         * manual/examples/filesrv.c: Likewise.
6797         * manual/examples/fmtmsgexpl.c: Likewise.
6798         * manual/examples/genpass.c: Likewise.
6799         * manual/examples/inetcli.c: Likewise.
6800         * manual/examples/inetsrv.c: Likewise.
6801         * manual/examples/isockad.c: Likewise.
6802         * manual/examples/longopt.c: Likewise.
6803         * manual/examples/memopen.c: Likewise.
6804         * manual/examples/memstrm.c: Likewise.
6805         * manual/examples/mkfsock.c: Likewise.
6806         * manual/examples/mkisock.c: Likewise.
6807         * manual/examples/mygetpass.c: Likewise.
6808         * manual/examples/pipe.c: Likewise.
6809         * manual/examples/popen.c: Likewise.
6810         * manual/examples/rprintf.c: Likewise.
6811         * manual/examples/search.c: Likewise.
6812         * manual/examples/select.c: Likewise.
6813         * manual/examples/setjmp.c: Likewise.
6814         * manual/examples/sigh1.c: Likewise.
6815         * manual/examples/sigusr.c: Likewise.
6816         * manual/examples/stpcpy.c: Likewise.
6817         * manual/examples/strdupa.c: Likewise.
6818         * manual/examples/strftim.c: Likewise.
6819         * manual/examples/strncat.c: Likewise.
6820         * manual/examples/subopt.c: Likewise.
6821         * manual/examples/swapcontext.c: Likewise.
6822         * manual/examples/termios.c: Likewise.
6823         * manual/examples/testopt.c: Likewise.
6824         * manual/examples/testpass.c: Likewise.
6825         * manual/examples/timeval_subtract.c: Likewise.
6827         [BZ #13792]
6828         * manual/time.texi (Elapsed Time): Move timeval_subtract example
6829         function to ...
6830         * manual/timeval_subtract.c.texi: ... here, new file.
6832 2012-03-02  David S. Miller  <davem@davemloft.net>
6834         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6836 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
6838         [BZ #3976]
6839         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6840         (__sin): Save and restore rounding mode and use round-to-nearest
6841         for all computations.
6842         (__cos): Save and restore rounding mode and use round-to-nearest
6843         for all computations.
6844         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6845         <fenv.h>.
6846         (tan): Save and restore rounding mode and use round-to-nearest for
6847         all computations.
6848         * math/libm-test.inc (cos_test_tonearest): New function.
6849         (cos_test_towardzero): Likewise.
6850         (cos_test_downward): Likewise.
6851         (cos_test_upward): Likewise.
6852         (sin_test_tonearest): Likewise.
6853         (sin_test_towardzero): Likewise.
6854         (sin_test_downward): Likewise.
6855         (sin_test_upward): Likewise.
6856         (tan_test_tonearest): Likewise.
6857         (tan_test_towardzero): Likewise.
6858         (tan_test_downward): Likewise.
6859         (tan_test_upward): Likewise.
6860         (main): Call the new functions.
6861         * sysdeps/i386/fpu/libm-test-ulps: Update.
6862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6864         [BZ #10135]
6865         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6866         small n, then large n, before computing and testing k+n.
6867         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6868         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6869         Likewise.
6870         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6871         Likewise.
6872         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6873         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6874         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6875         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6876         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6877         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6878         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6879         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6880         * math/libm-test.inc (scalbn_test): Add more tests.
6881         (scalbln_test): Likewise.
6883         * manual/filesys.texi (mode_t): Describe constraints on size and
6884         signedness, not exact equivalence to a particular type.
6885         (ino_t): Likewise.
6886         (ino64_t): Likewise.
6887         (dev_t): Likewise.
6888         (nlink_t): Likewise.
6889         (blkcnt_t): Likewise.
6890         (blkcnt64_t): Likewise.
6891         * manual/llio.texi (off_t): Likewise.
6893         [BZ #3976]
6894         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6895         (__ieee754_exp): Save and restore rounding mode and use
6896         round-to-nearest for all computations.
6897         * math/libm-test.inc (exp_test_tonearest): New function.
6898         (exp_test_towardzero): Likewise.
6899         (exp_test_downward): Likewise.
6900         (exp_test_upward): Likewise.
6901         (main): Call the new functions.
6902         * sysdeps/i386/fpu/libm-test-ulps: Update.
6903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6905 2012-03-01  Chris Demetriou  <cgd@google.com>
6907         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6908         have predictable order.
6910 2012-03-01  David S. Miller  <davem@davemloft.net>
6912         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6914         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6915         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6916         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6917         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6919         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6920         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6921         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6923         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6924         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6925         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6926         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6927         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6931         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6932         * sysdeps/sparc/fpu/libm-test-ulps: to here.
6933         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6935         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6936         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6937         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6938         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6939         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6940         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6941         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6942         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6943         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6944         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6945         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6946         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6947         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6948         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6949         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6950         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6951         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6952         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6953         * sysdeps/sparc/elf/configure: Regenerated.
6955 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
6957         * configure.in (AS, LD): Require binutils 2.20 or later.
6958         * configure: Regenerated.
6959         * manual/install.texi (Tools for Compilation): Give binutils 2.20
6960         as required minimum version.
6961         * INSTALL: Regenerated.
6963         [BZ #2541]
6964         [BZ #4108]
6965         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6966         before squaring exponent.
6967         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6968         bottom long double and 27 bits of top long double before squaring
6969         exponent.
6970         * math/libm-test.inc (erfc_test): Add more tests.
6971         * sysdeps/i386/fpu/libm-test-ulps: Update.
6972         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6975 2012-03-01  Kai Tietz  <ktietz@redhat.com>
6977         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6978         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6979         containing bit-fields.
6980         * soft-fp/extended.h (_FP_UNION_E): Likewise.
6981         * soft-fp/single.h (_FP_UNION_S): Likewise.
6982         * soft-fp/double.h (_FP_UNION_D): Likewise.
6984 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
6986         [BZ #13786]
6987         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6988         not include ../strcmp.S.
6989         [USE_AS_STRNCASECMP_L]: Likewise.
6990         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6991         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6992         * sysdeps/i386/i686/multiarch/strncase_l-c.c
6993         (__strncasecmp_l_ia32): Define as alias to
6994         __strncasecmp_l_nonascii.
6996         [BZ #5794]
6997         * math/libm-test.inc (expm1_test): Add test for bug 5794.
6998         * sysdeps/i386/fpu/libm-test-ulps: Update.
6999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7001         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7004 2012-02-29  Jeff Law  <law@redhat.com>
7006         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7007         out of bounds read.
7009 2012-02-29  Marek Polacek  <polacek@redhat.com>
7011         [BZ #13706]
7012         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7013         * elf/Makefile: Add rules to run tst-unused-dep.out.
7015 2012-02-28  David S. Miller  <davem@davemloft.net>
7017         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7018         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7019         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7020         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7021         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7022         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7024 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
7026         * math/libm-test.inc (llround_test): Move one test from
7027         lround_test.  Use TEST_f_L in moved test.
7028         (lround_test): Move misplaced test to llround_test.  Add testcase
7029         from bug 2561.
7031 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
7033         * sysdeps/x86_64/fpu/e_expf.S: New file.
7034         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7036 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
7038         [BZ #13637]
7039         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7040         of remain_len that may cause incomplete multi-byte character and
7041         false match.
7042         * posix/bug-regex33.c: New file.
7043         * posix/Makefile (tests): Add bug-regex33.
7045 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
7047         * manual/macros.texi: New file.
7048         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7049         * manual/libc.texinfo: Include macros.texi.
7050         * manual/creatute.texi: Likewise.
7051         * manual/install.texi: Likewise.
7052         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7053         @glibcadj{} in references to the GNU C Library.
7054         * manual/charset.texi: Likewise.
7055         * manual/conf.texi: Likewise.
7056         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
7057         when not using those macros.
7058         * manual/creature.texi: Likewise.
7059         * manual/crypt.texi: Likewise.
7060         * manual/errno.texi: Likewise.
7061         * manual/filesys.texi: Likewise.
7062         * manual/header.texi: Likewise.
7063         * manual/install.texi: Likewise.
7064         * manual/intro.texi: Likewise.
7065         * manual/io.texi: Likewise.
7066         * manual/job.texi: Likewise.
7067         * manual/lang.texi: Likewise.
7068         * manual/libc.texiinfo: Likewise.
7069         * manual/llio.texi: Likewise.
7070         * manual/locale.texi: Likewise.
7071         * manual/maint.texi: Likewise.
7072         * manual/math.texi: Likewise.
7073         * manual/memory.texi: Likewise.
7074         * manual/message.texi: Likewise.
7075         * manual/nss.texi: Likewise.
7076         * manual/pattern.texi: Likewise.
7077         * manual/process.texi: Likewise.
7078         * manual/resource.texi: Likewise.
7079         * manual/search.texi: Likewise.
7080         * manual/setjmp.texi: Likewise.
7081         * manual/signal.texi: Likewise.
7082         * manual/socket.texi: Likewise.
7083         * manual/startup.texi: Likewise.
7084         * manual/stdio.texi: Likewise.
7085         * manual/string.texi: Likewise.
7086         * manual/sysinfo.texi: Likewise.
7087         * manual/syslog.texi: Likewise.
7088         * manual/terminal.texi: Likewise.
7089         * manual/time.texi: Likewise.
7090         * manual/users.texi: Likewise.
7091         * INSTALL: Regenerated.
7092         * NOTES: Regenerated.
7093         * sysdeps/gnu/errlist.c: Regenerated.
7095 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
7097         * include/dirent.h: Include <dirstream.h> before
7098         <dirent/dirent.h>.
7100 2012-02-28  David S. Miller  <davem@davemloft.net>
7102         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7103         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7104         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7105         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7107 2012-02-27  David S. Miller  <davem@davemloft.net>
7109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7111         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7112         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7115         frame pointer instead of stack pointer relative arg slot.
7116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7117         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7118         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7120 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
7122         [BZ #3992]
7123         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7125 2012-02-27  David S. Miller  <davem@davemloft.net>
7127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7131         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7132         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7133         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7134         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7136 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
7138         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7139         later.  Allow versions 5-9.
7140         * configure: Regenerated.
7141         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7142         required minimum version and 4.6 as recommended version.  Do not
7143         mention bugs in GCC 2.7 and 2.8.
7144         * INSTALL: Regenerated.
7146 2012-02-27  David S. Miller  <davem@davemloft.net>
7148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7152         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7153         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7154         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7155         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7157         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7158         manipulate bits before adding and subtracting TWO112[sx].
7159         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7161 2012-02-27  Roland McGrath  <roland@hack.frob.com>
7163         [BZ #13775]
7164         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7165         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7166         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7167         being in POSIX, because they are in 1003.1-2008.
7169         * rt/tst-aio.c: Include <fcntl.h>.
7170         * rt/tst-aio7.c: Likewise.
7171         * rt/tst-aio64.c: Likewise.
7173         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7175 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
7177         * manual/install.texi (--with-headers): Describe headers as
7178         interface headers, not private headers.
7179         (Specific advice for GNU/Linux systems): Describe use of headers
7180         from "make headers_install", not private headers from older
7181         kernels.
7182         * INSTALL: Regenerated.
7183         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7184         Change to 2.6.19.
7185         * sysdeps/unix/sysv/linux/configure: Regenerated.
7187         * manual/llio.texi (fclean): Remove documentation.
7189         * manual/Makefile (libc-texi-generated): New variable.  Include
7190         version.texi.
7191         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7192         $(libc-texi-generated), not duplicated list of files.
7193         (version.texi, stamp-version): New rules.
7194         (realclean): Remove $(libc-texi-generated), not individual files
7195         from that list.  Do not remove dir-add.texinfo.
7196         * manual/libc.texinfo: Comment out uses of edition numbers and
7197         references to printed manual.  Remove last-updated dates.
7198         (EDITION): Comment out.
7199         (ISBN): Likewise.
7200         (VERSION, UPDATED): Remove.
7201         (version.texi): Include.
7203 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
7205         * sysdeps/posix/spawni.c: Include <signal.h>.
7206         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7207         * sysdeps/pthread/aio_fsync.c: Likewise.
7209 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
7211         * conform/Makefile (tests): Run only when not cross-compiling and
7212         when fast-check is not defined.
7214         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7215         * conform/data/limits.h-data: Fixes for POSIX2008.
7216         * conform/run-conformtest.sh: Run all tests.
7217         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7218         headers.
7219         * include/bits/dlfcn.h: Likewise.
7220         * include/langinfo.h: Likewise.
7221         * include/monetary.h: Likewise.
7222         * include/sys/poll.h: Likewise.
7224         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7225         for __USE_GNU.
7226         * posix/spawn.h: Define __need_sigset_t.
7227         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7228         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7229         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
7230         to get sigevent_t only.
7231         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7232         only for __USE_GNU.
7233         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7234         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7235         process_vm_writev only for __USE_GNU.
7236         * termios/termios.h: Declare tcgetsid also for POSIX2008.
7238         * conform/Makefile: For now ignore errors from run-conformtest.
7239         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
7240         POSIX to avoid namespace pollution.  Don't prepend headers.
7241         * conform/data/aio.h-data: Fixes for POSIX testing.
7242         * conform/data/fcntl.h-data: Likewise.
7243         * conform/data/glob.h-data: Likewise.
7244         * conform/data/grp.h-data: Likewise.
7245         * conform/data/pthread.h-data: Likewise.
7246         * conform/data/pwd.h-data: Likewise.
7247         * conform/data/signal.h-data: Likewise.
7248         * conform/data/spawn.h-data: Likewise.
7249         * conform/data/stdio.h-data: Likewise.
7250         * conform/data/stdlib.h-data: Likewise.
7251         * conform/data/stropts.h-data: Likewise.
7252         * conform/data/sys/mman.h-data: Likewise.
7253         * conform/data/sys/stat.h-data: Likewise.
7254         * conform/data/sys/types.h-data: Likewise.
7255         * conform/data/sys/wait.h-data: Likewise.
7256         * conform/data/time.h-data: Likewise.
7257         * conform/data/unistd.h-data: Likewise.
7258         * conform/data/utime.h-data: Likewise.
7260         * io/sys/stat.h: fchmod was always in POSIX.
7261         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7262         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7263         * rt/aio.h: Define __need_timespec before including <time.h>.
7264         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7265         struct.  Add forward declaration of pthread_attr_t and use it in
7266         sigevent.
7267         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7268         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7269         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7270         always remove CLK_TCK definition.
7272 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
7274         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7276 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
7278         * conform/run-conformtest.sh: New file.
7279         * conform/Makefile: Run run-conformtest for tests.
7280         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
7281         support.
7283         * conform/data/uchar.h-data: New file.
7284         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7285         * conform/data/arpa/inet.h-data: Likewise.
7286         * conform/data/assert.h-data: Likewise.
7287         * conform/data/complex.h-data: Likewise.
7288         * conform/data/cpio.h-data: Likewise.
7289         * conform/data/ctype.h-data: Likewise.
7290         * conform/data/dirent.h-data: Likewise.
7291         * conform/data/dlfcn.h-data: Likewise.
7292         * conform/data/errno.h-data: Likewise.
7293         * conform/data/fcntl.h-data: Likewise.
7294         * conform/data/float.h-data: Likewise.
7295         * conform/data/fmtmsg.h-data: Likewise.
7296         * conform/data/fnmatch.h-data: Likewise.
7297         * conform/data/ftw.h-data: Likewise.
7298         * conform/data/glob.h-data: Likewise.
7299         * conform/data/grp.h-data: Likewise.
7300         * conform/data/iconv.h-data: Likewise.
7301         * conform/data/inttypes.h-data: Likewise.
7302         * conform/data/langinfo.h-data: Likewise.
7303         * conform/data/libgen.h-data: Likewise.
7304         * conform/data/limits.h-data: Likewise.
7305         * conform/data/locale.h-data: Likewise.
7306         * conform/data/math.h-data: Likewise.
7307         * conform/data/monetary.h-data: Likewise.
7308         * conform/data/mqueue.h-data: Likewise.
7309         * conform/data/ndbm.h-data: Likewise.
7310         * conform/data/net/if.h-data: Likewise.
7311         * conform/data/netdb.h-data: Likewise.
7312         * conform/data/netinet/in.h-data: Likewise.
7313         * conform/data/nl_types.h-data: Likewise.
7314         * conform/data/poll.h-data: Likewise.
7315         * conform/data/pthread.h-data: Likewise.
7316         * conform/data/pwd.h-data: Likewise.
7317         * conform/data/regex.h-data: Likewise.
7318         * conform/data/sched.h-data: Likewise.
7319         * conform/data/search.h-data: Likewise.
7320         * conform/data/semaphore.h-data: Likewise.
7321         * conform/data/setjmp.h-data: Likewise.
7322         * conform/data/signal.h-data: Likewise.
7323         * conform/data/spawn.h-data: Likewise.
7324         * conform/data/stdarg.h-data: Likewise.
7325         * conform/data/stdio.h-data: Likewise.
7326         * conform/data/stdlib.h-data: Likewise.
7327         * conform/data/string.h-data: Likewise.
7328         * conform/data/strings.h-data: Likewise.
7329         * conform/data/stropts.h-data: Likewise.
7330         * conform/data/sys/ipc.h-data: Likewise.
7331         * conform/data/sys/mman.h-data: Likewise.
7332         * conform/data/sys/msg.h-data: Likewise.
7333         * conform/data/sys/resource.h-data: Likewise.
7334         * conform/data/sys/select.h-data: Likewise.
7335         * conform/data/sys/sem.h-data: Likewise.
7336         * conform/data/sys/shm.h-data: Likewise.
7337         * conform/data/sys/socket.h-data: Likewise.
7338         * conform/data/sys/stat.h-data: Likewise.
7339         * conform/data/sys/statvfs.h-data: Likewise.
7340         * conform/data/sys/time.h-data: Likewise.
7341         * conform/data/sys/timeb.h-data: Likewise.
7342         * conform/data/sys/times.h-data: Likewise.
7343         * conform/data/sys/types.h-data: Likewise.
7344         * conform/data/sys/uio.h-data: Likewise.
7345         * conform/data/sys/un.h-data: Likewise.
7346         * conform/data/sys/utsname.h-data: Likewise.
7347         * conform/data/sys/wait.h-data: Likewise.
7348         * conform/data/syslog.h-data: Likewise.
7349         * conform/data/tar.h-data: Likewise.
7350         * conform/data/termios.h-data: Likewise.
7351         * conform/data/utime.h-data: Likewise.
7352         * conform/data/utmpx.h-data: Likewise.
7353         * conform/data/varargs.h-data: Likewise.
7354         * conform/data/wchar.h-data: Likewise.
7355         * conform/data/wctype.h-data: Likewise.
7356         * conform/data/wordexp.h-data: Likewise.
7358         * include/stropts.h: New file.
7359         * include/uchar.h: New file.
7360         * include/aio.h: Changes to allow conformtest.pl to use the headers.
7361         * include/assert.h: Likewise.
7362         * include/ctype.h: Likewise.
7363         * include/dirent.h: Likewise.
7364         * include/dlfcn.h: Likewise.
7365         * include/fcntl.h: Likewise.
7366         * include/fnmatch.h: Likewise.
7367         * include/glob.h: Likewise.
7368         * include/grp.h: Likewise.
7369         * include/libio.h: Likewise.
7370         * include/locale.h: Likewise.
7371         * include/math.h: Likewise.
7372         * include/net/if.h: Likewise.
7373         * include/netdb.h: Likewise.
7374         * include/netinet/in.h: Likewise.
7375         * include/pthread.h: Likewise.
7376         * include/pwd.h: Likewise.
7377         * include/regex.h: Likewise.
7378         * include/sched.h: Likewise.
7379         * include/search.h: Likewise.
7380         * include/setjmp.h: Likewise.
7381         * include/signal.h: Likewise.
7382         * include/stdio.h: Likewise.
7383         * include/stdlib.h: Likewise.
7384         * include/string.h: Likewise.
7385         * include/sys/cdefs.h: Likewise.
7386         * include/sys/mman.h: Likewise.
7387         * include/sys/msg.h: Likewise.
7388         * include/sys/resource.h: Likewise.
7389         * include/sys/select.h: Likewise.
7390         * include/sys/socket.h: Likewise.
7391         * include/sys/stat.h: Likewise.
7392         * include/sys/statvfs.h: Likewise.
7393         * include/sys/time.h: Likewise.
7394         * include/sys/times.h: Likewise.
7395         * include/sys/uio.h: Likewise.
7396         * include/sys/utsname.h: Likewise.
7397         * include/sys/wait.h: Likewise.
7398         * include/termios.h: Likewise.
7399         * include/time.h: Likewise.
7400         * include/ulimit.h: Likewise.
7401         * include/unistd.h: Likewise.
7402         * include/utime.h: Likewise.
7403         * include/wchar.h: Likewise.
7404         * include/wctype.h: Likewise.
7405         * include/wordexp.h: Likewise.
7407         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7409         * time/time.h: TIME_UTC must be a macro.
7410         Make timespec_get available for ISO C11 only as well.
7412 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
7414         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7415         Reported by Peng Haitao <penght@cn.fujitsu.com>.
7417 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
7419         * configure.in: Use -o not -a in test for unsupported multi-arch.
7421 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
7423         * manual/texinfo.tex: Update to version 2012-01-19.16.
7425 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
7427         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7429 2012-02-24  Roland McGrath  <roland@hack.frob.com>
7431         [BZ #13738]
7432         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7433         * manual/fdl-1.3.texi: New file.
7434         * manual/fdl-1.1.texi: File removed.
7436         [BZ #13738]
7437         * manual/libc.texinfo (FDL_VERSION): New @set.
7438         Use it for mention of FDL in cover text.
7439         (Documentation License): Use it in @include file name.
7441 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
7442             Roland McGrath  <roland@hack.frob.com>
7444         [BZ #5461]
7445         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7446         not LONG_LONG_MAX and LONG_LONG_MIN.
7447         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7448         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
7449         name.
7450         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7452 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
7454         [BZ #2547]
7455         [BZ #11365]
7456         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7457         manipulate bits before adding and subtracting TWO23[sx].
7458         * math/libm-test.inc (nearbyint_test): Add more tests.
7460 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
7462         [BZ #2548]
7463         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7464         bits before adding and subtracting TWO23[sx].
7465         * math/libm-test.inc (rint_test): Add more tests.
7466         (rint_test_tonearest): Likewise.
7467         (rint_test_towardzero): Likewise.
7468         (rint_test_downward): Likewise.
7469         (rint_test_upward: Likewise.
7471 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
7473         [BZ #10110]
7474         * include/stdc-predef.h: New file.  Extracted from features.h.
7475         * include/features.h: Include stdc-predef.h.
7476         * Makefile (headers): Add stdc-predef.h.
7477         * CONFORMANCE (Compiler limitations): Update.
7479 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
7481         * manual/libc.texinfo (VERSION, UPDATED): Revert.
7483 2012-02-21  David S. Miller  <davem@davemloft.net>
7485         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7486         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7488 2012-02-20  David S. Miller  <davem@davemloft.net>
7490         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7491         using a normal save/restore sequence, rather than allocating a
7492         dummy stack frame just to store a frame pointer and restore.
7493         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7495 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
7497         * manual/install.texi: Fix stray word in line-wrapped comment.
7499 2012-02-20  David S. Miller  <davem@davemloft.net>
7501         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7502         both binutils and gcc support GOTDATA.
7504         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7505         "rd %pc" in the PIC register setup sequences.
7507         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7508         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7509         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7510         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7511         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7512         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7513         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7514         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7515         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7516         (SYSCALL_ERROR_HANDLER): Likewise.
7517         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7518         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7519         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7520         (SYSCALL_ERROR_HANDLER): Likewise.
7522         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7523         (HAVE_GCC_GOTDATA): New.
7524         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7525         relocation support in both binutils and gcc.
7526         * sysdeps/sparc/elf/configure: Regenerate.
7528         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7529         * sysdeps/sparc/sparc32/elf/configure: Delete.
7530         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7531         * sysdeps/sparc/sparc64/elf/configure: Delete.
7532         * sysdeps/sparc/elf/configure.in: New file.
7533         * sysdeps/sparc/elf/configure: Generate.
7535         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7536         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7537         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7538         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7539         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7541 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
7543         * manual/install.texi: Do not mention specific glibc version
7544         numbers.
7545         * manual/libc.texinfo (VERSION, UPDATED): Update.
7546         (@copying): Use @copyright{} and range of years.
7548 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
7550         [BZ #13695]
7551         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7552         [crti.S not in sysdirs] (generated): Do not append.
7553         [crti.S not in sysdirs] (omit-deps): Likewise.
7554         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7555         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7556         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7557         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7558         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7559         Likewise.
7560         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7561         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7562         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7563         * csu/defs.awk: Remove file.
7564         * sysdeps/generic/initfini.c: Likewise.
7565         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7566         variable.
7567         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7568         Likewise.
7570 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
7572         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7573         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7574         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7575         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7576         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7577         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7578         <bits/epoll.h>.
7579         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7580         (__EPOLL_PACKED): Define to empty if not defined by
7581         <bits/epoll.h>.
7582         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7583         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7584         bits/epoll.h.
7586 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
7588         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7589         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7590         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7591         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7592         <bits/timerfd.h>.
7593         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7594         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7595         bits/timerfd.h.
7597 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
7599         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7600         in C locale.
7601         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7602         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7603         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7606 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
7608         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7609         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7611 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
7613         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7614         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7615         defined.
7616         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7617         Likewise.
7618         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7619         entry for 2.16.
7621 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
7623         * math/w_acos.c: Use non-signaling floating-point comparisons.
7624         * math/w_acosf.c: Likewise.
7625         * math/w_acosh.c: Likewise.
7626         * math/w_acoshf.c: Likewise.
7627         * math/w_acoshl.c: Likewise.
7628         * math/w_acosl.c: Likewise.
7629         * math/w_asin.c: Likewise.
7630         * math/w_asinf.c: Likewise.
7631         * math/w_asinl.c: Likewise.
7632         * math/w_atanh.c: Likewise.
7633         * math/w_atanhf.c: Likewise.
7634         * math/w_atanhl.c: Likewise.
7635         * math/w_exp2.c: Likewise.
7636         * math/w_exp2f.c: Likewise.
7637         * math/w_exp2l.c: Likewise.
7638         * math/w_j0.c: Likewise.
7639         * math/w_j0f.c: Likewise.
7640         * math/w_j0l.c: Likewise.
7641         * math/w_j1.c: Likewise.
7642         * math/w_j1f.c: Likewise.
7643         * math/w_j1l.c: Likewise.
7644         * math/w_jn.c: Likewise.
7645         * math/w_jnf.c: Likewise.
7646         * math/w_log.c: Likewise.
7647         * math/w_log10.c: Likewise.
7648         * math/w_log10f.c: Likewise.
7649         * math/w_log10l.c: Likewise.
7650         * math/w_log2.c: Likewise.
7651         * math/w_log2f.c: Likewise.
7652         * math/w_log2l.c: Likewise.
7653         * math/w_logf.c: Likewise.
7654         * math/w_logl.c: Likewise.
7655         * math/w_sqrt.c: Likewise.
7656         * math/w_sqrtf.c: Likewise.
7657         * math/w_sqrtl.c: Likewise.
7658         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7659         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7660         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7661         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7662         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7664 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
7666         [BZ #9739]
7667         * manual/string.texi (strnlen): Use correct parameter name in
7668         equivalent expression.
7670 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
7672         [BZ #11174]
7673         * manual/users.texi (seteuid): Consistently use neweuid for
7674         argument name.
7676 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
7678         [BZ #13704]
7679         * manual/nss.texi (Services in the NSS configuration): Correct
7680         list of services in example configuration file.
7682 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
7684         [BZ #11322]
7685         * manual/arith.texi: Remove statements about negative zero
7686         behaving identically to zero.
7688 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
7690         [BZ #5993]
7691         * manual/install.texi: Do not document upgrading from libc5.
7693 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
7695         [BZ #4596]
7696         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7698 2012-02-18  David S. Miller  <davem@davemloft.net>
7700         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7701         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7702         %o7 across the call.
7703         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7704         instead.
7705         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7706         SETUP_PIC_REG_LEAF.
7707         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7708         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7709         * sysdeps/sparc/crtn.S: Likewise.
7711 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
7713         * aout/Makefile: Remove.
7715 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
7717         [BZ #13058]
7718         * manual/examples/argp-ex1.c (main): Format definition in GNU
7719         style.
7720         * manual/examples/argp-ex2.c (main): Likewise.
7721         * manual/examples/argp-ex3.c (main): Likewise.
7722         * manual/examples/argp-ex4.c (main): Likewise.
7723         * manual/examples/longopt.c (main): Use new-style prototype
7724         definition.
7725         * manual/examples/strncat.c (main): Specify return type and use
7726         (void) for arguments.
7727         * manual/examples/subopt.c (main): Use char **argv argument.
7729 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
7731         [BZ #5077]
7732         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7733         rounding modes.
7735 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
7737         [BZ #6907]
7738         * manual/string.texi (strchr): Change when strchrnul is
7739         recommended.
7741 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
7743         [BZ #174]
7744         * manual/locale.texi (setlocale): Document LOCPATH.
7746 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
7748         [BZ #10210]
7749         * manual/process.texi (execle): Move @dots{} before last argument.
7751 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
7753         [BZ #12047]
7754         * manual/charset.texi (Generic Charset Conversion): Fix typo
7755         (LC_TYPE -> LC_CTYPE).
7757 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
7759         [BZ #5805]
7760         * manual/arith.texi (scalbn): Use @var{} on parameter names.
7761         (scalbnf): Likewise.
7762         (scalbnl): Likewise.
7763         (scalbln): Likewise.
7764         (scalblnf): Likewise.
7765         (scalblnl): Likewise.
7766         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7767         (vwarnx): Likewise.
7768         (verr): Likewise.
7769         (verrx): Likewise.
7770         * manual/filesys.texi (telldir): Use braces around return type.
7771         * manual/llio.texi (mmap): Add space after comma.
7772         (mmap64): Likewise.
7773         * manual/math.texi (jn): Use @var{} on parameter names.
7774         (jnf): Likewise.
7775         (jnl): Likewise.
7776         (yn): Likewise.
7777         (ynf): Likewise.
7778         (ynl): Likewise.
7779         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7780         line.
7781         * manual/resource.texi (ulimit): Use @dots{} instead of literal
7782         "...".
7783         (sched_get_priority_min): Remove semicolon on @deftypefun line.
7784         (sched_get_priority_max): Likewise.
7785         * manual/signal.texi (sigvec): Add space after comma.
7786         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7787         names.
7788         (if_indextoname): Likewise.
7789         (if_freenameindex): Likewise.
7790         (sendto): Use ',' instead of '.' in prototype.
7791         * manual/startup.texi (syscall): Use @dots{} instead of literal
7792         "...".
7793         * manual/stdio.texi (__fpending): Separate initial words of
7794         paragraph from @deftypefun line.
7795         * manual/syslog.texi (syslog): Use @dots{} instead of literal
7796         "...".
7797         (vsyslog): Use @var{} on parameter names.
7798         * manual/terminal.texi (stty): Use @var{} on parameter names.
7799         * manual/users.texi (getutmp): Use @var{} on parameter names.
7800         (getutmpx): Likewise.
7802 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
7804         [BZ #6884]
7805         * manual/stdio.texi (fopen): Fix typos in description of
7806         ",ccs=STRING".
7808 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
7810         [BZ #4026]
7811         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7812         get clock_id definition.
7814 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
7816         [BZ #4822]
7817         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7818         (madvise): Cast every argument to void on its own.
7820 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
7822         [BZ #9902]
7823         * manual/startup.texi (Exit Status): Fix typo.
7825 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
7827         [BZ #10140]
7828         * manual/examples/argp-ex1.c: Include <stdlib.h>.
7829         * manual/examples/argp-ex2.c: Likewise.
7830         * manual/examples/argp-ex3.c: Likewise.
7832 2012-02-16  Richard Henderson  <rth@redhat.com>
7834         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7835         * sysdeps/s390/s390-32/initfini.c: Remove.
7836         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7837         * sysdeps/s390/s390-64/initfini.c: Remove.
7839 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7841         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7842         compiler output for sysdeps/generic/initfini.c.
7843         * sysdeps/sh/elf/initfini.c: Remove file.
7845 2012-02-16  David S. Miller  <davem@davemloft.net>
7847         [BZ #11494]
7848         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7850         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7851         * sysdeps/sparc/crti.S: New file.
7852         * sysdeps/sparc/crtn.S: New file.
7853         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7854         * sysdeps/sparc/sparc64/Makefile: Likewise.
7856 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
7858         [BZ #3335]
7859         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7861 2012-02-15  Roland McGrath  <roland@hack.frob.com>
7863         [BZ #4822]
7864         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7866         * mach/devstream.c (cookie_io_functions_t): Macro removed.
7867         (write, read, close): Likewise.
7868         Patch by Aurelien Jarno <aurelien@aurel32.net>.
7870 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
7872         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7873         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7874         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7875         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7876         <bits/signalfd.h>.
7877         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7878         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7879         bits/signalfd.h.
7881 2012-02-14  Marek Polacek  <polacek@redhat.com>
7883         * sysdeps/x86_64/crti.S: New file.
7884         * sysdeps/x86_64/crtn.S: New file.
7885         * sysdeps/x86_64/elf/initfini.c: Remove file.
7887 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
7889         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7890         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7891         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7892         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7893         <bits/inotify.h>.
7894         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7895         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7896         bits/inotify.h.
7898 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
7900         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7901         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7902         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7903         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7904         <bits/eventfd.h>.
7905         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7906         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7907         bits/eventfd.h.
7909 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
7911         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7912         __feraiseexcept instead of feraiseexcept.
7914         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7915         nanosleep invocations.
7916         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7917         strings, and add error checking for a nanosleep invocations.
7919 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
7921         Replace FSF snail mail address with URLs, as per GNU coding standards.
7922         Most of the snail mail addresses were wrong anyway, and omitting
7923         them makes the source code easier to maintain.  Almost all of the
7924         changes are to license notices and to locale LC_IDENTIFICATION
7925         addresses, except for this one:
7926         * manual/libc.texinfo: In "Published by", give the FSF's URL,
7927         not its snail mail address.
7929 2012-02-09  Richard Henderson  <rth@twiddle.net>
7931         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7932         of kernel-features.h.
7934         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7936 2012-02-08  Marek Polacek  <polacek@redhat.com>
7938         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7939         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7940         * sysdeps/gnu/_G_config.h: Likewise.
7941         * sysdeps/generic/_G_config.h: Likewise.
7943 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
7945         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7946         tests.
7947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7949         * sysdeps/powerpc/powerpc32/crti.S: New file.
7950         * sysdeps/powerpc/powerpc32/crtn.S: New file.
7951         * sysdeps/powerpc/powerpc64/crti.S: New file.
7952         * sysdeps/powerpc/powerpc64/crtn.S: New file.
7954         * Makeconfig (have-initfini): Don't set.
7955         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7956         * configure.in (nopic_initfini): Don't substitute.
7957         * config.h.in (HAVE_INITFINI): Don't #undef.
7958         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7959         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7961 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
7963         Support crti.S and crtn.S provided directly by architectures.
7964         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7965         [crti.S in sysdirs] (omit-deps): Likewise.
7966         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7967         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7968         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7969         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7970         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7971         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7972         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7973         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7974         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7975         compiler output for sysdeps/generic/initfini.c.
7976         * sysdeps/i386/elf/Makefile: Remove file.
7977         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7979 2012-02-07  Marek Polacek  <polacek@redhat.com>
7981         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7982         * sysdeps/gnu/_G_config.h: Likewise.
7983         * sysdeps/mach/hurd/_G_config.h: Likewise.
7985 2012-02-07  Marek Polacek  <polacek@redhat.com>
7987         * math/Makefile (tests): Add tst-CMPLX2.
7988         * math/tst-CMPLX2.c: New file.
7990 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
7992         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7994         * math/libm-test.inc (jn_test): Add missing L suffix.
7996 2012-02-06  Marek Polacek  <polacek@redhat.com>
7998         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7999         * sysdeps/i386/fpu/e_powf.S: Likewise.
8000         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8001         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8002         * sysdeps/i386/fpu/e_acosh.S: Likewise.
8003         * sysdeps/i386/fpu/e_pow.S: Likewise.
8004         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8005         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8006         * sysdeps/i386/fpu/s_expm1.S: Likewise.
8007         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8008         * sysdeps/i386/fpu/e_log2.S: Likewise.
8009         * sysdeps/i386/fpu/e_log2l.S: Likewise.
8010         * sysdeps/i386/fpu/e_scalb.S: Likewise.
8011         * sysdeps/i386/fpu/e_powl.S: Likewise.
8012         * sysdeps/i386/fpu/s_log1p.S: Likewise.
8013         * sysdeps/i386/fpu/e_log10f.S: Likewise.
8014         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8015         * sysdeps/i386/fpu/e_logl.S: Likewise.
8016         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8017         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8018         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8019         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8020         * sysdeps/i386/fpu/e_log2f.S: Likewise.
8021         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8022         * sysdeps/i386/fpu/e_log.S: Likewise.
8023         * sysdeps/i386/fpu/s_cexp.S: Likewise.
8024         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8025         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8026         * sysdeps/i386/fpu/e_logf.S: Likewise.
8027         * sysdeps/i386/fpu/e_log10l.S: Likewise.
8028         * sysdeps/i386/fpu/e_atanh.S: Likewise.
8029         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8030         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8031         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8032         * sysdeps/i386/fpu/e_log10.S: Likewise.
8033         * sysdeps/i386/fpu/s_frexp.S: Likewise.
8034         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8035         * sysdeps/i386/fpu/s_asinh.S: Likewise.
8036         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8037         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8038         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8039         * sysdeps/i386/asm-syntax.h: Likewise.
8040         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8041         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8042         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8043         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8044         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8045         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8046         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8047         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8048         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8049         * sysdeps/powerpc/sysdep.h: Likewise.
8050         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8051         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8053 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
8055         [BZ #411]
8056         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8058 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
8060         * sysdeps/i386/sysdep.h: Include <features.h>.
8061         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8062         version.
8064 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
8066         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8067         Define.
8068         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8069         LOAD_PIC_REG_STR.
8071 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
8073         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8074         (SETUP_PIC_REG): Use GET_PC_THUNK.
8075         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8076         macro.
8078 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
8080         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8081         for non-PIC compilation.
8082         (SETUP_PIC_REG): Add .p2align directive.
8083         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8084         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8085         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8086         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8087         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8088         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8089         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8090         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8091         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8092         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8093         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8094         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8095         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8096         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8097         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8098         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8099         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8100         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8101         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8102         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8103         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8104         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8105         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8106         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8107         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8108         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8109         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8110         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8111         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8112         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8113         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8114         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8115         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8116         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8117         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8118         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8119         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8120         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8121         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8122         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8123         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8125 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
8127         * math/tst-CMPLX.c: Include <stdio.h>.
8129 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
8131         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8132         float.
8133         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8134         * sysdeps/sparc/bits/mathdef.h: Likewise.
8136 2012-01-31  Marek Polacek  <polacek@redhat.com>
8138         * libio/libio.h: Don't define _PARAMS.
8139         * locale/programs/config.h: Don't define PARAMS.
8140         * stdlib/strtol_l.c: Likewise.
8141         (__strtol_l): Remove PARAMS from the prototype.
8143 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
8145         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
8146         names.  Just use the correct names.  Remove unnecessary wrapper
8147         functions.
8148         * malloc/arena.c: Likewise.
8149         * malloc/hooks.c: Likewise.
8151         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8152         ARENA_TEST says not to.  Simplify test for creation of a new arena.
8153         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8155 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
8157         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8158         into tail calls.
8159         (update_get_addr): New function.
8160         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8161         GET_ADDR_MODULE parameter.
8163 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
8165         * crypt/cert.c: Remove __STDC__ conditionals.
8166         * crypt/crypt-entry.c: Likewise.
8167         * crypt/crypt_util.c: Likewise.
8168         * libio/filedoalloc.c: Likewise.
8169         * libio/fileops.c: Likewise.
8170         * libio/genops.c: Likewise.
8171         * libio/iofclose.c: Likewise.
8172         * libio/iofdopen.c: Likewise.
8173         * libio/iofopen.c: Likewise.
8174         * libio/iofopen64.c: Likewise.
8175         * libio/iogetdelim.c: Likewise.
8176         * libio/iopopen.c: Likewise.
8177         * libio/obprintf.c: Likewise.
8178         * libio/oldfileops.c: Likewise.
8179         * libio/oldiofclose.c: Likewise.
8180         * libio/oldiofdopen.c: Likewise.
8181         * libio/oldiofopen.c: Likewise.
8182         * libio/oldiopopen.c: Likewise.
8183         * libio/wfiledoalloc.c: Likewise.
8184         * libio/wgenops.c: Likewise.
8185         * locale/programs/xmalloc.c: Likewise.
8186         * misc/syslog.c: Likewise.
8187         * stdio-common/xbug.c: Likewise.
8188         * string/memchr.c: Likewise.
8189         * string/memcmp.c: Likewise.
8190         * string/memrchr.c: Likewise.
8191         * string/rawmemchr.c: Likewise.
8192         * sysdeps/posix/getcwd.c: Likewise.
8193         * time/strftime_l.c: Likewise.
8195 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
8197         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8198         * config.make.in (config-cflags-sse2avx): Define.
8199         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8200         Fix typo.
8202 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
8204         * scripts/config.guess: Update from upstream config git repository.
8205         * scripts/config.sub: Likewise.
8207 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
8209         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8210         (EM_NUM): Update.
8211         (R_TILEPRO_*, R_TILEGX_*): New macros.
8213         * scripts/firstversions.awk: Fix bug in version range handling.
8215         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8217         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8219         * include/sys/epoll.h: New file.
8220         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8221         libc_hidden_def.
8223 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
8225         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8226         Avoid unnecessary __WORDSIZE == 64 test.
8227         (fmaxf): Use VEX format if possible.
8228         (fmax): Likewise.
8229         (fminf): Likewise.
8230         (fmin): Likewise.
8232         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8233         * math/math_private.h: Remove libc_fegetround* and
8234         libc_fesetround*.
8235         * sysdeps/i386/configure.in: Check for -msse2avx.
8236         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8237         also if SSE2AVX is defined.
8238         Remove libc_fegetround* and libc_fesetround*.
8239         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8240         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
8241         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8242         of HAS_YMM_USABLE.
8243         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8244         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8245         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8246         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8247         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8249         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8251 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8253         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8254         size is not set.
8255         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8257 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
8259         [BZ #13618]
8260         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8261         relocation.
8262         * Makeconfig (libm): Define.
8263         * elf/Makefile: Add rules to build and run tst-relsort1.
8264         * elf/tst-relsort1.c: New file.
8265         * elf/tst-relsort1mod1.c: New file.
8266         * elf/tst-relsort1mod2.c: New file.
8268 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
8270         * math/s_ldexp.c: Remove __STDC__ conditionals.
8271         * math/s_ldexpf.c: Likewise.
8272         * math/s_ldexpl.c: Likewise.
8273         * math/s_nextafter.c: Likewise.
8274         * math/s_nexttowardf.c: Likewise.
8275         * math/s_significand.c: Likewise.
8276         * math/s_significandf.c: Likewise.
8277         * math/s_significandl.c: Likewise.
8278         * math/w_jnl.c: Likewise.
8279         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8280         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8281         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8282         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8283         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8284         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8285         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8286         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8287         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8288         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8289         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8290         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8291         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8292         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8293         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8294         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8295         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8296         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8297         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8298         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8299         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8300         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8301         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8302         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8303         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8304         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8305         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8306         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8307         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8308         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8309         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8310         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8311         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8312         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8313         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8314         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8315         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8316         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8317         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8318         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8319         * sysdeps/ieee754/k_standard.c: Likewise.
8320         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8321         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8322         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8323         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8324         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8325         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8326         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8327         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8328         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8329         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8330         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8331         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8332         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8333         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8334         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8335         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8336         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8337         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8338         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8339         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8340         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8341         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8342         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8343         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8344         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8345         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8346         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8347         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8348         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8349         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8350         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8351         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8352         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8353         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8354         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8355         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8356         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8357         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8358         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8359         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8360         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8361         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8362         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8363         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8364         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8365         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8366         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8367         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8368         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8369         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8370         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8371         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8372         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8373         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8374         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8375         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8376         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8377         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8378         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8379         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8380         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8381         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8382         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8383         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8384         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8385         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8386         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8387         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8388         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8389         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8390         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8391         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8392         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8393         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8394         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8395         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8396         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8397         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8398         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8399         * sysdeps/ieee754/s_matherr.c: Likewise.
8400         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8401         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8402         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8403         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8405 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
8407         * crypt/md5.h: Remove __STDC__ conditionals.
8408         * libio/libioP.h: Likewise.
8409         * locale/programs/config.h: Likewise.
8410         * sysdeps/generic/sysdep.h: Likewise.
8411         * sysdeps/i386/asm-syntax.h: Likewise.
8412         * sysdeps/s390/asm-syntax.h: Likewise.
8413         * sysdeps/unix/sysdep.h: Likewise.
8414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8417 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
8419         * libio/libio.h: Remove __STDC__ conditionals.
8420         * malloc/obstack.h: Likewise.
8421         * math/complex.h: Likewise.
8422         * math/math.h: Likewise.
8423         * sysdeps/generic/_G_config.h: Likewise.
8424         * sysdeps/gnu/_G_config.h: Likewise.
8425         * sysdeps/mach/hurd/_G_config.h: Likewise.
8426         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8427         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8428         * sysdeps/sparc/bits/mathdef.h: Likewise.
8430 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
8432         [BZ #13583]
8433         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8434         Clean up HAS_* macros.
8435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8436         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8437         possible.
8438         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8439         HAS_AVX.
8440         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8441         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8442         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8443         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8444         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8446 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
8448         * elf/tst-unique3.cc (gets): Remove declaration.
8449         * elf/tst-unique3lib.cc (gets): Likewise.
8450         * elf/tst-unique3lib2.cc (gets): Likewise.
8451         * elf/tst-unique4.cc (gets): Likewise.
8453 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
8455         * include/stdio.h: Add C++ protection.  Add gets declarations and
8456         definitions.
8457         * debug/tst-chk1.c: Don't declare gets here.
8458         * stdio-common/tst-gets.c: Likewise.
8460 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
8462         * posix/glob: Remove directory.
8464 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
8466         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8468 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
8470         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8471         of the non-standard EPFNOSUPPORT.
8473 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8475         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8476         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8477         ANYWHERE set to 1 only on KERN_NO_SPACE error.
8479 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
8481         * wcsmbs/uchar.h: Test __STDC_VERSION__.
8483 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
8485         * nscd/aicache.c (addhstaiX): Do not cache negative results of
8486         transient errors.
8487         * nscd/grpcache.c (cache_addgr): Likewise.
8488         * nscd/hstcache.c (cache_addhst): Likewise.
8489         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8490         * nscd/pwdcache.c (cache_addpw): Likewise.
8491         * nscd/servicescache.c (cache_addserv): Likewise.
8493 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
8495         * malloc/malloc.c: Various cleanups.
8496         * malloc/hooks.c: Likewise.
8498         * stdlib/Makefile (tests): Add bug-fmtmsg1.
8499         * stdlib/bug-fmtmsg1.c: New file.
8501         * stdlib/fmtmsg.c (init): Add missing unlock.
8502         Patch by Peng Haitao <penght@cn.fujitsu.com>.
8504 2012-01-12  Marek Polacek  <polacek@redhat.com>
8506         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8507         and _GNU_SOURCE.
8509 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
8511         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8512         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8513         macro to ensure uniqueness of label name.
8514         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8515         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8517 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
8519         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8521         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8522         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8523         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8524         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8526 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
8528         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8530         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8531         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8532         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8534         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8536         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8537         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8538         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8539         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8541         * math/bits/math-finite.h: Add ldexp support.
8543 2012-01-10  Marek Polacek  <polacek@redhat.com>
8545         * locale/programs/localedef.h (show_archive_content): Add noreturn
8546         attribute.
8548 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
8550         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8552 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
8554         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8556         * io/Makefile (headers): Add bits/poll2.h.
8558 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
8560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8561         typo #include statement.
8563 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
8565         * include/sys/cdefs.h: Define __attribute_alloc_size.
8566         * catgets/gencat.c: Add alloc_size attribute and apply consistently
8567         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8568         * elf/pldd.c: Likewise.
8569         * iconv/iconv_charmap.c: Likewise.
8570         * iconv/iconvconfig.c: Likewise.
8571         * iconv/strtab.c: Likewise.
8572         * locale/programs/locale.c: Likewise.
8573         * locale/programs/localedef.h: Likewise.
8574         * locale/programs/simple-hash.c: Likewise.
8575         * nscd/nscd.h: Likewise.
8576         * nss/makedb.c: Likewise.
8577         * sysdeps/generic/ldconfig.h: Likewise.
8578         * locale/programs/localedef.c: Remove xmalloc prototype.
8579         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8581 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8583         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8584         appropriate.
8586 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
8588         * math/Makefile (tests): Add tst-CMPLX.
8589         * math/tst-CMPLX.c: New file.
8591         * math/complex.h (CMPLXL): Fix typo.
8593         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8594         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8595         GLIBC_2.16.
8596         * debug/tst-chk1.c: Add poll and ppoll tests.
8597         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8598         * include/sys/poll.h: Add hidden proto for ppoll.
8599         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8600         * sysdeps/mach/hurd/ppoll.c: Likewise.
8601         * io/ppoll.c: Likewise.
8602         * debug/poll_chk.c: New file.
8603         * debug/ppoll_chk.c: New file.
8604         * include/bits/poll2.h: New file.
8605         * io/bits/poll2.h: New file.
8607         [BZ #1350]
8608         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8610         * configure.in: static is always set to yes.  Remove.
8611         * config.make.in: Don't set build-static.
8612         * Makeconfig: Remove use of build-static.
8613         * dlfcn/Makefile: Likewise.
8614         * elf/Makefile: Likewise.
8615         * math/Makefile: Likewise.
8616         * misc/Makefile: Likewise.
8617         * nptl/Makefile: Likewise.
8618         * sysdeps/mach/hurd/Makefile: Likewise.
8620         * configure.in: PWD_P is not used anymore.
8621         * config.make.in: Remove PWD_P entry.
8623         * configure.in: Remove last remnants of RANLIB.
8624         No need to check for signed size_t anymore.
8625         Don't set libc_commonpagesize and libc_relro_required here for Alpha
8626         and IA-64.
8627         Remove __builtin_expect test because we require at least gcc 3.4.
8628         * aclocal.m4: Likewise.
8630         * wcsmbs/mbrtoc16.c: Implement using towc function.
8631         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8632         * wcsmbs/wcsmbsload.c: Likewise.
8633         * iconv/gconv_simple.c: Likewise.
8634         * iconv/gconv_int.h: Likewise.
8635         * iconv/gconv_builtin.h: Likewise.
8636         * iconv/iconv_prog.c: Remove CHAR16 handling.
8638         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8640         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8642         * configure.in: Remove --with-elf and --enable-bounded options.
8643         Dont set base_machine for ia64.  More non-ELF conditions removed.
8644         Remove testing and setting of leading underscore information.
8645         * config.make.in (build-bounded): Set to no.
8646         * config.h.in: Remove NO_UNDERSCORES entry.
8647         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
8648         them.
8649         * csu/start.c: Remove !NO_UNDERSCORE code.
8650         * locale/localeinfo.h: Likewise.
8651         * sysdeps/generic/machine-gmon.h: Likewise.
8652         * sysdeps/generic/sysdep.h: Likewise.
8653         * sysdeps/i386/sysdep.h: Likewise.
8654         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8655         * sysdeps/mach/sysdep.h: Likewise.
8656         * sysdeps/s390/s390-32/sysdep.h: Likewise.
8657         * sysdeps/s390/s390-64/sysdep.h: Likewise.
8658         * sysdeps/sh/sysdep.h: Likewise.
8659         * sysdeps/sparc/sparc32/alloca.S: Likewise.
8660         * sysdeps/unix/i386/sysdep.S: Likewise.
8661         * sysdeps/unix/sparc/start.c: Likewise.
8662         * sysdeps/unix/sparc/sysdep.S: Likewise.
8663         * sysdeps/unix/sparc/sysdep.h: Likewise.
8664         * sysdeps/unix/start.c: Likewise.
8665         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8666         * sysdeps/x86_64/sysdep.h: Likewise.
8668 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
8670         [BZ #13553]
8671         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8672         for non-gcc.
8673         * argp/argp-fmtstream.h: Use const instead __const.
8674         * argp/argp.h: Likewise.
8675         * assert/assert.h: Likewise.
8676         * bits/fenv.h: Likewise.
8677         * bits/sched.h: Likewise.
8678         * bits/sigset.h: Likewise.
8679         * bits/sigthread.h: Likewise.
8680         * catgets/nl_types.h: Likewise.
8681         * conform/data/pthread.h-data: Likewise.
8682         * crypt/crypt-private.h: Likewise.
8683         * crypt/crypt.h: Likewise.
8684         * crypt/crypt_util.c: Likewise.
8685         * ctype/ctype.h: Likewise.
8686         * debug/execinfo.h: Likewise.
8687         * debug/mbsnrtowcs_chk.c: Likewise.
8688         * debug/mbsrtowcs_chk.c: Likewise.
8689         * debug/wcsnrtombs_chk.c: Likewise.
8690         * debug/wcsrtombs_chk.c: Likewise.
8691         * debug/wcstombs_chk.c: Likewise.
8692         * dirent/dirent.h: Likewise.
8693         * dlfcn/dlfcn.h: Likewise.
8694         * elf/neededtest4.c: Likewise.
8695         * grp/grp.h: Likewise.
8696         * gshadow/gshadow.h: Likewise.
8697         * iconv/gconv.h: Likewise.
8698         * iconv/gconv_int.h: Likewise.
8699         * iconv/gconv_simple.c: Likewise.
8700         * iconv/iconv.h: Likewise.
8701         * iconv/loop.c: Likewise.
8702         * iconv/skeleton.c: Likewise.
8703         * include/aio.h: Likewise.
8704         * include/aliases.h: Likewise.
8705         * include/argz.h: Likewise.
8706         * include/arpa/inet.h: Likewise.
8707         * include/assert.h: Likewise.
8708         * include/dirent.h: Likewise.
8709         * include/dlfcn.h: Likewise.
8710         * include/execinfo.h: Likewise.
8711         * include/fcntl.h: Likewise.
8712         * include/fenv.h: Likewise.
8713         * include/glob.h: Likewise.
8714         * include/grp.h: Likewise.
8715         * include/libintl.h: Likewise.
8716         * include/mntent.h: Likewise.
8717         * include/netdb.h: Likewise.
8718         * include/pwd.h: Likewise.
8719         * include/rpc/netdb.h: Likewise.
8720         * include/sched.h: Likewise.
8721         * include/search.h: Likewise.
8722         * include/shadow.h: Likewise.
8723         * include/signal.h: Likewise.
8724         * include/stdio.h: Likewise.
8725         * include/stdlib.h: Likewise.
8726         * include/string.h: Likewise.
8727         * include/sys/socket.h: Likewise.
8728         * include/sys/stat.h: Likewise.
8729         * include/sys/statfs.h: Likewise.
8730         * include/sys/statvfs.h: Likewise.
8731         * include/sys/syslog.h: Likewise.
8732         * include/sys/time.h: Likewise.
8733         * include/sys/uio.h: Likewise.
8734         * include/time.h: Likewise.
8735         * include/unistd.h: Likewise.
8736         * include/utmp.h: Likewise.
8737         * include/wchar.h: Likewise.
8738         * include/wctype.h: Likewise.
8739         * inet/aliases.h: Likewise.
8740         * inet/arpa/inet.h: Likewise.
8741         * inet/netinet/ether.h: Likewise.
8742         * inet/netinet/in.h: Likewise.
8743         * intl/libintl.h: Likewise.
8744         * io/bits/fcntl2.h: Likewise.
8745         * io/fcntl.h: Likewise.
8746         * io/ftw.h: Likewise.
8747         * io/sys/poll.h: Likewise.
8748         * io/sys/stat.h: Likewise.
8749         * io/sys/statfs.h: Likewise.
8750         * io/sys/statvfs.h: Likewise.
8751         * io/utime.h: Likewise.
8752         * libio/bits/stdio.h: Likewise.
8753         * libio/bits/stdio2.h: Likewise.
8754         * libio/libio.h: Likewise.
8755         * libio/libioP.h: Likewise.
8756         * libio/stdio.h: Likewise.
8757         * locale/lc-ctype.c: Likewise.
8758         * locale/locale.h: Likewise.
8759         * login/utmp.h: Likewise.
8760         * malloc/arena.c: Likewise.
8761         * malloc/malloc.c: Likewise.
8762         * malloc/malloc.h: Likewise.
8763         * malloc/mcheck.c: Likewise.
8764         * malloc/mtrace.c: Likewise.
8765         * math/bits/mathcalls.h: Likewise.
8766         * math/fenv.h: Likewise.
8767         * math/math_private.h: Likewise.
8768         * misc/bits/error.h: Likewise.
8769         * misc/bits/syslog.h: Likewise.
8770         * misc/err.h: Likewise.
8771         * misc/error.h: Likewise.
8772         * misc/fstab.h: Likewise.
8773         * misc/mntent.h: Likewise.
8774         * misc/regexp.h: Likewise.
8775         * misc/search.h: Likewise.
8776         * misc/sgtty.h: Likewise.
8777         * misc/sys/mman.h: Likewise.
8778         * misc/sys/syslog.h: Likewise.
8779         * misc/sys/uio.h: Likewise.
8780         * misc/sys/xattr.h: Likewise.
8781         * misc/ttyent.h: Likewise.
8782         * nis/rpcsvc/ypclnt.h: Likewise.
8783         * nss/nss.h: Likewise.
8784         * posix/bits/unistd.h: Likewise.
8785         * posix/fnmatch.h: Likewise.
8786         * posix/glob.h: Likewise.
8787         * posix/sched.h: Likewise.
8788         * posix/spawn.h: Likewise.
8789         * posix/sys/wait.h: Likewise.
8790         * posix/unistd.h: Likewise.
8791         * posix/wordexp.h: Likewise.
8792         * pwd/pwd.h: Likewise.
8793         * resolv/netdb.h: Likewise.
8794         * resource/sys/resource.h: Likewise.
8795         * rt/aio.h: Likewise.
8796         * rt/bits/mqueue2.h: Likewise.
8797         * rt/mqueue.h: Likewise.
8798         * shadow/shadow.h: Likewise.
8799         * signal/signal.h: Likewise.
8800         * socket/send.c: Likewise.
8801         * socket/sendto.c: Likewise.
8802         * socket/sys/socket.h: Likewise.
8803         * stdio-common/printf.h: Likewise.
8804         * stdlib/bits/stdlib.h: Likewise.
8805         * stdlib/fmtmsg.h: Likewise.
8806         * stdlib/monetary.h: Likewise.
8807         * stdlib/stdlib.h: Likewise.
8808         * stdlib/ucontext.h: Likewise.
8809         * streams/stropts.h: Likewise.
8810         * string/argz.h: Likewise.
8811         * string/bits/string2.h: Likewise.
8812         * string/string.h: Likewise.
8813         * string/strings.h: Likewise.
8814         * sunrpc/rpc/auth.h: Likewise.
8815         * sunrpc/rpc/auth_des.h: Likewise.
8816         * sunrpc/rpc/clnt.h: Likewise.
8817         * sunrpc/rpc/netdb.h: Likewise.
8818         * sunrpc/rpc/pmap_clnt.h: Likewise.
8819         * sunrpc/rpc/xdr.h: Likewise.
8820         * sysdeps/generic/inttypes.h: Likewise.
8821         * sysdeps/generic/net/if.h: Likewise.
8822         * sysdeps/generic/sys/swap.h: Likewise.
8823         * sysdeps/gnu/net/if.h: Likewise.
8824         * sysdeps/gnu/utmpx.h: Likewise.
8825         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8826         * sysdeps/i386/i486/bits/string.h: Likewise.
8827         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8828         * sysdeps/s390/bits/string.h: Likewise.
8829         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8830         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8831         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8832         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8833         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8834         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8835         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8836         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8837         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8838         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8839         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8840         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8841         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8842         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8843         * sysdeps/unix/sysv/linux/readv.c: Likewise.
8844         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8845         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8846         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8847         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8848         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8849         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8850         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8851         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8852         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8853         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8854         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8855         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8856         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8857         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8858         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8859         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8860         * sysvipc/sys/ipc.h: Likewise.
8861         * sysvipc/sys/msg.h: Likewise.
8862         * sysvipc/sys/sem.h: Likewise.
8863         * sysvipc/sys/shm.h: Likewise.
8864         * termios/termios.h: Likewise.
8865         * time/sys/time.h: Likewise.
8866         * time/time.h: Likewise.
8867         * wcsmbs/bits/wchar2.h: Likewise.
8868         * wcsmbs/uchar.h: Likewise.
8869         * wcsmbs/wchar.h: Likewise.
8870         * wctype/wctype.h: Likewise.
8872         [BZ #13551]
8873         * Makeconfig: Remove all but ELF support including AIX support.
8874         * Makerules: Likewise.
8875         * config.h.in: Likewise.
8876         * config.make.in: Likewise.
8877         * configure: Likewise.
8878         * configure.in: Likewise.
8879         * csu/Makefile: Likewise.
8880         * csu/version.c: Likewise.
8881         * debug/Makefile: Likewise.
8882         * dlfcn/Makefile: Likewise.
8883         * elf/Makefile: Likewise.
8884         * extra-lib.mk: Likewise.
8885         * iconv/Makefile: Likewise.
8886         * include/libc-symbols.h: Likewise.
8887         * include/shlib-compat.h: Likewise.
8888         * resolv/Makefile: Likewise.
8889         * resolv/res_libc.c: Likewise.
8890         * rt/Makefile: Likewise.
8891         * sysdeps/i386/asm-syntax.h: Likewise.
8892         * sysdeps/i386/sysdep.h: Likewise.
8893         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8894         * sysdeps/mach/sysdep.h: Likewise.
8895         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8896         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8897         * sysdeps/s390/asm-syntax.h: Likewise.
8898         * sysdeps/s390/s390-32/sysdep.h: Likewise.
8899         * sysdeps/s390/s390-64/sysdep.h: Likewise.
8900         * sysdeps/sh/sysdep.h: Likewise.
8901         * sysdeps/unix/sparc/sysdep.h: Likewise.
8902         * sysdeps/wordsize-32/divdi3.c: Likewise.
8903         * sysdeps/x86_64/sysdep.h: Likewise.
8905         * argp/Versions: Remove _argp_unlock_xxx.
8907         [BZ #13559]
8908         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
8909         * abilist/libBrokenLocale.abilist: Likewise.
8910         * abilist/libanl.abilist: Likewise.
8911         * abilist/libc.abilist: Likewise.
8912         * abilist/libcrypt.abilist: Likewise.
8913         * abilist/libdl.abilist: Likewise.
8914         * abilist/libm.abilist: Likewise.
8915         * abilist/libnsl.abilist: Likewise.
8916         * abilist/libpthread.abilist: Likewise.
8917         * abilist/libresolv.abilist: Likewise.
8918         * abilist/librt.abilist: Likewise.
8919         * abilist/libthread_db.abilist: Likewise.
8920         * abilist/libutil.abilist: Likewise.
8921         * abilist/libnss_db.abilist: New file.
8923         * scripts/abilist.awk: Add support for indirect functions.
8925         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8927         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8929         * shlib-versions: Remove entries for ports architectures.
8931         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
8932         files in ports.
8933         * elf/stackguard-macros.h: Remove support for IA-64.
8934         * elf/tst-auditmod1.c: Likewise.
8935         * sysdeps/generic/ldsodefs.h: Likewise.
8937         * sysdeps/unix/sysv/linux/configure.in: Ports should define
8938         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8939         configure files.
8941         [BZ #13552]
8942         * configure.in: Remove --enable-omitfp support.
8943         * FAQ.in: Adjust.
8944         * config.make.in: Likewise.
8945         * Makeconfig: Likewise.
8946         * manual/install.texi: Likewise.
8948         In case anyone cares, the IA-64 architecture could move to ports.
8949         * sysdeps/ia64/*: Removed.
8950         * sysdeps/unix/sysv/linux/ia64/*: Removed.
8951         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8953         [BZ #13555]
8954         * configure.in: Remove entries for unsupported architectures.
8956         [BZ #13533]
8957         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8958         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
8959         routines.
8960         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8961         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8962         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
8963         fall back to using wcrtomb.
8964         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8965         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
8966         renaming.
8967         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8968         * wcsmbs/tst-c16c32-1.c: New file.
8970         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8971         local variable.
8973         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8975         * elf/tst-unique3.cc: Add explicit declaration of gets.
8976         * elf/tst-unique3lib.cc: Likewise.
8977         * elf/tst-unique3lib2.cc: Likewise.
8978         * elf/tst-unique4.cc: Likewise.
8980         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8982 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
8984         [BZ #13566]
8985         * assert/assert.h (static_assert): Don't define for C++.
8986         * libio/stdio.h (gets): Do declare for C++ <= C++11.
8987         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8989 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
8991         * iconv/loop.c (single loop): Fix assertion in storing of
8992         remaining bytes.
8994         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8996 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
8998         * posix/getconf.c: Update copyright year.
8999         * nss/getent.c: Likewise.
9000         * nss/makedb.c: Likewise.
9001         * iconv/iconvconfig.c: Likewise.
9002         * iconv/iconv_prog.c: Likewise.
9003         * elf/ldconfig.c: Likewise.
9004         * elf/pldd.c: Likewise.
9005         * elf/sotruss.ksh: Likewise.
9006         * catgets/gencat.c: Likewise.
9007         * csu/version.c: Likewise.
9008         * elf/ldd.bash.in: Likewise.
9009         * elf/sprof.c (print_version): Likewise.
9010         * locale/programs/locale.c: Likewise.
9011         * locale/programs/localedef.c: Likewise.
9012         * login/programs/pt_chown.c: Likewise.
9013         * nscd/nscd.c (print_version): Likewise.
9014         * debug/xtrace.sh: Likewise.
9015         * malloc/memusage.sh: Likewise.
9016         * malloc/mtrace.pl: Likewise.
9017         * debug/catchsegv.sh: Likewise.
9019 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
9021         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9022         pure attribute.
9024 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
9026         [BZ #13533]
9027         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9028         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9029         transformations.
9030         * iconv/gconv_int.h: Likewise.
9031         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9032         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9033         from libc for GLIBC_2.16.
9034         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9035         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9036         * wcsmbs/uchar.h: Really define mbstate_t.
9037         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9038         * wcsmbs/c16rtomb.c: New file.
9039         * wcsmbs/mbrtoc16.c: New file.
9040         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9041         for C/POSIX locale.
9042         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9043         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9045         * wcsmbs/wchar.h: Add missing __restrict.
9047 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
9049         [BZ #13532]
9050         * time/Makefile (routines): Add timespec_get.
9051         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9052         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
9053         timespec for ISO C11.
9054         * time/timespec_get.c: New file.
9055         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9056         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9058         [BZ #13531]
9059         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9060         * stdlib/stdlib.h: Declare aligned_alloc.
9061         * Versions.def: Add GLIBC_2.16 for libc.
9062         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9064         [BZ 13527]
9065         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9066         ISO C11.
9068         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9069         code.
9071         [BZ #13528]
9072         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9074         [BZ #13529]
9075         * assert/assert.h (static_assert): Define.
9077         * version.h: Update for 2.16 development version.
9079         [BZ #13526]
9080         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9081         _ISOC11_SOURCE.
9083         * version.h (RELEASE): Bump for 2.15 release.
9084         * include/features.h (__GLIBC_MINOR__): Bump to 15.
9086         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9087         Patch by Marek Polacek <mpolacek@redhat.com>.
9089         * bits/byteswap.h: Protect long long constants with __extension__.
9090         * sysdeps/i386/bits/byteswap.h: Likewise.
9091         * sysdeps/ia64/bits/byteswap.h: Likewise.
9092         * sysdeps/s390/bits/byteswap.h: Likewise.
9093         * sysdeps/x86_64/bits/byteswap.h: Likewise.
9095 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9097         [BZ #13540]
9098         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9099         destination buffer.
9100         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9102 2011-12-23  Marek Polacek  <polacek@redhat.com>
9104         * elf/dl-addr.c (determine_info): Add inline keyword.
9105         * elf/tst-auditmod4b.c (check_avx): Likewise.
9106         * elf/tst-auditmod6b.c (check_avx): Likewise.
9107         * elf/tst-auditmod6c.c (check_avx): Likewise.
9108         * elf/tst-auditmod7b.c (check_avx): Likewise.
9110 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
9112         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9113         !__SSE_MATH__.
9115 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9117         [BZ #13540]
9118         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9119         processing for last bytes.
9121 2011-08-06  Bruno Haible  <bruno@clisp.org>
9123         [BZ #13061]
9124         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9125         U+0385, not to U+1FEE.
9127         [BZ #13062]
9128         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9129         entry for U+00A5 U+0301.
9131 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
9133         [BZ #13166]
9134         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9135         buffer for the output is too small.
9137         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9138         optimization.
9140         [BZ #13185]
9141         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9142         SSE flags if possible.
9144 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9146         [BZ #13540]
9147         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9148         processing for last bytes.
9150 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
9152         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9153         (syscall-list-default-options, syscall-list-default-condition)
9154         (syscall-list-includes): Define.
9155         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9156         list of ABIs and options and #if conditions for each ABI.  Do not
9157         handle common syscalls between ABIs specially.
9158         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9159         Remove.
9160         (syscall-list-variants, syscall-list-32bit-options)
9161         (syscall-list-32bit-condition, syscall-list-64bit-options)
9162         (syscall-list-64bit-condition): Define.
9163         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9164         (syscall-list-variants, syscall-list-32bit-options)
9165         (syscall-list-32bit-condition, syscall-list-64bit-options)
9166         (syscall-list-64bit-condition): Define.
9167         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9168         Remove.
9169         (syscall-list-variants, syscall-list-32bit-options)
9170         (syscall-list-32bit-condition, syscall-list-64bit-options)
9171         (syscall-list-64bit-condition): Define.
9172         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9173         Remove.
9174         (syscall-list-variants, syscall-list-32bit-options)
9175         (syscall-list-32bit-condition, syscall-list-64bit-options)
9176         (syscall-list-64bit-condition): Define.
9178 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
9180         * locale/iso-639.def: Add brx entry.
9182         [BZ #13328]
9183         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9184         Proposed by Mariusz_Cukr <marcukr@op.pl>.
9186         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9187         __feraiseexcept_renamed.
9189 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
9191         [BZ #13538]
9192         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9193         EPOLLET with unsigned values.
9194         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9195         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9197         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9198         to large cancellation.
9199         * math/s_cacoshf.c: Likewise.
9200         * math/s_cacoshl.c: Likewise.
9202 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
9204         [BZ #13305]
9205         [BZ #12786]
9206         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9207         * math/s_cacoshf.c: Likewise.
9208         * math/s_cacoshl.c: Likewise.
9210 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
9212         [BZ #13439]
9213         * iconv/gconv.h: Define __GCONV_SWAP.
9214         * iconvdata/unicode.c: The swap bit must be stored in __flags.
9215         * iconvdata/utf-16.c: Likewise.
9216         * iconvdata/utf-32.c: Likewise.
9218 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9220         [BZ #13524]
9221         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9222         numerator after shifting it by one limb.
9224 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
9226         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9227         under [__USE_EXTERN_INLINES].
9229 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
9231         [BZ #13446]
9232         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9234 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9236         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9237         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9238         optimized code.
9239         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9240         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9241         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9242         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9243         for strncasecmp/strncasecmp_l compilation.
9244         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9245         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9247 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
9249         [BZ #13484]
9250         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9251         of __asm__.
9253 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
9255         [BZ #13506]
9256         * time/tzfile.c (__tzfile_read): Check values from file header.
9258 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
9260         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9261         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9262         * powerpc/powerpc32/dl-start.S: Likewise.
9263         * powerpc/powerpc32/elf/start.S: Likewise.
9264         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9265         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9266         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9267         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9268         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9269         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9270         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9271         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9272         * powerpc/powerpc32/fpu/s_round.S: Likewise.
9273         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9274         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9275         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9276         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9277         * powerpc/powerpc32/memset.S: Likewise.
9278         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9279         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9280         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9281         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9282         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9283         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9284         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9285         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9286         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9287         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9288         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9289         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9290         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9292 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9294         * math/libm-test.inc: Added more nearbyint tests.
9295         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9296         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9297         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9298         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9300 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
9302         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9303         FD_CLOEXEC.
9305 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9307         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9308         Add wcscpy-ssse3 wcscpy-c.
9309         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9310         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9311         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9312         * sysdeps/x86_64/wcschr.S: New file.
9313         * sysdeps/x86_64/wcsrchr.S: New file.
9314         * string/test-strcmp.c: Remove checking of wcscmp function for
9315         wrong alignments.
9316         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9317         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9318         wcsrchr-sse2 wcsrchr-c.
9319         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9320         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9321         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9322         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9323         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9324         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9325         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9326         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9327         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9328         * wcsmbc/wcschr.c (WCSCHR): New macro.
9330 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9332         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9333         * wcsmbs/test-wcsrchr.c: New file.
9334         * string/test-strrchr.c: Add wcsrchr support.
9335         (WIDE): New macro.
9336         * wcsmbs/test-wcscpy.c: New file.
9337         * string/test-strcpy.c: Add wcscpy support.
9338         (WIDE): New macro.
9340 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
9342         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9343         the inner loop.
9345 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
9347         [BZ #13472]
9348         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9350 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
9352         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9353         Minor optimizations.
9355         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9356         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9357         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9359 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
9361         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9362         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9363         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9364         for gcc to avoid warnings.
9365         * inet/Makefile (tests): Add tst-checks.
9366         * inet/tst-checks.c: New file.
9368         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9369         warning.
9371         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9372         __wmemcmp_sse2.
9374         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9375         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9377         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9379 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
9381         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9382         problem.
9384         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9386 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
9388         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9389         conditional on GCC version.
9390         (__arch_compare_and_exchange_val_8_acq)
9391         (__arch_compare_and_exchange_val_16_acq)
9392         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9393         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9394         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9396 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
9398         * sysdeps/sh/backtrace.c: New file.
9400 2011-12-02  Andreas Schwab  <schwab@redhat.com>
9402         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
9403         parenthesis.
9405 2011-12-01  Andreas Schwab  <schwab@redhat.com>
9407         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9408         falling back to utime.
9410 2011-11-30  Andreas Schwab  <schwab@redhat.com>
9412         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9413         expectations for float.
9415 2011-11-29  Andreas Schwab  <schwab@redhat.com>
9417         * locale/weight.h (findidx): Add parameter len.
9418         * locale/weightwc.h (findidx): Likewise.
9419         * posix/fnmatch_loop.c (FCT): Adjust caller.
9420         * posix/regcomp.c (build_equiv_class): Likewise.
9421         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9422         * posix/regexec.c (check_node_accept_bytes): Likewise.
9423         * string/strcoll_l.c (STRCOLL): Likewise.
9424         * string/strxfrm_l.c (STRXFRM): Likewise.
9426 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
9428         * Makefile.in: Remove CVSOPT handling.
9429         * configure.in: Remove use of AC_REVISION.
9430         * iconvdata/Makefile (distribute): No need to filter out CVS.
9431         * scripts/list-sources.sh: Remove CVS, subversion and monotone
9432         handling.
9434 2011-11-16  Andreas Schwab  <schwab@redhat.com>
9436         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9437         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9438         [USE_AS_STRNCASECMP_L]: Likewise.
9439         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9440         NO_TLS_DIRECT_SEG_REFS.
9441         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9442         Fix argument offsets for non-PIC.
9443         [USE_AS_STRNCASECMP_L]: Likewise.
9444         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9445         NO_TLS_DIRECT_SEG_REFS.
9447 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
9449         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9450         O_CLOEXEC.
9451         * locale/loadlocale.c (_nl_load_locale): Likewise.
9453 2011-11-15  Andreas Schwab  <schwab@redhat.com>
9455         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9456         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9457         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9458         (SYSCALL_GETTIME): Set errno on error.
9460         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9461         count references to noai6ai_cached.
9463 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
9465         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9467         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9468         FD_CLOEXEC for /proc/self/maps.
9470         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9471         FD_CLOEXEC for /proc/meminfo.
9473         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9474         gai.conf.
9476         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
9477         FD_CLOEXEC for given file.
9479         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9481         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9482         FD_CLOEXEC for /etc/hosts.
9483         (_gethtent): Likewise.
9485         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9487         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9488         cancellation and set FD_CLOEXEC for /etc/netgroup.
9490         * nss/nss_files/files-key.c (search): Don't allow cancellation when
9491         reading /etc/publickey.
9493         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9494         allow cancellation when reading /etc/group.
9496         * nss/nss_files/files-alias.c (internal_setent): Don't allow
9497         cancellation.
9498         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
9500         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9501         when using data file.
9503         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9505         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9506         (write_nis_obj): Use "c" and "e" in fopen.
9508         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9510         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9512         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9514         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9516         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9517         locale.alias.
9519         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9521         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9523         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9525         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9526         file parsing and set FD_CLOEXEC.
9528 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
9530         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9532 2011-11-14  Andreas Schwab  <schwab@redhat.com>
9534         * malloc/arena.c (arena_get2): Don't call reused_arena when
9535         _int_new_arena failed.
9537 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
9539         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9540         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9541         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9542         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9543         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9544         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9545         to compile strcasecmp and strncasecmp.
9546         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9547         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9549         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9551 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
9553         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9554         locale-defines.sym to gen-as-const-headers.
9555         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9556         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9557         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9558         to compile strcasecmp and strncasecmp.
9559         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9560         strcasecmp_l and strncasecmp_l.
9561         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9562         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9563         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9564         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9565         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9566         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9567         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9568         * sysdeps/i386/i686/multiarch/strncase.S: New file.
9569         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9570         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9571         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9573 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
9575         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9576         result of SYSDEP_GETTIME_CPU to retval.
9577         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9578         parameter list to macro.  Remove trailing semicolon.  Adjust users.
9580         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9581         variable.
9583         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9584         mantissa words.
9585         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9587         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9588         from unused variable.
9590         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9591         DWARF definitions.
9592         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9593         for assembling.
9595         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9596         over namespaces.
9598         * sunrpc/rpc_prot.c (rejected): Fix case value.
9600         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9601         unsigned long long int to avoid warnings in shift.
9603         * posix/regex_internal.c (re_string_reconstruct): Actually use result
9604         of use of trans.
9605         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9606         variable tmp.
9608         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9609         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9610         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9612         * nis/nis_table.c (nis_list): Use variable of correct type for
9613         result of __follow_path call.
9615 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9617         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9618         of math functions ceil, trunc, floor, round, and sqrt, when
9619         avaliable on the platform.
9620         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9621         name clash.
9622         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9623         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9624         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9626 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
9628         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9629         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9631 2011-11-11  Roland McGrath  <roland@hack.frob.com>
9633         * include/unistd.h: Fix __readlink return type.
9634         Reported by Chris Metcalf <cmetcalf@tilera.com>.
9636 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
9638         * stdlib/ucontext.h: Undo last change for makecontext.
9640 2011-11-11  Andreas Schwab  <schwab@redhat.com>
9642         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9644         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9645         * setjmp/setjmp.h: Mark functions as non-leaf.
9646         * setjmp/bits/setjmp2.h: Likewise.
9647         * stdlib/ucontext.h: Likewise.
9649 2011-11-10  Andreas Schwab  <schwab@redhat.com>
9651         * malloc/arena.c (_int_new_arena): Don't increment narenas.
9652         (reused_arena): Don't check arena limit.
9653         (arena_get2): Atomically check arena limit.
9655 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
9657         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9658         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9660         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9661         instructions.
9663 2011-11-07  Andreas Schwab  <schwab@redhat.com>
9665         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9666         handler when locking.
9668         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9669         Fix size of allocated buffer.
9671 2011-11-04  Andreas Schwab  <schwab@redhat.com>
9673         [BZ #10103]
9674         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9675         declarations for long double functions.
9676         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9678         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9680 2011-11-03  Andreas Schwab  <schwab@redhat.com>
9682         * nscd/nscd.c (main): Don't start AVC thread until credentials are
9683         installed.
9685         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9686         is disabled.
9688 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9690         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9692 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
9694         * include/alloca.h (stackinfo_alloca_round): Define.
9695         (extend_alloca): Use it.
9696         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9697         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9698         here.
9700         * scripts/check-local-headers.sh: Ignore libaudit.h.
9702         * nscd/Makefile (extra-objs): Make recursively expanded.
9704 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
9706         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9707         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9709         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9710         * posix/tst-rfc3484-2.c: Likewise.
9711         * posix/tst-rfc3484-3.c: Likewise.
9713         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9714         process_vm_writev.
9715         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9716         process_vm_writev.
9717         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9718         process_vm_writev from libc using GLIBC_2.15 version.
9720         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9722 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
9724         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9725         stack usage.
9727 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
9729         [BZ #13367]
9730         * nss/getent.c (initgroups_keys): Show error message in case no group
9731         names are given.
9733         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9734         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9735         __bump_nl_timestamp.
9736         * nscd/connections (nscd_init): When host database is served open
9737         netlink socket and request notification about configuration changes.
9738         (main_loop_poll): Track netlink file descriptor and bump timestamp
9739         in case data becomes available.
9740         (main_loop_epoll): Likewise.
9741         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9742         (database_pers_head): Add extra_data fileds.
9743         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9744         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9745         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9746         Adjust caller.
9747         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9748         in6ai data, call __free_in6ai.
9749         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9750         Add -DHAVE_NETLINK.
9751         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
9752         interface information.  Reuse previous data if netlink timestamp
9753         is not changed.
9754         (__bump_nl_timestamp): New function.
9755         (__free_in6ai): New function.
9757 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
9759         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9760         close_not_cancel_no_status here.
9761         (__check_pf): Reorganize code a bit to not call close twice if OOM.
9763 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
9765         [BZ #13276]
9766         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9767         return value.
9769         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9770         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9771         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9773 2011-07-03  Andreas Jaeger  <aj@suse.de>
9775         [BZ #10709]
9776         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9777         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9778         * math/libm-test.inc (sin_test): Add test case.
9780 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
9782         [BZ #13337]
9783         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9784         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9786         * elf/chroot_canon.c (chroot_canon): Cleanups.
9788         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9790         [BZ #13335]
9791         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9792         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9794         * string/test-strchr.c: Make usable for strchrnul testing.
9795         * string/test-strchrnul.c: New file.
9796         * string/Makefile (strop-tests): Add strchrnul.
9798         * po/it.po: Update from translation team.
9799         * po/es.po: Likewise.
9801 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
9803         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9804         the three constants needed as parameters.  Drop the others.
9805         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9806         __m128i_strloadu_tolower.
9807         Create and initialize variable zero and use it in all the places
9808         where _mm_setzero_si128 was used.
9810         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9811         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9812         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9813         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9814         anymore.
9815         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9816         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9817         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9818         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9819         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9820         __mpranred, __mptan.
9821         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9822         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9823         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9824         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9825         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9826         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9827         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9828         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9829         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9831 2011-10-28  Andreas Schwab  <schwab@redhat.com>
9833         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9834         redefine if SHARED.
9835         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9837         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9838         wide char related routines to wcsmbs subdir.
9840 2011-10-27  Andreas Schwab  <schwab@redhat.com>
9842         [BZ #13344]
9843         * misc/sys/cdefs.h (__THROWNL): Define.
9844         * posix/unistd.h: Use __THREADNL instead of __THREAD
9845         for memory synchronization functions.
9847 2011-10-26  Roland McGrath  <roland@hack.frob.com>
9849         [BZ #13349]
9850         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9851         doesn't exist.
9852         * manual/stdio.texi (Obstack Streams): Node removed.
9854 2011-10-26  Andreas Schwab  <schwab@redhat.com>
9856         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9857         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9858         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9860         * math/math_private.h (math_force_eval): Allow non-addressable
9861         arguments.
9862         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9864 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
9866         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9867         file is not needed.
9869         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9870         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9871         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9872         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9873         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9874         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9875         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9876         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9877         Add AVX variants.
9878         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9879         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9880         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9881         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9882         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9883         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9884         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9885         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9886         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9887         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9888         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9889         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9890         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9891         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9892         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9893         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9894         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9895         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9896         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9898         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9899         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
9901         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9902         place.  Use VEX encoding when compiling for AVX.
9904 2011-10-25  Andreas Schwab  <schwab@redhat.com>
9906         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9907         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9909         * string/test-strchr.c (do_test): Don't generate NUL bytes.
9911 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
9913         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9914         useless if() expression.
9915         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9916         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9917         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9918         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9919         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9920         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9921         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9922         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9923         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9924         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9925         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9926         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9927         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9928         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9929         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9930         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9931         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9932         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9933         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9935         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9937 2011-10-25  Andreas Schwab  <schwab@redhat.com>
9939         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9940         condition.
9941         * elf/dl-fini.c (_dl_sort_fini): Likewise.
9943 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
9945         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9946         .text section.  Avoid duplicate constants.
9947         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9948         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9949         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9950         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9951         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9952         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9953         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9954         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9955         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9956         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9957         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9958         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9959         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9960         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9961         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9962         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9963         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9964         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9965         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9966         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9967         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9968         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9969         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9970         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9971         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9972         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9973         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9974         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9975         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9976         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9977         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9978         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9979         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9980         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9981         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9982         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9983         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9984         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9985         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9986         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9987         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9988         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9989         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9990         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9991         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9993 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
9995         * sysdeps/x86_64/dla.h: Move to ...
9996         * sysdeps/x86_64/fpu/dla.h: ...here.
9997         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9998         situations.  Use __builtin_fma only for gcc 4.6 and up.
10000         * config.make.in: Add have-mfma4 entry.
10001         * configure.in: Substitute libc_cv_cc_fma4.
10002         * math/Makefile (dbl-only-routines): Add sincostab.
10003         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10004         Use __sincostab not sincos.
10005         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10006         name is a macro.
10007         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10008         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10009         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10010         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
10011         using __copysign.
10012         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
10013         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
10014         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10015         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10016         and __inv.
10017         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10018         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10019         __copysign.
10020         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
10021         define aliases when function name is a macro.
10022         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10023         sysdeps/ieee754/dbl-64/sincos.tbl.
10024         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10025         fma4-enabled routines.
10026         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10027         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10028         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10029         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10030         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10031         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10032         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10033         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10034         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10035         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10036         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10037         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10038         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10039         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10040         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10041         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10042         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10043         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10044         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10045         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10046         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10047         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10048         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10049         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10050         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10051         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10052         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10053         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10054         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10055         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10057         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10058         rename.
10059         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10060         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10061         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10062         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10063         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10064         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10065         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10066         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10068 2011-10-24  Andreas Schwab  <schwab@redhat.com>
10070         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10072 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
10074         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10076         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10077         prediction.
10078         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10080         * string/strnlen.c: Don't define STRNLEN, reverse logic.
10081         Remove unused variable magic_bits.
10082         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10084         * string/strnlen.c: Define and use STRNLEN macro.
10085         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10086         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10087         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10088         * wcsmbs/wcslen.c: Define and use WCSLEN.
10089         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10090         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10091         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10092         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10093         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10094         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10095         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10097 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10099         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10100         strnlen-sse2-no-bsf.
10101         Rename strlen-no-bsf to strlen-sse2-no-bsf.
10102         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10103         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10104         Add strnlen support.
10105         (USE_AS_STRNLEN): New macro.
10106         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10107         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10108         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10109         * sysdeps/x86_64/wcslen.S: New file.
10111 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
10113         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10114         XMM-moves are used for copying on small sizes.
10116 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10118         * wcsmbs/Makefile (strop-tests): Add wcschr.
10119         * wcsmbs/test-wcschr.c: New file.
10120         * string/test-strchr.c: Update.
10121         Add wcschr support.
10122         (WIDE): New macro.
10124 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10126         * wcsmbs/Makefile (strop-tests): Add wcslen.
10127         * wcsmbs/test-wcslen.c: New file.
10128         * string/test-strlen.c: Update.
10129         Add wcslen support.
10130         (WIDE): New macro.
10132 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
10134         * po/it.po: Update from translation team.
10136 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10138         * sysdeps/x86_64/wcscmp.S: Update.
10139         Fix wrong comparison semantics.
10140         wcscmp shall use signed comparison not unsigned.
10141         Don't use substraction to avoid overflow bug.
10142         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10143         * wcsmbc/wcscmp.c: Likewise.
10144         * string/test-strcmp.c: Likewise.
10145         Add new tests to check cases with negative values.
10147 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
10149         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10150         * sysdeps/x86_64/dla.h: ...here.  New file.
10151         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10152         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10153         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10154         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10155         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10156         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10157         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10158         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10159         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10161 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
10163         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10164         __ynl_finite aliases.
10166 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
10168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10170         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10171         define DLA_FMA.
10172         [DLA_FMA] (EMULV): Use DLA_FMA.
10173         [DLA_FMA] (MUL12): Use EMULV.
10174         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10175         that are not needed.
10176         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10177         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10178         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10179         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10180         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10181         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10182         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10184 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
10186         * math/s_nan.c: Undef __nan.
10187         * math/s_nanf.c: Undef __nanf.
10188         * math/s_nanl.c: Undef __nanl.
10189         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10190         "math_private.h".
10192 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
10194         * math/s_catan.c: Add branch predictions.
10195         * math/s_catanf.c: Likewise.
10196         * math/s_catanh.c: Likewise.
10197         * math/s_catanhf.c: Likewise.
10198         * math/s_catanhl.c: Likewise.
10199         * math/s_catanl.c: Likewise.
10200         * math/s_cexp.c: Likewise.
10201         * math/s_cexpf.c: Likewise.
10202         * math/s_cexpl.c: Likewise.
10203         * math/s_clog.c: Likewise.
10204         * math/s_clog10.c: Likewise.
10205         * math/s_clog10f.c: Likewise.
10206         * math/s_clog10l.c: Likewise.
10207         * math/s_clogf.c: Likewise.
10208         * math/s_clogl.c: Likewise.
10209         * math/s_csqrt.c: Likewise.
10210         * math/s_csqrtf.c: Likewise.
10211         * math/s_csqrtl.c: Likewise.
10212         * math/s_ctanf.c: Likewise.
10213         * math/s_ctanh.c: Likewise.
10214         * math/s_ctanhf.c: Likewise.
10215         * math/s_ctanhl.c: Likewise.
10216         * math/s_ctanl.c: Likewise.
10218         * math/math_private.h: Define __nan, __nanf, __nanl.
10219         * math/s_cacosh.c: Include <math_private.h>.
10220         * math/s_cacoshl.c: Likewise.
10221         * math/s_casinh.c: Likewise.
10222         * math/s_casinhf.c: Likewise.
10223         * math/s_casinhl.c: Likewise.
10224         * math/s_ccos.c: Rely entire on ccosh.
10225         * math/s_ccosf.c: Rely entire on ccoshf.
10226         * math/s_ccosl.c: Rely entirely on ccoshl.
10227         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
10228         Remove tests for FE_INVALID.
10229         * math/s_ccoshf.c: Likewise.
10230         * math/s_ccoshl.c: Likewise.
10231         * math/s_csin.c: Likewise.
10232         * math/s_csinf.c: Likewise.
10233         * math/s_csinh.c Likewise.
10234         * math/s_csinhf.c: Likewise.
10235         * math/s_csinhl.c: Likewise.
10236         * math/s_csinl.c: Likewise.
10237         * math/s_ctan.c: Likewise.
10238         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10239         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10240         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10242 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
10244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10245         compilation problems.
10247         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10248         __builtin_expect.
10250 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
10252         * sysdeps/i386/configure.in: Test for -mfma4 option.
10253         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10254         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10255         COMMON_CPUID_INDEX_80000001.
10256         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10257         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10258         use it if FMA3 is not supported.
10259         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10261         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10262         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10264 2011-10-20  Andreas Schwab  <schwab@redhat.com>
10266         [BZ #12892]
10267         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10268         it would create a cycle with a link time dependency.
10270 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
10272         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10273         instruction.
10274         * string/Makefile (strop-tests): Add rawmemchr.
10275         * string/test-rawmemchr.c: New file.
10277         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10278         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
10279         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
10280         when compiling str{,n}casecmp and when AVX is available.  Hook up
10281         new optimized code in initializers.
10283 2011-10-19  Andreas Schwab  <schwab@redhat.com>
10285         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10286         __feraiseexcept instead of feraiseexcept.
10288 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
10290         * math/math_private.h: Define defaults for libc_fetestexcept and
10291         libc_feupdateenv.
10292         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10293         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10294         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10295         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10296         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10297         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10298         libc_fetestexcept and libc_feupdateenv.
10300         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10301         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10302         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10303         * sysdeps/x86_64/fpu/math_private.h: Define special version of
10304         libc_feholdexcept_setround.
10306         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10307         Add s_nearbyint-c and s_nearbyintf-c.
10308         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10309         nearbyintf inlines.
10310         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10311         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10312         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10313         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10315         * math/math_private.h: Define defaults for libc_fegetround,
10316         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10317         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10318         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10319         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10320         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10321         standard functions.
10322         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10323         Remove comments and hacks for old compiler versions.
10324         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10325         libc_fegetround, libc_fesetround, libc_feholdexcept, and
10326         libc_feholdexceptl.
10328 2011-10-18  Andreas Schwab  <schwab@redhat.com>
10330         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10331         (__feraiseexcept_renamed): Add __NTH.
10332         (feraiseexcept): Add __NTH.  Rename local variables to fix
10333         namespace violations.
10335 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
10337         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10339         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10341         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10342         recently added interfaces.
10343         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10345         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10346         about macro parameter expansion.
10348         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10349         __NO_MATH_INLINES is defined.  Cleanups.
10351         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10352         and __floorf is target has SSE4.1.
10353         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10354         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10355         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10356         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10358         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10359         name.
10360         (floorf): Likewise.
10362         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10364 2011-10-17  Andreas Schwab  <schwab@redhat.com>
10366         * misc/sys/cdefs.h: Fix last change.
10368         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10369         database lookup.
10371 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
10373         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10375         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10376         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10377         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10378         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10379         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10380         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10381         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10382         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10383         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10384         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10385         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10386         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10387         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10388         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10389         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10390         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10391         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10392         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10393         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10394         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10395         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10396         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10398         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10399         ceil, ceilf, floor, floorf.
10401         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10402         Perform IRELATIVE relocations last.
10404         * elf/do-rel.h: Add another parameter nrelative, replacing the
10405         local variable with the same name.  Change name of the function
10406         to end in Rel or Rela (uppercase).
10407         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10408         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
10409         elf_dynamic_do_##reloc function.
10411 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
10413         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10414         is sufficient, at least on modern CPUs.
10416         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10418         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10419         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10421         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10422         __expl_finite.
10423         * math/bits/math-finite.h: Add entries for exp.
10424         * math/e_expl.c: Add __*_finite alias.
10425         * sysdeps/i386/fpu/e_exp.S: Likewise.
10426         * sysdeps/i386/fpu/e_expf.S: Likewise.
10427         * sysdeps/i386/fpu/e_expl.c: Likewise.
10428         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10429         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10430         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10431         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10432         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10433         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10434         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10436         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10437         is sufficient, at least on modern CPUs.
10439         * ctype/ctype-info.c (__ctype_init): Define.
10440         * include/ctype.h (__ctype_init): Declare.
10441         (__ctype_b_loc): The variable is always initialized.
10442         (__ctype_toupper_loc): Likewise.
10443         (__ctype_tolower_loc): Likewise.
10444         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10445         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10447 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
10449         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10451         * configure.in: Also look in $cxxmachine/include for C++ system
10452         headers.
10454 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10456         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10457         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10458         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10459         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
10460         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10461         (USE_AS_WMEMCMP): New macro.
10462         Fixing indents.
10463         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10464         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10465         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10466         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10467         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10468         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10469         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10470         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10471         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10472         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10473         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10474         (USE_AS_WMEMCMP): New macro.
10475         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10476         * sysdeps/string/test-memcmp.c: Update.
10477         Fix simple_wmemcmp.
10478         Add new tests.
10479         * wcsmbs/wmemcmp.c: Update.
10480         (WMEMCMP): New macro.
10481         Fix overflow bug.
10483 2011-10-12  Andreas Jaeger  <aj@suse.de>
10485         [BZ #13268]
10486         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10488 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
10490         * libio/iofwide.c (do_length): Avoid warning.
10492         * ctype/ctype.h (__isctype_f): Add missing __THROW.
10494 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
10496         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10498         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10499         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10500         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10501         * sysdeps/i386/i686/fpu/e_log.S: New file.
10502         * sysdeps/i386/i686/fpu/e_logf.S: New file.
10503         * sysdeps/i386/i686/fpu/e_logl.S: New file.
10505         * ctype/ctype.h: Add support for inlined isXXX functions when
10506         compiling C++ code.
10508 2011-10-14  Andreas Schwab  <schwab@redhat.com>
10510         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10512         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10514 2011-10-13  Roland McGrath  <roland@hack.frob.com>
10516         [BZ #13291]
10517         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10519 2011-10-13  Andreas Schwab  <schwab@redhat.com>
10521         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10522         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10523         feraiseexcept.
10525         * sysdeps/x86_64/memrchr.S: Check for zero size.
10527         * string/stratcliff.c: Add memrchr tests.
10529 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10531         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10532         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10533         rawmemchr-sse2 rawmemchr-sse2-bsf.
10534         * sysdeps/i386/i686/multiarch/memchr.S: New file.
10535         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10536         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10537         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10538         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10539         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10540         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10541         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10542         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10543         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10544         * string/memrchr.c (MEMRCHR): New macro.
10546 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
10548         Add integration with gcc's -ffinite-math-only and optimize wrapper
10549         functions in libm.
10550         * Versions.def: Define GLIBC_2.15 version for libm.
10551         * math/Makefile (headers): Add bits/math-finite.h.
10552         * math/bits/math-finite.h: New file.
10553         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10554         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10555         * math/e_acoshl.c: Add __*_finite alias.
10556         * math/e_acosl.c: Likewise.
10557         * math/e_asinl.c: Likewise.
10558         * math/e_atan2l.c: Likewise.
10559         * math/e_atanhl.c: Likewise.
10560         * math/e_coshl.c: Likewise.
10561         * math/e_exp10.c: Likewise.
10562         * math/e_exp10f.c: Likewise.
10563         * math/e_exp10l.c: Likewise.
10564         * math/e_exp2l.c: Likewise.
10565         * math/e_fmodl.c: Likewise.
10566         * math/e_gammal_r.c: Likewise.
10567         * math/e_hypotl.c: Likewise.
10568         * math/e_j0l.c: Likewise.
10569         * math/e_j1l.c: Likewise.
10570         * math/e_jnl.c: Likewise.
10571         * math/e_lgammal_r.c: Likewise.
10572         * math/e_log10l.c: Likewise.
10573         * math/e_log2l.c: Likewise.
10574         * math/e_logl.c: Likewise.
10575         * math/e_powl.c: Likewise.
10576         * math/e_sinhl.c: Likewise.
10577         * math/e_sqrtl.c: Likewise.
10578         * math/e_scalb.c: Completely rewritten and optimized.
10579         * math/e_scalbf.c: Likewise.
10580         * math/e_scalbl.c: Likewise.
10581         * math/w_acos.c: Likewise.
10582         * math/w_acosf.c: Likewise.
10583         * math/w_acosl.c: Likewise.
10584         * math/w_acosh.c: Likewise.
10585         * math/w_acoshf.c: Likewise.
10586         * math/w_acoshl.c: Likewise.
10587         * math/w_asin.c: Likewise.
10588         * math/w_asinf.c: Likewise.
10589         * math/w_asinl.c: Likewise.
10590         * math/w_atan2.c: Likewise.
10591         * math/w_atan2f.c: Likewise.
10592         * math/w_atan2l.c: Likewise.
10593         * math/w_atanh.c: Likewise.
10594         * math/w_atanhf.c: Likewise.
10595         * math/w_atanhl.c: Likewise.
10596         * math/w_exp10.c: Likewise.
10597         * math/w_exp10f.c: Likewise.
10598         * math/w_exp10l.c: Likewise.
10599         * math/w_fmod.c: Likewise.
10600         * math/w_fmodf.c: Likewise.
10601         * math/w_fmodl.c: Likewise.
10602         * math/w_j0.c: Likewise.
10603         * math/w_j0f.c: Likewise.
10604         * math/w_j0l.c: Likewise.
10605         * math/w_j1.c: Likewise.
10606         * math/w_j1f.c: Likewise.
10607         * math/w_j1l.c: Likewise.
10608         * math/w_jn.c: Likewise.
10609         * math/w_jnf.c: Likewise.
10610         * math/w_log.c: Likewise.
10611         * math/w_logf.c: Likewise.
10612         * math/w_logl.c: Likewise.
10613         * math/w_log10.c: Likewise.
10614         * math/w_log10f.c: Likewise.
10615         * math/w_log10l.c: Likewise.
10616         * math/w_log2.c: Likewise.
10617         * math/w_log2f.c: Likewise.
10618         * math/w_log2l.c: Likewise.
10619         * math/w_pow.c: Likewise.
10620         * math/w_powf.c: Likewise.
10621         * math/w_powl.c: Likewise.
10622         * math/w_remainder.c: Likewise.
10623         * math/w_remainderf.c: Likewise.
10624         * math/w_remainderl.c: Likewise.
10625         * math/w_scalb.c: Likewise.
10626         * math/w_scalbf.c: Likewise.
10627         * math/w_scalbl.c: Likewise.
10628         * math/w_sqrt.c: Likewise.
10629         * math/w_sqrtf.c: Likewise.
10630         * math/w_sqrtl.c: Likewise.
10631         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10632         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
10633         used.
10634         * math/math_private.h: Declare __kernel_standard_f.
10635         * math/w_cosh.c: Remove cruft and optimize a bit.
10636         * math/w_coshf.c: Likewise.
10637         * math/w_coshl.c: Likewise.
10638         * math/w_exp2.c: Likewise.
10639         * math/w_exp2f.c: Likewise.
10640         * math/w_exp2l.c: Likewise.
10641         * math/w_hypot.c: Likewise.
10642         * math/w_hypotf.c: Likewise.
10643         * math/w_hypotl.c: Likewise.
10644         * math/w_lgamma.c: Likewise.
10645         * math/w_lgamma_r.c: Likewise.
10646         * math/w_lgammaf.c: Likewise.
10647         * math/w_lgammaf_r.c: Likewise.
10648         * math/w_lgammal.c: Likewise.
10649         * math/w_lgammal_r.c: Likewise.
10650         * math/w_sinh.c: Likewise.
10651         * math/w_sinhf.c: Likewise.
10652         * math/w_sinhl.c: Likewise.
10653         * math/w_tgamma.c: Likewise.
10654         * math/w_tgammaf.c: Likewise.
10655         * math/w_tgammal.c: Likewise.
10656         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10657         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10658         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10659         Minor optimizations.  Pretty printing.  Remove cruft.
10660         * sysdeps/i386/fpu/e_acosf.S: Likewise.
10661         * sysdeps/i386/fpu/e_acosh.S: Likewise.
10662         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10663         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10664         * sysdeps/i386/fpu/e_acosl.c: Likewise.
10665         * sysdeps/i386/fpu/e_asin.S: Likewise.
10666         * sysdeps/i386/fpu/e_asinf.S: Likewise.
10667         * sysdeps/i386/fpu/e_atan2.S: Likewise.
10668         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10669         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10670         * sysdeps/i386/fpu/e_atanh.S: Likewise.
10671         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10672         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10673         * sysdeps/i386/fpu/e_exp10.S: Likewise.
10674         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10675         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10676         * sysdeps/i386/fpu/e_exp2.S: Likewise.
10677         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10678         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10679         * sysdeps/i386/fpu/e_fmod.S: Likewise.
10680         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10681         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10682         * sysdeps/i386/fpu/e_hypot.S: Likewise.
10683         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10684         * sysdeps/i386/fpu/e_log.S: Likewise.
10685         * sysdeps/i386/fpu/e_log10.S: Likewise.
10686         * sysdeps/i386/fpu/e_log10f.S: Likewise.
10687         * sysdeps/i386/fpu/e_log10l.S: Likewise.
10688         * sysdeps/i386/fpu/e_log2.S: Likewise.
10689         * sysdeps/i386/fpu/e_log2f.S: Likewise.
10690         * sysdeps/i386/fpu/e_log2l.S: Likewise.
10691         * sysdeps/i386/fpu/e_logf.S: Likewise.
10692         * sysdeps/i386/fpu/e_logl.S: Likewise.
10693         * sysdeps/i386/fpu/e_pow.S: Likewise.
10694         * sysdeps/i386/fpu/e_powf.S: Likewise.
10695         * sysdeps/i386/fpu/e_powl.S: Likewise.
10696         * sysdeps/i386/fpu/e_remainder.S: Likewise.
10697         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10698         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10699         * sysdeps/i386/fpu/e_scalb.S: Likewise.
10700         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10701         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10702         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10703         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10704         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10705         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10706         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10707         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10708         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10709         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10710         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10711         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10712         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10713         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10714         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10715         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10716         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10717         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10718         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10719         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10720         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10721         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10722         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10723         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10724         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10725         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10726         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10727         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10728         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10729         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10730         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10731         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10732         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10733         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10734         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10735         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10736         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10737         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10738         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10739         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10740         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10741         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10742         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10743         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10744         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10745         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10746         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10747         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10748         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10749         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10750         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10751         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10752         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10753         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10754         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10755         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10756         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10757         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10758         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10759         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10760         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10761         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10762         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10763         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10764         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10765         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10766         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10767         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10768         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10769         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10770         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10771         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10772         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10773         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10774         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10775         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10776         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10777         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10778         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10779         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10780         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10781         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10782         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10783         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10784         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10785         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10786         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10787         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10788         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10789         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10790         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10791         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10792         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10793         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10794         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10795         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10796         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10797         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10798         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10799         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10800         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10801         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10802         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10803         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10804         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10805         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10806         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10807         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10808         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10809         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10810         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10811         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10812         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10813         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10814         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10815         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
10816         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10817         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10818         (__isnanf): Likewise.
10819         (__isinf_ns): Likewise.
10820         (__isinf_nsf): Likewise.
10821         (__finite): Likewise.
10822         (__finitef): Likewise.
10823         (__ieee754_sqrt): Define as macro.
10824         (__ieee754_sqrtf): Define as macro.
10825         (__ieee754_sqrtl): Define as macro.
10826         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10827         inlined copy.
10828         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10829         __FINITE_MATH_ONLY__ consistent.
10830         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10832 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
10834         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10835         of rawmemchr.
10837         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10839 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
10841         * po/ja.po: Update from translation team.
10843 2011-10-08  Roland McGrath  <roland@hack.frob.com>
10845         * locale/programs/locarchive.c (prepare_address_space): New function.
10846         (create_archive, enlarge_archive, open_archive): Use it.
10848         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10849         inside [SHARED], where it is used.
10851         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10853         * nss/getent.c (netgroup_keys): Remove unused variable.
10854         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10856 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
10858         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10859         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10860         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10861         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10862         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10863         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10864         * math/Makefile (libm-calls): Add s_isinf_ns.
10865         * math/divtc3.c: Use __isinf_nsl instead of isinf.
10866         * math/multc3.c: Likewise.
10867         * math/s_casin.c: Likewise.
10868         * math/s_casinf.c: Likewise.
10869         * math/s_casinl.c: Likewise.
10870         * math/s_ccos.c: Likewise.
10871         * math/s_ccosf.c: Likewise.
10872         * math/s_ccosl.c: Likewise.
10873         * math/s_ctan.c: Likewise.
10874         * math/s_ctanf.c: Likewise.
10875         * math/s_ctanh.c: Likewise.
10876         * math/s_ctanhf.c: Likewise.
10877         * math/s_ctanhl.c: Likewise.
10878         * math/s_ctanl.c: Likewise.
10879         * math/w_fmod.c: Likewise.
10880         * math/w_fmodf.c: Likewise.
10881         * math/w_fmodl.c: Likewise.
10882         * math/w_remainder.c: Likewise.
10883         * math/w_remainderf.c: Likewise.
10884         * math/w_remainderl.c: Likewise.
10885         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10886         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10887         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10888         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10889         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10890         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10891         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10892         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10894         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10895         of the number.
10896         * stdio-common/printf_fphex.c: Likewise.
10897         * stdio-common/printf_size.c: Likewise.
10899         * math/e_exp10.c: Include math_private.h using <...> not "...".
10900         * math/e_exp10f.c: Likewise.
10901         * math/e_exp10l.c: Likewise.
10902         * math/e_exp2l.c: Likewise.
10903         * math/e_j0l.c: Likewise.
10904         * math/e_j1l.c: Likewise.
10905         * math/e_jnl.c: Likewise.
10906         * math/e_lgammal_r.c: Likewise.
10907         * math/e_rem_pio2l.c: Likewise.
10908         * math/e_scalb.c: Likewise.
10909         * math/e_scalbf.c: Likewise.
10910         * math/e_scalbl.c: Likewise.
10911         * math/k_cosl.c: Likewise.
10912         * math/k_sinl.c: Likewise.
10913         * math/k_tanl.c: Likewise.
10914         * math/s_cacoshf.c: Likewise.
10915         * math/s_catan.c: Likewise.
10916         * math/s_catanf.c: Likewise.
10917         * math/s_catanh.c: Likewise.
10918         * math/s_catanhf.c: Likewise.
10919         * math/s_catanhl.c: Likewise.
10920         * math/s_catanl.c: Likewise.
10921         * math/s_ccosh.c: Likewise.
10922         * math/s_ccoshf.c: Likewise.
10923         * math/s_ccoshl.c: Likewise.
10924         * math/s_cexp.c: Likewise.
10925         * math/s_cexpf.c: Likewise.
10926         * math/s_cexpl.c: Likewise.
10927         * math/s_clog.c: Likewise.
10928         * math/s_clog10.c: Likewise.
10929         * math/s_clog10f.c: Likewise.
10930         * math/s_clog10l.c: Likewise.
10931         * math/s_clogf.c: Likewise.
10932         * math/s_clogl.c: Likewise.
10933         * math/s_csin.c: Likewise.
10934         * math/s_csinf.c: Likewise.
10935         * math/s_csinh.c: Likewise.
10936         * math/s_csinhf.c: Likewise.
10937         * math/s_csinhl.c: Likewise.
10938         * math/s_csinl.c: Likewise.
10939         * math/s_csqrt.c: Likewise.
10940         * math/s_csqrtf.c: Likewise.
10941         * math/s_csqrtl.c: Likewise.
10942         * math/s_ctan.c: Likewise.
10943         * math/s_ctanf.c: Likewise.
10944         * math/s_ctanh.c: Likewise.
10945         * math/s_ctanhf.c: Likewise.
10946         * math/s_ctanhl.c: Likewise.
10947         * math/s_ctanl.c: Likewise.
10948         * math/s_ldexp.c: Likewise.
10949         * math/s_ldexpf.c: Likewise.
10950         * math/s_ldexpl.c: Likewise.
10951         * math/s_significand.c: Likewise.
10952         * math/s_significandf.c: Likewise.
10953         * math/s_significandl.c: Likewise.
10954         * math/w_acos.c: Likewise.
10955         * math/w_acosf.c: Likewise.
10956         * math/w_acosh.c: Likewise.
10957         * math/w_acoshf.c: Likewise.
10958         * math/w_acoshl.c: Likewise.
10959         * math/w_acosl.c: Likewise.
10960         * math/w_asin.c: Likewise.
10961         * math/w_asinf.c: Likewise.
10962         * math/w_asinl.c: Likewise.
10963         * math/w_atan2.c: Likewise.
10964         * math/w_atan2f.c: Likewise.
10965         * math/w_atan2l.c: Likewise.
10966         * math/w_atanh.c: Likewise.
10967         * math/w_atanhf.c: Likewise.
10968         * math/w_atanhl.c: Likewise.
10969         * math/w_cosh.c: Likewise.
10970         * math/w_coshf.c: Likewise.
10971         * math/w_coshl.c: Likewise.
10972         * math/w_dremf.c: Likewise.
10973         * math/w_exp10.c: Likewise.
10974         * math/w_exp10f.c: Likewise.
10975         * math/w_exp10l.c: Likewise.
10976         * math/w_exp2.c: Likewise.
10977         * math/w_exp2f.c: Likewise.
10978         * math/w_fmod.c: Likewise.
10979         * math/w_fmodf.c: Likewise.
10980         * math/w_fmodl.c: Likewise.
10981         * math/w_hypot.c: Likewise.
10982         * math/w_hypotf.c: Likewise.
10983         * math/w_hypotl.c: Likewise.
10984         * math/w_j0.c: Likewise.
10985         * math/w_j0f.c: Likewise.
10986         * math/w_j0l.c: Likewise.
10987         * math/w_j1.c: Likewise.
10988         * math/w_j1f.c: Likewise.
10989         * math/w_j1l.c: Likewise.
10990         * math/w_jn.c: Likewise.
10991         * math/w_jnf.c: Likewise.
10992         * math/w_jnl.c: Likewise.
10993         * math/w_lgamma.c: Likewise.
10994         * math/w_lgamma_r.c: Likewise.
10995         * math/w_lgammaf.c: Likewise.
10996         * math/w_lgammaf_r.c: Likewise.
10997         * math/w_lgammal.c: Likewise.
10998         * math/w_lgammal_r.c: Likewise.
10999         * math/w_log.c: Likewise.
11000         * math/w_log10.c: Likewise.
11001         * math/w_log10f.c: Likewise.
11002         * math/w_log10l.c: Likewise.
11003         * math/w_log2.c: Likewise.
11004         * math/w_log2f.c: Likewise.
11005         * math/w_log2l.c: Likewise.
11006         * math/w_logf.c: Likewise.
11007         * math/w_logl.c: Likewise.
11008         * math/w_pow.c: Likewise.
11009         * math/w_powf.c: Likewise.
11010         * math/w_powl.c: Likewise.
11011         * math/w_remainder.c: Likewise.
11012         * math/w_remainderf.c: Likewise.
11013         * math/w_remainderl.c: Likewise.
11014         * math/w_scalb.c: Likewise.
11015         * math/w_scalbf.c: Likewise.
11016         * math/w_scalbl.c: Likewise.
11017         * math/w_sinh.c: Likewise.
11018         * math/w_sinhf.c: Likewise.
11019         * math/w_sinhl.c: Likewise.
11020         * math/w_sqrt.c: Likewise.
11021         * math/w_sqrtf.c: Likewise.
11022         * math/w_sqrtl.c: Likewise.
11023         * math/w_tgamma.c: Likewise.
11024         * math/w_tgammaf.c: Likewise.
11025         * math/w_tgammal.c: Likewise.
11027         * po/ja.po: Update from translation team.
11029 2011-09-29  Andreas Jaeger  <aj@suse.de>
11031         [BZ #13179]
11032         * sunrpc/netname.c (netname2host): Fix logic.
11034         [BZ #6779]
11035         [BZ #6783]
11036         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11037         correctly.
11038         * math/w_remainder.c (__remainder): Likewise.
11039         * math/w_remainderf.c (__remainderf): Likewise.
11040         * math/libm-test.inc (remainder_test): Add test cases.
11042 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11044         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
11045         sdiv_qrnnd.
11047 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
11049         * string/test-memcmp.c: Avoid unncessary #defines.
11050         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11052 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11054         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11055         Use new sse2 version for core i3 - i7 as it's faster
11056         than sse42 version.
11057         (bit_Prefer_PMINUB_for_stringop): New.
11058         * sysdeps/x86_64/rawmemchr.S: Update.
11059         Replace with faster SSE2 version.
11060         * sysdeps/x86_64/memrchr.S: New file.
11061         * sysdeps/x86_64/memchr.S: Update.
11062         Replace with faster SSE2 version.
11064 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
11066         * elf/dl-load.c (lose): Add cast to avoid warning.
11068 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
11070         * po/ca.po: Update from translation team.
11072         * inet/getnetgrent_r.c: Hook up nscd.
11073         * nscd/Makefile (routines): Add nscd_netgroup.
11074         (nscd-modules): Add netgroupcache.
11075         (CFLAGS-netgroupcache.c): Define.
11076         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11077         (cache_search): Add const to second parameter.
11078         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11079         INNETGR.
11080         (dbs): Add netgrdb entry.
11081         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11082         (verify_persistent_db): Handle netgrdb.
11083         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11084         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11085         GETFDNETGR.
11086         (netgroup_response_header): Define.
11087         (innetgroup_response_header): Define.
11088         (datahead): Add netgroup_response_header and innetgroup_response_header
11089         elements.
11090         * nscd/nscd.conf: Add entries for netgroup cache.
11091         * nscd/nscd.h (dbtype): Add netgrdb.
11092         (_PATH_NSCD_NETGROUP_DB): Define.
11093         (netgroup_iov_disabled): Declare.
11094         (xmalloc, xcalloc, xrealloc): Move declarations here.
11095         (cache_search): Adjust prototype.
11096         Add netgroup-related prototypes.
11097         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11098         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11099         (__nscd_innetgr): Declare.
11100         * nscd/selinux.c (perms): Use access_vector_t as element type and
11101         add netgroup-related initializers.
11102         * nscd/netgroupcache.c: New file.
11103         * nscd/nscd_netgroup.c: New file.
11104         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11105         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11106         For four parameters use innetgr.
11107         * nss/nss_files/files-init.c: Add definition and callback for netgr.
11108         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11109         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11110         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11112         * nscd/connections.c (register_traced_file): Don't register file
11113         for disabled databases.
11115 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
11117         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11119         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11120         from tree and freeing node.
11122 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
11124         * nss/nsswitch.c (__nss_database_lookup): Handle
11125         nss_parse_service_list out of memory case.
11127 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
11129         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11130         out of memory case.
11132 2011-10-04  Andreas Schwab  <schwab@redhat.com>
11134         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11135         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11136         pass it down.
11137         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11138         elf_machine_rela, elf_machine_lazy_rel.
11139         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11140         (ELF_DYNAMIC_DO_REL): Likewise.
11141         (ELF_DYNAMIC_DO_RELA): Likewise.
11142         (ELF_DYNAMIC_RELOCATE): Likewise.
11143         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11144         to ELF_DYNAMIC_DO_REL.
11145         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11146         (dl_main): In trace mode always set __RTLD_NOIFUNC.
11147         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11148         elf_machine_rela.
11149         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11150         skip_ifunc, don't call ifunc function if non-zero.
11151         (elf_machine_rela): Likewise.
11152         (elf_machine_lazy_rel): Likewise.
11153         (elf_machine_lazy_rela): Likewise.
11154         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11155         (elf_machine_lazy_rel): Likewise.
11156         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11157         Likewise.
11158         (elf_machine_lazy_rel): Likewise.
11159         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11160         Likewise.
11161         (elf_machine_lazy_rel): Likewise.
11162         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11163         (elf_machine_lazy_rel): Likewise.
11164         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11165         (elf_machine_lazy_rel): Likewise.
11166         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11167         (elf_machine_lazy_rel): Likewise.
11168         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11169         (elf_machine_lazy_rel): Likewise.
11170         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11171         (elf_machine_lazy_rel): Likewise.
11172         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11173         (elf_machine_lazy_rel): Likewise.
11175 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
11177         * nss/nss_files/files-init.c (_nss_files_init): Use static
11178         initialization for all the *_traced_file variables.
11180 2011-09-28  Andreas Schwab  <schwab@redhat.com>
11182         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11184 2011-09-27  Roland McGrath  <roland@hack.frob.com>
11186         [BZ #13226]
11187         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11189 2011-09-27  Andreas Schwab  <schwab@redhat.com>
11191         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11192         Reread the line before reparsing it.
11194 2011-09-26  Andreas Schwab  <schwab@redhat.com>
11196         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11198 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
11199             Maxim Kuvyrkov  <maxim@codesourcery.com>
11200             Joseph Myers  <joseph@codesourcery.com>
11202         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11203         if needed for __stack_chk_guard.
11205 2011-09-19  Roland McGrath  <roland@hack.frob.com>
11207         * sysdeps/posix/spawni.c (script_execute): Always define it.
11208         It will be optimized away if unused.
11209         (maybe_script_execute): New function.
11210         (__spawni): Call it.
11212         * Makerules: Don't include tls.make.
11213         (config-tls): Always set to thread.
11214         * tls.make.c: File removed.
11216 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
11218         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11219         * config.make.in (CPPFLAGS-config): New substituted variable.
11221 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
11223         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11225         [BZ #13192]
11226         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11227         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11229 2011-09-15  Roland McGrath  <roland@hack.frob.com>
11231         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11232         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11233         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11234         (CALL_FAIL): Likewise.
11235         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11236         (CALL_FAIL): Macro removed.
11237         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11239 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
11241         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11242         for __FINITE_MATH_ONLY__ == 1.
11244 2011-09-15  Andreas Schwab  <schwab@redhat.com>
11246         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11247         __ieee754_sqrt instead of sqrt.
11248         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11249         __ieee754_sqrtf instead of sqrtf.
11250         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11251         __floorf instead of floorf.
11252         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11253         __floorf, __truncf instead of floorf, truncf.
11255 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
11257         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11259         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11260         __extern_always_inline.
11261         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11262         32-bit.
11264 2011-09-14  Andreas Schwab  <schwab@redhat.com>
11266         * elf/rtld.c (dl_main): Also relocate in dependency order when
11267         doing symbol dependency testing.
11269 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
11271         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11272         Always define `refsym'.
11274 2011-09-13  Andreas Schwab  <schwab@redhat.com>
11276         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11277         (__FD_ELT): Renamed from __FDELT.
11278         * misc/bits/select2.h (__FD_ELT): Likewise.
11279         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11280         __FD_MASK instead of __FDELT, __FDMASK.
11281         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11282         Likewise.
11283         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11284         Likewise.
11286         * elf/Makefile (gen-ldd): Fix pattern.
11288         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11289         (init_tls): Likewise.
11291 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
11293         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11295 2011-09-12  Andreas Schwab  <schwab@redhat.com>
11297         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11298         `struct cmsghdr *' instead of `void *'.
11299         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11300         Likewise.
11302 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
11304         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11305         if non-absolute.
11306         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11307         ldd_rewrite_script.
11309 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
11311         * configure.in: Remove --with-tls option.
11312         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11313         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11314         out in case it is missing.
11315         * sysdeps/ia64/elf/configure.in: Likewise.
11316         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11317         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11318         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11319         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11320         * sysdeps/sh/elf/configure.in: Likewise.
11321         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11322         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11323         * sysdeps/x86_64/elf/configure.in: Likewise.
11324         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11325         * sysdeps/mach/hurd/tls.h: Likewise.
11327         [BZ #13067]
11328         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11330         [BZ #13090]
11331         * configure.in: Fix use of AC_INIT.
11333         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11335 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
11337         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11338         __set_errno.
11339         * malloc/hooks.c: Likewise.
11341         [BZ #11929]
11342         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
11343         variables statically.
11344         (narenas): Initialize.
11345         (list_lock): Initialize.
11346         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
11347         initializtion of main_arena and list_lock.  Small cleanups.
11348         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11349         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
11350         Add initializers to main_arena and mp_.
11351         (malloc_state): Remove pagesize member.  Change all users to use
11352         GLRO(dl_pagesize).
11354         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11355         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
11356         is always initialized.
11358         * malloc/malloc.c: Removed unused configurations and dead code.
11359         * malloc/arena.c: Likewise.
11360         * malloc/hooks.c: Likewise.
11361         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11363         * include/tls.h: Removed.  USE___THREAD must always be defined.
11364         * bits/libc-tsd.h: Don't handle !USE___THREAD.
11365         * elf/dl-libc.c: Likewise.
11366         * elf/dl-tsd.c: Likewise.
11367         * include/errno.h: Likewise.
11368         * include/netdb.h: Likewise.
11369         * include/resolv.h: Likewise.
11370         * inet/herrno-loc.c: Likewise.
11371         * inet/herrno.c: Likewise.
11372         * malloc/arena.c: Likewise.
11373         * malloc/hooks.c: Likewise.
11374         * malloc/malloc.c: Likewise.
11375         * resolv/res-state.c: Likewise.
11376         * resolv/res_libc.c: Likewise.
11377         * sysdeps/i386/dl-machine.h: Likewise.
11378         * sysdeps/ia64/dl-machine.h: Likewise.
11379         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11380         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11381         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11382         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11383         * sysdeps/sh/dl-machine.h: Likewise.
11384         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11385         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11386         * sysdeps/unix/i386/sysdep.S: Likewise.
11387         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11388         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11389         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11390         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11391         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11392         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11393         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11394         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11395         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11397         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11398         * sysdeps/x86_64/dl-machine.h: Likewise.
11399         * tls.make.c: Likewise.
11401         * configure.in: Remove --with-__thread option.  Make tests for
11402         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11403         tls_model attribute fail if no support is available.  Remove
11404         USE_IN_LIBIO.
11405         * Makeconfig: Adjust for dropped configure option.  All features are
11406         now mandatory.
11407         * Makerules: Likewise.
11408         * Versions.def: Likewise.
11409         * argp/argp-fmtstream.c: Likewise.
11410         * argp/argp-fmtstream.h: Likewise.
11411         * argp/argp-help.c: Likewise.
11412         * assert/assert.c: Likewise.
11413         * config.h.in: Likewise.
11414         * config.make.in: Likewise.
11415         * configure: Likewise.
11416         * configure.in: Likewise.
11417         * csu/Versions: Likewise.
11418         * csu/init.c: Likewise.
11419         * elf/tst-audit2.c: Likewise.
11420         * elf/tst-tls10.c: Likewise.
11421         * elf/tst-tls10.h: Likewise.
11422         * elf/tst-tls11.c: Likewise.
11423         * elf/tst-tls12.c: Likewise.
11424         * elf/tst-tls14.c: Likewise.
11425         * elf/tst-tlsmod11.c: Likewise.
11426         * elf/tst-tlsmod12.c: Likewise.
11427         * elf/tst-tlsmod13.c: Likewise.
11428         * elf/tst-tlsmod13a.c: Likewise.
11429         * elf/tst-tlsmod14a.c: Likewise.
11430         * elf/tst-tlsmod15b.c: Likewise.
11431         * elf/tst-tlsmod16a.c: Likewise.
11432         * elf/tst-tlsmod16b.c: Likewise.
11433         * elf/tst-tlsmod7.c: Likewise.
11434         * elf/tst-tlsmod8.c: Likewise.
11435         * elf/tst-tlsmod9.c: Likewise.
11436         * gmon/gmon.c: Likewise.
11437         * grp/fgetgrent_r.c: Likewise.
11438         * grp/putgrent.c: Likewise.
11439         * hurd/fopenport.c: Likewise.
11440         * include/libc-symbols.h: Likewise.
11441         * include/tls.h: Likewise.
11442         * intl/gettextP.h: Likewise.
11443         * intl/loadinfo.h: Likewise.
11444         * locale/global-locale.c: Likewise.
11445         * locale/localeinfo.h: Likewise.
11446         * mach/devstream.c: Likewise.
11447         * malloc/arena.c: Likewise.
11448         * malloc/set-freeres.c: Likewise.
11449         * misc/err.c: Likewise.
11450         * misc/getttyent.c: Likewise.
11451         * misc/mntent_r.c: Likewise.
11452         * posix/getopt.c: Likewise.
11453         * posix/wordexp.c: Likewise.
11454         * pwd/fgetpwent_r.c: Likewise.
11455         * resolv/Versions: Likewise.
11456         * resolv/res_hconf.c: Likewise.
11457         * shadow/fgetspent_r.c: Likewise.
11458         * shadow/putspent.c: Likewise.
11459         * stdio-common/printf_fphex.c: Likewise.
11460         * stdio-common/tmpfile.c: Likewise.
11461         * stdlib/abort.c: Likewise.
11462         * stdlib/fmtmsg.c: Likewise.
11463         * sunrpc/auth_unix.c: Likewise.
11464         * sunrpc/clnt_perr.c: Likewise.
11465         * sunrpc/clnt_tcp.c: Likewise.
11466         * sunrpc/clnt_udp.c: Likewise.
11467         * sunrpc/clnt_unix.c: Likewise.
11468         * sunrpc/openchild.c: Likewise.
11469         * sunrpc/svc_simple.c: Likewise.
11470         * sunrpc/svc_tcp.c: Likewise.
11471         * sunrpc/svc_udp.c: Likewise.
11472         * sunrpc/svc_unix.c: Likewise.
11473         * sunrpc/xdr.c: Likewise.
11474         * sunrpc/xdr_array.c: Likewise.
11475         * sunrpc/xdr_rec.c: Likewise.
11476         * sunrpc/xdr_ref.c: Likewise.
11477         * sunrpc/xdr_stdio.c: Likewise.
11479 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
11481         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11483 2011-07-03  Andreas Jaeger  <aj@suse.de>
11485         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11486         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11487         regenerate with gen-libm-tests.pl.
11489 2010-05-12  Petr Baudis  <pasky@suse.cz>
11491         [BZ #11589]
11492         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11493         around j0() zero points by switching to j1().
11494         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11495         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11496         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11497         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11499 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
11501         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11502         instead of 0.
11503         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11504         instead of 0.                              .
11505         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11506         Patch in part by Pavel Roskin <proski@gnu.org>.
11508         [BZ #13138]
11509         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11510         realloc.
11511         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
11512         Free memory block if necessary.
11514         [BZ #12847]
11515         * libio/genops.c (INTDEF): For string streams the _lock pointer can
11516         be NULL.  Don't lock in this case.
11518 2011-09-09  Roland McGrath  <roland@hack.frob.com>
11520         * elf/elf.h (ELFOSABI_GNU): New macro.
11521         (ELFOSABI_LINUX): Define to that.
11523 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
11525         * string/strncat.c (strncat): Undef the symbol in case it has been
11526         defined in bits/string.h.
11528 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
11530         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11532         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11533         link map.
11535 2011-08-17  Andreas Jaeger  <aj@suse.de>
11537         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11539 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11540             Ian Lance Taylor  <iant@google.com>
11542         * math/libm-test.inc (lround_test): New testcase.
11543         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11545 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
11547         * Makefile: Remove support for automatic cvs check-ins.
11548         * Makerules: Likewise.
11549         * config.make.in: Likewise.
11550         * configure.in: Likewise.
11551         * intl/Makefile: Likewise.
11552         * locale/Makefile: Likewise.
11553         * po/Makefile: Likewise.
11554         * posix/Makefile: Likewise.
11555         * sysdeps/gnu/Makefile: Likewise.
11556         * sysdeps/mach/hurd/Makefile: Likewise.
11557         * sysdeps/sparc/sparc32/Makefile: Likewise.
11559         [BZ #13118]
11560         * posix/Makefile (bug-regex32-ENV): Define.
11561         Patch by John Stanley <jpsinthemix@verizon.net>.
11563         * misc/Makefile (headers): Add bits/select2.h.
11564         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11565         * misc/bits/select2.h: New file.
11566         * include/bits/select2.h: New file.
11567         * debug/Makefile (routines): Add fdelt_chk.
11568         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11569         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11570         FD_ISSET.
11571         * debug/fdelt_chk.c: New file.
11573         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
11574         * wcsmbs/test-wmemcmp.c: Likewise.
11575         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11576         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11578 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11580         * string/Makefile (strop-tests): Add memcmp.
11581         * string/test-wmemcmp.c: New file.
11582         * string/test-memcmp.c: Add wmemcmp support.
11584 2011-09-08  Roland McGrath  <roland@hack.frob.com>
11586         [BZ #13153]
11587         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11588         2011-07-19 change.
11590         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11591         garbage value in a __mach_port_mod_refs call in the cases of the
11592         task-self and thread-self ports.
11594 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11596         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11598 2011-09-08  Andreas Schwab  <schwab@redhat.com>
11600         * elf/dl-load.c (lose): Check for non-null L.
11602 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
11604         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11606         * elf/dl-libc.c (dlerror_run): Pass back error code from
11607         dl_catch_error.
11609         [BZ #13123]
11610         * elf/dl-load.c (lose): Free l_origin if it is valid.
11612         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11613         names.
11614         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11615         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11616         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11617         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11618         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11619         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11621 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11623         * sysdeps/powerpc/fpu/e_hypot.c: New file.
11624         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11625         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11626         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11627         * sysdeps/powerpc/fpu/k_cosf.c: New file.
11628         * sysdeps/powerpc/fpu/k_sinf.c: New file.
11629         * sysdeps/powerpc/fpu/s_cosf.c: New file.
11630         * sysdeps/powerpc/fpu/s_sinf.c: New file.
11631         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11632         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11634 2011-08-15  Alan Modra  <amodra@gmail.com>
11636         [BZ #13092]
11637         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11638         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11639         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
11640         ppc_mcount to static-only-routines.
11641         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11642         __mcount_internal.
11643         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11644         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
11646 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
11648         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11649         for finite and infinity parameters.
11651 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
11653         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11654         and add nop instructions for throughput optimization.
11655         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11657 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
11659         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11660         aligned copy for power7 with vector-scalar instructions.
11661         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11663 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
11665         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11666         AVX check.
11668 2011-09-07  Andreas Schwab  <schwab@redhat.com>
11670         [BZ #13144]
11671         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11672         last change.
11674 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
11676         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11677         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11678         syscall wrapper around clock_gettime in __vdso_clock_gettime.
11679         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11680         clock_gettime.
11682 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
11684         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11685         Forgot to demangle the pointer.
11687         * sysdeps/i386/sysdep.h: Define atom_text_section.
11688         * sysdeps/x86_64/sysdep.h: Likewise.
11689         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11690         section with atom_text_section.
11691         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11692         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11693         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11694         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11695         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11697         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11698         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11699         already be defined.  Change to take two parameters and don't assign
11700         result to variable.  Adjust all users.
11701         Define INTERNAL_GETTIME if not already defined.
11702         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11703         call.
11704         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11705         HAVE_CLOCK_GETTIME_VSYSCALL.
11706         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11708         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11709         gettimeofday vsyscall, just use time.
11711 2011-09-06  Andreas Schwab  <schwab@redhat.com>
11713         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11714         <errno.h>.
11716 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
11718         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11719         syscall on x86-64.
11720         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11721         syscall.
11722         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11723         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11724         syscall if possible.
11726 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
11728         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11729         e_ident.  Don't pass to find_mapsXX.
11730         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11732 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11735         strchr-sse2-no-bsf strrchr-sse2-no-bsf
11736         * sysdeps/x86_64/multiarch/strchr.S: Update.
11737         Check bit_slow_BSF bit.
11738         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11739         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11740         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11742 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
11744         [BZ #13134]
11745         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11746         before glibc 2.15.
11747         (tryshell): Define.
11748         (__spawni): Change last parameter to be flag.  Test
11749         SPAWN_XFLAGS_USE_PATH flag to use path or not.
11750         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11751         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11752         * posix/spawni.c: Likewise.
11753         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11754         * posix/spawnp.c: Likewise.  Change normal version to use
11755         SPAWN_XFLAGS_USE_PATH.
11756         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11757         SPAWN_XFLAGS_TRY_SHELL.
11759         [BZ #13150]
11760         * posix/glob.h: Remove gcc 1.x support.
11762         [BZ #13068]
11763         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11765 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11767         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11768         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11769         strrchr-sse2-bsf
11770         * sysdeps/i386/i686/multiarch/strchr.S: New file.
11771         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11772         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11773         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11774         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11775         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11777 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11779         * sysdeps/x86_64/wcscmp.S: New file.
11781         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11782         wcscmp-c wcscmp-sse2
11783         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11784         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11785         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11786         * wcsmbs/wcscmp.c: Allow renaming.
11788 2011-09-05  David S. Miller  <davem@davemloft.net>
11790         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11791         stack slot, rather than the struct return pointer slot.
11792         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11793         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11795         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11797 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
11799         * po/ja.po: Update from translation team.
11801         [BZ #13144]
11802         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11803         kernel in 64-bit binaries.
11805 2011-09-01  David S. Miller  <davem@davemloft.net>
11807         * elf/elf.h (HWCAP_SPARC_*): Move to..
11808         * sysdeps/sparc/sysdep.h: this new file and add new values.
11809         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11810         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11811         _DL_HWCAP_COUNT to 24.
11812         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11813         entries.
11814         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11815         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11816         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11817         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11818         instead of magic constants.
11819         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11821 2011-08-31  David S. Miller  <davem@davemloft.net>
11823         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11824         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11825         Reimplement to do errno handling inline.
11826         (SYSCALL_ERROR_HANDLER): New macro.
11827         (__SYSCALL_STRING): Do not do errno handling in asm.
11828         (__CLONE_SYSCALL_STRING): Delete.
11829         (__INTERNAL_SYSCALL_STRING): Delete.
11830         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11831         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11832         (PSEUDO): Reimplement to do errno handling inline.
11833         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11834         (SYSCALL_ERROR_HANDLER): New macro.
11835         (__SYSCALL_STRING): Do not do errno handling in asm.
11836         (__CLONE_SYSCALL_STRING): Delete.
11837         (__INTERNAL_SYSCALL_STRING): Delete.
11838         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11839         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11840         i386.
11841         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11842         (inline_syscall*): Add 'err' argument.
11843         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11844         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11845         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11846         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11848         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11849         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11851 2011-08-30  Andreas Schwab  <schwab@redhat.com>
11853         * elf/rtld.c (dl_main): Relocate objects in dependency order.
11855 2011-08-29  Jiri Olsa <jolsa@redhat.com>
11857         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11858         directive.
11860 2011-08-24  David S. Miller  <davem@davemloft.net>
11862         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11864 2011-08-24  Andreas Schwab  <schwab@redhat.com>
11866         * elf/Makefile: Add rules to build and run unload8 test.
11867         * elf/unload8.c: New file.
11868         * elf/unload8mod1.c: New file.
11869         * elf/unload8mod1x.c: New file.
11870         * elf/unload8mod2.c: New file.
11871         * elf/unload8mod3.c: New file.
11873         * elf/dl-close.c (_dl_close_worker): Reset private search list if
11874         it wasn't used.
11876 2011-08-23  David S. Miller  <davem@davemloft.net>
11878         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11879         subtract stack bias.
11880         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11881         %sp not %fp in calculations.
11882         (_JMPBUF_UNWINDS_ADJ): Likewise.
11884         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11885         (aio_suspend): Call it to force an exception region around the
11886         AIO_MISC_WAIT() invocation.
11888 2011-08-23  Andreas Schwab  <schwab@redhat.com>
11890         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11891         backslash.
11893 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
11895         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11896         protection macro.
11897         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11898         and <dl-machine.h>.
11899         (Elf64_FuncDesc): Remove.
11901 2011-08-22  David S. Miller  <davem@davemloft.net>
11903         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11904         sigaltstack check, add missing cfi directives.
11905         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11906         missing cfi directives, and sigaltstack handling.
11908 2011-08-16  Andreas Schwab  <schwab@redhat.com>
11910         [BZ #11724]
11911         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11912         object is seen twice.
11913         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11915         * elf/Makefile (distribute): Add tst-initorder2.c.
11916         (tests): Add tst-initorder2.
11917         (modules-names): Add tst-initorder2a tst-initorder2b
11918         tst-initorder2c tst-initorder2d.  Add rules to build them.
11919         ($(objpfx)tst-initorder2.out): New rule.
11920         * elf/tst-initorder2.c: New file.
11921         * elf/tst-initorder2.exp: New file.
11923 2011-08-22  Andreas Schwab  <schwab@redhat.com>
11925         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11927         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11928         dependencies back to end of function.
11930         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11931         $(elfobjdir)/ld.so.
11933 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
11935         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11936         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11937         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11938         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11939         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11940         of __vdso_gettimeofday.
11941         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11942         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
11943         attribute_hidden.
11944         (_libc_vdso_platform_setup): Remove initialization of
11945         __vdso_gettimeofday and __vdso_time.
11947 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
11949         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11950         and fgetc_unlocked.
11951         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11952         getc_unlocked.
11954         * elf/dl-open.c (add_to_global): Report additions to the global scope
11955         for LD_DEBUG=scopes.
11956         (dl_open_worker): Also print scope of newly loaded dependencies.
11957         (_dl_show_scope): Indicate if there is no scope.
11959         [BZ #13114]
11960         * stdio-common/Makefile (tests): Add bug24.
11961         * stdio-common/bug24.c: New file.
11963 2011-08-19  Andreas Jaeger  <aj@suse.de>
11965         [BZ #13114]
11966         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11967         non-existant file when using close-on-exec mode.
11969 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
11971         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11972         the very first instruction.
11974         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11975         the CFI state in the end.
11976         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11977         inclusion of dl-trampoline.h.
11978         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11980 2011-08-19  Andreas Schwab  <schwab@redhat.com>
11982         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11983         expectations for long double.
11985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11986         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11988 2011-08-14  David S. Miller  <davem@davemloft.net>
11990         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11991         artificual limit depends upon the system page size.
11993 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
11995         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11996         * resolv/Makefile: Define CFLAGS-libresolv.
11998 2011-08-17  Andreas Schwab  <schwab@redhat.com>
12000         * nss/makedb.c (compute_tables): Make variables used in nested
12001         function static.
12003 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
12005         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12006         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12007         if buffer was too small.
12009         * elf/pldd.c (main): Attach to all threads in the process.
12010         Rewrite /proc handling to use *at functions.
12012 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
12014         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12015         specifies first scope to show.
12016         (dl_open_worker): Update callers.  Move printing scope of new
12017         object to before the relocation.
12018         * elf/rtld.c (dl_main): Update _dl_show_scope call.
12019         * sysdeps/generic/ldsodefs.h: Update declaration.
12021         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12022         string for the scope number.
12024 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
12026         * nscd/servicescache.c (cache_addserv): Make sure written is always
12027         initialized.
12029 2011-08-14  Roland McGrath  <roland@hack.frob.com>
12031         * sysdeps/i386/i486/bits/atomic.h
12032         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12033         statement expression, so as to suppress "set but not used" warning.
12034         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12036         * string/strncat.c (STRNCAT): Use prototype definition.
12038         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12039         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12040         -Iprograms here.
12041         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12042         (localedef-modules): Add localedef.
12043         (locale-modules): Add locale.
12045         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12046         * elf/rtld.c (dl_main): Invert order of assignment in last change,
12047         to avoid a warning.
12049 2011-08-14  David S. Miller  <davem@davemloft.net>
12051         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12052         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12054 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
12056         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12057         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12058         * elf/rtld.c (dl_main): Set l_name of vDSO.
12059         Call _dl_show_scope when DL_DEBUG_SCOPES.
12060         (process_dl_debug): Recognize scopes flag and also set it for all.
12061         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12062         Declare _dl_show_scope.
12064         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12065         (do_dlopen): Pass caller_dlopen to dl_open.
12066         (__libc_dlopen_mode): Initialize caller_dlopen.
12068         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12069         of libc.  Make tolower call locale-independent.  Optimize a bit by
12070         using isdigit instead of isalnum.
12071         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12073 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
12075         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12076         was a dependency or dynamically loaded.
12078 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
12080         * intl/l10nflist.c: Allow architecture-specific pop function.
12081         * sysdeps/x86_64/l10nflist.c: New file.
12083         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12084         classification.
12086 2011-08-10  Andreas Schwab  <schwab@redhat.com>
12088         * include/dirent.h: Add libc_hidden_proto for scandirat and
12089         scandirat64.  Don't declare __scandirat64.
12090         * dirent/scandirat.c: Add libc_hidden_def.
12091         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12092         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12094 2011-08-10  David S. Miller  <davem@davemloft.net>
12096         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12097         enum.
12098         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12099         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12100         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12102 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
12104         * Versions.def [libc]: Add GLIBC_2.15.
12105         * dirent/Makefile (routines): Add scandirat and scandirat64.
12106         * dirent/Versions [libc]: Export scandirat and scandirat64 for
12107         GLIBC_2.15.
12108         * dirent/dirent.h: Declare scandirat and scandirat64.
12109         * dirent/scandirat.c: New file.
12110         * dirent/scandirat64.c: New file.
12111         * sysdeps/wordsize-64/scandirat.c: New file.
12112         * sysdeps/wordsize-64/scandirat64.c: New file.
12113         * dirent/opendir.c: Define opendirat.
12114         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
12115         using scandirat.
12116         * dirent/scandir64.c: Adjust for scandir.c change.
12117         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
12118         __scandirat64, and __scandir_cancel_handler.
12119         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
12120         additional parameter and use openat instead of open (outside of ld.so).
12121         Add new __opendir as wrapper around __opendirat.
12122         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12123         here without requiring old scandirat implementation.
12125 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
12127         * dirent/scandir.c (cancel_handler): Renamed to
12128         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
12129         defined.  Adjust users.
12130         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12131         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12133 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
12135         * string/test-string.h (IMPL): Use __STRING to expand name and then
12136         stringify it.
12138         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
12139         of cleanups.
12141 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12143         * string/Makefile: Update.
12144         (strop-tests): Append strncat.
12145         * string/test-wcscmp.c: New file.
12146         New comprehensive test for wcscmp.
12147         * string/test-strcmp.c: Update.
12148         (WIDE): New define.
12150 2011-07-22  Andreas Schwab  <schwab@redhat.com>
12152         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12153         line.
12155 2011-07-26  Andreas Schwab  <schwab@redhat.com>
12157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12158         encoding to ACE if AI_IDN.
12160 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
12162         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12163         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12165 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12167         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12168         Fix overflow bug in strncat.
12169         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12171         * string/test-strncat.c: Update.
12172         Add new tests for checking overflow bugs.
12174 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12176         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12177         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12178         * sysdeps/i386/i686/multiarch/strcat.S: New file.
12179         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12180         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12181         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12182         * sysdeps/i386/i686/multiarch/strncat.S: New file.
12183         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12184         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12186         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12187         (USE_AS_STRCAT): Define.
12188         Add strcat and strncat support.
12189         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12191 2011-07-25  Andreas Schwab  <schwab@redhat.com>
12193         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12194         __n bigger than INT_MAX+1.
12195         (__strncmp_g): Likewise.
12197 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
12199         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12200         * libio/stido.h: Likewise.
12202         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12203         (AF_NFC): Define.
12204         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12205         (AF_NFC): Define.
12207         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12208         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12209         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12210         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12211         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12213         [BZ #13021]
12214         * scripts/test-installation.pl: Don't expect libnss_test1 to be
12215         installed.
12217         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12218         typo.
12219         (_dl_x86_64_save_sse): Likewise.
12221 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
12223         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12224         OSXSAVE.
12225         (_dl_x86_64_save_sse): Likewise.
12227         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12229         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12231 2011-07-21  Andreas Schwab  <schwab@redhat.com>
12233         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12234         change.
12235         (_dl_x86_64_save_sse): Use correct AVX check.
12237 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12239         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12240         bug in strncpy/strncat.
12241         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12243 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
12245         * string/tester.c (test_strcat): Add tests for different alignments
12246         of source and destination.
12247         (test_strncat): Likewise.
12249 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
12251         [BZ #12852]
12252         * posix/glob.c (glob): Check passed in values before using them in
12253         expressions to avoid some overflows.
12254         (glob_in_dir): Likewise.
12256         [BZ #13007]
12257         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12258         check for AVX enablement so that we don't crash with old kernels and
12259         new hardware.
12260         * elf/tst-audit4.c: Add same checks here.
12261         * elf/tst-audit6.c: Likewise.
12263         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12265 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
12267         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12269 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
12271         * po/cs.po: Update from translation team.
12272         * po/bg.po: Likewise.
12274 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
12276         * misc/sys/cdefs.h: Add support for const attribute.
12277         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12278         to gnu_dev_{major,minor,makedev} functions.
12280 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
12282         * intl/dcigettext.c (get_output_charset): Add missing bracket.
12284 2011-07-20  Andreas Schwab  <schwab@redhat.com>
12286         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12287         strlen results.
12289 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12291         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12292         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12293         register in order to avoid conflicts with the soft frame pointer
12294         being held in r11 when necessary.
12295         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12296         (INTERNAL_VSYSCALL_NCS): Likewise.
12298 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
12300         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12301         * elf/dl-fini.c (_dl_fini): Adjust caller.
12302         * elf/dl-close.c (_dl_close_worker): Likewise.
12303         * sysdeps/generic/ldsodefs.h: Adjust declaration.
12305 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
12307         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12308         "aux_cache->nlibs < 0".
12310         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12311         in the reload-count case.
12313 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12316         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12317         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12318         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12319         * sysdeps/x86_64/multiarch/strcat.S: New file.
12320         * sysdeps/x86_64/multiarch/strncat.S: New file.
12321         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12322         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12323         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12324         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12325         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12326         (USE_AS_STRCAT): Define.
12327         Add strcat and strncat support.
12328         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12329         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12330         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12331         * string/strncat.c: Update.
12332         (USE_AS_STRNCAT): Define.
12333         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12334         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12335         and i7.
12336         * sysdeps/x86_64/multiarch/init-arch.h
12337         (bit_Prefer_PMINUB_for_stringop): New.
12338         (index_Prefer_PMINUB_for_stringop): Likewise.
12339         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12340         bit_Prefer_PMINUB_for_stringop.
12342 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
12344         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12345         buffer64.
12346         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12347         of casting of buffer.
12348         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12349         buffer32 and buffer64.
12350         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12351         writes instead of casting of buffer.
12352         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12353         buffer32.
12354         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12355         casting of buffer.
12357 2011-07-19  Andreas Schwab  <schwab@redhat.com>
12359         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12361 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
12363         * nscd/nscd.c (termination_handler): Don't do anything for a database
12364         if it has not yet been initialized.
12366 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
12368         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12370 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
12372         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12374 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
12376         * po/nl.po: Update from translation team.
12377         * po/sv.po: Likewise.
12379 2011-07-16  Roland McGrath  <roland@hack.frob.com>
12381         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12382         now disallowed by GCC.
12384         * configure.in (use-default-link): Default to yes if a test -shared
12385         link meets our qualifications.
12386         * configure: Regenerated.
12388         * config.make.in (output-format): New variable.
12389         * configure.in: Check for ld --print-output-format support.
12390         * configure: Regenerated.
12391         * Makerules ($(common-objpfx)format.lds)
12392         [$(output-format) != unknown]: Just use $(output-format),
12393         instead of the linker-script munging.
12395 2011-07-14  Roland McGrath  <roland@hack.frob.com>
12397         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12398         of $(common-objpfx)shlib.lds.
12399         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12401         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12402         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12404         * configure.in (-z relro check): Adjust test code to add a large
12405         writable data section after it.
12406         * configure: Regenerated.
12408 2011-07-11  Roland McGrath  <roland@hack.frob.com>
12410         * configure.in (-z relro check): Fix test code to make the variable
12411         truly const.
12412         * configure: Regenerated.
12414 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
12416         * nscd/nscd.h (struct traced_file): Define.
12417         (struct database_dyn): Remove inotify_descr, reset_res, and filename
12418         elements.  Add traced_files.
12419         (inotify_fd): Declare.
12420         (register_traced_file): Declare.
12421         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12422         (inotify_fd): Export.
12423         (resolv_conf_descr): Remove.
12424         (nscd_init): Move inotify descriptor creation to main.
12425         Don't register files for notification here.
12426         (register_traced_file): New function.
12427         (invalidate_cache): Don't use reset_res to determine whether to call
12428         res_init, go through the list of registered files.
12429         (main_loop_poll): The inotify descriptors are now stored in the
12430         structures for the traced files.
12431         (main_loop_epoll): Likewise
12432         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
12433         to __nss_disable_nscd.
12434         * nscd/cache.c (prune_cache): There is no single inotify descriptor
12435         for a database anymore.  Check the records for all the registered
12436         files instead.
12437         * nss/Makefile (libnss_files-routines): Add files-init.
12438         (libnss_db-routines): Add db-init.
12439         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12440         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12441         * nss/nss_db/db-init.c: New file.
12442         * nss/nss_files/files-init.c: New file.
12443         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
12444         __nss_lookup_function.
12445         (__nss_lookup_function): Call nss_load_library.
12446         (nss_load_all_libraries): New function.
12447         (__nss_disable_nscd): Take parameter with callback function for files
12448         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
12449         used for the cached services.
12450         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12451         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12452         options for features to all the files in nscd.
12454         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12456 2011-07-10  Roland McGrath  <roland@hack.frob.com>
12458         * csu/elf-init.c (__libc_csu_init): Comment typo.
12460 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
12462         * po/pl.po: Update from translation team.
12463         * po/ja.po: Likewise.
12464         * po/ru.po: Likewise.
12465         * po/ko.po: Likewise.
12466         * po/fr.po: Likewise.
12468 2011-07-09  Roland McGrath  <roland@hack.frob.com>
12470         * configure.in (.ctors/.dtors header and trailer check):
12471         Use an empirical test on a built program.
12472         * configure: Regenerated.
12474         * configure.in (-z relro check): Use an empirical test on a built DSO.
12475         Detect, but do not require, on ia64.
12476         * configure: Regenerated.
12478         * configure.in (READELF): Find it with AC_CHECK_TOOL.
12479         Update tests that use readelf to use $READELF instead.
12480         * configure: Regenerated.
12482 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
12484         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12485         if the result is not used.
12487 2011-07-05  Andreas Jaeger  <aj@suse.de>
12489         [BZ#9696]
12490         * stdlib/tst-strtod.c: Add testcase.
12492 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
12494         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12495         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12496         The latter has a higher limit.  Take additional parameter to pass to
12497         the new function.
12498         (__pathconf): Pass file to __statfs_link_max.
12499         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12500         __statfs_link_max.
12501         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12502         __statfs_link_max.
12504         [BZ #12868]
12505         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12506         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12507         Handle Lustre.
12508         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12509         (__statfs_filesize_max): Likewise.
12510         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12512 2011-07-05  Andreas Jaeger  <aj@suse.de>
12514         * resolv/res_comp.c (dn_skipname): Remove unused variable.
12516 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
12518         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12519         `status' variable.
12520         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12521         Likewise.
12523 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
12525         * Makefile (strop-tests): Add strncat.
12526         * string/test-strncat.c: New file.
12528 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
12530         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12532 2011-06-21  Andreas Jaeger  <aj@suse.de>
12534         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12535         Copy rule from iconvdata/Makefile.
12537 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
12539         [BZ #12922]
12540         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12541         but no long options are defined, just return 'W'.
12543 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
12545         [BZ #9696]
12546         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12548 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
12550         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12551         netgroups to read.
12552         (innetgr): Likewise.
12554 2011-07-05  Roland McGrath  <roland@hack.frob.com>
12556         * config.make.in (install_root): Default to $(DESTDIR).
12558 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
12560         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12562 2011-07-02  Roland McGrath  <roland@hack.frob.com>
12564         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12566         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12567         containing directory rather than embedding absolute directory names.
12569         * scripts/check-local-headers.sh: Rewritten using awk.
12570         Match by word, not by line.  Print error messages for matches.
12571         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12573         * Makerules [shlib-lds-flags empty]:
12574         ($(common-objpfx)libc_pic.opts): New target.
12575         ($(common-objpfx)libc_pic.os.clean): New target.
12576         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12578         * config.make.in (OBJCOPY): New variable.
12579         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12580         * configure: Regenerated.
12582         * config.make.in (use-default-link): New variable.
12583         * configure.in (use_default_link): Grok --with-default-link to set it.
12584         * configure: Regenerated.
12585         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12586         (shlib-lds, shlib-lds-flags): Define to empty.
12588         * Makerules (shlib-lds): New variable.
12589         (shlib-lds-flags): New variable.
12590         (build-shlib, build-moduile, build-module-asneeded): Use it.
12591         ($(common-objpfx)libc.so): Use $(shlib-lds).
12592         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12593         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12595         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12596         DT_FLAGS/DT_FLAGS_1 with zero flags.
12598         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12599         linker script munging.
12601 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
12603         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12604         as 128-bit value.
12605         * crypt/sha512.c (sha512_process_block): Perform total addition using
12606         128-bit if possible.
12607         (__sha512_finish_ctx): Likewise.
12608         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12609         as 64-bit value.
12610         * crypt/sha256.c (SWAP64): Define.
12611         (sha256_process_block): Perform total addition using 64-bit if
12612         possible.
12613         (__sha256_finish_ctx): Likewise.
12615 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
12617         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
12618         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12619         * nscd/hstcache.c (cache_addhst): Likewise.
12620         * nscd/grpcache.c (cache_addgr): Likewise.
12621         * nscd/aicache.c (addhstaiX): Likewise
12622         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12624 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
12626         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12627         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12628         * nscd/hstcache.c (cache_addhst): Likewise.
12629         * nscd/grpcache.c (cache_addgr): Likewise.
12630         * nscd/aicache.c (addhstaiX): Likewise
12632 2011-07-01  Andreas Schwab  <schwab@redhat.com>
12634         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12635         domain only when needed.
12637 2011-06-30  Andreas Schwab  <schwab@redhat.com>
12639         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12640         is always restored.
12642 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
12644         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12645         are re-adding the entry.
12646         * nscd/servicescache.c (cache_addserv): Likewise.
12648 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12650         * sysdeps/generic/dl-irel.h: fix protection against multiple
12651         inclusions.
12652         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12654 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
12656         [BZ #12935]
12657         * malloc/memusage.sh: Fix quoting in message.
12658         * debug/xtrace.sh: Likewise.
12660         * configure.in: Remove support for --experimental-malloc option, make
12661         it the default.
12662         * config.make.in: Likewise.
12663         * malloc/Makefile: Likewise.
12665 2011-06-27  Andreas Schwab  <schwab@redhat.com>
12667         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12668         two-byte characters.
12670 2011-06-27  Roland McGrath  <roland@hack.frob.com>
12672         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12673         AC_CACHE_CHECK invocation.
12674         * configure: Regenerated.
12676         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12678 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
12680         [BZ #12350]
12681         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
12682         bit from old_res_options.
12684         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12686         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12687         value type for setfct.
12689 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
12691         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12692         __gettimeofday instead of gettimeofday.
12694 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
12696         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12698 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12700         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12702         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12703         info.
12705 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
12707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12708         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12709         strcpy-sse2-unaligned strncpy-sse2-unaligned
12710         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12711         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12712         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12713         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12714         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12715         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12716         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12717         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12718         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12719         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12720         (STRCPY): Support SSE2 and SSSE3 versions.
12722 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
12724         [BZ #12874]
12725         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12726         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12727         kernels which artificially limit size of requests.
12729 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
12731         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12732         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12733         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12734         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12735         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12736         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12737         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12738         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12739         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12740         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12741         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12742         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12743         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12744         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12745         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12747         Enable unaligned load optimization for Intel Core i3, i5 and i7
12748         processors.
12749         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12750         Define.
12751         (index_Fast_Unaligned_Load): Define.
12752         (HAS_FAST_UNALIGNED_LOAD): Define.
12754 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
12756         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12758 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
12760         [BZ #12907]
12761         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12762         until it is clear that the information is realy needed.
12763         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12765 2011-06-22  Andreas Schwab  <schwab@redhat.com>
12767         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12769 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
12771         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12772         /sys/devices/system/cpu/online if it is usable.
12774         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12775         reading the information from the /proc filesystem to once a second.
12777 2011-06-21  Andreas Jaeger  <aj@suse.de>
12779         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12780         NULL after inclusion of kernel headers.
12782 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
12784         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12785         calls to internal_setent.
12787         [BZ #12885]
12788         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12789         addresses using gethostbyname4_r ignore IPv4 addresses.
12791         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12792         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
12794         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12796 2011-06-20  David S. Miller  <davem@davemloft.net>
12798         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12799         inclusions.
12800         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12802         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12803         (elf_irel): Use it.
12804         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12805         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12806         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12807         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12808         * sysdeps/x86_64/dl-irel.h: Likewise.
12810         * elf/dl-runtime.c: Use elf_ifunc_invoke.
12811         * elf/dl-sym.c: Likewise.
12813 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
12815         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
12816         need to dereference resplen2.
12818 2011-06-14  Andreas Schwab  <schwab@redhat.com>
12820         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12822 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
12824         * Makeconfig: Define vardbdir and inst_vardbdir.
12825         * nss/Makefile: Add rules to install db-Makefile.
12827         * nss/nss_db/db-XXX.c: Cleanup.
12829         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12830         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12831         GLIBC_PRIVATE.
12832         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12833         * nss/makedb.c: Implement -g option to specify that value strings
12834         are generated and should not be added to table iterated over for
12835         get*ent calls.
12836         * nss/nss_db/db-initgroups.c: New file.
12838         * nss/getent.c: Add support for initgroups lookups through getgrouplist
12839         interface.
12841         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12842         (internal_getgrouplist): Adjust to name change.
12843         Update use_initgroups_entry if this is not the first call.
12844         * nss/databases.def: Add initgroups entry.
12846         * nss/makedb.c (compute_tables): Check result of multiple hash table
12847         sizes to minimize maximum chain length.
12849 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
12851         * Versions.def: Add entry for libnss_db.
12852         * shlib-versions: Likewise.
12853         * nss/Makefile: Add rules to build libnss_db.
12854         * nss/Versions: Add libnss_db information.  Organize libnss_files
12855         entries better.
12856         * nss/db-Makefile: Add gshadow support.  Change rules for the new
12857         makedb progra.  Some minor improvements to generate smaller files.
12858         * nss/nss_db/nss_db.h: Move NSS database header data structures to
12859         here from...
12860         * nss/makedb.c: ...here.
12861         Improve database format to be smaller and require less memory at
12862         runtime.
12863         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
12864         db anymore.
12865         * nss/nss_db/db-netgrp.c: Likewise.
12866         * nss/nss_db/db-open.c: Likewise.
12867         * nss/nss_files/flies-XXX.x: Adjust comments.
12868         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12869         * nss/nss_files/files-grp.c: Likewise.
12870         * nss/nss_files/files-hosts.c: Likewise.
12871         * nss/nss_files/files-network.c: Likewise.
12872         * nss/nss_files/files-proto.c: Likewise.
12873         * nss/nss_files/files-pwd.c: Likewise.
12874         * nss/nss_files/files-rpc.c: Likewise.
12875         * nss/nss_files/files-service.c: Likewise.
12876         * nss/nss_files/files-sgrp.c: Likewise.
12877         * nss/nss_files/files-spwd.c: Likewise.
12878         * nss/nss_db/db-alias.c: Removed.
12879         * nss/nss_db/dummy-db.h: Removed.
12881 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
12883         * nss/makedb.c: Rewritten to not use database library.
12884         * nss/Makefile: Update to build new makedb program.
12886 2011-06-14  Andreas Jaeger  <aj@suse.de>
12888         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12889         memset declaration.
12891 2011-06-10  Andreas Schwab  <schwab@redhat.com>
12893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12894         tmpbuf.
12896 2011-06-10  Roland McGrath  <roland@hack.frob.com>
12898         * Makerules (shlib.lds): Fail if the linker script comes out empty.
12899         * elf/Makefile ($(objpfx)ld.so): Likewise.
12901         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12902         Don't list ld.so twice in dependencies.
12904         * posix/bug-regex31.c: Include <stdlib.h>.
12906         * nscd/hstcache.c (cache_addhst): Remove unused variable.
12908         * nis/nss_compat/compat-spwd.c
12909         (getspent_next_nss_netgr): Remove unused variable.
12910         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12912         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12913         nonmembers" output to use the right array.
12915         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12917         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12919         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12920         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12921         * catgets/gencat.c (read_input_file): Likewise.
12922         * locale/programs/locarchive.c (enlarge_archive): Likewise.
12924         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12925         variable definition inside #if's controlling its use.
12927         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12929         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12931         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12933         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12934         unreachable code.
12936         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12938         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12939         * configure: Regenerated.
12941         * Makerules: Revert last change.
12942         * elf/Makefile: Likewise.
12944 2011-06-09  Roland McGrath  <roland@hack.frob.com>
12946         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12947         * elf/Makefile ($(objpfx)librtld.os): Likewise.
12948         (reloc-link): Likewise.
12950 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
12952         * elf/Makefile: Add rules to build pldd.
12953         * elf/pldd.c: New file.
12954         * elf/pldd-xx.c: New file.
12956 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
12958         * version.h: Update for 2.15 development version.
12960 2011-06-07  David S. Miller  <davem@davemloft.net>
12962         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12963         ifuncs.
12964         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12965         elf_machine_lazy_rel): Likewise.
12966         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12967         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12968         elf_machine_lazy_rel): Likewise.
12969         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12970         dl_hwcap via passed in argument.
12971         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12972         Likewise.
12974 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12976         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
12978 2011-06-06  Roland McGrath  <roland@hack.frob.com>
12980         [BZ #12849]
12981         * manual/fdl-1.1.texi: New file, verbatim from:
12982         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12983         * manual/lgpl-2.1.texi: New file, verbatim from:
12984         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12985         * manual/Makefile (licenses): New variable, list those new file names.
12986         (texis): Use it.
12987         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12989         * manual/fdl.texi: File removed.
12990         * manual/lesser.texi: File removed.
12991         * manual/libc.texinfo (Copying, Documentation License):
12992         Use new @include file names, put @appendix directive before @include.
12994 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
12996         [BZ #12841]
12997         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12998         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12999         (mq_open): Add __NTH.
13001 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
13003         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13004         Assume Intel Core i3/i5/i7 processor if AVX is available.
13006 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
13008         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13009         typo.
13011 2011-05-31  Andreas Schwab  <schwab@redhat.com>
13013         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13014         memory.  Use alloca_account.  Fix memory leak when retrying.
13016 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
13018         * version.h (RELEASE): Bump for 2.14 release.
13019         * include/features.h (__GLIBC_MINOR__): Bump to 14.
13021         * config.make.in (RANLIB): Remove entry.
13023 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
13025         * po/Makefile (po-sed-cmd): Add ksh to extensions.
13026         (libc.pot): Work around missing support for .ksh extension in xgettext.
13028         [BZ #12684]
13029         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13030         if both request failed.
13031         (send_dg): In case of server errors clear resplen or *resplen2.
13033         [BZ #12454]
13034         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13035         when there are multiple maps.
13036         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13037         (_dl_fini): Remove test here.
13039         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13041 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
13043         [BZ #12350]
13044         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13045         bit from old_res_options.
13046         (gaih_inet): Likewise.
13048         [BZ #11099]
13049         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13050         as signed.
13052         * resolv/res_init.c (res_setoptions): Make the code more compact.
13054         [BZ #11558]
13055         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13056         set RES_USEVC.
13058         [BZ #11634]
13059         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13061         * malloc/malloc.h: Mark malloc hook variables as deprecated.
13063         [BZ #11781]
13064         * malloc/malloc.h: Declare malloc hook variables as volatile.
13066         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13067         in last patch.
13069         [BZ #11799]
13070         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13071         raise in the comment.
13072         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13073         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13074         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13076 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
13078         [BZ #12811]
13079         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13080         grow the buffers more if it already has to be sufficient.
13081         (build_wcs_upper_buffer): Likewise.
13082         * posix/regexec.c (check_matching): Likewise.
13083         (clean_state_log_if_needed): Likewise.
13084         (extend_buffers): Don't enlarge buffers beyond size of the input
13085         buffer.
13086         Patches mostly by Emil Wojak <emil@wojak.eu>.
13087         * posix/bug-regex32.c: New file.
13088         * posix/Makefile (tests): Add bug-regex32.
13090         * locale/findlocale.c (_nl_find_locale): Return right away if
13091         _nl_explode_name failed.
13092         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13094         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13096         * debug/xtrace.sh: Unify messages.
13097         * malloc/memusage.sh: Likewise.
13099         [BZ #12813]
13100         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13101         time symbol from vDSO.  Substitute with vsyscall if not available.
13102         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13103         __vdso_time.
13105         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13106         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13107         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13108         Add sendmmsg and internal_sendmmsg.
13109         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13110         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13111         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13113         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13114         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13115         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13117 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
13119         [BZ #12813]
13120         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13121         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
13122         available.
13123         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13124         __vdso_getcpu.
13126         [BZ #12814]
13127         * iconvdata/Makefile (tests): Add bug-iconv9.
13128         * iconvdata/bug-iconv9.c: New file.
13130 2011-05-27  Andreas Schwab  <schwab@redhat.com>
13132         [BZ #12814]
13133         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13135 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
13137         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13138         (struct user_regs_struct): Change intcs field back to cs.
13140 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
13142         * po/ja.po: Update from translation team.
13144 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
13146         [BZ #12795]
13147         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13148         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13150 2011-05-20  Andreas Schwab  <schwab@redhat.com>
13152         * stdlib/longlong.h: Update from GCC.
13154 2011-05-23  Andreas Schwab  <schwab@redhat.com>
13156         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13157         parameter name.
13158         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13159         Add parameter name.
13160         (__sysconf): Pass it down.
13162 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
13164         [BZ #12671]
13165         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13166         some situations.
13167         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13168         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13169         add in in __libc_use_alloca calls.  Adjust callers.
13170         (glob): Use malloc in some situations.
13172         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13173         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13174         pltexit.
13176 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
13178         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13179         and CLOCK_BOOTTIME_ALARM.
13181         [BZ #12782]
13182         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13183         is returned.
13185         * string/_strerror.c (__strerror_r): Print negative errors as signed
13186         numbers.
13188         [BZ #12777]
13189         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13190         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13191         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13193         * configure.in: Fix typo in redirection and correct removal of test
13194         files in two cases.
13196         [BZ #12788]
13197         * locale/setlocale.c (new_composite_name): Fix test to check for
13198         identical name of all categories.
13200         [BZ #12792]
13201         * libio/filedoalloc.c (local_isatty): New function.
13202         (_IO_file_doallocate): Use local_isatty.
13203         * stdio-common/perror.c (perror): In case a new stream is used
13204         forward the stream error.
13205         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13206         error flag.
13208 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
13210         [BZ #11869]
13211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13212         alloca.
13213         * include/alloca.h (extend_alloca_account): Define.
13215         [BZ #11857]
13216         * posix/regex.h: Fix comments with documentation of user-accessible
13217         fields after compilation and describe correct free'ing of pattern
13218         after re_compile_pattern.
13219         Patch by Reuben Thomas <rrt@sc3d.org>.
13221 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
13223         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13224         and -mno-altivec to prevent the compiler from using Altivec and/or
13225         VSX instructions when the corresponding registers are not available.
13227 2011-05-19  Andreas Schwab  <schwab@redhat.com>
13229         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13231 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
13233         * libio/freopen.c (freopen): Use __dup2, not dup2.
13234         * libio/freopen64.c (freopen64): Likewise.
13236 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13238         [BZ #12775]
13239         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13240         * math/Makefile (tests): Add test-powl.
13241         (CFLAGS-test-powl.c): Define.
13242         * math/test-powl.c: New file.
13244 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13246         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13248 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
13250         [BZ #11837]
13251         * iconvdata/gb18030.c: Update to GB18020-2005.
13253 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
13255         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13256         RE_SYNTAX_POSIX_AWK): Update to match recent development.
13257         Patch by Aharon Robbins <arnold@skeeve.com>.
13259         [BZ #11892]
13260         * stdlib/putenv.c (putenv): Don't always create copy of the variable
13261         on the stack.
13263         [BZ #11895]
13264         * misc/pselect.c (__pselect): Handle timeout value errors hidden
13265         through underflows.
13267         [BZ #12766]
13268         * misc/error.c (error_at_line): Ensure file_name and old_file_name
13269         point to strings before performing equality test for error_one_per_line
13270         mode.
13272         [BZ #11697]
13273         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13275         [BZ #11820]
13276         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13277         (struct user_fpregs_struct): Avoid __uint*_t types.
13279         [BZ #6420]
13280         * malloc/mtrace.c (tr_where): Add additional parameter to point to
13281         symbol info.  Use it instead of calling _dl_addr locally.
13282         (lock_and_info): New function.
13283         (tr_freehook): Call lock_and_info and pass symbol info as additional
13284         parameter to tr_where.
13285         (tr_mallochook): Likewise.
13286         (tr_reallochook): Likewise.
13287         (tr_memalignhook): Likewise.
13289         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
13290         used and couldn't be at all thread-safe.
13292 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
13294         * libio/freopen.c (freopen): Don't close old file descriptor
13295         before the new one is opened.  Instead dup the new file descriptor
13296         to the old one after the new stream is created.
13297         * libio/freopen64.c (freopen64): Likewise.
13298         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13299         * libio/fileops.c (_IO_new_file_close_it): Handle new
13300         _IO_FLAGS2_NOCLOSE flag.
13301         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13302         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13303         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13304         _IO_FLAGS2_NOCLOSE flag.
13305         * include/unistd.h: Add hidden_proto for dup3.
13306         Define __have_dup3.
13307         * io/dup3.c: Define hidden symbol.
13308         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13310         [BZ #7101]
13311         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13312         when an incomplete long option is used.
13313         * posix/tst-getopt_long1.c: New file.
13314         * posix/Makefile (tests): Add tst-getopt_long1.
13316         [BZ #10138]
13317         * scripts/config.guess: Update from autoconf-2.68.
13318         * scripts/config.sub: Likewise.
13320         [BZ #10157]
13321         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13322         tests into ...
13323         (has_cpuclock): ...this.  New function.
13324         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13325         macro here based on has_cpuclock code.
13327         [BZ #10149]
13328         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13329         First byte (not low byte) is now always NUL.
13330         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13332         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13333         Use non-cancelable interfaces.
13335         [BZ #9809]
13336         * locale/iso-639.def: Add entry for Sorani.
13338         [BZ #11901]
13339         * include/stdlib.h: Move include protection to the right place.
13340         Define abort_msg_s.  Declare __abort_msg with it.
13341         * stdlib/abort.c (__abort_msg): Adjust type.
13342         * assert/assert.c (__assert_fail_base): New function.  Majority
13343         of code from __assert_fail.  Allocate memory for __abort_msg with
13344         mmap.
13345         (__assert_fail): Now call __assert_fail_base.
13346         * assert/assert-perr.c: Remove bulk of implementation.  Use
13347         __assert_fail_base.
13348         * include/assert.hL Declare __assert_fail_base.
13349         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13350         mmap.
13351         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13353 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
13355         [BZ #11952]
13356         [BZ #12453]
13357         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13358         until all modules are registered in the DTV.
13359         * elf/Makefile: Add rules to build and run tst-tls19.
13360         * elf/tst-tls19.c: New file.
13361         * elf/tst-tls19mod1.c: New file.
13362         * elf/tst-tls19mod2.c: New file.
13363         * elf/tst-tls19mod3.c: New file.
13364         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13366         [BZ #12083]
13367         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13368         correctly.
13370         [BZ #12601]
13371         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13372         two-byte sequence errors.
13373         * iconvdata/Makefile (tests): Add bug-iconv8.
13374         * iconvdata/bug-iconv8.c: New file.
13376         [BZ #12626]
13377         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13378         buf2 definition.
13380         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13382         [BZ #12432]
13383         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13384         (dummy_getcfa): New function.
13385         (init): Get _Unwind_GetCFA address, use dummy if not found.
13386         (backtrace_helper): In recursion check, also check whether CFA changes.
13387         (__backtrace): Completely initialize arg.
13389         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13390         storing incomplete byte sequence in state object.  Avoid testing for
13391         guaranteed too small input if we know there is enough data available.
13393 2011-05-11  Andreas Schwab  <schwab@redhat.com>
13395         * Makeconfig (+link-pie): Indent.
13396         * Rules (binaries-pie): Define if $(have-fpie) and
13397         $(build-shared).
13398         (binaries-shared): Also filter out $(binaries-pie).
13399         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13400         * nscd/Makefile (others-pie): Add nscd.
13401         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13402         ($(objpfx)nscd): Remove command override.
13403         * login/Makefile (others-pie): Add pt_chown.
13404         ($(objpfx)pt_chown): Remove command override.
13405         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13406         remove command overrides.
13408 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
13410         * libio/tst_putwc.c: Fix error messages.
13412         [BZ #12724]
13413         * libio/fileops.c (_IO_new_file_close_it): Always flush when
13414         currently writing and seek to current position when not.
13415         * libio/Makefile (tests): Add bug-fclose1.
13416         * libio/bug-fclose1.c: New file.
13418 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
13420         [BZ #12511]
13421         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13422         don't set DF_1_NODELETE here.
13423         (do_lookup_x): When entering new entry test for copy relocation
13424         and if necessary set DF_1_NODELETE flag.
13425         * elf/tst-unique4.cc: New file.
13426         * elf/tst-unique4.h: New file.
13427         * elf/tst-unique4lib.cc: New file.
13428         * elf/Makefile: Add rules to build and run tst-unique4.
13429         Patch by Piotr Bury <pbury@goahead.com>.
13431 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
13433         [BZ #12052]
13434         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13436         [BZ #12625]
13437         * misc/mntent_r.c (addmntent): Flush the stream after the output
13439         [BZ #12393]
13440         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13441         (is_trusted_path_normalize): Skip initial colon.  Append slash
13442         to empty buffer.  Duplicate is_trusted_path code but allow
13443         constructed patch to be prefix.
13444         (is_dst): Allow $ORIGIN followed by /.
13445         (_dl_dst_substitute): Correct clearing of check_for_trusted.
13446         Correct testing of result of is_trusted_path_normalize
13447         (decompose_rpath): Fix warning.
13449 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
13451         [BZ #11257]
13452         * grp/initgroups.c (internal_getgrouplist): When we found the service
13453         list through the initgroups entry in nsswitch.conf do not always
13454         continue on a successful lookup.  Don't always use the
13455         __nss_group_database value if it is set.
13456         * nss/nsswitch.conf (initgroups): Change action for successful db
13457         lookup to continue for compatibility.
13459 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
13461         [BZ #11532]
13462         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13463         and CP774 modules.
13464         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13465         and CP774 modules.
13466         * iconvdata/tst-tables.sh: Likewise.
13467         * iconvdata/cp770.c: New file.
13468         * iconvdata/cp771.c: New file.
13469         * iconvdata/cp772.c: New file.
13470         * iconvdata/cp773.c: New file.
13471         * iconvdata/cp774.c: New file.
13472         * iconvdata/testdata/CP770: New file.
13473         * iconvdata/testdata/CP770..UTF8: New file.
13474         * iconvdata/testdata/CP771: New file.
13475         * iconvdata/testdata/CP771..UTF8: New file.
13476         * iconvdata/testdata/CP772: New file.
13477         * iconvdata/testdata/CP772..UTF8: New file.
13478         * iconvdata/testdata/CP773: New file.
13479         * iconvdata/testdata/CP773..UTF8: New file.
13480         * iconvdata/testdata/CP774: New file.
13481         * iconvdata/testdata/CP774..UTF8: New file.
13483         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13484         END CHARMAP line.
13485         * iconvdata/gen-8bit-gap.sh: Likewise.
13486         * iconvdata/gen-8bit.sh: Likewise.
13488         * locale/iso-639.def: Add ary entry.
13490         [BZ #11258]
13491         * locale/C-translit.h.in: Add U20A1 transliteration.
13493         [BZ #12178]
13494         * locale/iso-639.def: Add wae entry.
13495         Patch by Kevin Bortis <bortis@translate-wae.ch>.
13497         [BZ #12545]
13498         * locale/programs/localedef.c (construct_output_path): Use ssize_t
13499         for n.
13501         [BZ #12711]
13502         * locale/C-translit.h.in: Add entry for U20B9.
13503         Patch by pravin.d.s@gmail.com.
13505 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
13507         [BZ #12713]
13508         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13509         ENAMETOOLONG use generic getcwd.
13510         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
13511         in rtld.  Use *stat64.
13512         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13513         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13514         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13515         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13516         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13517         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13518         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13519         __fstatat64 macros.
13520         * include/dirent.h: Add libc_hidden_proto for rewinddir.
13521         * dirent/rewinddir.c: Add libc_hidden_def.
13522         * sysdeps/mach/hurd/rewinddir.c: Likewise.
13523         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
13525         * include/dirent.h (__alloc_dir): Add flags parameter.
13526         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13527         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13528         __alloc_dir.
13529         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
13530         from fdopendir if O_CLOEXEC is already set.
13532 2011-03-15  Alan Modra  <amodra@gmail.com>
13534         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13535         l_tls_firstbyte_offset non-zero.  Save padding offset in
13536         l_tls_firstbyte_offset for later use.
13537         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13538         freeing static tls block.
13540 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
13542         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13543         where #ifdef was intended.  The intent is to prevent ARG_MAX from
13544         being defined by the kernel headers.
13546 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
13548         [BZ #12734]
13549         * resolv/resolv.h: Define RES_NOTLDQUERY.
13550         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13551         no-tld-query and set RES_NOTLDQUERY.
13552         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13553         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13554         modern BIND to search name as TLD unless forbidden.
13556 2011-05-07  Petr Baudis  <pasky@suse.cz>
13557             Ulrich Drepper  <drepper@gmail.com>
13559         [BZ #12393]
13560         * elf/dl-load.c (fillin_rpath): Move trusted path check...
13561         (is_trusted_path): ...to here.
13562         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13563         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13564         using is_trusted_path_normalize() in setuid scripts.
13566 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13568         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13569         __BEGIN/__END_DECLS.
13571 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
13573         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13574         NSS_STATUS_NOTFOUND if no record was found.
13576 2011-05-05  Andreas Schwab  <schwab@redhat.com>
13578         * sunrpc/Makefile (headers): Add rpc/netdb.h.
13579         (headers-not-in-tirpc): Remove rpc/netdb.h
13580         * resolv/netdb.h: Revert last change.
13582 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13584         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13585         circular dependency between libgcc.a and libc.a.
13587 2011-05-05  Andreas Schwab  <schwab@redhat.com>
13589         * resolv/netdb.h: Don't include <rpc/netdb.h>.
13590         * nis/Makefile: Don't install rpcsvc/*.
13591         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13592         instead of <rpc/types.h>.
13593         (MAXHOSTNAMELEN): Define.
13595 2011-05-03  Andreas Schwab  <schwab@redhat.com>
13597         * elf/ldconfig.c (add_dir): Don't crash on empty path.
13599 2011-04-28  Maciej Babinski  <mbabinski@google.com>
13601         [BZ #12714]
13602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13603         gethostbyname4_r when IPv6 results are possible.
13605 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
13607         [BZ #12723]
13608         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13609         _PC_PIPE_BUF handling.
13611 2011-04-30  Bruno Haible  <bruno@clisp.org>
13613         [BZ #12717]
13614         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13615         * resolv/netdb.h (getnameinfo): Change type of flags parameter
13616         to 'int'.
13617         * inet/getnameinfo.c (getnameinfo): Likewise.
13619 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
13621         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13622         to groups setting in database lookup.
13623         * nss/nsswitch.conf: Add initgroups entry.
13625 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
13627         [BZ #12685]
13628         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13629         mode string.
13630         Patch by Eric Blake <eblake@redhat.com>.
13632 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
13634         * sunrpc/Makefile (need-export-routines): Add svc_run.
13635         (routines): Remove svc_run.
13636         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13637         * sunrpc/clnt_perr.c (clnt_perrno): Export.
13638         * sunrpc/svc_run.c (svc_run): Likewise.
13639         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13641 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
13643         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13644         problem in reallocation in last patch.
13646 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
13648         * sunrpc/Makefile: Move inclusion of Rules.
13650 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
13652         * nss/nss_files/files-initgroups.c: New file.
13653         * nss/Makefile (libnss_files-routines): Add files-initgroups.
13654         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13655         _nss_files_initgroups_dyn.
13657 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
13659         * elf/elf.h (R_ARM_IRELATIVE): Define.
13661 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
13663         * po/ru.po: Update from translation team.
13665 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
13667         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13668         dependencies.
13670 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
13672         [BZ #12653]
13673         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13674         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13675         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13676         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13677         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13679 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
13681         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13682         differing bytes.
13683         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13684         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13685         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13687 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
13689         [BZ #12420]
13690         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13691         storing it.
13692         * stdlib/bug-getcontext.c: New file.
13693         * stdlib/Makefile: Add rules to build and run bug-getcontext.
13695 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13697         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13698         instructions into .machine "z9-109".
13699         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13700         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13702 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13704         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13705         between environment variables and auxiliary vector.
13707 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
13709         * Makefile: Add rules to build linkobj/libc.so.
13710         * include/libc-symbols.h: Define libc_hidden_nolink.
13711         * include/rpc/auth.h: Mark functions which are to be hidden.
13712         * include/rpc/auth_des.h: Likewise.
13713         * include/rpc/auth_unix.h: Likewise.
13714         * include/rpc/clnt.h: Likewise.
13715         * include/rpc/des_crypt.h: Likewise.
13716         * include/rpc/key_prot.h: Likewise.
13717         * include/rpc/pmap_clnt.h: Likewise.
13718         * include/rpc/pmap_prot.h: Likewise.
13719         * include/rpc/pmap_rmt.h: Likewise.
13720         * include/rpc/rpc_msg.h: Likewise.
13721         * include/rpc/svc.h: Likewise.
13722         * include/rpc/svc_auth.h: Likewise.
13723         * include/rpc/xdr.h: Likewise.
13724         * nis/Makefile: Link all DSOs against linkobj/libc.so.
13725         * nss/Makefile: Likewise.
13726         * sunrpc/Makefile: Don't install headers.  Build library with normal
13727         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
13728         * sunrpc/auth_des.c: Hide exported symbols by default, export some
13729         for the compat linking library.  Remove use of INTDEF/INTUSE.
13730         * sunrpc/auth_none.c: Likewise.
13731         * sunrpc/auth_unix.c: Likewise.
13732         * sunrpc/authdes_prot.c: Likewise.
13733         * sunrpc/authuxprot.c: Likewise.
13734         * sunrpc/clnt_gen.c: Likewise.
13735         * sunrpc/clnt_perr.c: Likewise.
13736         * sunrpc/clnt_raw.c: Likewise.
13737         * sunrpc/clnt_simp.c: Likewise.
13738         * sunrpc/clnt_tcp.c: Likewise.
13739         * sunrpc/clnt_udp.c: Likewise.
13740         * sunrpc/clnt_unix.c: Likewise.
13741         * sunrpc/des_crypt.c: Likewise.
13742         * sunrpc/des_soft.c: Likewise.
13743         * sunrpc/get_myaddr.c: Likewise.
13744         * sunrpc/key_call.c: Likewise.
13745         * sunrpc/key_prot.c: Likewise.
13746         * sunrpc/netname.c: Likewise.
13747         * sunrpc/pm_getmaps.c: Likewise.
13748         * sunrpc/pm_getport.c: Likewise.
13749         * sunrpc/pmap_clnt.c: Likewise.
13750         * sunrpc/pmap_prot.c: Likewise.
13751         * sunrpc/pmap_prot2.c: Likewise.
13752         * sunrpc/pmap_rmt.c: Likewise.
13753         * sunrpc/publickey.c: Likewise.
13754         * sunrpc/rpc_cmsg.c: Likewise.
13755         * sunrpc/rpc_common.c: Likewise.
13756         * sunrpc/rpc_dtable.c: Likewise.
13757         * sunrpc/rpc_prot.c: Likewise.
13758         * sunrpc/rpc_thread.c: Likewise.
13759         * sunrpc/rtime.c: Likewise.
13760         * sunrpc/svc.c: Likewise.
13761         * sunrpc/svc_auth.c: Likewise.
13762         * sunrpc/svc_authux.c: Likewise.
13763         * sunrpc/svc_raw.c: Likewise.
13764         * sunrpc/svc_run.c: Likewise.
13765         * sunrpc/svc_simple.c: Likewise.
13766         * sunrpc/svc_tcp.c: Likewise.
13767         * sunrpc/svc_udp.c: Likewise.
13768         * sunrpc/svc_unix.c: Likewise.
13769         * sunrpc/svcauth_des.c: Likewise.
13770         * sunrpc/xcrypt.c: Likewise.
13771         * sunrpc/xdr.c: Likewise.
13772         * sunrpc/xdr_array.c: Likewise.
13773         * sunrpc/xdr_float.c: Likewise.
13774         * sunrpc/xdr_intXX_t.c: Likewise.
13775         * sunrpc/xdr_mem.c: Likewise.
13776         * sunrpc/xdr_rec.c: Likewise.
13777         * sunrpc/xdr_ref.c: Likewise.
13778         * sunrpc/xdr_sizeof.c: Likewise.
13779         * sunrpc/xdr_stdio.c: Likewise.
13781 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
13783         [BZ #12650]
13784         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13785         * sysdeps/ia64/dl-tls.h: Likewise.
13786         * sysdeps/powerpc/dl-tls.h: Likewise.
13787         * sysdeps/s390/dl-tls.h: Likewise.
13788         * sysdeps/sh/dl-tls.h: Likewise.
13789         * sysdeps/sparc/dl-tls.h: Likewise.
13790         * sysdeps/x86_64/dl-tls.h: Likewise.
13791         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13793 2011-03-14  Andreas Schwab  <schwab@redhat.com>
13795         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13796         rpath element also skip the following colon.
13797         (expand_dynamic_string_token): Add is_path parameter and pass
13798         down to DL_DST_REQUIRED and _dl_dst_substitute.
13799         (decompose_rpath): Call expand_dynamic_string_token with
13800         non-zero is_path.  Ignore empty rpaths.
13801         (_dl_map_object_from_fd): Call expand_dynamic_string_token
13802         with zero is_path.
13804 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
13806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13807         Make cancelable.
13809 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
13811         [BZ #12655]
13812         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13813         Patch by Filipe David Manana <fdmanana@apache.org>.
13815 2011-04-07  Andreas Schwab  <schwab@redhat.com>
13817         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13818         Maintain aligned stack.
13819         (CHECK_RSP): Remove unused macro.
13821 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
13823         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13824         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13826 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
13828         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13830         * include/features.h: Mention __USE_XOPEN2K8 in comment.
13832 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
13834         [BZ #12518]
13835         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13836         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13837         * sysdeps/x86_64/memmove.c: New file.
13838         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13839         (memcpy): Renamed to ...
13840         (__new_memcpy): This.
13841         (memcpy): Provide GLIBC_2_14 memcpy.
13842         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13843         (memcpy): Provide GLIBC_2_2_5 memcpy.
13845 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
13847         [BZ #12631]
13848         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13850 2011-03-30  Andreas Schwab  <schwab@redhat.com>
13852         * misc/syncfs.c: New file.
13853         * misc/Makefile (routines): Add syncfs.
13854         * posix/unistd.h: Declare syncfs.
13855         * sysdeps/unix/syscalls.list: Add syncfs.
13857 2011-04-01  Andreas Schwab  <schwab@redhat.com>
13859         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13860         open_by_handle_at.
13861         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13862         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13863         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13864         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13865         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13866         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13867         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13869 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
13871         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13872         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13873         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13874         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13875         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13876         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13877         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13879         * io/Makefile: Compile fallocate.c, fallocate64.c, and
13880         sync_file_range.c with -fexceptions.
13881         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13882         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13883         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13884         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13885         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13886         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13887         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13888         sync_file_range as cancellation point
13889         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
13890         now a wrapper around __call_sync_file_range with cancellation handling.
13891         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13892         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
13893         function name to __call_sync_file_range.
13894         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13895         Add call_sync_file_range.
13897 2011-04-01  Andreas Schwab  <schwab@redhat.com>
13899         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13900         bits/timex.h.
13902 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
13904         * iconv/iconv.h: Fix typo in comment.
13905         * io/fcntl.h: Likewise.
13906         * libio/stdio.h: Likewise.
13907         * posix/spawn.h: Likewise.
13908         * posix/unistd.h: Likewise.
13909         * stdlib/stdlib.h: Likewise.
13910         * time/time.h: Likewise.
13911         * wcsmbs/wchar.h: Likewise.
13913         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13914         open_by_handle): Add.
13915         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13916         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
13917         Augment a few comments.
13918         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13919         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13920         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13921         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13922         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13923         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13924         open_by_handle.
13926         * io/fcntl.h (AT_EMPTY_PATH): Define.
13928 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
13930         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13931         * sysdeps/unix/sysv/linux/bits/time.h: New file.
13932         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13933         to...
13934         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
13935         * Versions.def: Add GLIBC_2.14.
13936         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13937         Export.
13939 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
13941         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13942         round counter.
13943         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13945 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13947         [BZ #12597]
13948         * string/test-strncmp.c (do_page_test): New function.
13949         (check2): Likewise.
13950         (test_main): Call check2.
13951         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13953 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
13955         [BZ #12587]
13956         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13957         Handle cache information in CPU leaf 4.
13958         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13960 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
13962         [BZ #12583]
13963         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13964         character representation.
13965         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13967 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
13969         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13970         END(__isnan) to END(__isnanf) to match function entry point/label
13971         EALIGN(__isnanf,...).
13973 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
13975         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13977 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
13979         [BZ #12510]
13980         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13981         copy from the symbol referenced in the relocation to initialize the
13982         used variable.
13983         Patch by Piotr Bury <pbury@goahead.com>.
13984         * elf/Makefile: Add rules to build and tst-unique3.
13985         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13986         * elf/tst-unique3.cc: New file.
13987         * elf/tst-unique3.h: New file.
13988         * elf/tst-unique3lib.cc: New file.
13989         * elf/tst-unique3lib2.cc: New file.
13991         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13993 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
13995         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13996         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
13997         to _start.
13999 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
14001         * elf/dl-load.c (_dl_map_object): If we are looking for the first
14002         to-be-loaded object along a path to loader is ld.so.
14004 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
14005             Ulrich Drepper  <drepper@gmail.com>
14007         * sysdeps/x86_64/memset.S: After aligning destination, code
14008         branches to different locations depending on the value of
14009         misalignment, when multiarch is enabled. Fix this.
14011 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
14013         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14014         Set _x86_64_preferred_memory_instruction for AMD processsors.
14015         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14016         Set bit_Prefer_SSE_for_memop for AMD processors.
14018 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
14020         * libio/fmemopen.c (fmemopen): Optimize a bit.
14022 2011-03-03  Andreas Schwab  <schwab@redhat.com>
14024         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14026 2011-03-03  Roland McGrath  <roland@redhat.com>
14028         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14030 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
14032         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14033         __bzero_ultra1 instead of __memset_ultra1.
14035 2011-02-23  Andreas Schwab  <schwab@redhat.com>
14036             Ulrich Drepper  <drepper@gmail.com>
14038         [BZ #12509]
14039         * include/link.h (struct link_map): Add l_orig_initfini.
14040         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14041         returning unsuccessfully.
14042         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14043         close of a file loaded at startup, restore the original l_initfini
14044         list.
14045         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14046         list, store the pointer.
14047         * elf/Makefile ($(objpfx)noload-mem): New rule.
14048         (noload-ENV): Define.
14049         (tests): Add $(objpfx)noload-mem.
14050         * elf/noload.c: Include <memcheck.h>.
14051         (main): Call mtrace.  Close all opened handles.
14053 2011-02-17  Andreas Schwab  <schwab@redhat.com>
14055         [BZ #12454]
14056         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14057         dependencies are missing.
14059 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14061         Fix __if_freereq crash: Unlike the generic version which uses free,
14062         Hurd needs munmap.
14063         * sysdeps/mach/hurd/ifreq.h: New file.
14065 2011-01-27  Petr Baudis  <pasky@suse.cz>
14066             Ulrich Drepper  <drepper@gmail.com>
14068         [BZ 12445]#
14069         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14070         to extend_alloca().
14071         * stdio-common/bug23.c: New file.
14072         * stdio-common/Makefile (tests): Add bug23.
14074 2010-09-28  Andreas Schwab  <schwab@redhat.com>
14075             Ulrich Drepper  <drepper@gmail.com>
14077         [BZ #12489]
14078         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14079         before performing relro protection.  At old place add assertion
14080         to make sure nothing changed.
14082 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
14083             Glauber de Oliveira Costa  <glommer@gmail.com>
14085         * elf/elf.h: Add new ARM TLS relocs.
14087 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
14089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14090         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14091         cast from r3.
14092         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
14093         'tests' variable.
14094         * sysdeps/wordsize-64/tst-writev.c: New file.
14096 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
14098         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14099         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14100         insns in _dl_start to prevent a TOC reference before relocs are
14101         resolved.
14103 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
14105         [BZ #12469]
14106         * Makeconfig: Remove RANLIB definition.
14107         * Makerules: Don't use RANLIB.
14108         * aclocal.m4: Remove ranlib test.
14109         * configure.in: No need to check for ranlib.
14110         * elf/rtld-Rules: Don't use RANLIB.
14112 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14114         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14115         protection macro.
14116         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14117         inclusion protection macro.
14119         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14120         SIGRTMIN and SIGRTMAX and print information in that case only when
14121         SIGRTMIN is defined.
14123 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
14125         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14126         arginfo fn returning -1.
14128         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14129         and thousands string is zero terminated.
14131 2011-02-03  Andreas Schwab  <schwab@redhat.com>
14133         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14134         sysdeps/unix/sysv/linux/bits/socket.h.
14136 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14138         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14139         (__CPU_COUNT): Remove old macros.
14140         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14141         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14142         (__CPU_ALLOC, __CPU_FREE): Add macros.
14143         (__sched_cpualloc, __sched_cpufree): Add declarations.
14145 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
14147         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14148         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14149         * nscd/aicache.c (addhstaiX): Return timeout of added value.
14150         (readdhstai): Return value of addhstaiX call.
14151         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14152         (addgrbyX): Return value returned by cache_addgr.
14153         (readdgrbyname): Return value returned by addgrbyX.
14154         (readdgrbygid): Likewise.
14155         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14156         (addpwbyX): Return value returned by cache_addpw.
14157         (readdpwbyname): Return value returned by addhstbyX.
14158         (readdpwbyuid): Likewise.
14159         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14160         (addservbyX): Return value returned by cache_addserv.
14161         (readdservbyname): Return value returned by addservbyX:
14162         (readdservbyport): Likewise.
14163         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14164         (addhstbyX): Return value returned by cache_addhst.
14165         (readdhstbyname): Return value returned by addhstbyX.
14166         (readdhstbyaddr): Likewise.
14167         (readdhstbynamev6): Likewise.
14168         (readdhstbyaddrv6): Likewise.
14169         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14170         (readdinitgroups): Return value returned by addinitgroupsX.
14171         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14172         (prune_cache): Keep track of timeout value of re-added entries.
14173         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14174         * nscd/nscd.h: Adjust prototypes of readd* functions.
14176 2011-02-04  Roland McGrath  <roland@redhat.com>
14178         * nis/nis_server.c (nis_servstate): Use the right name for 0.
14179         (nis_stats): Likewise.
14180         * nis/nis_modify.c (nis_modify): Likewise.
14181         * nis/nis_remove.c (nis_remove): Likewise.
14182         * nis/nis_add.c (nis_add): Likewise.
14184         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14186         * posix/fnmatch_loop.c: Add some consts.
14188         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14190 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
14192         [BZ #12460]
14193         * config.make.in (config-cflags-novzeroupper): Define.
14194         * configure.in: Substitute libc_cv_cc_novzeroupper.
14195         * elf/Makefile (AVX-CFLAGS): Define.
14196         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14197         (CFLAGS-tst-auditmod4a.c): Likewise.
14198         (CFLAGS-tst-auditmod4b.c): Likewise.
14199         (CFLAGS-tst-auditmod6b.c): Likewise.
14200         (CFLAGS-tst-auditmod6c.c): Likewise.
14201         (CFLAGS-tst-auditmod7b.c): Likewise.
14202         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14204 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
14206         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14207         function to the callback.
14208         Patch partly by Jiri Olsa <jolsa@redhat.com>.
14210 2011-02-02  Andreas Schwab  <schwab@redhat.com>
14212         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14213         of errno.
14215 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
14217         [BZ #11724]
14218         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14219         of constructors.
14220         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14221         of destructors.
14222         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14224         [BZ #11724]
14225         * elf/Makefile: Add rules to build and run new test.
14226         * elf/tst-initorder.c: New file.
14227         * elf/tst-initorder.exp: New file.
14228         * elf/tst-initordera1.c: New file.
14229         * elf/tst-initordera2.c: New file.
14230         * elf/tst-initordera3.c: New file.
14231         * elf/tst-initordera4.c: New file.
14232         * elf/tst-initorderb1.c: New file.
14233         * elf/tst-initorderb2.c: New file.
14234         * elf/tst-order-a1.c: New file.
14235         * elf/tst-order-a2.c: New file.
14236         * elf/tst-order-a3.c: New file.
14237         * elf/tst-order-a4.c: New file.
14238         * elf/tst-order-b1.c: New file.
14239         * elf/tst-order-b2.c: New file.
14240         * elf/tst-order-main.c: New file.
14241         New test case by George Gensure <werkt0@gmail.com>.
14243 2010-10-01  Andreas Schwab  <schwab@redhat.com>
14245         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14246         decoding ACE if AI_CANONIDN.
14248 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
14250         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14252 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
14254         * version.h (RELEASE): Bump for 2.13 release.
14255         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14257         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14259         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14260         MADV_NOHUGEPAGE.
14261         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14262         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14263         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14264         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14265         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14266         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14268         * posix/getconf.c: Update copyright year.
14269         * catgets/gencat.c: Likewise.
14270         * csu/version.c: Likewise.
14271         * debug/catchsegv.sh: Likewise.
14272         * debug/xtrace.sh: Likewise.
14273         * elf/ldconfig.c: Likewise.
14274         * elf/ldd.bash.in: Likewise.
14275         * elf/sprof.c (print_version): Likewise.
14276         * iconv/iconv_prog.c: Likewise.
14277         * iconv/iconvconfig.c: Likewise.
14278         * locale/programs/locale.c: Likewise.
14279         * locale/programs/localedef.c: Likewise.
14280         * malloc/memusage.sh: Likewise.
14281         * malloc/mtrace.pl: Likewise.
14282         * nscd/nscd.c (print_version): Likewise.
14283         * nss/getent.c: Likewise.
14285         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14286         PF_CAIF, and PF_ALG.
14287         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14289 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
14291         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14292         (modules-names): Use them.
14293         (ifunc-test-modules, ifunc-pie-tests): Define.
14294         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14295         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14296         (test-extras): Likewise.
14297         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14298         $(compile-command.c).
14299         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14300         (all-built-dso): Define.
14301         (check-textrel.out, check-execstack.out): Depend on it.
14303         * configure.in: Don't override --enable-multi-arch.
14305 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
14307         [BZ #6812]
14308         * nscd/hstcache.c (tryagain): Define.
14309         (cache_addhst): Return tryagain not notfound for temporary errors.
14310         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14311         failed.
14313 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
14315         [BZ #10563]
14316         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14317         to make the syscall.
14318         * sysdeps/unix/sysv/linux/setgroups.c: New file.
14320         [BZ #12378]
14321         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14322         and fall back to matching as normal character if the string ends before
14323         the matching ']' is found.  This is what POSIX requires.
14324         * posix/testfnm.c: Adjust test result.
14325         * posix/globtest.sh: Adjust test result.  Add new test.
14326         * posix/tst-fnmatch.input: Likewise.
14327         * posix/tst-fnmatch2.c: Add new test.
14329 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
14331         * elf/Makefile (check-execstack): Revert last change.  Depend on
14332         check-execstack.h.
14333         (check-execstack.h): New target.
14334         (generated): Add check-execstack.h.
14335         * elf/check-execstack.c: Include "check-execstack.h".
14336         (main): Revert last change.
14337         (handle_file): Return zero if GNU_STACK is absent and
14338         DEFAULT_STACK_PERMS doesn't include PF_X.
14340 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
14342         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14343         in child fails because the descriptor is already closed.
14344         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14345         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14346         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14348         [BZ #12397]
14349         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14350         syscall.
14352         [BZ #10484]
14353         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14354         temporary buffer used to handle multi lookups locally.
14355         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14357 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
14359         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14360         loader is ld.so.
14362 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
14364         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14365         alignment for SSE2.
14367 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
14369         [BZ #12394]
14370         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14371         characters.  When rounding increased number of integer digits recompute
14372         number of groups.
14373         * stdio-common/tst-grouping.c: New file.
14374         * stdio-common/Makefile: Add rules to build and run tst-grouping.
14376 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
14378         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14379         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
14381         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14382         void.
14383         * bits/select.h: Likewise.
14385 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
14387         * po/ja.po: Update from translation team.
14389 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
14391         [BZ #11155]
14392         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14393         implementation just like for lxstat, fxstatat, et al.
14395 2010-12-27  Jim Meyering  <meyering@redhat.com>
14397         [BZ #12348]
14398         * posix/regexec.c (build_trtable): Return failure indication upon
14399         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
14401 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
14403         [BZ #12201]
14404         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14405         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14406         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14407         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14409         [BZ #12207]
14410         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14412         [BZ #12204]
14413         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14414         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14416 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14418         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14419         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14420         script has SORT_BY_INIT_PRIORITY.
14421         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14422         NO_CTORS_DTORS_SECTIONS is defined.
14423         * elf/soinit.c: Likewise.
14424         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14425         NO_CTORS_DTORS_SECTIONS is defined.
14426         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14427         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14428         * sysdeps/sh/init-first.c: Likewise.
14429         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14431 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
14433         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14434         always use the slow path.
14436 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
14438         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14439         similar rule which adds the sysdep directories to the header search in
14440         order to pick up the correct platform stackinfo.h.
14441         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14442         perform test if it is, otherwise return successfully without testing.
14443         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14444         DEFAULT_STACK_PERMS define in stackinfo.h.
14445         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14446         defined in stackinfo.h.
14447         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14448         DEFAULT_STACK_PERMS defined in stackinfo.h.
14449         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14450         * sysdeps/ia64/stackinfo.h: Likewise.
14451         * sysdeps/s390/stackinfo.h: Likewise.
14452         * sysdeps/sh/stackinfo.h: Likewise.
14453         * sysdeps/sparc/stackinfo.h: Likewise.
14454         * sysdeps/x86_64/stackinfo.h: Likewise.
14455         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14456         PF_X for powerpc64.  Retain PF_X for powerpc32.
14458 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
14460         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14461         accurately.
14462         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14463         GETDENTS_64BIT_ALIGNED.
14465 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
14467         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14469 2010-12-10  Andreas Schwab  <schwab@redhat.com>
14471         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14472         _GNU_SOURCE.
14474         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14475         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14476         Remove __restrict.
14477         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14478         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14480 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
14482         [BZ #11655]
14483         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14484         are initialized.
14486 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
14488         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14490 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
14492         * po/it.po: Update from translation team.
14494 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
14496         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14497         unused codes.
14499 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
14501         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14503 2010-11-24  Andreas Schwab  <schwab@redhat.com>
14505         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14506         specially.
14507         (gaih_getanswer_slice): Likewise.
14509 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
14511         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14513 2010-05-31  Petr Baudis  <pasky@suse.cz>
14515         [BZ #11149]
14516         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14517         silently even in the chroot mode.
14519 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
14521         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14522         last patch a bit.  Pretty printing
14524 2010-05-31  Petr Baudis <pasky@suse.cz>
14526         [BZ #10085]
14527         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14528         initialization of skip_initgroups_dyn.
14530 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
14532         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14533         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14535 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
14537         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14539 2010-11-11  Andreas Schwab  <schwab@redhat.com>
14541         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14542         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14543         (tst-fnmatch-ENV): Set MALLOC_TRACE.
14544         ($(objpfx)tst-fnmatch-mem): New rule.
14545         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14546         * posix/tst-fnmatch.c (main): Call mtrace.
14548 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
14550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14551         Support Intel processor model 6 and model 0x2c.
14553 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
14555         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14556           signed comparison.
14558 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
14560         [BZ #12205]
14561         * string/test-strncasecmp.c (check_result): New function.
14562         (do_one_test): Use it.
14563         (check1): New function.
14564         (test_main): Use it.
14565         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14566         Support strcasecmp and strncasecmp.
14568 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
14570         [BZ #12194]
14571         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14572         * sysdeps/x86_64/bits/byteswap.h: Likewise.
14574 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
14576         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14577         IFUNC support.
14578         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14579         memset-x86-64.
14580         * sysdeps/x86_64/multiarch/bzero.S: New file.
14581         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14582         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14583         * sysdeps/x86_64/multiarch/memset.S: New file.
14584         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14585         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14586         Set bit_Prefer_SSE_for_memop for Intel processors.
14587         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14588         Define.
14589         (index_Prefer_SSE_for_memop): Define.
14590         (HAS_PREFER_SSE_FOR_MEMOP): Define.
14592 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
14594         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14595         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14597 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
14599         [BZ #12191]
14600         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14601         (__x86_64_raw_data_cache_size_half): Likewise.
14602         (__x86_64_raw_shared_cache_size): Likewise.
14603         (__x86_64_raw_shared_cache_size_half): Likewise.
14605         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14606         (__x86_64_raw_data_cache_size_half): Likewise.
14607         (__x86_64_raw_shared_cache_size): Likewise.
14608         (__x86_64_raw_shared_cache_size_half): Likewise.
14609         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14610         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14611         and __x86_64_raw_shared_cache_size_half.  Round
14612         __x86_64_data_cache_size_half, __x86_64_data_cache_size
14613         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14614         to multiple of 256 bytes.
14616 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
14618         [BZ #12167]
14619         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14620         of inacessible symlinks.  Verify result of symlink before returning it.
14621         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14622         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14624 2010-10-28  Erich Ritz  <erichritz@gmail.com>
14626         * math/math.h (isinf): Fix typo in comment.
14628 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
14630         * po/da.po: Update from translation team.
14632 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
14634         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14635         is added to the list.
14637 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14638             Ulrich Drepper  <drepper@gmail.com>
14640         * elf/dl-object.c (_dl_new_object): Don't append the new object to
14641         the global list here.  Move code to...
14642         (_dl_add_to_namespace_list): ...here.  New function.
14643         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14644         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14645         * elf/dl-load.c (lose): Don't remove the element from the list.
14646         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14647         (_dl_map_object): Likewise.
14649 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
14651         [BZ #12159]
14652         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14653         into all bytes of SSE register.
14654         Patch by Richard Li <richardpku@gmail.com>.
14656 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
14658         [BZ #12140]
14659         * malloc/malloc.c (_int_free): Fill correct number of bytes when
14660         perturbing.
14662 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
14664         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14665         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14666         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14667         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14669         submachine.
14670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14672 2010-10-22  Andreas Schwab  <schwab@redhat.com>
14674         * include/dlfcn.h (__RTLD_SECURE): Define.
14675         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
14676         mode & __RTLD_SECURE instead.
14677         (open_path): Rename preloaded parameter to secure.
14678         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14679         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14680         * elf/dl-deps.c (openaux): Likewise.
14681         * elf/rtld.c (struct map_args): Remove is_preloaded.
14682         (map_doit): Don't use it.
14683         (dl_main): Likewise.
14684         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14685         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14687 2010-09-09  Andreas Schwab  <schwab@redhat.com>
14689         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14690         (sysd-rules-targets): Remove duplicates.
14691         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14692         rtld-%.$o dependency.
14694 2010-10-18  Andreas Schwab  <schwab@redhat.com>
14696         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14697         _dl_map_object do it.
14699 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
14701         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14702         fast fma builtins, define the macros in the C99 standard.
14703         (FP_FAST_FMAF): Likewise.
14704         (FP_FAST_FMAL): Likewise.
14705         * sysdeps/x86_64/bits/mathdef.h: Likewise.
14707         * bits/mathdef.h: Update copyright year.
14708         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14710 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
14712         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14713         builtins, define the macros in the C99 standard.
14714         (FP_FAST_FMAF): Likewise.
14715         (FP_FAST_FMAL): Likewise.
14716         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14717         multiply/add.
14718         (FP_FAST_FMAF): Likewise.
14720 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
14722         [BZ #3268]
14723         * math/libm-test.inc (fma_test): Some new testcases.
14724         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14725         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14726         y and infinite z.  Do multiplication by C already in long double.
14727         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14728         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14729         y and infinite z.  Do bitwise or of inexact bit into u.d.
14730         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14731         * sysdeps/i386/fpu/s_fmaf.S: Removed.
14732         * sysdeps/i386/fpu/s_fma.S: Removed.
14733         * sysdeps/i386/fpu/s_fmal.S: Removed.
14735 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
14737         [BZ #3268]
14738         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14739         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14740         computation is not scheduled after fetestexcept.  Fix value
14741         of minimum denormal long double.
14743 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
14745         [BZ #3268]
14746         * math/libm-test.inc (fma_test): Add some more tests.
14747         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14748         correctly.
14750 2010-10-15  Andreas Schwab  <schwab@redhat.com>
14752         * scripts/data/localplt-s390-linux-gnu.data: New file.
14753         * scripts/data/localplt-s390x-linux-gnu.data: New file.
14755 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
14757         [BZ #3268]
14758         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14759         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14760         instead of dbl-64.
14761         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14762         inlines.
14763         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14764         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14765         if one of x and y is very large and the other is subnormal.
14766         * sysdeps/s390/fpu/s_fmaf.c: New file.
14767         * sysdeps/s390/fpu/s_fma.c: New file.
14768         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14769         * sysdeps/powerpc/fpu/s_fma.S: New file.
14770         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14771         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14772         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14774 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
14776         [BZ #3268]
14777         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14778         fma tests.
14779         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14780         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14781         * sysdeps/i386/i686/multiarch/s_fma.c: Include
14782         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14783         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14784         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14785         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14787 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
14789         [BZ #12078]
14790         * posix/regcomp.c (parse_branch): One more memory leak plugged.
14791         * posix/bug-regex31.input: Add test case.
14793 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
14795         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14796         * posix/bug-regex31.input: New file.
14798         [BZ #12078]
14799         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14800         (parse_sub_exp): Fix last change, use postorder.
14802         * posix/bug-regex31.c: New file.
14803         * posix/Makefile: Add rules to build and run bug-regex31.
14805         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14807         [BZ #12078]
14808         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14810         [BZ #12108]
14811         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14812         to have entries in sys_siglist.
14814         [BZ #12093]
14815         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14816         be NULL.
14818 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
14820         [BZ #3268]
14821         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14822         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14823         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14824         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14825         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14826         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14827         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14828         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14829         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14830         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14831         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14832         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14833         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14834         * math/ftestexcept.c (fetestexcept): Likewise.
14835         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14836         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14837         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14838         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14839         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14840         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14841         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14843 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
14845         [BZ #12107]
14846         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14847         newline.
14849 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
14851         * string/bug-strstr1.c: New file.
14852         * string/Makefile: Add rules to build and run bug-strstr1.
14854 2010-10-05  Eric Blake  <eblake@redhat.com>
14856         [BZ #12092]
14857         * string/str-two-way.h (two_way_long_needle): Always clear memory
14858         when skipping input due to the shift table.
14860 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
14862         [BZ #12005]
14863         * malloc/mcheck.c: Handle large requests.
14865         [BZ #12077]
14866         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14867         for strncmp and strncasecmp.
14868         * string/stratcliff.c: Add tests for strcmp and strncmp.
14869         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14871 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14873         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14874         __set_fpscr.
14876 2010-09-30  Andreas Jaeger  <aj@suse.de>
14878         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14879         (CGROUP_SUPER_MAGIC): Define.
14880         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14881         Handle btrfs and cgroup file systems.
14882         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14883         Likewise.
14885 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
14887         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14888         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14890 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14892         [BZ #12067]
14893         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14894         trying to locate the ELF header.
14896 2010-09-27  Andreas Schwab  <schwab@redhat.com>
14898         [BZ #11611]
14899         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14900         Mask out sign-bit copies when constructing f_fsid.
14902 2010-09-24  Petr Baudis <pasky@suse.cz>
14904         * debug/stack_chk_fail_local.c: Add missing licence exception.
14905         * debug/warning-nop.c: Likewise.
14907 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
14909         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14910         implementing getdents64 using getdents syscall, set d_type if
14911         __ASSUME_GETDENTS32_D_TYPE.
14913 2010-09-16  Andreas Schwab  <schwab@redhat.com>
14915         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14916         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14918 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
14920         [BZ #12037]
14921         * posix/unistd.h: Undo change of feature selection for ftruncate from
14922         2010-01-11.
14924 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
14926         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14927         detection.
14929 2010-09-20  Andreas Schwab  <schwab@redhat.com>
14931         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14932         fanotify_mark.
14933         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14935 2010-09-14  Andreas Schwab  <schwab@redhat.com>
14937         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14938         variables after CHECK_SP call.
14939         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14941 2010-09-13  Andreas Schwab  <schwab@redhat.com>
14942             Ulrich Drepper  <drepper@redhat.com>
14944         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14945         re-relocationg ld.so.
14946         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14947         _dl_init_paths call.
14948         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
14949         here anymore.
14951 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
14953         * resolv/res_init.c (__res_vinit): Count the default server we added.
14955 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
14956             Ulrich Drepper  <drepper@redhat.com>
14958         [BZ #11968]
14959         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14960         (____longjmp_chk): Use %ebx for saving value across system call.
14961         Add unwind info.
14963 2010-09-06  Andreas Schwab  <schwab@redhat.com>
14965         * manual/Makefile: Don't mix pattern rules with normal rules.
14967 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14969         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14970         operation.
14971         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14972         * libio/iofopncook.c (_IO_cookie_init): Likewise.
14973         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14974         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14975         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14976         Likewise.
14978 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
14980         [BZ #11979]
14981         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14982         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14984 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
14986         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14987         * sysdeps/x86_64/addmul_1.S: Likewise.
14988         * sysdeps/x86_64/lshift.S: Likewise.
14989         * sysdeps/x86_64/mul_1.S: Likewise.
14990         * sysdeps/x86_64/rshift.S: Likewise.
14991         * sysdeps/x86_64/sub_n.S: Likewise.
14992         * sysdeps/x86_64/submul_1.S: Likewise.
14994 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14996         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14997         Define __sched_param instead of SCHED_* and sched_param when
14998         <bits/sched.h> is included with __need_schedparam defined.
14999         * bits/sched.h [__need_schedparam]
15000         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15001         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15002         (__defined_schedparam): Define to 1.
15003         (__sched_param): New structure, identical to sched_param.
15004         (__need_schedparam): Undefine.
15006 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
15008         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15009         (epoll_create1): Declare.
15011         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15013 2010-08-31  Andreas Schwab  <schwab@redhat.com>
15015         [BZ #7066]
15016         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15017         shifting retval into place.
15019 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
15021         * nis/rpcsvc/nis.h: Update copyright notice.
15022         * nis/rpcsvc/nis.x: Likewise.
15023         * nis/rpcsvc/nis_callback.h: Likewise.
15024         * nis/rpcsvc/nis_callback.x: Likewise.
15025         * nis/rpcsvc/nis_object.x: Likewise.
15026         * nis/rpcsvc/nis_tags.h: Likewise.
15027         * nis/rpcsvc/yp.h: Likewise.
15028         * nis/rpcsvc/yp.x: Likewise.
15029         * nis/rpcsvc/ypupd.h: Likewise.
15030         * nis/yp_xdr.c: Likewise.
15031         * nis/ypupdate_xdr.c: Likewise.
15033         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
15034         mainly the body of pmap_getport.  Add parameters to specify timeouts.
15035         (pmap_getport): Use __libc_rpc_getport.
15036         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15037         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15038         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15040 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
15042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15043         fanotify_mark.
15045 2010-08-27  Roland McGrath  <roland@redhat.com>
15047         * sysdeps/i386/i686/multiarch/Makefile
15048         (CFLAGS-varshift.c): New variable.
15050 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
15052         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15053         * sysdeps/i386/i686/multiarch/varshift.c: New file.
15055         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15057         * sysdeps/x86_64/strlen.S: Minimal code improvement.
15059 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15061         * sysdeps/x86_64/strlen.S: Unroll the loop.
15062         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15063         strlen-sse2 strlen-sse2-bsf.
15064         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15065         __strlen_no_bsf if bit_Slow_BSF is set.
15066         (__strlen_sse42): Removed.
15067         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15068         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15070 2010-08-25  Roland McGrath  <roland@redhat.com>
15072         * sysdeps/x86_64/multiarch/varshift.S: File removed.
15073         * sysdeps/x86_64/multiarch/varshift.c: New file.
15074         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15075         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15076         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15077         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15079 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15081         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15082         strlen-sse2 strlen-sse2-bsf.
15083         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15084         __strlen_sse2_bsf if bit_Slow_BSF is unset.
15085         (__strlen_sse2): Removed.
15086         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15087         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15088         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15089         bit_Slow_BSF for Atom.
15090         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15091         (index_Slow_BSF): Define.
15092         (HAS_SLOW_BSF): Define.
15094 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
15096         [BZ #10851]
15097         * resolv/res_init.c (__res_vinit): When no server address at all
15098         is given default to loopback.
15100 2010-08-24  Roland McGrath  <roland@redhat.com>
15102         * configure.in: Remove config-name.h generation.
15103         * configure: Regenerated.
15104         * config-name.in: File removed.
15105         * scripts/config-uname.sh: New file.
15106         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15107         ($(objdir)config-name.h): New target.
15109         * sunrpc/rpc_parse.h: Avoid nested comment.
15111 2010-08-24  Richard Henderson  <rth@redhat.com>
15112             Ulrich Drepper  <drepper@redhat.com>
15113             H.J. Lu  <hongjiu.lu@intel.com>
15115         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15117         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15118         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
15119         _mm_alignr_epi8 with _mm_loadu_si128.
15120         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15121         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15122         (__m128i_shift_right): Removed.
15123         * sysdeps/i386/i686/multiarch/varshift.h: New file.
15124         * sysdeps/i386/i686/multiarch/varshift.S: New file.
15125         * sysdeps/x86_64/multiarch/varshift.h: New file.
15126         * sysdeps/x86_64/multiarch/varshift.S: New file.
15128 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
15130         * configure.in: Move assembler checks to before sysdep dir checking.
15132 2010-08-20  Petr Baudis  <pasky@suse.cz>
15134         * LICENSES: Sync the sunrpc license.
15136 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
15138         * sunrpc/auth_des.c: Update copyright notice once again.
15139         * sunrpc/auth_none.c: Likewise.
15140         * sunrpc/auth_unix.c: Likewise.
15141         * sunrpc/authdes_prot.c: Likewise.
15142         * sunrpc/authuxprot.c: Likewise.
15143         * sunrpc/bindrsvprt.c: Likewise.
15144         * sunrpc/clnt_gen.c: Likewise.
15145         * sunrpc/clnt_perr.c: Likewise.
15146         * sunrpc/clnt_raw.c: Likewise.
15147         * sunrpc/clnt_simp.c: Likewise.
15148         * sunrpc/clnt_tcp.c: Likewise.
15149         * sunrpc/clnt_udp.c: Likewise.
15150         * sunrpc/clnt_unix.c: Likewise.
15151         * sunrpc/des_crypt.c: Likewise.
15152         * sunrpc/des_soft.c: Likewise.
15153         * sunrpc/get_myaddr.c: Likewise.
15154         * sunrpc/getrpcport.c: Likewise.
15155         * sunrpc/key_call.c: Likewise.
15156         * sunrpc/key_prot.c: Likewise.
15157         * sunrpc/openchild.c: Likewise.
15158         * sunrpc/pm_getmaps.c: Likewise.
15159         * sunrpc/pm_getport.c: Likewise.
15160         * sunrpc/pmap_clnt.c: Likewise.
15161         * sunrpc/pmap_prot.c: Likewise.
15162         * sunrpc/pmap_prot2.c: Likewise.
15163         * sunrpc/pmap_rmt.c: Likewise.
15164         * sunrpc/rpc/auth.h: Likewise.
15165         * sunrpc/rpc/auth_unix.h: Likewise.
15166         * sunrpc/rpc/clnt.h: Likewise.
15167         * sunrpc/rpc/des_crypt.h: Likewise.
15168         * sunrpc/rpc/key_prot.h: Likewise.
15169         * sunrpc/rpc/netdb.h: Likewise.
15170         * sunrpc/rpc/pmap_clnt.h: Likewise.
15171         * sunrpc/rpc/pmap_prot.h: Likewise.
15172         * sunrpc/rpc/pmap_rmt.h: Likewise.
15173         * sunrpc/rpc/rpc.h: Likewise.
15174         * sunrpc/rpc/rpc_des.h: Likewise.
15175         * sunrpc/rpc/rpc_msg.h: Likewise.
15176         * sunrpc/rpc/svc.h: Likewise.
15177         * sunrpc/rpc/svc_auth.h: Likewise.
15178         * sunrpc/rpc/types.h: Likewise.
15179         * sunrpc/rpc/xdr.h: Likewise.
15180         * sunrpc/rpc_clntout.c: Likewise.
15181         * sunrpc/rpc_cmsg.c: Likewise.
15182         * sunrpc/rpc_common.c: Likewise.
15183         * sunrpc/rpc_cout.c: Likewise.
15184         * sunrpc/rpc_dtable.c: Likewise.
15185         * sunrpc/rpc_hout.c: Likewise.
15186         * sunrpc/rpc_main.c: Likewise.
15187         * sunrpc/rpc_parse.c: Likewise.
15188         * sunrpc/rpc_parse.h: Likewise.
15189         * sunrpc/rpc_prot.c: Likewise.
15190         * sunrpc/rpc_sample.c: Likewise.
15191         * sunrpc/rpc_scan.c: Likewise.
15192         * sunrpc/rpc_scan.h: Likewise.
15193         * sunrpc/rpc_svcout.c: Likewise.
15194         * sunrpc/rpc_tblout.c: Likewise.
15195         * sunrpc/rpc_util.c: Likewise.
15196         * sunrpc/rpc_util.h: Likewise.
15197         * sunrpc/rpcinfo.c: Likewise.
15198         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15199         * sunrpc/rpcsvc/key_prot.x: Likewise.
15200         * sunrpc/rpcsvc/klm_prot.x: Likewise.
15201         * sunrpc/rpcsvc/mount.x: Likewise.
15202         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15203         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15204         * sunrpc/rpcsvc/rex.x: Likewise.
15205         * sunrpc/rpcsvc/rstat.x: Likewise.
15206         * sunrpc/rpcsvc/rusers.x: Likewise.
15207         * sunrpc/rpcsvc/sm_inter.x: Likewise.
15208         * sunrpc/rpcsvc/spray.x: Likewise.
15209         * sunrpc/rpcsvc/yppasswd.x: Likewise.
15210         * sunrpc/rtime.c: Likewise.
15211         * sunrpc/svc.c: Likewise.
15212         * sunrpc/svc_auth.c: Likewise.
15213         * sunrpc/svc_authux.c: Likewise.
15214         * sunrpc/svc_raw.c: Likewise.
15215         * sunrpc/svc_run.c: Likewise.
15216         * sunrpc/svc_simple.c: Likewise.
15217         * sunrpc/svc_tcp.c: Likewise.
15218         * sunrpc/svc_udp.c: Likewise.
15219         * sunrpc/svc_unix.c: Likewise.
15220         * sunrpc/svcauth_des.c: Likewise.
15221         * sunrpc/xcrypt.c: Likewise.
15222         * sunrpc/xdr.c: Likewise.
15223         * sunrpc/xdr_array.c: Likewise.
15224         * sunrpc/xdr_float.c: Likewise.
15225         * sunrpc/xdr_mem.c: Likewise.
15226         * sunrpc/xdr_rec.c: Likewise.
15227         * sunrpc/xdr_ref.c: Likewise.
15228         * sunrpc/xdr_sizeof.c: Likewise.
15229         * sunrpc/xdr_stdio.c: Likewise.
15231         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15232         handling.
15234 2010-08-19  Andreas Schwab  <schwab@redhat.com>
15236         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15238 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
15240         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15241         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15242         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15243         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15244         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15245         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15246         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15247         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15248         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15249         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15250         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15251         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15252         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15253         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15255 2010-07-26  Anton Blanchard  <anton@samba.org>
15257         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15258         * malloc/arena.c (heap_trim): Likewise.
15260 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
15262         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15263         here.  Not...
15264         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15265         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15267 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
15269         * sysdeps/i386/elf/Makefile: New file.
15271 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
15273         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15274         from fanotify_init.
15275         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15276         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15278 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
15280         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15281         of strncasecmp_l.
15282         * sysdeps/multiarch/strcmp.S: Likewise.
15284 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
15286         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15287         strncase_l-nonascii.
15288         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15289         Add strncase_l-ssse3.
15290         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15291         * sysdeps/x86_64/strcmp.S: Likewise.
15292         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15293         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15294         * sysdeps/x86_64/strncase.S: New file.
15295         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15296         * sysdeps/x86_64/strncase_l.S: New file.
15297         * string/Makefile (strop-tests): Add strncasecmp.
15298         * string/test-strncasecmp.c: New file.
15300         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15301         warning.
15303         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15304         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15306 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
15308         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15310 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
15312         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15313         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15314         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15316 2010-05-01  Alan Modra  <amodra@gmail.com>
15318         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15319         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15320         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15321         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15322         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15323         tidying.  Don't tail-call __sigjmp_save for static lib.
15324         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15325         save location.
15326         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15327         (CALL_MCOUNT): Add eh info, and nop after bl.
15328         (TAIL_CALL_SYSCALL_ERROR): New macro.
15329         (PSEUDO_RET): Use it.
15330         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15331         Correct save location of integer regs and cr.
15332         (_dl_profile_resolve): Correct cr save location.  Delete nops
15333         after bl when SHARED.  Reduce cfi size a little by better
15334         placement of cfi directives.
15335         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15336         make a stack frame.  Instead use parm save area as a temp.
15337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15338         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
15339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15340         Don't make a stack frame for parent, use parm save area.
15341         Increase child stack frame to 112 bytes.  Don't save unused reg,
15342         and adjust reg usage.  Set up cfi on error recovery and
15343         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15345         (__makecontext): Add dummy nop after jump to exit.
15346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15347         Use correct parm save area and cr save, reduce stack frame.
15348         Correct cfi for possible PSEUDO_RET frame setup.
15349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15350         Branch to local label emitted by PSEUDO_RET rather than
15351         __syscall_error.
15353 2010-08-12  Andreas Schwab  <schwab@redhat.com>
15355         [BZ #11904]
15356         * locale/programs/locale.c (print_assignment): New function.
15357         (show_locale_vars): Use it.
15359 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
15361         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15362         field.
15363         (struct statfs64): Likewise.
15364         (_STATFS_F_FLAGS): Define.
15365         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15366         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15367         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15368         (ST_VALID): Define locally.
15369         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15370         __statvfs_getflags, use the provided value.
15371         * sysdeps/unix/sysv/linux/kernel-features.h: Define
15372         __ASSUME_STATFS_F_FLAGS.
15374         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15376         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15377         Add sys/fanotify.h.
15378         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15379         fanotify_mask for GLIBC_2.13.
15380         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15381         fanotify_init and fanotify_mark.
15382         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15383         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15385         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15386         Add prlimit.
15387         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15388         prlimit64 for GLIBC_2.13.
15389         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15390         prlimit64.
15391         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15392         syscall.
15393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15394         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15395         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15396         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15397         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
15398         add prlimit alias.
15399         * sysdeps/unix/sysv/linux/prlimit.c: New file.
15401         [BZ #11903]
15402         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15403         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15405         * nss/Makefile: Add rules to build and run tst-nss-test1.
15406         * shlib-versions: Add entry for libnss_test1.
15407         * nss/nss_test1.c: New file.
15408         * nss/tst-nss-test1.c: New file.
15410         * nss/nsswitch.c (__nss_database_custom): Define new variable.
15411         (__nss_configure_lookup): Set appropriate entry in
15412         __nss_configure_lookup to true.
15413         * nss/nsswitch.h: Define enum with indeces of databases in
15414         databases and __nss_database_custom arrays.  Declare
15415         __nss_database_custom.
15416         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15417         to avoid using nscd when custom rules are installed.
15418         * nss/getXXbyYY_r.c: Likewise.
15419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15421         * nss/nss_files/files-parse.c: Whitespace fixes.
15423 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
15425         [BZ #11883]
15426         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15427         * posix/fnmatch_loop.c: Likewise.
15429 2010-07-17  Andi Kleen  <ak@linux.intel.com>
15431         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15432         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15433         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15434         * Versions.def [GLIBC_2.13]: Add.
15436 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
15438         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15439         Also fail if tpwd after pwuid call is NULL.
15441 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15443         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15444         when converting to ms.
15446 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15448         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15449         EOPNOTSUPP errors with ENOTTY.
15450         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15451         EOPNOTSUPP errors with ENOTTY.
15453 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
15455         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15456         Add strcasecmp_l-ssse3.
15457         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15458         strcasecmp.
15459         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15460         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15461         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15463 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
15465         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15467         * string/Makefile (strop-tests): Add strcasecmp.
15468         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15469         strcasecmp_l-nonascii.
15470         (gen-as-const-headers): Add locale-defines.sym.
15471         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15472         * sysdeps/x86_64/strcasecmp.S: New file.
15473         * sysdeps/x86_64/strcasecmp_l.S: New file.
15474         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15475         * sysdeps/x86_64/locale-defines.sym: New file.
15476         * string/test-strcasecmp.c: New file.
15478         * string/test-strcasestr.c: Test both ends of the range of characters.
15479         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15481 2010-07-29  Roland McGrath  <roland@redhat.com>
15483         [BZ #11856]
15484         * manual/locale.texi (Yes-or-No Questions): Fix example code.
15486 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
15488         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15489         for ld.so.
15491 2010-07-27  Andreas Schwab  <schwab@redhat.com>
15493         * manual/memory.texi (Malloc Tunable Parameters): Document
15494         M_PERTURB.
15496 2010-07-26  Roland McGrath  <roland@redhat.com>
15498         [BZ #11840]
15499         * configure.in (-fgnu89-inline check): Set and substitute
15500         gnu89_inline, not libc_cv_gnu89_inline.
15501         * configure: Regenerated.
15502         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15504 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
15506         * string/test-strnlen.c: New file.
15507         * string/Makefile (strop-tests): Add strnlen.
15508         * string/tester.c (test_strnlen): Add a few more test cases.
15509         * string/tst-strlen.c: Better error reporting.
15511         * sysdeps/x86_64/strnlen.S: New file.
15513 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
15515         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15516         lower-latency instructions.
15518 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
15520         * string/test-strcasestr.c: New file.
15521         * string/test-strstr.c: New file.
15522         * string/Makefile (strop-tests): Add strstr and strcasestr.
15523         * string/str-two-way.h: Don't undefine MAX.
15524         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15526 2010-07-21  Andreas Schwab  <schwab@redhat.com>
15528         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15529         strcasestr-nonascii.
15530         (CFLAGS-strcasestr-nonascii.c): Define.
15531         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15532         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15533         Remove unused attribute.
15535 2010-07-20  Roland McGrath  <roland@redhat.com>
15537         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15538         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
15539         ld.so.cache was broken.  With it, there is no way to disable dsocaps
15540         like LD_HWCAP_MASK can disable hwcaps.
15542 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
15544         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15546 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
15548         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15549         call in strcasestr.
15550         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15551         __strcasestr_sse42_nonascii.
15552         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15553         strcasestr-nonascii.c.
15554         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15556 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
15558         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15559         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15560         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15561         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15563 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
15565         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15566         fcntl.
15568 2010-07-06  Andreas Schwab  <schwab@redhat.com>
15570         [BZ #11577]
15571         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15572         dl_signal_cerror.
15574 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
15576         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15577         _PC_PIPE_BUF using F_GETPIPE_SZ.
15579 2010-07-05  Roland McGrath  <roland@redhat.com>
15581         * manual/arith.texi (Rounding Functions): Fix rint description
15582         implicit in round description.
15584 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
15586         * elf/Makefile: Fix linking for a few tests to make recent linker
15587         happy.
15589 2010-06-30  Andreas Schwab  <schwab@redhat.com>
15591         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15592         $(common-objpfx)libc_nonshared.a.
15594 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
15596         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15597         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15598         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15599         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15600         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15601         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15602         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15603         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15618         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15619         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15620         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15621         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15622         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15623         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15624         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15625         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15626         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15627         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15628         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15629         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15645 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15647         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15648         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
15649         * string/memmove.c (memmove): Renamed to ...
15650         (MEMMOVE): ...this.  Default to memmove.
15651         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15652         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15653         (END_CHK): Define.
15654         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15655         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15656         mempcpy-ssse3-back memmove-ssse3-back.
15657         * sysdeps/x86_64/multiarch/bcopy.S: New file .
15658         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15659         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15660         * sysdeps/x86_64/multiarch/memcpy.S: New file.
15661         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15662         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15663         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15664         * sysdeps/x86_64/multiarch/memmove.c: New file.
15665         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15666         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15667         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15668         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15669         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15670         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15671         Define.
15672         (index_Fast_Copy_Backward): Define.
15673         (HAS_ARCH_FEATURE): Define.
15674         (HAS_FAST_REP_STRING): Define.
15675         (HAS_FAST_COPY_BACKWARD): Define.
15677 2010-06-21  Andreas Schwab  <schwab@redhat.com>
15679         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15680         Restore proper fallback handling.
15682 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
15684         [BZ #11701]
15685         * posix/group_member.c (__group_member): Correct checking loop.
15687         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15688         OOM in getpwuid_r correctly.  Return error number when the caller
15689         should return, otherwise -1.
15690         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15691         call returning > 0 value.
15692         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15694 2010-06-07  Andreas Schwab  <schwab@redhat.com>
15696         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15697         libc_nonshared.a from targets in modules-names.
15699 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
15701         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15702         requires it.
15704 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
15706         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15707         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15708         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15709         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15711 2010-06-02  Andreas Schwab  <schwab@redhat.com>
15713         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15715 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
15717         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15718         and F_GETPIPE_SZ.
15719         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15720         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15721         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15722         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15723         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15724         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15726 2010-06-14  Roland McGrath  <roland@redhat.com>
15728         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15730 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
15732         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15733         __REDIRECT followed by __THROW.
15734         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15735         * posix/getopt.h (getopt): Likewise.
15737 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
15739         * hurd/lookup-at.c (__file_name_lookup_at): Accept
15740         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
15741         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15742         in AT_FLAGS.
15743         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15744         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15746 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
15748         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15750 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
15752         [BZ #11640]
15753         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15754         Properly check family and model.
15756 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
15758         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15760 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
15762         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15764 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
15766         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15767         symbol reference.
15769 2010-05-19  Andreas Schwab  <schwab@redhat.com>
15771         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15772         symbol reference.
15774 2010-05-21  Andreas Schwab  <schwab@redhat.com>
15776         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15777         and internal_recvmmsg.
15778         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15779         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15780         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15781         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15783         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15784         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15785         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15787 2010-05-20  Andreas Schwab  <schwab@redhat.com>
15789         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15791 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
15793         POWER7 optimizations.
15794         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15795         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15797 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
15799         * version.h: Update for 2.13 development version.
15801 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
15803         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15804         exceptions.  Return 0.
15806 2010-05-07  Roland McGrath  <roland@redhat.com>
15808         * elf/ldconfig.c (main): Add a const.
15810 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
15812         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15813         (args_options): Add no-idn option.
15814         (ahosts_keys_int): Add idn_flags to ai_flags.
15815         (parse_option): Handle 'i' option to clear idn_flags.
15817         * malloc/malloc.c (_int_free): Possible race in the most recently
15818         added check.  Only act on the data if no current modification
15819         happened.
15821 See ChangeLog.17 for earlier changes.